interfaceIFundable/* is ERC-20 */{enumFundStatusCode{Nonexistent,Ordered,InProcess,Executed,Rejected,Cancelled}functionauthorizeFundOperator(addressorderer)externalreturns(bool);functionrevokeFundOperator(addressorderer)externalreturns(bool);functionorderFund(stringcalldataoperationId,uint256value,stringcalldatainstructions)externalreturns(bool);functionorderFundFrom(stringcalldataoperationId,addresswalletToFund,uint256value,stringcalldatainstructions)externalreturns(bool);functioncancelFund(stringcalldataoperationId)externalreturns(bool);functionprocessFund(stringcalldataoperationId)externalreturns(bool);functionexecuteFund(stringcalldataoperationId)externalreturns(bool);functionrejectFund(stringcalldataoperationId,stringcalldatareason)externalreturns(bool);functionisFundOperatorFor(addresswalletToFund,addressorderer)externalviewreturns(bool);functionretrieveFundData(addressorderer,stringcalldataoperationId)externalviewreturns(addresswalletToFund,uint256value,stringmemoryinstructions,FundStatusCodestatus);eventFundOrdered(addressindexedorderer,stringindexedoperationId,addressindexed,uint256value,stringinstructions);eventFundInProcess(addressindexedorderer,stringindexedoperationId);eventFundExecuted(addressindexedorderer,stringindexedoperationId);eventFundRejected(addressindexedorderer,stringreason);eventFundCancelled(addressindexedorderer,stringindexedoperationId);eventFundOperatorAuthorized(addressindexedwalletToFund,addressindexedorderer);eventFundOperatorRevoked(addressindexedwalletToFund,addressindexedorderer);}
Fernando Paris <fer@io.builders>, Julio Faura <julio@adhara.io>, Daniel Lehrner <daniel@io.builders>, "ERC-2019: 可融资代币 [DRAFT]," Ethereum Improvement Proposals, no. 2019, May 2019. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-2019.