Skip to content

IPerpsV2Market

Description

Source: contracts/interfaces/IPerpsV2Market.sol

External Functions

closePosition

Source

Details

Signature

closePosition(uint256 desiredFillPrice)

Visibility

external

State Mutability

``

closePositionWithTracking

Source

Details

Signature

closePositionWithTracking(uint256 desiredFillPrice, bytes32 trackingCode)

Visibility

external

State Mutability

``

modifyPosition

Source

Details

Signature

modifyPosition(int256 sizeDelta, uint256 desiredFillPrice)

Visibility

external

State Mutability

``

modifyPositionWithTracking

Source

Details

Signature

modifyPositionWithTracking(int256 sizeDelta, uint256 desiredFillPrice, bytes32 trackingCode)

Visibility

external

State Mutability

``

recomputeFunding

Source

Details

Signature

recomputeFunding() returns (uint256 lastIndex)

Visibility

external

State Mutability

``

transferMargin

Source

Details

Signature

transferMargin(int256 marginDelta)

Visibility

external

State Mutability

``

withdrawAllMargin

Source

Details

Signature

withdrawAllMargin()

Visibility

external

State Mutability

``