Turing
subscan
Runtime Modules / AutomationPrice
Spec Version:
Events
Name
Lookup
Attributes
TaskScheduledc800["AccountOf","TaskId","Option<AccountOf>"]
TaskTriggeredc801["AccountOf","TaskId","TaskCondition"]
TaskExecutedc802["AccountOf","TaskId"]
TaskExecutionFailedc803["AccountOf","TaskId","DispatchError"]
TaskCompletedc804["AccountOf","TaskId"]
TaskCancelledc805["AccountOf","TaskId"]
TaskNotFoundc806["AccountOf","TaskId"]
TaskExpiredc807["AccountOf","TaskId","TaskCondition"]
TaskSweepc808["AccountOf","TaskId","TaskCondition"]
PriceAlreadyMovedc809["AccountOf","TaskId","TaskCondition"]
AssetCreatedc80a["ChainName","Exchange","AssetName","AssetName","u8"]
AssetUpdatedc80b["AccountOf","ChainName","Exchange","AssetName","AssetName","u128"]
AssetDeletedc80c["ChainName","Exchange","AssetName","AssetName"]
Storage Functions
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}
Constants
Name
Type
Value
MaxTasksPerSlotU3201000000
MaxTasksPerAccountU3220000000
MaxTasksOverallU3200400000
MaxBlockWeightU640088526a74000000
MaxWeightPercentageU3280f0fa02
ExecutionWeightFeeU1280c000000000000000000000000000000
Error Types
Name
Docs
InvalidTaskId
DuplicateTaskDuplicate task
AssetNotSupportedNon existent asset
AssetNotInitialized
AssetAlreadySupportedAsset already supported
AssetAlreadyInitialized
InvalidAssetSudoAsset cannot be updated by this account
OracleNotAuthorized
AssetNotInTriggerableRangeAsset must be in triggerable range.
AssetUpdatePayloadMalform
BlockTimeNotSetBlock Time not set
InvalidAssetExpirationWindowInvalid Expiration Window for new asset
MaxTasksReachedMaximum tasks reached for the slot
MaxTasksPerAccountReachedMaximum tasks reached for a given account
TaskInsertionFailureFailed to insert task
TaskRemoveFailureFailed to remove task
TaskNotFoundTask Not Found When canceling
InvalidTaskExpiredAtError when setting task expired less than the current block time
TaskExpiredStorageFailedToUpdateError when failed to update task expiration storage
InsufficientBalanceInsufficient Balance
LiquidityRestrictionsRestrictions on Liquidity in Account
AssetLimitReachedToo Many Assets Created
FeePaymentError
CannotReanchor
UnsupportedFeePayment
BadVersionThe version of the `VersionedMultiLocation` value used is not ableto be interpreted.