diff --git a/crates/extrinsics/src/runtime_api/invalid_metadata.json b/crates/extrinsics/src/runtime_api/invalid_metadata.json new file mode 100644 index 000000000..8531d48d8 --- /dev/null +++ b/crates/extrinsics/src/runtime_api/invalid_metadata.json @@ -0,0 +1,14713 @@ +[ + 1635018093, + { + "V15": { + "types": { + "types": [ + { + "id": 0, + "type": { + "path": [ + "sp_core", + "crypto", + "AccountId32" + ], + "def": { + "composite": { + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ] + } + } + } + }, + { + "id": 1, + "type": { + "def": { + "array": { + "len": 32, + "type": 2 + } + } + } + }, + { + "id": 2, + "type": { + "def": { + "primitive": "u8" + } + } + }, + { + "id": 3, + "type": { + "path": [ + "frame_system", + "AccountInfo" + ], + "params": [ + { + "name": "Nonce", + "type": 4 + }, + { + "name": "AccountData", + "type": 5 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "nonce", + "type": 4, + "typeName": "Nonce" + }, + { + "name": "consumers", + "type": 4, + "typeName": "RefCount" + }, + { + "name": "providers", + "type": 4, + "typeName": "RefCount" + }, + { + "name": "sufficients", + "type": 4, + "typeName": "RefCount" + }, + { + "name": "data", + "type": 5, + "typeName": "AccountData" + } + ] + } + } + } + }, + { + "id": 4, + "type": { + "def": { + "primitive": "u32" + } + } + }, + { + "id": 5, + "type": { + "path": [ + "pallet_balances", + "types", + "AccountData" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "free", + "type": 6, + "typeName": "Balance" + }, + { + "name": "reserved", + "type": 6, + "typeName": "Balance" + }, + { + "name": "frozen", + "type": 6, + "typeName": "Balance" + }, + { + "name": "flags", + "type": 7, + "typeName": "ExtraFlags" + } + ] + } + } + } + }, + { + "id": 6, + "type": { + "def": { + "primitive": "u128" + } + } + }, + { + "id": 7, + "type": { + "path": [ + "pallet_balances", + "types", + "ExtraFlags" + ], + "def": { + "composite": { + "fields": [ + { + "type": 6, + "typeName": "u128" + } + ] + } + } + } + }, + { + "id": 8, + "type": { + "path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "params": [ + { + "name": "T", + "type": 9 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "normal", + "type": 9, + "typeName": "T" + }, + { + "name": "operational", + "type": 9, + "typeName": "T" + }, + { + "name": "mandatory", + "type": 9, + "typeName": "T" + } + ] + } + } + } + }, + { + "id": 9, + "type": { + "path": [ + "sp_weights", + "weight_v2", + "Weight" + ], + "def": { + "composite": { + "fields": [ + { + "name": "ref_time", + "type": 10, + "typeName": "u64" + }, + { + "name": "proof_size", + "type": 10, + "typeName": "u64" + } + ] + } + } + } + }, + { + "id": 10, + "type": { + "def": { + "compact": { + "type": 11 + } + } + } + }, + { + "id": 11, + "type": { + "def": { + "primitive": "u64" + } + } + }, + { + "id": 12, + "type": { + "path": [ + "primitive_types", + "H256" + ], + "def": { + "composite": { + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ] + } + } + } + }, + { + "id": 13, + "type": { + "def": { + "sequence": { + "type": 2 + } + } + } + }, + { + "id": 14, + "type": { + "path": [ + "sp_runtime", + "generic", + "digest", + "Digest" + ], + "def": { + "composite": { + "fields": [ + { + "name": "logs", + "type": 15, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 15, + "type": { + "def": { + "sequence": { + "type": 16 + } + } + } + }, + { + "id": 16, + "type": { + "path": [ + "sp_runtime", + "generic", + "digest", + "DigestItem" + ], + "def": { + "variant": { + "variants": [ + { + "name": "PreRuntime", + "fields": [ + { + "type": 17, + "typeName": "ConsensusEngineId" + }, + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 6 + }, + { + "name": "Consensus", + "fields": [ + { + "type": 17, + "typeName": "ConsensusEngineId" + }, + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 4 + }, + { + "name": "Seal", + "fields": [ + { + "type": 17, + "typeName": "ConsensusEngineId" + }, + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 5 + }, + { + "name": "Other", + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 0 + }, + { + "name": "RuntimeEnvironmentUpdated", + "index": 8 + } + ] + } + } + } + }, + { + "id": 17, + "type": { + "def": { + "array": { + "len": 4, + "type": 2 + } + } + } + }, + { + "id": 18, + "type": { + "def": { + "sequence": { + "type": 19 + } + } + } + }, + { + "id": 19, + "type": { + "path": [ + "frame_system", + "EventRecord" + ], + "params": [ + { + "name": "E", + "type": 20 + }, + { + "name": "T", + "type": 12 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "phase", + "type": 43, + "typeName": "Phase" + }, + { + "name": "event", + "type": 20, + "typeName": "E" + }, + { + "name": "topics", + "type": 44, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 20, + "type": { + "path": [ + "contracts_node_runtime", + "RuntimeEvent" + ], + "def": { + "variant": { + "variants": [ + { + "name": "System", + "fields": [ + { + "type": 21, + "typeName": "frame_system::Event" + } + ], + "index": 0 + }, + { + "name": "Utility", + "fields": [ + { + "type": 30, + "typeName": "pallet_utility::Event" + } + ], + "index": 2 + }, + { + "name": "Balances", + "fields": [ + { + "type": 33, + "typeName": "pallet_balances::Event" + } + ], + "index": 4 + }, + { + "name": "TransactionPayment", + "fields": [ + { + "type": 35, + "typeName": "pallet_transaction_payment::Event" + } + ], + "index": 6 + }, + { + "name": "Sudo", + "fields": [ + { + "type": 36, + "typeName": "pallet_sudo::Event" + } + ], + "index": 7 + }, + { + "name": "Contracts", + "fields": [ + { + "type": 38, + "typeName": "pallet_contracts::Event" + } + ], + "index": 8 + }, + { + "name": "Assets", + "fields": [ + { + "type": 41, + "typeName": "pallet_assets::Event" + } + ], + "index": 9 + } + ] + } + } + } + }, + { + "id": 21, + "type": { + "path": [ + "frame_system", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "ExtrinsicSuccess", + "fields": [ + { + "name": "dispatch_info", + "type": 22, + "typeName": "DispatchInfo" + } + ], + "index": 0, + "docs": [ + "An extrinsic completed successfully." + ] + }, + { + "name": "ExtrinsicFailed", + "fields": [ + { + "name": "dispatch_error", + "type": 25, + "typeName": "DispatchError" + }, + { + "name": "dispatch_info", + "type": 22, + "typeName": "DispatchInfo" + } + ], + "index": 1, + "docs": [ + "An extrinsic failed." + ] + }, + { + "name": "CodeUpdated", + "index": 2, + "docs": [ + "`:code` was updated." + ] + }, + { + "name": "NewAccount", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 3, + "docs": [ + "A new account was created." + ] + }, + { + "name": "KilledAccount", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 4, + "docs": [ + "An account was reaped." + ] + }, + { + "name": "Remarked", + "fields": [ + { + "name": "sender", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 5, + "docs": [ + "On on-chain remark happened." + ] + } + ] + } + }, + "docs": [ + "Event for the System pallet." + ] + } + }, + { + "id": 22, + "type": { + "path": [ + "frame_support", + "dispatch", + "DispatchInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "weight", + "type": 9, + "typeName": "Weight" + }, + { + "name": "class", + "type": 23, + "typeName": "DispatchClass" + }, + { + "name": "pays_fee", + "type": 24, + "typeName": "Pays" + } + ] + } + } + } + }, + { + "id": 23, + "type": { + "path": [ + "frame_support", + "dispatch", + "DispatchClass" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Normal", + "index": 0 + }, + { + "name": "Operational", + "index": 1 + }, + { + "name": "Mandatory", + "index": 2 + } + ] + } + } + } + }, + { + "id": 24, + "type": { + "path": [ + "frame_support", + "dispatch", + "Pays" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Yes", + "index": 0 + }, + { + "name": "No", + "index": 1 + } + ] + } + } + } + }, + { + "id": 25, + "type": { + "path": [ + "sp_runtime", + "DispatchError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Other", + "index": 0 + }, + { + "name": "CannotLookup", + "index": 1 + }, + { + "name": "BadOrigin", + "index": 2 + }, + { + "name": "Module", + "fields": [ + { + "type": 26, + "typeName": "ModuleError" + } + ], + "index": 3 + }, + { + "name": "ConsumerRemaining", + "index": 4 + }, + { + "name": "NoProviders", + "index": 5 + }, + { + "name": "TooManyConsumers", + "index": 6 + }, + { + "name": "Token", + "fields": [ + { + "type": 27, + "typeName": "TokenError" + } + ], + "index": 7 + }, + { + "name": "Arithmetic", + "fields": [ + { + "type": 28, + "typeName": "ArithmeticError" + } + ], + "index": 8 + }, + { + "name": "Transactional", + "fields": [ + { + "type": 29, + "typeName": "TransactionalError" + } + ], + "index": 9 + }, + { + "name": "Exhausted", + "index": 10 + }, + { + "name": "Corruption", + "index": 11 + }, + { + "name": "Unavailable", + "index": 12 + }, + { + "name": "RootNotAllowed", + "index": 13 + } + ] + } + } + } + }, + { + "id": 26, + "type": { + "path": [ + "sp_runtime", + "ModuleError" + ], + "def": { + "composite": { + "fields": [ + { + "name": "index", + "type": 2, + "typeName": "u8" + }, + { + "name": "error", + "type": 17, + "typeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]" + } + ] + } + } + } + }, + { + "id": 27, + "type": { + "path": [ + "sp_runtime", + "TokenError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "FundsUnavailable", + "index": 0 + }, + { + "name": "OnlyProvider", + "index": 1 + }, + { + "name": "BelowMinimum", + "index": 2 + }, + { + "name": "CannotCreate", + "index": 3 + }, + { + "name": "UnknownAsset", + "index": 4 + }, + { + "name": "Frozen", + "index": 5 + }, + { + "name": "Unsupported", + "index": 6 + }, + { + "name": "CannotCreateHold", + "index": 7 + }, + { + "name": "NotExpendable", + "index": 8 + }, + { + "name": "Blocked", + "index": 9 + } + ] + } + } + } + }, + { + "id": 28, + "type": { + "path": [ + "sp_arithmetic", + "ArithmeticError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Underflow", + "index": 0 + }, + { + "name": "Overflow", + "index": 1 + }, + { + "name": "DivisionByZero", + "index": 2 + } + ] + } + } + } + }, + { + "id": 29, + "type": { + "path": [ + "sp_runtime", + "TransactionalError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "LimitReached", + "index": 0 + }, + { + "name": "NoLayer", + "index": 1 + } + ] + } + } + } + }, + { + "id": 30, + "type": { + "path": [ + "pallet_utility", + "pallet", + "Event" + ], + "def": { + "variant": { + "variants": [ + { + "name": "BatchInterrupted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "u32" + }, + { + "name": "error", + "type": 25, + "typeName": "DispatchError" + } + ], + "index": 0, + "docs": [ + "Batch of dispatches did not complete fully. Index of first failing dispatch given, as", + "well as the error." + ] + }, + { + "name": "BatchCompleted", + "index": 1, + "docs": [ + "Batch of dispatches completed fully with no error." + ] + }, + { + "name": "BatchCompletedWithErrors", + "index": 2, + "docs": [ + "Batch of dispatches completed but has errors." + ] + }, + { + "name": "ItemCompleted", + "index": 3, + "docs": [ + "A single item within a Batch of dispatches has completed with no error." + ] + }, + { + "name": "ItemFailed", + "fields": [ + { + "name": "error", + "type": 25, + "typeName": "DispatchError" + } + ], + "index": 4, + "docs": [ + "A single item within a Batch of dispatches has completed with error." + ] + }, + { + "name": "DispatchedAs", + "fields": [ + { + "name": "result", + "type": 31, + "typeName": "DispatchResult" + } + ], + "index": 5, + "docs": [ + "A call was dispatched." + ] + } + ] + } + }, + "docs": [ + "The `Event` enum of this pallet" + ] + } + }, + { + "id": 31, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 32 + }, + { + "name": "E", + "type": 25 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 32 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 25 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 32, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 33, + "type": { + "path": [ + "pallet_balances", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Endowed", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "free_balance", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 0, + "docs": [ + "An account was created with some free balance." + ] + }, + { + "name": "DustLost", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 1, + "docs": [ + "An account was removed whose balance was non-zero but below ExistentialDeposit,", + "resulting in an outright loss." + ] + }, + { + "name": "Transfer", + "fields": [ + { + "name": "from", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 2, + "docs": [ + "Transfer succeeded." + ] + }, + { + "name": "BalanceSet", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "free", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 3, + "docs": [ + "A balance was set by root." + ] + }, + { + "name": "Reserved", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 4, + "docs": [ + "Some balance was reserved (moved from free to reserved)." + ] + }, + { + "name": "Unreserved", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 5, + "docs": [ + "Some balance was unreserved (moved from reserved to free)." + ] + }, + { + "name": "ReserveRepatriated", + "fields": [ + { + "name": "from", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + }, + { + "name": "destination_status", + "type": 34, + "typeName": "Status" + } + ], + "index": 6, + "docs": [ + "Some balance was moved from the reserve of the first account to the second account.", + "Final argument indicates the destination balance type." + ] + }, + { + "name": "Deposit", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 7, + "docs": [ + "Some amount was deposited (e.g. for transaction fees)." + ] + }, + { + "name": "Withdraw", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 8, + "docs": [ + "Some amount was withdrawn from the account (e.g. for transaction fees)." + ] + }, + { + "name": "Slashed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 9, + "docs": [ + "Some amount was removed from the account (e.g. for misbehavior)." + ] + }, + { + "name": "Minted", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 10, + "docs": [ + "Some amount was minted into an account." + ] + }, + { + "name": "Burned", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 11, + "docs": [ + "Some amount was burned from an account." + ] + }, + { + "name": "Suspended", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 12, + "docs": [ + "Some amount was suspended from an account (it can be restored later)." + ] + }, + { + "name": "Restored", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 13, + "docs": [ + "Some amount was restored into an account." + ] + }, + { + "name": "Upgraded", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 14, + "docs": [ + "An account was upgraded." + ] + }, + { + "name": "Issued", + "fields": [ + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 15, + "docs": [ + "Total issuance was increased by `amount`, creating a credit to be balanced." + ] + }, + { + "name": "Rescinded", + "fields": [ + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 16, + "docs": [ + "Total issuance was decreased by `amount`, creating a debt to be balanced." + ] + }, + { + "name": "Locked", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 17, + "docs": [ + "Some balance was locked." + ] + }, + { + "name": "Unlocked", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 18, + "docs": [ + "Some balance was unlocked." + ] + }, + { + "name": "Frozen", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 19, + "docs": [ + "Some balance was frozen." + ] + }, + { + "name": "Thawed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 20, + "docs": [ + "Some balance was thawed." + ] + } + ] + } + }, + "docs": [ + "The `Event` enum of this pallet" + ] + } + }, + { + "id": 34, + "type": { + "path": [ + "frame_support", + "traits", + "tokens", + "misc", + "BalanceStatus" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Free", + "index": 0 + }, + { + "name": "Reserved", + "index": 1 + } + ] + } + } + } + }, + { + "id": 35, + "type": { + "path": [ + "pallet_transaction_payment", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "TransactionFeePaid", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "actual_fee", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "tip", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 0, + "docs": [ + "A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,", + "has been paid by `who`." + ] + } + ] + } + }, + "docs": [ + "The `Event` enum of this pallet" + ] + } + }, + { + "id": 36, + "type": { + "path": [ + "pallet_sudo", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Sudid", + "fields": [ + { + "name": "sudo_result", + "type": 31, + "typeName": "DispatchResult", + "docs": [ + "The result of the call made by the sudo user." + ] + } + ], + "index": 0, + "docs": [ + "A sudo call just took place." + ] + }, + { + "name": "KeyChanged", + "fields": [ + { + "name": "old_sudoer", + "type": 37, + "typeName": "Option", + "docs": [ + "The old sudo key if one was previously set." + ] + } + ], + "index": 1, + "docs": [ + "The sudo key has been updated." + ] + }, + { + "name": "SudoAsDone", + "fields": [ + { + "name": "sudo_result", + "type": 31, + "typeName": "DispatchResult", + "docs": [ + "The result of the call made by the sudo user." + ] + } + ], + "index": 2, + "docs": [ + "A [sudo_as](Pallet::sudo_as) call just took place." + ] + } + ] + } + }, + "docs": [ + "The `Event` enum of this pallet" + ] + } + }, + { + "id": 37, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 0 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 38, + "type": { + "path": [ + "pallet_contracts", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Instantiated", + "fields": [ + { + "name": "deployer", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "contract", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 0, + "docs": [ + "Contract deployed by address at the specified address." + ] + }, + { + "name": "Terminated", + "fields": [ + { + "name": "contract", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The contract that was terminated." + ] + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The account that received the contracts remaining balance" + ] + } + ], + "index": 1, + "docs": [ + "Contract has been removed.", + "", + "# Note", + "", + "The only way for a contract to be removed and emitting this event is by calling", + "`seal_terminate`." + ] + }, + { + "name": "CodeStored", + "fields": [ + { + "name": "code_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "deposit_held", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "uploader", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 2, + "docs": [ + "Code with the specified hash has been stored." + ] + }, + { + "name": "ContractEmitted", + "fields": [ + { + "name": "contract", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The contract that emitted the event." + ] + }, + { + "name": "data", + "type": 13, + "typeName": "Vec", + "docs": [ + "Data supplied by the contract. Metadata generated during contract compilation", + "is needed to decode it." + ] + } + ], + "index": 3, + "docs": [ + "A custom event emitted by the contract." + ] + }, + { + "name": "CodeRemoved", + "fields": [ + { + "name": "code_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "deposit_released", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "remover", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 4, + "docs": [ + "A code with the specified hash was removed." + ] + }, + { + "name": "ContractCodeUpdated", + "fields": [ + { + "name": "contract", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The contract that has been updated." + ] + }, + { + "name": "new_code_hash", + "type": 12, + "typeName": "T::Hash", + "docs": [ + "New code hash that was set for the contract." + ] + }, + { + "name": "old_code_hash", + "type": 12, + "typeName": "T::Hash", + "docs": [ + "Previous code hash of the contract." + ] + } + ], + "index": 5, + "docs": [ + "A contract's code was updated." + ] + }, + { + "name": "Called", + "fields": [ + { + "name": "caller", + "type": 39, + "typeName": "Origin", + "docs": [ + "The caller of the `contract`." + ] + }, + { + "name": "contract", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The contract that was called." + ] + } + ], + "index": 6, + "docs": [ + "A contract was called either by a plain account or another contract.", + "", + "# Note", + "", + "Please keep in mind that like all events this is only emitted for successful", + "calls. This is because on failure all storage changes including events are", + "rolled back." + ] + }, + { + "name": "DelegateCalled", + "fields": [ + { + "name": "contract", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The contract that performed the delegate call and hence in whose context", + "the `code_hash` is executed." + ] + }, + { + "name": "code_hash", + "type": 12, + "typeName": "CodeHash", + "docs": [ + "The code hash that was delegate called." + ] + } + ], + "index": 7, + "docs": [ + "A contract delegate called a code hash.", + "", + "# Note", + "", + "Please keep in mind that like all events this is only emitted for successful", + "calls. This is because on failure all storage changes including events are", + "rolled back." + ] + }, + { + "name": "StorageDepositTransferredAndHeld", + "fields": [ + { + "name": "from", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 8, + "docs": [ + "Some funds have been transferred and held as storage deposit." + ] + }, + { + "name": "StorageDepositTransferredAndReleased", + "fields": [ + { + "name": "from", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 9, + "docs": [ + "Some storage deposit funds have been transferred and released." + ] + } + ] + } + }, + "docs": [ + "The `Event` enum of this pallet" + ] + } + }, + { + "id": 39, + "type": { + "path": [ + "pallet_contracts", + "Origin" + ], + "params": [ + { + "name": "T", + "type": 40 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Root", + "index": 0 + }, + { + "name": "Signed", + "fields": [ + { + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 40, + "type": { + "path": [ + "contracts_node_runtime", + "Runtime" + ], + "def": { + "composite": {} + } + } + }, + { + "id": 41, + "type": { + "path": [ + "pallet_assets", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Created", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "creator", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "owner", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 0, + "docs": [ + "Some asset class was created." + ] + }, + { + "name": "Issued", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "owner", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 1, + "docs": [ + "Some assets were issued." + ] + }, + { + "name": "Transferred", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "from", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 2, + "docs": [ + "Some assets were transferred." + ] + }, + { + "name": "Burned", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "owner", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "balance", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 3, + "docs": [ + "Some assets were destroyed." + ] + }, + { + "name": "TeamChanged", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "issuer", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "admin", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "freezer", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 4, + "docs": [ + "The management team changed." + ] + }, + { + "name": "OwnerChanged", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "owner", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 5, + "docs": [ + "The owner changed." + ] + }, + { + "name": "Frozen", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 6, + "docs": [ + "Some account `who` was frozen." + ] + }, + { + "name": "Thawed", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 7, + "docs": [ + "Some account `who` was thawed." + ] + }, + { + "name": "AssetFrozen", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + } + ], + "index": 8, + "docs": [ + "Some asset `asset_id` was frozen." + ] + }, + { + "name": "AssetThawed", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + } + ], + "index": 9, + "docs": [ + "Some asset `asset_id` was thawed." + ] + }, + { + "name": "AccountsDestroyed", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "accounts_destroyed", + "type": 4, + "typeName": "u32" + }, + { + "name": "accounts_remaining", + "type": 4, + "typeName": "u32" + } + ], + "index": 10, + "docs": [ + "Accounts were destroyed for given asset." + ] + }, + { + "name": "ApprovalsDestroyed", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "approvals_destroyed", + "type": 4, + "typeName": "u32" + }, + { + "name": "approvals_remaining", + "type": 4, + "typeName": "u32" + } + ], + "index": 11, + "docs": [ + "Approvals were destroyed for given asset." + ] + }, + { + "name": "DestructionStarted", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + } + ], + "index": 12, + "docs": [ + "An asset class is in the process of being destroyed." + ] + }, + { + "name": "Destroyed", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + } + ], + "index": 13, + "docs": [ + "An asset class was destroyed." + ] + }, + { + "name": "ForceCreated", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "owner", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 14, + "docs": [ + "Some asset class was force-created." + ] + }, + { + "name": "MetadataSet", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "symbol", + "type": 13, + "typeName": "Vec" + }, + { + "name": "decimals", + "type": 2, + "typeName": "u8" + }, + { + "name": "is_frozen", + "type": 42, + "typeName": "bool" + } + ], + "index": 15, + "docs": [ + "New metadata has been set for an asset." + ] + }, + { + "name": "MetadataCleared", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + } + ], + "index": 16, + "docs": [ + "Metadata has been cleared for an asset." + ] + }, + { + "name": "ApprovedTransfer", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "source", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "delegate", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 17, + "docs": [ + "(Additional) funds have been approved for transfer to a destination account." + ] + }, + { + "name": "ApprovalCancelled", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "owner", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "delegate", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 18, + "docs": [ + "An approval for account `delegate` was cancelled by `owner`." + ] + }, + { + "name": "TransferredApproved", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "owner", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "delegate", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "destination", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 19, + "docs": [ + "An `amount` was transferred in its entirety from `owner` to `destination` by", + "the approved `delegate`." + ] + }, + { + "name": "AssetStatusChanged", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + } + ], + "index": 20, + "docs": [ + "An asset has had its attributes changed by the `Force` origin." + ] + }, + { + "name": "AssetMinBalanceChanged", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "new_min_balance", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 21, + "docs": [ + "The min_balance of an asset has been updated by the asset owner." + ] + }, + { + "name": "Touched", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "depositor", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 22, + "docs": [ + "Some account `who` was created with a deposit from `depositor`." + ] + }, + { + "name": "Blocked", + "fields": [ + { + "name": "asset_id", + "type": 4, + "typeName": "T::AssetId" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 23, + "docs": [ + "Some account `who` was blocked." + ] + } + ] + } + }, + "docs": [ + "The `Event` enum of this pallet" + ] + } + }, + { + "id": 42, + "type": { + "def": { + "primitive": "bool" + } + } + }, + { + "id": 43, + "type": { + "path": [ + "frame_system", + "Phase" + ], + "def": { + "variant": { + "variants": [ + { + "name": "ApplyExtrinsic", + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ], + "index": 0 + }, + { + "name": "Finalization", + "index": 1 + }, + { + "name": "Initialization", + "index": 2 + } + ] + } + } + } + }, + { + "id": 44, + "type": { + "def": { + "sequence": { + "type": 12 + } + } + } + }, + { + "id": 45, + "type": { + "def": { + "sequence": { + "type": 46 + } + } + } + }, + { + "id": 46, + "type": { + "def": { + "tuple": [ + 4, + 4 + ] + } + } + }, + { + "id": 47, + "type": { + "path": [ + "frame_system", + "LastRuntimeUpgradeInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "spec_version", + "type": 48, + "typeName": "codec::Compact" + }, + { + "name": "spec_name", + "type": 49, + "typeName": "sp_runtime::RuntimeString" + } + ] + } + } + } + }, + { + "id": 48, + "type": { + "def": { + "compact": { + "type": 4 + } + } + } + }, + { + "id": 49, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 50, + "type": { + "path": [ + "frame_system", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "remark", + "fields": [ + { + "name": "remark", + "type": 13, + "typeName": "Vec" + } + ], + "index": 0, + "docs": [ + "See [`Pallet::remark`]." + ] + }, + { + "name": "set_heap_pages", + "fields": [ + { + "name": "pages", + "type": 11, + "typeName": "u64" + } + ], + "index": 1, + "docs": [ + "See [`Pallet::set_heap_pages`]." + ] + }, + { + "name": "set_code", + "fields": [ + { + "name": "code", + "type": 13, + "typeName": "Vec" + } + ], + "index": 2, + "docs": [ + "See [`Pallet::set_code`]." + ] + }, + { + "name": "set_code_without_checks", + "fields": [ + { + "name": "code", + "type": 13, + "typeName": "Vec" + } + ], + "index": 3, + "docs": [ + "See [`Pallet::set_code_without_checks`]." + ] + }, + { + "name": "set_storage", + "fields": [ + { + "name": "items", + "type": 51, + "typeName": "Vec" + } + ], + "index": 4, + "docs": [ + "See [`Pallet::set_storage`]." + ] + }, + { + "name": "kill_storage", + "fields": [ + { + "name": "keys", + "type": 53, + "typeName": "Vec" + } + ], + "index": 5, + "docs": [ + "See [`Pallet::kill_storage`]." + ] + }, + { + "name": "kill_prefix", + "fields": [ + { + "name": "prefix", + "type": 13, + "typeName": "Key" + }, + { + "name": "subkeys", + "type": 4, + "typeName": "u32" + } + ], + "index": 6, + "docs": [ + "See [`Pallet::kill_prefix`]." + ] + }, + { + "name": "remark_with_event", + "fields": [ + { + "name": "remark", + "type": 13, + "typeName": "Vec" + } + ], + "index": 7, + "docs": [ + "See [`Pallet::remark_with_event`]." + ] + } + ] + } + }, + "docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + } + }, + { + "id": 51, + "type": { + "def": { + "sequence": { + "type": 52 + } + } + } + }, + { + "id": 52, + "type": { + "def": { + "tuple": [ + 13, + 13 + ] + } + } + }, + { + "id": 53, + "type": { + "def": { + "sequence": { + "type": 13 + } + } + } + }, + { + "id": 54, + "type": { + "path": [ + "frame_system", + "limits", + "BlockWeights" + ], + "def": { + "composite": { + "fields": [ + { + "name": "base_block", + "type": 9, + "typeName": "Weight" + }, + { + "name": "max_block", + "type": 9, + "typeName": "Weight" + }, + { + "name": "per_class", + "type": 55, + "typeName": "PerDispatchClass" + } + ] + } + } + } + }, + { + "id": 55, + "type": { + "path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "params": [ + { + "name": "T", + "type": 56 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "normal", + "type": 56, + "typeName": "T" + }, + { + "name": "operational", + "type": 56, + "typeName": "T" + }, + { + "name": "mandatory", + "type": 56, + "typeName": "T" + } + ] + } + } + } + }, + { + "id": 56, + "type": { + "path": [ + "frame_system", + "limits", + "WeightsPerClass" + ], + "def": { + "composite": { + "fields": [ + { + "name": "base_extrinsic", + "type": 9, + "typeName": "Weight" + }, + { + "name": "max_extrinsic", + "type": 57, + "typeName": "Option" + }, + { + "name": "max_total", + "type": 57, + "typeName": "Option" + }, + { + "name": "reserved", + "type": 57, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 57, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 9 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 9 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 58, + "type": { + "path": [ + "frame_system", + "limits", + "BlockLength" + ], + "def": { + "composite": { + "fields": [ + { + "name": "max", + "type": 59, + "typeName": "PerDispatchClass" + } + ] + } + } + } + }, + { + "id": 59, + "type": { + "path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "params": [ + { + "name": "T", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "normal", + "type": 4, + "typeName": "T" + }, + { + "name": "operational", + "type": 4, + "typeName": "T" + }, + { + "name": "mandatory", + "type": 4, + "typeName": "T" + } + ] + } + } + } + }, + { + "id": 60, + "type": { + "path": [ + "sp_weights", + "RuntimeDbWeight" + ], + "def": { + "composite": { + "fields": [ + { + "name": "read", + "type": 11, + "typeName": "u64" + }, + { + "name": "write", + "type": 11, + "typeName": "u64" + } + ] + } + } + } + }, + { + "id": 61, + "type": { + "path": [ + "sp_version", + "RuntimeVersion" + ], + "def": { + "composite": { + "fields": [ + { + "name": "spec_name", + "type": 49, + "typeName": "RuntimeString" + }, + { + "name": "impl_name", + "type": 49, + "typeName": "RuntimeString" + }, + { + "name": "authoring_version", + "type": 4, + "typeName": "u32" + }, + { + "name": "spec_version", + "type": 4, + "typeName": "u32" + }, + { + "name": "impl_version", + "type": 4, + "typeName": "u32" + }, + { + "name": "apis", + "type": 62, + "typeName": "ApisVec" + }, + { + "name": "transaction_version", + "type": 4, + "typeName": "u32" + }, + { + "name": "state_version", + "type": 2, + "typeName": "u8" + } + ] + } + } + } + }, + { + "id": 62, + "type": { + "path": [ + "Cow" + ], + "params": [ + { + "name": "T", + "type": 63 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 63 + } + ] + } + } + } + }, + { + "id": 63, + "type": { + "def": { + "sequence": { + "type": 64 + } + } + } + }, + { + "id": 64, + "type": { + "def": { + "tuple": [ + 65, + 4 + ] + } + } + }, + { + "id": 65, + "type": { + "def": { + "array": { + "len": 8, + "type": 2 + } + } + } + }, + { + "id": 66, + "type": { + "def": { + "primitive": "u16" + } + } + }, + { + "id": 67, + "type": { + "path": [ + "frame_system", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidSpecName", + "index": 0, + "docs": [ + "The name of specification does not match between the current runtime", + "and the new runtime." + ] + }, + { + "name": "SpecVersionNeedsToIncrease", + "index": 1, + "docs": [ + "The specification version is not allowed to decrease between the current runtime", + "and the new runtime." + ] + }, + { + "name": "FailedToExtractRuntimeVersion", + "index": 2, + "docs": [ + "Failed to extract the runtime version from the new runtime.", + "", + "Either calling `Core_version` or decoding `RuntimeVersion` failed." + ] + }, + { + "name": "NonDefaultComposite", + "index": 3, + "docs": [ + "Suicide called when the account has non-default composite data." + ] + }, + { + "name": "NonZeroRefCount", + "index": 4, + "docs": [ + "There is a non-zero reference count preventing the account from being purged." + ] + }, + { + "name": "CallFiltered", + "index": 5, + "docs": [ + "The origin filter prevent the call to be dispatched." + ] + } + ] + } + }, + "docs": [ + "Error for the System pallet" + ] + } + }, + { + "id": 68, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 12 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 44, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 69, + "type": { + "path": [ + "pallet_utility", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "batch", + "fields": [ + { + "name": "calls", + "type": 70, + "typeName": "Vec<::RuntimeCall>" + } + ], + "index": 0, + "docs": [ + "See [`Pallet::batch`]." + ] + }, + { + "name": "as_derivative", + "fields": [ + { + "name": "index", + "type": 66, + "typeName": "u16" + }, + { + "name": "call", + "type": 71, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 1, + "docs": [ + "See [`Pallet::as_derivative`]." + ] + }, + { + "name": "batch_all", + "fields": [ + { + "name": "calls", + "type": 70, + "typeName": "Vec<::RuntimeCall>" + } + ], + "index": 2, + "docs": [ + "See [`Pallet::batch_all`]." + ] + }, + { + "name": "dispatch_as", + "fields": [ + { + "name": "as_origin", + "type": 84, + "typeName": "Box" + }, + { + "name": "call", + "type": 71, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 3, + "docs": [ + "See [`Pallet::dispatch_as`]." + ] + }, + { + "name": "force_batch", + "fields": [ + { + "name": "calls", + "type": 70, + "typeName": "Vec<::RuntimeCall>" + } + ], + "index": 4, + "docs": [ + "See [`Pallet::force_batch`]." + ] + }, + { + "name": "with_weight", + "fields": [ + { + "name": "call", + "type": 71, + "typeName": "Box<::RuntimeCall>" + }, + { + "name": "weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 5, + "docs": [ + "See [`Pallet::with_weight`]." + ] + } + ] + } + }, + "docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + } + }, + { + "id": 70, + "type": { + "def": { + "sequence": { + "type": 71 + } + } + } + }, + { + "id": 71, + "type": { + "path": [ + "contracts_node_runtime", + "RuntimeCall" + ], + "def": { + "variant": { + "variants": [ + { + "name": "System", + "fields": [ + { + "type": 50, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 0 + }, + { + "name": "Utility", + "fields": [ + { + "type": 69, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 2 + }, + { + "name": "Timestamp", + "fields": [ + { + "type": 72, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 3 + }, + { + "name": "Balances", + "fields": [ + { + "type": 73, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 4 + }, + { + "name": "Sudo", + "fields": [ + { + "type": 79, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 7 + }, + { + "name": "Contracts", + "fields": [ + { + "type": 80, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 8 + }, + { + "name": "Assets", + "fields": [ + { + "type": 83, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 9 + } + ] + } + } + } + }, + { + "id": 72, + "type": { + "path": [ + "pallet_timestamp", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "set", + "fields": [ + { + "name": "now", + "type": 10, + "typeName": "T::Moment" + } + ], + "index": 0, + "docs": [ + "See [`Pallet::set`]." + ] + } + ] + } + }, + "docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + } + }, + { + "id": 73, + "type": { + "path": [ + "pallet_balances", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "transfer_allow_death", + "fields": [ + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 0, + "docs": [ + "See [`Pallet::transfer_allow_death`]." + ] + }, + { + "name": "force_transfer", + "fields": [ + { + "name": "source", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 2, + "docs": [ + "See [`Pallet::force_transfer`]." + ] + }, + { + "name": "transfer_keep_alive", + "fields": [ + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 3, + "docs": [ + "See [`Pallet::transfer_keep_alive`]." + ] + }, + { + "name": "transfer_all", + "fields": [ + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "keep_alive", + "type": 42, + "typeName": "bool" + } + ], + "index": 4, + "docs": [ + "See [`Pallet::transfer_all`]." + ] + }, + { + "name": "force_unreserve", + "fields": [ + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 5, + "docs": [ + "See [`Pallet::force_unreserve`]." + ] + }, + { + "name": "upgrade_accounts", + "fields": [ + { + "name": "who", + "type": 78, + "typeName": "Vec" + } + ], + "index": 6, + "docs": [ + "See [`Pallet::upgrade_accounts`]." + ] + }, + { + "name": "force_set_balance", + "fields": [ + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "new_free", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 8, + "docs": [ + "See [`Pallet::force_set_balance`]." + ] + } + ] + } + }, + "docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + } + }, + { + "id": 74, + "type": { + "path": [ + "sp_runtime", + "multiaddress", + "MultiAddress" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "AccountIndex", + "type": 32 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Id", + "fields": [ + { + "type": 0, + "typeName": "AccountId" + } + ], + "index": 0 + }, + { + "name": "Index", + "fields": [ + { + "type": 75, + "typeName": "AccountIndex" + } + ], + "index": 1 + }, + { + "name": "Raw", + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 2 + }, + { + "name": "Address32", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 3 + }, + { + "name": "Address20", + "fields": [ + { + "type": 76, + "typeName": "[u8; 20]" + } + ], + "index": 4 + } + ] + } + } + } + }, + { + "id": 75, + "type": { + "def": { + "compact": { + "type": 32 + } + } + } + }, + { + "id": 76, + "type": { + "def": { + "array": { + "len": 20, + "type": 2 + } + } + } + }, + { + "id": 77, + "type": { + "def": { + "compact": { + "type": 6 + } + } + } + }, + { + "id": 78, + "type": { + "def": { + "sequence": { + "type": 0 + } + } + } + }, + { + "id": 79, + "type": { + "path": [ + "pallet_sudo", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "sudo", + "fields": [ + { + "name": "call", + "type": 71, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 0, + "docs": [ + "See [`Pallet::sudo`]." + ] + }, + { + "name": "sudo_unchecked_weight", + "fields": [ + { + "name": "call", + "type": 71, + "typeName": "Box<::RuntimeCall>" + }, + { + "name": "weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 1, + "docs": [ + "See [`Pallet::sudo_unchecked_weight`]." + ] + }, + { + "name": "set_key", + "fields": [ + { + "name": "new", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 2, + "docs": [ + "See [`Pallet::set_key`]." + ] + }, + { + "name": "sudo_as", + "fields": [ + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "call", + "type": 71, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 3, + "docs": [ + "See [`Pallet::sudo_as`]." + ] + } + ] + } + }, + "docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + } + }, + { + "id": 80, + "type": { + "path": [ + "pallet_contracts", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "call_old_weight", + "fields": [ + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 77, + "typeName": "BalanceOf" + }, + { + "name": "gas_limit", + "type": 10, + "typeName": "OldWeight" + }, + { + "name": "storage_deposit_limit", + "type": 81, + "typeName": "Option< as codec::HasCompact>::Type>" + }, + { + "name": "data", + "type": 13, + "typeName": "Vec" + } + ], + "index": 0, + "docs": [ + "See [`Pallet::call_old_weight`]." + ] + }, + { + "name": "instantiate_with_code_old_weight", + "fields": [ + { + "name": "value", + "type": 77, + "typeName": "BalanceOf" + }, + { + "name": "gas_limit", + "type": 10, + "typeName": "OldWeight" + }, + { + "name": "storage_deposit_limit", + "type": 81, + "typeName": "Option< as codec::HasCompact>::Type>" + }, + { + "name": "code", + "type": 13, + "typeName": "Vec" + }, + { + "name": "data", + "type": 13, + "typeName": "Vec" + }, + { + "name": "salt", + "type": 13, + "typeName": "Vec" + } + ], + "index": 1, + "docs": [ + "See [`Pallet::instantiate_with_code_old_weight`]." + ] + }, + { + "name": "instantiate_old_weight", + "fields": [ + { + "name": "value", + "type": 77, + "typeName": "BalanceOf" + }, + { + "name": "gas_limit", + "type": 10, + "typeName": "OldWeight" + }, + { + "name": "storage_deposit_limit", + "type": 81, + "typeName": "Option< as codec::HasCompact>::Type>" + }, + { + "name": "code_hash", + "type": 12, + "typeName": "CodeHash" + }, + { + "name": "data", + "type": 13, + "typeName": "Vec" + }, + { + "name": "salt", + "type": 13, + "typeName": "Vec" + } + ], + "index": 2, + "docs": [ + "See [`Pallet::instantiate_old_weight`]." + ] + }, + { + "name": "upload_code", + "fields": [ + { + "name": "code", + "type": 13, + "typeName": "Vec" + }, + { + "name": "storage_deposit_limit", + "type": 81, + "typeName": "Option< as codec::HasCompact>::Type>" + }, + { + "name": "determinism", + "type": 82, + "typeName": "Determinism" + } + ], + "index": 3, + "docs": [ + "See [`Pallet::upload_code`]." + ] + }, + { + "name": "remove_code", + "fields": [ + { + "name": "code_hash", + "type": 12, + "typeName": "CodeHash" + } + ], + "index": 4, + "docs": [ + "See [`Pallet::remove_code`]." + ] + }, + { + "name": "set_code", + "fields": [ + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "code_hash", + "type": 12, + "typeName": "CodeHash" + } + ], + "index": 5, + "docs": [ + "See [`Pallet::set_code`]." + ] + }, + { + "name": "call", + "fields": [ + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 77, + "typeName": "BalanceOf" + }, + { + "name": "gas_limit", + "type": 9, + "typeName": "Weight" + }, + { + "name": "storage_deposit_limit", + "type": 81, + "typeName": "Option< as codec::HasCompact>::Type>" + }, + { + "name": "data", + "type": 13, + "typeName": "Vec" + } + ], + "index": 6, + "docs": [ + "See [`Pallet::call`]." + ] + }, + { + "name": "instantiate_with_code", + "fields": [ + { + "name": "value", + "type": 77, + "typeName": "BalanceOf" + }, + { + "name": "gas_limit", + "type": 9, + "typeName": "Weight" + }, + { + "name": "storage_deposit_limit", + "type": 81, + "typeName": "Option< as codec::HasCompact>::Type>" + }, + { + "name": "code", + "type": 13, + "typeName": "Vec" + }, + { + "name": "data", + "type": 13, + "typeName": "Vec" + }, + { + "name": "salt", + "type": 13, + "typeName": "Vec" + } + ], + "index": 7, + "docs": [ + "See [`Pallet::instantiate_with_code`]." + ] + }, + { + "name": "instantiate", + "fields": [ + { + "name": "value", + "type": 77, + "typeName": "BalanceOf" + }, + { + "name": "gas_limit", + "type": 9, + "typeName": "Weight" + }, + { + "name": "storage_deposit_limit", + "type": 81, + "typeName": "Option< as codec::HasCompact>::Type>" + }, + { + "name": "code_hash", + "type": 12, + "typeName": "CodeHash" + }, + { + "name": "data", + "type": 13, + "typeName": "Vec" + }, + { + "name": "salt", + "type": 13, + "typeName": "Vec" + } + ], + "index": 8, + "docs": [ + "See [`Pallet::instantiate`]." + ] + }, + { + "name": "migrate", + "fields": [ + { + "name": "weight_limit", + "type": 9, + "typeName": "Weight" + } + ], + "index": 9, + "docs": [ + "See [`Pallet::migrate`]." + ] + } + ] + } + }, + "docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + } + }, + { + "id": 81, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 77 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 77 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 82, + "type": { + "path": [ + "pallet_contracts", + "wasm", + "Determinism" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Enforced", + "index": 0 + }, + { + "name": "Relaxed", + "index": 1 + } + ] + } + } + } + }, + { + "id": 83, + "type": { + "path": [ + "pallet_assets", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "create", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "admin", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "min_balance", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 0, + "docs": [ + "See [`Pallet::create`]." + ] + }, + { + "name": "force_create", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "owner", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "is_sufficient", + "type": 42, + "typeName": "bool" + }, + { + "name": "min_balance", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 1, + "docs": [ + "See [`Pallet::force_create`]." + ] + }, + { + "name": "start_destroy", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 2, + "docs": [ + "See [`Pallet::start_destroy`]." + ] + }, + { + "name": "destroy_accounts", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 3, + "docs": [ + "See [`Pallet::destroy_accounts`]." + ] + }, + { + "name": "destroy_approvals", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 4, + "docs": [ + "See [`Pallet::destroy_approvals`]." + ] + }, + { + "name": "finish_destroy", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 5, + "docs": [ + "See [`Pallet::finish_destroy`]." + ] + }, + { + "name": "mint", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "beneficiary", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 6, + "docs": [ + "See [`Pallet::mint`]." + ] + }, + { + "name": "burn", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 7, + "docs": [ + "See [`Pallet::burn`]." + ] + }, + { + "name": "transfer", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "target", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 8, + "docs": [ + "See [`Pallet::transfer`]." + ] + }, + { + "name": "transfer_keep_alive", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "target", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 9, + "docs": [ + "See [`Pallet::transfer_keep_alive`]." + ] + }, + { + "name": "force_transfer", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "source", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "dest", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 10, + "docs": [ + "See [`Pallet::force_transfer`]." + ] + }, + { + "name": "freeze", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 11, + "docs": [ + "See [`Pallet::freeze`]." + ] + }, + { + "name": "thaw", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 12, + "docs": [ + "See [`Pallet::thaw`]." + ] + }, + { + "name": "freeze_asset", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 13, + "docs": [ + "See [`Pallet::freeze_asset`]." + ] + }, + { + "name": "thaw_asset", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 14, + "docs": [ + "See [`Pallet::thaw_asset`]." + ] + }, + { + "name": "transfer_ownership", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "owner", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 15, + "docs": [ + "See [`Pallet::transfer_ownership`]." + ] + }, + { + "name": "set_team", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "issuer", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "admin", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "freezer", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 16, + "docs": [ + "See [`Pallet::set_team`]." + ] + }, + { + "name": "set_metadata", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "symbol", + "type": 13, + "typeName": "Vec" + }, + { + "name": "decimals", + "type": 2, + "typeName": "u8" + } + ], + "index": 17, + "docs": [ + "See [`Pallet::set_metadata`]." + ] + }, + { + "name": "clear_metadata", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 18, + "docs": [ + "See [`Pallet::clear_metadata`]." + ] + }, + { + "name": "force_set_metadata", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "symbol", + "type": 13, + "typeName": "Vec" + }, + { + "name": "decimals", + "type": 2, + "typeName": "u8" + }, + { + "name": "is_frozen", + "type": 42, + "typeName": "bool" + } + ], + "index": 19, + "docs": [ + "See [`Pallet::force_set_metadata`]." + ] + }, + { + "name": "force_clear_metadata", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 20, + "docs": [ + "See [`Pallet::force_clear_metadata`]." + ] + }, + { + "name": "force_asset_status", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "owner", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "issuer", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "admin", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "freezer", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "min_balance", + "type": 77, + "typeName": "T::Balance" + }, + { + "name": "is_sufficient", + "type": 42, + "typeName": "bool" + }, + { + "name": "is_frozen", + "type": 42, + "typeName": "bool" + } + ], + "index": 21, + "docs": [ + "See [`Pallet::force_asset_status`]." + ] + }, + { + "name": "approve_transfer", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "delegate", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 22, + "docs": [ + "See [`Pallet::approve_transfer`]." + ] + }, + { + "name": "cancel_approval", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "delegate", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 23, + "docs": [ + "See [`Pallet::cancel_approval`]." + ] + }, + { + "name": "force_cancel_approval", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "owner", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "delegate", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 24, + "docs": [ + "See [`Pallet::force_cancel_approval`]." + ] + }, + { + "name": "transfer_approved", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "owner", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "destination", + "type": 74, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 77, + "typeName": "T::Balance" + } + ], + "index": 25, + "docs": [ + "See [`Pallet::transfer_approved`]." + ] + }, + { + "name": "touch", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + } + ], + "index": 26, + "docs": [ + "See [`Pallet::touch`]." + ] + }, + { + "name": "refund", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "allow_burn", + "type": 42, + "typeName": "bool" + } + ], + "index": 27, + "docs": [ + "See [`Pallet::refund`]." + ] + }, + { + "name": "set_min_balance", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "min_balance", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 28, + "docs": [ + "See [`Pallet::set_min_balance`]." + ] + }, + { + "name": "touch_other", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 29, + "docs": [ + "See [`Pallet::touch_other`]." + ] + }, + { + "name": "refund_other", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 30, + "docs": [ + "See [`Pallet::refund_other`]." + ] + }, + { + "name": "block", + "fields": [ + { + "name": "id", + "type": 48, + "typeName": "T::AssetIdParameter" + }, + { + "name": "who", + "type": 74, + "typeName": "AccountIdLookupOf" + } + ], + "index": 31, + "docs": [ + "See [`Pallet::block`]." + ] + } + ] + } + }, + "docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + } + }, + { + "id": 84, + "type": { + "path": [ + "contracts_node_runtime", + "OriginCaller" + ], + "def": { + "variant": { + "variants": [ + { + "name": "system", + "fields": [ + { + "type": 85, + "typeName": "frame_system::Origin" + } + ], + "index": 0 + }, + { + "name": "Void", + "fields": [ + { + "type": 86, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::\n__private::Void" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 85, + "type": { + "path": [ + "frame_support", + "dispatch", + "RawOrigin" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Root", + "index": 0 + }, + { + "name": "Signed", + "fields": [ + { + "type": 0, + "typeName": "AccountId" + } + ], + "index": 1 + }, + { + "name": "None", + "index": 2 + } + ] + } + } + } + }, + { + "id": 86, + "type": { + "path": [ + "sp_core", + "Void" + ], + "def": { + "variant": {} + } + } + }, + { + "id": 87, + "type": { + "path": [ + "pallet_utility", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "TooManyCalls", + "index": 0, + "docs": [ + "Too many calls batched." + ] + } + ] + } + }, + "docs": [ + "The `Error` enum of this pallet." + ] + } + }, + { + "id": 88, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 89 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 91, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 89, + "type": { + "path": [ + "pallet_balances", + "types", + "BalanceLock" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 65, + "typeName": "LockIdentifier" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + }, + { + "name": "reasons", + "type": 90, + "typeName": "Reasons" + } + ] + } + } + } + }, + { + "id": 90, + "type": { + "path": [ + "pallet_balances", + "types", + "Reasons" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Fee", + "index": 0 + }, + { + "name": "Misc", + "index": 1 + }, + { + "name": "All", + "index": 2 + } + ] + } + } + } + }, + { + "id": 91, + "type": { + "def": { + "sequence": { + "type": 89 + } + } + } + }, + { + "id": 92, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 93 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 94, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 93, + "type": { + "path": [ + "pallet_balances", + "types", + "ReserveData" + ], + "params": [ + { + "name": "ReserveIdentifier", + "type": 65 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 65, + "typeName": "ReserveIdentifier" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 94, + "type": { + "def": { + "sequence": { + "type": 93 + } + } + } + }, + { + "id": 95, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 96 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 99, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 96, + "type": { + "path": [ + "pallet_balances", + "types", + "IdAmount" + ], + "params": [ + { + "name": "Id", + "type": 97 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 97, + "typeName": "Id" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 97, + "type": { + "path": [ + "contracts_node_runtime", + "RuntimeHoldReason" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Contracts", + "fields": [ + { + "type": 98, + "typeName": "pallet_contracts::HoldReason" + } + ], + "index": 8 + } + ] + } + } + } + }, + { + "id": 98, + "type": { + "path": [ + "pallet_contracts", + "pallet", + "HoldReason" + ], + "def": { + "variant": { + "variants": [ + { + "name": "CodeUploadDepositReserve", + "index": 0 + }, + { + "name": "StorageDepositReserve", + "index": 1 + } + ] + } + } + } + }, + { + "id": 99, + "type": { + "def": { + "sequence": { + "type": 96 + } + } + } + }, + { + "id": 100, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 101 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 102, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 101, + "type": { + "path": [ + "pallet_balances", + "types", + "IdAmount" + ], + "params": [ + { + "name": "Id", + "type": 32 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 32, + "typeName": "Id" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 102, + "type": { + "def": { + "sequence": { + "type": 101 + } + } + } + }, + { + "id": 103, + "type": { + "path": [ + "pallet_balances", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "VestingBalance", + "index": 0, + "docs": [ + "Vesting balance too high to send value." + ] + }, + { + "name": "LiquidityRestrictions", + "index": 1, + "docs": [ + "Account liquidity restrictions prevent withdrawal." + ] + }, + { + "name": "InsufficientBalance", + "index": 2, + "docs": [ + "Balance too low to send value." + ] + }, + { + "name": "ExistentialDeposit", + "index": 3, + "docs": [ + "Value too low to create account due to existential deposit." + ] + }, + { + "name": "Expendability", + "index": 4, + "docs": [ + "Transfer/payment would kill account." + ] + }, + { + "name": "ExistingVestingSchedule", + "index": 5, + "docs": [ + "A vesting schedule already exists for this account." + ] + }, + { + "name": "DeadAccount", + "index": 6, + "docs": [ + "Beneficiary account must pre-exist." + ] + }, + { + "name": "TooManyReserves", + "index": 7, + "docs": [ + "Number of named reserves exceed `MaxReserves`." + ] + }, + { + "name": "TooManyHolds", + "index": 8, + "docs": [ + "Number of holds exceed `MaxHolds`." + ] + }, + { + "name": "TooManyFreezes", + "index": 9, + "docs": [ + "Number of freezes exceed `MaxFreezes`." + ] + } + ] + } + }, + "docs": [ + "The `Error` enum of this pallet." + ] + } + }, + { + "id": 104, + "type": { + "path": [ + "sp_arithmetic", + "fixed_point", + "FixedU128" + ], + "def": { + "composite": { + "fields": [ + { + "type": 6, + "typeName": "u128" + } + ] + } + } + } + }, + { + "id": 105, + "type": { + "path": [ + "pallet_transaction_payment", + "Releases" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V1Ancient", + "index": 0 + }, + { + "name": "V2", + "index": 1 + } + ] + } + } + } + }, + { + "id": 106, + "type": { + "path": [ + "pallet_sudo", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "RequireSudo", + "index": 0, + "docs": [ + "Sender must be the Sudo account" + ] + } + ] + } + }, + "docs": [ + "Error for the Sudo pallet" + ] + } + }, + { + "id": 107, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 108, + "type": { + "path": [ + "pallet_contracts", + "wasm", + "CodeInfo" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "owner", + "type": 0, + "typeName": "AccountIdOf" + }, + { + "name": "deposit", + "type": 77, + "typeName": "BalanceOf" + }, + { + "name": "refcount", + "type": 10, + "typeName": "u64" + }, + { + "name": "determinism", + "type": 82, + "typeName": "Determinism" + }, + { + "name": "code_len", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 109, + "type": { + "path": [ + "pallet_contracts", + "storage", + "ContractInfo" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "trie_id", + "type": 110, + "typeName": "TrieId" + }, + { + "name": "code_hash", + "type": 12, + "typeName": "CodeHash" + }, + { + "name": "storage_bytes", + "type": 4, + "typeName": "u32" + }, + { + "name": "storage_items", + "type": 4, + "typeName": "u32" + }, + { + "name": "storage_byte_deposit", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "storage_item_deposit", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "storage_base_deposit", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "delegate_dependencies", + "type": 111, + "typeName": "BoundedBTreeMap, BalanceOf, T::\nMaxDelegateDependencies>" + } + ] + } + } + } + }, + { + "id": 110, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 111, + "type": { + "path": [ + "bounded_collections", + "bounded_btree_map", + "BoundedBTreeMap" + ], + "params": [ + { + "name": "K", + "type": 12 + }, + { + "name": "V", + "type": 6 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 112, + "typeName": "BTreeMap" + } + ] + } + } + } + }, + { + "id": 112, + "type": { + "path": [ + "BTreeMap" + ], + "params": [ + { + "name": "K", + "type": 12 + }, + { + "name": "V", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 113 + } + ] + } + } + } + }, + { + "id": 113, + "type": { + "def": { + "sequence": { + "type": 114 + } + } + } + }, + { + "id": 114, + "type": { + "def": { + "tuple": [ + 12, + 6 + ] + } + } + }, + { + "id": 115, + "type": { + "path": [ + "pallet_contracts", + "storage", + "DeletionQueueManager" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "insert_counter", + "type": 4, + "typeName": "u32" + }, + { + "name": "delete_counter", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 116, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 117, + "type": { + "path": [ + "pallet_contracts", + "schedule", + "Schedule" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "limits", + "type": 118, + "typeName": "Limits" + }, + { + "name": "instruction_weights", + "type": 119, + "typeName": "InstructionWeights" + }, + { + "name": "host_fn_weights", + "type": 120, + "typeName": "HostFnWeights" + } + ] + } + } + } + }, + { + "id": 118, + "type": { + "path": [ + "pallet_contracts", + "schedule", + "Limits" + ], + "def": { + "composite": { + "fields": [ + { + "name": "event_topics", + "type": 4, + "typeName": "u32" + }, + { + "name": "globals", + "type": 4, + "typeName": "u32" + }, + { + "name": "locals", + "type": 4, + "typeName": "u32" + }, + { + "name": "parameters", + "type": 4, + "typeName": "u32" + }, + { + "name": "memory_pages", + "type": 4, + "typeName": "u32" + }, + { + "name": "table_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "br_table_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "subject_len", + "type": 4, + "typeName": "u32" + }, + { + "name": "payload_len", + "type": 4, + "typeName": "u32" + }, + { + "name": "runtime_memory", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 119, + "type": { + "path": [ + "pallet_contracts", + "schedule", + "InstructionWeights" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "base", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 120, + "type": { + "path": [ + "pallet_contracts", + "schedule", + "HostFnWeights" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "caller", + "type": 9, + "typeName": "Weight" + }, + { + "name": "is_contract", + "type": 9, + "typeName": "Weight" + }, + { + "name": "code_hash", + "type": 9, + "typeName": "Weight" + }, + { + "name": "own_code_hash", + "type": 9, + "typeName": "Weight" + }, + { + "name": "caller_is_origin", + "type": 9, + "typeName": "Weight" + }, + { + "name": "caller_is_root", + "type": 9, + "typeName": "Weight" + }, + { + "name": "address", + "type": 9, + "typeName": "Weight" + }, + { + "name": "gas_left", + "type": 9, + "typeName": "Weight" + }, + { + "name": "balance", + "type": 9, + "typeName": "Weight" + }, + { + "name": "value_transferred", + "type": 9, + "typeName": "Weight" + }, + { + "name": "minimum_balance", + "type": 9, + "typeName": "Weight" + }, + { + "name": "block_number", + "type": 9, + "typeName": "Weight" + }, + { + "name": "now", + "type": 9, + "typeName": "Weight" + }, + { + "name": "weight_to_fee", + "type": 9, + "typeName": "Weight" + }, + { + "name": "input", + "type": 9, + "typeName": "Weight" + }, + { + "name": "input_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "r#return", + "type": 9, + "typeName": "Weight" + }, + { + "name": "return_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "terminate", + "type": 9, + "typeName": "Weight" + }, + { + "name": "random", + "type": 9, + "typeName": "Weight" + }, + { + "name": "deposit_event", + "type": 9, + "typeName": "Weight" + }, + { + "name": "deposit_event_per_topic", + "type": 9, + "typeName": "Weight" + }, + { + "name": "deposit_event_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "debug_message", + "type": 9, + "typeName": "Weight" + }, + { + "name": "debug_message_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "set_storage", + "type": 9, + "typeName": "Weight" + }, + { + "name": "set_storage_per_new_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "set_storage_per_old_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "set_code_hash", + "type": 9, + "typeName": "Weight" + }, + { + "name": "clear_storage", + "type": 9, + "typeName": "Weight" + }, + { + "name": "clear_storage_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "contains_storage", + "type": 9, + "typeName": "Weight" + }, + { + "name": "contains_storage_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "get_storage", + "type": 9, + "typeName": "Weight" + }, + { + "name": "get_storage_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "take_storage", + "type": 9, + "typeName": "Weight" + }, + { + "name": "take_storage_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "transfer", + "type": 9, + "typeName": "Weight" + }, + { + "name": "call", + "type": 9, + "typeName": "Weight" + }, + { + "name": "delegate_call", + "type": 9, + "typeName": "Weight" + }, + { + "name": "call_transfer_surcharge", + "type": 9, + "typeName": "Weight" + }, + { + "name": "call_per_cloned_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "instantiate", + "type": 9, + "typeName": "Weight" + }, + { + "name": "instantiate_transfer_surcharge", + "type": 9, + "typeName": "Weight" + }, + { + "name": "instantiate_per_input_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "instantiate_per_salt_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_sha2_256", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_sha2_256_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_keccak_256", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_keccak_256_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_blake2_256", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_blake2_256_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_blake2_128", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hash_blake2_128_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "ecdsa_recover", + "type": 9, + "typeName": "Weight" + }, + { + "name": "ecdsa_to_eth_address", + "type": 9, + "typeName": "Weight" + }, + { + "name": "sr25519_verify", + "type": 9, + "typeName": "Weight" + }, + { + "name": "sr25519_verify_per_byte", + "type": 9, + "typeName": "Weight" + }, + { + "name": "reentrance_count", + "type": 9, + "typeName": "Weight" + }, + { + "name": "account_reentrance_count", + "type": 9, + "typeName": "Weight" + }, + { + "name": "instantiation_nonce", + "type": 9, + "typeName": "Weight" + }, + { + "name": "add_delegate_dependency", + "type": 9, + "typeName": "Weight" + }, + { + "name": "remove_delegate_dependency", + "type": 9, + "typeName": "Weight" + } + ] + } + } + } + }, + { + "id": 121, + "type": { + "path": [ + "sp_arithmetic", + "per_things", + "Perbill" + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 122, + "type": { + "path": [ + "pallet_contracts", + "Environment" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "account_id", + "type": 123, + "typeName": "EnvironmentType>" + }, + { + "name": "balance", + "type": 124, + "typeName": "EnvironmentType>" + }, + { + "name": "hash", + "type": 125, + "typeName": "EnvironmentType<::Hash>" + }, + { + "name": "hasher", + "type": 126, + "typeName": "EnvironmentType<::Hashing>" + }, + { + "name": "timestamp", + "type": 128, + "typeName": "EnvironmentType>" + }, + { + "name": "block_number", + "type": 129, + "typeName": "EnvironmentType>" + } + ] + } + } + } + }, + { + "id": 123, + "type": { + "path": [ + "pallet_contracts", + "EnvironmentType" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 124, + "type": { + "path": [ + "pallet_contracts", + "EnvironmentType" + ], + "params": [ + { + "name": "T", + "type": 6 + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 125, + "type": { + "path": [ + "pallet_contracts", + "EnvironmentType" + ], + "params": [ + { + "name": "T", + "type": 12 + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 126, + "type": { + "path": [ + "pallet_contracts", + "EnvironmentType" + ], + "params": [ + { + "name": "T", + "type": 127 + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 127, + "type": { + "path": [ + "sp_runtime", + "traits", + "BlakeTwo256" + ], + "def": { + "composite": {} + } + } + }, + { + "id": 128, + "type": { + "path": [ + "pallet_contracts", + "EnvironmentType" + ], + "params": [ + { + "name": "T", + "type": 11 + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 129, + "type": { + "path": [ + "pallet_contracts", + "EnvironmentType" + ], + "params": [ + { + "name": "T", + "type": 4 + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 130, + "type": { + "path": [ + "pallet_contracts", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidSchedule", + "index": 0, + "docs": [ + "Invalid schedule supplied, e.g. with zero weight of a basic operation." + ] + }, + { + "name": "InvalidCallFlags", + "index": 1, + "docs": [ + "Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`." + ] + }, + { + "name": "OutOfGas", + "index": 2, + "docs": [ + "The executed contract exhausted its gas limit." + ] + }, + { + "name": "OutputBufferTooSmall", + "index": 3, + "docs": [ + "The output buffer supplied to a contract API call was too small." + ] + }, + { + "name": "TransferFailed", + "index": 4, + "docs": [ + "Performing the requested transfer failed. Probably because there isn't enough", + "free balance in the sender's account." + ] + }, + { + "name": "MaxCallDepthReached", + "index": 5, + "docs": [ + "Performing a call was denied because the calling depth reached the limit", + "of what is specified in the schedule." + ] + }, + { + "name": "ContractNotFound", + "index": 6, + "docs": [ + "No contract was found at the specified address." + ] + }, + { + "name": "CodeTooLarge", + "index": 7, + "docs": [ + "The code supplied to `instantiate_with_code` exceeds the limit specified in the", + "current schedule." + ] + }, + { + "name": "CodeNotFound", + "index": 8, + "docs": [ + "No code could be found at the supplied code hash." + ] + }, + { + "name": "CodeInfoNotFound", + "index": 9, + "docs": [ + "No code info could be found at the supplied code hash." + ] + }, + { + "name": "OutOfBounds", + "index": 10, + "docs": [ + "A buffer outside of sandbox memory was passed to a contract API function." + ] + }, + { + "name": "DecodingFailed", + "index": 11, + "docs": [ + "Input passed to a contract API function failed to decode as expected type." + ] + }, + { + "name": "ContractTrapped", + "index": 12, + "docs": [ + "Contract trapped during execution." + ] + }, + { + "name": "ValueTooLarge", + "index": 13, + "docs": [ + "The size defined in `T::MaxValueSize` was exceeded." + ] + }, + { + "name": "TerminatedWhileReentrant", + "index": 14, + "docs": [ + "Termination of a contract is not allowed while the contract is already", + "on the call stack. Can be triggered by `seal_terminate`." + ] + }, + { + "name": "InputForwarded", + "index": 15, + "docs": [ + "`seal_call` forwarded this contracts input. It therefore is no longer available." + ] + }, + { + "name": "RandomSubjectTooLong", + "index": 16, + "docs": [ + "The subject passed to `seal_random` exceeds the limit." + ] + }, + { + "name": "TooManyTopics", + "index": 17, + "docs": [ + "The amount of topics passed to `seal_deposit_events` exceeds the limit." + ] + }, + { + "name": "NoChainExtension", + "index": 18, + "docs": [ + "The chain does not provide a chain extension. Calling the chain extension results", + "in this error. Note that this usually shouldn't happen as deploying such contracts", + "is rejected." + ] + }, + { + "name": "DuplicateContract", + "index": 19, + "docs": [ + "A contract with the same AccountId already exists." + ] + }, + { + "name": "TerminatedInConstructor", + "index": 20, + "docs": [ + "A contract self destructed in its constructor.", + "", + "This can be triggered by a call to `seal_terminate`." + ] + }, + { + "name": "ReentranceDenied", + "index": 21, + "docs": [ + "A call tried to invoke a contract that is flagged as non-reentrant.", + "The only other cause is that a call from a contract into the runtime tried to call back", + "into `pallet-contracts`. This would make the whole pallet reentrant with regard to", + "contract code execution which is not supported." + ] + }, + { + "name": "StorageDepositNotEnoughFunds", + "index": 22, + "docs": [ + "Origin doesn't have enough balance to pay the required storage deposits." + ] + }, + { + "name": "StorageDepositLimitExhausted", + "index": 23, + "docs": [ + "More storage was created than allowed by the storage deposit limit." + ] + }, + { + "name": "CodeInUse", + "index": 24, + "docs": [ + "Code removal was denied because the code is still in use by at least one contract." + ] + }, + { + "name": "ContractReverted", + "index": 25, + "docs": [ + "The contract ran to completion but decided to revert its storage changes.", + "Please note that this error is only returned from extrinsics. When called directly", + "or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags", + "to determine whether a reversion has taken place." + ] + }, + { + "name": "CodeRejected", + "index": 26, + "docs": [ + "The contract's code was found to be invalid during validation.", + "", + "The most likely cause of this is that an API was used which is not supported by the", + "node. This happens if an older node is used with a new version of ink!. Try updating", + "your node to the newest available version.", + "", + "A more detailed error can be found on the node console if debug messages are enabled", + "by supplying `-lruntime::contracts=debug`." + ] + }, + { + "name": "Indeterministic", + "index": 27, + "docs": [ + "An indetermistic code was used in a context where this is not permitted." + ] + }, + { + "name": "MigrationInProgress", + "index": 28, + "docs": [ + "A pending migration needs to complete before the extrinsic can be called." + ] + }, + { + "name": "NoMigrationPerformed", + "index": 29, + "docs": [ + "Migrate dispatch call was attempted but no migration was performed." + ] + }, + { + "name": "MaxDelegateDependenciesReached", + "index": 30, + "docs": [ + "The contract has reached its maximum number of delegate dependencies." + ] + }, + { + "name": "DelegateDependencyNotFound", + "index": 31, + "docs": [ + "The dependency was not found in the contract's delegate dependencies." + ] + }, + { + "name": "DelegateDependencyAlreadyExists", + "index": 32, + "docs": [ + "The contract already depends on the given delegate dependency." + ] + }, + { + "name": "CannotAddSelfAsDelegateDependency", + "index": 33, + "docs": [ + "Can not add a delegate dependency to the code hash of the contract itself." + ] + } + ] + } + }, + "docs": [ + "The `Error` enum of this pallet." + ] + } + }, + { + "id": 131, + "type": { + "path": [ + "pallet_assets", + "types", + "AssetDetails" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "DepositBalance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "owner", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "issuer", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "admin", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "freezer", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "supply", + "type": 6, + "typeName": "Balance" + }, + { + "name": "deposit", + "type": 6, + "typeName": "DepositBalance" + }, + { + "name": "min_balance", + "type": 6, + "typeName": "Balance" + }, + { + "name": "is_sufficient", + "type": 42, + "typeName": "bool" + }, + { + "name": "accounts", + "type": 4, + "typeName": "u32" + }, + { + "name": "sufficients", + "type": 4, + "typeName": "u32" + }, + { + "name": "approvals", + "type": 4, + "typeName": "u32" + }, + { + "name": "status", + "type": 132, + "typeName": "AssetStatus" + } + ] + } + } + } + }, + { + "id": 132, + "type": { + "path": [ + "pallet_assets", + "types", + "AssetStatus" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Live", + "index": 0 + }, + { + "name": "Frozen", + "index": 1 + }, + { + "name": "Destroying", + "index": 2 + } + ] + } + } + } + }, + { + "id": 133, + "type": { + "def": { + "tuple": [ + 4, + 0 + ] + } + } + }, + { + "id": 134, + "type": { + "path": [ + "pallet_assets", + "types", + "AssetAccount" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "DepositBalance", + "type": 6 + }, + { + "name": "Extra", + "type": 32 + }, + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "balance", + "type": 6, + "typeName": "Balance" + }, + { + "name": "status", + "type": 135, + "typeName": "AccountStatus" + }, + { + "name": "reason", + "type": 136, + "typeName": "ExistenceReason" + }, + { + "name": "extra", + "type": 32, + "typeName": "Extra" + } + ] + } + } + } + }, + { + "id": 135, + "type": { + "path": [ + "pallet_assets", + "types", + "AccountStatus" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Liquid", + "index": 0 + }, + { + "name": "Frozen", + "index": 1 + }, + { + "name": "Blocked", + "index": 2 + } + ] + } + } + } + }, + { + "id": 136, + "type": { + "path": [ + "pallet_assets", + "types", + "ExistenceReason" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Consumer", + "index": 0 + }, + { + "name": "Sufficient", + "index": 1 + }, + { + "name": "DepositHeld", + "fields": [ + { + "type": 6, + "typeName": "Balance" + } + ], + "index": 2 + }, + { + "name": "DepositRefunded", + "index": 3 + }, + { + "name": "DepositFrom", + "fields": [ + { + "type": 0, + "typeName": "AccountId" + }, + { + "type": 6, + "typeName": "Balance" + } + ], + "index": 4 + } + ] + } + } + } + }, + { + "id": 137, + "type": { + "def": { + "tuple": [ + 4, + 0, + 0 + ] + } + } + }, + { + "id": 138, + "type": { + "path": [ + "pallet_assets", + "types", + "Approval" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "DepositBalance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "amount", + "type": 6, + "typeName": "Balance" + }, + { + "name": "deposit", + "type": 6, + "typeName": "DepositBalance" + } + ] + } + } + } + }, + { + "id": 139, + "type": { + "path": [ + "pallet_assets", + "types", + "AssetMetadata" + ], + "params": [ + { + "name": "DepositBalance", + "type": 6 + }, + { + "name": "BoundedString", + "type": 140 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "deposit", + "type": 6, + "typeName": "DepositBalance" + }, + { + "name": "name", + "type": 140, + "typeName": "BoundedString" + }, + { + "name": "symbol", + "type": 140, + "typeName": "BoundedString" + }, + { + "name": "decimals", + "type": 2, + "typeName": "u8" + }, + { + "name": "is_frozen", + "type": 42, + "typeName": "bool" + } + ] + } + } + } + }, + { + "id": 140, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 141, + "type": { + "path": [ + "pallet_assets", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "BalanceLow", + "index": 0, + "docs": [ + "Account balance must be greater than or equal to the transfer amount." + ] + }, + { + "name": "NoAccount", + "index": 1, + "docs": [ + "The account to alter does not exist." + ] + }, + { + "name": "NoPermission", + "index": 2, + "docs": [ + "The signing account has no permission to do the operation." + ] + }, + { + "name": "Unknown", + "index": 3, + "docs": [ + "The given asset ID is unknown." + ] + }, + { + "name": "Frozen", + "index": 4, + "docs": [ + "The origin account is frozen." + ] + }, + { + "name": "InUse", + "index": 5, + "docs": [ + "The asset ID is already taken." + ] + }, + { + "name": "BadWitness", + "index": 6, + "docs": [ + "Invalid witness data given." + ] + }, + { + "name": "MinBalanceZero", + "index": 7, + "docs": [ + "Minimum balance should be non-zero." + ] + }, + { + "name": "UnavailableConsumer", + "index": 8, + "docs": [ + "Unable to increment the consumer reference counters on the account. Either no provider", + "reference exists to allow a non-zero balance of a non-self-sufficient asset, or one", + "fewer then the maximum number of consumers has been reached." + ] + }, + { + "name": "BadMetadata", + "index": 9, + "docs": [ + "Invalid metadata given." + ] + }, + { + "name": "Unapproved", + "index": 10, + "docs": [ + "No approval exists that would allow the transfer." + ] + }, + { + "name": "WouldDie", + "index": 11, + "docs": [ + "The source account would not survive the transfer and it needs to stay alive." + ] + }, + { + "name": "AlreadyExists", + "index": 12, + "docs": [ + "The asset-account already exists." + ] + }, + { + "name": "NoDeposit", + "index": 13, + "docs": [ + "The asset-account doesn't have an associated deposit." + ] + }, + { + "name": "WouldBurn", + "index": 14, + "docs": [ + "The operation would result in funds being burned." + ] + }, + { + "name": "LiveAsset", + "index": 15, + "docs": [ + "The asset is a live asset and is actively being used. Usually emit for operations such", + "as `start_destroy` which require the asset to be in a destroying state." + ] + }, + { + "name": "AssetNotLive", + "index": 16, + "docs": [ + "The asset is not live, and likely being destroyed." + ] + }, + { + "name": "IncorrectStatus", + "index": 17, + "docs": [ + "The asset status is not the expected status." + ] + }, + { + "name": "NotFrozen", + "index": 18, + "docs": [ + "The asset should be frozen before the given operation." + ] + }, + { + "name": "CallbackFailed", + "index": 19, + "docs": [ + "Callback action resulted in error" + ] + } + ] + } + }, + "docs": [ + "The `Error` enum of this pallet." + ] + } + }, + { + "id": 142, + "type": { + "path": [ + "sp_runtime", + "MultiSignature" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ed25519", + "fields": [ + { + "type": 143, + "typeName": "ed25519::Signature" + } + ], + "index": 0 + }, + { + "name": "Sr25519", + "fields": [ + { + "type": 145, + "typeName": "sr25519::Signature" + } + ], + "index": 1 + }, + { + "name": "Ecdsa", + "fields": [ + { + "type": 146, + "typeName": "ecdsa::Signature" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 143, + "type": { + "path": [ + "sp_core", + "ed25519", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 144, + "typeName": "[u8; 64]" + } + ] + } + } + } + }, + { + "id": 144, + "type": { + "def": { + "array": { + "len": 64, + "type": 2 + } + } + } + }, + { + "id": 145, + "type": { + "path": [ + "sp_core", + "sr25519", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 144, + "typeName": "[u8; 64]" + } + ] + } + } + } + }, + { + "id": 146, + "type": { + "path": [ + "sp_core", + "ecdsa", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 147, + "typeName": "[u8; 65]" + } + ] + } + } + } + }, + { + "id": 147, + "type": { + "def": { + "array": { + "len": 65, + "type": 2 + } + } + } + }, + { + "id": 148, + "type": { + "def": { + "tuple": [ + 149, + 150, + 151, + 152, + 153, + 155, + 156, + 157 + ] + } + } + }, + { + "id": 149, + "type": { + "path": [ + "frame_system", + "extensions", + "check_non_zero_sender", + "CheckNonZeroSender" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 150, + "type": { + "path": [ + "frame_system", + "extensions", + "check_spec_version", + "CheckSpecVersion" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 151, + "type": { + "path": [ + "frame_system", + "extensions", + "check_tx_version", + "CheckTxVersion" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 152, + "type": { + "path": [ + "frame_system", + "extensions", + "check_genesis", + "CheckGenesis" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 153, + "type": { + "path": [ + "frame_system", + "extensions", + "check_mortality", + "CheckMortality" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 154, + "typeName": "Era" + } + ] + } + } + } + }, + { + "id": 154, + "type": { + "path": [ + "sp_runtime", + "generic", + "era", + "Era" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Immortal", + "index": 0 + }, + { + "name": "Mortal1", + "fields": [ + { + "type": 2 + } + ], + "index": 1 + }, + { + "name": "Mortal2", + "fields": [ + { + "type": 2 + } + ], + "index": 2 + }, + { + "name": "Mortal3", + "fields": [ + { + "type": 2 + } + ], + "index": 3 + }, + { + "name": "Mortal4", + "fields": [ + { + "type": 2 + } + ], + "index": 4 + }, + { + "name": "Mortal5", + "fields": [ + { + "type": 2 + } + ], + "index": 5 + }, + { + "name": "Mortal6", + "fields": [ + { + "type": 2 + } + ], + "index": 6 + }, + { + "name": "Mortal7", + "fields": [ + { + "type": 2 + } + ], + "index": 7 + }, + { + "name": "Mortal8", + "fields": [ + { + "type": 2 + } + ], + "index": 8 + }, + { + "name": "Mortal9", + "fields": [ + { + "type": 2 + } + ], + "index": 9 + }, + { + "name": "Mortal10", + "fields": [ + { + "type": 2 + } + ], + "index": 10 + }, + { + "name": "Mortal11", + "fields": [ + { + "type": 2 + } + ], + "index": 11 + }, + { + "name": "Mortal12", + "fields": [ + { + "type": 2 + } + ], + "index": 12 + }, + { + "name": "Mortal13", + "fields": [ + { + "type": 2 + } + ], + "index": 13 + }, + { + "name": "Mortal14", + "fields": [ + { + "type": 2 + } + ], + "index": 14 + }, + { + "name": "Mortal15", + "fields": [ + { + "type": 2 + } + ], + "index": 15 + }, + { + "name": "Mortal16", + "fields": [ + { + "type": 2 + } + ], + "index": 16 + }, + { + "name": "Mortal17", + "fields": [ + { + "type": 2 + } + ], + "index": 17 + }, + { + "name": "Mortal18", + "fields": [ + { + "type": 2 + } + ], + "index": 18 + }, + { + "name": "Mortal19", + "fields": [ + { + "type": 2 + } + ], + "index": 19 + }, + { + "name": "Mortal20", + "fields": [ + { + "type": 2 + } + ], + "index": 20 + }, + { + "name": "Mortal21", + "fields": [ + { + "type": 2 + } + ], + "index": 21 + }, + { + "name": "Mortal22", + "fields": [ + { + "type": 2 + } + ], + "index": 22 + }, + { + "name": "Mortal23", + "fields": [ + { + "type": 2 + } + ], + "index": 23 + }, + { + "name": "Mortal24", + "fields": [ + { + "type": 2 + } + ], + "index": 24 + }, + { + "name": "Mortal25", + "fields": [ + { + "type": 2 + } + ], + "index": 25 + }, + { + "name": "Mortal26", + "fields": [ + { + "type": 2 + } + ], + "index": 26 + }, + { + "name": "Mortal27", + "fields": [ + { + "type": 2 + } + ], + "index": 27 + }, + { + "name": "Mortal28", + "fields": [ + { + "type": 2 + } + ], + "index": 28 + }, + { + "name": "Mortal29", + "fields": [ + { + "type": 2 + } + ], + "index": 29 + }, + { + "name": "Mortal30", + "fields": [ + { + "type": 2 + } + ], + "index": 30 + }, + { + "name": "Mortal31", + "fields": [ + { + "type": 2 + } + ], + "index": 31 + }, + { + "name": "Mortal32", + "fields": [ + { + "type": 2 + } + ], + "index": 32 + }, + { + "name": "Mortal33", + "fields": [ + { + "type": 2 + } + ], + "index": 33 + }, + { + "name": "Mortal34", + "fields": [ + { + "type": 2 + } + ], + "index": 34 + }, + { + "name": "Mortal35", + "fields": [ + { + "type": 2 + } + ], + "index": 35 + }, + { + "name": "Mortal36", + "fields": [ + { + "type": 2 + } + ], + "index": 36 + }, + { + "name": "Mortal37", + "fields": [ + { + "type": 2 + } + ], + "index": 37 + }, + { + "name": "Mortal38", + "fields": [ + { + "type": 2 + } + ], + "index": 38 + }, + { + "name": "Mortal39", + "fields": [ + { + "type": 2 + } + ], + "index": 39 + }, + { + "name": "Mortal40", + "fields": [ + { + "type": 2 + } + ], + "index": 40 + }, + { + "name": "Mortal41", + "fields": [ + { + "type": 2 + } + ], + "index": 41 + }, + { + "name": "Mortal42", + "fields": [ + { + "type": 2 + } + ], + "index": 42 + }, + { + "name": "Mortal43", + "fields": [ + { + "type": 2 + } + ], + "index": 43 + }, + { + "name": "Mortal44", + "fields": [ + { + "type": 2 + } + ], + "index": 44 + }, + { + "name": "Mortal45", + "fields": [ + { + "type": 2 + } + ], + "index": 45 + }, + { + "name": "Mortal46", + "fields": [ + { + "type": 2 + } + ], + "index": 46 + }, + { + "name": "Mortal47", + "fields": [ + { + "type": 2 + } + ], + "index": 47 + }, + { + "name": "Mortal48", + "fields": [ + { + "type": 2 + } + ], + "index": 48 + }, + { + "name": "Mortal49", + "fields": [ + { + "type": 2 + } + ], + "index": 49 + }, + { + "name": "Mortal50", + "fields": [ + { + "type": 2 + } + ], + "index": 50 + }, + { + "name": "Mortal51", + "fields": [ + { + "type": 2 + } + ], + "index": 51 + }, + { + "name": "Mortal52", + "fields": [ + { + "type": 2 + } + ], + "index": 52 + }, + { + "name": "Mortal53", + "fields": [ + { + "type": 2 + } + ], + "index": 53 + }, + { + "name": "Mortal54", + "fields": [ + { + "type": 2 + } + ], + "index": 54 + }, + { + "name": "Mortal55", + "fields": [ + { + "type": 2 + } + ], + "index": 55 + }, + { + "name": "Mortal56", + "fields": [ + { + "type": 2 + } + ], + "index": 56 + }, + { + "name": "Mortal57", + "fields": [ + { + "type": 2 + } + ], + "index": 57 + }, + { + "name": "Mortal58", + "fields": [ + { + "type": 2 + } + ], + "index": 58 + }, + { + "name": "Mortal59", + "fields": [ + { + "type": 2 + } + ], + "index": 59 + }, + { + "name": "Mortal60", + "fields": [ + { + "type": 2 + } + ], + "index": 60 + }, + { + "name": "Mortal61", + "fields": [ + { + "type": 2 + } + ], + "index": 61 + }, + { + "name": "Mortal62", + "fields": [ + { + "type": 2 + } + ], + "index": 62 + }, + { + "name": "Mortal63", + "fields": [ + { + "type": 2 + } + ], + "index": 63 + }, + { + "name": "Mortal64", + "fields": [ + { + "type": 2 + } + ], + "index": 64 + }, + { + "name": "Mortal65", + "fields": [ + { + "type": 2 + } + ], + "index": 65 + }, + { + "name": "Mortal66", + "fields": [ + { + "type": 2 + } + ], + "index": 66 + }, + { + "name": "Mortal67", + "fields": [ + { + "type": 2 + } + ], + "index": 67 + }, + { + "name": "Mortal68", + "fields": [ + { + "type": 2 + } + ], + "index": 68 + }, + { + "name": "Mortal69", + "fields": [ + { + "type": 2 + } + ], + "index": 69 + }, + { + "name": "Mortal70", + "fields": [ + { + "type": 2 + } + ], + "index": 70 + }, + { + "name": "Mortal71", + "fields": [ + { + "type": 2 + } + ], + "index": 71 + }, + { + "name": "Mortal72", + "fields": [ + { + "type": 2 + } + ], + "index": 72 + }, + { + "name": "Mortal73", + "fields": [ + { + "type": 2 + } + ], + "index": 73 + }, + { + "name": "Mortal74", + "fields": [ + { + "type": 2 + } + ], + "index": 74 + }, + { + "name": "Mortal75", + "fields": [ + { + "type": 2 + } + ], + "index": 75 + }, + { + "name": "Mortal76", + "fields": [ + { + "type": 2 + } + ], + "index": 76 + }, + { + "name": "Mortal77", + "fields": [ + { + "type": 2 + } + ], + "index": 77 + }, + { + "name": "Mortal78", + "fields": [ + { + "type": 2 + } + ], + "index": 78 + }, + { + "name": "Mortal79", + "fields": [ + { + "type": 2 + } + ], + "index": 79 + }, + { + "name": "Mortal80", + "fields": [ + { + "type": 2 + } + ], + "index": 80 + }, + { + "name": "Mortal81", + "fields": [ + { + "type": 2 + } + ], + "index": 81 + }, + { + "name": "Mortal82", + "fields": [ + { + "type": 2 + } + ], + "index": 82 + }, + { + "name": "Mortal83", + "fields": [ + { + "type": 2 + } + ], + "index": 83 + }, + { + "name": "Mortal84", + "fields": [ + { + "type": 2 + } + ], + "index": 84 + }, + { + "name": "Mortal85", + "fields": [ + { + "type": 2 + } + ], + "index": 85 + }, + { + "name": "Mortal86", + "fields": [ + { + "type": 2 + } + ], + "index": 86 + }, + { + "name": "Mortal87", + "fields": [ + { + "type": 2 + } + ], + "index": 87 + }, + { + "name": "Mortal88", + "fields": [ + { + "type": 2 + } + ], + "index": 88 + }, + { + "name": "Mortal89", + "fields": [ + { + "type": 2 + } + ], + "index": 89 + }, + { + "name": "Mortal90", + "fields": [ + { + "type": 2 + } + ], + "index": 90 + }, + { + "name": "Mortal91", + "fields": [ + { + "type": 2 + } + ], + "index": 91 + }, + { + "name": "Mortal92", + "fields": [ + { + "type": 2 + } + ], + "index": 92 + }, + { + "name": "Mortal93", + "fields": [ + { + "type": 2 + } + ], + "index": 93 + }, + { + "name": "Mortal94", + "fields": [ + { + "type": 2 + } + ], + "index": 94 + }, + { + "name": "Mortal95", + "fields": [ + { + "type": 2 + } + ], + "index": 95 + }, + { + "name": "Mortal96", + "fields": [ + { + "type": 2 + } + ], + "index": 96 + }, + { + "name": "Mortal97", + "fields": [ + { + "type": 2 + } + ], + "index": 97 + }, + { + "name": "Mortal98", + "fields": [ + { + "type": 2 + } + ], + "index": 98 + }, + { + "name": "Mortal99", + "fields": [ + { + "type": 2 + } + ], + "index": 99 + }, + { + "name": "Mortal100", + "fields": [ + { + "type": 2 + } + ], + "index": 100 + }, + { + "name": "Mortal101", + "fields": [ + { + "type": 2 + } + ], + "index": 101 + }, + { + "name": "Mortal102", + "fields": [ + { + "type": 2 + } + ], + "index": 102 + }, + { + "name": "Mortal103", + "fields": [ + { + "type": 2 + } + ], + "index": 103 + }, + { + "name": "Mortal104", + "fields": [ + { + "type": 2 + } + ], + "index": 104 + }, + { + "name": "Mortal105", + "fields": [ + { + "type": 2 + } + ], + "index": 105 + }, + { + "name": "Mortal106", + "fields": [ + { + "type": 2 + } + ], + "index": 106 + }, + { + "name": "Mortal107", + "fields": [ + { + "type": 2 + } + ], + "index": 107 + }, + { + "name": "Mortal108", + "fields": [ + { + "type": 2 + } + ], + "index": 108 + }, + { + "name": "Mortal109", + "fields": [ + { + "type": 2 + } + ], + "index": 109 + }, + { + "name": "Mortal110", + "fields": [ + { + "type": 2 + } + ], + "index": 110 + }, + { + "name": "Mortal111", + "fields": [ + { + "type": 2 + } + ], + "index": 111 + }, + { + "name": "Mortal112", + "fields": [ + { + "type": 2 + } + ], + "index": 112 + }, + { + "name": "Mortal113", + "fields": [ + { + "type": 2 + } + ], + "index": 113 + }, + { + "name": "Mortal114", + "fields": [ + { + "type": 2 + } + ], + "index": 114 + }, + { + "name": "Mortal115", + "fields": [ + { + "type": 2 + } + ], + "index": 115 + }, + { + "name": "Mortal116", + "fields": [ + { + "type": 2 + } + ], + "index": 116 + }, + { + "name": "Mortal117", + "fields": [ + { + "type": 2 + } + ], + "index": 117 + }, + { + "name": "Mortal118", + "fields": [ + { + "type": 2 + } + ], + "index": 118 + }, + { + "name": "Mortal119", + "fields": [ + { + "type": 2 + } + ], + "index": 119 + }, + { + "name": "Mortal120", + "fields": [ + { + "type": 2 + } + ], + "index": 120 + }, + { + "name": "Mortal121", + "fields": [ + { + "type": 2 + } + ], + "index": 121 + }, + { + "name": "Mortal122", + "fields": [ + { + "type": 2 + } + ], + "index": 122 + }, + { + "name": "Mortal123", + "fields": [ + { + "type": 2 + } + ], + "index": 123 + }, + { + "name": "Mortal124", + "fields": [ + { + "type": 2 + } + ], + "index": 124 + }, + { + "name": "Mortal125", + "fields": [ + { + "type": 2 + } + ], + "index": 125 + }, + { + "name": "Mortal126", + "fields": [ + { + "type": 2 + } + ], + "index": 126 + }, + { + "name": "Mortal127", + "fields": [ + { + "type": 2 + } + ], + "index": 127 + }, + { + "name": "Mortal128", + "fields": [ + { + "type": 2 + } + ], + "index": 128 + }, + { + "name": "Mortal129", + "fields": [ + { + "type": 2 + } + ], + "index": 129 + }, + { + "name": "Mortal130", + "fields": [ + { + "type": 2 + } + ], + "index": 130 + }, + { + "name": "Mortal131", + "fields": [ + { + "type": 2 + } + ], + "index": 131 + }, + { + "name": "Mortal132", + "fields": [ + { + "type": 2 + } + ], + "index": 132 + }, + { + "name": "Mortal133", + "fields": [ + { + "type": 2 + } + ], + "index": 133 + }, + { + "name": "Mortal134", + "fields": [ + { + "type": 2 + } + ], + "index": 134 + }, + { + "name": "Mortal135", + "fields": [ + { + "type": 2 + } + ], + "index": 135 + }, + { + "name": "Mortal136", + "fields": [ + { + "type": 2 + } + ], + "index": 136 + }, + { + "name": "Mortal137", + "fields": [ + { + "type": 2 + } + ], + "index": 137 + }, + { + "name": "Mortal138", + "fields": [ + { + "type": 2 + } + ], + "index": 138 + }, + { + "name": "Mortal139", + "fields": [ + { + "type": 2 + } + ], + "index": 139 + }, + { + "name": "Mortal140", + "fields": [ + { + "type": 2 + } + ], + "index": 140 + }, + { + "name": "Mortal141", + "fields": [ + { + "type": 2 + } + ], + "index": 141 + }, + { + "name": "Mortal142", + "fields": [ + { + "type": 2 + } + ], + "index": 142 + }, + { + "name": "Mortal143", + "fields": [ + { + "type": 2 + } + ], + "index": 143 + }, + { + "name": "Mortal144", + "fields": [ + { + "type": 2 + } + ], + "index": 144 + }, + { + "name": "Mortal145", + "fields": [ + { + "type": 2 + } + ], + "index": 145 + }, + { + "name": "Mortal146", + "fields": [ + { + "type": 2 + } + ], + "index": 146 + }, + { + "name": "Mortal147", + "fields": [ + { + "type": 2 + } + ], + "index": 147 + }, + { + "name": "Mortal148", + "fields": [ + { + "type": 2 + } + ], + "index": 148 + }, + { + "name": "Mortal149", + "fields": [ + { + "type": 2 + } + ], + "index": 149 + }, + { + "name": "Mortal150", + "fields": [ + { + "type": 2 + } + ], + "index": 150 + }, + { + "name": "Mortal151", + "fields": [ + { + "type": 2 + } + ], + "index": 151 + }, + { + "name": "Mortal152", + "fields": [ + { + "type": 2 + } + ], + "index": 152 + }, + { + "name": "Mortal153", + "fields": [ + { + "type": 2 + } + ], + "index": 153 + }, + { + "name": "Mortal154", + "fields": [ + { + "type": 2 + } + ], + "index": 154 + }, + { + "name": "Mortal155", + "fields": [ + { + "type": 2 + } + ], + "index": 155 + }, + { + "name": "Mortal156", + "fields": [ + { + "type": 2 + } + ], + "index": 156 + }, + { + "name": "Mortal157", + "fields": [ + { + "type": 2 + } + ], + "index": 157 + }, + { + "name": "Mortal158", + "fields": [ + { + "type": 2 + } + ], + "index": 158 + }, + { + "name": "Mortal159", + "fields": [ + { + "type": 2 + } + ], + "index": 159 + }, + { + "name": "Mortal160", + "fields": [ + { + "type": 2 + } + ], + "index": 160 + }, + { + "name": "Mortal161", + "fields": [ + { + "type": 2 + } + ], + "index": 161 + }, + { + "name": "Mortal162", + "fields": [ + { + "type": 2 + } + ], + "index": 162 + }, + { + "name": "Mortal163", + "fields": [ + { + "type": 2 + } + ], + "index": 163 + }, + { + "name": "Mortal164", + "fields": [ + { + "type": 2 + } + ], + "index": 164 + }, + { + "name": "Mortal165", + "fields": [ + { + "type": 2 + } + ], + "index": 165 + }, + { + "name": "Mortal166", + "fields": [ + { + "type": 2 + } + ], + "index": 166 + }, + { + "name": "Mortal167", + "fields": [ + { + "type": 2 + } + ], + "index": 167 + }, + { + "name": "Mortal168", + "fields": [ + { + "type": 2 + } + ], + "index": 168 + }, + { + "name": "Mortal169", + "fields": [ + { + "type": 2 + } + ], + "index": 169 + }, + { + "name": "Mortal170", + "fields": [ + { + "type": 2 + } + ], + "index": 170 + }, + { + "name": "Mortal171", + "fields": [ + { + "type": 2 + } + ], + "index": 171 + }, + { + "name": "Mortal172", + "fields": [ + { + "type": 2 + } + ], + "index": 172 + }, + { + "name": "Mortal173", + "fields": [ + { + "type": 2 + } + ], + "index": 173 + }, + { + "name": "Mortal174", + "fields": [ + { + "type": 2 + } + ], + "index": 174 + }, + { + "name": "Mortal175", + "fields": [ + { + "type": 2 + } + ], + "index": 175 + }, + { + "name": "Mortal176", + "fields": [ + { + "type": 2 + } + ], + "index": 176 + }, + { + "name": "Mortal177", + "fields": [ + { + "type": 2 + } + ], + "index": 177 + }, + { + "name": "Mortal178", + "fields": [ + { + "type": 2 + } + ], + "index": 178 + }, + { + "name": "Mortal179", + "fields": [ + { + "type": 2 + } + ], + "index": 179 + }, + { + "name": "Mortal180", + "fields": [ + { + "type": 2 + } + ], + "index": 180 + }, + { + "name": "Mortal181", + "fields": [ + { + "type": 2 + } + ], + "index": 181 + }, + { + "name": "Mortal182", + "fields": [ + { + "type": 2 + } + ], + "index": 182 + }, + { + "name": "Mortal183", + "fields": [ + { + "type": 2 + } + ], + "index": 183 + }, + { + "name": "Mortal184", + "fields": [ + { + "type": 2 + } + ], + "index": 184 + }, + { + "name": "Mortal185", + "fields": [ + { + "type": 2 + } + ], + "index": 185 + }, + { + "name": "Mortal186", + "fields": [ + { + "type": 2 + } + ], + "index": 186 + }, + { + "name": "Mortal187", + "fields": [ + { + "type": 2 + } + ], + "index": 187 + }, + { + "name": "Mortal188", + "fields": [ + { + "type": 2 + } + ], + "index": 188 + }, + { + "name": "Mortal189", + "fields": [ + { + "type": 2 + } + ], + "index": 189 + }, + { + "name": "Mortal190", + "fields": [ + { + "type": 2 + } + ], + "index": 190 + }, + { + "name": "Mortal191", + "fields": [ + { + "type": 2 + } + ], + "index": 191 + }, + { + "name": "Mortal192", + "fields": [ + { + "type": 2 + } + ], + "index": 192 + }, + { + "name": "Mortal193", + "fields": [ + { + "type": 2 + } + ], + "index": 193 + }, + { + "name": "Mortal194", + "fields": [ + { + "type": 2 + } + ], + "index": 194 + }, + { + "name": "Mortal195", + "fields": [ + { + "type": 2 + } + ], + "index": 195 + }, + { + "name": "Mortal196", + "fields": [ + { + "type": 2 + } + ], + "index": 196 + }, + { + "name": "Mortal197", + "fields": [ + { + "type": 2 + } + ], + "index": 197 + }, + { + "name": "Mortal198", + "fields": [ + { + "type": 2 + } + ], + "index": 198 + }, + { + "name": "Mortal199", + "fields": [ + { + "type": 2 + } + ], + "index": 199 + }, + { + "name": "Mortal200", + "fields": [ + { + "type": 2 + } + ], + "index": 200 + }, + { + "name": "Mortal201", + "fields": [ + { + "type": 2 + } + ], + "index": 201 + }, + { + "name": "Mortal202", + "fields": [ + { + "type": 2 + } + ], + "index": 202 + }, + { + "name": "Mortal203", + "fields": [ + { + "type": 2 + } + ], + "index": 203 + }, + { + "name": "Mortal204", + "fields": [ + { + "type": 2 + } + ], + "index": 204 + }, + { + "name": "Mortal205", + "fields": [ + { + "type": 2 + } + ], + "index": 205 + }, + { + "name": "Mortal206", + "fields": [ + { + "type": 2 + } + ], + "index": 206 + }, + { + "name": "Mortal207", + "fields": [ + { + "type": 2 + } + ], + "index": 207 + }, + { + "name": "Mortal208", + "fields": [ + { + "type": 2 + } + ], + "index": 208 + }, + { + "name": "Mortal209", + "fields": [ + { + "type": 2 + } + ], + "index": 209 + }, + { + "name": "Mortal210", + "fields": [ + { + "type": 2 + } + ], + "index": 210 + }, + { + "name": "Mortal211", + "fields": [ + { + "type": 2 + } + ], + "index": 211 + }, + { + "name": "Mortal212", + "fields": [ + { + "type": 2 + } + ], + "index": 212 + }, + { + "name": "Mortal213", + "fields": [ + { + "type": 2 + } + ], + "index": 213 + }, + { + "name": "Mortal214", + "fields": [ + { + "type": 2 + } + ], + "index": 214 + }, + { + "name": "Mortal215", + "fields": [ + { + "type": 2 + } + ], + "index": 215 + }, + { + "name": "Mortal216", + "fields": [ + { + "type": 2 + } + ], + "index": 216 + }, + { + "name": "Mortal217", + "fields": [ + { + "type": 2 + } + ], + "index": 217 + }, + { + "name": "Mortal218", + "fields": [ + { + "type": 2 + } + ], + "index": 218 + }, + { + "name": "Mortal219", + "fields": [ + { + "type": 2 + } + ], + "index": 219 + }, + { + "name": "Mortal220", + "fields": [ + { + "type": 2 + } + ], + "index": 220 + }, + { + "name": "Mortal221", + "fields": [ + { + "type": 2 + } + ], + "index": 221 + }, + { + "name": "Mortal222", + "fields": [ + { + "type": 2 + } + ], + "index": 222 + }, + { + "name": "Mortal223", + "fields": [ + { + "type": 2 + } + ], + "index": 223 + }, + { + "name": "Mortal224", + "fields": [ + { + "type": 2 + } + ], + "index": 224 + }, + { + "name": "Mortal225", + "fields": [ + { + "type": 2 + } + ], + "index": 225 + }, + { + "name": "Mortal226", + "fields": [ + { + "type": 2 + } + ], + "index": 226 + }, + { + "name": "Mortal227", + "fields": [ + { + "type": 2 + } + ], + "index": 227 + }, + { + "name": "Mortal228", + "fields": [ + { + "type": 2 + } + ], + "index": 228 + }, + { + "name": "Mortal229", + "fields": [ + { + "type": 2 + } + ], + "index": 229 + }, + { + "name": "Mortal230", + "fields": [ + { + "type": 2 + } + ], + "index": 230 + }, + { + "name": "Mortal231", + "fields": [ + { + "type": 2 + } + ], + "index": 231 + }, + { + "name": "Mortal232", + "fields": [ + { + "type": 2 + } + ], + "index": 232 + }, + { + "name": "Mortal233", + "fields": [ + { + "type": 2 + } + ], + "index": 233 + }, + { + "name": "Mortal234", + "fields": [ + { + "type": 2 + } + ], + "index": 234 + }, + { + "name": "Mortal235", + "fields": [ + { + "type": 2 + } + ], + "index": 235 + }, + { + "name": "Mortal236", + "fields": [ + { + "type": 2 + } + ], + "index": 236 + }, + { + "name": "Mortal237", + "fields": [ + { + "type": 2 + } + ], + "index": 237 + }, + { + "name": "Mortal238", + "fields": [ + { + "type": 2 + } + ], + "index": 238 + }, + { + "name": "Mortal239", + "fields": [ + { + "type": 2 + } + ], + "index": 239 + }, + { + "name": "Mortal240", + "fields": [ + { + "type": 2 + } + ], + "index": 240 + }, + { + "name": "Mortal241", + "fields": [ + { + "type": 2 + } + ], + "index": 241 + }, + { + "name": "Mortal242", + "fields": [ + { + "type": 2 + } + ], + "index": 242 + }, + { + "name": "Mortal243", + "fields": [ + { + "type": 2 + } + ], + "index": 243 + }, + { + "name": "Mortal244", + "fields": [ + { + "type": 2 + } + ], + "index": 244 + }, + { + "name": "Mortal245", + "fields": [ + { + "type": 2 + } + ], + "index": 245 + }, + { + "name": "Mortal246", + "fields": [ + { + "type": 2 + } + ], + "index": 246 + }, + { + "name": "Mortal247", + "fields": [ + { + "type": 2 + } + ], + "index": 247 + }, + { + "name": "Mortal248", + "fields": [ + { + "type": 2 + } + ], + "index": 248 + }, + { + "name": "Mortal249", + "fields": [ + { + "type": 2 + } + ], + "index": 249 + }, + { + "name": "Mortal250", + "fields": [ + { + "type": 2 + } + ], + "index": 250 + }, + { + "name": "Mortal251", + "fields": [ + { + "type": 2 + } + ], + "index": 251 + }, + { + "name": "Mortal252", + "fields": [ + { + "type": 2 + } + ], + "index": 252 + }, + { + "name": "Mortal253", + "fields": [ + { + "type": 2 + } + ], + "index": 253 + }, + { + "name": "Mortal254", + "fields": [ + { + "type": 2 + } + ], + "index": 254 + }, + { + "name": "Mortal255", + "fields": [ + { + "type": 2 + } + ], + "index": 255 + } + ] + } + } + } + }, + { + "id": 155, + "type": { + "path": [ + "frame_system", + "extensions", + "check_nonce", + "CheckNonce" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 48, + "typeName": "T::Nonce" + } + ] + } + } + } + }, + { + "id": 156, + "type": { + "path": [ + "frame_system", + "extensions", + "check_weight", + "CheckWeight" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 157, + "type": { + "path": [ + "pallet_transaction_payment", + "ChargeTransactionPayment" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 77, + "typeName": "BalanceOf" + } + ] + } + } + } + }, + { + "id": 158, + "type": { + "path": [ + "sp_runtime", + "generic", + "block", + "Block" + ], + "params": [ + { + "name": "Header", + "type": 159 + }, + { + "name": "Extrinsic", + "type": 160 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "header", + "type": 159, + "typeName": "Header" + }, + { + "name": "extrinsics", + "type": 161, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 159, + "type": { + "path": [ + "sp_runtime", + "generic", + "header", + "Header" + ], + "params": [ + { + "name": "Number", + "type": 4 + }, + { + "name": "Hash", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "parent_hash", + "type": 12, + "typeName": "Hash::Output" + }, + { + "name": "number", + "type": 48, + "typeName": "Number" + }, + { + "name": "state_root", + "type": 12, + "typeName": "Hash::Output" + }, + { + "name": "extrinsics_root", + "type": 12, + "typeName": "Hash::Output" + }, + { + "name": "digest", + "type": 14, + "typeName": "Digest" + } + ] + } + } + } + }, + { + "id": 160, + "type": { + "path": [ + "sp_runtime", + "generic", + "unchecked_extrinsic", + "UncheckedExtrinsic" + ], + "params": [ + { + "name": "Address", + "type": 74 + }, + { + "name": "Call", + "type": 71 + }, + { + "name": "Signature", + "type": 142 + }, + { + "name": "Extra", + "type": 148 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13 + } + ] + } + } + } + }, + { + "id": 161, + "type": { + "def": { + "sequence": { + "type": 160 + } + } + } + }, + { + "id": 162, + "type": { + "path": [ + "sp_core", + "OpaqueMetadata" + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 163, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 162 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 162 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 164, + "type": { + "def": { + "sequence": { + "type": 4 + } + } + } + }, + { + "id": 165, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 31 + }, + { + "name": "E", + "type": 166 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 31 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 166 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 166, + "type": { + "path": [ + "sp_runtime", + "transaction_validity", + "TransactionValidityError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Invalid", + "fields": [ + { + "type": 167, + "typeName": "InvalidTransaction" + } + ], + "index": 0 + }, + { + "name": "Unknown", + "fields": [ + { + "type": 168, + "typeName": "UnknownTransaction" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 167, + "type": { + "path": [ + "sp_runtime", + "transaction_validity", + "InvalidTransaction" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Call", + "index": 0 + }, + { + "name": "Payment", + "index": 1 + }, + { + "name": "Future", + "index": 2 + }, + { + "name": "Stale", + "index": 3 + }, + { + "name": "BadProof", + "index": 4 + }, + { + "name": "AncientBirthBlock", + "index": 5 + }, + { + "name": "ExhaustsResources", + "index": 6 + }, + { + "name": "Custom", + "fields": [ + { + "type": 2, + "typeName": "u8" + } + ], + "index": 7 + }, + { + "name": "BadMandatory", + "index": 8 + }, + { + "name": "MandatoryValidation", + "index": 9 + }, + { + "name": "BadSigner", + "index": 10 + } + ] + } + } + } + }, + { + "id": 168, + "type": { + "path": [ + "sp_runtime", + "transaction_validity", + "UnknownTransaction" + ], + "def": { + "variant": { + "variants": [ + { + "name": "CannotLookup", + "index": 0 + }, + { + "name": "NoUnsignedValidator", + "index": 1 + }, + { + "name": "Custom", + "fields": [ + { + "type": 2, + "typeName": "u8" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 169, + "type": { + "path": [ + "sp_inherents", + "InherentData" + ], + "def": { + "composite": { + "fields": [ + { + "name": "data", + "type": 170, + "typeName": "BTreeMap>" + } + ] + } + } + } + }, + { + "id": 170, + "type": { + "path": [ + "BTreeMap" + ], + "params": [ + { + "name": "K", + "type": 65 + }, + { + "name": "V", + "type": 13 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 171 + } + ] + } + } + } + }, + { + "id": 171, + "type": { + "def": { + "sequence": { + "type": 172 + } + } + } + }, + { + "id": 172, + "type": { + "def": { + "tuple": [ + 65, + 13 + ] + } + } + }, + { + "id": 173, + "type": { + "path": [ + "sp_inherents", + "CheckInherentsResult" + ], + "def": { + "composite": { + "fields": [ + { + "name": "okay", + "type": 42, + "typeName": "bool" + }, + { + "name": "fatal_error", + "type": 42, + "typeName": "bool" + }, + { + "name": "errors", + "type": 169, + "typeName": "InherentData" + } + ] + } + } + } + }, + { + "id": 174, + "type": { + "path": [ + "sp_runtime", + "transaction_validity", + "TransactionSource" + ], + "def": { + "variant": { + "variants": [ + { + "name": "InBlock", + "index": 0 + }, + { + "name": "Local", + "index": 1 + }, + { + "name": "External", + "index": 2 + } + ] + } + } + } + }, + { + "id": 175, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 176 + }, + { + "name": "E", + "type": 166 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 176 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 166 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 176, + "type": { + "path": [ + "sp_runtime", + "transaction_validity", + "ValidTransaction" + ], + "def": { + "composite": { + "fields": [ + { + "name": "priority", + "type": 11, + "typeName": "TransactionPriority" + }, + { + "name": "requires", + "type": 53, + "typeName": "Vec" + }, + { + "name": "provides", + "type": 53, + "typeName": "Vec" + }, + { + "name": "longevity", + "type": 11, + "typeName": "TransactionLongevity" + }, + { + "name": "propagate", + "type": 42, + "typeName": "bool" + } + ] + } + } + } + }, + { + "id": 177, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 13 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 13 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 178, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 179 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 179 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 179, + "type": { + "def": { + "sequence": { + "type": 180 + } + } + } + }, + { + "id": 180, + "type": { + "def": { + "tuple": [ + 13, + 181 + ] + } + } + }, + { + "id": 181, + "type": { + "path": [ + "sp_core", + "crypto", + "KeyTypeId" + ], + "def": { + "composite": { + "fields": [ + { + "type": 17, + "typeName": "[u8; 4]" + } + ] + } + } + } + }, + { + "id": 182, + "type": { + "path": [ + "pallet_transaction_payment", + "types", + "RuntimeDispatchInfo" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "Weight", + "type": 9 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "weight", + "type": 9, + "typeName": "Weight" + }, + { + "name": "class", + "type": 23, + "typeName": "DispatchClass" + }, + { + "name": "partial_fee", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 183, + "type": { + "path": [ + "pallet_transaction_payment", + "types", + "FeeDetails" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "inclusion_fee", + "type": 184, + "typeName": "Option>" + }, + { + "name": "tip", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 184, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 185 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 185 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 185, + "type": { + "path": [ + "pallet_transaction_payment", + "types", + "InclusionFee" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "base_fee", + "type": 6, + "typeName": "Balance" + }, + { + "name": "len_fee", + "type": 6, + "typeName": "Balance" + }, + { + "name": "adjusted_weight_fee", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 186, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 6 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 187, + "type": { + "path": [ + "pallet_contracts_primitives", + "ContractResult" + ], + "params": [ + { + "name": "R", + "type": 188 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "EventRecord", + "type": 19 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "gas_consumed", + "type": 9, + "typeName": "Weight" + }, + { + "name": "gas_required", + "type": 9, + "typeName": "Weight" + }, + { + "name": "storage_deposit", + "type": 191, + "typeName": "StorageDeposit" + }, + { + "name": "debug_message", + "type": 13, + "typeName": "Vec" + }, + { + "name": "result", + "type": 188, + "typeName": "R" + }, + { + "name": "events", + "type": 192, + "typeName": "Option>" + } + ] + } + } + } + }, + { + "id": 188, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 189 + }, + { + "name": "E", + "type": 25 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 189 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 25 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 189, + "type": { + "path": [ + "pallet_contracts_primitives", + "ExecReturnValue" + ], + "def": { + "composite": { + "fields": [ + { + "name": "flags", + "type": 190, + "typeName": "ReturnFlags" + }, + { + "name": "data", + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 190, + "type": { + "path": [ + "pallet_contracts_primitives", + "ReturnFlags" + ], + "def": { + "composite": { + "fields": [ + { + "name": "bits", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 191, + "type": { + "path": [ + "pallet_contracts_primitives", + "StorageDeposit" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Refund", + "fields": [ + { + "type": 6, + "typeName": "Balance" + } + ], + "index": 0 + }, + { + "name": "Charge", + "fields": [ + { + "type": 6, + "typeName": "Balance" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 192, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 193 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 193 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 193, + "type": { + "def": { + "sequence": { + "type": 19 + } + } + } + }, + { + "id": 194, + "type": { + "path": [ + "pallet_contracts_primitives", + "Code" + ], + "params": [ + { + "name": "Hash", + "type": 12 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Upload", + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 0 + }, + { + "name": "Existing", + "fields": [ + { + "type": 12, + "typeName": "Hash" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 195, + "type": { + "path": [ + "pallet_contracts_primitives", + "ContractResult" + ], + "params": [ + { + "name": "R", + "type": 196 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "EventRecord", + "type": 19 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "gas_consumed", + "type": 9, + "typeName": "Weight" + }, + { + "name": "gas_required", + "type": 9, + "typeName": "Weight" + }, + { + "name": "storage_deposit", + "type": 191, + "typeName": "StorageDeposit" + }, + { + "name": "debug_message", + "type": 13, + "typeName": "Vec" + }, + { + "name": "result", + "type": 196, + "typeName": "R" + }, + { + "name": "events", + "type": 192, + "typeName": "Option>" + } + ] + } + } + } + }, + { + "id": 196, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 197 + }, + { + "name": "E", + "type": 25 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 197 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 25 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 197, + "type": { + "path": [ + "pallet_contracts_primitives", + "InstantiateReturnValue" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "result", + "type": 189, + "typeName": "ExecReturnValue" + }, + { + "name": "account_id", + "type": 0, + "typeName": "AccountId" + } + ] + } + } + } + }, + { + "id": 198, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 199 + }, + { + "name": "E", + "type": 25 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 199 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 25 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 199, + "type": { + "path": [ + "pallet_contracts_primitives", + "CodeUploadReturnValue" + ], + "params": [ + { + "name": "CodeHash", + "type": 12 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "code_hash", + "type": 12, + "typeName": "CodeHash" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 200, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 177 + }, + { + "name": "E", + "type": 201 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 177 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 201 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 201, + "type": { + "path": [ + "pallet_contracts_primitives", + "ContractAccessError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "DoesntExist", + "index": 0 + }, + { + "name": "KeyDecodingFailed", + "index": 1 + }, + { + "name": "MigrationInProgress", + "index": 2 + } + ] + } + } + } + }, + { + "id": 202, + "type": { + "path": [ + "contracts_node_runtime", + "RuntimeError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "System", + "fields": [ + { + "type": 67, + "typeName": "frame_system::Error" + } + ], + "index": 0 + }, + { + "name": "Utility", + "fields": [ + { + "type": 87, + "typeName": "pallet_utility::Error" + } + ], + "index": 2 + }, + { + "name": "Balances", + "fields": [ + { + "type": 103, + "typeName": "pallet_balances::Error" + } + ], + "index": 4 + }, + { + "name": "Sudo", + "fields": [ + { + "type": 106, + "typeName": "pallet_sudo::Error" + } + ], + "index": 7 + }, + { + "name": "Contracts", + "fields": [ + { + "type": 130, + "typeName": "pallet_contracts::Error" + } + ], + "index": 8 + }, + { + "name": "Assets", + "fields": [ + { + "type": 141, + "typeName": "pallet_assets::Error" + } + ], + "index": 9 + } + ] + } + } + } + } + ] + }, + "pallets": [ + { + "name": "System", + "storage": { + "prefix": "System", + "entries": [ + { + "name": "Account", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 3 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 128 + ], + "docs": [ + " The full account information for a particular account ID." + ] + }, + { + "name": "ExtrinsicCount", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " Total extrinsics count for the current block." + ] + }, + { + "name": "BlockWeight", + "modifier": "Default", + "ty": { + "Plain": 8 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The current weight for the block." + ] + }, + { + "name": "AllExtrinsicsLen", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " Total length (in bytes) for all extrinsics put together, for the current block." + ] + }, + { + "name": "BlockHash", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 12 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Map of block numbers to block hashes." + ] + }, + { + "name": "ExtrinsicData", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 13 + } + }, + "default": [ + 0 + ], + "docs": [ + " Extrinsics data for the current block (maps an extrinsic's index to its data)." + ] + }, + { + "name": "Number", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The current block number being processed. Set by `execute_block`." + ] + }, + { + "name": "ParentHash", + "modifier": "Default", + "ty": { + "Plain": 12 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Hash of the previous block." + ] + }, + { + "name": "Digest", + "modifier": "Default", + "ty": { + "Plain": 14 + }, + "default": [ + 0 + ], + "docs": [ + " Digest of the current block, also part of the block header." + ] + }, + { + "name": "Events", + "modifier": "Default", + "ty": { + "Plain": 18 + }, + "default": [ + 0 + ], + "docs": [ + " Events deposited for the current block.", + "", + " NOTE: The item is unbound and should therefore never be read on chain.", + " It could otherwise inflate the PoV size of a block.", + "", + " Events have a large in-memory size. Box the events to not go out-of-memory", + " just in case someone still reads them from within the runtime." + ] + }, + { + "name": "EventCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The number of events in the `Events` list." + ] + }, + { + "name": "EventTopics", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 12, + "value": 45 + } + }, + "default": [ + 0 + ], + "docs": [ + " Mapping between a topic (represented by T::Hash) and a vector of indexes", + " of events in the `>` list.", + "", + " All topic vectors have deterministic storage locations depending on the topic. This", + " allows light-clients to leverage the changes trie storage tracking mechanism and", + " in case of changes fetch the list of events of interest.", + "", + " The value has the type `(BlockNumberFor, EventIndex)` because if we used only just", + " the `EventIndex` then in case if the topic has the same contents on the next block", + " no notification will be triggered thus the event might be lost." + ] + }, + { + "name": "LastRuntimeUpgrade", + "modifier": "Optional", + "ty": { + "Plain": 47 + }, + "default": [ + 0 + ], + "docs": [ + " Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened." + ] + }, + { + "name": "UpgradedToU32RefCount", + "modifier": "Default", + "ty": { + "Plain": 42 + }, + "default": [ + 0 + ], + "docs": [ + " True if we have upgraded so that `type RefCount` is `u32`. False (default) if not." + ] + }, + { + "name": "UpgradedToTripleRefCount", + "modifier": "Default", + "ty": { + "Plain": 42 + }, + "default": [ + 0 + ], + "docs": [ + " True if we have upgraded so that AccountInfo contains three types of `RefCount`. False", + " (default) if not." + ] + }, + { + "name": "ExecutionPhase", + "modifier": "Optional", + "ty": { + "Plain": 43 + }, + "default": [ + 0 + ], + "docs": [ + " The execution phase of the block." + ] + } + ] + }, + "calls": { + "ty": 50 + }, + "event": { + "ty": 21 + }, + "constants": [ + { + "name": "BlockWeights", + "ty": 54, + "value": [ + 2, + 91, + 31, + 93, + 0, + 11, + 0, + 32, + 74, + 169, + 209, + 1, + 19, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 194, + 160, + 169, + 29, + 0, + 1, + 11, + 208, + 95, + 159, + 166, + 46, + 1, + 19, + 102, + 102, + 102, + 102, + 102, + 102, + 102, + 166, + 1, + 11, + 0, + 152, + 247, + 62, + 93, + 1, + 19, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 191, + 1, + 0, + 0, + 194, + 160, + 169, + 29, + 0, + 1, + 11, + 208, + 231, + 241, + 16, + 163, + 1, + 19, + 102, + 102, + 102, + 102, + 102, + 102, + 102, + 230, + 1, + 11, + 0, + 32, + 74, + 169, + 209, + 1, + 19, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 1, + 7, + 0, + 136, + 82, + 106, + 116, + 19, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 64, + 194, + 160, + 169, + 29, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Block & extrinsics weights: base values and limits." + ] + }, + { + "name": "BlockLength", + "ty": 58, + "value": [ + 0, + 0, + 60, + 0, + 0, + 0, + 80, + 0, + 0, + 0, + 80, + 0 + ], + "docs": [ + " The maximum length of a block (in bytes)." + ] + }, + { + "name": "BlockHashCount", + "ty": 4, + "value": [ + 96, + 9, + 0, + 0 + ], + "docs": [ + " Maximum number of block number to block hash mappings to keep (oldest pruned first)." + ] + }, + { + "name": "DbWeight", + "ty": 60, + "value": [ + 64, + 120, + 125, + 1, + 0, + 0, + 0, + 0, + 0, + 225, + 245, + 5, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The weight of runtime database operations the runtime can invoke." + ] + }, + { + "name": "Version", + "ty": 61, + "value": [ + 96, + 115, + 117, + 98, + 115, + 116, + 114, + 97, + 116, + 101, + 45, + 99, + 111, + 110, + 116, + 114, + 97, + 99, + 116, + 115, + 45, + 110, + 111, + 100, + 101, + 96, + 115, + 117, + 98, + 115, + 116, + 114, + 97, + 116, + 101, + 45, + 99, + 111, + 110, + 116, + 114, + 97, + 99, + 116, + 115, + 45, + 110, + 111, + 100, + 101, + 1, + 0, + 0, + 0, + 100, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 40, + 223, + 106, + 203, + 104, + 153, + 7, + 96, + 155, + 4, + 0, + 0, + 0, + 55, + 227, + 151, + 252, + 124, + 145, + 245, + 228, + 2, + 0, + 0, + 0, + 64, + 254, + 58, + 212, + 1, + 248, + 149, + 154, + 6, + 0, + 0, + 0, + 210, + 188, + 152, + 151, + 238, + 208, + 143, + 21, + 3, + 0, + 0, + 0, + 247, + 139, + 39, + 139, + 229, + 63, + 69, + 76, + 2, + 0, + 0, + 0, + 171, + 60, + 5, + 114, + 41, + 31, + 235, + 139, + 1, + 0, + 0, + 0, + 188, + 157, + 137, + 144, + 79, + 91, + 146, + 63, + 1, + 0, + 0, + 0, + 55, + 200, + 187, + 19, + 80, + 169, + 162, + 168, + 4, + 0, + 0, + 0, + 243, + 255, + 20, + 213, + 171, + 82, + 112, + 89, + 3, + 0, + 0, + 0, + 104, + 182, + 107, + 161, + 34, + 201, + 63, + 167, + 2, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1 + ], + "docs": [ + " Get the chain's current version." + ] + }, + { + "name": "SS58Prefix", + "ty": 66, + "value": [ + 42, + 0 + ], + "docs": [ + " The designated SS58 prefix of this chain.", + "", + " This replaces the \"ss58Format\" property declared in the chain spec. Reason is", + " that the runtime should know about the prefix in order to make use of it as", + " an identifier of the chain." + ] + } + ], + "error": { + "ty": 67 + }, + "index": 0, + "docs": [] + }, + { + "name": "RandomnessCollectiveFlip", + "storage": { + "prefix": "RandomnessCollectiveFlip", + "entries": [ + { + "name": "RandomMaterial", + "modifier": "Default", + "ty": { + "Plain": 68 + }, + "default": [ + 0 + ], + "docs": [ + " Series of block headers from the last 81 blocks that acts as random seed material. This", + " is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of", + " the oldest hash." + ] + } + ] + }, + "calls": null, + "event": null, + "constants": [], + "error": null, + "index": 1, + "docs": [] + }, + { + "name": "Utility", + "storage": null, + "calls": { + "ty": 69 + }, + "event": { + "ty": 30 + }, + "constants": [ + { + "name": "batched_calls_limit", + "ty": 4, + "value": [ + 170, + 42, + 0, + 0 + ], + "docs": [ + " The limit on the number of batched calls." + ] + } + ], + "error": { + "ty": 87 + }, + "index": 2, + "docs": [] + }, + { + "name": "Timestamp", + "storage": { + "prefix": "Timestamp", + "entries": [ + { + "name": "Now", + "modifier": "Default", + "ty": { + "Plain": 11 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The current time for the current block." + ] + }, + { + "name": "DidUpdate", + "modifier": "Default", + "ty": { + "Plain": 42 + }, + "default": [ + 0 + ], + "docs": [ + " Whether the timestamp has been updated in this block.", + "", + " This value is updated to `true` upon successful submission of a timestamp by a node.", + " It is then checked at the end of each block execution in the `on_finalize` hook." + ] + } + ] + }, + "calls": { + "ty": 72 + }, + "event": null, + "constants": [ + { + "name": "MinimumPeriod", + "ty": 11, + "value": [ + 5, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum period between blocks.", + "", + " Be aware that this is different to the *expected* period that the block production", + " apparatus provides. Your chosen consensus system will generally work with this to", + " determine a sensible block time. For example, in the Aura pallet it will be double this", + " period on default settings." + ] + } + ], + "error": null, + "index": 3, + "docs": [] + }, + { + "name": "Balances", + "storage": { + "prefix": "Balances", + "entries": [ + { + "name": "TotalIssuance", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The total units issued in the system." + ] + }, + { + "name": "InactiveIssuance", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The total units of outstanding deactivated balance in the system." + ] + }, + { + "name": "Account", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 5 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 128 + ], + "docs": [ + " The Balances pallet example of storing the balance of an account.", + "", + " # Example", + "", + " ```nocompile", + " impl pallet_balances::Config for Runtime {", + " type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData>", + " }", + " ```", + "", + " You can also store the balance of an account in the `System` pallet.", + "", + " # Example", + "", + " ```nocompile", + " impl pallet_balances::Config for Runtime {", + " type AccountStore = System", + " }", + " ```", + "", + " But this comes with tradeoffs, storing account balances in the system pallet stores", + " `frame_system` data alongside the account data contrary to storing account balances in the", + " `Balances` pallet, which uses a `StorageMap` to store balances data only.", + " NOTE: This is only used in the case that this pallet is used to store balances." + ] + }, + { + "name": "Locks", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 88 + } + }, + "default": [ + 0 + ], + "docs": [ + " Any liquidity locks on some account balances.", + " NOTE: Should only be accessed when setting, changing and freeing a lock." + ] + }, + { + "name": "Reserves", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 92 + } + }, + "default": [ + 0 + ], + "docs": [ + " Named reserves on some account balances." + ] + }, + { + "name": "Holds", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 95 + } + }, + "default": [ + 0 + ], + "docs": [ + " Holds on account balances." + ] + }, + { + "name": "Freezes", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 100 + } + }, + "default": [ + 0 + ], + "docs": [ + " Freeze locks on account balances." + ] + } + ] + }, + "calls": { + "ty": 73 + }, + "event": { + "ty": 33 + }, + "constants": [ + { + "name": "ExistentialDeposit", + "ty": 6, + "value": [ + 0, + 202, + 154, + 59, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!", + "", + " If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for", + " this pallet. However, you do so at your own risk: this will open up a major DoS vector.", + " In case you have multiple sources of provider references, you may also get unexpected", + " behaviour if you set this to zero.", + "", + " Bottom line: Do yourself a favour and make it at least one!" + ] + }, + { + "name": "MaxLocks", + "ty": 4, + "value": [ + 50, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of locks that should exist on an account.", + " Not strictly enforced, but used for weight estimation." + ] + }, + { + "name": "MaxReserves", + "ty": 4, + "value": [ + 50, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of named reserves that can exist on an account." + ] + }, + { + "name": "MaxHolds", + "ty": 4, + "value": [ + 2, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of holds that can exist on an account at any time." + ] + }, + { + "name": "MaxFreezes", + "ty": 4, + "value": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of individual freeze locks that can exist on an account at any time." + ] + } + ], + "error": { + "ty": 103 + }, + "index": 4, + "docs": [] + }, + { + "name": "Authorship", + "storage": { + "prefix": "Authorship", + "entries": [ + { + "name": "Author", + "modifier": "Optional", + "ty": { + "Plain": 0 + }, + "default": [ + 0 + ], + "docs": [ + " Author of current block." + ] + } + ] + }, + "calls": null, + "event": null, + "constants": [], + "error": null, + "index": 5, + "docs": [] + }, + { + "name": "TransactionPayment", + "storage": { + "prefix": "TransactionPayment", + "entries": [ + { + "name": "NextFeeMultiplier", + "modifier": "Default", + "ty": { + "Plain": 104 + }, + "default": [ + 0, + 0, + 100, + 167, + 179, + 182, + 224, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [] + }, + { + "name": "StorageVersion", + "modifier": "Default", + "ty": { + "Plain": 105 + }, + "default": [ + 0 + ], + "docs": [] + } + ] + }, + "calls": null, + "event": { + "ty": 35 + }, + "constants": [ + { + "name": "OperationalFeeMultiplier", + "ty": 2, + "value": [ + 5 + ], + "docs": [ + " A fee mulitplier for `Operational` extrinsics to compute \"virtual tip\" to boost their", + " `priority`", + "", + " This value is multipled by the `final_fee` to obtain a \"virtual tip\" that is later", + " added to a tip component in regular `priority` calculations.", + " It means that a `Normal` transaction can front-run a similarly-sized `Operational`", + " extrinsic (with no tip), by including a tip value greater than the virtual tip.", + "", + " ```rust,ignore", + " // For `Normal`", + " let priority = priority_calc(tip);", + "", + " // For `Operational`", + " let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;", + " let priority = priority_calc(tip + virtual_tip);", + " ```", + "", + " Note that since we use `final_fee` the multiplier applies also to the regular `tip`", + " sent with the transaction. So, not only does the transaction get a priority bump based", + " on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`", + " transactions." + ] + } + ], + "error": null, + "index": 6, + "docs": [] + }, + { + "name": "Sudo", + "storage": { + "prefix": "Sudo", + "entries": [ + { + "name": "Key", + "modifier": "Optional", + "ty": { + "Plain": 0 + }, + "default": [ + 0 + ], + "docs": [ + " The `AccountId` of the sudo key." + ] + } + ] + }, + "calls": { + "ty": 79 + }, + "event": { + "ty": 36 + }, + "constants": [], + "error": { + "ty": 106 + }, + "index": 7, + "docs": [] + }, + { + "name": "Contracts", + "storage": { + "prefix": "Contracts", + "entries": [ + { + "name": "PristineCode", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 107 + } + }, + "default": [ + 0 + ], + "docs": [ + " A mapping from a contract's code hash to its code." + ] + }, + { + "name": "CodeInfoOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 108 + } + }, + "default": [ + 0 + ], + "docs": [ + " A mapping from a contract's code hash to its code info." + ] + }, + { + "name": "Nonce", + "modifier": "Default", + "ty": { + "Plain": 11 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " This is a **monotonic** counter incremented on contract instantiation.", + "", + " This is used in order to generate unique trie ids for contracts.", + " The trie id of a new contract is calculated from hash(account_id, nonce).", + " The nonce is required because otherwise the following sequence would lead to", + " a possible collision of storage:", + "", + " 1. Create a new contract.", + " 2. Terminate the contract.", + " 3. Immediately recreate the contract with the same account_id.", + "", + " This is bad because the contents of a trie are deleted lazily and there might be", + " storage of the old instantiation still in it when the new contract is created. Please", + " note that we can't replace the counter by the block number because the sequence above", + " can happen in the same block. We also can't keep the account counter in memory only", + " because storage is the only way to communicate across different extrinsics in the", + " same block.", + "", + " # Note", + "", + " Do not use it to determine the number of contracts. It won't be decremented if", + " a contract is destroyed." + ] + }, + { + "name": "ContractInfoOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 109 + } + }, + "default": [ + 0 + ], + "docs": [ + " The code associated with a given account.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "name": "DeletionQueue", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 110 + } + }, + "default": [ + 0 + ], + "docs": [ + " Evicted contracts that await child trie deletion.", + "", + " Child trie deletion is a heavy operation depending on the amount of storage items", + " stored in said trie. Therefore this operation is performed lazily in `on_idle`." + ] + }, + { + "name": "DeletionQueueCounter", + "modifier": "Default", + "ty": { + "Plain": 115 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " A pair of monotonic counters used to track the latest contract marked for deletion", + " and the latest deleted contract in queue." + ] + }, + { + "name": "MigrationInProgress", + "modifier": "Optional", + "ty": { + "Plain": 116 + }, + "default": [ + 0 + ], + "docs": [ + " A migration can span across multiple blocks. This storage defines a cursor to track the", + " progress of the migration, enabling us to resume from the last completed position." + ] + } + ] + }, + "calls": { + "ty": 80 + }, + "event": { + "ty": 38 + }, + "constants": [ + { + "name": "Schedule", + "ty": 117, + "value": [ + 4, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 4, + 0, + 0, + 128, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 1, + 0, + 0, + 32, + 0, + 0, + 0, + 0, + 64, + 0, + 0, + 0, + 0, + 0, + 64, + 39, + 19, + 0, + 0, + 182, + 181, + 20, + 0, + 24, + 242, + 34, + 221, + 6, + 241, + 41, + 186, + 248, + 21, + 7, + 1, + 42, + 118, + 43, + 26, + 0, + 24, + 54, + 44, + 11, + 0, + 12, + 210, + 23, + 10, + 0, + 12, + 74, + 251, + 20, + 0, + 24, + 90, + 173, + 22, + 0, + 24, + 182, + 22, + 101, + 0, + 24, + 162, + 51, + 21, + 0, + 24, + 202, + 148, + 20, + 0, + 24, + 146, + 48, + 20, + 0, + 24, + 18, + 159, + 20, + 0, + 24, + 30, + 76, + 88, + 0, + 56, + 122, + 65, + 17, + 0, + 24, + 113, + 16, + 0, + 0, + 180, + 29, + 6, + 0, + 3, + 36, + 112, + 147, + 77, + 73, + 82, + 178, + 146, + 125, + 0, + 40, + 82, + 120, + 232, + 0, + 40, + 254, + 54, + 174, + 30, + 49, + 39, + 109, + 11, + 0, + 98, + 185, + 14, + 0, + 28, + 57, + 17, + 0, + 166, + 135, + 129, + 31, + 149, + 4, + 141, + 8, + 0, + 185, + 8, + 4, + 246, + 226, + 38, + 72, + 73, + 48, + 138, + 48, + 116, + 31, + 133, + 4, + 16, + 4, + 30, + 129, + 72, + 7, + 133, + 4, + 77, + 1, + 4, + 210, + 53, + 82, + 7, + 165, + 4, + 201, + 15, + 4, + 134, + 66, + 114, + 31, + 165, + 4, + 13, + 10, + 4, + 238, + 76, + 249, + 38, + 97, + 39, + 38, + 31, + 200, + 118, + 133, + 42, + 238, + 125, + 80, + 101, + 53, + 41, + 14, + 78, + 210, + 144, + 173, + 81, + 93, + 17, + 0, + 110, + 125, + 141, + 247, + 173, + 42, + 2, + 101, + 205, + 29, + 213, + 39, + 173, + 30, + 0, + 49, + 32, + 0, + 114, + 115, + 24, + 0, + 32, + 185, + 17, + 0, + 238, + 248, + 48, + 0, + 32, + 73, + 53, + 0, + 38, + 83, + 29, + 0, + 32, + 153, + 19, + 0, + 202, + 215, + 30, + 0, + 32, + 145, + 19, + 0, + 22, + 234, + 249, + 10, + 53, + 1, + 110, + 94, + 217, + 2, + 168, + 18, + 192, + 97, + 13, + 193, + 1, + 45, + 96, + 4, + 190, + 6, + 11, + 0, + 12, + 198, + 106, + 19, + 0, + 160, + 42, + 84, + 9, + 0, + 12, + 18, + 9, + 102, + 31, + 185, + 40, + 14, + 51, + 53, + 31, + 33, + 40 + ], + "docs": [ + " Cost schedule and limits." + ] + }, + { + "name": "DepositPerByte", + "ty": 6, + "value": [ + 64, + 75, + 76, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of balance a caller has to pay for each byte of storage.", + "", + " # Note", + "", + " Changing this value for an existing chain might need a storage migration." + ] + }, + { + "name": "DefaultDepositLimit", + "ty": 6, + "value": [ + 0, + 0, + 160, + 143, + 230, + 97, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Fallback value to limit the storage deposit if it's not being set by the caller." + ] + }, + { + "name": "DepositPerItem", + "ty": 6, + "value": [ + 0, + 232, + 118, + 72, + 23, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of balance a caller has to pay for each storage item.", + "", + " # Note", + "", + " Changing this value for an existing chain might need a storage migration." + ] + }, + { + "name": "CodeHashLockupDepositPercent", + "ty": 121, + "value": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The percentage of the storage deposit that should be held for using a code hash.", + " Instantiating a contract, or calling [`chain_extension::Ext::add_delegate_dependency`]", + " protects the code from being removed. In order to prevent abuse these actions are", + " protected with a percentage of the code deposit." + ] + }, + { + "name": "MaxCodeLen", + "ty": 4, + "value": [ + 0, + 0, + 4, + 0 + ], + "docs": [ + " The maximum length of a contract code in bytes.", + "", + " The value should be chosen carefully taking into the account the overall memory limit", + " your runtime has, as well as the [maximum allowed callstack", + " depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights." + ] + }, + { + "name": "MaxStorageKeyLen", + "ty": 4, + "value": [ + 128, + 0, + 0, + 0 + ], + "docs": [ + " The maximum allowable length in bytes for storage keys." + ] + }, + { + "name": "MaxDelegateDependencies", + "ty": 4, + "value": [ + 32, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of delegate_dependencies that a contract can lock with", + " [`chain_extension::Ext::add_delegate_dependency`]." + ] + }, + { + "name": "UnsafeUnstableInterface", + "ty": 42, + "value": [ + 1 + ], + "docs": [ + " Make contract callable functions marked as `#[unstable]` available.", + "", + " Contracts that use `#[unstable]` functions won't be able to be uploaded unless", + " this is set to `true`. This is only meant for testnets and dev nodes in order to", + " experiment with new features.", + "", + " # Warning", + "", + " Do **not** set to `true` on productions chains." + ] + }, + { + "name": "MaxDebugBufferLen", + "ty": 4, + "value": [ + 0, + 0, + 32, + 0 + ], + "docs": [ + " The maximum length of the debug buffer in bytes." + ] + }, + { + "name": "Environment", + "ty": 122, + "value": [], + "docs": [ + " Type that bundles together all the runtime configurable interface types.", + "", + " This is not a real config. We just mention the type here as constant so that", + " its type appears in the metadata. Only valid value is `()`." + ] + } + ], + "error": { + "ty": 130 + }, + "index": 8, + "docs": [] + }, + { + "name": "Assets", + "storage": { + "prefix": "Assets", + "entries": [ + { + "name": "Asset", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 4, + "value": 131 + } + }, + "default": [ + 0 + ], + "docs": [ + " Details of an asset." + ] + }, + { + "name": "Account", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat", + "Blake2_128Concat" + ], + "key": 133, + "value": 134 + } + }, + "default": [ + 0 + ], + "docs": [ + " The holdings of a specific account for a specific asset." + ] + }, + { + "name": "Approvals", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat", + "Blake2_128Concat", + "Blake2_128Concat" + ], + "key": 137, + "value": 138 + } + }, + "default": [ + 0 + ], + "docs": [ + " Approved balance transfers. First balance is the amount approved for transfer. Second", + " is the amount of `T::Currency` reserved for storing this.", + " First key is the asset ID, second key is the owner and third key is the delegate." + ] + }, + { + "name": "Metadata", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 4, + "value": 139 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Metadata of an asset." + ] + } + ] + }, + "calls": { + "ty": 83 + }, + "event": { + "ty": 41 + }, + "constants": [ + { + "name": "RemoveItemsLimit", + "ty": 4, + "value": [ + 232, + 3, + 0, + 0 + ], + "docs": [ + " Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.", + "", + " Must be configured to result in a weight that makes each call fit in a block." + ] + }, + { + "name": "AssetDeposit", + "ty": 6, + "value": [ + 0, + 0, + 193, + 111, + 242, + 134, + 35, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The basic amount of funds that must be reserved for an asset." + ] + }, + { + "name": "AssetAccountDeposit", + "ty": 6, + "value": [ + 0, + 64, + 122, + 16, + 243, + 90, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of funds that must be reserved for a non-provider asset account to be", + " maintained." + ] + }, + { + "name": "MetadataDepositBase", + "ty": 6, + "value": [ + 0, + 128, + 198, + 164, + 126, + 141, + 3, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The basic amount of funds that must be reserved when adding metadata to your asset." + ] + }, + { + "name": "MetadataDepositPerByte", + "ty": 6, + "value": [ + 0, + 64, + 122, + 16, + 243, + 90, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The additional funds that must be reserved for the number of bytes you store in your", + " metadata." + ] + }, + { + "name": "ApprovalDeposit", + "ty": 6, + "value": [ + 0, + 64, + 122, + 16, + 243, + 90, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of funds that must be reserved when creating a new approval." + ] + }, + { + "name": "StringLimit", + "ty": 4, + "value": [ + 50, + 0, + 0, + 0 + ], + "docs": [ + " The maximum length of a name or symbol stored on-chain." + ] + } + ], + "error": { + "ty": 141 + }, + "index": 9, + "docs": [] + } + ], + "extrinsic": { + "version": 4, + "address_ty": 74, + "call_ty": 71, + "signature_ty": 142, + "extra_ty": 148, + "signed_extensions": [ + { + "identifier": "CheckNonZeroSender", + "ty": 149, + "additional_signed": 32 + }, + { + "identifier": "CheckSpecVersion", + "ty": 150, + "additional_signed": 4 + }, + { + "identifier": "CheckTxVersion", + "ty": 151, + "additional_signed": 4 + }, + { + "identifier": "CheckGenesis", + "ty": 152, + "additional_signed": 12 + }, + { + "identifier": "CheckMortality", + "ty": 153, + "additional_signed": 12 + }, + { + "identifier": "CheckNonce", + "ty": 155, + "additional_signed": 32 + }, + { + "identifier": "CheckWeight", + "ty": 156, + "additional_signed": 32 + }, + { + "identifier": "ChargeTransactionPayment", + "ty": 157, + "additional_signed": 32 + } + ] + }, + "ty": 40, + "apis": [ + { + "name": "Core", + "methods": [ + { + "name": "version", + "inputs": [], + "output": 61, + "docs": [ + " Returns the version of the runtime." + ] + }, + { + "name": "execute_block", + "inputs": [ + { + "name": "block", + "ty": 158 + } + ], + "output": 32, + "docs": [ + " Execute the given block." + ] + }, + { + "name": "initialize_block", + "inputs": [ + { + "name": "header", + "ty": 159 + } + ], + "output": 32, + "docs": [ + " Initialize a block with the given header." + ] + } + ], + "docs": [ + " The `Core` runtime api that every Substrate runtime needs to implement." + ] + }, + { + "name": "Metadata", + "methods": [ + { + "name": "metadata", + "inputs": [], + "output": 162, + "docs": [ + " Returns the metadata of a runtime." + ] + }, + { + "name": "metadata_at_version", + "inputs": [ + { + "name": "version", + "ty": 4 + } + ], + "output": 163, + "docs": [ + " Returns the metadata at a given version.", + "", + " If the given `version` isn't supported, this will return `None`.", + " Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime." + ] + }, + { + "name": "metadata_versions", + "inputs": [], + "output": 164, + "docs": [ + " Returns the supported metadata versions.", + "", + " This can be used to call `metadata_at_version`." + ] + } + ], + "docs": [ + " The `Metadata` api trait that returns metadata for the runtime." + ] + }, + { + "name": "BlockBuilder", + "methods": [ + { + "name": "apply_extrinsic", + "inputs": [ + { + "name": "extrinsic", + "ty": 160 + } + ], + "output": 165, + "docs": [ + " Apply the given extrinsic.", + "", + " Returns an inclusion outcome which specifies if this extrinsic is included in", + " this block or not." + ] + }, + { + "name": "finalize_block", + "inputs": [], + "output": 159, + "docs": [ + " Finish the current block." + ] + }, + { + "name": "inherent_extrinsics", + "inputs": [ + { + "name": "inherent", + "ty": 169 + } + ], + "output": 161, + "docs": [ + " Generate inherent extrinsics. The inherent data will vary from chain to chain." + ] + }, + { + "name": "check_inherents", + "inputs": [ + { + "name": "block", + "ty": 158 + }, + { + "name": "data", + "ty": 169 + } + ], + "output": 173, + "docs": [ + " Check that the inherents are valid. The inherent data will vary from chain to chain." + ] + } + ], + "docs": [ + " The `BlockBuilder` api trait that provides the required functionality for building a block." + ] + }, + { + "name": "TaggedTransactionQueue", + "methods": [ + { + "name": "validate_transaction", + "inputs": [ + { + "name": "source", + "ty": 174 + }, + { + "name": "tx", + "ty": 160 + }, + { + "name": "block_hash", + "ty": 12 + } + ], + "output": 175, + "docs": [ + " Validate the transaction.", + "", + " This method is invoked by the transaction pool to learn details about given transaction.", + " The implementation should make sure to verify the correctness of the transaction", + " against current state. The given `block_hash` corresponds to the hash of the block", + " that is used as current state.", + "", + " Note that this call may be performed by the pool multiple times and transactions", + " might be verified in any possible order." + ] + } + ], + "docs": [ + " The `TaggedTransactionQueue` api trait for interfering with the transaction queue." + ] + }, + { + "name": "OffchainWorkerApi", + "methods": [ + { + "name": "offchain_worker", + "inputs": [ + { + "name": "header", + "ty": 159 + } + ], + "output": 32, + "docs": [ + " Starts the off-chain task for given block header." + ] + } + ], + "docs": [ + " The offchain worker api." + ] + }, + { + "name": "SessionKeys", + "methods": [ + { + "name": "generate_session_keys", + "inputs": [ + { + "name": "seed", + "ty": 177 + } + ], + "output": 13, + "docs": [ + " Generate a set of session keys with optionally using the given seed.", + " The keys should be stored within the keystore exposed via runtime", + " externalities.", + "", + " The seed needs to be a valid `utf8` string.", + "", + " Returns the concatenated SCALE encoded public keys." + ] + }, + { + "name": "decode_session_keys", + "inputs": [ + { + "name": "encoded", + "ty": 13 + } + ], + "output": 178, + "docs": [ + " Decode the given public session keys.", + "", + " Returns the list of public raw public keys + key type." + ] + } + ], + "docs": [ + " Session keys runtime api." + ] + }, + { + "name": "AccountNonceApi", + "methods": [ + { + "name": "account_nonce", + "inputs": [ + { + "name": "account", + "ty": 0 + } + ], + "output": 4, + "docs": [ + " Get current account nonce of given `AccountId`." + ] + } + ], + "docs": [ + " The API to query account nonce." + ] + }, + { + "name": "TransactionPaymentApi", + "methods": [ + { + "name": "query_info", + "inputs": [ + { + "name": "uxt", + "ty": 160 + }, + { + "name": "len", + "ty": 4 + } + ], + "output": 182, + "docs": [] + }, + { + "name": "query_fee_details", + "inputs": [ + { + "name": "uxt", + "ty": 160 + }, + { + "name": "len", + "ty": 4 + } + ], + "output": 183, + "docs": [] + }, + { + "name": "query_weight_to_fee", + "inputs": [ + { + "name": "weight", + "ty": 9 + } + ], + "output": 6, + "docs": [] + }, + { + "name": "query_length_to_fee", + "inputs": [ + { + "name": "length", + "ty": 4 + } + ], + "output": 6, + "docs": [] + } + ], + "docs": [] + }, + { + "name": "TransactionPaymentCallApi", + "methods": [ + { + "name": "query_call_info", + "inputs": [ + { + "name": "call", + "ty": 71 + }, + { + "name": "len", + "ty": 4 + } + ], + "output": 182, + "docs": [ + " Query information of a dispatch class, weight, and fee of a given encoded `Call`." + ] + }, + { + "name": "query_call_fee_details", + "inputs": [ + { + "name": "call", + "ty": 71 + }, + { + "name": "len", + "ty": 4 + } + ], + "output": 183, + "docs": [ + " Query fee details of a given encoded `Call`." + ] + }, + { + "name": "query_weight_to_fee", + "inputs": [ + { + "name": "weight", + "ty": 9 + } + ], + "output": 6, + "docs": [ + " Query the output of the current `WeightToFee` given some input." + ] + }, + { + "name": "query_length_to_fee", + "inputs": [ + { + "name": "length", + "ty": 4 + } + ], + "output": 6, + "docs": [ + " Query the output of the current `LengthToFee` given some input." + ] + } + ], + "docs": [] + }, + { + "name": "ContractsApi", + "methods": [ + { + "name": "call", + "inputs": [ + { + "name": "origin", + "ty": 0 + }, + { + "name": "dest", + "ty": 0 + }, + { + "name": "value", + "ty": 6 + }, + { + "name": "gas_limit", + "ty": 57 + }, + { + "name": "storage_deposit_limit", + "ty": 186 + }, + { + "name": "input_data", + "ty": 13 + } + ], + "output": 187, + "docs": [ + " Perform a call from a specified account to a given contract.", + "", + " See [`crate::Pallet::bare_call`]." + ] + }, + { + "name": "instantiate", + "inputs": [ + { + "name": "origin", + "ty": 0 + }, + { + "name": "value", + "ty": 6 + }, + { + "name": "gas_limit", + "ty": 57 + }, + { + "name": "storage_deposit_limit", + "ty": 186 + }, + { + "name": "code", + "ty": 194 + }, + { + "name": "data", + "ty": 13 + }, + { + "name": "salt", + "ty": 13 + } + ], + "output": 195, + "docs": [ + " Instantiate a new contract.", + "", + " See `[crate::Pallet::bare_instantiate]`." + ] + }, + { + "name": "upload_code", + "inputs": [ + { + "name": "origin", + "ty": 0 + }, + { + "name": "code", + "ty": 13 + }, + { + "name": "storage_deposit_limit", + "ty": 186 + }, + { + "name": "determinism", + "ty": 82 + } + ], + "output": 198, + "docs": [ + " Upload new code without instantiating a contract from it.", + "", + " See [`crate::Pallet::bare_upload_code`]." + ] + }, + { + "name": "get_storage", + "inputs": [ + { + "name": "address", + "ty": 0 + }, + { + "name": "key", + "ty": 13 + } + ], + "output": 200, + "docs": [ + " Query a given storage key in a given contract.", + "", + " Returns `Ok(Some(Vec))` if the storage value exists under the given key in the", + " specified account and `Ok(None)` if it doesn't. If the account specified by the address", + " doesn't exist, or doesn't have a contract then `Err` is returned." + ] + } + ], + "docs": [ + " The API used to dry-run contract interactions." + ] + } + ], + "outer_enums": { + "call_enum_ty": 71, + "event_enum_ty": 20, + "error_enum_ty": 202 + }, + "custom": { + "map": {} + } + } + } +] \ No newline at end of file diff --git a/crates/transcode/src/env_check.rs b/crates/transcode/src/env_check.rs index 1e94910d2..cdd4e910e 100644 --- a/crates/transcode/src/env_check.rs +++ b/crates/transcode/src/env_check.rs @@ -67,6 +67,10 @@ pub(crate) fn resolve_type_definition( .context("Type is not present in registry")?; if tt.type_params.is_empty() { if let TypeDef::Composite(comp) = &tt.type_def { + if comp.fields.len() > 1 || comp.fields.is_empty() { + anyhow::bail!("Composite field has incorrect composite type format") + } + let tt_id = comp .fields .get(0) @@ -151,3 +155,63 @@ fn compare_type( } Ok(type_def == tt_def) } + +#[cfg(test)] +mod tests { + use std::marker::PhantomData; + + use scale::{ + Decode, + Encode, + }; + use scale_info::{TypeInfo, IntoPortable as _, Registry, PortableRegistry}; + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct AccountId([u8; 32]); + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct Balance(u128); + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct Hash([u8; 32]); + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct Hasher; + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct Timestamp(u64); + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct BlockNumber(u32); + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct EnvironmentType(PhantomData); + + #[derive(Encode, Decode, TypeInfo)] + #[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize))] + pub struct Environment { + account_id: EnvironmentType, + balance: EnvironmentType, + hash: EnvironmentType, + hasher: EnvironmentType, + timestamp: EnvironmentType, + block_number: EnvironmentType, + } + + #[test] + fn resolve_works() { + let mut registry = Registry::new(); + let env = Environment::type_info().into_portable(&mut registry); + + let portable: PortableRegistry = registry.into(); + + println!("{:#?}", portable) + } +}