Skip to content

PerpsV2SettingsMixin

Description

Source: contracts/PerpsV2SettingsMixin.sol

Constructor

constructor

Source

Details

Signature

constructor(address _resolver)

Visibility

internal

State Mutability

``

Views

resolverAddressesRequired

Source

Details

Signature

resolverAddressesRequired() view returns (bytes32[] addresses)

Visibility

public

State Mutability

view

Internal Functions

_baseFee

Source

Details

Signature

_baseFee(bytes32 _marketKey) view returns (uint256)

Visibility

internal

State Mutability

view

_baseFeeNextPrice

Source

Details

Signature

_baseFeeNextPrice(bytes32 _marketKey) view returns (uint256)

Visibility

internal

State Mutability

view

_flexibleStorage

Source

Details

Signature

_flexibleStorage() view returns (contract IFlexibleStorage)

Visibility

internal

State Mutability

view

_liquidationBufferRatio

Source

Details

Signature

_liquidationBufferRatio() view returns (uint256)

Visibility

internal

State Mutability

view

_liquidationFeeRatio

Source

Details

Signature

_liquidationFeeRatio() view returns (uint256)

Visibility

internal

State Mutability

view

_maxFundingRate

Source

Details

Signature

_maxFundingRate(bytes32 _marketKey) view returns (uint256)

Visibility

internal

State Mutability

view

_maxLeverage

Source

Details

Signature

_maxLeverage(bytes32 _marketKey) view returns (uint256)

Visibility

internal

State Mutability

view

_maxSingleSideValueUSD

Source

Details

Signature

_maxSingleSideValueUSD(bytes32 _marketKey) view returns (uint256)

Visibility

internal

State Mutability

view

_minInitialMargin

Source

Details

Signature

_minInitialMargin() view returns (uint256)

Visibility

internal

State Mutability

view

_minKeeperFee

Source

Details

Signature

_minKeeperFee() view returns (uint256)

Visibility

internal

State Mutability

view

_nextPriceConfirmWindow

Source

Details

Signature

_nextPriceConfirmWindow(bytes32 _marketKey) view returns (uint256)

Visibility

internal

State Mutability

view

_parameter

Source

Details

Signature

_parameter(bytes32 _marketKey, bytes32 key) view returns (uint256 value)

Visibility

internal

State Mutability

view

_skewScaleUSD

Source

Details

Signature

_skewScaleUSD(bytes32 _marketKey) view returns (uint256)

Visibility

internal

State Mutability

view