Update transfer authorization interface

This commit is contained in:
nolash 2021-02-16 14:07:44 +01:00
parent 5fd512ac69
commit 9933979e14
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,7 @@ interface TransferAuthorization {
uint256 value;
uint256 yay;
uint256 nay;
uint256 blockNumber;
int8 result; // -1 rejected/vetoed, 0 = completed, 1 = voting, 2 = approved
}
@ -39,6 +40,8 @@ interface TransferAuthorization {
function nextSerial() external view returns (uint256);
function getSerialAt(uint256 _idx) external view returns (uint256);
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 yay(uint256 _serial) external returns (bool);
function nay(uint256 _serial) external returns (bool);

File diff suppressed because one or more lines are too long