Skip to content

MixinFuturesNextPriceOrders

Description

Source: contracts/MixinFuturesNextPriceOrders.sol

Variables

nextPriceOrders

Source

Type: mapping(address => struct IFuturesMarketBaseTypes.NextPriceOrder)

Internal Functions

_confirmationWindowOver

Source

Details

Signature

_confirmationWindowOver(uint256 currentRoundId, uint256 targetRoundId) view returns (bool)

Visibility

internal

State Mutability

view

_exchangeRates

Source

Details

Signature

_exchangeRates() view returns (contract IExchangeRates)

Visibility

internal

State Mutability

view

_nextPriceCommitDeposit

Source

Details

Signature

_nextPriceCommitDeposit(struct FuturesMarketBase.TradeParams params) view returns (uint256)

Visibility

internal

State Mutability

view

_submitNextPriceOrder

Source

Details

Signature

_submitNextPriceOrder(int256 sizeDelta, bytes32 trackingCode)

Visibility

internal

State Mutability

``

Requires

Emits

External Functions

cancelNextPriceOrder

Source

Details

Signature

cancelNextPriceOrder(address account)

Visibility

external

State Mutability

``

Requires

Emits

executeNextPriceOrder

Source

Details

Signature

executeNextPriceOrder(address account)

Visibility

external

State Mutability

``

Requires

Emits

submitNextPriceOrder

Source

Details

Signature

submitNextPriceOrder(int256 sizeDelta)

Visibility

external

State Mutability

``

submitNextPriceOrderWithTracking

Source

Details

Signature

submitNextPriceOrderWithTracking(int256 sizeDelta, bytes32 trackingCode)

Visibility

external

State Mutability

``

Events

NextPriceOrderRemoved

Source

Signature: NextPriceOrderRemoved(address account, uint256 currentRoundId, int256 sizeDelta, uint256 targetRoundId, uint256 commitDeposit, uint256 keeperDeposit, bytes32 trackingCode)

NextPriceOrderSubmitted

Source

Signature: NextPriceOrderSubmitted(address account, int256 sizeDelta, uint256 targetRoundId, uint256 commitDeposit, uint256 keeperDeposit, bytes32 trackingCode)