Skip to content

IPerpsV2Settings

Description

Source: contracts/interfaces/IPerpsV2Settings.sol

Structs

Parameters

Source

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

Source

Details

Signature

baseFee(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

baseFeeNextPrice

Source

Details

Signature

baseFeeNextPrice(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

liquidationBufferRatio

Source

Details

Signature

liquidationBufferRatio() view returns (uint256)

Visibility

external

State Mutability

view

liquidationFeeRatio

Source

Details

Signature

liquidationFeeRatio() view returns (uint256)

Visibility

external

State Mutability

view

maxFundingRate

Source

Details

Signature

maxFundingRate(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxLeverage

Source

Details

Signature

maxLeverage(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

maxSingleSideValueUSD

Source

Details

Signature

maxSingleSideValueUSD(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

parameters

Source

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

Source

Details

Signature

skewScaleUSD(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view