Skip to content

IExchangeState

Description

Source: contracts/interfaces/IExchangeState.sol

Structs

ExchangeEntry

Source

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

Source

Details

Signature

getEntryAt(address account, bytes32 currencyKey, uint256 index) view returns (bytes32 src, uint256 amount, bytes32 dest, uint256 amountReceived, uint256 exchangeFeeRate, uint256 timestamp, uint256 roundIdForSrc, uint256 roundIdForDest)

Visibility

external

State Mutability

view

getLengthOfEntries

Source

Details

Signature

getLengthOfEntries(address account, bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

getMaxTimestamp

Source

Details

Signature

getMaxTimestamp(address account, bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

External Functions

appendExchangeEntry

Source

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

``

removeEntries

Source

Details

Signature

removeEntries(address account, bytes32 currencyKey)

Visibility

external

State Mutability

``