Skip to content

IPerpsV2MarketSettings

Description

Source: contracts/interfaces/IPerpsV2MarketSettings.sol

Structs

Parameters

Source

Field Type Description
takerFee uint256 TBA
makerFee uint256 TBA
takerFeeDelayedOrder uint256 TBA
makerFeeDelayedOrder uint256 TBA
takerFeeOffchainDelayedOrder uint256 TBA
makerFeeOffchainDelayedOrder uint256 TBA
maxLeverage uint256 TBA
maxMarketValue uint256 TBA
maxFundingVelocity uint256 TBA
skewScale uint256 TBA
nextPriceConfirmWindow uint256 TBA
delayedOrderConfirmWindow uint256 TBA
minDelayTimeDelta uint256 TBA
maxDelayTimeDelta uint256 TBA
offchainDelayedOrderMinAge uint256 TBA
offchainDelayedOrderMaxAge uint256 TBA
offchainMarketKey bytes32 TBA
offchainPriceDivergence uint256 TBA
liquidationPremiumMultiplier uint256 TBA
liquidationBufferRatio uint256 TBA
maxLiquidationDelta uint256 TBA
maxPD uint256 TBA

Views

delayedOrderConfirmWindow

Source

Details

Signature

delayedOrderConfirmWindow(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

keeperLiquidationFee

Source

Details

Signature

keeperLiquidationFee() view returns (uint256)

Visibility

external

State Mutability

view

liquidationBufferRatio

Source

Details

Signature

liquidationBufferRatio(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

liquidationFeeRatio

Source

Details

Signature

liquidationFeeRatio() view returns (uint256)

Visibility

external

State Mutability

view

liquidationPremiumMultiplier

Source

Details

Signature

liquidationPremiumMultiplier(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

makerFee

Source

Details

Signature

makerFee(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

makerFeeDelayedOrder

Source

Details

Signature

makerFeeDelayedOrder(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

makerFeeOffchainDelayedOrder

Source

Details

Signature

makerFeeOffchainDelayedOrder(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxDelayTimeDelta

Source

Details

Signature

maxDelayTimeDelta(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxFundingVelocity

Source

Details

Signature

maxFundingVelocity(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxKeeperFee

Source

Details

Signature

maxKeeperFee() view returns (uint256)

Visibility

external

State Mutability

view

maxLeverage

Source

Details

Signature

maxLeverage(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxLiquidationDelta

Source

Details

Signature

maxLiquidationDelta(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxMarketValue

Source

Details

Signature

maxMarketValue(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxPD

Source

Details

Signature

maxPD(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

minDelayTimeDelta

Source

Details

Signature

minDelayTimeDelta(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

minInitialMargin

Source

Details

Signature

minInitialMargin() view returns (uint256)

Visibility

external

State Mutability

view

minKeeperFee

Source

Details

Signature

minKeeperFee() view returns (uint256)

Visibility

external

State Mutability

view

nextPriceConfirmWindow

Source

Details

Signature

nextPriceConfirmWindow(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

offchainDelayedOrderMaxAge

Source

Details

Signature

offchainDelayedOrderMaxAge(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

offchainDelayedOrderMinAge

Source

Details

Signature

offchainDelayedOrderMinAge(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

offchainMarketKey

Source

Details

Signature

offchainMarketKey(bytes32 _marketKey) view returns (bytes32)

Visibility

external

State Mutability

view

offchainPriceDivergence

Source

Details

Signature

offchainPriceDivergence(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

parameters

Source

Details

Signature

parameters(bytes32 _marketKey) view returns (struct IPerpsV2MarketSettings.Parameters)

Visibility

external

State Mutability

view

skewScale

Source

Details

Signature

skewScale(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

takerFee

Source

Details

Signature

takerFee(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

takerFeeDelayedOrder

Source

Details

Signature

takerFeeDelayedOrder(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

takerFeeOffchainDelayedOrder

Source

Details

Signature

takerFeeOffchainDelayedOrder(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view