Skip to content

ExchangeState

Description

Documentation Pending

This contract documentation is missing some descriptions.

Source: contracts/ExchangeState.sol

Variables

exchanges

Source

Type: mapping(address => mapping(bytes32 => struct IExchangeState.ExchangeEntry[]))

maxEntriesInQueue

Source

Type: uint256

Constructor

constructor

Source

Details

Signature

constructor(address _owner, address _associatedContract)

Visibility

public

State Mutability

undefined

Restricted 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

undefined

Requires

Modifiers

removeEntries

Source

Details

Signature

removeEntries(address account, bytes32 currencyKey)

Visibility

external

State Mutability

undefined

Modifiers

setMaxEntriesInQueue

Source

Details

Signature

setMaxEntriesInQueue(uint256 _maxEntriesInQueue)

Visibility

external

State Mutability

undefined

Modifiers

External Functions

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

undefined

getLengthOfEntries

Source

Details

Signature

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

Visibility

external

State Mutability

undefined

getMaxTimestamp

Source

Details

Signature

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

Visibility

external

State Mutability

undefined