Skip to content

PerpsV2MarketDelayedIntent

Description

Source: contracts/PerpsV2MarketDelayedIntent.sol

Constructor

constructor

Source

Details

Signature

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

Visibility

public

State Mutability

``

Restricted Functions

submitCloseDelayedOrderWithTracking

Source

Details

Signature

submitCloseDelayedOrderWithTracking(uint256 desiredTimeDelta, uint256 desiredFillPrice, bytes32 trackingCode)

Visibility

external

State Mutability

``

Modifiers

submitCloseOffchainDelayedOrderWithTracking

Source

Details

Signature

submitCloseOffchainDelayedOrderWithTracking(uint256 desiredFillPrice, bytes32 trackingCode)

Visibility

external

State Mutability

``

Modifiers

submitDelayedOrder

Source

Details

Signature

submitDelayedOrder(int256 sizeDelta, uint256 desiredTimeDelta, uint256 desiredFillPrice)

Visibility

external

State Mutability

``

Modifiers

submitDelayedOrderWithTracking

Source

Details

Signature

submitDelayedOrderWithTracking(int256 sizeDelta, uint256 desiredTimeDelta, uint256 desiredFillPrice, bytes32 trackingCode)

Visibility

external

State Mutability

``

Modifiers

submitOffchainDelayedOrder

Source

Details

Signature

submitOffchainDelayedOrder(int256 sizeDelta, uint256 desiredFillPrice)

Visibility

external

State Mutability

``

Modifiers

submitOffchainDelayedOrderWithTracking

Source

Details

Signature

submitOffchainDelayedOrderWithTracking(int256 sizeDelta, uint256 desiredFillPrice, bytes32 trackingCode)

Visibility

external

State Mutability

``

Modifiers

Internal Functions

_submitCloseDelayedOrder

Source

Details

Signature

_submitCloseDelayedOrder(uint256 desiredTimeDelta, uint256 desiredFillPrice, bytes32 trackingCode, enum IPerpsV2MarketBaseTypes.OrderType orderType)

Visibility

internal

State Mutability

``

Requires

_submitDelayedOrder

Source

Details

Signature

_submitDelayedOrder(bytes32 marketKey, int256 sizeDelta, uint256 desiredTimeDelta, uint256 desiredFillPrice, bytes32 trackingCode, bool isOffchain)

Visibility

internal

State Mutability

``

Requires

emitDelayedOrderSubmitted

Source

Details

Signature

emitDelayedOrderSubmitted(address account, struct IPerpsV2MarketBaseTypes.DelayedOrder order)

Visibility

internal

State Mutability

``

Events

DelayedOrderSubmitted

Source

Signature: DelayedOrderSubmitted(address account, bool isOffchain, int256 sizeDelta, uint256 targetRoundId, uint256 intentionTime, uint256 executableAtTime, uint256 commitDeposit, uint256 keeperDeposit, bytes32 trackingCode)