IExchangeState¶
Description¶
Source: contracts/interfaces/IExchangeState.sol
Structs¶
ExchangeEntry
¶
Field | Type | Description |
---|---|---|
src |
bytes32 |
TBA |
amount |
uint256 |
TBA |
dest |
bytes32 |
TBA |
amountReceived |
uint256 |
TBA |
exchangeFeeRate |
uint256 |
TBA |
timestamp |
uint256 |
TBA |
roundIdForSrc |
uint256 |
TBA |
roundIdForDest |
uint256 |
TBA |
Views¶
getEntryAt
¶
Details
Signature
getEntryAt(address account, bytes32 currencyKey, uint256 index) returns (bytes32, uint256, bytes32, uint256, uint256, uint256, uint256, uint256)
Visibility
external
State Mutability
view
getLengthOfEntries
¶
Details
Signature
getLengthOfEntries(address account, bytes32 currencyKey) returns (uint256)
Visibility
external
State Mutability
view
getMaxTimestamp
¶
Details
Signature
getMaxTimestamp(address account, bytes32 currencyKey) returns (uint256)
Visibility
external
State Mutability
view
External Functions¶
appendExchangeEntry
¶
Details
Signature
appendExchangeEntry(address account, bytes32 src, uint256 amount, bytes32 dest, uint256 amountReceived, uint256 exchangeFeeRate, uint256 timestamp, uint256 roundIdForSrc, uint256 roundIdForDest)
Visibility
external
State Mutability
nonpayable
removeEntries
¶
Details
Signature
removeEntries(address account, bytes32 currencyKey)
Visibility
external
State Mutability
nonpayable