Skip to content

SystemSettings

Description

Source: contracts/SystemSettings.sol

Constructor

constructor

Source

Details

Signature

constructor(address _owner, address _resolver)

Visibility

public

State Mutability

``

Requires

Views

CONTRACT_NAME

Source

Details

Signature

CONTRACT_NAME() view returns (bytes32)

Visibility

external

State Mutability

view

aggregatorWarningFlags

Source

Details

Signature

aggregatorWarningFlags() view returns (address)

Visibility

external

State Mutability

view

atomicEquivalentForDexPricing

Source

Details

Signature

atomicEquivalentForDexPricing(bytes32 currencyKey) view returns (address)

Visibility

external

State Mutability

view

atomicExchangeFeeRate

Source

Details

Signature

atomicExchangeFeeRate(bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

atomicMaxVolumePerBlock

Source

Details

Signature

atomicMaxVolumePerBlock() view returns (uint256)

Visibility

external

State Mutability

view

atomicPriceBuffer

Source

Details

Signature

atomicPriceBuffer(bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

atomicTwapWindow

Source

Details

Signature

atomicTwapWindow() view returns (uint256)

Visibility

external

State Mutability

view

atomicVolatilityConsiderationWindow

Source

Details

Signature

atomicVolatilityConsiderationWindow(bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

atomicVolatilityUpdateThreshold

Source

Details

Signature

atomicVolatilityUpdateThreshold(bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

collapseFeeRate

Source

Details

Signature

collapseFeeRate(address collateral) view returns (uint256)

Visibility

external

State Mutability

view

crossDomainMessageGasLimit

Source

Details

Signature

crossDomainMessageGasLimit(enum MixinSystemSettings.CrossDomainMessageGasLimits gasLimitType) view returns (uint256)

Visibility

external

State Mutability

view

debtSnapshotStaleTime

Source

Details

Signature

debtSnapshotStaleTime() view returns (uint256)

Visibility

external

State Mutability

view

etherWrapperBurnFeeRate

Source

Details

Signature

etherWrapperBurnFeeRate() view returns (uint256)

Visibility

external

State Mutability

view

etherWrapperMaxETH

Source

Details

Signature

etherWrapperMaxETH() view returns (uint256)

Visibility

external

State Mutability

view

etherWrapperMintFeeRate

Source

Details

Signature

etherWrapperMintFeeRate() view returns (uint256)

Visibility

external

State Mutability

view

exchangeDynamicFeeRounds

Source

Details

Signature

exchangeDynamicFeeRounds() view returns (uint256)

Visibility

external

State Mutability

view

exchangeDynamicFeeThreshold

Source

Details

Signature

exchangeDynamicFeeThreshold() view returns (uint256)

Visibility

external

State Mutability

view

exchangeDynamicFeeWeightDecay

Source

Details

Signature

exchangeDynamicFeeWeightDecay() view returns (uint256)

Visibility

external

State Mutability

view

exchangeFeeRate

Source

Details

Signature

exchangeFeeRate(bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

exchangeMaxDynamicFee

Source

Details

Signature

exchangeMaxDynamicFee() view returns (uint256)

Visibility

external

State Mutability

view

feePeriodDuration

Source

Details

Signature

feePeriodDuration() view returns (uint256)

Visibility

external

State Mutability

view

interactionDelay

Source

Details

Signature

interactionDelay(address collateral) view returns (uint256)

Visibility

external

State Mutability

view

issuanceRatio

Source

Details

Signature

issuanceRatio() view returns (uint256)

Visibility

external

State Mutability

view

liquidationDelay

Source

Details

Signature

liquidationDelay() view returns (uint256)

Visibility

external

State Mutability

view

liquidationPenalty

Source

Details

Signature

liquidationPenalty() view returns (uint256)

Visibility

external

State Mutability

view

liquidationRatio

Source

Details

Signature

liquidationRatio() view returns (uint256)

Visibility

external

State Mutability

view

minimumStakeTime

Source

Details

Signature

minimumStakeTime() view returns (uint256)

Visibility

external

State Mutability

view

priceDeviationThresholdFactor

Source

Details

Signature

priceDeviationThresholdFactor() view returns (uint256)

Visibility

external

State Mutability

view

rateStalePeriod

Source

Details

Signature

rateStalePeriod() view returns (uint256)

Visibility

external

State Mutability

view

targetThreshold

Source

Details

Signature

targetThreshold() view returns (uint256)

Visibility

external

State Mutability

view

tradingRewardsEnabled

Source

Details

Signature

tradingRewardsEnabled() view returns (bool)

Visibility

external

State Mutability

view

waitingPeriodSecs

Source

Details

Signature

waitingPeriodSecs() view returns (uint256)

Visibility

external

State Mutability

view

wrapperBurnFeeRate

Source

Details

Signature

wrapperBurnFeeRate(address wrapper) view returns (int256)

Visibility

external

State Mutability

view

wrapperMaxTokenAmount

Source

Details

Signature

wrapperMaxTokenAmount(address wrapper) view returns (uint256)

Visibility

external

State Mutability

view

wrapperMintFeeRate

Source

Details

Signature

wrapperMintFeeRate(address wrapper) view returns (int256)

Visibility

external

State Mutability

view

Restricted Functions

setAggregatorWarningFlags

Source

Details

Signature

setAggregatorWarningFlags(address _flags)

Visibility

external

State Mutability

``

Modifiers

Emits

setAtomicEquivalentForDexPricing

Source

Details

Signature

setAtomicEquivalentForDexPricing(bytes32 _currencyKey, address _equivalent)

Visibility

external

State Mutability

``

Modifiers

Emits

setAtomicExchangeFeeRate

Source

Details

Signature

setAtomicExchangeFeeRate(bytes32 _currencyKey, uint256 _exchangeFeeRate)

Visibility

external

State Mutability

``

Modifiers

Emits

setAtomicMaxVolumePerBlock

Source

Details

Signature

setAtomicMaxVolumePerBlock(uint256 _maxVolume)

Visibility

external

State Mutability

``

Modifiers

Emits

setAtomicPriceBuffer

Source

Details

Signature

setAtomicPriceBuffer(bytes32 _currencyKey, uint256 _buffer)

Visibility

external

State Mutability

``

Modifiers

Emits

setAtomicTwapWindow

Source

Details

Signature

setAtomicTwapWindow(uint256 _window)

Visibility

external

State Mutability

``

Modifiers

Emits

setAtomicVolatilityConsiderationWindow

Source

Details

Signature

setAtomicVolatilityConsiderationWindow(bytes32 _currencyKey, uint256 _window)

Visibility

external

State Mutability

``

Modifiers

Emits

setAtomicVolatilityUpdateThreshold

Source

Details

Signature

setAtomicVolatilityUpdateThreshold(bytes32 _currencyKey, uint256 _threshold)

Visibility

external

State Mutability

``

Modifiers

Emits

setCollapseFeeRate

Source

Details

Signature

setCollapseFeeRate(address _collateral, uint256 _collapseFeeRate)

Visibility

external

State Mutability

``

Modifiers

Emits

setCrossDomainMessageGasLimit

Source

Details

Signature

setCrossDomainMessageGasLimit(enum MixinSystemSettings.CrossDomainMessageGasLimits _gasLimitType, uint256 _crossDomainMessageGasLimit)

Visibility

external

State Mutability

``

Modifiers

Emits

setDebtSnapshotStaleTime

Source

Details

Signature

setDebtSnapshotStaleTime(uint256 _seconds)

Visibility

external

State Mutability

``

Modifiers

Emits

setEtherWrapperBurnFeeRate

Source

Details

Signature

setEtherWrapperBurnFeeRate(uint256 _rate)

Visibility

external

State Mutability

``

Modifiers

Emits

setEtherWrapperMaxETH

Source

Details

Signature

setEtherWrapperMaxETH(uint256 _maxETH)

Visibility

external

State Mutability

``

Modifiers

Emits

setEtherWrapperMintFeeRate

Source

Details

Signature

setEtherWrapperMintFeeRate(uint256 _rate)

Visibility

external

State Mutability

``

Modifiers

Emits

setExchangeDynamicFeeRounds

Source

Details

Signature

setExchangeDynamicFeeRounds(uint256 rounds)

Visibility

external

State Mutability

``

Modifiers

Emits

setExchangeDynamicFeeThreshold

Source

Details

Signature

setExchangeDynamicFeeThreshold(uint256 threshold)

Visibility

external

State Mutability

``

Requires

Modifiers

Emits

setExchangeDynamicFeeWeightDecay

Source

Details

Signature

setExchangeDynamicFeeWeightDecay(uint256 weightDecay)

Visibility

external

State Mutability

``

Requires

Modifiers

Emits

setExchangeFeeRateForSynths

Source

Details

Signature

setExchangeFeeRateForSynths(bytes32[] synthKeys, uint256[] exchangeFeeRates)

Visibility

external

State Mutability

``

Modifiers

setExchangeMaxDynamicFee

Source

Details

Signature

setExchangeMaxDynamicFee(uint256 maxFee)

Visibility

external

State Mutability

``

Modifiers

Emits

setFeePeriodDuration

Source

Details

Signature

setFeePeriodDuration(uint256 _feePeriodDuration)

Visibility

external

State Mutability

``

Modifiers

Emits

setInteractionDelay

Source

Details

Signature

setInteractionDelay(address _collateral, uint256 _interactionDelay)

Visibility

external

State Mutability

``

Modifiers

Emits

setIssuanceRatio

Source

Details

Signature

setIssuanceRatio(uint256 ratio)

Visibility

external

State Mutability

``

Modifiers

Emits

setLiquidationDelay

Source

Details

Signature

setLiquidationDelay(uint256 time)

Visibility

external

State Mutability

``

Modifiers

Emits

setLiquidationPenalty

Source

Details

Signature

setLiquidationPenalty(uint256 penalty)

Visibility

external

State Mutability

``

Modifiers

Emits

setLiquidationRatio

Source

Details

Signature

setLiquidationRatio(uint256 _liquidationRatio)

Visibility

external

State Mutability

``

Modifiers

Emits

setMinimumStakeTime

Source

Details

Signature

setMinimumStakeTime(uint256 _seconds)

Visibility

external

State Mutability

``

Modifiers

Emits

setPriceDeviationThresholdFactor

Source

Details

Signature

setPriceDeviationThresholdFactor(uint256 _priceDeviationThresholdFactor)

Visibility

external

State Mutability

``

Modifiers

Emits

setRateStalePeriod

Source

Details

Signature

setRateStalePeriod(uint256 period)

Visibility

external

State Mutability

``

Modifiers

Emits

setTargetThreshold

Source

Details

Signature

setTargetThreshold(uint256 percent)

Visibility

external

State Mutability

``

Modifiers

Emits

setTradingRewardsEnabled

Source

Details

Signature

setTradingRewardsEnabled(bool _tradingRewardsEnabled)

Visibility

external

State Mutability

``

Modifiers

Emits

setWaitingPeriodSecs

Source

Details

Signature

setWaitingPeriodSecs(uint256 _waitingPeriodSecs)

Visibility

external

State Mutability

``

Modifiers

Emits

setWrapperBurnFeeRate

Source

Details

Signature

setWrapperBurnFeeRate(address _wrapper, int256 _rate)

Visibility

external

State Mutability

``

Modifiers

Emits

setWrapperMaxTokenAmount

Source

Details

Signature

setWrapperMaxTokenAmount(address _wrapper, uint256 _maxTokenAmount)

Visibility

external

State Mutability

``

Modifiers

Emits

setWrapperMintFeeRate

Source

Details

Signature

setWrapperMintFeeRate(address _wrapper, int256 _rate)

Visibility

external

State Mutability

``

Modifiers

Emits

Events

AggregatorWarningFlagsUpdated

Source

Signature: AggregatorWarningFlagsUpdated(address flags)

AtomicEquivalentForDexPricingUpdated

Source

Signature: AtomicEquivalentForDexPricingUpdated(bytes32 synthKey, address equivalent)

AtomicExchangeFeeUpdated

Source

Signature: AtomicExchangeFeeUpdated(bytes32 synthKey, uint256 newExchangeFeeRate)

AtomicMaxVolumePerBlockUpdated

Source

Signature: AtomicMaxVolumePerBlockUpdated(uint256 newMaxVolume)

AtomicPriceBufferUpdated

Source

Signature: AtomicPriceBufferUpdated(bytes32 synthKey, uint256 newBuffer)

AtomicTwapWindowUpdated

Source

Signature: AtomicTwapWindowUpdated(uint256 newWindow)

AtomicVolatilityConsiderationWindowUpdated

Source

Signature: AtomicVolatilityConsiderationWindowUpdated(bytes32 synthKey, uint256 newVolatilityConsiderationWindow)

AtomicVolatilityUpdateThresholdUpdated

Source

Signature: AtomicVolatilityUpdateThresholdUpdated(bytes32 synthKey, uint256 newVolatilityUpdateThreshold)

CollapseFeeRateUpdated

Source

Signature: CollapseFeeRateUpdated(uint256 collapseFeeRate)

CrossDomainMessageGasLimitChanged

Source

Signature: CrossDomainMessageGasLimitChanged(enum MixinSystemSettings.CrossDomainMessageGasLimits gasLimitType, uint256 newLimit)

DebtSnapshotStaleTimeUpdated

Source

Signature: DebtSnapshotStaleTimeUpdated(uint256 debtSnapshotStaleTime)

EtherWrapperBurnFeeRateUpdated

Source

Signature: EtherWrapperBurnFeeRateUpdated(uint256 rate)

EtherWrapperMaxETHUpdated

Source

Signature: EtherWrapperMaxETHUpdated(uint256 maxETH)

EtherWrapperMintFeeRateUpdated

Source

Signature: EtherWrapperMintFeeRateUpdated(uint256 rate)

ExchangeDynamicFeeRoundsUpdated

Source

Signature: ExchangeDynamicFeeRoundsUpdated(uint256 dynamicFeeRounds)

ExchangeDynamicFeeThresholdUpdated

Source

Signature: ExchangeDynamicFeeThresholdUpdated(uint256 dynamicFeeThreshold)

ExchangeDynamicFeeWeightDecayUpdated

Source

Signature: ExchangeDynamicFeeWeightDecayUpdated(uint256 dynamicFeeWeightDecay)

ExchangeFeeUpdated

Source

Signature: ExchangeFeeUpdated(bytes32 synthKey, uint256 newExchangeFeeRate)

ExchangeMaxDynamicFeeUpdated

Source

Signature: ExchangeMaxDynamicFeeUpdated(uint256 maxDynamicFee)

FeePeriodDurationUpdated

Source

Signature: FeePeriodDurationUpdated(uint256 newFeePeriodDuration)

InteractionDelayUpdated

Source

Signature: InteractionDelayUpdated(uint256 interactionDelay)

IssuanceRatioUpdated

Source

Signature: IssuanceRatioUpdated(uint256 newRatio)

LiquidationDelayUpdated

Source

Signature: LiquidationDelayUpdated(uint256 newDelay)

LiquidationPenaltyUpdated

Source

Signature: LiquidationPenaltyUpdated(uint256 newPenalty)

LiquidationRatioUpdated

Source

Signature: LiquidationRatioUpdated(uint256 newRatio)

MinimumStakeTimeUpdated

Source

Signature: MinimumStakeTimeUpdated(uint256 minimumStakeTime)

PriceDeviationThresholdUpdated

Source

Signature: PriceDeviationThresholdUpdated(uint256 threshold)

RateStalePeriodUpdated

Source

Signature: RateStalePeriodUpdated(uint256 rateStalePeriod)

TargetThresholdUpdated

Source

Signature: TargetThresholdUpdated(uint256 newTargetThreshold)

TradingRewardsEnabled

Source

Signature: TradingRewardsEnabled(bool enabled)

WaitingPeriodSecsUpdated

Source

Signature: WaitingPeriodSecsUpdated(uint256 waitingPeriodSecs)

WrapperBurnFeeRateUpdated

Source

Signature: WrapperBurnFeeRateUpdated(address wrapper, int256 rate)

WrapperMaxTokenAmountUpdated

Source

Signature: WrapperMaxTokenAmountUpdated(address wrapper, uint256 maxTokenAmount)

WrapperMintFeeRateUpdated

Source

Signature: WrapperMintFeeRateUpdated(address wrapper, int256 rate)