Name | Lookup | Parameters | |
---|---|---|---|
initialize_asset | c801 | 6 | |
update_asset_prices | c802 | 7 | |
delete_asset | c803 | 4 | |
schedule_xcmp_task | c804 | 13 | |
schedule_xcmp_task_through_proxy | c805 | 14 | |
cancel_task | c806 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
TaskScheduled | c800 | ["AccountOf","TaskId","Option<AccountOf>"] | |
TaskTriggered | c801 | ["AccountOf","TaskId","TaskCondition"] | |
TaskExecuted | c802 | ["AccountOf","TaskId"] | |
TaskExecutionFailed | c803 | ["AccountOf","TaskId","DispatchError"] | |
TaskCompleted | c804 | ["AccountOf","TaskId"] | |
TaskCancelled | c805 | ["AccountOf","TaskId"] | |
TaskNotFound | c806 | ["AccountOf","TaskId"] | |
TaskExpired | c807 | ["AccountOf","TaskId","TaskCondition"] | |
TaskSweep | c808 | ["AccountOf","TaskId","TaskCondition"] | |
PriceAlreadyMoved | c809 | ["AccountOf","TaskId","TaskCondition"] | |
AssetCreated | c80a | ["ChainName","Exchange","AssetName","AssetName","u8"] | |
AssetUpdated | c80b | ["AccountOf","ChainName","Exchange","AssetName","AssetName","u128"] | |
AssetDeleted | c80c | ["ChainName","Exchange","AssetName","AssetName"] |
Name | Type | |
---|---|---|
AssetRegistry | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat","Twox64Concat"],"key_vec":["Vec<U8>","Vec<U8>","Tuple:Vec<U8>Vec<U8>"],"value":"pallet_automation_price:pallet:RegistryInfo","keys_id":502,"value_id":503}} | |
PriceRegistry | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat","Twox64Concat"],"key_vec":["Vec<U8>","Vec<U8>","Tuple:Vec<U8>Vec<U8>"],"value":"pallet_automation_price:pallet:PriceData","keys_id":502,"value_id":504}} | |
SortedTasksIndex | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat","Twox64Concat","Twox64Concat"],"key_vec":["Vec<U8>","Vec<U8>","Tuple:Vec<U8>Vec<U8>","Vec<U8>"],"value":"Vec<Tuple:U128Vec<Tuple:AccountIdVec<U8>>>","keys_id":505,"value_id":506}} | |
SortedTasksByExpiration | {"origin":"PlainType","plain_type":"Vec<Tuple:U128BTreeMap@510>","PlainTypeValue":509} | |
Tasks | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"pallet_automation_price:pallet:Task","keys_id":491,"value_id":515}} | |
TaskStats | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["pallet_automation_price:types:StatType"],"value":"U64","keys_id":517,"value_id":11}} | |
AccountStats | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","pallet_automation_price:types:StatType"],"value":"U64","keys_id":518,"value_id":11}} | |
TaskQueue | {"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdVec<U8>>","PlainTypeValue":490} | |
Shutdown | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":64} |
Name | Type | Value | |
---|---|---|---|
MaxTasksPerSlot | U32 | 01000000 | |
MaxTasksPerAccount | U32 | 20000000 | |
MaxTasksOverall | U32 | 00400000 | |
MaxBlockWeight | U64 | 0088526a74000000 | |
MaxWeightPercentage | U32 | 80f0fa02 | |
ExecutionWeightFee | U128 | 0c000000000000000000000000000000 |
Name | Docs |
---|---|
InvalidTaskId | |
DuplicateTask | Duplicate task |
AssetNotSupported | Non existent asset |
AssetNotInitialized | |
AssetAlreadySupported | Asset already supported |
AssetAlreadyInitialized | |
InvalidAssetSudo | Asset cannot be updated by this account |
OracleNotAuthorized | |
AssetNotInTriggerableRange | Asset must be in triggerable range. |
AssetUpdatePayloadMalform | |
BlockTimeNotSet | Block Time not set |
InvalidAssetExpirationWindow | Invalid Expiration Window for new asset |
MaxTasksReached | Maximum tasks reached for the slot |
MaxTasksPerAccountReached | Maximum tasks reached for a given account |
TaskInsertionFailure | Failed to insert task |
TaskRemoveFailure | Failed to remove task |
TaskNotFound | Task Not Found When canceling |
InvalidTaskExpiredAt | Error when setting task expired less than the current block time |
TaskExpiredStorageFailedToUpdate | Error when failed to update task expiration storage |
InsufficientBalance | Insufficient Balance |
LiquidityRestrictions | Restrictions on Liquidity in Account |
AssetLimitReached | Too Many Assets Created |
FeePaymentError | |
CannotReanchor | |
UnsupportedFeePayment | |
BadVersion | The version of the `VersionedMultiLocation` value used is not ableto be interpreted. |