Skip to content

ExchangeState

Description

Documentation Pending

This contract documentation is missing some descriptions.

Source: contracts/ExchangeState.sol

Architecture

Inheritance Graph

graph TD ExchangeState[ExchangeState] --> State[State] State[State] --> Owned[Owned]

Variables

exchanges

Source

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

maxEntriesInQueue

Source

Type: uint256

Constructor

constructor

Source

Details

Signature

(address _owner, address _associatedContract)

Visibility

public

State Mutability

nonpayable

Views

getEntryAt

Source

Details

Signature

getEntryAt(address account, bytes32 currencyKey, uint256 index) returns (bytes32, uint256, bytes32, uint256, uint256, uint256, uint256, uint256)

Visibility

external

State Mutability

view

getLengthOfEntries

Source

Details

Signature

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

Visibility

external

State Mutability

view

getMaxTimestamp

Source

Details

Signature

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

Visibility

external

State Mutability

view

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

nonpayable

Requires

Modifiers

removeEntries

Source

Details

Signature

removeEntries(address account, bytes32 currencyKey)

Visibility

external

State Mutability

nonpayable

Modifiers

setMaxEntriesInQueue

Source

Details

Signature

setMaxEntriesInQueue(uint256 _maxEntriesInQueue)

Visibility

external

State Mutability

nonpayable

Modifiers