PerpsV2NextPriceMixin¶
Description¶
Source: contracts/PerpsV2NextPriceMixin.sol
Variables¶
nextPriceOrders
¶
Type: mapping(address => struct IPerpsV2BaseTypes.NextPriceOrder)
Internal Functions¶
_confirmationWindowOver
¶
Details
Signature
_confirmationWindowOver(uint256 currentRoundId, uint256 targetRoundId) view returns (bool)
Visibility
internal
State Mutability
view
_exchangeRates
¶
Details
Signature
_exchangeRates() view returns (contract IExchangeRates)
Visibility
internal
State Mutability
view
_nextPriceCommitDeposit
¶
Details
Signature
_nextPriceCommitDeposit(struct PerpsV2MarketBase.TradeParams params) view returns (uint256)
Visibility
internal
State Mutability
view
_submitNextPriceOrder
¶
Details
Signature
_submitNextPriceOrder(int256 sizeDelta, bytes32 trackingCode)
Visibility
internal
State Mutability
``
Requires
Emits
External Functions¶
cancelNextPriceOrder
¶
Details
Signature
cancelNextPriceOrder(address account)
Visibility
external
State Mutability
``
Requires
Emits
executeNextPriceOrder
¶
Details
Signature
executeNextPriceOrder(address account)
Visibility
external
State Mutability
``
Requires
Emits
submitNextPriceOrder
¶
Details
Signature
submitNextPriceOrder(int256 sizeDelta)
Visibility
external
State Mutability
``
submitNextPriceOrderWithTracking
¶
Details
Signature
submitNextPriceOrderWithTracking(int256 sizeDelta, bytes32 trackingCode)
Visibility
external
State Mutability
``
Events¶
NextPriceOrderRemoved
¶
Signature: NextPriceOrderRemoved(address account, uint256 currentRoundId, int256 sizeDelta, uint256 targetRoundId, uint256 commitDeposit, uint256 keeperDeposit, bytes32 trackingCode)
NextPriceOrderSubmitted
¶
Signature: NextPriceOrderSubmitted(address account, int256 sizeDelta, uint256 targetRoundId, uint256 commitDeposit, uint256 keeperDeposit, bytes32 trackingCode)