PairParameterHelper
State Variables
OFFSET_BASE_FACTOR
uint256 internal constant OFFSET_BASE_FACTOR = 0;OFFSET_FILTER_PERIOD
uint256 internal constant OFFSET_FILTER_PERIOD = 16;OFFSET_DECAY_PERIOD
uint256 internal constant OFFSET_DECAY_PERIOD = 28;OFFSET_REDUCTION_FACTOR
uint256 internal constant OFFSET_REDUCTION_FACTOR = 40;OFFSET_VAR_FEE_CONTROL
uint256 internal constant OFFSET_VAR_FEE_CONTROL = 54;OFFSET_PROTOCOL_SHARE
OFFSET_MAX_VOL_ACC
OFFSET_VOL_ACC
OFFSET_VOL_REF
OFFSET_ID_REF
OFFSET_TIME_LAST_UPDATE
OFFSET_ORACLE_ID
OFFSET_ACTIVE_ID
MASK_STATIC_PARAMETER
Functions
getBaseFactor
Name
Type
Description
Name
Type
Description
getFilterPeriod
Name
Type
Description
Name
Type
Description
getDecayPeriod
Name
Type
Description
Name
Type
Description
getReductionFactor
Name
Type
Description
Name
Type
Description
getVariableFeeControl
Name
Type
Description
Name
Type
Description
getProtocolShare
Name
Type
Description
Name
Type
Description
getMaxVolatilityAccumulator
Name
Type
Description
Name
Type
Description
getVolatilityAccumulator
Name
Type
Description
Name
Type
Description
getVolatilityReference
Name
Type
Description
Name
Type
Description
getIdReference
Name
Type
Description
Name
Type
Description
getTimeOfLastUpdate
Name
Type
Description
Name
Type
Description
getOracleId
Name
Type
Description
Name
Type
Description
getActiveId
Name
Type
Description
Name
Type
Description
getDeltaId
Name
Type
Description
Name
Type
Description
getBaseFee
Name
Type
Description
Name
Type
Description
getVariableFee
Name
Type
Description
Name
Type
Description
getTotalFee
Name
Type
Description
Name
Type
Description
setOracleId
Name
Type
Description
Name
Type
Description
setVolatilityReference
Name
Type
Description
Name
Type
Description
setVolatilityAccumulator
Name
Type
Description
Name
Type
Description
setActiveId
Name
Type
Description
Name
Type
Description
setStaticFeeParameters
Name
Type
Description
Name
Type
Description
updateIdReference
Name
Type
Description
Name
Type
Description
updateTimeOfLastUpdate
Name
Type
Description
Name
Type
Description
updateVolatilityReference
Name
Type
Description
Name
Type
Description
updateVolatilityAccumulator
Name
Type
Description
Name
Type
Description
updateReferences
Name
Type
Description
Name
Type
Description
updateVolatilityParameters
Name
Type
Description
Name
Type
Description
Errors
PairParametersHelper__InvalidParameter
Last updated