IPerpsV2Settings¶
Description¶
Source: contracts/interfaces/IPerpsV2Settings.sol
Structs¶
Parameters
¶
Field | Type | Description |
---|---|---|
baseFee |
uint256 |
TBA |
baseFeeNextPrice |
uint256 |
TBA |
nextPriceConfirmWindow |
uint256 |
TBA |
maxLeverage |
uint256 |
TBA |
maxSingleSideValueUSD |
uint256 |
TBA |
maxFundingRate |
uint256 |
TBA |
skewScaleUSD |
uint256 |
TBA |
Views¶
baseFee
¶
Details
Signature
baseFee(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
baseFeeNextPrice
¶
Details
Signature
baseFeeNextPrice(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
liquidationBufferRatio
¶
Details
Signature
liquidationBufferRatio() view returns (uint256)
Visibility
external
State Mutability
view
liquidationFeeRatio
¶
Details
Signature
liquidationFeeRatio() view returns (uint256)
Visibility
external
State Mutability
view
maxFundingRate
¶
Details
Signature
maxFundingRate(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxLeverage
¶
Details
Signature
maxLeverage(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view
maxSingleSideValueUSD
¶
Details
Signature
maxSingleSideValueUSD(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
parameters
¶
Details
Signature
parameters(bytes32 _marketKey) view returns (uint256 _baseFee, uint256 _baseFeeNextPrice, uint256 _nextPriceConfirmWindow, uint256 _maxLeverage, uint256 _maxSingleSideValueUSD, uint256 _maxFundingRate, uint256 _skewScaleUSD)
Visibility
external
State Mutability
view
skewScaleUSD
¶
Details
Signature
skewScaleUSD(bytes32 _marketKey) view returns (uint256)
Visibility
external
State Mutability
view