IPerpsV2Market¶
Description¶
Source: contracts/interfaces/IPerpsV2Market.sol
External Functions¶
closePosition
¶
Details
Signature
closePosition(uint256 desiredFillPrice)
Visibility
external
State Mutability
``
closePositionWithTracking
¶
Details
Signature
closePositionWithTracking(uint256 desiredFillPrice, bytes32 trackingCode)
Visibility
external
State Mutability
``
modifyPosition
¶
Details
Signature
modifyPosition(int256 sizeDelta, uint256 desiredFillPrice)
Visibility
external
State Mutability
``
modifyPositionWithTracking
¶
Details
Signature
modifyPositionWithTracking(int256 sizeDelta, uint256 desiredFillPrice, bytes32 trackingCode)
Visibility
external
State Mutability
``
recomputeFunding
¶
Details
Signature
recomputeFunding() returns (uint256 lastIndex)
Visibility
external
State Mutability
``
transferMargin
¶
Details
Signature
transferMargin(int256 marginDelta)
Visibility
external
State Mutability
``
withdrawAllMargin
¶
Details
Signature
withdrawAllMargin()
Visibility
external
State Mutability
``