IPerpsV2MarketSettings¶
Description¶
Source: contracts/interfaces/IPerpsV2MarketSettings.sol
Structs¶
Parameters
¶
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
¶
Details
Signature
delayedOrderConfirmWindow(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
keeperLiquidationFee
¶
Details
Signature
keeperLiquidationFee() view returns (uint256)
Visibility
external
State Mutability
view
liquidationBufferRatio
¶
Details
Signature
liquidationBufferRatio(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
liquidationFeeRatio
¶
Details
Signature
liquidationFeeRatio() view returns (uint256)
Visibility
external
State Mutability
view
liquidationPremiumMultiplier
¶
Details
Signature
liquidationPremiumMultiplier(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
makerFee
¶
Details
Signature
makerFee(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
makerFeeDelayedOrder
¶
Details
Signature
makerFeeDelayedOrder(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
makerFeeOffchainDelayedOrder
¶
Details
Signature
makerFeeOffchainDelayedOrder(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxDelayTimeDelta
¶
Details
Signature
maxDelayTimeDelta(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxFundingVelocity
¶
Details
Signature
maxFundingVelocity(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxKeeperFee
¶
Details
Signature
maxKeeperFee() view returns (uint256)
Visibility
external
State Mutability
view
maxLeverage
¶
Details
Signature
maxLeverage(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxLiquidationDelta
¶
Details
Signature
maxLiquidationDelta(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxMarketValue
¶
Details
Signature
maxMarketValue(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxPD
¶
Details
Signature
maxPD(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
minDelayTimeDelta
¶
Details
Signature
minDelayTimeDelta(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
minInitialMargin
¶
Details
Signature
minInitialMargin() view returns (uint256)
Visibility
external
State Mutability
view
minKeeperFee
¶
Details
Signature
minKeeperFee() view returns (uint256)
Visibility
external
State Mutability
view
nextPriceConfirmWindow
¶
Details
Signature
nextPriceConfirmWindow(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
offchainDelayedOrderMaxAge
¶
Details
Signature
offchainDelayedOrderMaxAge(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
offchainDelayedOrderMinAge
¶
Details
Signature
offchainDelayedOrderMinAge(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
offchainMarketKey
¶
Details
Signature
offchainMarketKey(bytes32 _marketKey) view returns (bytes32)
Visibility
external
State Mutability
view
offchainPriceDivergence
¶
Details
Signature
offchainPriceDivergence(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
parameters
¶
Details
Signature
parameters(bytes32 _marketKey) view returns (struct IPerpsV2MarketSettings.Parameters)
Visibility
external
State Mutability
view
skewScale
¶
Details
Signature
skewScale(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
takerFee
¶
Details
Signature
takerFee(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
takerFeeDelayedOrder
¶
Details
Signature
takerFeeDelayedOrder(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
takerFeeOffchainDelayedOrder
¶
Details
Signature
takerFeeOffchainDelayedOrder(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view