Name | Lookup | Parameters | |
|---|---|---|---|
| liquidate | 7c00 | 2 | |
| settle | 7c01 | 2 | |
| set_collateral_params | 7c02 | 6 | |
| register_liquidation_contract | 7c03 | 1 | |
| deregister_liquidation_contract | 7c04 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| LiquidateUnsafeCDP | 7c00 | ["CurrencyId","AccountId","Balance","Balance","Balance"] | |
| SettleCDPInDebit | 7c01 | ["CurrencyId","AccountId"] | |
| CloseCDPInDebitByDEX | 7c02 | ["CurrencyId","AccountId","Balance","Balance","Balance"] | |
| InterestRatePerSecUpdated | 7c03 | ["CurrencyId","Option<Rate>"] | |
| LiquidationRatioUpdated | 7c04 | ["CurrencyId","Option<Ratio>"] | |
| LiquidationPenaltyUpdated | 7c05 | ["CurrencyId","Option<Rate>"] | |
| RequiredCollateralRatioUpdated | 7c06 | ["CurrencyId","Option<Ratio>"] | |
| MaximumTotalDebitValueUpdated | 7c07 | ["CurrencyId","Balance"] | |
| LiquidationContractRegistered | 7c08 | ["EvmAddress"] | |
| LiquidationContractDeregistered | 7c09 | ["EvmAddress"] |
Name | Type | |
|---|---|---|
| DebitExchangeRate | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"U128","keys_id":43,"value_id":53}} | |
| CollateralParams | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["acala_primitives:currency:CurrencyId"],"value":"module_cdp_engine:RiskManagementParams","keys_id":43,"value_id":556}} | |
| LastAccumulationSecs | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":11} | |
| LiquidationContracts | {"origin":"PlainType","plain_type":"Vec<H160>","PlainTypeValue":559} |
Name | Type | Value | |
|---|---|---|---|
| DefaultLiquidationRatio | U128 | 0000ee042cfc430f0000000000000000 | |
| DefaultDebitExchangeRate | U128 | 00008a5d784563010000000000000000 | |
| DefaultLiquidationPenalty | U128 | 0000c52ebca2b1000000000000000000 | |
| MinimumDebitValue | U128 | 0010a5d4e80000000000000000000000 | |
| GetStableCurrencyId | acala_primitives:currency:CurrencyId | 0001 | |
| MaxSwapSlippageCompareToOracle | U128 | 00008a5d784563010000000000000000 | |
| UnsignedPriority | U64 | 18ecab75a40d0000 | |
| MaxLiquidationContractSlippage | U128 | 00004f8c34e814020000000000000000 | |
| MaxLiquidationContracts | U32 | 0a000000 | |
| PalletId | [U8; 8] | 6163612f63647065 |
Name | Docs |
|---|---|
| ExceedDebitValueHardCap | |
| BelowRequiredCollateralRatio | |
| BelowLiquidationRatio | |
| MustBeUnsafe | |
| MustBeSafe | |
| InvalidCollateralType | |
| RemainDebitValueTooSmall | |
| CollateralAmountBelowMinimum | |
| InvalidFeedPrice | |
| NoDebitValue | |
| AlreadyShutdown | |
| MustAfterShutdown | |
| CollateralNotEnough | |
| NotEnoughDebitDecrement | |
| ConvertDebitBalanceFailed | |
| LiquidationFailed | |
| TooManyLiquidationContracts | |
| CollateralContractNotFound | |
| InvalidRate |