Skip to content

IPerpsV2Settings

Description

Source: contracts/interfaces/IPerpsV2Settings.sol

Structs

Parameters

Source

Field Type Description
takerFee uint256 TBA
makerFee uint256 TBA
takerFeeNextPrice uint256 TBA
makerFeeNextPrice uint256 TBA
nextPriceConfirmWindow uint256 TBA
maxLeverage uint256 TBA
maxMarketValueUSD uint256 TBA
maxFundingRate uint256 TBA
skewScaleUSD uint256 TBA

Views

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

makerFee

Source

Details

Signature

makerFee(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

makerFeeNextPrice

Source

Details

Signature

makerFeeNextPrice(bytes32 _marketKey) 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

maxMarketValueUSD

Source

Details

Signature

maxMarketValueUSD(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 _takerFee, uint256 _makerFee, uint256 _takerFeeNextPrice, uint256 _makerFeeNextPrice, uint256 _nextPriceConfirmWindow, uint256 _maxLeverage, uint256 _maxMarketValueUSD, uint256 _maxFundingRate, uint256 _skewScaleUSD)

Visibility

external

State Mutability

view

skewScaleUSD

Source

Details

Signature

skewScaleUSD(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

takerFee

Source

Details

Signature

takerFee(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view

takerFeeNextPrice

Source

Details

Signature

takerFeeNextPrice(bytes32 _marketKey) view returns (uint256)

Visibility

external

State Mutability

view