Skip to content

Commit

Permalink
readme!
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferparishuertas committed May 14, 2019
1 parent 27c66e3 commit 2d8d37b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions contracts/IFundableToken.sol
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
pragma solidity ^0.5.0;

interface IFundable /* is ERC-20 */ {
enum FundStatusCode {
Nonexistent,
Ordered,
InProcess,
Executed,
Rejected,
Cancelled
}
enum FundStatusCode { Nonexistent, Ordered, InProcess, Executed, Rejected, Cancelled}
function authorizeFundOperator(address orderer) external returns (bool);
function revokeFundOperator(address orderer) external returns (bool) ;
function orderFund(string calldata operationId, uint256 value, string calldata instructions) external returns (bool);
Expand All @@ -15,9 +10,10 @@ interface IFundable /* is ERC-20 */ {
function processFund(address orderer, string calldata operationId) external returns (bool);
function executeFund(address orderer, string calldata operationId) external returns (bool);
function rejectFund(address orderer, string calldata operationId, string calldata reason) external returns (bool);
function isFundOperatorFor(address walletToFund, address orderer) external view returns (bool);
function isFundOperatorFor(address walletToFund, address orderer) external view returns (bool);
function retrieveFundData(address orderer, string calldata operationId) external view returns (address walletToFund, uint256 value, string memory instructions, FundStatusCode status);
event FundOrdered(address indexed orderer, string indexed operationId, address indexed , uint256 value, string instructions);

event FundOrdered(address indexed orderer, string indexed operationId, address indexed , uint256 value, string instructions);
event FundInProcess(address indexed orderer, string indexed operationId);
event FundExecuted(address indexed orderer, string indexed operationId);
event FundRejected(address indexed orderer, string indexed operationId, string reason);
Expand Down

0 comments on commit 2d8d37b

Please sign in to comment.