Name | Lookup | Parameters | |
---|---|---|---|
liquidate | 6800 | 2 | |
settle | 6801 | 2 | |
set_global_params | 6802 | 1 | |
set_collateral_params | 6803 | 6 |
Name | Lookup | Attributes | |
---|---|---|---|
LiquidateUnsafeCDP | 6800 | ||
SettleCDPInDebit | 6801 | ||
CloseCDPInDebitByDEX | 6802 | ||
InterestRatePerSecUpdated | 6803 | ||
LiquidationRatioUpdated | 6804 | ||
LiquidationPenaltyUpdated | 6805 | ||
RequiredCollateralRatioUpdated | 6806 | ||
MaximumTotalDebitValueUpdated | 6807 | ||
GlobalInterestRatePerSecUpdated | 6808 |
Name | Type | |
---|---|---|
DebitExchangeRate | {"origin":"MapType","map_type":{"key":"CurrencyId","hasher":"Twox64Concat","value":"ExchangeRate","isLinked":false}} | |
GlobalInterestRatePerSec | {"origin":"PlainType","plain_type":"Rate"} | |
CollateralParams | {"origin":"MapType","map_type":{"key":"CurrencyId","hasher":"Twox64Concat","value":"RiskManagementParams","isLinked":false}} | |
LastAccumulationSecs | {"origin":"PlainType","plain_type":"u64"} |
Name | Type | Value | |
---|---|---|---|
CollateralCurrencyIds | Vec<CurrencyId> | 0x0800820083 | |
DefaultLiquidationRatio | Ratio | 0x0000167b0d12d1140000000000000000 | |
DefaultDebitExchangeRate | ExchangeRate | 0x00008a5d784563010000000000000000 | |
DefaultLiquidationPenalty | Rate | 0x0000087e93371c010000000000000000 | |
MinimumDebitValue | Balance | 0x0040e59c301200000000000000000000 | |
GetStableCurrencyId | CurrencyId | 0x0081 | |
MaxSwapSlippageCompareToOracle | Ratio | 0x00004f8c34e814020000000000000000 | |
UnsignedPriority | TransactionPriority | 0xffffffffffffff7f | |
DefaultSwapParitalPathList | Vec<Vec<CurrencyId>> | 0x080400810800820081 |
Name | Docs |
---|---|
ExceedDebitValueHardCap | The total debit value of specific collateral type already exceed the hard cap |
BelowRequiredCollateralRatio | The collateral ratio below the required collateral ratio |
BelowLiquidationRatio | The collateral ratio below the liquidation ratio |
MustBeUnsafe | The CDP must be unsafe status |
MustBeSafe | The CDP must be safe status |
InvalidCollateralType | Invalid collateral type |
RemainDebitValueTooSmall | Remain debit value in CDP below the dust amount |
InvalidFeedPrice | Feed price is invalid |
NoDebitValue | No debit value in CDP so that it cannot be settled |
AlreadyShutdown | System has already been shutdown |
MustAfterShutdown | Must after system shutdown |
SwapDebitFailed | Failed to swap debit by default path list |