Update transfer authorization interface
This commit is contained in:
parent
5fd512ac69
commit
9933979e14
@ -25,6 +25,7 @@ interface TransferAuthorization {
|
|||||||
uint256 value;
|
uint256 value;
|
||||||
uint256 yay;
|
uint256 yay;
|
||||||
uint256 nay;
|
uint256 nay;
|
||||||
|
uint256 blockNumber;
|
||||||
int8 result; // -1 rejected/vetoed, 0 = completed, 1 = voting, 2 = approved
|
int8 result; // -1 rejected/vetoed, 0 = completed, 1 = voting, 2 = approved
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,6 +40,8 @@ interface TransferAuthorization {
|
|||||||
function nextSerial() external view returns (uint256);
|
function nextSerial() external view returns (uint256);
|
||||||
function getSerialAt(uint256 _idx) external view returns (uint256);
|
function getSerialAt(uint256 _idx) external view returns (uint256);
|
||||||
function requests(uint256 _serial) external view returns (Transaction memory);
|
function requests(uint256 _serial) external view returns (Transaction memory);
|
||||||
|
function requestSenderIndex(address _sender, uint256 _idx) external view returns (uint256);
|
||||||
|
function requestRecipientIndex(address _recipient, uint256 _idx) external view returns (uint256);
|
||||||
function createRequest(address _sender, address _recipient, address _token, uint256 _value) external returns (uint256);
|
function createRequest(address _sender, address _recipient, address _token, uint256 _value) external returns (uint256);
|
||||||
function yay(uint256 _serial) external returns (bool);
|
function yay(uint256 _serial) external returns (bool);
|
||||||
function nay(uint256 _serial) external returns (bool);
|
function nay(uint256 _serial) external returns (bool);
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user