SystemSettings¶
Description¶
Source: contracts/SystemSettings.sol
Variables¶
MAX_CROSS_DOMAIN_GAS_LIMIT
¶
Type: uint256
MAX_ETHER_WRAPPER_BURN_FEE_RATE
¶
Type: uint256
MAX_ETHER_WRAPPER_MINT_FEE_RATE
¶
Type: uint256
MAX_EXCHANGE_FEE_RATE
¶
Type: uint256
MAX_FEE_PERIOD_DURATION
¶
Type: uint256
MAX_ISSUANCE_RATIO
¶
Type: uint256
MAX_LIQUIDATION_DELAY
¶
Type: uint256
MAX_LIQUIDATION_PENALTY
¶
Type: uint256
MAX_LIQUIDATION_RATIO
¶
Type: uint256
MAX_MINIMUM_STAKE_TIME
¶
Type: uint256
MAX_TARGET_THRESHOLD
¶
Type: uint256
MIN_CROSS_DOMAIN_GAS_LIMIT
¶
Type: uint256
MIN_FEE_PERIOD_DURATION
¶
Type: uint256
MIN_LIQUIDATION_DELAY
¶
Type: uint256
RATIO_FROM_TARGET_BUFFER
¶
Type: uint256
Constructor¶
constructor
¶
Details
Signature
constructor(address _owner, address _resolver)
Visibility
public
State Mutability
``
Views¶
aggregatorWarningFlags
¶
Details
Signature
aggregatorWarningFlags() view returns (address)
Visibility
external
State Mutability
view
crossDomainMessageGasLimit
¶
Details
Signature
crossDomainMessageGasLimit(enum MixinSystemSettings.CrossDomainMessageGasLimits gasLimitType) view returns (uint256)
Visibility
external
State Mutability
view
debtSnapshotStaleTime
¶
Details
Signature
debtSnapshotStaleTime() view returns (uint256)
Visibility
external
State Mutability
view
etherWrapperBurnFeeRate
¶
Details
Signature
etherWrapperBurnFeeRate() view returns (uint256)
Visibility
external
State Mutability
view
etherWrapperMaxETH
¶
Details
Signature
etherWrapperMaxETH() view returns (uint256)
Visibility
external
State Mutability
view
etherWrapperMintFeeRate
¶
Details
Signature
etherWrapperMintFeeRate() view returns (uint256)
Visibility
external
State Mutability
view
exchangeFeeRate
¶
Details
Signature
exchangeFeeRate(bytes32 currencyKey) view returns (uint256)
Visibility
external
State Mutability
view
feePeriodDuration
¶
Details
Signature
feePeriodDuration() view returns (uint256)
Visibility
external
State Mutability
view
issuanceRatio
¶
Details
Signature
issuanceRatio() view returns (uint256)
Visibility
external
State Mutability
view
liquidationDelay
¶
Details
Signature
liquidationDelay() view returns (uint256)
Visibility
external
State Mutability
view
liquidationPenalty
¶
Details
Signature
liquidationPenalty() view returns (uint256)
Visibility
external
State Mutability
view
liquidationRatio
¶
Details
Signature
liquidationRatio() view returns (uint256)
Visibility
external
State Mutability
view
minimumStakeTime
¶
Details
Signature
minimumStakeTime() view returns (uint256)
Visibility
external
State Mutability
view
priceDeviationThresholdFactor
¶
Details
Signature
priceDeviationThresholdFactor() view returns (uint256)
Visibility
external
State Mutability
view
rateStalePeriod
¶
Details
Signature
rateStalePeriod() view returns (uint256)
Visibility
external
State Mutability
view
targetThreshold
¶
Details
Signature
targetThreshold() view returns (uint256)
Visibility
external
State Mutability
view
tradingRewardsEnabled
¶
Details
Signature
tradingRewardsEnabled() view returns (bool)
Visibility
external
State Mutability
view
waitingPeriodSecs
¶
Details
Signature
waitingPeriodSecs() view returns (uint256)
Visibility
external
State Mutability
view
Restricted Functions¶
setAggregatorWarningFlags
¶
Details
Signature
setAggregatorWarningFlags(address _flags)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setCrossDomainMessageGasLimit
¶
Details
Signature
setCrossDomainMessageGasLimit(enum MixinSystemSettings.CrossDomainMessageGasLimits _gasLimitType, uint256 _crossDomainMessageGasLimit)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setDebtSnapshotStaleTime
¶
Details
Signature
setDebtSnapshotStaleTime(uint256 _seconds)
Visibility
external
State Mutability
``
Modifiers
Emits
setEtherWrapperBurnFeeRate
¶
Details
Signature
setEtherWrapperBurnFeeRate(uint256 _rate)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setEtherWrapperMaxETH
¶
Details
Signature
setEtherWrapperMaxETH(uint256 _maxETH)
Visibility
external
State Mutability
``
Modifiers
Emits
setEtherWrapperMintFeeRate
¶
Details
Signature
setEtherWrapperMintFeeRate(uint256 _rate)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setExchangeFeeRateForSynths
¶
Details
Signature
setExchangeFeeRateForSynths(bytes32[] synthKeys, uint256[] exchangeFeeRates)
Visibility
external
State Mutability
``
Requires
Modifiers
setFeePeriodDuration
¶
Details
Signature
setFeePeriodDuration(uint256 _feePeriodDuration)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setIssuanceRatio
¶
Details
Signature
setIssuanceRatio(uint256 _issuanceRatio)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setLiquidationDelay
¶
Details
Signature
setLiquidationDelay(uint256 time)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setLiquidationPenalty
¶
Details
Signature
setLiquidationPenalty(uint256 penalty)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setLiquidationRatio
¶
Details
Signature
setLiquidationRatio(uint256 _liquidationRatio)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setMinimumStakeTime
¶
Details
Signature
setMinimumStakeTime(uint256 _seconds)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setPriceDeviationThresholdFactor
¶
Details
Signature
setPriceDeviationThresholdFactor(uint256 _priceDeviationThresholdFactor)
Visibility
external
State Mutability
``
Modifiers
Emits
setRateStalePeriod
¶
Details
Signature
setRateStalePeriod(uint256 period)
Visibility
external
State Mutability
``
Modifiers
Emits
setTargetThreshold
¶
Details
Signature
setTargetThreshold(uint256 _percent)
Visibility
external
State Mutability
``
Requires
Modifiers
Emits
setTradingRewardsEnabled
¶
Details
Signature
setTradingRewardsEnabled(bool _tradingRewardsEnabled)
Visibility
external
State Mutability
``
Modifiers
Emits
setWaitingPeriodSecs
¶
Details
Signature
setWaitingPeriodSecs(uint256 _waitingPeriodSecs)
Visibility
external
State Mutability
``
Modifiers
Emits
Events¶
AggregatorWarningFlagsUpdated
¶
Signature: AggregatorWarningFlagsUpdated(address flags)
CrossDomainMessageGasLimitChanged
¶
Signature: CrossDomainMessageGasLimitChanged(enum MixinSystemSettings.CrossDomainMessageGasLimits gasLimitType, uint256 newLimit)
DebtSnapshotStaleTimeUpdated
¶
Signature: DebtSnapshotStaleTimeUpdated(uint256 debtSnapshotStaleTime)
EtherWrapperBurnFeeRateUpdated
¶
Signature: EtherWrapperBurnFeeRateUpdated(uint256 rate)
EtherWrapperMaxETHUpdated
¶
Signature: EtherWrapperMaxETHUpdated(uint256 maxETH)
EtherWrapperMintFeeRateUpdated
¶
Signature: EtherWrapperMintFeeRateUpdated(uint256 rate)
ExchangeFeeUpdated
¶
Signature: ExchangeFeeUpdated(bytes32 synthKey, uint256 newExchangeFeeRate)
FeePeriodDurationUpdated
¶
Signature: FeePeriodDurationUpdated(uint256 newFeePeriodDuration)
IssuanceRatioUpdated
¶
Signature: IssuanceRatioUpdated(uint256 newRatio)
LiquidationDelayUpdated
¶
Signature: LiquidationDelayUpdated(uint256 newDelay)
LiquidationPenaltyUpdated
¶
Signature: LiquidationPenaltyUpdated(uint256 newPenalty)
LiquidationRatioUpdated
¶
Signature: LiquidationRatioUpdated(uint256 newRatio)
MinimumStakeTimeUpdated
¶
Signature: MinimumStakeTimeUpdated(uint256 minimumStakeTime)
PriceDeviationThresholdUpdated
¶
Signature: PriceDeviationThresholdUpdated(uint256 threshold)
RateStalePeriodUpdated
¶
Signature: RateStalePeriodUpdated(uint256 rateStalePeriod)
TargetThresholdUpdated
¶
Signature: TargetThresholdUpdated(uint256 newTargetThreshold)
TradingRewardsEnabled
¶
Signature: TradingRewardsEnabled(bool enabled)
WaitingPeriodSecsUpdated
¶
Signature: WaitingPeriodSecsUpdated(uint256 waitingPeriodSecs)