forked from ArtemKolodko/synthetix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ISystemSettings.sol
71 lines (38 loc) · 2.49 KB
/
ISystemSettings.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
pragma solidity >=0.4.24;
// https://docs.synthetix.io/contracts/source/interfaces/isystemsettings
interface ISystemSettings {
// Views
function waitingPeriodSecs() external view returns (uint);
function priceDeviationThresholdFactor() external view returns (uint);
function issuanceRatio() external view returns (uint);
function feePeriodDuration() external view returns (uint);
function targetThreshold() external view returns (uint);
function liquidationDelay() external view returns (uint);
function liquidationRatio() external view returns (uint);
function liquidationEscrowDuration() external view returns (uint);
function liquidationPenalty() external view returns (uint);
function snxLiquidationPenalty() external view returns (uint);
function selfLiquidationPenalty() external view returns (uint);
function flagReward() external view returns (uint);
function liquidateReward() external view returns (uint);
function rateStalePeriod() external view returns (uint);
function exchangeFeeRate(bytes32 currencyKey) external view returns (uint);
function minimumStakeTime() external view returns (uint);
function debtSnapshotStaleTime() external view returns (uint);
function aggregatorWarningFlags() external view returns (address);
function tradingRewardsEnabled() external view returns (bool);
function wrapperMaxTokenAmount(address wrapper) external view returns (uint);
function wrapperMintFeeRate(address wrapper) external view returns (int);
function wrapperBurnFeeRate(address wrapper) external view returns (int);
function etherWrapperMaxETH() external view returns (uint);
function etherWrapperBurnFeeRate() external view returns (uint);
function etherWrapperMintFeeRate() external view returns (uint);
function interactionDelay(address collateral) external view returns (uint);
function atomicMaxVolumePerBlock() external view returns (uint);
function atomicTwapWindow() external view returns (uint);
function atomicEquivalentForDexPricing(bytes32 currencyKey) external view returns (address);
function atomicExchangeFeeRate(bytes32 currencyKey) external view returns (uint);
function atomicVolatilityConsiderationWindow(bytes32 currencyKey) external view returns (uint);
function atomicVolatilityUpdateThreshold(bytes32 currencyKey) external view returns (uint);
function pureChainlinkPriceForAtomicSwapsEnabled(bytes32 currencyKey) external view returns (bool);
}