PerpsV2SettingsMixin¶
Description¶
Source: contracts/PerpsV2SettingsMixin.sol
Constructor¶
constructor
¶
Details
Signature
constructor(address _resolver)
Visibility
internal
State Mutability
``
Views¶
resolverAddressesRequired
¶
Details
Signature
resolverAddressesRequired() view returns (bytes32[] addresses)
Visibility
public
State Mutability
view
Internal Functions¶
_baseFee
¶
Details
Signature
_baseFee(bytes32 _marketKey) view returns (uint256)
Visibility
internal
State Mutability
view
_baseFeeNextPrice
¶
Details
Signature
_baseFeeNextPrice(bytes32 _marketKey) view returns (uint256)
Visibility
internal
State Mutability
view
_flexibleStorage
¶
Details
Signature
_flexibleStorage() view returns (contract IFlexibleStorage)
Visibility
internal
State Mutability
view
_liquidationBufferRatio
¶
Details
Signature
_liquidationBufferRatio() view returns (uint256)
Visibility
internal
State Mutability
view
_liquidationFeeRatio
¶
Details
Signature
_liquidationFeeRatio() view returns (uint256)
Visibility
internal
State Mutability
view
_maxFundingRate
¶
Details
Signature
_maxFundingRate(bytes32 _marketKey) view returns (uint256)
Visibility
internal
State Mutability
view
_maxLeverage
¶
Details
Signature
_maxLeverage(bytes32 _marketKey) view returns (uint256)
Visibility
internal
State Mutability
view
_maxSingleSideValueUSD
¶
Details
Signature
_maxSingleSideValueUSD(bytes32 _marketKey) view returns (uint256)
Visibility
internal
State Mutability
view
_minInitialMargin
¶
Details
Signature
_minInitialMargin() view returns (uint256)
Visibility
internal
State Mutability
view
_minKeeperFee
¶
Details
Signature
_minKeeperFee() view returns (uint256)
Visibility
internal
State Mutability
view
_nextPriceConfirmWindow
¶
Details
Signature
_nextPriceConfirmWindow(bytes32 _marketKey) view returns (uint256)
Visibility
internal
State Mutability
view
_parameter
¶
Details
Signature
_parameter(bytes32 _marketKey, bytes32 key) view returns (uint256 value)
Visibility
internal
State Mutability
view
_skewScaleUSD
¶
Details
Signature
_skewScaleUSD(bytes32 _marketKey) view returns (uint256)
Visibility
internal
State Mutability
view