Name | Lookup | Parameters | |
|---|---|---|---|
| set_trade_volume_limit | 4100 | 2 | |
| set_add_liquidity_limit | 4101 | 2 | |
| set_remove_liquidity_limit | 4102 | 2 | |
| lockdown_asset | 4103 | 2 | |
| force_lift_lockdown | 4104 | 1 | |
| release_deposit | 4105 | 2 | |
| set_global_withdraw_limit_params | 4106 | 1 | |
| reset_withdraw_lockdown | 4107 | - | |
| add_egress_accounts | 4108 | 1 | |
| remove_egress_accounts | 4109 | 1 | |
| set_global_withdraw_lockdown | 410a | 1 | |
| set_asset_category | 410b | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| TradeVolumeLimitChanged | 4100 | ["AssetId","(u32, u32)"] | |
| AddLiquidityLimitChanged | 4101 | ["AssetId","Option<(u32, u32)>"] | |
| RemoveLiquidityLimitChanged | 4102 | ["AssetId","Option<(u32, u32)>"] | |
| AssetLockdown | 4103 | ["AssetId","BlockNumberFor"] | |
| AssetLockdownRemoved | 4104 | ["AssetId"] | |
| DepositReleased | 4105 | ["AccountId","AssetId"] | |
| WithdrawLockdownLifted | 4106 | ||
| WithdrawLockdownReset | 4107 | ||
| WithdrawLimitConfigUpdated | 4108 | ["Balance","primitives::Moment"] | |
| WithdrawLockdownTriggered | 4109 | ["primitives::Moment"] | |
| EgressAccountsAdded | 410a | ["u32"] | |
| EgressAccountsRemoved | 410b | ["u32"] | |
| AssetCategoryUpdated | 410c | ["AssetId","Option<GlobalAssetCategory>"] |
Name | Type | |
|---|---|---|
| TradeVolumeLimitPerAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"Tuple:U32U32","keys_id":4,"value_id":209}} | |
| AllowedTradeVolumeLimitPerAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_circuit_breaker:TradeVolumeLimit","keys_id":4,"value_id":727}} | |
| LiquidityAddLimitPerAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"option<Tuple:U32U32>","keys_id":4,"value_id":219}} | |
| AllowedAddLiquidityAmountPerAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_circuit_breaker:LiquidityLimit","keys_id":4,"value_id":728}} | |
| AssetLockdownState | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_circuit_breaker:types:LockdownStatus","keys_id":4,"value_id":729}} | |
| LiquidityRemoveLimitPerAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"option<Tuple:U32U32>","keys_id":4,"value_id":219}} | |
| AllowedRemoveLiquidityAmountPerAsset | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_circuit_breaker:LiquidityLimit","keys_id":4,"value_id":728}} | |
| GlobalWithdrawLimitConfig | {"origin":"PlainType","plain_type":"pallet_circuit_breaker:types:GlobalWithdrawLimitParameters","PlainTypeValue":220} | |
| WithdrawLimitAccumulator | {"origin":"PlainType","plain_type":"Tuple:U128U64","PlainTypeValue":730} | |
| WithdrawLockdownUntil | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":12} | |
| EgressAccounts | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":37}} | |
| IgnoreWithdrawLimit | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":8} | |
| GlobalAssetOverrides | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_circuit_breaker:pallet:GlobalAssetCategory","keys_id":4,"value_id":222}} | |
| XcmEgressBuffer | {"origin":"PlainType","plain_type":"Tuple:U128U128","PlainTypeValue":198} |
Name | Type | Value | |
|---|---|---|---|
| DefaultMaxNetTradeVolumeLimitPerBlock | Tuple:U32U32 | 8813000010270000 | |
| DefaultMaxAddLiquidityLimitPerBlock | option<Tuple:U32U32> | 01f401000010270000 | |
| DefaultMaxRemoveLiquidityLimitPerBlock | option<Tuple:U32U32> | 01f401000010270000 |
Name | Docs |
|---|---|
| InvalidLimitValue | Invalid value for a limit. Limit must be non-zero. |
| LiquidityLimitNotStoredForAsset | Allowed liquidity limit is not stored for asset |
| TokenOutflowLimitReached | Token trade outflow per block has been reached |
| TokenInfluxLimitReached | Token trade influx per block has been reached |
| MaxLiquidityLimitPerBlockReached | Maximum pool's liquidity limit per block has been reached |
| NotAllowed | Asset is not allowed to have a limit |
| AssetInLockdown | Asset still in lockdown as it reached the allowed deposit limit for the periodQuery the `asset_lockdown_state` storage to determine until which block the asset is locked,so that the deposit can be released afterward. |
| AssetNotInLockdown | Asset is not in a lockdown |
| InvalidAmount | Invalid amount to save deposit |
| DepositLimitExceededForWhitelistedAccount | Deposit limit would be exceeded for a whitelisted account.Operation rejected to prevent funds being locked on system accounts. |
| WithdrawLockdownActive | Global lockdown is active and withdrawals that participate in the global limit are blocked. |
| GlobalWithdrawLimitExceeded | Applying the increment would exceed the configured global limit -> lockdown is triggered and operation fails. |
| FailedToConvertAsset | Asset to withdraw cannot be converted to reference currency. |