Skip to content

PerpsV2MarketDelayedOrdersOffchain

Description

Source: contracts/PerpsV2MarketDelayedOrdersOffchain.sol

Constructor

constructor

Source

Details

Signature

constructor(address payable _proxy, address _marketState, address _owner, address _resolver)

Visibility

public

State Mutability

``

Restricted Functions

cancelOffchainDelayedOrder

Source

Details

Signature

cancelOffchainDelayedOrder(address account)

Visibility

external

State Mutability

``

Requires

Modifiers

executeOffchainDelayedOrder

Source

Details

Signature

executeOffchainDelayedOrder(address account, bytes[] priceUpdateData) payable

Visibility

external

State Mutability

payable

Requires

Modifiers

submitOffchainDelayedOrder

Source

Details

Signature

submitOffchainDelayedOrder(int256 sizeDelta, uint256 priceImpactDelta)

Visibility

external

State Mutability

``

Modifiers

submitOffchainDelayedOrderWithTracking

Source

Details

Signature

submitOffchainDelayedOrderWithTracking(int256 sizeDelta, uint256 priceImpactDelta, bytes32 trackingCode)

Visibility

external

State Mutability

``

Modifiers

Internal Functions

_confirmCanCancel

Source

Details

Signature

_confirmCanCancel(address account, struct IPerpsV2MarketBaseTypes.DelayedOrder order, uint256 currentRoundId)

Visibility

internal

State Mutability

``

Requires

_offchainAssetPriceRequireSystemChecks

Source

Details

Signature

_offchainAssetPriceRequireSystemChecks(uint256 maxAge) returns (uint256 price, uint256 publishTime)

Visibility

internal

State Mutability

``

Requires

_perpsV2ExchangeRate

Source

Details

Signature

_perpsV2ExchangeRate() view returns (contract IPerpsV2ExchangeRate)

Visibility

internal

State Mutability

view