PerpsV2MarketDelayedOrdersOffchain¶
Description¶
Source: contracts/PerpsV2MarketDelayedOrdersOffchain.sol
Constructor¶
constructor
¶
Details
Signature
constructor(address payable _proxy, address _marketState, address _owner, address _resolver)
Visibility
public
State Mutability
``
Restricted Functions¶
cancelOffchainDelayedOrder
¶
Details
Signature
cancelOffchainDelayedOrder(address account)
Visibility
external
State Mutability
``
Requires
Modifiers
executeOffchainDelayedOrder
¶
Details
Signature
executeOffchainDelayedOrder(address account, bytes[] priceUpdateData) payable
Visibility
external
State Mutability
payable
Requires
Modifiers
submitOffchainDelayedOrder
¶
Details
Signature
submitOffchainDelayedOrder(int256 sizeDelta, uint256 priceImpactDelta)
Visibility
external
State Mutability
``
Modifiers
submitOffchainDelayedOrderWithTracking
¶
Details
Signature
submitOffchainDelayedOrderWithTracking(int256 sizeDelta, uint256 priceImpactDelta, bytes32 trackingCode)
Visibility
external
State Mutability
``
Modifiers
Internal Functions¶
_confirmCanCancel
¶
Details
Signature
_confirmCanCancel(address account, struct IPerpsV2MarketBaseTypes.DelayedOrder order, uint256 currentRoundId)
Visibility
internal
State Mutability
``
Requires
_offchainAssetPriceRequireSystemChecks
¶
Details
Signature
_offchainAssetPriceRequireSystemChecks(uint256 maxAge) returns (uint256 price, uint256 publishTime)
Visibility
internal
State Mutability
``
Requires
_perpsV2ExchangeRate
¶
Details
Signature
_perpsV2ExchangeRate() view returns (contract IPerpsV2ExchangeRate)
Visibility
internal
State Mutability
view