From 5afbfeed5fbcf63abce87a2004f3a3b9bb09e1fc Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Thu, 20 Apr 2023 18:04:08 +0300 Subject: [PATCH] backup Signed-off-by: Alexandru Vasile --- examples/examples/block_extrinsics.rs | 17 +- md.json | 58696 ++++++++++++++++++++++++ subxt/src/blocks/block_types.rs | 291 +- subxt/src/blocks/mod.rs | 2 +- subxt/src/config/mod.rs | 4 +- 5 files changed, 58989 insertions(+), 21 deletions(-) create mode 100644 md.json diff --git a/examples/examples/block_extrinsics.rs b/examples/examples/block_extrinsics.rs index 6bde5b0bb5..6db71b17d6 100644 --- a/examples/examples/block_extrinsics.rs +++ b/examples/examples/block_extrinsics.rs @@ -13,7 +13,6 @@ use futures::StreamExt; use sp_keyring::AccountKeyring; use std::time::Duration; -use subxt::blocks::ExtrinsicError; use subxt::{tx::PairSigner, OnlineClient, PolkadotConfig}; #[subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata.scale")] @@ -65,18 +64,24 @@ async fn main() -> Result<(), Box> { for extrinsic in block.body().await?.extrinsics() { println!(" Extrinsic index {:?}", extrinsic.index()); - let decoded: Result< - polkadot::runtime_types::polkadot_runtime::RuntimeCall, - ExtrinsicError, - > = extrinsic.decode(); + let decoded = extrinsic.decode_generic(); match decoded { Ok(decoded) => { - println!(" Decoded extrinsic: {:?}", decoded); + if let Some((address, signature, extra)) = decoded.signature { + println!(" Decoded Signature"); + println!(" Decoded Address: {:?}", address.to_value()); + println!(" Decoded Sign: {:?}", signature.to_value()); + println!(" Decoded Extra: {:?}", extra.to_value()); + }; + + let call = decoded.function; + println!(" Decoded call:\n {:?}", call.to_value()); } Err(err) => { println!(" Decoded extrinsic with error: {:?}", err); } } + println!("\n"); } println!("\n"); diff --git a/md.json b/md.json new file mode 100644 index 0000000000..7da814c71c --- /dev/null +++ b/md.json @@ -0,0 +1,58696 @@ +[ + 1635018093, + { + "V14": { + "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": "Index", + "type": 4 + }, + { + "name": "AccountData", + "type": 5 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "nonce", + "type": 4, + "typeName": "Index" + }, + { + "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": 473, + "typeName": "Phase" + }, + { + "name": "event", + "type": 20, + "typeName": "E" + }, + { + "name": "topics", + "type": 474, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 20, + "type": { + "path": [ + "polkadot_runtime", + "RuntimeEvent" + ], + "def": { + "variant": { + "variants": [ + { + "name": "System", + "fields": [ + { + "type": 21, + "typeName": "frame_system::Event" + } + ], + "index": 0 + }, + { + "name": "Scheduler", + "fields": [ + { + "type": 30, + "typeName": "pallet_scheduler::Event" + } + ], + "index": 1 + }, + { + "name": "Preimage", + "fields": [ + { + "type": 35, + "typeName": "pallet_preimage::Event" + } + ], + "index": 10 + }, + { + "name": "Indices", + "fields": [ + { + "type": 36, + "typeName": "pallet_indices::Event" + } + ], + "index": 4 + }, + { + "name": "Balances", + "fields": [ + { + "type": 37, + "typeName": "pallet_balances::Event" + } + ], + "index": 5 + }, + { + "name": "TransactionPayment", + "fields": [ + { + "type": 39, + "typeName": "pallet_transaction_payment::Event" + } + ], + "index": 32 + }, + { + "name": "Staking", + "fields": [ + { + "type": 40, + "typeName": "pallet_staking::Event" + } + ], + "index": 7 + }, + { + "name": "Offences", + "fields": [ + { + "type": 46, + "typeName": "pallet_offences::Event" + } + ], + "index": 8 + }, + { + "name": "Session", + "fields": [ + { + "type": 48, + "typeName": "pallet_session::Event" + } + ], + "index": 9 + }, + { + "name": "Grandpa", + "fields": [ + { + "type": 49, + "typeName": "pallet_grandpa::Event" + } + ], + "index": 11 + }, + { + "name": "ImOnline", + "fields": [ + { + "type": 54, + "typeName": "pallet_im_online::Event" + } + ], + "index": 12 + }, + { + "name": "Democracy", + "fields": [ + { + "type": 63, + "typeName": "pallet_democracy::Event" + } + ], + "index": 14 + }, + { + "name": "Council", + "fields": [ + { + "type": 68, + "typeName": "pallet_collective::Event" + } + ], + "index": 15 + }, + { + "name": "TechnicalCommittee", + "fields": [ + { + "type": 69, + "typeName": "pallet_collective::Event" + } + ], + "index": 16 + }, + { + "name": "PhragmenElection", + "fields": [ + { + "type": 70, + "typeName": "pallet_elections_phragmen::Event" + } + ], + "index": 17 + }, + { + "name": "TechnicalMembership", + "fields": [ + { + "type": 73, + "typeName": "pallet_membership::Event" + } + ], + "index": 18 + }, + { + "name": "Treasury", + "fields": [ + { + "type": 74, + "typeName": "pallet_treasury::Event" + } + ], + "index": 19 + }, + { + "name": "ConvictionVoting", + "fields": [ + { + "type": 75, + "typeName": "pallet_conviction_voting::Event" + } + ], + "index": 20 + }, + { + "name": "Referenda", + "fields": [ + { + "type": 76, + "typeName": "pallet_referenda::Event" + } + ], + "index": 21 + }, + { + "name": "Whitelist", + "fields": [ + { + "type": 436, + "typeName": "pallet_whitelist::Event" + } + ], + "index": 23 + }, + { + "name": "Claims", + "fields": [ + { + "type": 441, + "typeName": "claims::Event" + } + ], + "index": 24 + }, + { + "name": "Vesting", + "fields": [ + { + "type": 442, + "typeName": "pallet_vesting::Event" + } + ], + "index": 25 + }, + { + "name": "Utility", + "fields": [ + { + "type": 443, + "typeName": "pallet_utility::Event" + } + ], + "index": 26 + }, + { + "name": "Identity", + "fields": [ + { + "type": 444, + "typeName": "pallet_identity::Event" + } + ], + "index": 28 + }, + { + "name": "Proxy", + "fields": [ + { + "type": 445, + "typeName": "pallet_proxy::Event" + } + ], + "index": 29 + }, + { + "name": "Multisig", + "fields": [ + { + "type": 446, + "typeName": "pallet_multisig::Event" + } + ], + "index": 30 + }, + { + "name": "Bounties", + "fields": [ + { + "type": 447, + "typeName": "pallet_bounties::Event" + } + ], + "index": 34 + }, + { + "name": "ChildBounties", + "fields": [ + { + "type": 448, + "typeName": "pallet_child_bounties::Event" + } + ], + "index": 38 + }, + { + "name": "Tips", + "fields": [ + { + "type": 449, + "typeName": "pallet_tips::Event" + } + ], + "index": 35 + }, + { + "name": "ElectionProviderMultiPhase", + "fields": [ + { + "type": 450, + "typeName": "pallet_election_provider_multi_phase::Event" + } + ], + "index": 36 + }, + { + "name": "VoterList", + "fields": [ + { + "type": 454, + "typeName": "pallet_bags_list::Event" + } + ], + "index": 37 + }, + { + "name": "NominationPools", + "fields": [ + { + "type": 455, + "typeName": "pallet_nomination_pools::Event" + } + ], + "index": 39 + }, + { + "name": "FastUnstake", + "fields": [ + { + "type": 456, + "typeName": "pallet_fast_unstake::Event" + } + ], + "index": 40 + }, + { + "name": "ParaInclusion", + "fields": [ + { + "type": 457, + "typeName": "parachains_inclusion::Event" + } + ], + "index": 53 + }, + { + "name": "Paras", + "fields": [ + { + "type": 461, + "typeName": "parachains_paras::Event" + } + ], + "index": 56 + }, + { + "name": "Ump", + "fields": [ + { + "type": 462, + "typeName": "parachains_ump::Event" + } + ], + "index": 59 + }, + { + "name": "Hrmp", + "fields": [ + { + "type": 464, + "typeName": "parachains_hrmp::Event" + } + ], + "index": 60 + }, + { + "name": "ParasDisputes", + "fields": [ + { + "type": 465, + "typeName": "parachains_disputes::Event" + } + ], + "index": 62 + }, + { + "name": "Registrar", + "fields": [ + { + "type": 468, + "typeName": "paras_registrar::Event" + } + ], + "index": 70 + }, + { + "name": "Slots", + "fields": [ + { + "type": 469, + "typeName": "slots::Event" + } + ], + "index": 71 + }, + { + "name": "Auctions", + "fields": [ + { + "type": 470, + "typeName": "auctions::Event" + } + ], + "index": 72 + }, + { + "name": "Crowdloan", + "fields": [ + { + "type": 471, + "typeName": "crowdloan::Event" + } + ], + "index": 73 + }, + { + "name": "XcmPallet", + "fields": [ + { + "type": 472, + "typeName": "pallet_xcm::Event" + } + ], + "index": 99 + } + ] + } + } + } + }, + { + "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 + } + ] + } + } + } + }, + { + "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 + } + ] + } + } + } + }, + { + "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_scheduler", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Scheduled", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "index", + "type": 4, + "typeName": "u32" + } + ], + "index": 0, + "docs": [ + "Scheduled some task." + ] + }, + { + "name": "Canceled", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "index", + "type": 4, + "typeName": "u32" + } + ], + "index": 1, + "docs": [ + "Canceled some task." + ] + }, + { + "name": "Dispatched", + "fields": [ + { + "name": "task", + "type": 31, + "typeName": "TaskAddress" + }, + { + "name": "id", + "type": 32, + "typeName": "Option" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 2, + "docs": [ + "Dispatched some task." + ] + }, + { + "name": "CallUnavailable", + "fields": [ + { + "name": "task", + "type": 31, + "typeName": "TaskAddress" + }, + { + "name": "id", + "type": 32, + "typeName": "Option" + } + ], + "index": 3, + "docs": [ + "The call for the provided hash was not found so the task has been aborted." + ] + }, + { + "name": "PeriodicFailed", + "fields": [ + { + "name": "task", + "type": 31, + "typeName": "TaskAddress" + }, + { + "name": "id", + "type": 32, + "typeName": "Option" + } + ], + "index": 4, + "docs": [ + "The given task was unable to be renewed since the agenda is full at that block." + ] + }, + { + "name": "PermanentlyOverweight", + "fields": [ + { + "name": "task", + "type": 31, + "typeName": "TaskAddress" + }, + { + "name": "id", + "type": 32, + "typeName": "Option" + } + ], + "index": 5, + "docs": [ + "The given task can never be executed since it is overweight." + ] + } + ] + } + }, + "docs": [ + "Events type." + ] + } + }, + { + "id": 31, + "type": { + "def": { + "tuple": [ + 4, + 4 + ] + } + } + }, + { + "id": 32, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 1 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 1 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 33, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 34 + }, + { + "name": "E", + "type": 25 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 34 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 25 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 34, + "type": { + "def": { + "tuple": [] + } + } + }, + { + "id": 35, + "type": { + "path": [ + "pallet_preimage", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noted", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 0, + "docs": [ + "A preimage has been noted." + ] + }, + { + "name": "Requested", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 1, + "docs": [ + "A preimage has been requested." + ] + }, + { + "name": "Cleared", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 2, + "docs": [ + "A preimage has ben cleared." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 36, + "type": { + "path": [ + "pallet_indices", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "IndexAssigned", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + } + ], + "index": 0, + "docs": [ + "A account index was assigned." + ] + }, + { + "name": "IndexFreed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + } + ], + "index": 1, + "docs": [ + "A account index has been freed up (unassigned)." + ] + }, + { + "name": "IndexFrozen", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 2, + "docs": [ + "A account index has been frozen to its current account ID." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 37, + "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": 38, + "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." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 38, + "type": { + "path": [ + "frame_support", + "traits", + "tokens", + "misc", + "BalanceStatus" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Free", + "index": 0 + }, + { + "name": "Reserved", + "index": 1 + } + ] + } + } + } + }, + { + "id": 39, + "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": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 40, + "type": { + "path": [ + "pallet_staking", + "pallet", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "EraPaid", + "fields": [ + { + "name": "era_index", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "validator_payout", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "remainder", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 0, + "docs": [ + "The era payout has been set; the first balance is the validator-payout; the second is", + "the remainder from the maximum amount of reward." + ] + }, + { + "name": "Rewarded", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "The nominator has been rewarded by this amount." + ] + }, + { + "name": "Slashed", + "fields": [ + { + "name": "staker", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "A staker (validator or nominator) has been slashed by the given amount." + ] + }, + { + "name": "SlashReported", + "fields": [ + { + "name": "validator", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "fraction", + "type": 41, + "typeName": "Perbill" + }, + { + "name": "slash_era", + "type": 4, + "typeName": "EraIndex" + } + ], + "index": 3, + "docs": [ + "A slash for the given validator, for the given percentage of their stake, at the given", + "era as been reported." + ] + }, + { + "name": "OldSlashingReportDiscarded", + "fields": [ + { + "name": "session_index", + "type": 4, + "typeName": "SessionIndex" + } + ], + "index": 4, + "docs": [ + "An old slashing report from a prior era was discarded because it could", + "not be processed." + ] + }, + { + "name": "StakersElected", + "index": 5, + "docs": [ + "A new set of stakers was elected." + ] + }, + { + "name": "Bonded", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 6, + "docs": [ + "An account has bonded this amount. \\[stash, amount\\]", + "", + "NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,", + "it will not be emitted for staking rewards when they are added to stake." + ] + }, + { + "name": "Unbonded", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 7, + "docs": [ + "An account has unbonded this amount." + ] + }, + { + "name": "Withdrawn", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 8, + "docs": [ + "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`", + "from the unlocking queue." + ] + }, + { + "name": "Kicked", + "fields": [ + { + "name": "nominator", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 9, + "docs": [ + "A nominator has been kicked from a validator." + ] + }, + { + "name": "StakingElectionFailed", + "index": 10, + "docs": [ + "The election failed. No new era is planned." + ] + }, + { + "name": "Chilled", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 11, + "docs": [ + "An account has stopped participating as either a validator or nominator." + ] + }, + { + "name": "PayoutStarted", + "fields": [ + { + "name": "era_index", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "validator_stash", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 12, + "docs": [ + "The stakers' rewards are getting paid." + ] + }, + { + "name": "ValidatorPrefsSet", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "prefs", + "type": 42, + "typeName": "ValidatorPrefs" + } + ], + "index": 13, + "docs": [ + "A validator has set their preferences." + ] + }, + { + "name": "ForceEra", + "fields": [ + { + "name": "mode", + "type": 45, + "typeName": "Forcing" + } + ], + "index": 14, + "docs": [ + "A new force era mode was set." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 41, + "type": { + "path": [ + "sp_arithmetic", + "per_things", + "Perbill" + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 42, + "type": { + "path": [ + "pallet_staking", + "ValidatorPrefs" + ], + "def": { + "composite": { + "fields": [ + { + "name": "commission", + "type": 43, + "typeName": "Perbill" + }, + { + "name": "blocked", + "type": 44, + "typeName": "bool" + } + ] + } + } + } + }, + { + "id": 43, + "type": { + "def": { + "compact": { + "type": 41 + } + } + } + }, + { + "id": 44, + "type": { + "def": { + "primitive": "bool" + } + } + }, + { + "id": 45, + "type": { + "path": [ + "pallet_staking", + "Forcing" + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotForcing", + "index": 0 + }, + { + "name": "ForceNew", + "index": 1 + }, + { + "name": "ForceNone", + "index": 2 + }, + { + "name": "ForceAlways", + "index": 3 + } + ] + } + } + } + }, + { + "id": 46, + "type": { + "path": [ + "pallet_offences", + "pallet", + "Event" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Offence", + "fields": [ + { + "name": "kind", + "type": 47, + "typeName": "Kind" + }, + { + "name": "timeslot", + "type": 13, + "typeName": "OpaqueTimeSlot" + } + ], + "index": 0, + "docs": [ + "There is an offence reported of the given `kind` happened at the `session_index` and", + "(kind-specific) time slot. This event is not deposited for duplicate slashes.", + "\\[kind, timeslot\\]." + ] + } + ] + } + }, + "docs": [ + "Events type." + ] + } + }, + { + "id": 47, + "type": { + "def": { + "array": { + "len": 16, + "type": 2 + } + } + } + }, + { + "id": 48, + "type": { + "path": [ + "pallet_session", + "pallet", + "Event" + ], + "def": { + "variant": { + "variants": [ + { + "name": "NewSession", + "fields": [ + { + "name": "session_index", + "type": 4, + "typeName": "SessionIndex" + } + ], + "index": 0, + "docs": [ + "New session has happened. Note that the argument is the session index, not the", + "block number as the type might suggest." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 49, + "type": { + "path": [ + "pallet_grandpa", + "pallet", + "Event" + ], + "def": { + "variant": { + "variants": [ + { + "name": "NewAuthorities", + "fields": [ + { + "name": "authority_set", + "type": 50, + "typeName": "AuthorityList" + } + ], + "index": 0, + "docs": [ + "New authority set has been applied." + ] + }, + { + "name": "Paused", + "index": 1, + "docs": [ + "Current authority set has been paused." + ] + }, + { + "name": "Resumed", + "index": 2, + "docs": [ + "Current authority set has been resumed." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 50, + "type": { + "def": { + "sequence": { + "type": 51 + } + } + } + }, + { + "id": 51, + "type": { + "def": { + "tuple": [ + 52, + 11 + ] + } + } + }, + { + "id": 52, + "type": { + "path": [ + "sp_consensus_grandpa", + "app", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 53, + "typeName": "ed25519::Public" + } + ] + } + } + } + }, + { + "id": 53, + "type": { + "path": [ + "sp_core", + "ed25519", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ] + } + } + } + }, + { + "id": 54, + "type": { + "path": [ + "pallet_im_online", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "HeartbeatReceived", + "fields": [ + { + "name": "authority_id", + "type": 55, + "typeName": "T::AuthorityId" + } + ], + "index": 0, + "docs": [ + "A new heartbeat was received from `AuthorityId`." + ] + }, + { + "name": "AllGood", + "index": 1, + "docs": [ + "At the end of the session, no offence was committed." + ] + }, + { + "name": "SomeOffline", + "fields": [ + { + "name": "offline", + "type": 57, + "typeName": "Vec>" + } + ], + "index": 2, + "docs": [ + "At the end of the session, at least one validator was found to be offline." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 55, + "type": { + "path": [ + "pallet_im_online", + "sr25519", + "app_sr25519", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 56, + "typeName": "sr25519::Public" + } + ] + } + } + } + }, + { + "id": 56, + "type": { + "path": [ + "sp_core", + "sr25519", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ] + } + } + } + }, + { + "id": 57, + "type": { + "def": { + "sequence": { + "type": 58 + } + } + } + }, + { + "id": 58, + "type": { + "def": { + "tuple": [ + 0, + 59 + ] + } + } + }, + { + "id": 59, + "type": { + "path": [ + "pallet_staking", + "Exposure" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "total", + "type": 60, + "typeName": "Balance" + }, + { + "name": "own", + "type": 60, + "typeName": "Balance" + }, + { + "name": "others", + "type": 61, + "typeName": "Vec>" + } + ] + } + } + } + }, + { + "id": 60, + "type": { + "def": { + "compact": { + "type": 6 + } + } + } + }, + { + "id": 61, + "type": { + "def": { + "sequence": { + "type": 62 + } + } + } + }, + { + "id": 62, + "type": { + "path": [ + "pallet_staking", + "IndividualExposure" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "value", + "type": 60, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 63, + "type": { + "path": [ + "pallet_democracy", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Proposed", + "fields": [ + { + "name": "proposal_index", + "type": 4, + "typeName": "PropIndex" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 0, + "docs": [ + "A motion has been proposed by a public account." + ] + }, + { + "name": "Tabled", + "fields": [ + { + "name": "proposal_index", + "type": 4, + "typeName": "PropIndex" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "A public proposal has been tabled for referendum vote." + ] + }, + { + "name": "ExternalTabled", + "index": 2, + "docs": [ + "An external proposal has been tabled." + ] + }, + { + "name": "Started", + "fields": [ + { + "name": "ref_index", + "type": 4, + "typeName": "ReferendumIndex" + }, + { + "name": "threshold", + "type": 64, + "typeName": "VoteThreshold" + } + ], + "index": 3, + "docs": [ + "A referendum has begun." + ] + }, + { + "name": "Passed", + "fields": [ + { + "name": "ref_index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 4, + "docs": [ + "A proposal has been approved by referendum." + ] + }, + { + "name": "NotPassed", + "fields": [ + { + "name": "ref_index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 5, + "docs": [ + "A proposal has been rejected by referendum." + ] + }, + { + "name": "Cancelled", + "fields": [ + { + "name": "ref_index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 6, + "docs": [ + "A referendum has been cancelled." + ] + }, + { + "name": "Delegated", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "target", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 7, + "docs": [ + "An account has delegated their vote to another account." + ] + }, + { + "name": "Undelegated", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 8, + "docs": [ + "An account has cancelled a previous delegation operation." + ] + }, + { + "name": "Vetoed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proposal_hash", + "type": 12, + "typeName": "H256" + }, + { + "name": "until", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 9, + "docs": [ + "An external proposal has been vetoed." + ] + }, + { + "name": "Blacklisted", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "H256" + } + ], + "index": 10, + "docs": [ + "A proposal_hash has been blacklisted permanently." + ] + }, + { + "name": "Voted", + "fields": [ + { + "name": "voter", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "ref_index", + "type": 4, + "typeName": "ReferendumIndex" + }, + { + "name": "vote", + "type": 65, + "typeName": "AccountVote>" + } + ], + "index": 11, + "docs": [ + "An account has voted in a referendum" + ] + }, + { + "name": "Seconded", + "fields": [ + { + "name": "seconder", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "prop_index", + "type": 4, + "typeName": "PropIndex" + } + ], + "index": 12, + "docs": [ + "An account has secconded a proposal" + ] + }, + { + "name": "ProposalCanceled", + "fields": [ + { + "name": "prop_index", + "type": 4, + "typeName": "PropIndex" + } + ], + "index": 13, + "docs": [ + "A proposal got canceled." + ] + }, + { + "name": "MetadataSet", + "fields": [ + { + "name": "owner", + "type": 67, + "typeName": "MetadataOwner", + "docs": [ + "Metadata owner." + ] + }, + { + "name": "hash", + "type": 12, + "typeName": "PreimageHash", + "docs": [ + "Preimage hash." + ] + } + ], + "index": 14, + "docs": [ + "Metadata for a proposal or a referendum has been set." + ] + }, + { + "name": "MetadataCleared", + "fields": [ + { + "name": "owner", + "type": 67, + "typeName": "MetadataOwner", + "docs": [ + "Metadata owner." + ] + }, + { + "name": "hash", + "type": 12, + "typeName": "PreimageHash", + "docs": [ + "Preimage hash." + ] + } + ], + "index": 15, + "docs": [ + "Metadata for a proposal or a referendum has been cleared." + ] + }, + { + "name": "MetadataTransferred", + "fields": [ + { + "name": "prev_owner", + "type": 67, + "typeName": "MetadataOwner", + "docs": [ + "Previous metadata owner." + ] + }, + { + "name": "owner", + "type": 67, + "typeName": "MetadataOwner", + "docs": [ + "New metadata owner." + ] + }, + { + "name": "hash", + "type": 12, + "typeName": "PreimageHash", + "docs": [ + "Preimage hash." + ] + } + ], + "index": 16, + "docs": [ + "Metadata has been transferred to new owner." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 64, + "type": { + "path": [ + "pallet_democracy", + "vote_threshold", + "VoteThreshold" + ], + "def": { + "variant": { + "variants": [ + { + "name": "SuperMajorityApprove", + "index": 0 + }, + { + "name": "SuperMajorityAgainst", + "index": 1 + }, + { + "name": "SimpleMajority", + "index": 2 + } + ] + } + } + } + }, + { + "id": 65, + "type": { + "path": [ + "pallet_democracy", + "vote", + "AccountVote" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Standard", + "fields": [ + { + "name": "vote", + "type": 66, + "typeName": "Vote" + }, + { + "name": "balance", + "type": 6, + "typeName": "Balance" + } + ], + "index": 0 + }, + { + "name": "Split", + "fields": [ + { + "name": "aye", + "type": 6, + "typeName": "Balance" + }, + { + "name": "nay", + "type": 6, + "typeName": "Balance" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 66, + "type": { + "path": [ + "pallet_democracy", + "vote", + "Vote" + ], + "def": { + "composite": { + "fields": [ + { + "type": 2 + } + ] + } + } + } + }, + { + "id": 67, + "type": { + "path": [ + "pallet_democracy", + "types", + "MetadataOwner" + ], + "def": { + "variant": { + "variants": [ + { + "name": "External", + "index": 0 + }, + { + "name": "Proposal", + "fields": [ + { + "type": 4, + "typeName": "PropIndex" + } + ], + "index": 1 + }, + { + "name": "Referendum", + "fields": [ + { + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 68, + "type": { + "path": [ + "pallet_collective", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Proposed", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex" + }, + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "threshold", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 0, + "docs": [ + "A motion (given hash) has been proposed (by given account) with a threshold (given", + "`MemberCount`)." + ] + }, + { + "name": "Voted", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "voted", + "type": 44, + "typeName": "bool" + }, + { + "name": "yes", + "type": 4, + "typeName": "MemberCount" + }, + { + "name": "no", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 1, + "docs": [ + "A motion (given hash) has been voted on by given account, leaving", + "a tally (yes votes and no votes given respectively as `MemberCount`)." + ] + }, + { + "name": "Approved", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 2, + "docs": [ + "A motion was approved by the required threshold." + ] + }, + { + "name": "Disapproved", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 3, + "docs": [ + "A motion was not approved by the required threshold." + ] + }, + { + "name": "Executed", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 4, + "docs": [ + "A motion was executed; result will be `Ok` if it returned without error." + ] + }, + { + "name": "MemberExecuted", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 5, + "docs": [ + "A single member did some action; result will be `Ok` if it returned without error." + ] + }, + { + "name": "Closed", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "yes", + "type": 4, + "typeName": "MemberCount" + }, + { + "name": "no", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 6, + "docs": [ + "A proposal was closed because its threshold was reached or after its duration was up." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 69, + "type": { + "path": [ + "pallet_collective", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Proposed", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex" + }, + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "threshold", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 0, + "docs": [ + "A motion (given hash) has been proposed (by given account) with a threshold (given", + "`MemberCount`)." + ] + }, + { + "name": "Voted", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "voted", + "type": 44, + "typeName": "bool" + }, + { + "name": "yes", + "type": 4, + "typeName": "MemberCount" + }, + { + "name": "no", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 1, + "docs": [ + "A motion (given hash) has been voted on by given account, leaving", + "a tally (yes votes and no votes given respectively as `MemberCount`)." + ] + }, + { + "name": "Approved", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 2, + "docs": [ + "A motion was approved by the required threshold." + ] + }, + { + "name": "Disapproved", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 3, + "docs": [ + "A motion was not approved by the required threshold." + ] + }, + { + "name": "Executed", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 4, + "docs": [ + "A motion was executed; result will be `Ok` if it returned without error." + ] + }, + { + "name": "MemberExecuted", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 5, + "docs": [ + "A single member did some action; result will be `Ok` if it returned without error." + ] + }, + { + "name": "Closed", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "yes", + "type": 4, + "typeName": "MemberCount" + }, + { + "name": "no", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 6, + "docs": [ + "A proposal was closed because its threshold was reached or after its duration was up." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 70, + "type": { + "path": [ + "pallet_elections_phragmen", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NewTerm", + "fields": [ + { + "name": "new_members", + "type": 71, + "typeName": "Vec<(::AccountId, BalanceOf)>" + } + ], + "index": 0, + "docs": [ + "A new term with new_members. This indicates that enough candidates existed to run", + "the election, not that enough have has been elected. The inner value must be examined", + "for this purpose. A `NewTerm(\\[\\])` indicates that some candidates got their bond", + "slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to", + "begin with." + ] + }, + { + "name": "EmptyTerm", + "index": 1, + "docs": [ + "No (or not enough) candidates existed for this round. This is different from", + "`NewTerm(\\[\\])`. See the description of `NewTerm`." + ] + }, + { + "name": "ElectionError", + "index": 2, + "docs": [ + "Internal error happened while trying to perform election." + ] + }, + { + "name": "MemberKicked", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "::AccountId" + } + ], + "index": 3, + "docs": [ + "A member has been removed. This should always be followed by either `NewTerm` or", + "`EmptyTerm`." + ] + }, + { + "name": "Renounced", + "fields": [ + { + "name": "candidate", + "type": 0, + "typeName": "::AccountId" + } + ], + "index": 4, + "docs": [ + "Someone has renounced their candidacy." + ] + }, + { + "name": "CandidateSlashed", + "fields": [ + { + "name": "candidate", + "type": 0, + "typeName": "::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 5, + "docs": [ + "A candidate was slashed by amount due to failing to obtain a seat as member or", + "runner-up.", + "", + "Note that old members and runners-up are also candidates." + ] + }, + { + "name": "SeatHolderSlashed", + "fields": [ + { + "name": "seat_holder", + "type": 0, + "typeName": "::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 6, + "docs": [ + "A seat holder was slashed by amount by being forcefully removed from the set." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 71, + "type": { + "def": { + "sequence": { + "type": 72 + } + } + } + }, + { + "id": 72, + "type": { + "def": { + "tuple": [ + 0, + 6 + ] + } + } + }, + { + "id": 73, + "type": { + "path": [ + "pallet_membership", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "MemberAdded", + "index": 0, + "docs": [ + "The given member was added; see the transaction for who." + ] + }, + { + "name": "MemberRemoved", + "index": 1, + "docs": [ + "The given member was removed; see the transaction for who." + ] + }, + { + "name": "MembersSwapped", + "index": 2, + "docs": [ + "Two members were swapped; see the transaction for who." + ] + }, + { + "name": "MembersReset", + "index": 3, + "docs": [ + "The membership was reset; see the transaction for who the new set is." + ] + }, + { + "name": "KeyChanged", + "index": 4, + "docs": [ + "One of the members' keys changed." + ] + }, + { + "name": "Dummy", + "index": 5, + "docs": [ + "Phantom member, never used." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 74, + "type": { + "path": [ + "pallet_treasury", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Proposed", + "fields": [ + { + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex" + } + ], + "index": 0, + "docs": [ + "New proposal." + ] + }, + { + "name": "Spending", + "fields": [ + { + "name": "budget_remaining", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "We have ended a spend period and will now allocate funds." + ] + }, + { + "name": "Awarded", + "fields": [ + { + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex" + }, + { + "name": "award", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 2, + "docs": [ + "Some funds have been allocated." + ] + }, + { + "name": "Rejected", + "fields": [ + { + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex" + }, + { + "name": "slashed", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 3, + "docs": [ + "A proposal was rejected; funds were slashed." + ] + }, + { + "name": "Burnt", + "fields": [ + { + "name": "burnt_funds", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 4, + "docs": [ + "Some of our funds have been burnt." + ] + }, + { + "name": "Rollover", + "fields": [ + { + "name": "rollover_balance", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 5, + "docs": [ + "Spending has finished; this is the amount that rolls over until next spend." + ] + }, + { + "name": "Deposit", + "fields": [ + { + "name": "value", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 6, + "docs": [ + "Some funds have been deposited." + ] + }, + { + "name": "SpendApproved", + "fields": [ + { + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 7, + "docs": [ + "A new spend proposal has been approved." + ] + }, + { + "name": "UpdatedInactive", + "fields": [ + { + "name": "reactivated", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "deactivated", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 8, + "docs": [ + "The inactive funds of the pallet have been updated." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 75, + "type": { + "path": [ + "pallet_conviction_voting", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Delegated", + "fields": [ + { + "type": 0, + "typeName": "T::AccountId" + }, + { + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 0, + "docs": [ + "An account has delegated their vote to another account. \\[who, target\\]" + ] + }, + { + "name": "Undelegated", + "fields": [ + { + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 1, + "docs": [ + "An \\[account\\] has cancelled a previous delegation operation." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 76, + "type": { + "path": [ + "pallet_referenda", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Submitted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "track", + "type": 77, + "typeName": "TrackIdOf", + "docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "name": "proposal", + "type": 78, + "typeName": "BoundedCallOf", + "docs": [ + "The proposal for the referendum." + ] + } + ], + "index": 0, + "docs": [ + "A referendum has been submitted." + ] + }, + { + "name": "DecisionDepositPlaced", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The account who placed the deposit." + ] + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf", + "docs": [ + "The amount placed by the account." + ] + } + ], + "index": 1, + "docs": [ + "The decision deposit has been placed." + ] + }, + { + "name": "DecisionDepositRefunded", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The account who placed the deposit." + ] + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf", + "docs": [ + "The amount placed by the account." + ] + } + ], + "index": 2, + "docs": [ + "The decision deposit has been refunded." + ] + }, + { + "name": "DepositSlashed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The account who placed the deposit." + ] + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf", + "docs": [ + "The amount placed by the account." + ] + } + ], + "index": 3, + "docs": [ + "A deposit has been slashaed." + ] + }, + { + "name": "DecisionStarted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "track", + "type": 77, + "typeName": "TrackIdOf", + "docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "name": "proposal", + "type": 78, + "typeName": "BoundedCallOf", + "docs": [ + "The proposal for the referendum." + ] + }, + { + "name": "tally", + "type": 435, + "typeName": "T::Tally", + "docs": [ + "The current tally of votes in this referendum." + ] + } + ], + "index": 4, + "docs": [ + "A referendum has moved into the deciding phase." + ] + }, + { + "name": "ConfirmStarted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + } + ], + "index": 5 + }, + { + "name": "ConfirmAborted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + } + ], + "index": 6 + }, + { + "name": "Confirmed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 435, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "index": 7, + "docs": [ + "A referendum has ended its confirmation phase and is ready for approval." + ] + }, + { + "name": "Approved", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + } + ], + "index": 8, + "docs": [ + "A referendum has been approved and its proposal has been scheduled." + ] + }, + { + "name": "Rejected", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 435, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "index": 9, + "docs": [ + "A proposal has been rejected by referendum." + ] + }, + { + "name": "TimedOut", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 435, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "index": 10, + "docs": [ + "A referendum has been timed out without being decided." + ] + }, + { + "name": "Cancelled", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 435, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "index": 11, + "docs": [ + "A referendum has been cancelled." + ] + }, + { + "name": "Killed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 435, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "index": 12, + "docs": [ + "A referendum has been killed." + ] + }, + { + "name": "SubmissionDepositRefunded", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The account who placed the deposit." + ] + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf", + "docs": [ + "The amount placed by the account." + ] + } + ], + "index": 13, + "docs": [ + "The submission deposit has been refunded." + ] + }, + { + "name": "MetadataSet", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "hash", + "type": 12, + "typeName": "PreimageHash", + "docs": [ + "Preimage hash." + ] + } + ], + "index": 14, + "docs": [ + "Metadata for a referendum has been set." + ] + }, + { + "name": "MetadataCleared", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "hash", + "type": 12, + "typeName": "PreimageHash", + "docs": [ + "Preimage hash." + ] + } + ], + "index": 15, + "docs": [ + "Metadata for a referendum has been cleared." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 77, + "type": { + "def": { + "primitive": "u16" + } + } + }, + { + "id": 78, + "type": { + "path": [ + "frame_support", + "traits", + "preimages", + "Bounded" + ], + "params": [ + { + "name": "T", + "type": 79 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Legacy", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "Hash" + } + ], + "index": 0 + }, + { + "name": "Inline", + "fields": [ + { + "type": 434, + "typeName": "BoundedInline" + } + ], + "index": 1 + }, + { + "name": "Lookup", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "Hash" + }, + { + "name": "len", + "type": 4, + "typeName": "u32" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 79, + "type": { + "path": [ + "polkadot_runtime", + "RuntimeCall" + ], + "def": { + "variant": { + "variants": [ + { + "name": "System", + "fields": [ + { + "type": 80, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 0 + }, + { + "name": "Scheduler", + "fields": [ + { + "type": 84, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 1 + }, + { + "name": "Preimage", + "fields": [ + { + "type": 86, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 10 + }, + { + "name": "Babe", + "fields": [ + { + "type": 87, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 2 + }, + { + "name": "Timestamp", + "fields": [ + { + "type": 98, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 3 + }, + { + "name": "Indices", + "fields": [ + { + "type": 99, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 4 + }, + { + "name": "Balances", + "fields": [ + { + "type": 103, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 5 + }, + { + "name": "Staking", + "fields": [ + { + "type": 105, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 7 + }, + { + "name": "Session", + "fields": [ + { + "type": 114, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 9 + }, + { + "name": "Grandpa", + "fields": [ + { + "type": 119, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 11 + }, + { + "name": "ImOnline", + "fields": [ + { + "type": 131, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 12 + }, + { + "name": "Democracy", + "fields": [ + { + "type": 139, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 14 + }, + { + "name": "Council", + "fields": [ + { + "type": 143, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 15 + }, + { + "name": "TechnicalCommittee", + "fields": [ + { + "type": 145, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 16 + }, + { + "name": "PhragmenElection", + "fields": [ + { + "type": 146, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 17 + }, + { + "name": "TechnicalMembership", + "fields": [ + { + "type": 148, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 18 + }, + { + "name": "Treasury", + "fields": [ + { + "type": 149, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 19 + }, + { + "name": "ConvictionVoting", + "fields": [ + { + "type": 150, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 20 + }, + { + "name": "Referenda", + "fields": [ + { + "type": 155, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 21 + }, + { + "name": "Whitelist", + "fields": [ + { + "type": 173, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 23 + }, + { + "name": "Claims", + "fields": [ + { + "type": 174, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 24 + }, + { + "name": "Vesting", + "fields": [ + { + "type": 182, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 25 + }, + { + "name": "Utility", + "fields": [ + { + "type": 184, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 26 + }, + { + "name": "Identity", + "fields": [ + { + "type": 186, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 28 + }, + { + "name": "Proxy", + "fields": [ + { + "type": 227, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 29 + }, + { + "name": "Multisig", + "fields": [ + { + "type": 230, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 30 + }, + { + "name": "Bounties", + "fields": [ + { + "type": 233, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 34 + }, + { + "name": "ChildBounties", + "fields": [ + { + "type": 234, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 38 + }, + { + "name": "Tips", + "fields": [ + { + "type": 235, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 35 + }, + { + "name": "ElectionProviderMultiPhase", + "fields": [ + { + "type": 236, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 36 + }, + { + "name": "VoterList", + "fields": [ + { + "type": 295, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 37 + }, + { + "name": "NominationPools", + "fields": [ + { + "type": 296, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 39 + }, + { + "name": "FastUnstake", + "fields": [ + { + "type": 307, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 40 + }, + { + "name": "Configuration", + "fields": [ + { + "type": 308, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 51 + }, + { + "name": "ParasShared", + "fields": [ + { + "type": 315, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 52 + }, + { + "name": "ParaInclusion", + "fields": [ + { + "type": 316, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 53 + }, + { + "name": "ParaInherent", + "fields": [ + { + "type": 317, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 54 + }, + { + "name": "Paras", + "fields": [ + { + "type": 351, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 56 + }, + { + "name": "Initializer", + "fields": [ + { + "type": 353, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 57 + }, + { + "name": "Dmp", + "fields": [ + { + "type": 354, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 58 + }, + { + "name": "Ump", + "fields": [ + { + "type": 355, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 59 + }, + { + "name": "Hrmp", + "fields": [ + { + "type": 356, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 60 + }, + { + "name": "ParasDisputes", + "fields": [ + { + "type": 358, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 62 + }, + { + "name": "Registrar", + "fields": [ + { + "type": 359, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 70 + }, + { + "name": "Slots", + "fields": [ + { + "type": 360, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 71 + }, + { + "name": "Auctions", + "fields": [ + { + "type": 361, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 72 + }, + { + "name": "Crowdloan", + "fields": [ + { + "type": 363, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 73 + }, + { + "name": "XcmPallet", + "fields": [ + { + "type": 371, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor" + } + ], + "index": 99 + } + ] + } + } + } + }, + { + "id": 80, + "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": [ + "Make some on-chain remark.", + "", + "## Complexity", + "- `O(1)`" + ] + }, + { + "name": "set_heap_pages", + "fields": [ + { + "name": "pages", + "type": 11, + "typeName": "u64" + } + ], + "index": 1, + "docs": [ + "Set the number of pages in the WebAssembly environment's heap." + ] + }, + { + "name": "set_code", + "fields": [ + { + "name": "code", + "type": 13, + "typeName": "Vec" + } + ], + "index": 2, + "docs": [ + "Set the new runtime code.", + "", + "## Complexity", + "- `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`" + ] + }, + { + "name": "set_code_without_checks", + "fields": [ + { + "name": "code", + "type": 13, + "typeName": "Vec" + } + ], + "index": 3, + "docs": [ + "Set the new runtime code without doing any checks of the given `code`.", + "", + "## Complexity", + "- `O(C)` where `C` length of `code`" + ] + }, + { + "name": "set_storage", + "fields": [ + { + "name": "items", + "type": 81, + "typeName": "Vec" + } + ], + "index": 4, + "docs": [ + "Set some items of storage." + ] + }, + { + "name": "kill_storage", + "fields": [ + { + "name": "keys", + "type": 83, + "typeName": "Vec" + } + ], + "index": 5, + "docs": [ + "Kill some items from storage." + ] + }, + { + "name": "kill_prefix", + "fields": [ + { + "name": "prefix", + "type": 13, + "typeName": "Key" + }, + { + "name": "subkeys", + "type": 4, + "typeName": "u32" + } + ], + "index": 6, + "docs": [ + "Kill all storage items with a key that starts with the given prefix.", + "", + "**NOTE:** We rely on the Root origin to provide us the number of subkeys under", + "the prefix we are removing to accurately calculate the weight of this function." + ] + }, + { + "name": "remark_with_event", + "fields": [ + { + "name": "remark", + "type": 13, + "typeName": "Vec" + } + ], + "index": 7, + "docs": [ + "Make some on-chain remark and emit event." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 81, + "type": { + "def": { + "sequence": { + "type": 82 + } + } + } + }, + { + "id": 82, + "type": { + "def": { + "tuple": [ + 13, + 13 + ] + } + } + }, + { + "id": 83, + "type": { + "def": { + "sequence": { + "type": 13 + } + } + } + }, + { + "id": 84, + "type": { + "path": [ + "pallet_scheduler", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "schedule", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "maybe_periodic", + "type": 85, + "typeName": "Option>" + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 0, + "docs": [ + "Anonymously schedule a task." + ] + }, + { + "name": "cancel", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "index", + "type": 4, + "typeName": "u32" + } + ], + "index": 1, + "docs": [ + "Cancel an anonymously scheduled task." + ] + }, + { + "name": "schedule_named", + "fields": [ + { + "name": "id", + "type": 1, + "typeName": "TaskName" + }, + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "maybe_periodic", + "type": 85, + "typeName": "Option>" + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 2, + "docs": [ + "Schedule a named task." + ] + }, + { + "name": "cancel_named", + "fields": [ + { + "name": "id", + "type": 1, + "typeName": "TaskName" + } + ], + "index": 3, + "docs": [ + "Cancel a named scheduled task." + ] + }, + { + "name": "schedule_after", + "fields": [ + { + "name": "after", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "maybe_periodic", + "type": 85, + "typeName": "Option>" + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 4, + "docs": [ + "Anonymously schedule a task after a delay." + ] + }, + { + "name": "schedule_named_after", + "fields": [ + { + "name": "id", + "type": 1, + "typeName": "TaskName" + }, + { + "name": "after", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "maybe_periodic", + "type": 85, + "typeName": "Option>" + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 5, + "docs": [ + "Schedule a named task after a delay." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 85, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 31 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 31 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 86, + "type": { + "path": [ + "pallet_preimage", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "note_preimage", + "fields": [ + { + "name": "bytes", + "type": 13, + "typeName": "Vec" + } + ], + "index": 0, + "docs": [ + "Register a preimage on-chain.", + "", + "If the preimage was previously requested, no fees or deposits are taken for providing", + "the preimage. Otherwise, a deposit is taken proportional to the size of the preimage." + ] + }, + { + "name": "unnote_preimage", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 1, + "docs": [ + "Clear an unrequested preimage from the runtime storage.", + "", + "If `len` is provided, then it will be a much cheaper operation.", + "", + "- `hash`: The hash of the preimage to be removed from the store.", + "- `len`: The length of the preimage of `hash`." + ] + }, + { + "name": "request_preimage", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 2, + "docs": [ + "Request a preimage be uploaded to the chain without paying any fees or deposits.", + "", + "If the preimage requests has already been provided on-chain, we unreserve any deposit", + "a user may have paid, and take the control of the preimage out of their hands." + ] + }, + { + "name": "unrequest_preimage", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 3, + "docs": [ + "Clear a previously made request for a preimage.", + "", + "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 87, + "type": { + "path": [ + "pallet_babe", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "report_equivocation", + "fields": [ + { + "name": "equivocation_proof", + "type": 88, + "typeName": "Box>" + }, + { + "name": "key_owner_proof", + "type": 94, + "typeName": "T::KeyOwnerProof" + } + ], + "index": 0, + "docs": [ + "Report authority equivocation/misbehavior. This method will verify", + "the equivocation proof and validate the given key ownership proof", + "against the extracted offender. If both are valid, the offence will", + "be reported." + ] + }, + { + "name": "report_equivocation_unsigned", + "fields": [ + { + "name": "equivocation_proof", + "type": 88, + "typeName": "Box>" + }, + { + "name": "key_owner_proof", + "type": 94, + "typeName": "T::KeyOwnerProof" + } + ], + "index": 1, + "docs": [ + "Report authority equivocation/misbehavior. This method will verify", + "the equivocation proof and validate the given key ownership proof", + "against the extracted offender. If both are valid, the offence will", + "be reported.", + "This extrinsic must be called unsigned and it is expected that only", + "block authors will call it (validated in `ValidateUnsigned`), as such", + "if the block author is defined it will be defined as the equivocation", + "reporter." + ] + }, + { + "name": "plan_config_change", + "fields": [ + { + "name": "config", + "type": 95, + "typeName": "NextConfigDescriptor" + } + ], + "index": 2, + "docs": [ + "Plan an epoch config change. The epoch config change is recorded and will be enacted on", + "the next call to `enact_epoch_change`. The config will be activated one epoch after.", + "Multiple calls to this method will replace any existing planned config change that had", + "not been enacted yet." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 88, + "type": { + "path": [ + "sp_consensus_slots", + "EquivocationProof" + ], + "params": [ + { + "name": "Header", + "type": 89 + }, + { + "name": "Id", + "type": 92 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "offender", + "type": 92, + "typeName": "Id" + }, + { + "name": "slot", + "type": 93, + "typeName": "Slot" + }, + { + "name": "first_header", + "type": 89, + "typeName": "Header" + }, + { + "name": "second_header", + "type": 89, + "typeName": "Header" + } + ] + } + } + } + }, + { + "id": 89, + "type": { + "path": [ + "sp_runtime", + "generic", + "header", + "Header" + ], + "params": [ + { + "name": "Number", + "type": 4 + }, + { + "name": "Hash", + "type": 90 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "parent_hash", + "type": 12, + "typeName": "Hash::Output" + }, + { + "name": "number", + "type": 91, + "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": 90, + "type": { + "path": [ + "sp_runtime", + "traits", + "BlakeTwo256" + ], + "def": { + "composite": {} + } + } + }, + { + "id": 91, + "type": { + "def": { + "compact": { + "type": 4 + } + } + } + }, + { + "id": 92, + "type": { + "path": [ + "sp_consensus_babe", + "app", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 56, + "typeName": "sr25519::Public" + } + ] + } + } + } + }, + { + "id": 93, + "type": { + "path": [ + "sp_consensus_slots", + "Slot" + ], + "def": { + "composite": { + "fields": [ + { + "type": 11, + "typeName": "u64" + } + ] + } + } + } + }, + { + "id": 94, + "type": { + "path": [ + "sp_session", + "MembershipProof" + ], + "def": { + "composite": { + "fields": [ + { + "name": "session", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "trie_nodes", + "type": 83, + "typeName": "Vec>" + }, + { + "name": "validator_count", + "type": 4, + "typeName": "ValidatorCount" + } + ] + } + } + } + }, + { + "id": 95, + "type": { + "path": [ + "sp_consensus_babe", + "digests", + "NextConfigDescriptor" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V1", + "fields": [ + { + "name": "c", + "type": 96, + "typeName": "(u64, u64)" + }, + { + "name": "allowed_slots", + "type": 97, + "typeName": "AllowedSlots" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 96, + "type": { + "def": { + "tuple": [ + 11, + 11 + ] + } + } + }, + { + "id": 97, + "type": { + "path": [ + "sp_consensus_babe", + "AllowedSlots" + ], + "def": { + "variant": { + "variants": [ + { + "name": "PrimarySlots", + "index": 0 + }, + { + "name": "PrimaryAndSecondaryPlainSlots", + "index": 1 + }, + { + "name": "PrimaryAndSecondaryVRFSlots", + "index": 2 + } + ] + } + } + } + }, + { + "id": 98, + "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": [ + "Set the current time.", + "", + "This call should be invoked exactly once per block. It will panic at the finalization", + "phase, if this call hasn't been invoked by that time.", + "", + "The timestamp should be greater than the previous one by the amount specified by", + "`MinimumPeriod`.", + "", + "The dispatch origin for this call must be `Inherent`.", + "", + "## Complexity", + "- `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)", + "- 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in", + " `on_finalize`)", + "- 1 event handler `on_timestamp_set`. Must be `O(1)`." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 99, + "type": { + "path": [ + "pallet_indices", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "claim", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + } + ], + "index": 0, + "docs": [ + "Assign an previously unassigned index.", + "", + "Payment: `Deposit` is reserved from the sender account.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `index`: the index to be claimed. This must not be in use.", + "", + "Emits `IndexAssigned` if successful.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "transfer", + "fields": [ + { + "name": "new", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + } + ], + "index": 1, + "docs": [ + "Assign an index already owned by the sender to another account. The balance reservation", + "is effectively transferred to the new account.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `index`: the index to be re-assigned. This must be owned by the sender.", + "- `new`: the new owner of the index. This function is a no-op if it is equal to sender.", + "", + "Emits `IndexAssigned` if successful.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "free", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + } + ], + "index": 2, + "docs": [ + "Free up an index owned by the sender.", + "", + "Payment: Any previous deposit placed for the index is unreserved in the sender account.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must own the index.", + "", + "- `index`: the index to be freed. This must be owned by the sender.", + "", + "Emits `IndexFreed` if successful.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "force_transfer", + "fields": [ + { + "name": "new", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + }, + { + "name": "freeze", + "type": 44, + "typeName": "bool" + } + ], + "index": 3, + "docs": [ + "Force an index to an account. This doesn't require a deposit. If the index is already", + "held, then any deposit is reimbursed to its current owner.", + "", + "The dispatch origin for this call must be _Root_.", + "", + "- `index`: the index to be (re-)assigned.", + "- `new`: the new owner of the index. This function is a no-op if it is equal to sender.", + "- `freeze`: if set to `true`, will freeze the index so it cannot be transferred.", + "", + "Emits `IndexAssigned` if successful.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "freeze", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "T::AccountIndex" + } + ], + "index": 4, + "docs": [ + "Freeze an index so it will always point to the sender account. This consumes the", + "deposit.", + "", + "The dispatch origin for this call must be _Signed_ and the signing account must have a", + "non-frozen account `index`.", + "", + "- `index`: the index to be frozen in place.", + "", + "Emits `IndexFrozen` if successful.", + "", + "## Complexity", + "- `O(1)`." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 100, + "type": { + "path": [ + "sp_runtime", + "multiaddress", + "MultiAddress" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "AccountIndex", + "type": 34 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Id", + "fields": [ + { + "type": 0, + "typeName": "AccountId" + } + ], + "index": 0 + }, + { + "name": "Index", + "fields": [ + { + "type": 101, + "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": 102, + "typeName": "[u8; 20]" + } + ], + "index": 4 + } + ] + } + } + } + }, + { + "id": 101, + "type": { + "def": { + "compact": { + "type": 34 + } + } + } + }, + { + "id": 102, + "type": { + "def": { + "array": { + "len": 20, + "type": 2 + } + } + } + }, + { + "id": 103, + "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": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 60, + "typeName": "T::Balance" + } + ], + "index": 0, + "docs": [ + "Transfer some liquid free balance to another account.", + "", + "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver.", + "If the sender's account is below the existential deposit as a result", + "of the transfer, the account will be reaped.", + "", + "The dispatch origin for this call must be `Signed` by the transactor." + ] + }, + { + "name": "set_balance_deprecated", + "fields": [ + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "new_free", + "type": 60, + "typeName": "T::Balance" + }, + { + "name": "old_reserved", + "type": 60, + "typeName": "T::Balance" + } + ], + "index": 1, + "docs": [ + "Set the regular balance of a given account; it also takes a reserved balance but this", + "must be the same as the account's current reserved balance.", + "", + "The dispatch origin for this call is `root`.", + "", + "WARNING: This call is DEPRECATED! Use `force_set_balance` instead." + ] + }, + { + "name": "force_transfer", + "fields": [ + { + "name": "source", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "dest", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 60, + "typeName": "T::Balance" + } + ], + "index": 2, + "docs": [ + "Exactly as `transfer_allow_death`, except the origin must be root and the source account", + "may be specified." + ] + }, + { + "name": "transfer_keep_alive", + "fields": [ + { + "name": "dest", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 60, + "typeName": "T::Balance" + } + ], + "index": 3, + "docs": [ + "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not", + "kill the origin account.", + "", + "99% of the time you want [`transfer_allow_death`] instead.", + "", + "[`transfer_allow_death`]: struct.Pallet.html#method.transfer" + ] + }, + { + "name": "transfer_all", + "fields": [ + { + "name": "dest", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "keep_alive", + "type": 44, + "typeName": "bool" + } + ], + "index": 4, + "docs": [ + "Transfer the entire transferable balance from the caller account.", + "", + "NOTE: This function only attempts to transfer _transferable_ balances. This means that", + "any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be", + "transferred by this function. To ensure that this function results in a killed account,", + "you might need to prepare the account by removing any reference counters, storage", + "deposits, etc...", + "", + "The dispatch origin of this call must be Signed.", + "", + "- `dest`: The recipient of the transfer.", + "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all", + " of the funds the account has, causing the sender account to be killed (false), or", + " transfer everything except at least the existential deposit, which will guarantee to", + " keep the sender account alive (true)." + ] + }, + { + "name": "force_unreserve", + "fields": [ + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance" + } + ], + "index": 5, + "docs": [ + "Unreserve some balance from a user by force.", + "", + "Can only be called by ROOT." + ] + }, + { + "name": "upgrade_accounts", + "fields": [ + { + "name": "who", + "type": 104, + "typeName": "Vec" + } + ], + "index": 6, + "docs": [ + "Upgrade a specified account.", + "", + "- `origin`: Must be `Signed`.", + "- `who`: The account to be upgraded.", + "", + "This will waive the transaction fee if at least all but 10% of the accounts needed to", + "be upgraded. (We let some not have to be upgraded just in order to allow for the", + "possibililty of churn)." + ] + }, + { + "name": "transfer", + "fields": [ + { + "name": "dest", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 60, + "typeName": "T::Balance" + } + ], + "index": 7, + "docs": [ + "Alias for `transfer_allow_death`, provided only for name-wise compatibility.", + "", + "WARNING: DEPRECATED! Will be released in approximately 3 months." + ] + }, + { + "name": "force_set_balance", + "fields": [ + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "new_free", + "type": 60, + "typeName": "T::Balance" + } + ], + "index": 8, + "docs": [ + "Set the regular balance of a given account.", + "", + "The dispatch origin for this call is `root`." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 104, + "type": { + "def": { + "sequence": { + "type": 0 + } + } + } + }, + { + "id": 105, + "type": { + "path": [ + "pallet_staking", + "pallet", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "bond", + "fields": [ + { + "name": "controller", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "payee", + "type": 106, + "typeName": "RewardDestination" + } + ], + "index": 0, + "docs": [ + "Take the origin account as a stash and lock up `value` of its balance. `controller` will", + "be the account that controls it.", + "", + "`value` must be more than the `minimum_balance` specified by `T::Currency`.", + "", + "The dispatch origin for this call must be _Signed_ by the stash account.", + "", + "Emits `Bonded`.", + "## Complexity", + "- Independent of the arguments. Moderate complexity.", + "- O(1).", + "- Three extra DB entries.", + "", + "NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned", + "unless the `origin` falls below _existential deposit_ and gets removed as dust." + ] + }, + { + "name": "bond_extra", + "fields": [ + { + "name": "max_additional", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "Add some extra amount that have appeared in the stash `free_balance` into the balance up", + "for staking.", + "", + "The dispatch origin for this call must be _Signed_ by the stash, not the controller.", + "", + "Use this if there are additional funds in your stash account that you wish to bond.", + "Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose", + "any limitation on the amount that can be added.", + "", + "Emits `Bonded`.", + "", + "## Complexity", + "- Independent of the arguments. Insignificant complexity.", + "- O(1)." + ] + }, + { + "name": "unbond", + "fields": [ + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "Schedule a portion of the stash to be unlocked ready for transfer out after the bond", + "period ends. If this leaves an amount actively bonded less than", + "T::Currency::minimum_balance(), then it is increased to the full amount.", + "", + "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "", + "Once the unlock period is done, you can call `withdraw_unbonded` to actually move", + "the funds out of management ready for transfer.", + "", + "No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)", + "can co-exists at the same time. If there are no unlocking chunks slots available", + "[`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).", + "", + "If a user encounters the `InsufficientBond` error when calling this extrinsic,", + "they should call `chill` first in order to free up their bonded funds.", + "", + "Emits `Unbonded`.", + "", + "See also [`Call::withdraw_unbonded`]." + ] + }, + { + "name": "withdraw_unbonded", + "fields": [ + { + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32" + } + ], + "index": 3, + "docs": [ + "Remove any unlocked chunks from the `unlocking` queue from our management.", + "", + "This essentially frees up that balance to be used by the stash account to do", + "whatever it wants.", + "", + "The dispatch origin for this call must be _Signed_ by the controller.", + "", + "Emits `Withdrawn`.", + "", + "See also [`Call::unbond`].", + "", + "## Complexity", + "O(S) where S is the number of slashing spans to remove", + "NOTE: Weight annotation is the kill scenario, we refund otherwise." + ] + }, + { + "name": "validate", + "fields": [ + { + "name": "prefs", + "type": 42, + "typeName": "ValidatorPrefs" + } + ], + "index": 4, + "docs": [ + "Declare the desire to validate for the origin controller.", + "", + "Effects will be felt at the beginning of the next era.", + "", + "The dispatch origin for this call must be _Signed_ by the controller, not the stash." + ] + }, + { + "name": "nominate", + "fields": [ + { + "name": "targets", + "type": 107, + "typeName": "Vec>" + } + ], + "index": 5, + "docs": [ + "Declare the desire to nominate `targets` for the origin controller.", + "", + "Effects will be felt at the beginning of the next era.", + "", + "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "", + "## Complexity", + "- The transaction's complexity is proportional to the size of `targets` (N)", + "which is capped at CompactAssignments::LIMIT (T::MaxNominations).", + "- Both the reads and writes follow a similar pattern." + ] + }, + { + "name": "chill", + "index": 6, + "docs": [ + "Declare no desire to either validate or nominate.", + "", + "Effects will be felt at the beginning of the next era.", + "", + "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "", + "## Complexity", + "- Independent of the arguments. Insignificant complexity.", + "- Contains one read.", + "- Writes are limited to the `origin` account key." + ] + }, + { + "name": "set_payee", + "fields": [ + { + "name": "payee", + "type": 106, + "typeName": "RewardDestination" + } + ], + "index": 7, + "docs": [ + "(Re-)set the payment target for a controller.", + "", + "Effects will be felt instantly (as soon as this function is completed successfully).", + "", + "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "", + "## Complexity", + "- O(1)", + "- Independent of the arguments. Insignificant complexity.", + "- Contains a limited number of reads.", + "- Writes are limited to the `origin` account key.", + "---------" + ] + }, + { + "name": "set_controller", + "fields": [ + { + "name": "controller", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 8, + "docs": [ + "(Re-)set the controller of a stash.", + "", + "Effects will be felt instantly (as soon as this function is completed successfully).", + "", + "The dispatch origin for this call must be _Signed_ by the stash, not the controller.", + "", + "## Complexity", + "O(1)", + "- Independent of the arguments. Insignificant complexity.", + "- Contains a limited number of reads.", + "- Writes are limited to the `origin` account key." + ] + }, + { + "name": "set_validator_count", + "fields": [ + { + "name": "new", + "type": 91, + "typeName": "u32" + } + ], + "index": 9, + "docs": [ + "Sets the ideal number of validators.", + "", + "The dispatch origin must be Root.", + "", + "## Complexity", + "O(1)" + ] + }, + { + "name": "increase_validator_count", + "fields": [ + { + "name": "additional", + "type": 91, + "typeName": "u32" + } + ], + "index": 10, + "docs": [ + "Increments the ideal number of validators upto maximum of", + "`ElectionProviderBase::MaxWinners`.", + "", + "The dispatch origin must be Root.", + "", + "## Complexity", + "Same as [`Self::set_validator_count`]." + ] + }, + { + "name": "scale_validator_count", + "fields": [ + { + "name": "factor", + "type": 108, + "typeName": "Percent" + } + ], + "index": 11, + "docs": [ + "Scale up the ideal number of validators by a factor upto maximum of", + "`ElectionProviderBase::MaxWinners`.", + "", + "The dispatch origin must be Root.", + "", + "## Complexity", + "Same as [`Self::set_validator_count`]." + ] + }, + { + "name": "force_no_eras", + "index": 12, + "docs": [ + "Force there to be no new eras indefinitely.", + "", + "The dispatch origin must be Root.", + "", + "# Warning", + "", + "The election process starts multiple blocks before the end of the era.", + "Thus the election process may be ongoing when this is called. In this case the", + "election will continue until the next era is triggered.", + "", + "## Complexity", + "- No arguments.", + "- Weight: O(1)" + ] + }, + { + "name": "force_new_era", + "index": 13, + "docs": [ + "Force there to be a new era at the end of the next session. After this, it will be", + "reset to normal (non-forced) behaviour.", + "", + "The dispatch origin must be Root.", + "", + "# Warning", + "", + "The election process starts multiple blocks before the end of the era.", + "If this is called just before a new era is triggered, the election process may not", + "have enough blocks to get a result.", + "", + "## Complexity", + "- No arguments.", + "- Weight: O(1)" + ] + }, + { + "name": "set_invulnerables", + "fields": [ + { + "name": "invulnerables", + "type": 104, + "typeName": "Vec" + } + ], + "index": 14, + "docs": [ + "Set the validators who cannot be slashed (if any).", + "", + "The dispatch origin must be Root." + ] + }, + { + "name": "force_unstake", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32" + } + ], + "index": 15, + "docs": [ + "Force a current staker to become completely unstaked, immediately.", + "", + "The dispatch origin must be Root." + ] + }, + { + "name": "force_new_era_always", + "index": 16, + "docs": [ + "Force there to be a new era at the end of sessions indefinitely.", + "", + "The dispatch origin must be Root.", + "", + "# Warning", + "", + "The election process starts multiple blocks before the end of the era.", + "If this is called just before a new era is triggered, the election process may not", + "have enough blocks to get a result." + ] + }, + { + "name": "cancel_deferred_slash", + "fields": [ + { + "name": "era", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "slash_indices", + "type": 109, + "typeName": "Vec" + } + ], + "index": 17, + "docs": [ + "Cancel enactment of a deferred slash.", + "", + "Can be called by the `T::AdminOrigin`.", + "", + "Parameters: era and indices of the slashes for that era to kill." + ] + }, + { + "name": "payout_stakers", + "fields": [ + { + "name": "validator_stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "era", + "type": 4, + "typeName": "EraIndex" + } + ], + "index": 18, + "docs": [ + "Pay out all the stakers behind a single validator for a single era.", + "", + "- `validator_stash` is the stash account of the validator. Their nominators, up to", + " `T::MaxNominatorRewardedPerValidator`, will also receive their rewards.", + "- `era` may be any era between `[current_era - history_depth; current_era]`.", + "", + "The origin of this call must be _Signed_. Any account can call this function, even if", + "it is not one of the stakers.", + "", + "## Complexity", + "- At most O(MaxNominatorRewardedPerValidator)." + ] + }, + { + "name": "rebond", + "fields": [ + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 19, + "docs": [ + "Rebond a portion of the stash scheduled to be unlocked.", + "", + "The dispatch origin must be signed by the controller.", + "", + "## Complexity", + "- Time complexity: O(L), where L is unlocking chunks", + "- Bounded by `MaxUnlockingChunks`." + ] + }, + { + "name": "reap_stash", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32" + } + ], + "index": 20, + "docs": [ + "Remove all data structures concerning a staker/stash once it is at a state where it can", + "be considered `dust` in the staking system. The requirements are:", + "", + "1. the `total_balance` of the stash is below existential deposit.", + "2. or, the `ledger.total` of the stash is below existential deposit.", + "", + "The former can happen in cases like a slash; the latter when a fully unbonded account", + "is still receiving staking rewards in `RewardDestination::Staked`.", + "", + "It can be called by anyone, as long as `stash` meets the above requirements.", + "", + "Refunds the transaction fees upon successful execution." + ] + }, + { + "name": "kick", + "fields": [ + { + "name": "who", + "type": 107, + "typeName": "Vec>" + } + ], + "index": 21, + "docs": [ + "Remove the given nominations from the calling validator.", + "", + "Effects will be felt at the beginning of the next era.", + "", + "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "", + "- `who`: A list of nominator stash accounts who are nominating this validator which", + " should no longer be nominating this validator.", + "", + "Note: Making this call only makes sense if you first set the validator preferences to", + "block any further nominations." + ] + }, + { + "name": "set_staking_configs", + "fields": [ + { + "name": "min_nominator_bond", + "type": 110, + "typeName": "ConfigOp>" + }, + { + "name": "min_validator_bond", + "type": 110, + "typeName": "ConfigOp>" + }, + { + "name": "max_nominator_count", + "type": 111, + "typeName": "ConfigOp" + }, + { + "name": "max_validator_count", + "type": 111, + "typeName": "ConfigOp" + }, + { + "name": "chill_threshold", + "type": 112, + "typeName": "ConfigOp" + }, + { + "name": "min_commission", + "type": 113, + "typeName": "ConfigOp" + } + ], + "index": 22, + "docs": [ + "Update the various staking configurations .", + "", + "* `min_nominator_bond`: The minimum active bond needed to be a nominator.", + "* `min_validator_bond`: The minimum active bond needed to be a validator.", + "* `max_nominator_count`: The max number of users who can be a nominator at once. When", + " set to `None`, no limit is enforced.", + "* `max_validator_count`: The max number of users who can be a validator at once. When", + " set to `None`, no limit is enforced.", + "* `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which", + " should be filled in order for the `chill_other` transaction to work.", + "* `min_commission`: The minimum amount of commission that each validators must maintain.", + " This is checked only upon calling `validate`. Existing validators are not affected.", + "", + "RuntimeOrigin must be Root to call this function.", + "", + "NOTE: Existing nominators and validators will not be affected by this update.", + "to kick people under the new limits, `chill_other` should be called." + ] + }, + { + "name": "chill_other", + "fields": [ + { + "name": "controller", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 23, + "docs": [ + "Declare a `controller` to stop participating as either a validator or nominator.", + "", + "Effects will be felt at the beginning of the next era.", + "", + "The dispatch origin for this call must be _Signed_, but can be called by anyone.", + "", + "If the caller is the same as the controller being targeted, then no further checks are", + "enforced, and this function behaves just like `chill`.", + "", + "If the caller is different than the controller being targeted, the following conditions", + "must be met:", + "", + "* `controller` must belong to a nominator who has become non-decodable,", + "", + "Or:", + "", + "* A `ChillThreshold` must be set and checked which defines how close to the max", + " nominators or validators we must reach before users can start chilling one-another.", + "* A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine", + " how close we are to the threshold.", + "* A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines", + " if this is a person that should be chilled because they have not met the threshold", + " bond required.", + "", + "This can be helpful if bond requirements are updated, and we need to remove old users", + "who do not satisfy these requirements." + ] + }, + { + "name": "force_apply_min_commission", + "fields": [ + { + "name": "validator_stash", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 24, + "docs": [ + "Force a validator to have at least the minimum commission. This will not affect a", + "validator who already has a commission greater than or equal to the minimum. Any account", + "can call this." + ] + }, + { + "name": "set_min_commission", + "fields": [ + { + "name": "new", + "type": 41, + "typeName": "Perbill" + } + ], + "index": 25, + "docs": [ + "Sets the minimum amount of commission that each validators must maintain.", + "", + "This call has lower privilege requirements than `set_staking_config` and can be called", + "by the `T::AdminOrigin`. Root can always call this." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 106, + "type": { + "path": [ + "pallet_staking", + "RewardDestination" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Staked", + "index": 0 + }, + { + "name": "Stash", + "index": 1 + }, + { + "name": "Controller", + "index": 2 + }, + { + "name": "Account", + "fields": [ + { + "type": 0, + "typeName": "AccountId" + } + ], + "index": 3 + }, + { + "name": "None", + "index": 4 + } + ] + } + } + } + }, + { + "id": 107, + "type": { + "def": { + "sequence": { + "type": 100 + } + } + } + }, + { + "id": 108, + "type": { + "path": [ + "sp_arithmetic", + "per_things", + "Percent" + ], + "def": { + "composite": { + "fields": [ + { + "type": 2, + "typeName": "u8" + } + ] + } + } + } + }, + { + "id": 109, + "type": { + "def": { + "sequence": { + "type": 4 + } + } + } + }, + { + "id": 110, + "type": { + "path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 6, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 111, + "type": { + "path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 4, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 112, + "type": { + "path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 108 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 108, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 113, + "type": { + "path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 41 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 41, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 114, + "type": { + "path": [ + "pallet_session", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "set_keys", + "fields": [ + { + "name": "keys", + "type": 115, + "typeName": "T::Keys" + }, + { + "name": "proof", + "type": 13, + "typeName": "Vec" + } + ], + "index": 0, + "docs": [ + "Sets the session key(s) of the function caller to `keys`.", + "Allows an account to set its session key prior to becoming a validator.", + "This doesn't take effect until the next session.", + "", + "The dispatch origin of this function must be signed.", + "", + "## Complexity", + "- `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is", + " fixed." + ] + }, + { + "name": "purge_keys", + "index": 1, + "docs": [ + "Removes any session key(s) of the function caller.", + "", + "This doesn't take effect until the next session.", + "", + "The dispatch origin of this function must be Signed and the account must be either be", + "convertible to a validator ID using the chain's typical addressing system (this usually", + "means being a controller account) or directly convertible into a validator ID (which", + "usually means being a stash account).", + "", + "## Complexity", + "- `O(1)` in number of key types. Actual cost depends on the number of length of", + " `T::Keys::key_ids()` which is fixed." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 115, + "type": { + "path": [ + "polkadot_runtime", + "SessionKeys" + ], + "def": { + "composite": { + "fields": [ + { + "name": "grandpa", + "type": 52, + "typeName": "::Public" + }, + { + "name": "babe", + "type": 92, + "typeName": "::Public" + }, + { + "name": "im_online", + "type": 55, + "typeName": "::Public" + }, + { + "name": "para_validator", + "type": 116, + "typeName": "::Public" + }, + { + "name": "para_assignment", + "type": 117, + "typeName": "::Public" + }, + { + "name": "authority_discovery", + "type": 118, + "typeName": "::Public" + } + ] + } + } + } + }, + { + "id": 116, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "validator_app", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 56, + "typeName": "sr25519::Public" + } + ] + } + } + } + }, + { + "id": 117, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "assignment_app", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 56, + "typeName": "sr25519::Public" + } + ] + } + } + } + }, + { + "id": 118, + "type": { + "path": [ + "sp_authority_discovery", + "app", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 56, + "typeName": "sr25519::Public" + } + ] + } + } + } + }, + { + "id": 119, + "type": { + "path": [ + "pallet_grandpa", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "report_equivocation", + "fields": [ + { + "name": "equivocation_proof", + "type": 120, + "typeName": "Box>" + }, + { + "name": "key_owner_proof", + "type": 94, + "typeName": "T::KeyOwnerProof" + } + ], + "index": 0, + "docs": [ + "Report voter equivocation/misbehavior. This method will verify the", + "equivocation proof and validate the given key ownership proof", + "against the extracted offender. If both are valid, the offence", + "will be reported." + ] + }, + { + "name": "report_equivocation_unsigned", + "fields": [ + { + "name": "equivocation_proof", + "type": 120, + "typeName": "Box>" + }, + { + "name": "key_owner_proof", + "type": 94, + "typeName": "T::KeyOwnerProof" + } + ], + "index": 1, + "docs": [ + "Report voter equivocation/misbehavior. This method will verify the", + "equivocation proof and validate the given key ownership proof", + "against the extracted offender. If both are valid, the offence", + "will be reported.", + "", + "This extrinsic must be called unsigned and it is expected that only", + "block authors will call it (validated in `ValidateUnsigned`), as such", + "if the block author is defined it will be defined as the equivocation", + "reporter." + ] + }, + { + "name": "note_stalled", + "fields": [ + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "best_finalized_block_number", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 2, + "docs": [ + "Note that the current authority set of the GRANDPA finality gadget has stalled.", + "", + "This will trigger a forced authority set change at the beginning of the next session, to", + "be enacted `delay` blocks after that. The `delay` should be high enough to safely assume", + "that the block signalling the forced change will not be re-orged e.g. 1000 blocks.", + "The block production rate (which may be slowed down because of finality lagging) should", + "be taken into account when choosing the `delay`. The GRANDPA voters based on the new", + "authority will start voting on top of `best_finalized_block_number` for new finalized", + "blocks. `best_finalized_block_number` should be the highest of the latest finalized", + "block of all validators of the new authority set.", + "", + "Only callable by root." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 120, + "type": { + "path": [ + "sp_consensus_grandpa", + "EquivocationProof" + ], + "params": [ + { + "name": "H", + "type": 12 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "set_id", + "type": 11, + "typeName": "SetId" + }, + { + "name": "equivocation", + "type": 121, + "typeName": "Equivocation" + } + ] + } + } + } + }, + { + "id": 121, + "type": { + "path": [ + "sp_consensus_grandpa", + "Equivocation" + ], + "params": [ + { + "name": "H", + "type": 12 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Prevote", + "fields": [ + { + "type": 122, + "typeName": "grandpa::Equivocation,\nAuthoritySignature>" + } + ], + "index": 0 + }, + { + "name": "Precommit", + "fields": [ + { + "type": 128, + "typeName": "grandpa::Equivocation,\nAuthoritySignature>" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 122, + "type": { + "path": [ + "finality_grandpa", + "Equivocation" + ], + "params": [ + { + "name": "Id", + "type": 52 + }, + { + "name": "V", + "type": 123 + }, + { + "name": "S", + "type": 124 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "round_number", + "type": 11, + "typeName": "u64" + }, + { + "name": "identity", + "type": 52, + "typeName": "Id" + }, + { + "name": "first", + "type": 127, + "typeName": "(V, S)" + }, + { + "name": "second", + "type": 127, + "typeName": "(V, S)" + } + ] + } + } + } + }, + { + "id": 123, + "type": { + "path": [ + "finality_grandpa", + "Prevote" + ], + "params": [ + { + "name": "H", + "type": 12 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "target_hash", + "type": 12, + "typeName": "H" + }, + { + "name": "target_number", + "type": 4, + "typeName": "N" + } + ] + } + } + } + }, + { + "id": 124, + "type": { + "path": [ + "sp_consensus_grandpa", + "app", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 125, + "typeName": "ed25519::Signature" + } + ] + } + } + } + }, + { + "id": 125, + "type": { + "path": [ + "sp_core", + "ed25519", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 126, + "typeName": "[u8; 64]" + } + ] + } + } + } + }, + { + "id": 126, + "type": { + "def": { + "array": { + "len": 64, + "type": 2 + } + } + } + }, + { + "id": 127, + "type": { + "def": { + "tuple": [ + 123, + 124 + ] + } + } + }, + { + "id": 128, + "type": { + "path": [ + "finality_grandpa", + "Equivocation" + ], + "params": [ + { + "name": "Id", + "type": 52 + }, + { + "name": "V", + "type": 129 + }, + { + "name": "S", + "type": 124 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "round_number", + "type": 11, + "typeName": "u64" + }, + { + "name": "identity", + "type": 52, + "typeName": "Id" + }, + { + "name": "first", + "type": 130, + "typeName": "(V, S)" + }, + { + "name": "second", + "type": 130, + "typeName": "(V, S)" + } + ] + } + } + } + }, + { + "id": 129, + "type": { + "path": [ + "finality_grandpa", + "Precommit" + ], + "params": [ + { + "name": "H", + "type": 12 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "target_hash", + "type": 12, + "typeName": "H" + }, + { + "name": "target_number", + "type": 4, + "typeName": "N" + } + ] + } + } + } + }, + { + "id": 130, + "type": { + "def": { + "tuple": [ + 129, + 124 + ] + } + } + }, + { + "id": 131, + "type": { + "path": [ + "pallet_im_online", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "heartbeat", + "fields": [ + { + "name": "heartbeat", + "type": 132, + "typeName": "Heartbeat" + }, + { + "name": "signature", + "type": 137, + "typeName": "::Signature" + } + ], + "index": 0, + "docs": [ + "## Complexity:", + "- `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of", + " `heartbeat.network_state.external_address`", + " - `O(K)`: decoding of length `K`", + " - `O(E)`: decoding/encoding of length `E`" + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 132, + "type": { + "path": [ + "pallet_im_online", + "Heartbeat" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "block_number", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "network_state", + "type": 133, + "typeName": "OpaqueNetworkState" + }, + { + "name": "session_index", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "authority_index", + "type": 4, + "typeName": "AuthIndex" + }, + { + "name": "validators_len", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 133, + "type": { + "path": [ + "sp_core", + "offchain", + "OpaqueNetworkState" + ], + "def": { + "composite": { + "fields": [ + { + "name": "peer_id", + "type": 134, + "typeName": "OpaquePeerId" + }, + { + "name": "external_addresses", + "type": 135, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 134, + "type": { + "path": [ + "sp_core", + "OpaquePeerId" + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 135, + "type": { + "def": { + "sequence": { + "type": 136 + } + } + } + }, + { + "id": 136, + "type": { + "path": [ + "sp_core", + "offchain", + "OpaqueMultiaddr" + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 137, + "type": { + "path": [ + "pallet_im_online", + "sr25519", + "app_sr25519", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 138, + "typeName": "sr25519::Signature" + } + ] + } + } + } + }, + { + "id": 138, + "type": { + "path": [ + "sp_core", + "sr25519", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 126, + "typeName": "[u8; 64]" + } + ] + } + } + } + }, + { + "id": 139, + "type": { + "path": [ + "pallet_democracy", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "propose", + "fields": [ + { + "name": "proposal", + "type": 78, + "typeName": "BoundedCallOf" + }, + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 0, + "docs": [ + "Propose a sensitive action to be taken.", + "", + "The dispatch origin of this call must be _Signed_ and the sender must", + "have funds to cover the deposit.", + "", + "- `proposal_hash`: The hash of the proposal preimage.", + "- `value`: The amount of deposit (must be at least `MinimumDeposit`).", + "", + "Emits `Proposed`." + ] + }, + { + "name": "second", + "fields": [ + { + "name": "proposal", + "type": 91, + "typeName": "PropIndex" + } + ], + "index": 1, + "docs": [ + "Signals agreement with a particular proposal.", + "", + "The dispatch origin of this call must be _Signed_ and the sender", + "must have funds to cover the deposit, equal to the original deposit.", + "", + "- `proposal`: The index of the proposal to second." + ] + }, + { + "name": "vote", + "fields": [ + { + "name": "ref_index", + "type": 91, + "typeName": "ReferendumIndex" + }, + { + "name": "vote", + "type": 65, + "typeName": "AccountVote>" + } + ], + "index": 2, + "docs": [ + "Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal;", + "otherwise it is a vote to keep the status quo.", + "", + "The dispatch origin of this call must be _Signed_.", + "", + "- `ref_index`: The index of the referendum to vote for.", + "- `vote`: The vote configuration." + ] + }, + { + "name": "emergency_cancel", + "fields": [ + { + "name": "ref_index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 3, + "docs": [ + "Schedule an emergency cancellation of a referendum. Cannot happen twice to the same", + "referendum.", + "", + "The dispatch origin of this call must be `CancellationOrigin`.", + "", + "-`ref_index`: The index of the referendum to cancel.", + "", + "Weight: `O(1)`." + ] + }, + { + "name": "external_propose", + "fields": [ + { + "name": "proposal", + "type": 78, + "typeName": "BoundedCallOf" + } + ], + "index": 4, + "docs": [ + "Schedule a referendum to be tabled once it is legal to schedule an external", + "referendum.", + "", + "The dispatch origin of this call must be `ExternalOrigin`.", + "", + "- `proposal_hash`: The preimage hash of the proposal." + ] + }, + { + "name": "external_propose_majority", + "fields": [ + { + "name": "proposal", + "type": 78, + "typeName": "BoundedCallOf" + } + ], + "index": 5, + "docs": [ + "Schedule a majority-carries referendum to be tabled next once it is legal to schedule", + "an external referendum.", + "", + "The dispatch of this call must be `ExternalMajorityOrigin`.", + "", + "- `proposal_hash`: The preimage hash of the proposal.", + "", + "Unlike `external_propose`, blacklisting has no effect on this and it may replace a", + "pre-scheduled `external_propose` call.", + "", + "Weight: `O(1)`" + ] + }, + { + "name": "external_propose_default", + "fields": [ + { + "name": "proposal", + "type": 78, + "typeName": "BoundedCallOf" + } + ], + "index": 6, + "docs": [ + "Schedule a negative-turnout-bias referendum to be tabled next once it is legal to", + "schedule an external referendum.", + "", + "The dispatch of this call must be `ExternalDefaultOrigin`.", + "", + "- `proposal_hash`: The preimage hash of the proposal.", + "", + "Unlike `external_propose`, blacklisting has no effect on this and it may replace a", + "pre-scheduled `external_propose` call.", + "", + "Weight: `O(1)`" + ] + }, + { + "name": "fast_track", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "H256" + }, + { + "name": "voting_period", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 7, + "docs": [ + "Schedule the currently externally-proposed majority-carries referendum to be tabled", + "immediately. If there is no externally-proposed referendum currently, or if there is one", + "but it is not a majority-carries referendum then it fails.", + "", + "The dispatch of this call must be `FastTrackOrigin`.", + "", + "- `proposal_hash`: The hash of the current external proposal.", + "- `voting_period`: The period that is allowed for voting on this proposal. Increased to", + "\tMust be always greater than zero.", + "\tFor `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.", + "- `delay`: The number of block after voting has ended in approval and this should be", + " enacted. This doesn't have a minimum amount.", + "", + "Emits `Started`.", + "", + "Weight: `O(1)`" + ] + }, + { + "name": "veto_external", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "H256" + } + ], + "index": 8, + "docs": [ + "Veto and blacklist the external proposal hash.", + "", + "The dispatch origin of this call must be `VetoOrigin`.", + "", + "- `proposal_hash`: The preimage hash of the proposal to veto and blacklist.", + "", + "Emits `Vetoed`.", + "", + "Weight: `O(V + log(V))` where V is number of `existing vetoers`" + ] + }, + { + "name": "cancel_referendum", + "fields": [ + { + "name": "ref_index", + "type": 91, + "typeName": "ReferendumIndex" + } + ], + "index": 9, + "docs": [ + "Remove a referendum.", + "", + "The dispatch origin of this call must be _Root_.", + "", + "- `ref_index`: The index of the referendum to cancel.", + "", + "# Weight: `O(1)`." + ] + }, + { + "name": "delegate", + "fields": [ + { + "name": "to", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "conviction", + "type": 140, + "typeName": "Conviction" + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 10, + "docs": [ + "Delegate the voting power (with some given conviction) of the sending account.", + "", + "The balance delegated is locked for as long as it's delegated, and thereafter for the", + "time appropriate for the conviction's lock period.", + "", + "The dispatch origin of this call must be _Signed_, and the signing account must either:", + " - be delegating already; or", + " - have no voting activity (if there is, then it will need to be removed/consolidated", + " through `reap_vote` or `unvote`).", + "", + "- `to`: The account whose voting the `target` account's voting power will follow.", + "- `conviction`: The conviction that will be attached to the delegated votes. When the", + " account is undelegated, the funds will be locked for the corresponding period.", + "- `balance`: The amount of the account's balance to be used in delegating. This must not", + " be more than the account's current balance.", + "", + "Emits `Delegated`.", + "", + "Weight: `O(R)` where R is the number of referendums the voter delegating to has", + " voted on. Weight is charged as if maximum votes." + ] + }, + { + "name": "undelegate", + "index": 11, + "docs": [ + "Undelegate the voting power of the sending account.", + "", + "Tokens may be unlocked following once an amount of time consistent with the lock period", + "of the conviction with which the delegation was issued.", + "", + "The dispatch origin of this call must be _Signed_ and the signing account must be", + "currently delegating.", + "", + "Emits `Undelegated`.", + "", + "Weight: `O(R)` where R is the number of referendums the voter delegating to has", + " voted on. Weight is charged as if maximum votes." + ] + }, + { + "name": "clear_public_proposals", + "index": 12, + "docs": [ + "Clears all public proposals.", + "", + "The dispatch origin of this call must be _Root_.", + "", + "Weight: `O(1)`." + ] + }, + { + "name": "unlock", + "fields": [ + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 13, + "docs": [ + "Unlock tokens that have an expired lock.", + "", + "The dispatch origin of this call must be _Signed_.", + "", + "- `target`: The account to remove the lock on.", + "", + "Weight: `O(R)` with R number of vote of target." + ] + }, + { + "name": "remove_vote", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 14, + "docs": [ + "Remove a vote for a referendum.", + "", + "If:", + "- the referendum was cancelled, or", + "- the referendum is ongoing, or", + "- the referendum has ended such that", + " - the vote of the account was in opposition to the result; or", + " - there was no conviction to the account's vote; or", + " - the account made a split vote", + "...then the vote is removed cleanly and a following call to `unlock` may result in more", + "funds being available.", + "", + "If, however, the referendum has ended and:", + "- it finished corresponding to the vote of the account, and", + "- the account made a standard vote with conviction, and", + "- the lock period of the conviction is not over", + "...then the lock will be aggregated into the overall account's lock, which may involve", + "*overlocking* (where the two locks are combined into a single lock that is the maximum", + "of both the amount locked and the time is it locked for).", + "", + "The dispatch origin of this call must be _Signed_, and the signer must have a vote", + "registered for referendum `index`.", + "", + "- `index`: The index of referendum of the vote to be removed.", + "", + "Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.", + " Weight is calculated for the maximum number of vote." + ] + }, + { + "name": "remove_other_vote", + "fields": [ + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 15, + "docs": [ + "Remove a vote for a referendum.", + "", + "If the `target` is equal to the signer, then this function is exactly equivalent to", + "`remove_vote`. If not equal to the signer, then the vote must have expired,", + "either because the referendum was cancelled, because the voter lost the referendum or", + "because the conviction period is over.", + "", + "The dispatch origin of this call must be _Signed_.", + "", + "- `target`: The account of the vote to be removed; this account must have voted for", + " referendum `index`.", + "- `index`: The index of referendum of the vote to be removed.", + "", + "Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.", + " Weight is calculated for the maximum number of vote." + ] + }, + { + "name": "blacklist", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "H256" + }, + { + "name": "maybe_ref_index", + "type": 141, + "typeName": "Option" + } + ], + "index": 16, + "docs": [ + "Permanently place a proposal into the blacklist. This prevents it from ever being", + "proposed again.", + "", + "If called on a queued public or external proposal, then this will result in it being", + "removed. If the `ref_index` supplied is an active referendum with the proposal hash,", + "then it will be cancelled.", + "", + "The dispatch origin of this call must be `BlacklistOrigin`.", + "", + "- `proposal_hash`: The proposal hash to blacklist permanently.", + "- `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be", + "cancelled.", + "", + "Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a", + " reasonable value)." + ] + }, + { + "name": "cancel_proposal", + "fields": [ + { + "name": "prop_index", + "type": 91, + "typeName": "PropIndex" + } + ], + "index": 17, + "docs": [ + "Remove a proposal.", + "", + "The dispatch origin of this call must be `CancelProposalOrigin`.", + "", + "- `prop_index`: The index of the proposal to cancel.", + "", + "Weight: `O(p)` where `p = PublicProps::::decode_len()`" + ] + }, + { + "name": "set_metadata", + "fields": [ + { + "name": "owner", + "type": 67, + "typeName": "MetadataOwner" + }, + { + "name": "maybe_hash", + "type": 142, + "typeName": "Option" + } + ], + "index": 18, + "docs": [ + "Set or clear a metadata of a proposal or a referendum.", + "", + "Parameters:", + "- `origin`: Must correspond to the `MetadataOwner`.", + " - `ExternalOrigin` for an external proposal with the `SuperMajorityApprove`", + " threshold.", + " - `ExternalDefaultOrigin` for an external proposal with the `SuperMajorityAgainst`", + " threshold.", + " - `ExternalMajorityOrigin` for an external proposal with the `SimpleMajority`", + " threshold.", + " - `Signed` by a creator for a public proposal.", + " - `Signed` to clear a metadata for a finished referendum.", + " - `Root` to set a metadata for an ongoing referendum.", + "- `owner`: an identifier of a metadata owner.", + "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 140, + "type": { + "path": [ + "pallet_democracy", + "conviction", + "Conviction" + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Locked1x", + "index": 1 + }, + { + "name": "Locked2x", + "index": 2 + }, + { + "name": "Locked3x", + "index": 3 + }, + { + "name": "Locked4x", + "index": 4 + }, + { + "name": "Locked5x", + "index": 5 + }, + { + "name": "Locked6x", + "index": 6 + } + ] + } + } + } + }, + { + "id": 141, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 4 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 142, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 12 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 12 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 143, + "type": { + "path": [ + "pallet_collective", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "set_members", + "fields": [ + { + "name": "new_members", + "type": 104, + "typeName": "Vec" + }, + { + "name": "prime", + "type": 144, + "typeName": "Option" + }, + { + "name": "old_count", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 0, + "docs": [ + "Set the collective's membership.", + "", + "- `new_members`: The new member list. Be nice to the chain and provide it sorted.", + "- `prime`: The prime member whose vote sets the default.", + "- `old_count`: The upper bound for the previous number of members in storage. Used for", + " weight estimation.", + "", + "The dispatch of this call must be `SetMembersOrigin`.", + "", + "NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but", + " the weight estimations rely on it to estimate dispatchable weight.", + "", + "# WARNING:", + "", + "The `pallet-collective` can also be managed by logic outside of the pallet through the", + "implementation of the trait [`ChangeMembers`].", + "Any call to `set_members` must be careful that the member set doesn't get out of sync", + "with other logic managing the member set.", + "", + "## Complexity:", + "- `O(MP + N)` where:", + " - `M` old-members-count (code- and governance-bounded)", + " - `N` new-members-count (code- and governance-bounded)", + " - `P` proposals-count (code-bounded)" + ] + }, + { + "name": "execute", + "fields": [ + { + "name": "proposal", + "type": 79, + "typeName": "Box<>::Proposal>" + }, + { + "name": "length_bound", + "type": 91, + "typeName": "u32" + } + ], + "index": 1, + "docs": [ + "Dispatch a proposal from a member using the `Member` origin.", + "", + "Origin must be a member of the collective.", + "", + "## Complexity:", + "- `O(B + M + P)` where:", + "- `B` is `proposal` size in bytes (length-fee-bounded)", + "- `M` members-count (code-bounded)", + "- `P` complexity of dispatching `proposal`" + ] + }, + { + "name": "propose", + "fields": [ + { + "name": "threshold", + "type": 91, + "typeName": "MemberCount" + }, + { + "name": "proposal", + "type": 79, + "typeName": "Box<>::Proposal>" + }, + { + "name": "length_bound", + "type": 91, + "typeName": "u32" + } + ], + "index": 2, + "docs": [ + "Add a new proposal to either be voted on or executed directly.", + "", + "Requires the sender to be member.", + "", + "`threshold` determines whether `proposal` is executed directly (`threshold < 2`)", + "or put up for voting.", + "", + "## Complexity", + "- `O(B + M + P1)` or `O(B + M + P2)` where:", + " - `B` is `proposal` size in bytes (length-fee-bounded)", + " - `M` is members-count (code- and governance-bounded)", + " - branching is influenced by `threshold` where:", + " - `P1` is proposal execution complexity (`threshold < 2`)", + " - `P2` is proposals-count (code-bounded) (`threshold >= 2`)" + ] + }, + { + "name": "vote", + "fields": [ + { + "name": "proposal", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "index", + "type": 91, + "typeName": "ProposalIndex" + }, + { + "name": "approve", + "type": 44, + "typeName": "bool" + } + ], + "index": 3, + "docs": [ + "Add an aye or nay vote for the sender to the given proposal.", + "", + "Requires the sender to be a member.", + "", + "Transaction fees will be waived if the member is voting on any particular proposal", + "for the first time and the call is successful. Subsequent vote changes will charge a", + "fee.", + "## Complexity", + "- `O(M)` where `M` is members-count (code- and governance-bounded)" + ] + }, + { + "name": "disapprove_proposal", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 5, + "docs": [ + "Disapprove a proposal, close, and remove it from the system, regardless of its current", + "state.", + "", + "Must be called by the Root origin.", + "", + "Parameters:", + "* `proposal_hash`: The hash of the proposal that should be disapproved.", + "", + "## Complexity", + "O(P) where P is the number of max proposals" + ] + }, + { + "name": "close", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "index", + "type": 91, + "typeName": "ProposalIndex" + }, + { + "name": "proposal_weight_bound", + "type": 9, + "typeName": "Weight" + }, + { + "name": "length_bound", + "type": 91, + "typeName": "u32" + } + ], + "index": 6, + "docs": [ + "Close a vote that is either approved, disapproved or whose voting period has ended.", + "", + "May be called by any signed account in order to finish voting and close the proposal.", + "", + "If called before the end of the voting period it will only close the vote if it is", + "has enough votes to be approved or disapproved.", + "", + "If called after the end of the voting period abstentions are counted as rejections", + "unless there is a prime member set and the prime member cast an approval.", + "", + "If the close operation completes successfully with disapproval, the transaction fee will", + "be waived. Otherwise execution of the approved operation will be charged to the caller.", + "", + "+ `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed", + "proposal.", + "+ `length_bound`: The upper bound for the length of the proposal in storage. Checked via", + "`storage::read` so it is `size_of::() == 4` larger than the pure length.", + "", + "## Complexity", + "- `O(B + M + P1 + P2)` where:", + " - `B` is `proposal` size in bytes (length-fee-bounded)", + " - `M` is members-count (code- and governance-bounded)", + " - `P1` is the complexity of `proposal` preimage.", + " - `P2` is proposal-count (code-bounded)" + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 144, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 0 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 145, + "type": { + "path": [ + "pallet_collective", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "set_members", + "fields": [ + { + "name": "new_members", + "type": 104, + "typeName": "Vec" + }, + { + "name": "prime", + "type": 144, + "typeName": "Option" + }, + { + "name": "old_count", + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 0, + "docs": [ + "Set the collective's membership.", + "", + "- `new_members`: The new member list. Be nice to the chain and provide it sorted.", + "- `prime`: The prime member whose vote sets the default.", + "- `old_count`: The upper bound for the previous number of members in storage. Used for", + " weight estimation.", + "", + "The dispatch of this call must be `SetMembersOrigin`.", + "", + "NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but", + " the weight estimations rely on it to estimate dispatchable weight.", + "", + "# WARNING:", + "", + "The `pallet-collective` can also be managed by logic outside of the pallet through the", + "implementation of the trait [`ChangeMembers`].", + "Any call to `set_members` must be careful that the member set doesn't get out of sync", + "with other logic managing the member set.", + "", + "## Complexity:", + "- `O(MP + N)` where:", + " - `M` old-members-count (code- and governance-bounded)", + " - `N` new-members-count (code- and governance-bounded)", + " - `P` proposals-count (code-bounded)" + ] + }, + { + "name": "execute", + "fields": [ + { + "name": "proposal", + "type": 79, + "typeName": "Box<>::Proposal>" + }, + { + "name": "length_bound", + "type": 91, + "typeName": "u32" + } + ], + "index": 1, + "docs": [ + "Dispatch a proposal from a member using the `Member` origin.", + "", + "Origin must be a member of the collective.", + "", + "## Complexity:", + "- `O(B + M + P)` where:", + "- `B` is `proposal` size in bytes (length-fee-bounded)", + "- `M` members-count (code-bounded)", + "- `P` complexity of dispatching `proposal`" + ] + }, + { + "name": "propose", + "fields": [ + { + "name": "threshold", + "type": 91, + "typeName": "MemberCount" + }, + { + "name": "proposal", + "type": 79, + "typeName": "Box<>::Proposal>" + }, + { + "name": "length_bound", + "type": 91, + "typeName": "u32" + } + ], + "index": 2, + "docs": [ + "Add a new proposal to either be voted on or executed directly.", + "", + "Requires the sender to be member.", + "", + "`threshold` determines whether `proposal` is executed directly (`threshold < 2`)", + "or put up for voting.", + "", + "## Complexity", + "- `O(B + M + P1)` or `O(B + M + P2)` where:", + " - `B` is `proposal` size in bytes (length-fee-bounded)", + " - `M` is members-count (code- and governance-bounded)", + " - branching is influenced by `threshold` where:", + " - `P1` is proposal execution complexity (`threshold < 2`)", + " - `P2` is proposals-count (code-bounded) (`threshold >= 2`)" + ] + }, + { + "name": "vote", + "fields": [ + { + "name": "proposal", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "index", + "type": 91, + "typeName": "ProposalIndex" + }, + { + "name": "approve", + "type": 44, + "typeName": "bool" + } + ], + "index": 3, + "docs": [ + "Add an aye or nay vote for the sender to the given proposal.", + "", + "Requires the sender to be a member.", + "", + "Transaction fees will be waived if the member is voting on any particular proposal", + "for the first time and the call is successful. Subsequent vote changes will charge a", + "fee.", + "## Complexity", + "- `O(M)` where `M` is members-count (code- and governance-bounded)" + ] + }, + { + "name": "disapprove_proposal", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 5, + "docs": [ + "Disapprove a proposal, close, and remove it from the system, regardless of its current", + "state.", + "", + "Must be called by the Root origin.", + "", + "Parameters:", + "* `proposal_hash`: The hash of the proposal that should be disapproved.", + "", + "## Complexity", + "O(P) where P is the number of max proposals" + ] + }, + { + "name": "close", + "fields": [ + { + "name": "proposal_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "index", + "type": 91, + "typeName": "ProposalIndex" + }, + { + "name": "proposal_weight_bound", + "type": 9, + "typeName": "Weight" + }, + { + "name": "length_bound", + "type": 91, + "typeName": "u32" + } + ], + "index": 6, + "docs": [ + "Close a vote that is either approved, disapproved or whose voting period has ended.", + "", + "May be called by any signed account in order to finish voting and close the proposal.", + "", + "If called before the end of the voting period it will only close the vote if it is", + "has enough votes to be approved or disapproved.", + "", + "If called after the end of the voting period abstentions are counted as rejections", + "unless there is a prime member set and the prime member cast an approval.", + "", + "If the close operation completes successfully with disapproval, the transaction fee will", + "be waived. Otherwise execution of the approved operation will be charged to the caller.", + "", + "+ `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed", + "proposal.", + "+ `length_bound`: The upper bound for the length of the proposal in storage. Checked via", + "`storage::read` so it is `size_of::() == 4` larger than the pure length.", + "", + "## Complexity", + "- `O(B + M + P1 + P2)` where:", + " - `B` is `proposal` size in bytes (length-fee-bounded)", + " - `M` is members-count (code- and governance-bounded)", + " - `P1` is the complexity of `proposal` preimage.", + " - `P2` is proposal-count (code-bounded)" + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 146, + "type": { + "path": [ + "pallet_elections_phragmen", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "vote", + "fields": [ + { + "name": "votes", + "type": 104, + "typeName": "Vec" + }, + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 0, + "docs": [ + "Vote for a set of candidates for the upcoming round of election. This can be called to", + "set the initial votes, or update already existing votes.", + "", + "Upon initial voting, `value` units of `who`'s balance is locked and a deposit amount is", + "reserved. The deposit is based on the number of votes and can be updated over time.", + "", + "The `votes` should:", + " - not be empty.", + " - be less than the number of possible candidates. Note that all current members and", + " runners-up are also automatically candidates for the next round.", + "", + "If `value` is more than `who`'s free balance, then the maximum of the two is used.", + "", + "The dispatch origin of this call must be signed.", + "", + "### Warning", + "", + "It is the responsibility of the caller to **NOT** place all of their balance into the", + "lock and keep some for further operations." + ] + }, + { + "name": "remove_voter", + "index": 1, + "docs": [ + "Remove `origin` as a voter.", + "", + "This removes the lock and returns the deposit.", + "", + "The dispatch origin of this call must be signed and be a voter." + ] + }, + { + "name": "submit_candidacy", + "fields": [ + { + "name": "candidate_count", + "type": 91, + "typeName": "u32" + } + ], + "index": 2, + "docs": [ + "Submit oneself for candidacy. A fixed amount of deposit is recorded.", + "", + "All candidates are wiped at the end of the term. They either become a member/runner-up,", + "or leave the system while their deposit is slashed.", + "", + "The dispatch origin of this call must be signed.", + "", + "### Warning", + "", + "Even if a candidate ends up being a member, they must call [`Call::renounce_candidacy`]", + "to get their deposit back. Losing the spot in an election will always lead to a slash.", + "", + "The number of current candidates must be provided as witness data.", + "## Complexity", + "O(C + log(C)) where C is candidate_count." + ] + }, + { + "name": "renounce_candidacy", + "fields": [ + { + "name": "renouncing", + "type": 147, + "typeName": "Renouncing" + } + ], + "index": 3, + "docs": [ + "Renounce one's intention to be a candidate for the next election round. 3 potential", + "outcomes exist:", + "", + "- `origin` is a candidate and not elected in any set. In this case, the deposit is", + " unreserved, returned and origin is removed as a candidate.", + "- `origin` is a current runner-up. In this case, the deposit is unreserved, returned and", + " origin is removed as a runner-up.", + "- `origin` is a current member. In this case, the deposit is unreserved and origin is", + " removed as a member, consequently not being a candidate for the next round anymore.", + " Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they", + " are immediately used. If the prime is renouncing, then no prime will exist until the", + " next round.", + "", + "The dispatch origin of this call must be signed, and have one of the above roles.", + "The type of renouncing must be provided as witness data.", + "", + "## Complexity", + " - Renouncing::Candidate(count): O(count + log(count))", + " - Renouncing::Member: O(1)", + " - Renouncing::RunnerUp: O(1)" + ] + }, + { + "name": "remove_member", + "fields": [ + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "slash_bond", + "type": 44, + "typeName": "bool" + }, + { + "name": "rerun_election", + "type": 44, + "typeName": "bool" + } + ], + "index": 4, + "docs": [ + "Remove a particular member from the set. This is effective immediately and the bond of", + "the outgoing member is slashed.", + "", + "If a runner-up is available, then the best runner-up will be removed and replaces the", + "outgoing member. Otherwise, if `rerun_election` is `true`, a new phragmen election is", + "started, else, nothing happens.", + "", + "If `slash_bond` is set to true, the bond of the member being removed is slashed. Else,", + "it is returned.", + "", + "The dispatch origin of this call must be root.", + "", + "Note that this does not affect the designated block number of the next election.", + "", + "## Complexity", + "- Check details of remove_and_replace_member() and do_phragmen()." + ] + }, + { + "name": "clean_defunct_voters", + "fields": [ + { + "name": "num_voters", + "type": 4, + "typeName": "u32" + }, + { + "name": "num_defunct", + "type": 4, + "typeName": "u32" + } + ], + "index": 5, + "docs": [ + "Clean all voters who are defunct (i.e. they do not serve any purpose at all). The", + "deposit of the removed voters are returned.", + "", + "This is an root function to be used only for cleaning the state.", + "", + "The dispatch origin of this call must be root.", + "", + "## Complexity", + "- Check is_defunct_voter() details." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 147, + "type": { + "path": [ + "pallet_elections_phragmen", + "Renouncing" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Member", + "index": 0 + }, + { + "name": "RunnerUp", + "index": 1 + }, + { + "name": "Candidate", + "fields": [ + { + "type": 91, + "typeName": "u32" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 148, + "type": { + "path": [ + "pallet_membership", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "add_member", + "fields": [ + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 0, + "docs": [ + "Add a member `who` to the set.", + "", + "May only be called from `T::AddOrigin`." + ] + }, + { + "name": "remove_member", + "fields": [ + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 1, + "docs": [ + "Remove a member `who` from the set.", + "", + "May only be called from `T::RemoveOrigin`." + ] + }, + { + "name": "swap_member", + "fields": [ + { + "name": "remove", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "add", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 2, + "docs": [ + "Swap out one member `remove` for another `add`.", + "", + "May only be called from `T::SwapOrigin`.", + "", + "Prime membership is *not* passed from `remove` to `add`, if extant." + ] + }, + { + "name": "reset_members", + "fields": [ + { + "name": "members", + "type": 104, + "typeName": "Vec" + } + ], + "index": 3, + "docs": [ + "Change the membership to a new set, disregarding the existing membership. Be nice and", + "pass `members` pre-sorted.", + "", + "May only be called from `T::ResetOrigin`." + ] + }, + { + "name": "change_key", + "fields": [ + { + "name": "new", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 4, + "docs": [ + "Swap out the sending member for some other key `new`.", + "", + "May only be called from `Signed` origin of a current member.", + "", + "Prime membership is passed from the origin account to `new`, if extant." + ] + }, + { + "name": "set_prime", + "fields": [ + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 5, + "docs": [ + "Set the prime member. Must be a current member.", + "", + "May only be called from `T::PrimeOrigin`." + ] + }, + { + "name": "clear_prime", + "index": 6, + "docs": [ + "Remove the prime member if it exists.", + "", + "May only be called from `T::PrimeOrigin`." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 149, + "type": { + "path": [ + "pallet_treasury", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "propose_spend", + "fields": [ + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "beneficiary", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 0, + "docs": [ + "Put forward a suggestion for spending. A deposit proportional to the value", + "is reserved and slashed if the proposal is rejected. It is returned once the", + "proposal is awarded.", + "", + "## Complexity", + "- O(1)" + ] + }, + { + "name": "reject_proposal", + "fields": [ + { + "name": "proposal_id", + "type": 91, + "typeName": "ProposalIndex" + } + ], + "index": 1, + "docs": [ + "Reject a proposed spend. The original deposit will be slashed.", + "", + "May only be called from `T::RejectOrigin`.", + "", + "## Complexity", + "- O(1)" + ] + }, + { + "name": "approve_proposal", + "fields": [ + { + "name": "proposal_id", + "type": 91, + "typeName": "ProposalIndex" + } + ], + "index": 2, + "docs": [ + "Approve a proposal. At a later time, the proposal will be allocated to the beneficiary", + "and the original deposit will be returned.", + "", + "May only be called from `T::ApproveOrigin`.", + "", + "## Complexity", + " - O(1)." + ] + }, + { + "name": "spend", + "fields": [ + { + "name": "amount", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "beneficiary", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 3, + "docs": [ + "Propose and approve a spend of treasury funds.", + "", + "- `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.", + "- `amount`: The amount to be transferred from the treasury to the `beneficiary`.", + "- `beneficiary`: The destination account for the transfer.", + "", + "NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the", + "beneficiary." + ] + }, + { + "name": "remove_approval", + "fields": [ + { + "name": "proposal_id", + "type": 91, + "typeName": "ProposalIndex" + } + ], + "index": 4, + "docs": [ + "Force a previously approved proposal to be removed from the approval queue.", + "The original deposit will no longer be returned.", + "", + "May only be called from `T::RejectOrigin`.", + "- `proposal_id`: The index of a proposal", + "", + "## Complexity", + "- O(A) where `A` is the number of approvals", + "", + "Errors:", + "- `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,", + "i.e., the proposal has not been approved. This could also mean the proposal does not", + "exist altogether, thus there is no way it would have been approved in the first place." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 150, + "type": { + "path": [ + "pallet_conviction_voting", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "vote", + "fields": [ + { + "name": "poll_index", + "type": 91, + "typeName": "PollIndexOf" + }, + { + "name": "vote", + "type": 151, + "typeName": "AccountVote>" + } + ], + "index": 0, + "docs": [ + "Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;", + "otherwise it is a vote to keep the status quo.", + "", + "The dispatch origin of this call must be _Signed_.", + "", + "- `poll_index`: The index of the poll to vote for.", + "- `vote`: The vote configuration.", + "", + "Weight: `O(R)` where R is the number of polls the voter has voted on." + ] + }, + { + "name": "delegate", + "fields": [ + { + "name": "class", + "type": 77, + "typeName": "ClassOf" + }, + { + "name": "to", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "conviction", + "type": 153, + "typeName": "Conviction" + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "Delegate the voting power (with some given conviction) of the sending account for a", + "particular class of polls.", + "", + "The balance delegated is locked for as long as it's delegated, and thereafter for the", + "time appropriate for the conviction's lock period.", + "", + "The dispatch origin of this call must be _Signed_, and the signing account must either:", + " - be delegating already; or", + " - have no voting activity (if there is, then it will need to be removed/consolidated", + " through `reap_vote` or `unvote`).", + "", + "- `to`: The account whose voting the `target` account's voting power will follow.", + "- `class`: The class of polls to delegate. To delegate multiple classes, multiple calls", + " to this function are required.", + "- `conviction`: The conviction that will be attached to the delegated votes. When the", + " account is undelegated, the funds will be locked for the corresponding period.", + "- `balance`: The amount of the account's balance to be used in delegating. This must not", + " be more than the account's current balance.", + "", + "Emits `Delegated`.", + "", + "Weight: `O(R)` where R is the number of polls the voter delegating to has", + " voted on. Weight is initially charged as if maximum votes, but is refunded later." + ] + }, + { + "name": "undelegate", + "fields": [ + { + "name": "class", + "type": 77, + "typeName": "ClassOf" + } + ], + "index": 2, + "docs": [ + "Undelegate the voting power of the sending account for a particular class of polls.", + "", + "Tokens may be unlocked following once an amount of time consistent with the lock period", + "of the conviction with which the delegation was issued has passed.", + "", + "The dispatch origin of this call must be _Signed_ and the signing account must be", + "currently delegating.", + "", + "- `class`: The class of polls to remove the delegation from.", + "", + "Emits `Undelegated`.", + "", + "Weight: `O(R)` where R is the number of polls the voter delegating to has", + " voted on. Weight is initially charged as if maximum votes, but is refunded later." + ] + }, + { + "name": "unlock", + "fields": [ + { + "name": "class", + "type": 77, + "typeName": "ClassOf" + }, + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 3, + "docs": [ + "Remove the lock caused by prior voting/delegating which has expired within a particular", + "class.", + "", + "The dispatch origin of this call must be _Signed_.", + "", + "- `class`: The class of polls to unlock.", + "- `target`: The account to remove the lock on.", + "", + "Weight: `O(R)` with R number of vote of target." + ] + }, + { + "name": "remove_vote", + "fields": [ + { + "name": "class", + "type": 154, + "typeName": "Option>" + }, + { + "name": "index", + "type": 4, + "typeName": "PollIndexOf" + } + ], + "index": 4, + "docs": [ + "Remove a vote for a poll.", + "", + "If:", + "- the poll was cancelled, or", + "- the poll is ongoing, or", + "- the poll has ended such that", + " - the vote of the account was in opposition to the result; or", + " - there was no conviction to the account's vote; or", + " - the account made a split vote", + "...then the vote is removed cleanly and a following call to `unlock` may result in more", + "funds being available.", + "", + "If, however, the poll has ended and:", + "- it finished corresponding to the vote of the account, and", + "- the account made a standard vote with conviction, and", + "- the lock period of the conviction is not over", + "...then the lock will be aggregated into the overall account's lock, which may involve", + "*overlocking* (where the two locks are combined into a single lock that is the maximum", + "of both the amount locked and the time is it locked for).", + "", + "The dispatch origin of this call must be _Signed_, and the signer must have a vote", + "registered for poll `index`.", + "", + "- `index`: The index of poll of the vote to be removed.", + "- `class`: Optional parameter, if given it indicates the class of the poll. For polls", + " which have finished or are cancelled, this must be `Some`.", + "", + "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.", + " Weight is calculated for the maximum number of vote." + ] + }, + { + "name": "remove_other_vote", + "fields": [ + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "class", + "type": 77, + "typeName": "ClassOf" + }, + { + "name": "index", + "type": 4, + "typeName": "PollIndexOf" + } + ], + "index": 5, + "docs": [ + "Remove a vote for a poll.", + "", + "If the `target` is equal to the signer, then this function is exactly equivalent to", + "`remove_vote`. If not equal to the signer, then the vote must have expired,", + "either because the poll was cancelled, because the voter lost the poll or", + "because the conviction period is over.", + "", + "The dispatch origin of this call must be _Signed_.", + "", + "- `target`: The account of the vote to be removed; this account must have voted for poll", + " `index`.", + "- `index`: The index of poll of the vote to be removed.", + "- `class`: The class of the poll.", + "", + "Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.", + " Weight is calculated for the maximum number of vote." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 151, + "type": { + "path": [ + "pallet_conviction_voting", + "vote", + "AccountVote" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Standard", + "fields": [ + { + "name": "vote", + "type": 152, + "typeName": "Vote" + }, + { + "name": "balance", + "type": 6, + "typeName": "Balance" + } + ], + "index": 0 + }, + { + "name": "Split", + "fields": [ + { + "name": "aye", + "type": 6, + "typeName": "Balance" + }, + { + "name": "nay", + "type": 6, + "typeName": "Balance" + } + ], + "index": 1 + }, + { + "name": "SplitAbstain", + "fields": [ + { + "name": "aye", + "type": 6, + "typeName": "Balance" + }, + { + "name": "nay", + "type": 6, + "typeName": "Balance" + }, + { + "name": "abstain", + "type": 6, + "typeName": "Balance" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 152, + "type": { + "path": [ + "pallet_conviction_voting", + "vote", + "Vote" + ], + "def": { + "composite": { + "fields": [ + { + "type": 2 + } + ] + } + } + } + }, + { + "id": 153, + "type": { + "path": [ + "pallet_conviction_voting", + "conviction", + "Conviction" + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Locked1x", + "index": 1 + }, + { + "name": "Locked2x", + "index": 2 + }, + { + "name": "Locked3x", + "index": 3 + }, + { + "name": "Locked4x", + "index": 4 + }, + { + "name": "Locked5x", + "index": 5 + }, + { + "name": "Locked6x", + "index": 6 + } + ] + } + } + } + }, + { + "id": 154, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 77 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 77 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 155, + "type": { + "path": [ + "pallet_referenda", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "submit", + "fields": [ + { + "name": "proposal_origin", + "type": 156, + "typeName": "Box>" + }, + { + "name": "proposal", + "type": 78, + "typeName": "BoundedCallOf" + }, + { + "name": "enactment_moment", + "type": 172, + "typeName": "DispatchTime" + } + ], + "index": 0, + "docs": [ + "Propose a referendum on a privileged action.", + "", + "- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds", + " available.", + "- `proposal_origin`: The origin from which the proposal should be executed.", + "- `proposal`: The proposal.", + "- `enactment_moment`: The moment that the proposal should be enacted.", + "", + "Emits `Submitted`." + ] + }, + { + "name": "place_decision_deposit", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 1, + "docs": [ + "Post the Decision Deposit for a referendum.", + "", + "- `origin`: must be `Signed` and the account must have funds available for the", + " referendum's track's Decision Deposit.", + "- `index`: The index of the submitted referendum whose Decision Deposit is yet to be", + " posted.", + "", + "Emits `DecisionDepositPlaced`." + ] + }, + { + "name": "refund_decision_deposit", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 2, + "docs": [ + "Refund the Decision Deposit for a closed referendum back to the depositor.", + "", + "- `origin`: must be `Signed` or `Root`.", + "- `index`: The index of a closed referendum whose Decision Deposit has not yet been", + " refunded.", + "", + "Emits `DecisionDepositRefunded`." + ] + }, + { + "name": "cancel", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 3, + "docs": [ + "Cancel an ongoing referendum.", + "", + "- `origin`: must be the `CancelOrigin`.", + "- `index`: The index of the referendum to be cancelled.", + "", + "Emits `Cancelled`." + ] + }, + { + "name": "kill", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 4, + "docs": [ + "Cancel an ongoing referendum and slash the deposits.", + "", + "- `origin`: must be the `KillOrigin`.", + "- `index`: The index of the referendum to be cancelled.", + "", + "Emits `Killed` and `DepositSlashed`." + ] + }, + { + "name": "nudge_referendum", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 5, + "docs": [ + "Advance a referendum onto its next logical state. Only used internally.", + "", + "- `origin`: must be `Root`.", + "- `index`: the referendum to be advanced." + ] + }, + { + "name": "one_fewer_deciding", + "fields": [ + { + "name": "track", + "type": 77, + "typeName": "TrackIdOf" + } + ], + "index": 6, + "docs": [ + "Advance a track onto its next logical state. Only used internally.", + "", + "- `origin`: must be `Root`.", + "- `track`: the track to be advanced.", + "", + "Action item for when there is now one fewer referendum in the deciding phase and the", + "`DecidingCount` is not yet updated. This means that we should either:", + "- begin deciding another referendum (and leave `DecidingCount` alone); or", + "- decrement `DecidingCount`." + ] + }, + { + "name": "refund_submission_deposit", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + } + ], + "index": 7, + "docs": [ + "Refund the Submission Deposit for a closed referendum back to the depositor.", + "", + "- `origin`: must be `Signed` or `Root`.", + "- `index`: The index of a closed referendum whose Submission Deposit has not yet been", + " refunded.", + "", + "Emits `SubmissionDepositRefunded`." + ] + }, + { + "name": "set_metadata", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex" + }, + { + "name": "maybe_hash", + "type": 142, + "typeName": "Option" + } + ], + "index": 8, + "docs": [ + "Set or clear metadata of a referendum.", + "", + "Parameters:", + "- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a", + " metadata of a finished referendum.", + "- `index`: The index of a referendum to set or clear metadata for.", + "- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 156, + "type": { + "path": [ + "polkadot_runtime", + "OriginCaller" + ], + "def": { + "variant": { + "variants": [ + { + "name": "system", + "fields": [ + { + "type": 157, + "typeName": "frame_system::Origin" + } + ], + "index": 0 + }, + { + "name": "Council", + "fields": [ + { + "type": 158, + "typeName": "pallet_collective::Origin" + } + ], + "index": 15 + }, + { + "name": "TechnicalCommittee", + "fields": [ + { + "type": 159, + "typeName": "pallet_collective::Origin" + } + ], + "index": 16 + }, + { + "name": "Origins", + "fields": [ + { + "type": 160, + "typeName": "pallet_custom_origins::Origin" + } + ], + "index": 22 + }, + { + "name": "ParachainsOrigin", + "fields": [ + { + "type": 161, + "typeName": "parachains_origin::Origin" + } + ], + "index": 50 + }, + { + "name": "XcmPallet", + "fields": [ + { + "type": 163, + "typeName": "pallet_xcm::Origin" + } + ], + "index": 99 + }, + { + "name": "Void", + "fields": [ + { + "type": 171, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::Void" + } + ], + "index": 6 + } + ] + } + } + } + }, + { + "id": 157, + "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": 158, + "type": { + "path": [ + "pallet_collective", + "RawOrigin" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Members", + "fields": [ + { + "type": 4, + "typeName": "MemberCount" + }, + { + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 0 + }, + { + "name": "Member", + "fields": [ + { + "type": 0, + "typeName": "AccountId" + } + ], + "index": 1 + }, + { + "name": "_Phantom", + "index": 2 + } + ] + } + } + } + }, + { + "id": 159, + "type": { + "path": [ + "pallet_collective", + "RawOrigin" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Members", + "fields": [ + { + "type": 4, + "typeName": "MemberCount" + }, + { + "type": 4, + "typeName": "MemberCount" + } + ], + "index": 0 + }, + { + "name": "Member", + "fields": [ + { + "type": 0, + "typeName": "AccountId" + } + ], + "index": 1 + }, + { + "name": "_Phantom", + "index": 2 + } + ] + } + } + } + }, + { + "id": 160, + "type": { + "path": [ + "polkadot_runtime", + "governance", + "origins", + "pallet_custom_origins", + "Origin" + ], + "def": { + "variant": { + "variants": [ + { + "name": "StakingAdmin", + "index": 0 + }, + { + "name": "Treasurer", + "index": 1 + }, + { + "name": "FellowshipAdmin", + "index": 2 + }, + { + "name": "GeneralAdmin", + "index": 3 + }, + { + "name": "AuctionAdmin", + "index": 4 + }, + { + "name": "LeaseAdmin", + "index": 5 + }, + { + "name": "ReferendumCanceller", + "index": 6 + }, + { + "name": "ReferendumKiller", + "index": 7 + }, + { + "name": "SmallTipper", + "index": 8 + }, + { + "name": "BigTipper", + "index": 9 + }, + { + "name": "SmallSpender", + "index": 10 + }, + { + "name": "MediumSpender", + "index": 11 + }, + { + "name": "BigSpender", + "index": 12 + }, + { + "name": "WhitelistedCaller", + "index": 13 + } + ] + } + } + } + }, + { + "id": 161, + "type": { + "path": [ + "polkadot_runtime_parachains", + "origin", + "pallet", + "Origin" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Parachain", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 0 + } + ] + } + } + } + }, + { + "id": 162, + "type": { + "path": [ + "polkadot_parachain", + "primitives", + "Id" + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 163, + "type": { + "path": [ + "pallet_xcm", + "pallet", + "Origin" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Xcm", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 0 + }, + { + "name": "Response", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 164, + "type": { + "path": [ + "xcm", + "v3", + "multilocation", + "MultiLocation" + ], + "def": { + "composite": { + "fields": [ + { + "name": "parents", + "type": 2, + "typeName": "u8" + }, + { + "name": "interior", + "type": 165, + "typeName": "Junctions" + } + ] + } + } + } + }, + { + "id": 165, + "type": { + "path": [ + "xcm", + "v3", + "junctions", + "Junctions" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Here", + "index": 0 + }, + { + "name": "X1", + "fields": [ + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 1 + }, + { + "name": "X2", + "fields": [ + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 2 + }, + { + "name": "X3", + "fields": [ + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 3 + }, + { + "name": "X4", + "fields": [ + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 4 + }, + { + "name": "X5", + "fields": [ + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 5 + }, + { + "name": "X6", + "fields": [ + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 6 + }, + { + "name": "X7", + "fields": [ + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 7 + }, + { + "name": "X8", + "fields": [ + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + }, + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 8 + } + ] + } + } + } + }, + { + "id": 166, + "type": { + "path": [ + "xcm", + "v3", + "junction", + "Junction" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Parachain", + "fields": [ + { + "type": 91, + "typeName": "u32" + } + ], + "index": 0 + }, + { + "name": "AccountId32", + "fields": [ + { + "name": "network", + "type": 167, + "typeName": "Option" + }, + { + "name": "id", + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 1 + }, + { + "name": "AccountIndex64", + "fields": [ + { + "name": "network", + "type": 167, + "typeName": "Option" + }, + { + "name": "index", + "type": 10, + "typeName": "u64" + } + ], + "index": 2 + }, + { + "name": "AccountKey20", + "fields": [ + { + "name": "network", + "type": 167, + "typeName": "Option" + }, + { + "name": "key", + "type": 102, + "typeName": "[u8; 20]" + } + ], + "index": 3 + }, + { + "name": "PalletInstance", + "fields": [ + { + "type": 2, + "typeName": "u8" + } + ], + "index": 4 + }, + { + "name": "GeneralIndex", + "fields": [ + { + "type": 60, + "typeName": "u128" + } + ], + "index": 5 + }, + { + "name": "GeneralKey", + "fields": [ + { + "name": "length", + "type": 2, + "typeName": "u8" + }, + { + "name": "data", + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 6 + }, + { + "name": "OnlyChild", + "index": 7 + }, + { + "name": "Plurality", + "fields": [ + { + "name": "id", + "type": 169, + "typeName": "BodyId" + }, + { + "name": "part", + "type": 170, + "typeName": "BodyPart" + } + ], + "index": 8 + }, + { + "name": "GlobalConsensus", + "fields": [ + { + "type": 168, + "typeName": "NetworkId" + } + ], + "index": 9 + } + ] + } + } + } + }, + { + "id": 167, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 168 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 168 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 168, + "type": { + "path": [ + "xcm", + "v3", + "junction", + "NetworkId" + ], + "def": { + "variant": { + "variants": [ + { + "name": "ByGenesis", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 0 + }, + { + "name": "ByFork", + "fields": [ + { + "name": "block_number", + "type": 11, + "typeName": "u64" + }, + { + "name": "block_hash", + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 1 + }, + { + "name": "Polkadot", + "index": 2 + }, + { + "name": "Kusama", + "index": 3 + }, + { + "name": "Westend", + "index": 4 + }, + { + "name": "Rococo", + "index": 5 + }, + { + "name": "Wococo", + "index": 6 + }, + { + "name": "Ethereum", + "fields": [ + { + "name": "chain_id", + "type": 10, + "typeName": "u64" + } + ], + "index": 7 + }, + { + "name": "BitcoinCore", + "index": 8 + }, + { + "name": "BitcoinCash", + "index": 9 + } + ] + } + } + } + }, + { + "id": 169, + "type": { + "path": [ + "xcm", + "v3", + "junction", + "BodyId" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unit", + "index": 0 + }, + { + "name": "Moniker", + "fields": [ + { + "type": 17, + "typeName": "[u8; 4]" + } + ], + "index": 1 + }, + { + "name": "Index", + "fields": [ + { + "type": 91, + "typeName": "u32" + } + ], + "index": 2 + }, + { + "name": "Executive", + "index": 3 + }, + { + "name": "Technical", + "index": 4 + }, + { + "name": "Legislative", + "index": 5 + }, + { + "name": "Judicial", + "index": 6 + }, + { + "name": "Defense", + "index": 7 + }, + { + "name": "Administration", + "index": 8 + }, + { + "name": "Treasury", + "index": 9 + } + ] + } + } + } + }, + { + "id": 170, + "type": { + "path": [ + "xcm", + "v3", + "junction", + "BodyPart" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Voice", + "index": 0 + }, + { + "name": "Members", + "fields": [ + { + "name": "count", + "type": 91, + "typeName": "u32" + } + ], + "index": 1 + }, + { + "name": "Fraction", + "fields": [ + { + "name": "nom", + "type": 91, + "typeName": "u32" + }, + { + "name": "denom", + "type": 91, + "typeName": "u32" + } + ], + "index": 2 + }, + { + "name": "AtLeastProportion", + "fields": [ + { + "name": "nom", + "type": 91, + "typeName": "u32" + }, + { + "name": "denom", + "type": 91, + "typeName": "u32" + } + ], + "index": 3 + }, + { + "name": "MoreThanProportion", + "fields": [ + { + "name": "nom", + "type": 91, + "typeName": "u32" + }, + { + "name": "denom", + "type": 91, + "typeName": "u32" + } + ], + "index": 4 + } + ] + } + } + } + }, + { + "id": 171, + "type": { + "path": [ + "sp_core", + "Void" + ], + "def": { + "variant": {} + } + } + }, + { + "id": 172, + "type": { + "path": [ + "frame_support", + "traits", + "schedule", + "DispatchTime" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "At", + "fields": [ + { + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 0 + }, + { + "name": "After", + "fields": [ + { + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 173, + "type": { + "path": [ + "pallet_whitelist", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "whitelist_call", + "fields": [ + { + "name": "call_hash", + "type": 12, + "typeName": "PreimageHash" + } + ], + "index": 0 + }, + { + "name": "remove_whitelisted_call", + "fields": [ + { + "name": "call_hash", + "type": 12, + "typeName": "PreimageHash" + } + ], + "index": 1 + }, + { + "name": "dispatch_whitelisted_call", + "fields": [ + { + "name": "call_hash", + "type": 12, + "typeName": "PreimageHash" + }, + { + "name": "call_encoded_len", + "type": 4, + "typeName": "u32" + }, + { + "name": "call_weight_witness", + "type": 9, + "typeName": "Weight" + } + ], + "index": 2 + }, + { + "name": "dispatch_whitelisted_call_with_preimage", + "fields": [ + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 3 + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 174, + "type": { + "path": [ + "polkadot_runtime_common", + "claims", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "claim", + "fields": [ + { + "name": "dest", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "ethereum_signature", + "type": 175, + "typeName": "EcdsaSignature" + } + ], + "index": 0, + "docs": [ + "Make a claim to collect your DOTs.", + "", + "The dispatch origin for this call must be _None_.", + "", + "Unsigned Validation:", + "A call to claim is deemed valid if the signature provided matches", + "the expected signed message of:", + "", + "> Ethereum Signed Message:", + "> (configured prefix string)(address)", + "", + "and `address` matches the `dest` account.", + "", + "Parameters:", + "- `dest`: The destination account to payout the claim.", + "- `ethereum_signature`: The signature of an ethereum signed message", + " matching the format described above.", + "", + "", + "The weight of this call is invariant over the input parameters.", + "Weight includes logic to validate unsigned `claim` call.", + "", + "Total Complexity: O(1)", + "" + ] + }, + { + "name": "mint_claim", + "fields": [ + { + "name": "who", + "type": 177, + "typeName": "EthereumAddress" + }, + { + "name": "value", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "vesting_schedule", + "type": 178, + "typeName": "Option<(BalanceOf, BalanceOf, T::BlockNumber)>" + }, + { + "name": "statement", + "type": 180, + "typeName": "Option" + } + ], + "index": 1, + "docs": [ + "Mint a new claim to collect DOTs.", + "", + "The dispatch origin for this call must be _Root_.", + "", + "Parameters:", + "- `who`: The Ethereum address allowed to collect this claim.", + "- `value`: The number of DOTs that will be claimed.", + "- `vesting_schedule`: An optional vesting schedule for these DOTs.", + "", + "", + "The weight of this call is invariant over the input parameters.", + "We assume worst case that both vesting and statement is being inserted.", + "", + "Total Complexity: O(1)", + "" + ] + }, + { + "name": "claim_attest", + "fields": [ + { + "name": "dest", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "ethereum_signature", + "type": 175, + "typeName": "EcdsaSignature" + }, + { + "name": "statement", + "type": 13, + "typeName": "Vec" + } + ], + "index": 2, + "docs": [ + "Make a claim to collect your DOTs by signing a statement.", + "", + "The dispatch origin for this call must be _None_.", + "", + "Unsigned Validation:", + "A call to `claim_attest` is deemed valid if the signature provided matches", + "the expected signed message of:", + "", + "> Ethereum Signed Message:", + "> (configured prefix string)(address)(statement)", + "", + "and `address` matches the `dest` account; the `statement` must match that which is", + "expected according to your purchase arrangement.", + "", + "Parameters:", + "- `dest`: The destination account to payout the claim.", + "- `ethereum_signature`: The signature of an ethereum signed message", + " matching the format described above.", + "- `statement`: The identity of the statement which is being attested to in the signature.", + "", + "", + "The weight of this call is invariant over the input parameters.", + "Weight includes logic to validate unsigned `claim_attest` call.", + "", + "Total Complexity: O(1)", + "" + ] + }, + { + "name": "attest", + "fields": [ + { + "name": "statement", + "type": 13, + "typeName": "Vec" + } + ], + "index": 3, + "docs": [ + "Attest to a statement, needed to finalize the claims process.", + "", + "WARNING: Insecure unless your chain includes `PrevalidateAttests` as a `SignedExtension`.", + "", + "Unsigned Validation:", + "A call to attest is deemed valid if the sender has a `Preclaim` registered", + "and provides a `statement` which is expected for the account.", + "", + "Parameters:", + "- `statement`: The identity of the statement which is being attested to in the signature.", + "", + "", + "The weight of this call is invariant over the input parameters.", + "Weight includes logic to do pre-validation on `attest` call.", + "", + "Total Complexity: O(1)", + "" + ] + }, + { + "name": "move_claim", + "fields": [ + { + "name": "old", + "type": 177, + "typeName": "EthereumAddress" + }, + { + "name": "new", + "type": 177, + "typeName": "EthereumAddress" + }, + { + "name": "maybe_preclaim", + "type": 144, + "typeName": "Option" + } + ], + "index": 4 + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 175, + "type": { + "path": [ + "polkadot_runtime_common", + "claims", + "EcdsaSignature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 176, + "typeName": "[u8; 65]" + } + ] + } + } + } + }, + { + "id": 176, + "type": { + "def": { + "array": { + "len": 65, + "type": 2 + } + } + } + }, + { + "id": 177, + "type": { + "path": [ + "polkadot_runtime_common", + "claims", + "EthereumAddress" + ], + "def": { + "composite": { + "fields": [ + { + "type": 102, + "typeName": "[u8; 20]" + } + ] + } + } + } + }, + { + "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": { + "tuple": [ + 6, + 6, + 4 + ] + } + } + }, + { + "id": 180, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 181 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 181 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 181, + "type": { + "path": [ + "polkadot_runtime_common", + "claims", + "StatementKind" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Regular", + "index": 0 + }, + { + "name": "Saft", + "index": 1 + } + ] + } + } + } + }, + { + "id": 182, + "type": { + "path": [ + "pallet_vesting", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "vest", + "index": 0, + "docs": [ + "Unlock any vested funds of the sender account.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have funds still", + "locked under this pallet.", + "", + "Emits either `VestingCompleted` or `VestingUpdated`.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "vest_other", + "fields": [ + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 1, + "docs": [ + "Unlock any vested funds of a `target` account.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `target`: The account whose vested funds should be unlocked. Must have funds still", + "locked under this pallet.", + "", + "Emits either `VestingCompleted` or `VestingUpdated`.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "vested_transfer", + "fields": [ + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "schedule", + "type": 183, + "typeName": "VestingInfo, T::BlockNumber>" + } + ], + "index": 2, + "docs": [ + "Create a vested transfer.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `target`: The account receiving the vested funds.", + "- `schedule`: The vesting schedule attached to the transfer.", + "", + "Emits `VestingCreated`.", + "", + "NOTE: This will unlock all schedules through the current block.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "force_vested_transfer", + "fields": [ + { + "name": "source", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "schedule", + "type": 183, + "typeName": "VestingInfo, T::BlockNumber>" + } + ], + "index": 3, + "docs": [ + "Force a vested transfer.", + "", + "The dispatch origin for this call must be _Root_.", + "", + "- `source`: The account whose funds should be transferred.", + "- `target`: The account that should be transferred the vested funds.", + "- `schedule`: The vesting schedule attached to the transfer.", + "", + "Emits `VestingCreated`.", + "", + "NOTE: This will unlock all schedules through the current block.", + "", + "## Complexity", + "- `O(1)`." + ] + }, + { + "name": "merge_schedules", + "fields": [ + { + "name": "schedule1_index", + "type": 4, + "typeName": "u32" + }, + { + "name": "schedule2_index", + "type": 4, + "typeName": "u32" + } + ], + "index": 4, + "docs": [ + "Merge two vesting schedules together, creating a new vesting schedule that unlocks over", + "the highest possible start and end blocks. If both schedules have already started the", + "current block will be used as the schedule start; with the caveat that if one schedule", + "is finished by the current block, the other will be treated as the new merged schedule,", + "unmodified.", + "", + "NOTE: If `schedule1_index == schedule2_index` this is a no-op.", + "NOTE: This will unlock all schedules through the current block prior to merging.", + "NOTE: If both schedules have ended by the current block, no new schedule will be created", + "and both will be removed.", + "", + "Merged schedule attributes:", + "- `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,", + " current_block)`.", + "- `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.", + "- `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `schedule1_index`: index of the first schedule to merge.", + "- `schedule2_index`: index of the second schedule to merge." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 183, + "type": { + "path": [ + "pallet_vesting", + "vesting_info", + "VestingInfo" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "locked", + "type": 6, + "typeName": "Balance" + }, + { + "name": "per_block", + "type": 6, + "typeName": "Balance" + }, + { + "name": "starting_block", + "type": 4, + "typeName": "BlockNumber" + } + ] + } + } + } + }, + { + "id": 184, + "type": { + "path": [ + "pallet_utility", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "batch", + "fields": [ + { + "name": "calls", + "type": 185, + "typeName": "Vec<::RuntimeCall>" + } + ], + "index": 0, + "docs": [ + "Send a batch of dispatch calls.", + "", + "May be called from any origin except `None`.", + "", + "- `calls`: The calls to be dispatched from the same origin. The number of call must not", + " exceed the constant: `batched_calls_limit` (available in constant metadata).", + "", + "If origin is root then the calls are dispatched without checking origin filter. (This", + "includes bypassing `frame_system::Config::BaseCallFilter`).", + "", + "## Complexity", + "- O(C) where C is the number of calls to be batched.", + "", + "This will return `Ok` in all circumstances. To determine the success of the batch, an", + "event is deposited. If a call failed and the batch was interrupted, then the", + "`BatchInterrupted` event is deposited, along with the number of successful calls made", + "and the error of the failed call. If all were successful, then the `BatchCompleted`", + "event is deposited." + ] + }, + { + "name": "as_derivative", + "fields": [ + { + "name": "index", + "type": 77, + "typeName": "u16" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 1, + "docs": [ + "Send a call through an indexed pseudonym of the sender.", + "", + "Filter from origin are passed along. The call will be dispatched with an origin which", + "use the same filter as the origin of this call.", + "", + "NOTE: If you need to ensure that any account-based filtering is not honored (i.e.", + "because you expect `proxy` to have been used prior in the call stack and you do not want", + "the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`", + "in the Multisig pallet instead.", + "", + "NOTE: Prior to version *12, this was called `as_limited_sub`.", + "", + "The dispatch origin for this call must be _Signed_." + ] + }, + { + "name": "batch_all", + "fields": [ + { + "name": "calls", + "type": 185, + "typeName": "Vec<::RuntimeCall>" + } + ], + "index": 2, + "docs": [ + "Send a batch of dispatch calls and atomically execute them.", + "The whole transaction will rollback and fail if any of the calls failed.", + "", + "May be called from any origin except `None`.", + "", + "- `calls`: The calls to be dispatched from the same origin. The number of call must not", + " exceed the constant: `batched_calls_limit` (available in constant metadata).", + "", + "If origin is root then the calls are dispatched without checking origin filter. (This", + "includes bypassing `frame_system::Config::BaseCallFilter`).", + "", + "## Complexity", + "- O(C) where C is the number of calls to be batched." + ] + }, + { + "name": "dispatch_as", + "fields": [ + { + "name": "as_origin", + "type": 156, + "typeName": "Box" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 3, + "docs": [ + "Dispatches a function call with a provided origin.", + "", + "The dispatch origin for this call must be _Root_.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "force_batch", + "fields": [ + { + "name": "calls", + "type": 185, + "typeName": "Vec<::RuntimeCall>" + } + ], + "index": 4, + "docs": [ + "Send a batch of dispatch calls.", + "Unlike `batch`, it allows errors and won't interrupt.", + "", + "May be called from any origin except `None`.", + "", + "- `calls`: The calls to be dispatched from the same origin. The number of call must not", + " exceed the constant: `batched_calls_limit` (available in constant metadata).", + "", + "If origin is root then the calls are dispatch without checking origin filter. (This", + "includes bypassing `frame_system::Config::BaseCallFilter`).", + "", + "## Complexity", + "- O(C) where C is the number of calls to be batched." + ] + }, + { + "name": "with_weight", + "fields": [ + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + }, + { + "name": "weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 5, + "docs": [ + "Dispatch a function call with a specified weight.", + "", + "This function does not check the weight of the call, and instead allows the", + "Root origin to specify the weight of the call.", + "", + "The dispatch origin for this call must be _Root_." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 185, + "type": { + "def": { + "sequence": { + "type": 79 + } + } + } + }, + { + "id": 186, + "type": { + "path": [ + "pallet_identity", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "add_registrar", + "fields": [ + { + "name": "account", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 0, + "docs": [ + "Add a registrar to the system.", + "", + "The dispatch origin for this call must be `T::RegistrarOrigin`.", + "", + "- `account`: the account of the registrar.", + "", + "Emits `RegistrarAdded` if successful.", + "", + "## Complexity", + "- `O(R)` where `R` registrar-count (governance-bounded and code-bounded)." + ] + }, + { + "name": "set_identity", + "fields": [ + { + "name": "info", + "type": 187, + "typeName": "Box>" + } + ], + "index": 1, + "docs": [ + "Set an account's identity information and reserve the appropriate deposit.", + "", + "If the account already has identity information, the deposit is taken as part payment", + "for the new deposit.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `info`: The identity information.", + "", + "Emits `IdentitySet` if successful.", + "", + "## Complexity", + "- `O(X + X' + R)`", + " - where `X` additional-field-count (deposit-bounded and code-bounded)", + " - where `R` judgements-count (registrar-count-bounded)" + ] + }, + { + "name": "set_subs", + "fields": [ + { + "name": "subs", + "type": 222, + "typeName": "Vec<(T::AccountId, Data)>" + } + ], + "index": 2, + "docs": [ + "Set the sub-accounts of the sender.", + "", + "Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned", + "and an amount `SubAccountDeposit` will be reserved for each item in `subs`.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a registered", + "identity.", + "", + "- `subs`: The identity's (new) sub-accounts.", + "", + "## Complexity", + "- `O(P + S)`", + " - where `P` old-subs-count (hard- and deposit-bounded).", + " - where `S` subs-count (hard- and deposit-bounded)." + ] + }, + { + "name": "clear_identity", + "index": 3, + "docs": [ + "Clear an account's identity info and all sub-accounts and return all deposits.", + "", + "Payment: All reserved balances on the account are returned.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a registered", + "identity.", + "", + "Emits `IdentityCleared` if successful.", + "", + "## Complexity", + "- `O(R + S + X)`", + " - where `R` registrar-count (governance-bounded).", + " - where `S` subs-count (hard- and deposit-bounded).", + " - where `X` additional-field-count (deposit-bounded and code-bounded)." + ] + }, + { + "name": "request_judgement", + "fields": [ + { + "name": "reg_index", + "type": 91, + "typeName": "RegistrarIndex" + }, + { + "name": "max_fee", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 4, + "docs": [ + "Request a judgement from a registrar.", + "", + "Payment: At most `max_fee` will be reserved for payment to the registrar if judgement", + "given.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a", + "registered identity.", + "", + "- `reg_index`: The index of the registrar whose judgement is requested.", + "- `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:", + "", + "```nocompile", + "Self::registrars().get(reg_index).unwrap().fee", + "```", + "", + "Emits `JudgementRequested` if successful.", + "", + "## Complexity", + "- `O(R + X)`.", + " - where `R` registrar-count (governance-bounded).", + " - where `X` additional-field-count (deposit-bounded and code-bounded)." + ] + }, + { + "name": "cancel_request", + "fields": [ + { + "name": "reg_index", + "type": 4, + "typeName": "RegistrarIndex" + } + ], + "index": 5, + "docs": [ + "Cancel a previous request.", + "", + "Payment: A previously reserved deposit is returned on success.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a", + "registered identity.", + "", + "- `reg_index`: The index of the registrar whose judgement is no longer requested.", + "", + "Emits `JudgementUnrequested` if successful.", + "", + "## Complexity", + "- `O(R + X)`.", + " - where `R` registrar-count (governance-bounded).", + " - where `X` additional-field-count (deposit-bounded and code-bounded)." + ] + }, + { + "name": "set_fee", + "fields": [ + { + "name": "index", + "type": 91, + "typeName": "RegistrarIndex" + }, + { + "name": "fee", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 6, + "docs": [ + "Set the fee required for a judgement to be requested from a registrar.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must be the account", + "of the registrar whose index is `index`.", + "", + "- `index`: the index of the registrar whose fee is to be set.", + "- `fee`: the new fee.", + "", + "## Complexity", + "- `O(R)`.", + " - where `R` registrar-count (governance-bounded)." + ] + }, + { + "name": "set_account_id", + "fields": [ + { + "name": "index", + "type": 91, + "typeName": "RegistrarIndex" + }, + { + "name": "new", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 7, + "docs": [ + "Change the account associated with a registrar.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must be the account", + "of the registrar whose index is `index`.", + "", + "- `index`: the index of the registrar whose fee is to be set.", + "- `new`: the new account ID.", + "", + "## Complexity", + "- `O(R)`.", + " - where `R` registrar-count (governance-bounded)." + ] + }, + { + "name": "set_fields", + "fields": [ + { + "name": "index", + "type": 91, + "typeName": "RegistrarIndex" + }, + { + "name": "fields", + "type": 224, + "typeName": "IdentityFields" + } + ], + "index": 8, + "docs": [ + "Set the field information for a registrar.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must be the account", + "of the registrar whose index is `index`.", + "", + "- `index`: the index of the registrar whose fee is to be set.", + "- `fields`: the fields that the registrar concerns themselves with.", + "", + "## Complexity", + "- `O(R)`.", + " - where `R` registrar-count (governance-bounded)." + ] + }, + { + "name": "provide_judgement", + "fields": [ + { + "name": "reg_index", + "type": 91, + "typeName": "RegistrarIndex" + }, + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "judgement", + "type": 226, + "typeName": "Judgement>" + }, + { + "name": "identity", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 9, + "docs": [ + "Provide a judgement for an account's identity.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must be the account", + "of the registrar whose index is `reg_index`.", + "", + "- `reg_index`: the index of the registrar whose judgement is being made.", + "- `target`: the account whose identity the judgement is upon. This must be an account", + " with a registered identity.", + "- `judgement`: the judgement of the registrar of index `reg_index` about `target`.", + "- `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.", + "", + "Emits `JudgementGiven` if successful.", + "", + "## Complexity", + "- `O(R + X)`.", + " - where `R` registrar-count (governance-bounded).", + " - where `X` additional-field-count (deposit-bounded and code-bounded)." + ] + }, + { + "name": "kill_identity", + "fields": [ + { + "name": "target", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 10, + "docs": [ + "Remove an account's identity and sub-account information and slash the deposits.", + "", + "Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by", + "`Slash`. Verification request deposits are not returned; they should be cancelled", + "manually using `cancel_request`.", + "", + "The dispatch origin for this call must match `T::ForceOrigin`.", + "", + "- `target`: the account whose identity the judgement is upon. This must be an account", + " with a registered identity.", + "", + "Emits `IdentityKilled` if successful.", + "", + "## Complexity", + "- `O(R + S + X)`", + " - where `R` registrar-count (governance-bounded).", + " - where `S` subs-count (hard- and deposit-bounded).", + " - where `X` additional-field-count (deposit-bounded and code-bounded)." + ] + }, + { + "name": "add_sub", + "fields": [ + { + "name": "sub", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "data", + "type": 190, + "typeName": "Data" + } + ], + "index": 11, + "docs": [ + "Add the given account to the sender's subs.", + "", + "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated", + "to the sender.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a registered", + "sub identity of `sub`." + ] + }, + { + "name": "rename_sub", + "fields": [ + { + "name": "sub", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "data", + "type": 190, + "typeName": "Data" + } + ], + "index": 12, + "docs": [ + "Alter the associated name of the given sub-account.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a registered", + "sub identity of `sub`." + ] + }, + { + "name": "remove_sub", + "fields": [ + { + "name": "sub", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 13, + "docs": [ + "Remove the given account from the sender's subs.", + "", + "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated", + "to the sender.", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a registered", + "sub identity of `sub`." + ] + }, + { + "name": "quit_sub", + "index": 14, + "docs": [ + "Remove the sender as a sub-account.", + "", + "Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated", + "to the sender (*not* the original depositor).", + "", + "The dispatch origin for this call must be _Signed_ and the sender must have a registered", + "super-identity.", + "", + "NOTE: This should not normally be used, but is provided in the case that the non-", + "controller of an account is maliciously registered as a sub-account." + ] + } + ] + } + }, + "docs": [ + "Identity pallet declaration." + ] + } + }, + { + "id": 187, + "type": { + "path": [ + "pallet_identity", + "types", + "IdentityInfo" + ], + "params": [ + { + "name": "FieldLimit", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "additional", + "type": 188, + "typeName": "BoundedVec<(Data, Data), FieldLimit>" + }, + { + "name": "display", + "type": 190, + "typeName": "Data" + }, + { + "name": "legal", + "type": 190, + "typeName": "Data" + }, + { + "name": "web", + "type": 190, + "typeName": "Data" + }, + { + "name": "riot", + "type": 190, + "typeName": "Data" + }, + { + "name": "email", + "type": 190, + "typeName": "Data" + }, + { + "name": "pgp_fingerprint", + "type": 221, + "typeName": "Option<[u8; 20]>" + }, + { + "name": "image", + "type": 190, + "typeName": "Data" + }, + { + "name": "twitter", + "type": 190, + "typeName": "Data" + } + ] + } + } + } + }, + { + "id": 188, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 189 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 220, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 189, + "type": { + "def": { + "tuple": [ + 190, + 190 + ] + } + } + }, + { + "id": 190, + "type": { + "path": [ + "pallet_identity", + "types", + "Data" + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Raw0", + "fields": [ + { + "type": 191 + } + ], + "index": 1 + }, + { + "name": "Raw1", + "fields": [ + { + "type": 192 + } + ], + "index": 2 + }, + { + "name": "Raw2", + "fields": [ + { + "type": 193 + } + ], + "index": 3 + }, + { + "name": "Raw3", + "fields": [ + { + "type": 194 + } + ], + "index": 4 + }, + { + "name": "Raw4", + "fields": [ + { + "type": 17 + } + ], + "index": 5 + }, + { + "name": "Raw5", + "fields": [ + { + "type": 195 + } + ], + "index": 6 + }, + { + "name": "Raw6", + "fields": [ + { + "type": 196 + } + ], + "index": 7 + }, + { + "name": "Raw7", + "fields": [ + { + "type": 197 + } + ], + "index": 8 + }, + { + "name": "Raw8", + "fields": [ + { + "type": 198 + } + ], + "index": 9 + }, + { + "name": "Raw9", + "fields": [ + { + "type": 199 + } + ], + "index": 10 + }, + { + "name": "Raw10", + "fields": [ + { + "type": 200 + } + ], + "index": 11 + }, + { + "name": "Raw11", + "fields": [ + { + "type": 201 + } + ], + "index": 12 + }, + { + "name": "Raw12", + "fields": [ + { + "type": 202 + } + ], + "index": 13 + }, + { + "name": "Raw13", + "fields": [ + { + "type": 203 + } + ], + "index": 14 + }, + { + "name": "Raw14", + "fields": [ + { + "type": 204 + } + ], + "index": 15 + }, + { + "name": "Raw15", + "fields": [ + { + "type": 205 + } + ], + "index": 16 + }, + { + "name": "Raw16", + "fields": [ + { + "type": 47 + } + ], + "index": 17 + }, + { + "name": "Raw17", + "fields": [ + { + "type": 206 + } + ], + "index": 18 + }, + { + "name": "Raw18", + "fields": [ + { + "type": 207 + } + ], + "index": 19 + }, + { + "name": "Raw19", + "fields": [ + { + "type": 208 + } + ], + "index": 20 + }, + { + "name": "Raw20", + "fields": [ + { + "type": 102 + } + ], + "index": 21 + }, + { + "name": "Raw21", + "fields": [ + { + "type": 209 + } + ], + "index": 22 + }, + { + "name": "Raw22", + "fields": [ + { + "type": 210 + } + ], + "index": 23 + }, + { + "name": "Raw23", + "fields": [ + { + "type": 211 + } + ], + "index": 24 + }, + { + "name": "Raw24", + "fields": [ + { + "type": 212 + } + ], + "index": 25 + }, + { + "name": "Raw25", + "fields": [ + { + "type": 213 + } + ], + "index": 26 + }, + { + "name": "Raw26", + "fields": [ + { + "type": 214 + } + ], + "index": 27 + }, + { + "name": "Raw27", + "fields": [ + { + "type": 215 + } + ], + "index": 28 + }, + { + "name": "Raw28", + "fields": [ + { + "type": 216 + } + ], + "index": 29 + }, + { + "name": "Raw29", + "fields": [ + { + "type": 217 + } + ], + "index": 30 + }, + { + "name": "Raw30", + "fields": [ + { + "type": 218 + } + ], + "index": 31 + }, + { + "name": "Raw31", + "fields": [ + { + "type": 219 + } + ], + "index": 32 + }, + { + "name": "Raw32", + "fields": [ + { + "type": 1 + } + ], + "index": 33 + }, + { + "name": "BlakeTwo256", + "fields": [ + { + "type": 1 + } + ], + "index": 34 + }, + { + "name": "Sha256", + "fields": [ + { + "type": 1 + } + ], + "index": 35 + }, + { + "name": "Keccak256", + "fields": [ + { + "type": 1 + } + ], + "index": 36 + }, + { + "name": "ShaThree256", + "fields": [ + { + "type": 1 + } + ], + "index": 37 + } + ] + } + } + } + }, + { + "id": 191, + "type": { + "def": { + "array": { + "len": 0, + "type": 2 + } + } + } + }, + { + "id": 192, + "type": { + "def": { + "array": { + "len": 1, + "type": 2 + } + } + } + }, + { + "id": 193, + "type": { + "def": { + "array": { + "len": 2, + "type": 2 + } + } + } + }, + { + "id": 194, + "type": { + "def": { + "array": { + "len": 3, + "type": 2 + } + } + } + }, + { + "id": 195, + "type": { + "def": { + "array": { + "len": 5, + "type": 2 + } + } + } + }, + { + "id": 196, + "type": { + "def": { + "array": { + "len": 6, + "type": 2 + } + } + } + }, + { + "id": 197, + "type": { + "def": { + "array": { + "len": 7, + "type": 2 + } + } + } + }, + { + "id": 198, + "type": { + "def": { + "array": { + "len": 8, + "type": 2 + } + } + } + }, + { + "id": 199, + "type": { + "def": { + "array": { + "len": 9, + "type": 2 + } + } + } + }, + { + "id": 200, + "type": { + "def": { + "array": { + "len": 10, + "type": 2 + } + } + } + }, + { + "id": 201, + "type": { + "def": { + "array": { + "len": 11, + "type": 2 + } + } + } + }, + { + "id": 202, + "type": { + "def": { + "array": { + "len": 12, + "type": 2 + } + } + } + }, + { + "id": 203, + "type": { + "def": { + "array": { + "len": 13, + "type": 2 + } + } + } + }, + { + "id": 204, + "type": { + "def": { + "array": { + "len": 14, + "type": 2 + } + } + } + }, + { + "id": 205, + "type": { + "def": { + "array": { + "len": 15, + "type": 2 + } + } + } + }, + { + "id": 206, + "type": { + "def": { + "array": { + "len": 17, + "type": 2 + } + } + } + }, + { + "id": 207, + "type": { + "def": { + "array": { + "len": 18, + "type": 2 + } + } + } + }, + { + "id": 208, + "type": { + "def": { + "array": { + "len": 19, + "type": 2 + } + } + } + }, + { + "id": 209, + "type": { + "def": { + "array": { + "len": 21, + "type": 2 + } + } + } + }, + { + "id": 210, + "type": { + "def": { + "array": { + "len": 22, + "type": 2 + } + } + } + }, + { + "id": 211, + "type": { + "def": { + "array": { + "len": 23, + "type": 2 + } + } + } + }, + { + "id": 212, + "type": { + "def": { + "array": { + "len": 24, + "type": 2 + } + } + } + }, + { + "id": 213, + "type": { + "def": { + "array": { + "len": 25, + "type": 2 + } + } + } + }, + { + "id": 214, + "type": { + "def": { + "array": { + "len": 26, + "type": 2 + } + } + } + }, + { + "id": 215, + "type": { + "def": { + "array": { + "len": 27, + "type": 2 + } + } + } + }, + { + "id": 216, + "type": { + "def": { + "array": { + "len": 28, + "type": 2 + } + } + } + }, + { + "id": 217, + "type": { + "def": { + "array": { + "len": 29, + "type": 2 + } + } + } + }, + { + "id": 218, + "type": { + "def": { + "array": { + "len": 30, + "type": 2 + } + } + } + }, + { + "id": 219, + "type": { + "def": { + "array": { + "len": 31, + "type": 2 + } + } + } + }, + { + "id": 220, + "type": { + "def": { + "sequence": { + "type": 189 + } + } + } + }, + { + "id": 221, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 102 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 102 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 222, + "type": { + "def": { + "sequence": { + "type": 223 + } + } + } + }, + { + "id": 223, + "type": { + "def": { + "tuple": [ + 0, + 190 + ] + } + } + }, + { + "id": 224, + "type": { + "path": [ + "pallet_identity", + "types", + "BitFlags" + ], + "params": [ + { + "name": "T", + "type": 225 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 11, + "typeName": "IdentityField" + } + ] + } + } + } + }, + { + "id": 225, + "type": { + "path": [ + "pallet_identity", + "types", + "IdentityField" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Display", + "index": 1 + }, + { + "name": "Legal", + "index": 2 + }, + { + "name": "Web", + "index": 4 + }, + { + "name": "Riot", + "index": 8 + }, + { + "name": "Email", + "index": 16 + }, + { + "name": "PgpFingerprint", + "index": 32 + }, + { + "name": "Image", + "index": 64 + }, + { + "name": "Twitter", + "index": 128 + } + ] + } + } + } + }, + { + "id": 226, + "type": { + "path": [ + "pallet_identity", + "types", + "Judgement" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unknown", + "index": 0 + }, + { + "name": "FeePaid", + "fields": [ + { + "type": 6, + "typeName": "Balance" + } + ], + "index": 1 + }, + { + "name": "Reasonable", + "index": 2 + }, + { + "name": "KnownGood", + "index": 3 + }, + { + "name": "OutOfDate", + "index": 4 + }, + { + "name": "LowQuality", + "index": 5 + }, + { + "name": "Erroneous", + "index": 6 + } + ] + } + } + } + }, + { + "id": 227, + "type": { + "path": [ + "pallet_proxy", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "proxy", + "fields": [ + { + "name": "real", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "force_proxy_type", + "type": 228, + "typeName": "Option" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 0, + "docs": [ + "Dispatch the given `call` from an account that the sender is authorised for through", + "`add_proxy`.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `real`: The account that the proxy will make a call on behalf of.", + "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.", + "- `call`: The call to be made by the `real` account." + ] + }, + { + "name": "add_proxy", + "fields": [ + { + "name": "delegate", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "proxy_type", + "type": 229, + "typeName": "T::ProxyType" + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 1, + "docs": [ + "Register a proxy account for the sender that is able to make calls on its behalf.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `proxy`: The account that the `caller` would like to make a proxy.", + "- `proxy_type`: The permissions allowed for this proxy account.", + "- `delay`: The announcement period required of the initial proxy. Will generally be", + "zero." + ] + }, + { + "name": "remove_proxy", + "fields": [ + { + "name": "delegate", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "proxy_type", + "type": 229, + "typeName": "T::ProxyType" + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 2, + "docs": [ + "Unregister a proxy account for the sender.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `proxy`: The account that the `caller` would like to remove as a proxy.", + "- `proxy_type`: The permissions currently enabled for the removed proxy account." + ] + }, + { + "name": "remove_proxies", + "index": 3, + "docs": [ + "Unregister all proxy accounts for the sender.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "WARNING: This may be called on accounts created by `pure`, however if done, then", + "the unreserved fees will be inaccessible. **All access to this account will be lost.**" + ] + }, + { + "name": "create_pure", + "fields": [ + { + "name": "proxy_type", + "type": 229, + "typeName": "T::ProxyType" + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber" + }, + { + "name": "index", + "type": 77, + "typeName": "u16" + } + ], + "index": 4, + "docs": [ + "Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and", + "initialize it with a proxy of `proxy_type` for `origin` sender.", + "", + "Requires a `Signed` origin.", + "", + "- `proxy_type`: The type of the proxy that the sender will be registered as over the", + "new account. This will almost always be the most permissive `ProxyType` possible to", + "allow for maximum flexibility.", + "- `index`: A disambiguation index, in case this is called multiple times in the same", + "transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just", + "want to use `0`.", + "- `delay`: The announcement period required of the initial proxy. Will generally be", + "zero.", + "", + "Fails with `Duplicate` if this has already been called in this transaction, from the", + "same sender, with the same parameters.", + "", + "Fails if there are insufficient funds to pay for deposit." + ] + }, + { + "name": "kill_pure", + "fields": [ + { + "name": "spawner", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "proxy_type", + "type": 229, + "typeName": "T::ProxyType" + }, + { + "name": "index", + "type": 77, + "typeName": "u16" + }, + { + "name": "height", + "type": 91, + "typeName": "T::BlockNumber" + }, + { + "name": "ext_index", + "type": 91, + "typeName": "u32" + } + ], + "index": 5, + "docs": [ + "Removes a previously spawned pure proxy.", + "", + "WARNING: **All access to this account will be lost.** Any funds held in it will be", + "inaccessible.", + "", + "Requires a `Signed` origin, and the sender account must have been created by a call to", + "`pure` with corresponding parameters.", + "", + "- `spawner`: The account that originally called `pure` to create this account.", + "- `index`: The disambiguation index originally passed to `pure`. Probably `0`.", + "- `proxy_type`: The proxy type originally passed to `pure`.", + "- `height`: The height of the chain when the call to `pure` was processed.", + "- `ext_index`: The extrinsic index in which the call to `pure` was processed.", + "", + "Fails with `NoPermission` in case the caller is not a previously created pure", + "account whose `pure` call has corresponding parameters." + ] + }, + { + "name": "announce", + "fields": [ + { + "name": "real", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "call_hash", + "type": 12, + "typeName": "CallHashOf" + } + ], + "index": 6, + "docs": [ + "Publish the hash of a proxy-call that will be made in the future.", + "", + "This must be called some number of blocks before the corresponding `proxy` is attempted", + "if the delay associated with the proxy relationship is greater than zero.", + "", + "No more than `MaxPending` announcements may be made at any one time.", + "", + "This will take a deposit of `AnnouncementDepositFactor` as well as", + "`AnnouncementDepositBase` if there are no other pending announcements.", + "", + "The dispatch origin for this call must be _Signed_ and a proxy of `real`.", + "", + "Parameters:", + "- `real`: The account that the proxy will make a call on behalf of.", + "- `call_hash`: The hash of the call to be made by the `real` account." + ] + }, + { + "name": "remove_announcement", + "fields": [ + { + "name": "real", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "call_hash", + "type": 12, + "typeName": "CallHashOf" + } + ], + "index": 7, + "docs": [ + "Remove a given announcement.", + "", + "May be called by a proxy account to remove a call they previously announced and return", + "the deposit.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `real`: The account that the proxy will make a call on behalf of.", + "- `call_hash`: The hash of the call to be made by the `real` account." + ] + }, + { + "name": "reject_announcement", + "fields": [ + { + "name": "delegate", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "call_hash", + "type": 12, + "typeName": "CallHashOf" + } + ], + "index": 8, + "docs": [ + "Remove the given announcement of a delegate.", + "", + "May be called by a target (proxied) account to remove a call that one of their delegates", + "(`delegate`) has announced they want to execute. The deposit is returned.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `delegate`: The account that previously announced the call.", + "- `call_hash`: The hash of the call to be made." + ] + }, + { + "name": "proxy_announced", + "fields": [ + { + "name": "delegate", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "real", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "force_proxy_type", + "type": 228, + "typeName": "Option" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 9, + "docs": [ + "Dispatch the given `call` from an account that the sender is authorized for through", + "`add_proxy`.", + "", + "Removes any corresponding announcement(s).", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `real`: The account that the proxy will make a call on behalf of.", + "- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.", + "- `call`: The call to be made by the `real` account." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 228, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 229 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 229 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 229, + "type": { + "path": [ + "polkadot_runtime", + "ProxyType" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Any", + "index": 0 + }, + { + "name": "NonTransfer", + "index": 1 + }, + { + "name": "Governance", + "index": 2 + }, + { + "name": "Staking", + "index": 3 + }, + { + "name": "IdentityJudgement", + "index": 5 + }, + { + "name": "CancelProxy", + "index": 6 + }, + { + "name": "Auction", + "index": 7 + }, + { + "name": "NominationPools", + "index": 8 + } + ] + } + } + } + }, + { + "id": 230, + "type": { + "path": [ + "pallet_multisig", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "as_multi_threshold_1", + "fields": [ + { + "name": "other_signatories", + "type": 104, + "typeName": "Vec" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + } + ], + "index": 0, + "docs": [ + "Immediately dispatch a multi-signature call using a single approval from the caller.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `other_signatories`: The accounts (other than the sender) who are part of the", + "multi-signature, but do not participate in the approval process.", + "- `call`: The call to be executed.", + "", + "Result is equivalent to the dispatched result.", + "", + "## Complexity", + "O(Z + C) where Z is the length of the call and C its execution weight." + ] + }, + { + "name": "as_multi", + "fields": [ + { + "name": "threshold", + "type": 77, + "typeName": "u16" + }, + { + "name": "other_signatories", + "type": 104, + "typeName": "Vec" + }, + { + "name": "maybe_timepoint", + "type": 231, + "typeName": "Option>" + }, + { + "name": "call", + "type": 79, + "typeName": "Box<::RuntimeCall>" + }, + { + "name": "max_weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 1, + "docs": [ + "Register approval for a dispatch to be made from a deterministic composite account if", + "approved by a total of `threshold - 1` of `other_signatories`.", + "", + "If there are enough, then dispatch the call.", + "", + "Payment: `DepositBase` will be reserved if this is the first approval, plus", + "`threshold` times `DepositFactor`. It is returned once this dispatch happens or", + "is cancelled.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `threshold`: The total number of approvals for this dispatch before it is executed.", + "- `other_signatories`: The accounts (other than the sender) who can approve this", + "dispatch. May not be empty.", + "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is", + "not the first approval, then it must be `Some`, with the timepoint (block number and", + "transaction index) of the first approval transaction.", + "- `call`: The call to be executed.", + "", + "NOTE: Unless this is the final approval, you will generally want to use", + "`approve_as_multi` instead, since it only requires a hash of the call.", + "", + "Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise", + "on success, result is `Ok` and the result from the interior call, if it was executed,", + "may be found in the deposited `MultisigExecuted` event.", + "", + "## Complexity", + "- `O(S + Z + Call)`.", + "- Up to one balance-reserve or unreserve operation.", + "- One passthrough operation, one insert, both `O(S)` where `S` is the number of", + " signatories. `S` is capped by `MaxSignatories`, with weight being proportional.", + "- One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.", + "- One encode & hash, both of complexity `O(S)`.", + "- Up to one binary search and insert (`O(logS + S)`).", + "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.", + "- One event.", + "- The weight of the `call`.", + "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit", + " taken for its lifetime of `DepositBase + threshold * DepositFactor`." + ] + }, + { + "name": "approve_as_multi", + "fields": [ + { + "name": "threshold", + "type": 77, + "typeName": "u16" + }, + { + "name": "other_signatories", + "type": 104, + "typeName": "Vec" + }, + { + "name": "maybe_timepoint", + "type": 231, + "typeName": "Option>" + }, + { + "name": "call_hash", + "type": 1, + "typeName": "[u8; 32]" + }, + { + "name": "max_weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 2, + "docs": [ + "Register approval for a dispatch to be made from a deterministic composite account if", + "approved by a total of `threshold - 1` of `other_signatories`.", + "", + "Payment: `DepositBase` will be reserved if this is the first approval, plus", + "`threshold` times `DepositFactor`. It is returned once this dispatch happens or", + "is cancelled.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `threshold`: The total number of approvals for this dispatch before it is executed.", + "- `other_signatories`: The accounts (other than the sender) who can approve this", + "dispatch. May not be empty.", + "- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is", + "not the first approval, then it must be `Some`, with the timepoint (block number and", + "transaction index) of the first approval transaction.", + "- `call_hash`: The hash of the call to be executed.", + "", + "NOTE: If this is the final approval, you will want to use `as_multi` instead.", + "", + "## Complexity", + "- `O(S)`.", + "- Up to one balance-reserve or unreserve operation.", + "- One passthrough operation, one insert, both `O(S)` where `S` is the number of", + " signatories. `S` is capped by `MaxSignatories`, with weight being proportional.", + "- One encode & hash, both of complexity `O(S)`.", + "- Up to one binary search and insert (`O(logS + S)`).", + "- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.", + "- One event.", + "- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit", + " taken for its lifetime of `DepositBase + threshold * DepositFactor`." + ] + }, + { + "name": "cancel_as_multi", + "fields": [ + { + "name": "threshold", + "type": 77, + "typeName": "u16" + }, + { + "name": "other_signatories", + "type": 104, + "typeName": "Vec" + }, + { + "name": "timepoint", + "type": 232, + "typeName": "Timepoint" + }, + { + "name": "call_hash", + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 3, + "docs": [ + "Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously", + "for this operation will be unreserved on success.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "- `threshold`: The total number of approvals for this dispatch before it is executed.", + "- `other_signatories`: The accounts (other than the sender) who can approve this", + "dispatch. May not be empty.", + "- `timepoint`: The timepoint (block number and transaction index) of the first approval", + "transaction for this dispatch.", + "- `call_hash`: The hash of the call to be executed.", + "", + "## Complexity", + "- `O(S)`.", + "- Up to one balance-reserve or unreserve operation.", + "- One passthrough operation, one insert, both `O(S)` where `S` is the number of", + " signatories. `S` is capped by `MaxSignatories`, with weight being proportional.", + "- One encode & hash, both of complexity `O(S)`.", + "- One event.", + "- I/O: 1 read `O(S)`, one remove.", + "- Storage: removes one item." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 231, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 232 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 232 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 232, + "type": { + "path": [ + "pallet_multisig", + "Timepoint" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "height", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "index", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 233, + "type": { + "path": [ + "pallet_bounties", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "propose_bounty", + "fields": [ + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "description", + "type": 13, + "typeName": "Vec" + } + ], + "index": 0, + "docs": [ + "Propose a new bounty.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Payment: `TipReportDepositBase` will be reserved from the origin account, as well as", + "`DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,", + "or slashed when rejected.", + "", + "- `curator`: The curator account whom will manage this bounty.", + "- `fee`: The curator fee.", + "- `value`: The total payment amount of this bounty, curator fee included.", + "- `description`: The description of this bounty." + ] + }, + { + "name": "approve_bounty", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 1, + "docs": [ + "Approve a bounty proposal. At a later time, the bounty will be funded and become active", + "and the original deposit will be returned.", + "", + "May only be called from `T::SpendOrigin`.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "propose_curator", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "curator", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "fee", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "Assign a curator to a funded bounty.", + "", + "May only be called from `T::SpendOrigin`.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "unassign_curator", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 3, + "docs": [ + "Unassign curator from a bounty.", + "", + "This function can only be called by the `RejectOrigin` a signed origin.", + "", + "If this function is called by the `RejectOrigin`, we assume that the curator is", + "malicious or inactive. As a result, we will slash the curator when possible.", + "", + "If the origin is the curator, we take this as a sign they are unable to do their job and", + "they willingly give up. We could slash them, but for now we allow them to recover their", + "deposit and exit without issue. (We may want to change this if it is abused.)", + "", + "Finally, the origin can be anyone if and only if the curator is \"inactive\". This allows", + "anyone in the community to call out that a curator is not doing their due diligence, and", + "we should pick a new curator. In this case the curator should also be slashed.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "accept_curator", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 4, + "docs": [ + "Accept the curator role for a bounty.", + "A deposit will be reserved from curator and refund upon successful payout.", + "", + "May only be called from the curator.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "award_bounty", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "beneficiary", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 5, + "docs": [ + "Award bounty to a beneficiary account. The beneficiary will be able to claim the funds", + "after a delay.", + "", + "The dispatch origin for this call must be the curator of this bounty.", + "", + "- `bounty_id`: Bounty ID to award.", + "- `beneficiary`: The beneficiary account whom will receive the payout.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "claim_bounty", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 6, + "docs": [ + "Claim the payout from an awarded bounty after payout delay.", + "", + "The dispatch origin for this call must be the beneficiary of this bounty.", + "", + "- `bounty_id`: Bounty ID to claim.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "close_bounty", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 7, + "docs": [ + "Cancel a proposed or active bounty. All the funds will be sent to treasury and", + "the curator deposit will be unreserved if possible.", + "", + "Only `T::RejectOrigin` is able to cancel a bounty.", + "", + "- `bounty_id`: Bounty ID to cancel.", + "", + "## Complexity", + "- O(1)." + ] + }, + { + "name": "extend_bounty_expiry", + "fields": [ + { + "name": "bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "remark", + "type": 13, + "typeName": "Vec" + } + ], + "index": 8, + "docs": [ + "Extend the expiry time of an active bounty.", + "", + "The dispatch origin for this call must be the curator of this bounty.", + "", + "- `bounty_id`: Bounty ID to extend.", + "- `remark`: additional information.", + "", + "## Complexity", + "- O(1)." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 234, + "type": { + "path": [ + "pallet_child_bounties", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "add_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "description", + "type": 13, + "typeName": "Vec" + } + ], + "index": 0, + "docs": [ + "Add a new child-bounty.", + "", + "The dispatch origin for this call must be the curator of parent", + "bounty and the parent bounty must be in \"active\" state.", + "", + "Child-bounty gets added successfully & fund gets transferred from", + "parent bounty to child-bounty account, if parent bounty has enough", + "funds, else the call fails.", + "", + "Upper bound to maximum number of active child bounties that can be", + "added are managed via runtime trait config", + "[`Config::MaxActiveChildBountyCount`].", + "", + "If the call is success, the status of child-bounty is updated to", + "\"Added\".", + "", + "- `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.", + "- `value`: Value for executing the proposal.", + "- `description`: Text description for the child-bounty." + ] + }, + { + "name": "propose_curator", + "fields": [ + { + "name": "parent_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "child_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "curator", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "fee", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "Propose curator for funded child-bounty.", + "", + "The dispatch origin for this call must be curator of parent bounty.", + "", + "Parent bounty must be in active state, for this child-bounty call to", + "work.", + "", + "Child-bounty must be in \"Added\" state, for processing the call. And", + "state of child-bounty is moved to \"CuratorProposed\" on successful", + "call completion.", + "", + "- `parent_bounty_id`: Index of parent bounty.", + "- `child_bounty_id`: Index of child bounty.", + "- `curator`: Address of child-bounty curator.", + "- `fee`: payment fee to child-bounty curator for execution." + ] + }, + { + "name": "accept_curator", + "fields": [ + { + "name": "parent_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "child_bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 2, + "docs": [ + "Accept the curator role for the child-bounty.", + "", + "The dispatch origin for this call must be the curator of this", + "child-bounty.", + "", + "A deposit will be reserved from the curator and refund upon", + "successful payout or cancellation.", + "", + "Fee for curator is deducted from curator fee of parent bounty.", + "", + "Parent bounty must be in active state, for this child-bounty call to", + "work.", + "", + "Child-bounty must be in \"CuratorProposed\" state, for processing the", + "call. And state of child-bounty is moved to \"Active\" on successful", + "call completion.", + "", + "- `parent_bounty_id`: Index of parent bounty.", + "- `child_bounty_id`: Index of child bounty." + ] + }, + { + "name": "unassign_curator", + "fields": [ + { + "name": "parent_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "child_bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 3, + "docs": [ + "Unassign curator from a child-bounty.", + "", + "The dispatch origin for this call can be either `RejectOrigin`, or", + "the curator of the parent bounty, or any signed origin.", + "", + "For the origin other than T::RejectOrigin and the child-bounty", + "curator, parent bounty must be in active state, for this call to", + "work. We allow child-bounty curator and T::RejectOrigin to execute", + "this call irrespective of the parent bounty state.", + "", + "If this function is called by the `RejectOrigin` or the", + "parent bounty curator, we assume that the child-bounty curator is", + "malicious or inactive. As a result, child-bounty curator deposit is", + "slashed.", + "", + "If the origin is the child-bounty curator, we take this as a sign", + "that they are unable to do their job, and are willingly giving up.", + "We could slash the deposit, but for now we allow them to unreserve", + "their deposit and exit without issue. (We may want to change this if", + "it is abused.)", + "", + "Finally, the origin can be anyone iff the child-bounty curator is", + "\"inactive\". Expiry update due of parent bounty is used to estimate", + "inactive state of child-bounty curator.", + "", + "This allows anyone in the community to call out that a child-bounty", + "curator is not doing their due diligence, and we should pick a new", + "one. In this case the child-bounty curator deposit is slashed.", + "", + "State of child-bounty is moved to Added state on successful call", + "completion.", + "", + "- `parent_bounty_id`: Index of parent bounty.", + "- `child_bounty_id`: Index of child bounty." + ] + }, + { + "name": "award_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "child_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "beneficiary", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 4, + "docs": [ + "Award child-bounty to a beneficiary.", + "", + "The beneficiary will be able to claim the funds after a delay.", + "", + "The dispatch origin for this call must be the parent curator or", + "curator of this child-bounty.", + "", + "Parent bounty must be in active state, for this child-bounty call to", + "work.", + "", + "Child-bounty must be in active state, for processing the call. And", + "state of child-bounty is moved to \"PendingPayout\" on successful call", + "completion.", + "", + "- `parent_bounty_id`: Index of parent bounty.", + "- `child_bounty_id`: Index of child bounty.", + "- `beneficiary`: Beneficiary account." + ] + }, + { + "name": "claim_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "child_bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 5, + "docs": [ + "Claim the payout from an awarded child-bounty after payout delay.", + "", + "The dispatch origin for this call may be any signed origin.", + "", + "Call works independent of parent bounty state, No need for parent", + "bounty to be in active state.", + "", + "The Beneficiary is paid out with agreed bounty value. Curator fee is", + "paid & curator deposit is unreserved.", + "", + "Child-bounty must be in \"PendingPayout\" state, for processing the", + "call. And instance of child-bounty is removed from the state on", + "successful call completion.", + "", + "- `parent_bounty_id`: Index of parent bounty.", + "- `child_bounty_id`: Index of child bounty." + ] + }, + { + "name": "close_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 91, + "typeName": "BountyIndex" + }, + { + "name": "child_bounty_id", + "type": 91, + "typeName": "BountyIndex" + } + ], + "index": 6, + "docs": [ + "Cancel a proposed or active child-bounty. Child-bounty account funds", + "are transferred to parent bounty account. The child-bounty curator", + "deposit may be unreserved if possible.", + "", + "The dispatch origin for this call must be either parent curator or", + "`T::RejectOrigin`.", + "", + "If the state of child-bounty is `Active`, curator deposit is", + "unreserved.", + "", + "If the state of child-bounty is `PendingPayout`, call fails &", + "returns `PendingPayout` error.", + "", + "For the origin other than T::RejectOrigin, parent bounty must be in", + "active state, for this child-bounty call to work. For origin", + "T::RejectOrigin execution is forced.", + "", + "Instance of child-bounty is removed from the state on successful", + "call completion.", + "", + "- `parent_bounty_id`: Index of parent bounty.", + "- `child_bounty_id`: Index of child bounty." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 235, + "type": { + "path": [ + "pallet_tips", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "report_awesome", + "fields": [ + { + "name": "reason", + "type": 13, + "typeName": "Vec" + }, + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 0, + "docs": [ + "Report something `reason` that deserves a tip and claim any eventual the finder's fee.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Payment: `TipReportDepositBase` will be reserved from the origin account, as well as", + "`DataDepositPerByte` for each byte in `reason`.", + "", + "- `reason`: The reason for, or the thing that deserves, the tip; generally this will be", + " a UTF-8-encoded URL.", + "- `who`: The account which should be credited for the tip.", + "", + "Emits `NewTip` if successful.", + "", + "## Complexity", + "- `O(R)` where `R` length of `reason`.", + " - encoding and hashing of 'reason'" + ] + }, + { + "name": "retract_tip", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 1, + "docs": [ + "Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.", + "", + "If successful, the original deposit will be unreserved.", + "", + "The dispatch origin for this call must be _Signed_ and the tip identified by `hash`", + "must have been reported by the signing account through `report_awesome` (and not", + "through `tip_new`).", + "", + "- `hash`: The identity of the open tip for which a tip value is declared. This is formed", + " as the hash of the tuple of the original tip `reason` and the beneficiary account ID.", + "", + "Emits `TipRetracted` if successful.", + "", + "## Complexity", + "- `O(1)`", + " - Depends on the length of `T::Hash` which is fixed." + ] + }, + { + "name": "tip_new", + "fields": [ + { + "name": "reason", + "type": 13, + "typeName": "Vec" + }, + { + "name": "who", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "tip_value", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "Give a tip for something new; no finder's fee will be taken.", + "", + "The dispatch origin for this call must be _Signed_ and the signing account must be a", + "member of the `Tippers` set.", + "", + "- `reason`: The reason for, or the thing that deserves, the tip; generally this will be", + " a UTF-8-encoded URL.", + "- `who`: The account which should be credited for the tip.", + "- `tip_value`: The amount of tip that the sender would like to give. The median tip", + " value of active tippers will be given to the `who`.", + "", + "Emits `NewTip` if successful.", + "", + "## Complexity", + "- `O(R + T)` where `R` length of `reason`, `T` is the number of tippers.", + " - `O(T)`: decoding `Tipper` vec of length `T`. `T` is charged as upper bound given by", + " `ContainsLengthBound`. The actual cost depends on the implementation of", + " `T::Tippers`.", + " - `O(R)`: hashing and encoding of reason of length `R`" + ] + }, + { + "name": "tip", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "tip_value", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 3, + "docs": [ + "Declare a tip value for an already-open tip.", + "", + "The dispatch origin for this call must be _Signed_ and the signing account must be a", + "member of the `Tippers` set.", + "", + "- `hash`: The identity of the open tip for which a tip value is declared. This is formed", + " as the hash of the tuple of the hash of the original tip `reason` and the beneficiary", + " account ID.", + "- `tip_value`: The amount of tip that the sender would like to give. The median tip", + " value of active tippers will be given to the `who`.", + "", + "Emits `TipClosing` if the threshold of tippers has been reached and the countdown period", + "has started.", + "", + "## Complexity", + "- `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`, insert", + " tip and check closing, `T` is charged as upper bound given by `ContainsLengthBound`.", + " The actual cost depends on the implementation of `T::Tippers`.", + "", + " Actually weight could be lower as it depends on how many tips are in `OpenTip` but it", + " is weighted as if almost full i.e of length `T-1`." + ] + }, + { + "name": "close_tip", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 4, + "docs": [ + "Close and payout a tip.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "The tip identified by `hash` must have finished its countdown period.", + "", + "- `hash`: The identity of the open tip for which a tip value is declared. This is formed", + " as the hash of the tuple of the original tip `reason` and the beneficiary account ID.", + "", + "## Complexity", + "- : `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`. `T`", + " is charged as upper bound given by `ContainsLengthBound`. The actual cost depends on", + " the implementation of `T::Tippers`." + ] + }, + { + "name": "slash_tip", + "fields": [ + { + "name": "hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 5, + "docs": [ + "Remove and slash an already-open tip.", + "", + "May only be called from `T::RejectOrigin`.", + "", + "As a result, the finder is slashed and the deposits are lost.", + "", + "Emits `TipSlashed` if successful.", + "", + "## Complexity", + "- O(1)." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 236, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "submit_unsigned", + "fields": [ + { + "name": "raw_solution", + "type": 237, + "typeName": "Box>>" + }, + { + "name": "witness", + "type": 290, + "typeName": "SolutionOrSnapshotSize" + } + ], + "index": 0, + "docs": [ + "Submit a solution for the unsigned phase.", + "", + "The dispatch origin fo this call must be __none__.", + "", + "This submission is checked on the fly. Moreover, this unsigned solution is only", + "validated when submitted to the pool from the **local** node. Effectively, this means", + "that only active validators can submit this transaction when authoring a block (similar", + "to an inherent).", + "", + "To prevent any incorrect solution (and thus wasted time/weight), this transaction will", + "panic if the solution submitted by the validator is invalid in any way, effectively", + "putting their authoring reward at risk.", + "", + "No deposit or reward is associated with this submission." + ] + }, + { + "name": "set_minimum_untrusted_score", + "fields": [ + { + "name": "maybe_next_score", + "type": 291, + "typeName": "Option" + } + ], + "index": 1, + "docs": [ + "Set a new value for `MinimumUntrustedScore`.", + "", + "Dispatch origin must be aligned with `T::ForceOrigin`.", + "", + "This check can be turned off by setting the value to `None`." + ] + }, + { + "name": "set_emergency_election_result", + "fields": [ + { + "name": "supports", + "type": 292, + "typeName": "Supports" + } + ], + "index": 2, + "docs": [ + "Set a solution in the queue, to be handed out to the client of this pallet in the next", + "call to `ElectionProvider::elect`.", + "", + "This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`.", + "", + "The solution is not checked for any feasibility and is assumed to be trustworthy, as any", + "feasibility check itself can in principle cause the election process to fail (due to", + "memory/weight constrains)." + ] + }, + { + "name": "submit", + "fields": [ + { + "name": "raw_solution", + "type": 237, + "typeName": "Box>>" + } + ], + "index": 3, + "docs": [ + "Submit a solution for the signed phase.", + "", + "The dispatch origin fo this call must be __signed__.", + "", + "The solution is potentially queued, based on the claimed score and processed at the end", + "of the signed phase.", + "", + "A deposit is reserved and recorded for the solution. Based on the outcome, the solution", + "might be rewarded, slashed, or get all or a part of the deposit back." + ] + }, + { + "name": "governance_fallback", + "fields": [ + { + "name": "maybe_max_voters", + "type": 141, + "typeName": "Option" + }, + { + "name": "maybe_max_targets", + "type": 141, + "typeName": "Option" + } + ], + "index": 4, + "docs": [ + "Trigger the governance fallback.", + "", + "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to", + "calling [`Call::set_emergency_election_result`]." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 237, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "RawSolution" + ], + "params": [ + { + "name": "S", + "type": 238 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "solution", + "type": 238, + "typeName": "S" + }, + { + "name": "score", + "type": 289, + "typeName": "ElectionScore" + }, + { + "name": "round", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 238, + "type": { + "path": [ + "polkadot_runtime", + "NposCompactSolution16" + ], + "def": { + "composite": { + "fields": [ + { + "name": "votes1", + "type": 239 + }, + { + "name": "votes2", + "type": 242 + }, + { + "name": "votes3", + "type": 247 + }, + { + "name": "votes4", + "type": 250 + }, + { + "name": "votes5", + "type": 253 + }, + { + "name": "votes6", + "type": 256 + }, + { + "name": "votes7", + "type": 259 + }, + { + "name": "votes8", + "type": 262 + }, + { + "name": "votes9", + "type": 265 + }, + { + "name": "votes10", + "type": 268 + }, + { + "name": "votes11", + "type": 271 + }, + { + "name": "votes12", + "type": 274 + }, + { + "name": "votes13", + "type": 277 + }, + { + "name": "votes14", + "type": 280 + }, + { + "name": "votes15", + "type": 283 + }, + { + "name": "votes16", + "type": 286 + } + ] + } + } + } + }, + { + "id": 239, + "type": { + "def": { + "sequence": { + "type": 240 + } + } + } + }, + { + "id": 240, + "type": { + "def": { + "tuple": [ + 91, + 241 + ] + } + } + }, + { + "id": 241, + "type": { + "def": { + "compact": { + "type": 77 + } + } + } + }, + { + "id": 242, + "type": { + "def": { + "sequence": { + "type": 243 + } + } + } + }, + { + "id": 243, + "type": { + "def": { + "tuple": [ + 91, + 244, + 241 + ] + } + } + }, + { + "id": 244, + "type": { + "def": { + "tuple": [ + 241, + 245 + ] + } + } + }, + { + "id": 245, + "type": { + "def": { + "compact": { + "type": 246 + } + } + } + }, + { + "id": 246, + "type": { + "path": [ + "sp_arithmetic", + "per_things", + "PerU16" + ], + "def": { + "composite": { + "fields": [ + { + "type": 77, + "typeName": "u16" + } + ] + } + } + } + }, + { + "id": 247, + "type": { + "def": { + "sequence": { + "type": 248 + } + } + } + }, + { + "id": 248, + "type": { + "def": { + "tuple": [ + 91, + 249, + 241 + ] + } + } + }, + { + "id": 249, + "type": { + "def": { + "array": { + "len": 2, + "type": 244 + } + } + } + }, + { + "id": 250, + "type": { + "def": { + "sequence": { + "type": 251 + } + } + } + }, + { + "id": 251, + "type": { + "def": { + "tuple": [ + 91, + 252, + 241 + ] + } + } + }, + { + "id": 252, + "type": { + "def": { + "array": { + "len": 3, + "type": 244 + } + } + } + }, + { + "id": 253, + "type": { + "def": { + "sequence": { + "type": 254 + } + } + } + }, + { + "id": 254, + "type": { + "def": { + "tuple": [ + 91, + 255, + 241 + ] + } + } + }, + { + "id": 255, + "type": { + "def": { + "array": { + "len": 4, + "type": 244 + } + } + } + }, + { + "id": 256, + "type": { + "def": { + "sequence": { + "type": 257 + } + } + } + }, + { + "id": 257, + "type": { + "def": { + "tuple": [ + 91, + 258, + 241 + ] + } + } + }, + { + "id": 258, + "type": { + "def": { + "array": { + "len": 5, + "type": 244 + } + } + } + }, + { + "id": 259, + "type": { + "def": { + "sequence": { + "type": 260 + } + } + } + }, + { + "id": 260, + "type": { + "def": { + "tuple": [ + 91, + 261, + 241 + ] + } + } + }, + { + "id": 261, + "type": { + "def": { + "array": { + "len": 6, + "type": 244 + } + } + } + }, + { + "id": 262, + "type": { + "def": { + "sequence": { + "type": 263 + } + } + } + }, + { + "id": 263, + "type": { + "def": { + "tuple": [ + 91, + 264, + 241 + ] + } + } + }, + { + "id": 264, + "type": { + "def": { + "array": { + "len": 7, + "type": 244 + } + } + } + }, + { + "id": 265, + "type": { + "def": { + "sequence": { + "type": 266 + } + } + } + }, + { + "id": 266, + "type": { + "def": { + "tuple": [ + 91, + 267, + 241 + ] + } + } + }, + { + "id": 267, + "type": { + "def": { + "array": { + "len": 8, + "type": 244 + } + } + } + }, + { + "id": 268, + "type": { + "def": { + "sequence": { + "type": 269 + } + } + } + }, + { + "id": 269, + "type": { + "def": { + "tuple": [ + 91, + 270, + 241 + ] + } + } + }, + { + "id": 270, + "type": { + "def": { + "array": { + "len": 9, + "type": 244 + } + } + } + }, + { + "id": 271, + "type": { + "def": { + "sequence": { + "type": 272 + } + } + } + }, + { + "id": 272, + "type": { + "def": { + "tuple": [ + 91, + 273, + 241 + ] + } + } + }, + { + "id": 273, + "type": { + "def": { + "array": { + "len": 10, + "type": 244 + } + } + } + }, + { + "id": 274, + "type": { + "def": { + "sequence": { + "type": 275 + } + } + } + }, + { + "id": 275, + "type": { + "def": { + "tuple": [ + 91, + 276, + 241 + ] + } + } + }, + { + "id": 276, + "type": { + "def": { + "array": { + "len": 11, + "type": 244 + } + } + } + }, + { + "id": 277, + "type": { + "def": { + "sequence": { + "type": 278 + } + } + } + }, + { + "id": 278, + "type": { + "def": { + "tuple": [ + 91, + 279, + 241 + ] + } + } + }, + { + "id": 279, + "type": { + "def": { + "array": { + "len": 12, + "type": 244 + } + } + } + }, + { + "id": 280, + "type": { + "def": { + "sequence": { + "type": 281 + } + } + } + }, + { + "id": 281, + "type": { + "def": { + "tuple": [ + 91, + 282, + 241 + ] + } + } + }, + { + "id": 282, + "type": { + "def": { + "array": { + "len": 13, + "type": 244 + } + } + } + }, + { + "id": 283, + "type": { + "def": { + "sequence": { + "type": 284 + } + } + } + }, + { + "id": 284, + "type": { + "def": { + "tuple": [ + 91, + 285, + 241 + ] + } + } + }, + { + "id": 285, + "type": { + "def": { + "array": { + "len": 14, + "type": 244 + } + } + } + }, + { + "id": 286, + "type": { + "def": { + "sequence": { + "type": 287 + } + } + } + }, + { + "id": 287, + "type": { + "def": { + "tuple": [ + 91, + 288, + 241 + ] + } + } + }, + { + "id": 288, + "type": { + "def": { + "array": { + "len": 15, + "type": 244 + } + } + } + }, + { + "id": 289, + "type": { + "path": [ + "sp_npos_elections", + "ElectionScore" + ], + "def": { + "composite": { + "fields": [ + { + "name": "minimal_stake", + "type": 6, + "typeName": "ExtendedBalance" + }, + { + "name": "sum_stake", + "type": 6, + "typeName": "ExtendedBalance" + }, + { + "name": "sum_stake_squared", + "type": 6, + "typeName": "ExtendedBalance" + } + ] + } + } + } + }, + { + "id": 290, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "SolutionOrSnapshotSize" + ], + "def": { + "composite": { + "fields": [ + { + "name": "voters", + "type": 91, + "typeName": "u32" + }, + { + "name": "targets", + "type": 91, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 291, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 289 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 289 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 292, + "type": { + "def": { + "sequence": { + "type": 293 + } + } + } + }, + { + "id": 293, + "type": { + "def": { + "tuple": [ + 0, + 294 + ] + } + } + }, + { + "id": 294, + "type": { + "path": [ + "sp_npos_elections", + "Support" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "total", + "type": 6, + "typeName": "ExtendedBalance" + }, + { + "name": "voters", + "type": 71, + "typeName": "Vec<(AccountId, ExtendedBalance)>" + } + ] + } + } + } + }, + { + "id": 295, + "type": { + "path": [ + "pallet_bags_list", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "rebag", + "fields": [ + { + "name": "dislocated", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 0, + "docs": [ + "Declare that some `dislocated` account has, through rewards or penalties, sufficiently", + "changed its score that it should properly fall into a different bag than its current", + "one.", + "", + "Anyone can call this function about any potentially dislocated account.", + "", + "Will always update the stored score of `dislocated` to the correct score, based on", + "`ScoreProvider`.", + "", + "If `dislocated` does not exists, it returns an error." + ] + }, + { + "name": "put_in_front_of", + "fields": [ + { + "name": "lighter", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 1, + "docs": [ + "Move the caller's Id directly in front of `lighter`.", + "", + "The dispatch origin for this call must be _Signed_ and can only be called by the Id of", + "the account going in front of `lighter`.", + "", + "Only works if", + "- both nodes are within the same bag,", + "- and `origin` has a greater `Score` than `lighter`." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 296, + "type": { + "path": [ + "pallet_nomination_pools", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "join", + "fields": [ + { + "name": "amount", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + } + ], + "index": 0, + "docs": [ + "Stake funds with a pool. The amount to bond is transferred from the member to the", + "pools account and immediately increases the pools bond.", + "", + "# Note", + "", + "* An account can only be a member of a single pool.", + "* An account cannot join the same pool multiple times.", + "* This call will *not* dust the member account, so the member must have at least", + " `existential deposit + amount` in their account.", + "* Only a pool with [`PoolState::Open`] can be joined" + ] + }, + { + "name": "bond_extra", + "fields": [ + { + "name": "extra", + "type": 297, + "typeName": "BondExtra>" + } + ], + "index": 1, + "docs": [ + "Bond `extra` more funds from `origin` into the pool to which they already belong.", + "", + "Additional funds can come from either the free balance of the account, of from the", + "accumulated rewards, see [`BondExtra`].", + "", + "Bonding extra funds implies an automatic payout of all pending rewards as well.", + "See `bond_extra_other` to bond pending rewards of `other` members." + ] + }, + { + "name": "claim_payout", + "index": 2, + "docs": [ + "A bonded member can use this to claim their payout based on the rewards that the pool", + "has accumulated since their last claimed payout (OR since joining if this is their first", + "time claiming rewards). The payout will be transferred to the member's account.", + "", + "The member will earn rewards pro rata based on the members stake vs the sum of the", + "members in the pools stake. Rewards do not \"expire\".", + "", + "See `claim_payout_other` to caim rewards on bahalf of some `other` pool member." + ] + }, + { + "name": "unbond", + "fields": [ + { + "name": "member_account", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "unbonding_points", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 3, + "docs": [ + "Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It", + "implicitly collects the rewards one last time, since not doing so would mean some", + "rewards would be forfeited.", + "", + "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any", + "account).", + "", + "# Conditions for a permissionless dispatch.", + "", + "* The pool is blocked and the caller is either the root or bouncer. This is refereed to", + " as a kick.", + "* The pool is destroying and the member is not the depositor.", + "* The pool is destroying, the member is the depositor and no other members are in the", + " pool.", + "", + "## Conditions for permissioned dispatch (i.e. the caller is also the", + "`member_account`):", + "", + "* The caller is not the depositor.", + "* The caller is the depositor, the pool is destroying and no other members are in the", + " pool.", + "", + "# Note", + "", + "If there are too many unlocking chunks to unbond with the pool account,", + "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.", + "The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]", + "to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks", + "are available). However, it may not be possible to release the current unlocking chunks,", + "in which case, the result of this call will likely be the `NoMoreChunks` error from the", + "staking system." + ] + }, + { + "name": "pool_withdraw_unbonded", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32" + } + ], + "index": 4, + "docs": [ + "Call `withdraw_unbonded` for the pools account. This call can be made by any account.", + "", + "This is useful if their are too many unlocking chunks to call `unbond`, and some", + "can be cleared by withdrawing. In the case there are too many unlocking chunks, the user", + "would probably see an error like `NoMoreChunks` emitted from the staking system when", + "they attempt to unbond." + ] + }, + { + "name": "withdraw_unbonded", + "fields": [ + { + "name": "member_account", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32" + } + ], + "index": 5, + "docs": [ + "Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an", + "error is returned.", + "", + "Under certain conditions, this call can be dispatched permissionlessly (i.e. by any", + "account).", + "", + "# Conditions for a permissionless dispatch", + "", + "* The pool is in destroy mode and the target is not the depositor.", + "* The target is the depositor and they are the only member in the sub pools.", + "* The pool is blocked and the caller is either the root or bouncer.", + "", + "# Conditions for permissioned dispatch", + "", + "* The caller is the target and they are not the depositor.", + "", + "# Note", + "", + "If the target is the depositor, the pool will be destroyed." + ] + }, + { + "name": "create", + "fields": [ + { + "name": "amount", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "root", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "nominator", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "bouncer", + "type": 100, + "typeName": "AccountIdLookupOf" + } + ], + "index": 6, + "docs": [ + "Create a new delegation pool.", + "", + "# Arguments", + "", + "* `amount` - The amount of funds to delegate to the pool. This also acts of a sort of", + " deposit since the pools creator cannot fully unbond funds until the pool is being", + " destroyed.", + "* `index` - A disambiguation index for creating the account. Likely only useful when", + " creating multiple pools in the same extrinsic.", + "* `root` - The account to set as [`PoolRoles::root`].", + "* `nominator` - The account to set as the [`PoolRoles::nominator`].", + "* `bouncer` - The account to set as the [`PoolRoles::bouncer`].", + "", + "# Note", + "", + "In addition to `amount`, the caller will transfer the existential deposit; so the caller", + "needs at have at least `amount + existential_deposit` transferrable." + ] + }, + { + "name": "create_with_pool_id", + "fields": [ + { + "name": "amount", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "root", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "nominator", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "bouncer", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + } + ], + "index": 7, + "docs": [ + "Create a new delegation pool with a previously used pool id", + "", + "# Arguments", + "", + "same as `create` with the inclusion of", + "* `pool_id` - `A valid PoolId." + ] + }, + { + "name": "nominate", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "validators", + "type": 104, + "typeName": "Vec" + } + ], + "index": 8, + "docs": [ + "Nominate on behalf of the pool.", + "", + "The dispatch origin of this call must be signed by the pool nominator or the pool", + "root role.", + "", + "This directly forward the call to the staking pallet, on behalf of the pool bonded", + "account." + ] + }, + { + "name": "set_state", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "state", + "type": 298, + "typeName": "PoolState" + } + ], + "index": 9, + "docs": [ + "Set a new state for the pool.", + "", + "If a pool is already in the `Destroying` state, then under no condition can its state", + "change again.", + "", + "The dispatch origin of this call must be either:", + "", + "1. signed by the bouncer, or the root role of the pool,", + "2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and", + " then the state of the pool can be permissionlessly changed to `Destroying`." + ] + }, + { + "name": "set_metadata", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "metadata", + "type": 13, + "typeName": "Vec" + } + ], + "index": 10, + "docs": [ + "Set a new metadata for the pool.", + "", + "The dispatch origin of this call must be signed by the bouncer, or the root role of the", + "pool." + ] + }, + { + "name": "set_configs", + "fields": [ + { + "name": "min_join_bond", + "type": 299, + "typeName": "ConfigOp>" + }, + { + "name": "min_create_bond", + "type": 299, + "typeName": "ConfigOp>" + }, + { + "name": "max_pools", + "type": 300, + "typeName": "ConfigOp" + }, + { + "name": "max_members", + "type": 300, + "typeName": "ConfigOp" + }, + { + "name": "max_members_per_pool", + "type": 300, + "typeName": "ConfigOp" + }, + { + "name": "global_max_commission", + "type": 301, + "typeName": "ConfigOp" + } + ], + "index": 11, + "docs": [ + "Update configurations for the nomination pools. The origin for this call must be", + "Root.", + "", + "# Arguments", + "", + "* `min_join_bond` - Set [`MinJoinBond`].", + "* `min_create_bond` - Set [`MinCreateBond`].", + "* `max_pools` - Set [`MaxPools`].", + "* `max_members` - Set [`MaxPoolMembers`].", + "* `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].", + "* `global_max_commission` - Set [`GlobalMaxCommission`]." + ] + }, + { + "name": "update_roles", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "new_root", + "type": 302, + "typeName": "ConfigOp" + }, + { + "name": "new_nominator", + "type": 302, + "typeName": "ConfigOp" + }, + { + "name": "new_bouncer", + "type": 302, + "typeName": "ConfigOp" + } + ], + "index": 12, + "docs": [ + "Update the roles of the pool.", + "", + "The root is the only entity that can change any of the roles, including itself,", + "excluding the depositor, who can never change.", + "", + "It emits an event, notifying UIs of the role change. This event is quite relevant to", + "most pool members and they should be informed of changes to pool roles." + ] + }, + { + "name": "chill", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + } + ], + "index": 13, + "docs": [ + "Chill on behalf of the pool.", + "", + "The dispatch origin of this call must be signed by the pool nominator or the pool", + "root role, same as [`Pallet::nominate`].", + "", + "This directly forward the call to the staking pallet, on behalf of the pool bonded", + "account." + ] + }, + { + "name": "bond_extra_other", + "fields": [ + { + "name": "member", + "type": 100, + "typeName": "AccountIdLookupOf" + }, + { + "name": "extra", + "type": 297, + "typeName": "BondExtra>" + } + ], + "index": 14, + "docs": [ + "`origin` bonds funds from `extra` for some pool member `member` into their respective", + "pools.", + "", + "`origin` can bond extra funds from free balance or pending rewards when `origin ==", + "other`.", + "", + "In the case of `origin != other`, `origin` can only bond extra pending rewards of", + "`other` members assuming set_claim_permission for the given member is", + "`PermissionlessAll` or `PermissionlessCompound`." + ] + }, + { + "name": "set_claim_permission", + "fields": [ + { + "name": "permission", + "type": 303, + "typeName": "ClaimPermission" + } + ], + "index": 15, + "docs": [ + "Allows a pool member to set a claim permission to allow or disallow permissionless", + "bonding and withdrawing.", + "", + "By default, this is `Permissioned`, which implies only the pool member themselves can", + "claim their pending rewards. If a pool member wishes so, they can set this to", + "`PermissionlessAll` to allow any account to claim their rewards and bond extra to the", + "pool.", + "", + "# Arguments", + "", + "* `origin` - Member of a pool.", + "* `actor` - Account to claim reward. // improve this" + ] + }, + { + "name": "claim_payout_other", + "fields": [ + { + "name": "other", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 16, + "docs": [ + "`origin` can claim payouts on some pool member `other`'s behalf.", + "", + "Pool member `other` must have a `PermissionlessAll` or `PermissionlessWithdraw` in order", + "for this call to be successful." + ] + }, + { + "name": "set_commission", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "new_commission", + "type": 304, + "typeName": "Option<(Perbill, T::AccountId)>" + } + ], + "index": 17, + "docs": [ + "Set the commission of a pool.", + "Both a commission percentage and a commission payee must be provided in the `current`", + "tuple. Where a `current` of `None` is provided, any current commission will be removed.", + "", + "- If a `None` is supplied to `new_commission`, existing commission will be removed." + ] + }, + { + "name": "set_commission_max", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "max_commission", + "type": 41, + "typeName": "Perbill" + } + ], + "index": 18, + "docs": [ + "Set the maximum commission of a pool.", + "", + "- Initial max can be set to any `Perbill`, and only smaller values thereafter.", + "- Current commission will be lowered in the event it is higher than a new max", + " commission." + ] + }, + { + "name": "set_commission_change_rate", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "change_rate", + "type": 306, + "typeName": "CommissionChangeRate" + } + ], + "index": 19, + "docs": [ + "Set the commission change rate for a pool.", + "", + "Initial change rate is not bounded, whereas subsequent updates can only be more", + "restrictive than the current." + ] + }, + { + "name": "claim_commission", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + } + ], + "index": 20, + "docs": [ + "Claim pending commission.", + "", + "The dispatch origin of this call must be signed by the `root` role of the pool. Pending", + "commission is paid out and added to total claimed commission`. Total pending commission", + "is reset to zero. the current." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 297, + "type": { + "path": [ + "pallet_nomination_pools", + "BondExtra" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "FreeBalance", + "fields": [ + { + "type": 6, + "typeName": "Balance" + } + ], + "index": 0 + }, + { + "name": "Rewards", + "index": 1 + } + ] + } + } + } + }, + { + "id": 298, + "type": { + "path": [ + "pallet_nomination_pools", + "PoolState" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Open", + "index": 0 + }, + { + "name": "Blocked", + "index": 1 + }, + { + "name": "Destroying", + "index": 2 + } + ] + } + } + } + }, + { + "id": 299, + "type": { + "path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 6, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 300, + "type": { + "path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 4, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 301, + "type": { + "path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 41 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 41, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 302, + "type": { + "path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Noop", + "index": 0 + }, + { + "name": "Set", + "fields": [ + { + "type": 0, + "typeName": "T" + } + ], + "index": 1 + }, + { + "name": "Remove", + "index": 2 + } + ] + } + } + } + }, + { + "id": 303, + "type": { + "path": [ + "pallet_nomination_pools", + "ClaimPermission" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Permissioned", + "index": 0 + }, + { + "name": "PermissionlessCompound", + "index": 1 + }, + { + "name": "PermissionlessWithdraw", + "index": 2 + }, + { + "name": "PermissionlessAll", + "index": 3 + } + ] + } + } + } + }, + { + "id": 304, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 305 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 305 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 305, + "type": { + "def": { + "tuple": [ + 41, + 0 + ] + } + } + }, + { + "id": 306, + "type": { + "path": [ + "pallet_nomination_pools", + "CommissionChangeRate" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "max_increase", + "type": 41, + "typeName": "Perbill" + }, + { + "name": "min_delay", + "type": 4, + "typeName": "BlockNumber" + } + ] + } + } + } + }, + { + "id": 307, + "type": { + "path": [ + "pallet_fast_unstake", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "register_fast_unstake", + "index": 0, + "docs": [ + "Register oneself for fast-unstake.", + "", + "The dispatch origin of this call must be signed by the controller account, similar to", + "`staking::unbond`.", + "", + "The stash associated with the origin must have no ongoing unlocking chunks. If", + "successful, this will fully unbond and chill the stash. Then, it will enqueue the stash", + "to be checked in further blocks.", + "", + "If by the time this is called, the stash is actually eligible for fast-unstake, then", + "they are guaranteed to remain eligible, because the call will chill them as well.", + "", + "If the check works, the entire staking data is removed, i.e. the stash is fully", + "unstaked.", + "", + "If the check fails, the stash remains chilled and waiting for being unbonded as in with", + "the normal staking system, but they lose part of their unbonding chunks due to consuming", + "the chain's resources." + ] + }, + { + "name": "deregister", + "index": 1, + "docs": [ + "Deregister oneself from the fast-unstake.", + "", + "This is useful if one is registered, they are still waiting, and they change their mind.", + "", + "Note that the associated stash is still fully unbonded and chilled as a consequence of", + "calling `register_fast_unstake`. This should probably be followed by a call to", + "`Staking::rebond`." + ] + }, + { + "name": "control", + "fields": [ + { + "name": "eras_to_check", + "type": 4, + "typeName": "EraIndex" + } + ], + "index": 2, + "docs": [ + "Control the operation of this pallet.", + "", + "Dispatch origin must be signed by the [`Config::ControlOrigin`]." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 308, + "type": { + "path": [ + "polkadot_runtime_parachains", + "configuration", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "set_validation_upgrade_cooldown", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 0, + "docs": [ + "Set the validation upgrade cooldown." + ] + }, + { + "name": "set_validation_upgrade_delay", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 1, + "docs": [ + "Set the validation upgrade delay." + ] + }, + { + "name": "set_code_retention_period", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 2, + "docs": [ + "Set the acceptance period for an included candidate." + ] + }, + { + "name": "set_max_code_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 3, + "docs": [ + "Set the max validation code size for incoming upgrades." + ] + }, + { + "name": "set_max_pov_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 4, + "docs": [ + "Set the max POV block size for incoming upgrades." + ] + }, + { + "name": "set_max_head_data_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 5, + "docs": [ + "Set the max head data size for paras." + ] + }, + { + "name": "set_parathread_cores", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 6, + "docs": [ + "Set the number of parathread execution cores." + ] + }, + { + "name": "set_parathread_retries", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 7, + "docs": [ + "Set the number of retries for a particular parathread." + ] + }, + { + "name": "set_group_rotation_frequency", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 8, + "docs": [ + "Set the parachain validator-group rotation frequency" + ] + }, + { + "name": "set_chain_availability_period", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 9, + "docs": [ + "Set the availability period for parachains." + ] + }, + { + "name": "set_thread_availability_period", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 10, + "docs": [ + "Set the availability period for parathreads." + ] + }, + { + "name": "set_scheduling_lookahead", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 11, + "docs": [ + "Set the scheduling lookahead, in expected number of blocks at peak throughput." + ] + }, + { + "name": "set_max_validators_per_core", + "fields": [ + { + "name": "new", + "type": 141, + "typeName": "Option" + } + ], + "index": 12, + "docs": [ + "Set the maximum number of validators to assign to any core." + ] + }, + { + "name": "set_max_validators", + "fields": [ + { + "name": "new", + "type": 141, + "typeName": "Option" + } + ], + "index": 13, + "docs": [ + "Set the maximum number of validators to use in parachain consensus." + ] + }, + { + "name": "set_dispute_period", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "SessionIndex" + } + ], + "index": 14, + "docs": [ + "Set the dispute period, in number of sessions to keep for disputes." + ] + }, + { + "name": "set_dispute_post_conclusion_acceptance_period", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 15, + "docs": [ + "Set the dispute post conclusion acceptance period." + ] + }, + { + "name": "set_no_show_slots", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 18, + "docs": [ + "Set the no show slots, in number of number of consensus slots.", + "Must be at least 1." + ] + }, + { + "name": "set_n_delay_tranches", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 19, + "docs": [ + "Set the total number of delay tranches." + ] + }, + { + "name": "set_zeroth_delay_tranche_width", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 20, + "docs": [ + "Set the zeroth delay tranche width." + ] + }, + { + "name": "set_needed_approvals", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 21, + "docs": [ + "Set the number of validators needed to approve a block." + ] + }, + { + "name": "set_relay_vrf_modulo_samples", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 22, + "docs": [ + "Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion." + ] + }, + { + "name": "set_max_upward_queue_count", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 23, + "docs": [ + "Sets the maximum items that can present in a upward dispatch queue at once." + ] + }, + { + "name": "set_max_upward_queue_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 24, + "docs": [ + "Sets the maximum total size of items that can present in a upward dispatch queue at once." + ] + }, + { + "name": "set_max_downward_message_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 25, + "docs": [ + "Set the critical downward message size." + ] + }, + { + "name": "set_ump_service_total_weight", + "fields": [ + { + "name": "new", + "type": 9, + "typeName": "Weight" + } + ], + "index": 26, + "docs": [ + "Sets the soft limit for the phase of dispatching dispatchable upward messages." + ] + }, + { + "name": "set_max_upward_message_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 27, + "docs": [ + "Sets the maximum size of an upward message that can be sent by a candidate." + ] + }, + { + "name": "set_max_upward_message_num_per_candidate", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 28, + "docs": [ + "Sets the maximum number of messages that a candidate can contain." + ] + }, + { + "name": "set_hrmp_open_request_ttl", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 29, + "docs": [ + "Sets the number of sessions after which an HRMP open channel request expires." + ] + }, + { + "name": "set_hrmp_sender_deposit", + "fields": [ + { + "name": "new", + "type": 6, + "typeName": "Balance" + } + ], + "index": 30, + "docs": [ + "Sets the amount of funds that the sender should provide for opening an HRMP channel." + ] + }, + { + "name": "set_hrmp_recipient_deposit", + "fields": [ + { + "name": "new", + "type": 6, + "typeName": "Balance" + } + ], + "index": 31, + "docs": [ + "Sets the amount of funds that the recipient should provide for accepting opening an HRMP", + "channel." + ] + }, + { + "name": "set_hrmp_channel_max_capacity", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 32, + "docs": [ + "Sets the maximum number of messages allowed in an HRMP channel at once." + ] + }, + { + "name": "set_hrmp_channel_max_total_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 33, + "docs": [ + "Sets the maximum total size of messages in bytes allowed in an HRMP channel at once." + ] + }, + { + "name": "set_hrmp_max_parachain_inbound_channels", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 34, + "docs": [ + "Sets the maximum number of inbound HRMP channels a parachain is allowed to accept." + ] + }, + { + "name": "set_hrmp_max_parathread_inbound_channels", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 35, + "docs": [ + "Sets the maximum number of inbound HRMP channels a parathread is allowed to accept." + ] + }, + { + "name": "set_hrmp_channel_max_message_size", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 36, + "docs": [ + "Sets the maximum size of a message that could ever be put into an HRMP channel." + ] + }, + { + "name": "set_hrmp_max_parachain_outbound_channels", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 37, + "docs": [ + "Sets the maximum number of outbound HRMP channels a parachain is allowed to open." + ] + }, + { + "name": "set_hrmp_max_parathread_outbound_channels", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 38, + "docs": [ + "Sets the maximum number of outbound HRMP channels a parathread is allowed to open." + ] + }, + { + "name": "set_hrmp_max_message_num_per_candidate", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32" + } + ], + "index": 39, + "docs": [ + "Sets the maximum number of outbound HRMP messages can be sent by a candidate." + ] + }, + { + "name": "set_ump_max_individual_weight", + "fields": [ + { + "name": "new", + "type": 9, + "typeName": "Weight" + } + ], + "index": 40, + "docs": [ + "Sets the maximum amount of weight any individual upward message may consume." + ] + }, + { + "name": "set_pvf_checking_enabled", + "fields": [ + { + "name": "new", + "type": 44, + "typeName": "bool" + } + ], + "index": 41, + "docs": [ + "Enable or disable PVF pre-checking. Consult the field documentation prior executing." + ] + }, + { + "name": "set_pvf_voting_ttl", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "SessionIndex" + } + ], + "index": 42, + "docs": [ + "Set the number of session changes after which a PVF pre-checking voting is rejected." + ] + }, + { + "name": "set_minimum_validation_upgrade_delay", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 43, + "docs": [ + "Sets the minimum delay between announcing the upgrade block for a parachain until the", + "upgrade taking place.", + "", + "See the field documentation for information and constraints for the new value." + ] + }, + { + "name": "set_bypass_consistency_check", + "fields": [ + { + "name": "new", + "type": 44, + "typeName": "bool" + } + ], + "index": 44, + "docs": [ + "Setting this to true will disable consistency checks for the configuration setters.", + "Use with caution." + ] + }, + { + "name": "set_async_backing_params", + "fields": [ + { + "name": "new", + "type": 309, + "typeName": "AsyncBackingParams" + } + ], + "index": 45, + "docs": [ + "Set the asynchronous backing parameters." + ] + }, + { + "name": "set_executor_params", + "fields": [ + { + "name": "new", + "type": 310, + "typeName": "ExecutorParams" + } + ], + "index": 46, + "docs": [ + "Set PVF executor parameters." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 309, + "type": { + "path": [ + "polkadot_primitives", + "vstaging", + "AsyncBackingParams" + ], + "def": { + "composite": { + "fields": [ + { + "name": "max_candidate_depth", + "type": 4, + "typeName": "u32" + }, + { + "name": "allowed_ancestry_len", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 310, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "executor_params", + "ExecutorParams" + ], + "def": { + "composite": { + "fields": [ + { + "type": 311, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 311, + "type": { + "def": { + "sequence": { + "type": 312 + } + } + } + }, + { + "id": 312, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "executor_params", + "ExecutorParam" + ], + "def": { + "variant": { + "variants": [ + { + "name": "MaxMemoryPages", + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ], + "index": 1 + }, + { + "name": "StackLogicalMax", + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ], + "index": 2 + }, + { + "name": "StackNativeMax", + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ], + "index": 3 + }, + { + "name": "PrecheckingMaxMemory", + "fields": [ + { + "type": 11, + "typeName": "u64" + } + ], + "index": 4 + }, + { + "name": "PvfPrepTimeout", + "fields": [ + { + "type": 313, + "typeName": "PvfPrepTimeoutKind" + }, + { + "type": 11, + "typeName": "u64" + } + ], + "index": 5 + }, + { + "name": "PvfExecTimeout", + "fields": [ + { + "type": 314, + "typeName": "PvfExecTimeoutKind" + }, + { + "type": 11, + "typeName": "u64" + } + ], + "index": 6 + }, + { + "name": "WasmExtBulkMemory", + "index": 7 + } + ] + } + } + } + }, + { + "id": 313, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "PvfPrepTimeoutKind" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Precheck", + "index": 0 + }, + { + "name": "Lenient", + "index": 1 + } + ] + } + } + } + }, + { + "id": 314, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "PvfExecTimeoutKind" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Backing", + "index": 0 + }, + { + "name": "Approval", + "index": 1 + } + ] + } + } + } + }, + { + "id": 315, + "type": { + "path": [ + "polkadot_runtime_parachains", + "shared", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": {} + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 316, + "type": { + "path": [ + "polkadot_runtime_parachains", + "inclusion", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": {} + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 317, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras_inherent", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "enter", + "fields": [ + { + "name": "data", + "type": 318, + "typeName": "ParachainsInherentData" + } + ], + "index": 0, + "docs": [ + "Enter the paras inherent. This will process bitfields and backed candidates." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 318, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "InherentData" + ], + "params": [ + { + "name": "HDR", + "type": 89 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "bitfields", + "type": 319, + "typeName": "UncheckedSignedAvailabilityBitfields" + }, + { + "name": "backed_candidates", + "type": 326, + "typeName": "Vec>" + }, + { + "name": "disputes", + "type": 343, + "typeName": "MultiDisputeStatementSet" + }, + { + "name": "parent_header", + "type": 89, + "typeName": "HDR" + } + ] + } + } + } + }, + { + "id": 319, + "type": { + "def": { + "sequence": { + "type": 320 + } + } + } + }, + { + "id": 320, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "signed", + "UncheckedSigned" + ], + "params": [ + { + "name": "Payload", + "type": 321 + }, + { + "name": "RealPayload", + "type": 321 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "payload", + "type": 321, + "typeName": "Payload" + }, + { + "name": "validator_index", + "type": 324, + "typeName": "ValidatorIndex" + }, + { + "name": "signature", + "type": 325, + "typeName": "ValidatorSignature" + } + ] + } + } + } + }, + { + "id": 321, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "AvailabilityBitfield" + ], + "def": { + "composite": { + "fields": [ + { + "type": 322, + "typeName": "BitVec" + } + ] + } + } + } + }, + { + "id": 322, + "type": { + "def": { + "bitsequence": { + "bit_store_type": 2, + "bit_order_type": 323 + } + } + } + }, + { + "id": 323, + "type": { + "path": [ + "bitvec", + "order", + "Lsb0" + ], + "def": { + "composite": {} + } + } + }, + { + "id": 324, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "ValidatorIndex" + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 325, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "validator_app", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 138, + "typeName": "sr25519::Signature" + } + ] + } + } + } + }, + { + "id": 326, + "type": { + "def": { + "sequence": { + "type": 327 + } + } + } + }, + { + "id": 327, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "BackedCandidate" + ], + "params": [ + { + "name": "H", + "type": 12 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "candidate", + "type": 328, + "typeName": "CommittedCandidateReceipt" + }, + { + "name": "validity_votes", + "type": 341, + "typeName": "Vec" + }, + { + "name": "validator_indices", + "type": 322, + "typeName": "BitVec" + } + ] + } + } + } + }, + { + "id": 328, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "CommittedCandidateReceipt" + ], + "params": [ + { + "name": "H", + "type": 12 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "descriptor", + "type": 329, + "typeName": "CandidateDescriptor" + }, + { + "name": "commitments", + "type": 333, + "typeName": "CandidateCommitments" + } + ] + } + } + } + }, + { + "id": 329, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "CandidateDescriptor" + ], + "params": [ + { + "name": "H", + "type": 12 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "Id" + }, + { + "name": "relay_parent", + "type": 12, + "typeName": "H" + }, + { + "name": "collator", + "type": 330, + "typeName": "CollatorId" + }, + { + "name": "persisted_validation_data_hash", + "type": 12, + "typeName": "Hash" + }, + { + "name": "pov_hash", + "type": 12, + "typeName": "Hash" + }, + { + "name": "erasure_root", + "type": 12, + "typeName": "Hash" + }, + { + "name": "signature", + "type": 331, + "typeName": "CollatorSignature" + }, + { + "name": "para_head", + "type": 12, + "typeName": "Hash" + }, + { + "name": "validation_code_hash", + "type": 332, + "typeName": "ValidationCodeHash" + } + ] + } + } + } + }, + { + "id": 330, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "collator_app", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 56, + "typeName": "sr25519::Public" + } + ] + } + } + } + }, + { + "id": 331, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "collator_app", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 138, + "typeName": "sr25519::Signature" + } + ] + } + } + } + }, + { + "id": 332, + "type": { + "path": [ + "polkadot_parachain", + "primitives", + "ValidationCodeHash" + ], + "def": { + "composite": { + "fields": [ + { + "type": 12, + "typeName": "Hash" + } + ] + } + } + } + }, + { + "id": 333, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "CandidateCommitments" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "upward_messages", + "type": 334, + "typeName": "UpwardMessages" + }, + { + "name": "horizontal_messages", + "type": 335, + "typeName": "HorizontalMessages" + }, + { + "name": "new_validation_code", + "type": 338, + "typeName": "Option" + }, + { + "name": "head_data", + "type": 340, + "typeName": "HeadData" + }, + { + "name": "processed_downward_messages", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_watermark", + "type": 4, + "typeName": "N" + } + ] + } + } + } + }, + { + "id": 334, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 13 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 83, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 335, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 336 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 337, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 336, + "type": { + "path": [ + "polkadot_core_primitives", + "OutboundHrmpMessage" + ], + "params": [ + { + "name": "Id", + "type": 162 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "recipient", + "type": 162, + "typeName": "Id" + }, + { + "name": "data", + "type": 13, + "typeName": "sp_std::vec::Vec" + } + ] + } + } + } + }, + { + "id": 337, + "type": { + "def": { + "sequence": { + "type": 336 + } + } + } + }, + { + "id": 338, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 339 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 339 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 339, + "type": { + "path": [ + "polkadot_parachain", + "primitives", + "ValidationCode" + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 340, + "type": { + "path": [ + "polkadot_parachain", + "primitives", + "HeadData" + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 341, + "type": { + "def": { + "sequence": { + "type": 342 + } + } + } + }, + { + "id": 342, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "ValidityAttestation" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Implicit", + "fields": [ + { + "type": 325, + "typeName": "ValidatorSignature" + } + ], + "index": 1 + }, + { + "name": "Explicit", + "fields": [ + { + "type": 325, + "typeName": "ValidatorSignature" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 343, + "type": { + "def": { + "sequence": { + "type": 344 + } + } + } + }, + { + "id": 344, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "DisputeStatementSet" + ], + "def": { + "composite": { + "fields": [ + { + "name": "candidate_hash", + "type": 345, + "typeName": "CandidateHash" + }, + { + "name": "session", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "statements", + "type": 346, + "typeName": "Vec<(DisputeStatement, ValidatorIndex, ValidatorSignature)>" + } + ] + } + } + } + }, + { + "id": 345, + "type": { + "path": [ + "polkadot_core_primitives", + "CandidateHash" + ], + "def": { + "composite": { + "fields": [ + { + "type": 12, + "typeName": "Hash" + } + ] + } + } + } + }, + { + "id": 346, + "type": { + "def": { + "sequence": { + "type": 347 + } + } + } + }, + { + "id": 347, + "type": { + "def": { + "tuple": [ + 348, + 324, + 325 + ] + } + } + }, + { + "id": 348, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "DisputeStatement" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Valid", + "fields": [ + { + "type": 349, + "typeName": "ValidDisputeStatementKind" + } + ], + "index": 0 + }, + { + "name": "Invalid", + "fields": [ + { + "type": 350, + "typeName": "InvalidDisputeStatementKind" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 349, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "ValidDisputeStatementKind" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Explicit", + "index": 0 + }, + { + "name": "BackingSeconded", + "fields": [ + { + "type": 12, + "typeName": "Hash" + } + ], + "index": 1 + }, + { + "name": "BackingValid", + "fields": [ + { + "type": 12, + "typeName": "Hash" + } + ], + "index": 2 + }, + { + "name": "ApprovalChecking", + "index": 3 + } + ] + } + } + } + }, + { + "id": 350, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "InvalidDisputeStatementKind" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Explicit", + "index": 0 + } + ] + } + } + } + }, + { + "id": 351, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "force_set_current_code", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "new_code", + "type": 339, + "typeName": "ValidationCode" + } + ], + "index": 0, + "docs": [ + "Set the storage for the parachain validation code immediately." + ] + }, + { + "name": "force_set_current_head", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "new_head", + "type": 340, + "typeName": "HeadData" + } + ], + "index": 1, + "docs": [ + "Set the storage for the current parachain head data immediately." + ] + }, + { + "name": "force_schedule_code_upgrade", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "new_code", + "type": 339, + "typeName": "ValidationCode" + }, + { + "name": "relay_parent_number", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 2, + "docs": [ + "Schedule an upgrade as if it was scheduled in the given relay parent block." + ] + }, + { + "name": "force_note_new_head", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "new_head", + "type": 340, + "typeName": "HeadData" + } + ], + "index": 3, + "docs": [ + "Note a new block head for para within the context of the current block." + ] + }, + { + "name": "force_queue_action", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 4, + "docs": [ + "Put a parachain directly into the next session's action queue.", + "We can't queue it any sooner than this without going into the", + "initializer..." + ] + }, + { + "name": "add_trusted_validation_code", + "fields": [ + { + "name": "validation_code", + "type": 339, + "typeName": "ValidationCode" + } + ], + "index": 5, + "docs": [ + "Adds the validation code to the storage.", + "", + "The code will not be added if it is already present. Additionally, if PVF pre-checking", + "is running for that code, it will be instantly accepted.", + "", + "Otherwise, the code will be added into the storage. Note that the code will be added", + "into storage with reference count 0. This is to account the fact that there are no users", + "for this code yet. The caller will have to make sure that this code eventually gets", + "used by some parachain or removed from the storage to avoid storage leaks. For the latter", + "prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.", + "", + "This function is mainly meant to be used for upgrading parachains that do not follow", + "the go-ahead signal while the PVF pre-checking feature is enabled." + ] + }, + { + "name": "poke_unused_validation_code", + "fields": [ + { + "name": "validation_code_hash", + "type": 332, + "typeName": "ValidationCodeHash" + } + ], + "index": 6, + "docs": [ + "Remove the validation code from the storage iff the reference count is 0.", + "", + "This is better than removing the storage directly, because it will not remove the code", + "that was suddenly got used by some parachain while this dispatchable was pending", + "dispatching." + ] + }, + { + "name": "include_pvf_check_statement", + "fields": [ + { + "name": "stmt", + "type": 352, + "typeName": "PvfCheckStatement" + }, + { + "name": "signature", + "type": 325, + "typeName": "ValidatorSignature" + } + ], + "index": 7, + "docs": [ + "Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and", + "enacts the results if that was the last vote before achieving the supermajority." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 352, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "PvfCheckStatement" + ], + "def": { + "composite": { + "fields": [ + { + "name": "accept", + "type": 44, + "typeName": "bool" + }, + { + "name": "subject", + "type": 332, + "typeName": "ValidationCodeHash" + }, + { + "name": "session_index", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "validator_index", + "type": 324, + "typeName": "ValidatorIndex" + } + ] + } + } + } + }, + { + "id": 353, + "type": { + "path": [ + "polkadot_runtime_parachains", + "initializer", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "force_approve", + "fields": [ + { + "name": "up_to", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 0, + "docs": [ + "Issue a signal to the consensus engine to forcibly act as though all parachain", + "blocks in all relay chain blocks up to and including the given number in the current", + "chain are valid and should be finalized." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 354, + "type": { + "path": [ + "polkadot_runtime_parachains", + "dmp", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": {} + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 355, + "type": { + "path": [ + "polkadot_runtime_parachains", + "ump", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "service_overweight", + "fields": [ + { + "name": "index", + "type": 11, + "typeName": "OverweightIndex" + }, + { + "name": "weight_limit", + "type": 9, + "typeName": "Weight" + } + ], + "index": 0, + "docs": [ + "Service a single overweight upward message.", + "", + "- `origin`: Must pass `ExecuteOverweightOrigin`.", + "- `index`: The index of the overweight message to service.", + "- `weight_limit`: The amount of weight that message execution may take.", + "", + "Errors:", + "- `UnknownMessageIndex`: Message of `index` is unknown.", + "- `WeightOverLimit`: Message execution may use greater than `weight_limit`.", + "", + "Events:", + "- `OverweightServiced`: On success." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 356, + "type": { + "path": [ + "polkadot_runtime_parachains", + "hrmp", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "hrmp_init_open_channel", + "fields": [ + { + "name": "recipient", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "proposed_max_capacity", + "type": 4, + "typeName": "u32" + }, + { + "name": "proposed_max_message_size", + "type": 4, + "typeName": "u32" + } + ], + "index": 0, + "docs": [ + "Initiate opening a channel from a parachain to a given recipient with given channel", + "parameters.", + "", + "- `proposed_max_capacity` - specifies how many messages can be in the channel at once.", + "- `proposed_max_message_size` - specifies the maximum size of the messages.", + "", + "These numbers are a subject to the relay-chain configuration limits.", + "", + "The channel can be opened only after the recipient confirms it and only on a session", + "change." + ] + }, + { + "name": "hrmp_accept_open_channel", + "fields": [ + { + "name": "sender", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 1, + "docs": [ + "Accept a pending open channel request from the given sender.", + "", + "The channel will be opened only on the next session boundary." + ] + }, + { + "name": "hrmp_close_channel", + "fields": [ + { + "name": "channel_id", + "type": 357, + "typeName": "HrmpChannelId" + } + ], + "index": 2, + "docs": [ + "Initiate unilateral closing of a channel. The origin must be either the sender or the", + "recipient in the channel being closed.", + "", + "The closure can only happen on a session change." + ] + }, + { + "name": "force_clean_hrmp", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "inbound", + "type": 4, + "typeName": "u32" + }, + { + "name": "outbound", + "type": 4, + "typeName": "u32" + } + ], + "index": 3, + "docs": [ + "This extrinsic triggers the cleanup of all the HRMP storage items that", + "a para may have. Normally this happens once per session, but this allows", + "you to trigger the cleanup immediately for a specific parachain.", + "", + "Origin must be Root.", + "", + "Number of inbound and outbound channels for `para` must be provided as witness data of weighing." + ] + }, + { + "name": "force_process_hrmp_open", + "fields": [ + { + "name": "channels", + "type": 4, + "typeName": "u32" + } + ], + "index": 4, + "docs": [ + "Force process HRMP open channel requests.", + "", + "If there are pending HRMP open channel requests, you can use this", + "function process all of those requests immediately.", + "", + "Total number of opening channels must be provided as witness data of weighing." + ] + }, + { + "name": "force_process_hrmp_close", + "fields": [ + { + "name": "channels", + "type": 4, + "typeName": "u32" + } + ], + "index": 5, + "docs": [ + "Force process HRMP close channel requests.", + "", + "If there are pending HRMP close channel requests, you can use this", + "function process all of those requests immediately.", + "", + "Total number of closing channels must be provided as witness data of weighing." + ] + }, + { + "name": "hrmp_cancel_open_request", + "fields": [ + { + "name": "channel_id", + "type": 357, + "typeName": "HrmpChannelId" + }, + { + "name": "open_requests", + "type": 4, + "typeName": "u32" + } + ], + "index": 6, + "docs": [ + "This cancels a pending open channel request. It can be canceled by either of the sender", + "or the recipient for that request. The origin must be either of those.", + "", + "The cancellation happens immediately. It is not possible to cancel the request if it is", + "already accepted.", + "", + "Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as", + "witness data." + ] + }, + { + "name": "force_open_hrmp_channel", + "fields": [ + { + "name": "sender", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "recipient", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "max_capacity", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_message_size", + "type": 4, + "typeName": "u32" + } + ], + "index": 7, + "docs": [ + "Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although", + "opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay", + "Chain's configured limits.", + "", + "Expected use is when one of the `ParaId`s involved in the channel is governed by the", + "Relay Chain, e.g. a common good parachain." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 357, + "type": { + "path": [ + "polkadot_parachain", + "primitives", + "HrmpChannelId" + ], + "def": { + "composite": { + "fields": [ + { + "name": "sender", + "type": 162, + "typeName": "Id" + }, + { + "name": "recipient", + "type": 162, + "typeName": "Id" + } + ] + } + } + } + }, + { + "id": 358, + "type": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "force_unfreeze", + "index": 0 + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 359, + "type": { + "path": [ + "polkadot_runtime_common", + "paras_registrar", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "register", + "fields": [ + { + "name": "id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "genesis_head", + "type": 340, + "typeName": "HeadData" + }, + { + "name": "validation_code", + "type": 339, + "typeName": "ValidationCode" + } + ], + "index": 0, + "docs": [ + "Register head data and validation code for a reserved Para Id.", + "", + "## Arguments", + "- `origin`: Must be called by a `Signed` origin.", + "- `id`: The para ID. Must be owned/managed by the `origin` signing account.", + "- `genesis_head`: The genesis head data of the parachain/thread.", + "- `validation_code`: The initial validation code of the parachain/thread.", + "", + "## Deposits/Fees", + "The origin signed account must reserve a corresponding deposit for the registration. Anything already", + "reserved previously for this para ID is accounted for.", + "", + "## Events", + "The `Registered` event is emitted in case of success." + ] + }, + { + "name": "force_register", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "genesis_head", + "type": 340, + "typeName": "HeadData" + }, + { + "name": "validation_code", + "type": 339, + "typeName": "ValidationCode" + } + ], + "index": 1, + "docs": [ + "Force the registration of a Para Id on the relay chain.", + "", + "This function must be called by a Root origin.", + "", + "The deposit taken can be specified for this registration. Any `ParaId`", + "can be registered, including sub-1000 IDs which are System Parachains." + ] + }, + { + "name": "deregister", + "fields": [ + { + "name": "id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 2, + "docs": [ + "Deregister a Para Id, freeing all data and returning any deposit.", + "", + "The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread." + ] + }, + { + "name": "swap", + "fields": [ + { + "name": "id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "other", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 3, + "docs": [ + "Swap a parachain with another parachain or parathread.", + "", + "The origin must be Root, the `para` owner, or the `para` itself.", + "", + "The swap will happen only if there is already an opposite swap pending. If there is not,", + "the swap will be stored in the pending swaps map, ready for a later confirmatory swap.", + "", + "The `ParaId`s remain mapped to the same head data and code so external code can rely on", + "`ParaId` to be a long-term identifier of a notional \"parachain\". However, their", + "scheduling info (i.e. whether they're a parathread or parachain), auction information", + "and the auction deposit are switched." + ] + }, + { + "name": "remove_lock", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 4, + "docs": [ + "Remove a manager lock from a para. This will allow the manager of a", + "previously locked para to deregister or swap a para without using governance.", + "", + "Can only be called by the Root origin or the parachain." + ] + }, + { + "name": "reserve", + "index": 5, + "docs": [ + "Reserve a Para Id on the relay chain.", + "", + "This function will reserve a new Para Id to be owned/managed by the origin account.", + "The origin account is able to register head data and validation code using `register` to create", + "a parathread. Using the Slots pallet, a parathread can then be upgraded to get a parachain slot.", + "", + "## Arguments", + "- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new para ID.", + "", + "## Deposits/Fees", + "The origin must reserve a deposit of `ParaDeposit` for the registration.", + "", + "## Events", + "The `Reserved` event is emitted in case of success, which provides the ID reserved for use." + ] + }, + { + "name": "add_lock", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 6, + "docs": [ + "Add a manager lock from a para. This will prevent the manager of a", + "para to deregister or swap a para.", + "", + "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked." + ] + }, + { + "name": "schedule_code_upgrade", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "new_code", + "type": 339, + "typeName": "ValidationCode" + } + ], + "index": 7, + "docs": [ + "Schedule a parachain upgrade.", + "", + "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked." + ] + }, + { + "name": "set_current_head", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "new_head", + "type": 340, + "typeName": "HeadData" + } + ], + "index": 8, + "docs": [ + "Set the parachain's current head.", + "", + "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 360, + "type": { + "path": [ + "polkadot_runtime_common", + "slots", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "force_lease", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "leaser", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "period_begin", + "type": 4, + "typeName": "LeasePeriodOf" + }, + { + "name": "period_count", + "type": 4, + "typeName": "LeasePeriodOf" + } + ], + "index": 0, + "docs": [ + "Just a connect into the `lease_out` call, in case Root wants to force some lease to happen", + "independently of any other on-chain mechanism to use it.", + "", + "The dispatch origin for this call must match `T::ForceOrigin`." + ] + }, + { + "name": "clear_all_leases", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 1, + "docs": [ + "Clear all leases for a Para Id, refunding any deposits back to the original owners.", + "", + "The dispatch origin for this call must match `T::ForceOrigin`." + ] + }, + { + "name": "trigger_onboard", + "fields": [ + { + "name": "para", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 2, + "docs": [ + "Try to onboard a parachain that has a lease for the current lease period.", + "", + "This function can be useful if there was some state issue with a para that should", + "have onboarded, but was unable to. As long as they have a lease period, we can", + "let them onboard from here.", + "", + "Origin must be signed, but can be called by anyone." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 361, + "type": { + "path": [ + "polkadot_runtime_common", + "auctions", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "new_auction", + "fields": [ + { + "name": "duration", + "type": 91, + "typeName": "T::BlockNumber" + }, + { + "name": "lease_period_index", + "type": 91, + "typeName": "LeasePeriodOf" + } + ], + "index": 0, + "docs": [ + "Create a new auction.", + "", + "This can only happen when there isn't already an auction in progress and may only be", + "called by the root origin. Accepts the `duration` of this auction and the", + "`lease_period_index` of the initial lease period of the four that are to be auctioned." + ] + }, + { + "name": "bid", + "fields": [ + { + "name": "para", + "type": 362, + "typeName": "ParaId" + }, + { + "name": "auction_index", + "type": 91, + "typeName": "AuctionIndex" + }, + { + "name": "first_slot", + "type": 91, + "typeName": "LeasePeriodOf" + }, + { + "name": "last_slot", + "type": 91, + "typeName": "LeasePeriodOf" + }, + { + "name": "amount", + "type": 60, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "Make a new bid from an account (including a parachain account) for deploying a new", + "parachain.", + "", + "Multiple simultaneous bids from the same bidder are allowed only as long as all active", + "bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted.", + "", + "- `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and", + "funded by) the same account.", + "- `auction_index` is the index of the auction to bid on. Should just be the present", + "value of `AuctionCounter`.", + "- `first_slot` is the first lease period index of the range to bid on. This is the", + "absolute lease period index value, not an auction-specific offset.", + "- `last_slot` is the last lease period index of the range to bid on. This is the", + "absolute lease period index value, not an auction-specific offset.", + "- `amount` is the amount to bid to be held as deposit for the parachain should the", + "bid win. This amount is held throughout the range." + ] + }, + { + "name": "cancel_auction", + "index": 2, + "docs": [ + "Cancel an in-progress auction.", + "", + "Can only be called by Root origin." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 362, + "type": { + "def": { + "compact": { + "type": 162 + } + } + } + }, + { + "id": 363, + "type": { + "path": [ + "polkadot_runtime_common", + "crowdloan", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "create", + "fields": [ + { + "name": "index", + "type": 362, + "typeName": "ParaId" + }, + { + "name": "cap", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "first_period", + "type": 91, + "typeName": "LeasePeriodOf" + }, + { + "name": "last_period", + "type": 91, + "typeName": "LeasePeriodOf" + }, + { + "name": "end", + "type": 91, + "typeName": "T::BlockNumber" + }, + { + "name": "verifier", + "type": 364, + "typeName": "Option" + } + ], + "index": 0, + "docs": [ + "Create a new crowdloaning campaign for a parachain slot with the given lease period range.", + "", + "This applies a lock to your parachain configuration, ensuring that it cannot be changed", + "by the parachain manager." + ] + }, + { + "name": "contribute", + "fields": [ + { + "name": "index", + "type": 362, + "typeName": "ParaId" + }, + { + "name": "value", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "signature", + "type": 368, + "typeName": "Option" + } + ], + "index": 1, + "docs": [ + "Contribute to a crowd sale. This will transfer some balance over to fund a parachain", + "slot. It will be withdrawable when the crowdloan has ended and the funds are unused." + ] + }, + { + "name": "withdraw", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "index", + "type": 362, + "typeName": "ParaId" + } + ], + "index": 2, + "docs": [ + "Withdraw full balance of a specific contributor.", + "", + "Origin must be signed, but can come from anyone.", + "", + "The fund must be either in, or ready for, retirement. For a fund to be *in* retirement, then the retirement", + "flag must be set. For a fund to be ready for retirement, then:", + "- it must not already be in retirement;", + "- the amount of raised funds must be bigger than the _free_ balance of the account;", + "- and either:", + " - the block number must be at least `end`; or", + " - the current lease period must be greater than the fund's `last_period`.", + "", + "In this case, the fund's retirement flag is set and its `end` is reset to the current block", + "number.", + "", + "- `who`: The account whose contribution should be withdrawn.", + "- `index`: The parachain to whose crowdloan the contribution was made." + ] + }, + { + "name": "refund", + "fields": [ + { + "name": "index", + "type": 362, + "typeName": "ParaId" + } + ], + "index": 3, + "docs": [ + "Automatically refund contributors of an ended crowdloan.", + "Due to weight restrictions, this function may need to be called multiple", + "times to fully refund all users. We will refund `RemoveKeysLimit` users at a time.", + "", + "Origin must be signed, but can come from anyone." + ] + }, + { + "name": "dissolve", + "fields": [ + { + "name": "index", + "type": 362, + "typeName": "ParaId" + } + ], + "index": 4, + "docs": [ + "Remove a fund after the retirement period has ended and all funds have been returned." + ] + }, + { + "name": "edit", + "fields": [ + { + "name": "index", + "type": 362, + "typeName": "ParaId" + }, + { + "name": "cap", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "first_period", + "type": 91, + "typeName": "LeasePeriodOf" + }, + { + "name": "last_period", + "type": 91, + "typeName": "LeasePeriodOf" + }, + { + "name": "end", + "type": 91, + "typeName": "T::BlockNumber" + }, + { + "name": "verifier", + "type": 364, + "typeName": "Option" + } + ], + "index": 5, + "docs": [ + "Edit the configuration for an in-progress crowdloan.", + "", + "Can only be called by Root origin." + ] + }, + { + "name": "add_memo", + "fields": [ + { + "name": "index", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "memo", + "type": 13, + "typeName": "Vec" + } + ], + "index": 6, + "docs": [ + "Add an optional memo to an existing crowdloan contribution.", + "", + "Origin must be Signed, and the user must have contributed to the crowdloan." + ] + }, + { + "name": "poke", + "fields": [ + { + "name": "index", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 7, + "docs": [ + "Poke the fund into `NewRaise`", + "", + "Origin must be Signed, and the fund has non-zero raise." + ] + }, + { + "name": "contribute_all", + "fields": [ + { + "name": "index", + "type": 362, + "typeName": "ParaId" + }, + { + "name": "signature", + "type": 368, + "typeName": "Option" + } + ], + "index": 8, + "docs": [ + "Contribute your entire balance to a crowd sale. This will transfer the entire balance of a user over to fund a parachain", + "slot. It will be withdrawable when the crowdloan has ended and the funds are unused." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 364, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 365 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 365 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 365, + "type": { + "path": [ + "sp_runtime", + "MultiSigner" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ed25519", + "fields": [ + { + "type": 53, + "typeName": "ed25519::Public" + } + ], + "index": 0 + }, + { + "name": "Sr25519", + "fields": [ + { + "type": 56, + "typeName": "sr25519::Public" + } + ], + "index": 1 + }, + { + "name": "Ecdsa", + "fields": [ + { + "type": 366, + "typeName": "ecdsa::Public" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 366, + "type": { + "path": [ + "sp_core", + "ecdsa", + "Public" + ], + "def": { + "composite": { + "fields": [ + { + "type": 367, + "typeName": "[u8; 33]" + } + ] + } + } + } + }, + { + "id": 367, + "type": { + "def": { + "array": { + "len": 33, + "type": 2 + } + } + } + }, + { + "id": 368, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 369 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 369 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 369, + "type": { + "path": [ + "sp_runtime", + "MultiSignature" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ed25519", + "fields": [ + { + "type": 125, + "typeName": "ed25519::Signature" + } + ], + "index": 0 + }, + { + "name": "Sr25519", + "fields": [ + { + "type": 138, + "typeName": "sr25519::Signature" + } + ], + "index": 1 + }, + { + "name": "Ecdsa", + "fields": [ + { + "type": 370, + "typeName": "ecdsa::Signature" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 370, + "type": { + "path": [ + "sp_core", + "ecdsa", + "Signature" + ], + "def": { + "composite": { + "fields": [ + { + "type": 176, + "typeName": "[u8; 65]" + } + ] + } + } + } + }, + { + "id": 371, + "type": { + "path": [ + "pallet_xcm", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "send", + "fields": [ + { + "name": "dest", + "type": 372, + "typeName": "Box" + }, + { + "name": "message", + "type": 380, + "typeName": "Box>" + } + ], + "index": 0 + }, + { + "name": "teleport_assets", + "fields": [ + { + "name": "dest", + "type": 372, + "typeName": "Box" + }, + { + "name": "beneficiary", + "type": 372, + "typeName": "Box" + }, + { + "name": "assets", + "type": 425, + "typeName": "Box" + }, + { + "name": "fee_asset_item", + "type": 4, + "typeName": "u32" + } + ], + "index": 1, + "docs": [ + "Teleport some assets from the local chain to some destination chain.", + "", + "Fee payment on the destination side is made from the asset in the `assets` vector of", + "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,", + "with all fees taken as needed from the asset.", + "", + "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", + "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", + " from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.", + "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be", + " an `AccountId32` value.", + "- `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the", + " `dest` side. May not be empty.", + "- `fee_asset_item`: The index into `assets` of the item which should be used to pay", + " fees." + ] + }, + { + "name": "reserve_transfer_assets", + "fields": [ + { + "name": "dest", + "type": 372, + "typeName": "Box" + }, + { + "name": "beneficiary", + "type": 372, + "typeName": "Box" + }, + { + "name": "assets", + "type": 425, + "typeName": "Box" + }, + { + "name": "fee_asset_item", + "type": 4, + "typeName": "u32" + } + ], + "index": 2, + "docs": [ + "Transfer some assets from the local chain to the sovereign account of a destination", + "chain and forward a notification XCM.", + "", + "Fee payment on the destination side is made from the asset in the `assets` vector of", + "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,", + "with all fees taken as needed from the asset.", + "", + "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", + "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", + " from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.", + "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be", + " an `AccountId32` value.", + "- `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the", + " `dest` side.", + "- `fee_asset_item`: The index into `assets` of the item which should be used to pay", + " fees." + ] + }, + { + "name": "execute", + "fields": [ + { + "name": "message", + "type": 426, + "typeName": "Box::RuntimeCall>>" + }, + { + "name": "max_weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 3, + "docs": [ + "Execute an XCM message from a local, signed, origin.", + "", + "An event is deposited indicating whether `msg` could be executed completely or only", + "partially.", + "", + "No more than `max_weight` will be used in its attempted execution. If this is less than the", + "maximum amount of weight that the message could take to be executed, then no execution", + "attempt will be made.", + "", + "NOTE: A successful return to this does *not* imply that the `msg` was executed successfully", + "to completion; only that *some* of it was executed." + ] + }, + { + "name": "force_xcm_version", + "fields": [ + { + "name": "location", + "type": 164, + "typeName": "Box" + }, + { + "name": "xcm_version", + "type": 4, + "typeName": "XcmVersion" + } + ], + "index": 4, + "docs": [ + "Extoll that a particular destination can be communicated with through a particular", + "version of XCM.", + "", + "- `origin`: Must be Root.", + "- `location`: The destination that is being described.", + "- `xcm_version`: The latest version of XCM that `location` supports." + ] + }, + { + "name": "force_default_xcm_version", + "fields": [ + { + "name": "maybe_xcm_version", + "type": 141, + "typeName": "Option" + } + ], + "index": 5, + "docs": [ + "Set a safe XCM version (the version that XCM should be encoded with if the most recent", + "version a destination can accept is unknown).", + "", + "- `origin`: Must be Root.", + "- `maybe_xcm_version`: The default XCM encoding version, or `None` to disable." + ] + }, + { + "name": "force_subscribe_version_notify", + "fields": [ + { + "name": "location", + "type": 372, + "typeName": "Box" + } + ], + "index": 6, + "docs": [ + "Ask a location to notify us regarding their XCM version and any changes to it.", + "", + "- `origin`: Must be Root.", + "- `location`: The location to which we should subscribe for XCM version notifications." + ] + }, + { + "name": "force_unsubscribe_version_notify", + "fields": [ + { + "name": "location", + "type": 372, + "typeName": "Box" + } + ], + "index": 7, + "docs": [ + "Require that a particular destination should no longer notify us regarding any XCM", + "version changes.", + "", + "- `origin`: Must be Root.", + "- `location`: The location to which we are currently subscribed for XCM version", + " notifications which we no longer desire." + ] + }, + { + "name": "limited_reserve_transfer_assets", + "fields": [ + { + "name": "dest", + "type": 372, + "typeName": "Box" + }, + { + "name": "beneficiary", + "type": 372, + "typeName": "Box" + }, + { + "name": "assets", + "type": 425, + "typeName": "Box" + }, + { + "name": "fee_asset_item", + "type": 4, + "typeName": "u32" + }, + { + "name": "weight_limit", + "type": 424, + "typeName": "WeightLimit" + } + ], + "index": 8, + "docs": [ + "Transfer some assets from the local chain to the sovereign account of a destination", + "chain and forward a notification XCM.", + "", + "Fee payment on the destination side is made from the asset in the `assets` vector of", + "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight", + "is needed than `weight_limit`, then the operation will fail and the assets send may be", + "at risk.", + "", + "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", + "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", + " from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.", + "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be", + " an `AccountId32` value.", + "- `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the", + " `dest` side.", + "- `fee_asset_item`: The index into `assets` of the item which should be used to pay", + " fees.", + "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase." + ] + }, + { + "name": "limited_teleport_assets", + "fields": [ + { + "name": "dest", + "type": 372, + "typeName": "Box" + }, + { + "name": "beneficiary", + "type": 372, + "typeName": "Box" + }, + { + "name": "assets", + "type": 425, + "typeName": "Box" + }, + { + "name": "fee_asset_item", + "type": 4, + "typeName": "u32" + }, + { + "name": "weight_limit", + "type": 424, + "typeName": "WeightLimit" + } + ], + "index": 9, + "docs": [ + "Teleport some assets from the local chain to some destination chain.", + "", + "Fee payment on the destination side is made from the asset in the `assets` vector of", + "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight", + "is needed than `weight_limit`, then the operation will fail and the assets send may be", + "at risk.", + "", + "- `origin`: Must be capable of withdrawing the `assets` and executing XCM.", + "- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send", + " from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.", + "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be", + " an `AccountId32` value.", + "- `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the", + " `dest` side. May not be empty.", + "- `fee_asset_item`: The index into `assets` of the item which should be used to pay", + " fees.", + "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + } + }, + { + "id": 372, + "type": { + "path": [ + "xcm", + "VersionedMultiLocation" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V2", + "fields": [ + { + "type": 373, + "typeName": "v2::MultiLocation" + } + ], + "index": 1 + }, + { + "name": "V3", + "fields": [ + { + "type": 164, + "typeName": "v3::MultiLocation" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 373, + "type": { + "path": [ + "xcm", + "v2", + "multilocation", + "MultiLocation" + ], + "def": { + "composite": { + "fields": [ + { + "name": "parents", + "type": 2, + "typeName": "u8" + }, + { + "name": "interior", + "type": 374, + "typeName": "Junctions" + } + ] + } + } + } + }, + { + "id": 374, + "type": { + "path": [ + "xcm", + "v2", + "multilocation", + "Junctions" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Here", + "index": 0 + }, + { + "name": "X1", + "fields": [ + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 1 + }, + { + "name": "X2", + "fields": [ + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 2 + }, + { + "name": "X3", + "fields": [ + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 3 + }, + { + "name": "X4", + "fields": [ + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 4 + }, + { + "name": "X5", + "fields": [ + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 5 + }, + { + "name": "X6", + "fields": [ + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 6 + }, + { + "name": "X7", + "fields": [ + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 7 + }, + { + "name": "X8", + "fields": [ + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + }, + { + "type": 375, + "typeName": "Junction" + } + ], + "index": 8 + } + ] + } + } + } + }, + { + "id": 375, + "type": { + "path": [ + "xcm", + "v2", + "junction", + "Junction" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Parachain", + "fields": [ + { + "type": 91, + "typeName": "u32" + } + ], + "index": 0 + }, + { + "name": "AccountId32", + "fields": [ + { + "name": "network", + "type": 376, + "typeName": "NetworkId" + }, + { + "name": "id", + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 1 + }, + { + "name": "AccountIndex64", + "fields": [ + { + "name": "network", + "type": 376, + "typeName": "NetworkId" + }, + { + "name": "index", + "type": 10, + "typeName": "u64" + } + ], + "index": 2 + }, + { + "name": "AccountKey20", + "fields": [ + { + "name": "network", + "type": 376, + "typeName": "NetworkId" + }, + { + "name": "key", + "type": 102, + "typeName": "[u8; 20]" + } + ], + "index": 3 + }, + { + "name": "PalletInstance", + "fields": [ + { + "type": 2, + "typeName": "u8" + } + ], + "index": 4 + }, + { + "name": "GeneralIndex", + "fields": [ + { + "type": 60, + "typeName": "u128" + } + ], + "index": 5 + }, + { + "name": "GeneralKey", + "fields": [ + { + "type": 377, + "typeName": "WeakBoundedVec>" + } + ], + "index": 6 + }, + { + "name": "OnlyChild", + "index": 7 + }, + { + "name": "Plurality", + "fields": [ + { + "name": "id", + "type": 378, + "typeName": "BodyId" + }, + { + "name": "part", + "type": 379, + "typeName": "BodyPart" + } + ], + "index": 8 + } + ] + } + } + } + }, + { + "id": 376, + "type": { + "path": [ + "xcm", + "v2", + "NetworkId" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Any", + "index": 0 + }, + { + "name": "Named", + "fields": [ + { + "type": 377, + "typeName": "WeakBoundedVec>" + } + ], + "index": 1 + }, + { + "name": "Polkadot", + "index": 2 + }, + { + "name": "Kusama", + "index": 3 + } + ] + } + } + } + }, + { + "id": 377, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 378, + "type": { + "path": [ + "xcm", + "v2", + "BodyId" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unit", + "index": 0 + }, + { + "name": "Named", + "fields": [ + { + "type": 377, + "typeName": "WeakBoundedVec>" + } + ], + "index": 1 + }, + { + "name": "Index", + "fields": [ + { + "type": 91, + "typeName": "u32" + } + ], + "index": 2 + }, + { + "name": "Executive", + "index": 3 + }, + { + "name": "Technical", + "index": 4 + }, + { + "name": "Legislative", + "index": 5 + }, + { + "name": "Judicial", + "index": 6 + }, + { + "name": "Defense", + "index": 7 + }, + { + "name": "Administration", + "index": 8 + }, + { + "name": "Treasury", + "index": 9 + } + ] + } + } + } + }, + { + "id": 379, + "type": { + "path": [ + "xcm", + "v2", + "BodyPart" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Voice", + "index": 0 + }, + { + "name": "Members", + "fields": [ + { + "name": "count", + "type": 91, + "typeName": "u32" + } + ], + "index": 1 + }, + { + "name": "Fraction", + "fields": [ + { + "name": "nom", + "type": 91, + "typeName": "u32" + }, + { + "name": "denom", + "type": 91, + "typeName": "u32" + } + ], + "index": 2 + }, + { + "name": "AtLeastProportion", + "fields": [ + { + "name": "nom", + "type": 91, + "typeName": "u32" + }, + { + "name": "denom", + "type": 91, + "typeName": "u32" + } + ], + "index": 3 + }, + { + "name": "MoreThanProportion", + "fields": [ + { + "name": "nom", + "type": 91, + "typeName": "u32" + }, + { + "name": "denom", + "type": 91, + "typeName": "u32" + } + ], + "index": 4 + } + ] + } + } + } + }, + { + "id": 380, + "type": { + "path": [ + "xcm", + "VersionedXcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "V2", + "fields": [ + { + "type": 381, + "typeName": "v2::Xcm" + } + ], + "index": 2 + }, + { + "name": "V3", + "fields": [ + { + "type": 400, + "typeName": "v3::Xcm" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 381, + "type": { + "path": [ + "xcm", + "v2", + "Xcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 382, + "typeName": "Vec>" + } + ] + } + } + } + }, + { + "id": 382, + "type": { + "def": { + "sequence": { + "type": 383 + } + } + } + }, + { + "id": 383, + "type": { + "path": [ + "xcm", + "v2", + "Instruction" + ], + "params": [ + { + "name": "RuntimeCall", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 0 + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 1 + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 2 + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "response", + "type": 390, + "typeName": "Response" + }, + { + "name": "max_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 3 + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 384, + "typeName": "MultiAssets" + }, + { + "name": "beneficiary", + "type": 373, + "typeName": "MultiLocation" + } + ], + "index": 4 + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 384, + "typeName": "MultiAssets" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 5 + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_type", + "type": 394, + "typeName": "OriginKind" + }, + { + "name": "require_weight_at_most", + "type": 10, + "typeName": "u64" + }, + { + "name": "call", + "type": 395, + "typeName": "DoubleEncoded" + } + ], + "index": 6 + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_message_size", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_capacity", + "type": 91, + "typeName": "u32" + } + ], + "index": 7 + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 8 + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 91, + "typeName": "u32" + }, + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 9 + }, + { + "name": "ClearOrigin", + "index": 10 + }, + { + "name": "DescendOrigin", + "fields": [ + { + "type": 374, + "typeName": "InteriorMultiLocation" + } + ], + "index": 11 + }, + { + "name": "ReportError", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "max_response_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 12 + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "max_assets", + "type": 91, + "typeName": "u32" + }, + { + "name": "beneficiary", + "type": 373, + "typeName": "MultiLocation" + } + ], + "index": 13 + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "max_assets", + "type": 91, + "typeName": "u32" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 14 + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "receive", + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 15 + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "reserve", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 16 + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 17 + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "max_response_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 18 + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 386, + "typeName": "MultiAsset" + }, + { + "name": "weight_limit", + "type": 399, + "typeName": "WeightLimit" + } + ], + "index": 19 + }, + { + "name": "RefundSurplus", + "index": 20 + }, + { + "name": "SetErrorHandler", + "fields": [ + { + "type": 381, + "typeName": "Xcm" + } + ], + "index": 21 + }, + { + "name": "SetAppendix", + "fields": [ + { + "type": 381, + "typeName": "Xcm" + } + ], + "index": 22 + }, + { + "name": "ClearError", + "index": 23 + }, + { + "name": "ClaimAsset", + "fields": [ + { + "name": "assets", + "type": 384, + "typeName": "MultiAssets" + }, + { + "name": "ticket", + "type": 373, + "typeName": "MultiLocation" + } + ], + "index": 24 + }, + { + "name": "Trap", + "fields": [ + { + "type": 10, + "typeName": "u64" + } + ], + "index": 25 + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "max_response_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 26 + }, + { + "name": "UnsubscribeVersion", + "index": 27 + } + ] + } + } + } + }, + { + "id": 384, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "MultiAssets" + ], + "def": { + "composite": { + "fields": [ + { + "type": 385, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 385, + "type": { + "def": { + "sequence": { + "type": 386 + } + } + } + }, + { + "id": 386, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "MultiAsset" + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 387, + "typeName": "AssetId" + }, + { + "name": "fun", + "type": 388, + "typeName": "Fungibility" + } + ] + } + } + } + }, + { + "id": 387, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "AssetId" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Concrete", + "fields": [ + { + "type": 373, + "typeName": "MultiLocation" + } + ], + "index": 0 + }, + { + "name": "Abstract", + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 388, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "Fungibility" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Fungible", + "fields": [ + { + "type": 60, + "typeName": "u128" + } + ], + "index": 0 + }, + { + "name": "NonFungible", + "fields": [ + { + "type": 389, + "typeName": "AssetInstance" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 389, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "AssetInstance" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Undefined", + "index": 0 + }, + { + "name": "Index", + "fields": [ + { + "type": 60, + "typeName": "u128" + } + ], + "index": 1 + }, + { + "name": "Array4", + "fields": [ + { + "type": 17, + "typeName": "[u8; 4]" + } + ], + "index": 2 + }, + { + "name": "Array8", + "fields": [ + { + "type": 198, + "typeName": "[u8; 8]" + } + ], + "index": 3 + }, + { + "name": "Array16", + "fields": [ + { + "type": 47, + "typeName": "[u8; 16]" + } + ], + "index": 4 + }, + { + "name": "Array32", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 5 + }, + { + "name": "Blob", + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ], + "index": 6 + } + ] + } + } + } + }, + { + "id": 390, + "type": { + "path": [ + "xcm", + "v2", + "Response" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Null", + "index": 0 + }, + { + "name": "Assets", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 1 + }, + { + "name": "ExecutionResult", + "fields": [ + { + "type": 391, + "typeName": "Option<(u32, Error)>" + } + ], + "index": 2 + }, + { + "name": "Version", + "fields": [ + { + "type": 4, + "typeName": "super::Version" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 391, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 392 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 392 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 392, + "type": { + "def": { + "tuple": [ + 4, + 393 + ] + } + } + }, + { + "id": 393, + "type": { + "path": [ + "xcm", + "v2", + "traits", + "Error" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Overflow", + "index": 0 + }, + { + "name": "Unimplemented", + "index": 1 + }, + { + "name": "UntrustedReserveLocation", + "index": 2 + }, + { + "name": "UntrustedTeleportLocation", + "index": 3 + }, + { + "name": "MultiLocationFull", + "index": 4 + }, + { + "name": "MultiLocationNotInvertible", + "index": 5 + }, + { + "name": "BadOrigin", + "index": 6 + }, + { + "name": "InvalidLocation", + "index": 7 + }, + { + "name": "AssetNotFound", + "index": 8 + }, + { + "name": "FailedToTransactAsset", + "index": 9 + }, + { + "name": "NotWithdrawable", + "index": 10 + }, + { + "name": "LocationCannotHold", + "index": 11 + }, + { + "name": "ExceedsMaxMessageSize", + "index": 12 + }, + { + "name": "DestinationUnsupported", + "index": 13 + }, + { + "name": "Transport", + "index": 14 + }, + { + "name": "Unroutable", + "index": 15 + }, + { + "name": "UnknownClaim", + "index": 16 + }, + { + "name": "FailedToDecode", + "index": 17 + }, + { + "name": "MaxWeightInvalid", + "index": 18 + }, + { + "name": "NotHoldingFees", + "index": 19 + }, + { + "name": "TooExpensive", + "index": 20 + }, + { + "name": "Trap", + "fields": [ + { + "type": 11, + "typeName": "u64" + } + ], + "index": 21 + }, + { + "name": "UnhandledXcmVersion", + "index": 22 + }, + { + "name": "WeightLimitReached", + "fields": [ + { + "type": 11, + "typeName": "Weight" + } + ], + "index": 23 + }, + { + "name": "Barrier", + "index": 24 + }, + { + "name": "WeightNotComputable", + "index": 25 + } + ] + } + } + } + }, + { + "id": 394, + "type": { + "path": [ + "xcm", + "v2", + "OriginKind" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Native", + "index": 0 + }, + { + "name": "SovereignAccount", + "index": 1 + }, + { + "name": "Superuser", + "index": 2 + }, + { + "name": "Xcm", + "index": 3 + } + ] + } + } + } + }, + { + "id": 395, + "type": { + "path": [ + "xcm", + "double_encoded", + "DoubleEncoded" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "encoded", + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 396, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "MultiAssetFilter" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Definite", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 0 + }, + { + "name": "Wild", + "fields": [ + { + "type": 397, + "typeName": "WildMultiAsset" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 397, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "WildMultiAsset" + ], + "def": { + "variant": { + "variants": [ + { + "name": "All", + "index": 0 + }, + { + "name": "AllOf", + "fields": [ + { + "name": "id", + "type": 387, + "typeName": "AssetId" + }, + { + "name": "fun", + "type": 398, + "typeName": "WildFungibility" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 398, + "type": { + "path": [ + "xcm", + "v2", + "multiasset", + "WildFungibility" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Fungible", + "index": 0 + }, + { + "name": "NonFungible", + "index": 1 + } + ] + } + } + } + }, + { + "id": 399, + "type": { + "path": [ + "xcm", + "v2", + "WeightLimit" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unlimited", + "index": 0 + }, + { + "name": "Limited", + "fields": [ + { + "type": 10, + "typeName": "u64" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 400, + "type": { + "path": [ + "xcm", + "v3", + "Xcm" + ], + "params": [ + { + "name": "Call", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 401, + "typeName": "Vec>" + } + ] + } + } + } + }, + { + "id": 401, + "type": { + "def": { + "sequence": { + "type": 402 + } + } + } + }, + { + "id": 402, + "type": { + "path": [ + "xcm", + "v3", + "Instruction" + ], + "params": [ + { + "name": "Call", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 0 + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 1 + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 2 + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "response", + "type": 409, + "typeName": "Response" + }, + { + "name": "max_weight", + "type": 9, + "typeName": "Weight" + }, + { + "name": "querier", + "type": 419, + "typeName": "Option" + } + ], + "index": 3 + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "beneficiary", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 4 + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "dest", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 5 + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_kind", + "type": 394, + "typeName": "OriginKind" + }, + { + "name": "require_weight_at_most", + "type": 9, + "typeName": "Weight" + }, + { + "name": "call", + "type": 395, + "typeName": "DoubleEncoded" + } + ], + "index": 6 + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_message_size", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_capacity", + "type": 91, + "typeName": "u32" + } + ], + "index": 7 + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 8 + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 91, + "typeName": "u32" + }, + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 9 + }, + { + "name": "ClearOrigin", + "index": 10 + }, + { + "name": "DescendOrigin", + "fields": [ + { + "type": 165, + "typeName": "InteriorMultiLocation" + } + ], + "index": 11 + }, + { + "name": "ReportError", + "fields": [ + { + "type": 420, + "typeName": "QueryResponseInfo" + } + ], + "index": 12 + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "beneficiary", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 13 + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "dest", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 14 + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "want", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "maximal", + "type": 44, + "typeName": "bool" + } + ], + "index": 15 + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "reserve", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 16 + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "dest", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 17 + }, + { + "name": "ReportHolding", + "fields": [ + { + "name": "response_info", + "type": 420, + "typeName": "QueryResponseInfo" + }, + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + } + ], + "index": 18 + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "weight_limit", + "type": 424, + "typeName": "WeightLimit" + } + ], + "index": 19 + }, + { + "name": "RefundSurplus", + "index": 20 + }, + { + "name": "SetErrorHandler", + "fields": [ + { + "type": 400, + "typeName": "Xcm" + } + ], + "index": 21 + }, + { + "name": "SetAppendix", + "fields": [ + { + "type": 400, + "typeName": "Xcm" + } + ], + "index": 22 + }, + { + "name": "ClearError", + "index": 23 + }, + { + "name": "ClaimAsset", + "fields": [ + { + "name": "assets", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "ticket", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 24 + }, + { + "name": "Trap", + "fields": [ + { + "type": 10, + "typeName": "u64" + } + ], + "index": 25 + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 26 + }, + { + "name": "UnsubscribeVersion", + "index": 27 + }, + { + "name": "BurnAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 28 + }, + { + "name": "ExpectAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 29 + }, + { + "name": "ExpectOrigin", + "fields": [ + { + "type": 419, + "typeName": "Option" + } + ], + "index": 30 + }, + { + "name": "ExpectError", + "fields": [ + { + "type": 410, + "typeName": "Option<(u32, Error)>" + } + ], + "index": 31 + }, + { + "name": "ExpectTransactStatus", + "fields": [ + { + "type": 417, + "typeName": "MaybeErrorCode" + } + ], + "index": 32 + }, + { + "name": "QueryPallet", + "fields": [ + { + "name": "module_name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "response_info", + "type": 420, + "typeName": "QueryResponseInfo" + } + ], + "index": 33 + }, + { + "name": "ExpectPallet", + "fields": [ + { + "name": "index", + "type": 91, + "typeName": "u32" + }, + { + "name": "name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "module_name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "crate_major", + "type": 91, + "typeName": "u32" + }, + { + "name": "min_crate_minor", + "type": 91, + "typeName": "u32" + } + ], + "index": 34 + }, + { + "name": "ReportTransactStatus", + "fields": [ + { + "type": 420, + "typeName": "QueryResponseInfo" + } + ], + "index": 35 + }, + { + "name": "ClearTransactStatus", + "index": 36 + }, + { + "name": "UniversalOrigin", + "fields": [ + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 37 + }, + { + "name": "ExportMessage", + "fields": [ + { + "name": "network", + "type": 168, + "typeName": "NetworkId" + }, + { + "name": "destination", + "type": 165, + "typeName": "InteriorMultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 38 + }, + { + "name": "LockAsset", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "unlocker", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 39 + }, + { + "name": "UnlockAsset", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "target", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 40 + }, + { + "name": "NoteUnlockable", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "owner", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 41 + }, + { + "name": "RequestUnlock", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "locker", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 42 + }, + { + "name": "SetFeesMode", + "fields": [ + { + "name": "jit_withdraw", + "type": 44, + "typeName": "bool" + } + ], + "index": 43 + }, + { + "name": "SetTopic", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 44 + }, + { + "name": "ClearTopic", + "index": 45 + }, + { + "name": "AliasOrigin", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 46 + }, + { + "name": "UnpaidExecution", + "fields": [ + { + "name": "weight_limit", + "type": 424, + "typeName": "WeightLimit" + }, + { + "name": "check_origin", + "type": 419, + "typeName": "Option" + } + ], + "index": 47 + } + ] + } + } + } + }, + { + "id": 403, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "MultiAssets" + ], + "def": { + "composite": { + "fields": [ + { + "type": 404, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 404, + "type": { + "def": { + "sequence": { + "type": 405 + } + } + } + }, + { + "id": 405, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "MultiAsset" + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 406, + "typeName": "AssetId" + }, + { + "name": "fun", + "type": 407, + "typeName": "Fungibility" + } + ] + } + } + } + }, + { + "id": 406, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "AssetId" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Concrete", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 0 + }, + { + "name": "Abstract", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 407, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "Fungibility" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Fungible", + "fields": [ + { + "type": 60, + "typeName": "u128" + } + ], + "index": 0 + }, + { + "name": "NonFungible", + "fields": [ + { + "type": 408, + "typeName": "AssetInstance" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 408, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "AssetInstance" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Undefined", + "index": 0 + }, + { + "name": "Index", + "fields": [ + { + "type": 60, + "typeName": "u128" + } + ], + "index": 1 + }, + { + "name": "Array4", + "fields": [ + { + "type": 17, + "typeName": "[u8; 4]" + } + ], + "index": 2 + }, + { + "name": "Array8", + "fields": [ + { + "type": 198, + "typeName": "[u8; 8]" + } + ], + "index": 3 + }, + { + "name": "Array16", + "fields": [ + { + "type": 47, + "typeName": "[u8; 16]" + } + ], + "index": 4 + }, + { + "name": "Array32", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 5 + } + ] + } + } + } + }, + { + "id": 409, + "type": { + "path": [ + "xcm", + "v3", + "Response" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Null", + "index": 0 + }, + { + "name": "Assets", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 1 + }, + { + "name": "ExecutionResult", + "fields": [ + { + "type": 410, + "typeName": "Option<(u32, Error)>" + } + ], + "index": 2 + }, + { + "name": "Version", + "fields": [ + { + "type": 4, + "typeName": "super::Version" + } + ], + "index": 3 + }, + { + "name": "PalletsInfo", + "fields": [ + { + "type": 413, + "typeName": "BoundedVec" + } + ], + "index": 4 + }, + { + "name": "DispatchResult", + "fields": [ + { + "type": 417, + "typeName": "MaybeErrorCode" + } + ], + "index": 5 + } + ] + } + } + } + }, + { + "id": 410, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 411 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 411 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 411, + "type": { + "def": { + "tuple": [ + 4, + 412 + ] + } + } + }, + { + "id": 412, + "type": { + "path": [ + "xcm", + "v3", + "traits", + "Error" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Overflow", + "index": 0 + }, + { + "name": "Unimplemented", + "index": 1 + }, + { + "name": "UntrustedReserveLocation", + "index": 2 + }, + { + "name": "UntrustedTeleportLocation", + "index": 3 + }, + { + "name": "LocationFull", + "index": 4 + }, + { + "name": "LocationNotInvertible", + "index": 5 + }, + { + "name": "BadOrigin", + "index": 6 + }, + { + "name": "InvalidLocation", + "index": 7 + }, + { + "name": "AssetNotFound", + "index": 8 + }, + { + "name": "FailedToTransactAsset", + "index": 9 + }, + { + "name": "NotWithdrawable", + "index": 10 + }, + { + "name": "LocationCannotHold", + "index": 11 + }, + { + "name": "ExceedsMaxMessageSize", + "index": 12 + }, + { + "name": "DestinationUnsupported", + "index": 13 + }, + { + "name": "Transport", + "index": 14 + }, + { + "name": "Unroutable", + "index": 15 + }, + { + "name": "UnknownClaim", + "index": 16 + }, + { + "name": "FailedToDecode", + "index": 17 + }, + { + "name": "MaxWeightInvalid", + "index": 18 + }, + { + "name": "NotHoldingFees", + "index": 19 + }, + { + "name": "TooExpensive", + "index": 20 + }, + { + "name": "Trap", + "fields": [ + { + "type": 11, + "typeName": "u64" + } + ], + "index": 21 + }, + { + "name": "ExpectationFalse", + "index": 22 + }, + { + "name": "PalletNotFound", + "index": 23 + }, + { + "name": "NameMismatch", + "index": 24 + }, + { + "name": "VersionIncompatible", + "index": 25 + }, + { + "name": "HoldingWouldOverflow", + "index": 26 + }, + { + "name": "ExportError", + "index": 27 + }, + { + "name": "ReanchorFailed", + "index": 28 + }, + { + "name": "NoDeal", + "index": 29 + }, + { + "name": "FeesNotMet", + "index": 30 + }, + { + "name": "LockError", + "index": 31 + }, + { + "name": "NoPermission", + "index": 32 + }, + { + "name": "Unanchored", + "index": 33 + }, + { + "name": "NotDepositable", + "index": 34 + }, + { + "name": "UnhandledXcmVersion", + "index": 35 + }, + { + "name": "WeightLimitReached", + "fields": [ + { + "type": 9, + "typeName": "Weight" + } + ], + "index": 36 + }, + { + "name": "Barrier", + "index": 37 + }, + { + "name": "WeightNotComputable", + "index": 38 + }, + { + "name": "ExceedsStackLimit", + "index": 39 + } + ] + } + } + } + }, + { + "id": 413, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 414 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 416, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 414, + "type": { + "path": [ + "xcm", + "v3", + "PalletInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "index", + "type": 91, + "typeName": "u32" + }, + { + "name": "name", + "type": 415, + "typeName": "BoundedVec" + }, + { + "name": "module_name", + "type": 415, + "typeName": "BoundedVec" + }, + { + "name": "major", + "type": 91, + "typeName": "u32" + }, + { + "name": "minor", + "type": 91, + "typeName": "u32" + }, + { + "name": "patch", + "type": 91, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 415, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 416, + "type": { + "def": { + "sequence": { + "type": 414 + } + } + } + }, + { + "id": 417, + "type": { + "path": [ + "xcm", + "v3", + "MaybeErrorCode" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Success", + "index": 0 + }, + { + "name": "Error", + "fields": [ + { + "type": 418, + "typeName": "BoundedVec" + } + ], + "index": 1 + }, + { + "name": "TruncatedError", + "fields": [ + { + "type": 418, + "typeName": "BoundedVec" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 418, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 419, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 164 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 164 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 420, + "type": { + "path": [ + "xcm", + "v3", + "QueryResponseInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "destination", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "max_weight", + "type": 9, + "typeName": "Weight" + } + ] + } + } + } + }, + { + "id": 421, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "MultiAssetFilter" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Definite", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 0 + }, + { + "name": "Wild", + "fields": [ + { + "type": 422, + "typeName": "WildMultiAsset" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 422, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "WildMultiAsset" + ], + "def": { + "variant": { + "variants": [ + { + "name": "All", + "index": 0 + }, + { + "name": "AllOf", + "fields": [ + { + "name": "id", + "type": 406, + "typeName": "AssetId" + }, + { + "name": "fun", + "type": 423, + "typeName": "WildFungibility" + } + ], + "index": 1 + }, + { + "name": "AllCounted", + "fields": [ + { + "type": 91, + "typeName": "u32" + } + ], + "index": 2 + }, + { + "name": "AllOfCounted", + "fields": [ + { + "name": "id", + "type": 406, + "typeName": "AssetId" + }, + { + "name": "fun", + "type": 423, + "typeName": "WildFungibility" + }, + { + "name": "count", + "type": 91, + "typeName": "u32" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 423, + "type": { + "path": [ + "xcm", + "v3", + "multiasset", + "WildFungibility" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Fungible", + "index": 0 + }, + { + "name": "NonFungible", + "index": 1 + } + ] + } + } + } + }, + { + "id": 424, + "type": { + "path": [ + "xcm", + "v3", + "WeightLimit" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unlimited", + "index": 0 + }, + { + "name": "Limited", + "fields": [ + { + "type": 9, + "typeName": "Weight" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 425, + "type": { + "path": [ + "xcm", + "VersionedMultiAssets" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V2", + "fields": [ + { + "type": 384, + "typeName": "v2::MultiAssets" + } + ], + "index": 1 + }, + { + "name": "V3", + "fields": [ + { + "type": 403, + "typeName": "v3::MultiAssets" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 426, + "type": { + "path": [ + "xcm", + "VersionedXcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "V2", + "fields": [ + { + "type": 427, + "typeName": "v2::Xcm" + } + ], + "index": 2 + }, + { + "name": "V3", + "fields": [ + { + "type": 431, + "typeName": "v3::Xcm" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 427, + "type": { + "path": [ + "xcm", + "v2", + "Xcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 428, + "typeName": "Vec>" + } + ] + } + } + } + }, + { + "id": 428, + "type": { + "def": { + "sequence": { + "type": 429 + } + } + } + }, + { + "id": 429, + "type": { + "path": [ + "xcm", + "v2", + "Instruction" + ], + "params": [ + { + "name": "RuntimeCall", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 0 + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 1 + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 2 + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "response", + "type": 390, + "typeName": "Response" + }, + { + "name": "max_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 3 + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 384, + "typeName": "MultiAssets" + }, + { + "name": "beneficiary", + "type": 373, + "typeName": "MultiLocation" + } + ], + "index": 4 + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 384, + "typeName": "MultiAssets" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 5 + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_type", + "type": 394, + "typeName": "OriginKind" + }, + { + "name": "require_weight_at_most", + "type": 10, + "typeName": "u64" + }, + { + "name": "call", + "type": 430, + "typeName": "DoubleEncoded" + } + ], + "index": 6 + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_message_size", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_capacity", + "type": 91, + "typeName": "u32" + } + ], + "index": 7 + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 8 + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 91, + "typeName": "u32" + }, + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 9 + }, + { + "name": "ClearOrigin", + "index": 10 + }, + { + "name": "DescendOrigin", + "fields": [ + { + "type": 374, + "typeName": "InteriorMultiLocation" + } + ], + "index": 11 + }, + { + "name": "ReportError", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "max_response_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 12 + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "max_assets", + "type": 91, + "typeName": "u32" + }, + { + "name": "beneficiary", + "type": 373, + "typeName": "MultiLocation" + } + ], + "index": 13 + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "max_assets", + "type": 91, + "typeName": "u32" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 14 + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "receive", + "type": 384, + "typeName": "MultiAssets" + } + ], + "index": 15 + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "reserve", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 16 + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 381, + "typeName": "Xcm<()>" + } + ], + "index": 17 + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "dest", + "type": 373, + "typeName": "MultiLocation" + }, + { + "name": "assets", + "type": 396, + "typeName": "MultiAssetFilter" + }, + { + "name": "max_response_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 18 + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 386, + "typeName": "MultiAsset" + }, + { + "name": "weight_limit", + "type": 399, + "typeName": "WeightLimit" + } + ], + "index": 19 + }, + { + "name": "RefundSurplus", + "index": 20 + }, + { + "name": "SetErrorHandler", + "fields": [ + { + "type": 427, + "typeName": "Xcm" + } + ], + "index": 21 + }, + { + "name": "SetAppendix", + "fields": [ + { + "type": 427, + "typeName": "Xcm" + } + ], + "index": 22 + }, + { + "name": "ClearError", + "index": 23 + }, + { + "name": "ClaimAsset", + "fields": [ + { + "name": "assets", + "type": 384, + "typeName": "MultiAssets" + }, + { + "name": "ticket", + "type": 373, + "typeName": "MultiLocation" + } + ], + "index": 24 + }, + { + "name": "Trap", + "fields": [ + { + "type": 10, + "typeName": "u64" + } + ], + "index": 25 + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "max_response_weight", + "type": 10, + "typeName": "u64" + } + ], + "index": 26 + }, + { + "name": "UnsubscribeVersion", + "index": 27 + } + ] + } + } + } + }, + { + "id": 430, + "type": { + "path": [ + "xcm", + "double_encoded", + "DoubleEncoded" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "encoded", + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 431, + "type": { + "path": [ + "xcm", + "v3", + "Xcm" + ], + "params": [ + { + "name": "Call", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 432, + "typeName": "Vec>" + } + ] + } + } + } + }, + { + "id": 432, + "type": { + "def": { + "sequence": { + "type": 433 + } + } + } + }, + { + "id": 433, + "type": { + "path": [ + "xcm", + "v3", + "Instruction" + ], + "params": [ + { + "name": "Call", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 0 + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 1 + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 2 + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "response", + "type": 409, + "typeName": "Response" + }, + { + "name": "max_weight", + "type": 9, + "typeName": "Weight" + }, + { + "name": "querier", + "type": 419, + "typeName": "Option" + } + ], + "index": 3 + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "beneficiary", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 4 + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "dest", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 5 + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_kind", + "type": 394, + "typeName": "OriginKind" + }, + { + "name": "require_weight_at_most", + "type": 9, + "typeName": "Weight" + }, + { + "name": "call", + "type": 430, + "typeName": "DoubleEncoded" + } + ], + "index": 6 + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_message_size", + "type": 91, + "typeName": "u32" + }, + { + "name": "max_capacity", + "type": 91, + "typeName": "u32" + } + ], + "index": 7 + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 8 + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 91, + "typeName": "u32" + }, + { + "name": "sender", + "type": 91, + "typeName": "u32" + }, + { + "name": "recipient", + "type": 91, + "typeName": "u32" + } + ], + "index": 9 + }, + { + "name": "ClearOrigin", + "index": 10 + }, + { + "name": "DescendOrigin", + "fields": [ + { + "type": 165, + "typeName": "InteriorMultiLocation" + } + ], + "index": 11 + }, + { + "name": "ReportError", + "fields": [ + { + "type": 420, + "typeName": "QueryResponseInfo" + } + ], + "index": 12 + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "beneficiary", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 13 + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "dest", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 14 + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "want", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "maximal", + "type": 44, + "typeName": "bool" + } + ], + "index": 15 + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "reserve", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 16 + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + }, + { + "name": "dest", + "type": 164, + "typeName": "MultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 17 + }, + { + "name": "ReportHolding", + "fields": [ + { + "name": "response_info", + "type": 420, + "typeName": "QueryResponseInfo" + }, + { + "name": "assets", + "type": 421, + "typeName": "MultiAssetFilter" + } + ], + "index": 18 + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "weight_limit", + "type": 424, + "typeName": "WeightLimit" + } + ], + "index": 19 + }, + { + "name": "RefundSurplus", + "index": 20 + }, + { + "name": "SetErrorHandler", + "fields": [ + { + "type": 431, + "typeName": "Xcm" + } + ], + "index": 21 + }, + { + "name": "SetAppendix", + "fields": [ + { + "type": 431, + "typeName": "Xcm" + } + ], + "index": 22 + }, + { + "name": "ClearError", + "index": 23 + }, + { + "name": "ClaimAsset", + "fields": [ + { + "name": "assets", + "type": 403, + "typeName": "MultiAssets" + }, + { + "name": "ticket", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 24 + }, + { + "name": "Trap", + "fields": [ + { + "type": 10, + "typeName": "u64" + } + ], + "index": 25 + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 10, + "typeName": "QueryId" + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "Weight" + } + ], + "index": 26 + }, + { + "name": "UnsubscribeVersion", + "index": 27 + }, + { + "name": "BurnAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 28 + }, + { + "name": "ExpectAsset", + "fields": [ + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 29 + }, + { + "name": "ExpectOrigin", + "fields": [ + { + "type": 419, + "typeName": "Option" + } + ], + "index": 30 + }, + { + "name": "ExpectError", + "fields": [ + { + "type": 410, + "typeName": "Option<(u32, Error)>" + } + ], + "index": 31 + }, + { + "name": "ExpectTransactStatus", + "fields": [ + { + "type": 417, + "typeName": "MaybeErrorCode" + } + ], + "index": 32 + }, + { + "name": "QueryPallet", + "fields": [ + { + "name": "module_name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "response_info", + "type": 420, + "typeName": "QueryResponseInfo" + } + ], + "index": 33 + }, + { + "name": "ExpectPallet", + "fields": [ + { + "name": "index", + "type": 91, + "typeName": "u32" + }, + { + "name": "name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "module_name", + "type": 13, + "typeName": "Vec" + }, + { + "name": "crate_major", + "type": 91, + "typeName": "u32" + }, + { + "name": "min_crate_minor", + "type": 91, + "typeName": "u32" + } + ], + "index": 34 + }, + { + "name": "ReportTransactStatus", + "fields": [ + { + "type": 420, + "typeName": "QueryResponseInfo" + } + ], + "index": 35 + }, + { + "name": "ClearTransactStatus", + "index": 36 + }, + { + "name": "UniversalOrigin", + "fields": [ + { + "type": 166, + "typeName": "Junction" + } + ], + "index": 37 + }, + { + "name": "ExportMessage", + "fields": [ + { + "name": "network", + "type": 168, + "typeName": "NetworkId" + }, + { + "name": "destination", + "type": 165, + "typeName": "InteriorMultiLocation" + }, + { + "name": "xcm", + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 38 + }, + { + "name": "LockAsset", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "unlocker", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 39 + }, + { + "name": "UnlockAsset", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "target", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 40 + }, + { + "name": "NoteUnlockable", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "owner", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 41 + }, + { + "name": "RequestUnlock", + "fields": [ + { + "name": "asset", + "type": 405, + "typeName": "MultiAsset" + }, + { + "name": "locker", + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 42 + }, + { + "name": "SetFeesMode", + "fields": [ + { + "name": "jit_withdraw", + "type": 44, + "typeName": "bool" + } + ], + "index": 43 + }, + { + "name": "SetTopic", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]" + } + ], + "index": 44 + }, + { + "name": "ClearTopic", + "index": 45 + }, + { + "name": "AliasOrigin", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + } + ], + "index": 46 + }, + { + "name": "UnpaidExecution", + "fields": [ + { + "name": "weight_limit", + "type": 424, + "typeName": "WeightLimit" + }, + { + "name": "check_origin", + "type": 419, + "typeName": "Option" + } + ], + "index": 47 + } + ] + } + } + } + }, + { + "id": 434, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 435, + "type": { + "path": [ + "pallet_conviction_voting", + "types", + "Tally" + ], + "params": [ + { + "name": "Votes", + "type": 6 + }, + { + "name": "Total", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "ayes", + "type": 6, + "typeName": "Votes" + }, + { + "name": "nays", + "type": 6, + "typeName": "Votes" + }, + { + "name": "support", + "type": 6, + "typeName": "Votes" + } + ] + } + } + } + }, + { + "id": 436, + "type": { + "path": [ + "pallet_whitelist", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "CallWhitelisted", + "fields": [ + { + "name": "call_hash", + "type": 12, + "typeName": "PreimageHash" + } + ], + "index": 0 + }, + { + "name": "WhitelistedCallRemoved", + "fields": [ + { + "name": "call_hash", + "type": 12, + "typeName": "PreimageHash" + } + ], + "index": 1 + }, + { + "name": "WhitelistedCallDispatched", + "fields": [ + { + "name": "call_hash", + "type": 12, + "typeName": "PreimageHash" + }, + { + "name": "result", + "type": 437, + "typeName": "DispatchResultWithPostInfo" + } + ], + "index": 2 + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 437, + "type": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 438 + }, + { + "name": "E", + "type": 440 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 438 + } + ], + "index": 0 + }, + { + "name": "Err", + "fields": [ + { + "type": 440 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 438, + "type": { + "path": [ + "frame_support", + "dispatch", + "PostDispatchInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "actual_weight", + "type": 439, + "typeName": "Option" + }, + { + "name": "pays_fee", + "type": 24, + "typeName": "Pays" + } + ] + } + } + } + }, + { + "id": 439, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 9 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 9 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 440, + "type": { + "path": [ + "sp_runtime", + "DispatchErrorWithPostInfo" + ], + "params": [ + { + "name": "Info", + "type": 438 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "post_info", + "type": 438, + "typeName": "Info" + }, + { + "name": "error", + "type": 25, + "typeName": "DispatchError" + } + ] + } + } + } + }, + { + "id": 441, + "type": { + "path": [ + "polkadot_runtime_common", + "claims", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Claimed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "ethereum_address", + "type": 177, + "typeName": "EthereumAddress" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 0, + "docs": [ + "Someone claimed some DOTs." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 442, + "type": { + "path": [ + "pallet_vesting", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "VestingUpdated", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "unvested", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 0, + "docs": [ + "The amount vested has been updated. This could indicate a change in funds available.", + "The balance given is the amount which is left unvested (and thus locked)." + ] + }, + { + "name": "VestingCompleted", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 1, + "docs": [ + "An \\[account\\] has become fully vested." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 443, + "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": 33, + "typeName": "DispatchResult" + } + ], + "index": 5, + "docs": [ + "A call was dispatched." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 444, + "type": { + "path": [ + "pallet_identity", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "IdentitySet", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 0, + "docs": [ + "A name was set or reset (which will remove all judgements)." + ] + }, + { + "name": "IdentityCleared", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "A name was cleared, and the given balance returned." + ] + }, + { + "name": "IdentityKilled", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "A name was removed and the given balance slashed." + ] + }, + { + "name": "JudgementRequested", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex" + } + ], + "index": 3, + "docs": [ + "A judgement was asked from a registrar." + ] + }, + { + "name": "JudgementUnrequested", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex" + } + ], + "index": 4, + "docs": [ + "A judgement request was retracted." + ] + }, + { + "name": "JudgementGiven", + "fields": [ + { + "name": "target", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex" + } + ], + "index": 5, + "docs": [ + "A judgement was given by a registrar." + ] + }, + { + "name": "RegistrarAdded", + "fields": [ + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex" + } + ], + "index": 6, + "docs": [ + "A registrar was added." + ] + }, + { + "name": "SubIdentityAdded", + "fields": [ + { + "name": "sub", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "main", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 7, + "docs": [ + "A sub-identity was added to an identity and the deposit paid." + ] + }, + { + "name": "SubIdentityRemoved", + "fields": [ + { + "name": "sub", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "main", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 8, + "docs": [ + "A sub-identity was removed from an identity and the deposit freed." + ] + }, + { + "name": "SubIdentityRevoked", + "fields": [ + { + "name": "sub", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "main", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 9, + "docs": [ + "A sub-identity was cleared, and the given deposit repatriated from the", + "main identity account to the sub-identity account." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 445, + "type": { + "path": [ + "pallet_proxy", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "ProxyExecuted", + "fields": [ + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 0, + "docs": [ + "A proxy was executed correctly, with the given." + ] + }, + { + "name": "PureCreated", + "fields": [ + { + "name": "pure", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proxy_type", + "type": 229, + "typeName": "T::ProxyType" + }, + { + "name": "disambiguation_index", + "type": 77, + "typeName": "u16" + } + ], + "index": 1, + "docs": [ + "A pure account has been created by new proxy with given", + "disambiguation index and proxy type." + ] + }, + { + "name": "Announced", + "fields": [ + { + "name": "real", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proxy", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "call_hash", + "type": 12, + "typeName": "CallHashOf" + } + ], + "index": 2, + "docs": [ + "An announcement was placed to make a call in the future." + ] + }, + { + "name": "ProxyAdded", + "fields": [ + { + "name": "delegator", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "delegatee", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proxy_type", + "type": 229, + "typeName": "T::ProxyType" + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 3, + "docs": [ + "A proxy was added." + ] + }, + { + "name": "ProxyRemoved", + "fields": [ + { + "name": "delegator", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "delegatee", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "proxy_type", + "type": 229, + "typeName": "T::ProxyType" + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 4, + "docs": [ + "A proxy was removed." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 446, + "type": { + "path": [ + "pallet_multisig", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NewMultisig", + "fields": [ + { + "name": "approving", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash" + } + ], + "index": 0, + "docs": [ + "A new multisig operation has begun." + ] + }, + { + "name": "MultisigApproval", + "fields": [ + { + "name": "approving", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "timepoint", + "type": 232, + "typeName": "Timepoint" + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash" + } + ], + "index": 1, + "docs": [ + "A multisig operation has been approved by someone." + ] + }, + { + "name": "MultisigExecuted", + "fields": [ + { + "name": "approving", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "timepoint", + "type": 232, + "typeName": "Timepoint" + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 2, + "docs": [ + "A multisig operation has been executed." + ] + }, + { + "name": "MultisigCancelled", + "fields": [ + { + "name": "cancelling", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "timepoint", + "type": 232, + "typeName": "Timepoint" + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash" + } + ], + "index": 3, + "docs": [ + "A multisig operation has been cancelled." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 447, + "type": { + "path": [ + "pallet_bounties", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "BountyProposed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + } + ], + "index": 0, + "docs": [ + "New bounty proposal." + ] + }, + { + "name": "BountyRejected", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "bond", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "A bounty proposal was rejected; funds were slashed." + ] + }, + { + "name": "BountyBecameActive", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + } + ], + "index": 2, + "docs": [ + "A bounty proposal is funded and became active." + ] + }, + { + "name": "BountyAwarded", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 3, + "docs": [ + "A bounty is awarded to a beneficiary." + ] + }, + { + "name": "BountyClaimed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 4, + "docs": [ + "A bounty is claimed by beneficiary." + ] + }, + { + "name": "BountyCanceled", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + } + ], + "index": 5, + "docs": [ + "A bounty is cancelled." + ] + }, + { + "name": "BountyExtended", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + } + ], + "index": 6, + "docs": [ + "A bounty expiry is extended." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 448, + "type": { + "path": [ + "pallet_child_bounties", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Added", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex" + } + ], + "index": 0, + "docs": [ + "A child-bounty is added." + ] + }, + { + "name": "Awarded", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 1, + "docs": [ + "A child-bounty is awarded to a beneficiary." + ] + }, + { + "name": "Claimed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 2, + "docs": [ + "A child-bounty is claimed by beneficiary." + ] + }, + { + "name": "Canceled", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex" + } + ], + "index": 3, + "docs": [ + "A child-bounty is cancelled." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 449, + "type": { + "path": [ + "pallet_tips", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NewTip", + "fields": [ + { + "name": "tip_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 0, + "docs": [ + "A new tip suggestion has been opened." + ] + }, + { + "name": "TipClosing", + "fields": [ + { + "name": "tip_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 1, + "docs": [ + "A tip suggestion has reached threshold and is closing." + ] + }, + { + "name": "TipClosed", + "fields": [ + { + "name": "tip_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "A tip suggestion has been closed." + ] + }, + { + "name": "TipRetracted", + "fields": [ + { + "name": "tip_hash", + "type": 12, + "typeName": "T::Hash" + } + ], + "index": 3, + "docs": [ + "A tip suggestion has been retracted." + ] + }, + { + "name": "TipSlashed", + "fields": [ + { + "name": "tip_hash", + "type": 12, + "typeName": "T::Hash" + }, + { + "name": "finder", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 4, + "docs": [ + "A tip suggestion has been slashed." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 450, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "SolutionStored", + "fields": [ + { + "name": "compute", + "type": 451, + "typeName": "ElectionCompute" + }, + { + "name": "origin", + "type": 144, + "typeName": "Option" + }, + { + "name": "prev_ejected", + "type": 44, + "typeName": "bool" + } + ], + "index": 0, + "docs": [ + "A solution was stored with the given compute.", + "", + "The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,", + "the stored solution was submited in the signed phase by a miner with the `AccountId`.", + "Otherwise, the solution was stored either during the unsigned phase or by", + "`T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make", + "room for this one." + ] + }, + { + "name": "ElectionFinalized", + "fields": [ + { + "name": "compute", + "type": 451, + "typeName": "ElectionCompute" + }, + { + "name": "score", + "type": 289, + "typeName": "ElectionScore" + } + ], + "index": 1, + "docs": [ + "The election has been finalized, with the given computation and score." + ] + }, + { + "name": "ElectionFailed", + "index": 2, + "docs": [ + "An election failed.", + "", + "Not much can be said about which computes failed in the process." + ] + }, + { + "name": "Rewarded", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "::AccountId" + }, + { + "name": "value", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 3, + "docs": [ + "An account has been rewarded for their signed submission being finalized." + ] + }, + { + "name": "Slashed", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "::AccountId" + }, + { + "name": "value", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 4, + "docs": [ + "An account has been slashed for submitting an invalid signed submission." + ] + }, + { + "name": "PhaseTransitioned", + "fields": [ + { + "name": "from", + "type": 452, + "typeName": "Phase" + }, + { + "name": "to", + "type": 452, + "typeName": "Phase" + }, + { + "name": "round", + "type": 4, + "typeName": "u32" + } + ], + "index": 5, + "docs": [ + "There was a phase transition in a given round." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 451, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "ElectionCompute" + ], + "def": { + "variant": { + "variants": [ + { + "name": "OnChain", + "index": 0 + }, + { + "name": "Signed", + "index": 1 + }, + { + "name": "Unsigned", + "index": 2 + }, + { + "name": "Fallback", + "index": 3 + }, + { + "name": "Emergency", + "index": 4 + } + ] + } + } + } + }, + { + "id": 452, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "Phase" + ], + "params": [ + { + "name": "Bn", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Off", + "index": 0 + }, + { + "name": "Signed", + "index": 1 + }, + { + "name": "Unsigned", + "fields": [ + { + "type": 453, + "typeName": "(bool, Bn)" + } + ], + "index": 2 + }, + { + "name": "Emergency", + "index": 3 + } + ] + } + } + } + }, + { + "id": 453, + "type": { + "def": { + "tuple": [ + 44, + 4 + ] + } + } + }, + { + "id": 454, + "type": { + "path": [ + "pallet_bags_list", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Rebagged", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "from", + "type": 11, + "typeName": "T::Score" + }, + { + "name": "to", + "type": 11, + "typeName": "T::Score" + } + ], + "index": 0, + "docs": [ + "Moved an account from one bag to another." + ] + }, + { + "name": "ScoreUpdated", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "new_score", + "type": 11, + "typeName": "T::Score" + } + ], + "index": 1, + "docs": [ + "Updated the score of some account to the given amount." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 455, + "type": { + "path": [ + "pallet_nomination_pools", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Created", + "fields": [ + { + "name": "depositor", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + } + ], + "index": 0, + "docs": [ + "A pool has been created." + ] + }, + { + "name": "Bonded", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "bonded", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "joined", + "type": 44, + "typeName": "bool" + } + ], + "index": 1, + "docs": [ + "A member has became bonded in a pool." + ] + }, + { + "name": "PaidOut", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "A payout has been made to a member." + ] + }, + { + "name": "Unbonded", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "points", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "era", + "type": 4, + "typeName": "EraIndex" + } + ], + "index": 3, + "docs": [ + "A member has unbonded from their pool.", + "", + "- `balance` is the corresponding balance of the number of points that has been", + " requested to be unbonded (the argument of the `unbond` transaction) from the bonded", + " pool.", + "- `points` is the number of points that are issued as a result of `balance` being", + "dissolved into the corresponding unbonding pool.", + "- `era` is the era in which the balance will be unbonded.", + "In the absence of slashing, these values will match. In the presence of slashing, the", + "number of points that are issued in the unbonding pool will be less than the amount", + "requested to be unbonded." + ] + }, + { + "name": "Withdrawn", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "points", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 4, + "docs": [ + "A member has withdrawn from their pool.", + "", + "The given number of `points` have been dissolved in return of `balance`.", + "", + "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance", + "will be 1." + ] + }, + { + "name": "Destroyed", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + } + ], + "index": 5, + "docs": [ + "A pool has been destroyed." + ] + }, + { + "name": "StateChanged", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "new_state", + "type": 298, + "typeName": "PoolState" + } + ], + "index": 6, + "docs": [ + "The state of a pool has changed" + ] + }, + { + "name": "MemberRemoved", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "member", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 7, + "docs": [ + "A member has been removed from a pool.", + "", + "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)." + ] + }, + { + "name": "RolesUpdated", + "fields": [ + { + "name": "root", + "type": 144, + "typeName": "Option" + }, + { + "name": "bouncer", + "type": 144, + "typeName": "Option" + }, + { + "name": "nominator", + "type": 144, + "typeName": "Option" + } + ], + "index": 8, + "docs": [ + "The roles of a pool have been updated to the given new roles. Note that the depositor", + "can never change." + ] + }, + { + "name": "PoolSlashed", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 9, + "docs": [ + "The active balance of pool `pool_id` has been slashed to `balance`." + ] + }, + { + "name": "UnbondingPoolSlashed", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "era", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 10, + "docs": [ + "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`." + ] + }, + { + "name": "PoolCommissionUpdated", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "current", + "type": 304, + "typeName": "Option<(Perbill, T::AccountId)>" + } + ], + "index": 11, + "docs": [ + "A pool's commission setting has been changed." + ] + }, + { + "name": "PoolMaxCommissionUpdated", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "max_commission", + "type": 41, + "typeName": "Perbill" + } + ], + "index": 12, + "docs": [ + "A pool's maximum commission setting has been changed." + ] + }, + { + "name": "PoolCommissionChangeRateUpdated", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "change_rate", + "type": 306, + "typeName": "CommissionChangeRate" + } + ], + "index": 13, + "docs": [ + "A pool's commission `change_rate` has been changed." + ] + }, + { + "name": "PoolCommissionClaimed", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "commission", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 14, + "docs": [ + "Pool commission has been claimed." + ] + } + ] + } + }, + "docs": [ + "Events of this pallet." + ] + } + }, + { + "id": 456, + "type": { + "path": [ + "pallet_fast_unstake", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unstaked", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 0, + "docs": [ + "A staker was unstaked." + ] + }, + { + "name": "Slashed", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "A staker was slashed for requesting fast-unstake whilst being exposed." + ] + }, + { + "name": "InternalError", + "index": 2, + "docs": [ + "An internal error happened. Operations will be paused now." + ] + }, + { + "name": "BatchChecked", + "fields": [ + { + "name": "eras", + "type": 109, + "typeName": "Vec" + } + ], + "index": 3, + "docs": [ + "A batch was partially checked for the given eras, but the process did not finish." + ] + }, + { + "name": "BatchFinished", + "fields": [ + { + "name": "size", + "type": 4, + "typeName": "u32" + } + ], + "index": 4, + "docs": [ + "A batch of a given size was terminated.", + "", + "This is always follows by a number of `Unstaked` or `Slashed` events, marking the end", + "of the batch. A new batch will be created upon next block." + ] + } + ] + } + }, + "docs": [ + "The events of this pallet." + ] + } + }, + { + "id": 457, + "type": { + "path": [ + "polkadot_runtime_parachains", + "inclusion", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "CandidateBacked", + "fields": [ + { + "type": 458, + "typeName": "CandidateReceipt" + }, + { + "type": 340, + "typeName": "HeadData" + }, + { + "type": 459, + "typeName": "CoreIndex" + }, + { + "type": 460, + "typeName": "GroupIndex" + } + ], + "index": 0, + "docs": [ + "A candidate was backed. `[candidate, head_data]`" + ] + }, + { + "name": "CandidateIncluded", + "fields": [ + { + "type": 458, + "typeName": "CandidateReceipt" + }, + { + "type": 340, + "typeName": "HeadData" + }, + { + "type": 459, + "typeName": "CoreIndex" + }, + { + "type": 460, + "typeName": "GroupIndex" + } + ], + "index": 1, + "docs": [ + "A candidate was included. `[candidate, head_data]`" + ] + }, + { + "name": "CandidateTimedOut", + "fields": [ + { + "type": 458, + "typeName": "CandidateReceipt" + }, + { + "type": 340, + "typeName": "HeadData" + }, + { + "type": 459, + "typeName": "CoreIndex" + } + ], + "index": 2, + "docs": [ + "A candidate timed out. `[candidate, head_data]`" + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 458, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "CandidateReceipt" + ], + "params": [ + { + "name": "H", + "type": 12 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "descriptor", + "type": 329, + "typeName": "CandidateDescriptor" + }, + { + "name": "commitments_hash", + "type": 12, + "typeName": "Hash" + } + ] + } + } + } + }, + { + "id": 459, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "CoreIndex" + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 460, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "GroupIndex" + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 461, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "pallet", + "Event" + ], + "def": { + "variant": { + "variants": [ + { + "name": "CurrentCodeUpdated", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 0, + "docs": [ + "Current code has been updated for a Para. `para_id`" + ] + }, + { + "name": "CurrentHeadUpdated", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 1, + "docs": [ + "Current head has been updated for a Para. `para_id`" + ] + }, + { + "name": "CodeUpgradeScheduled", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 2, + "docs": [ + "A code upgrade has been scheduled for a Para. `para_id`" + ] + }, + { + "name": "NewHeadNoted", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 3, + "docs": [ + "A new head has been noted for a Para. `para_id`" + ] + }, + { + "name": "ActionQueued", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 4, + "typeName": "SessionIndex" + } + ], + "index": 4, + "docs": [ + "A para has been queued to execute pending actions. `para_id`" + ] + }, + { + "name": "PvfCheckStarted", + "fields": [ + { + "type": 332, + "typeName": "ValidationCodeHash" + }, + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 5, + "docs": [ + "The given para either initiated or subscribed to a PVF check for the given validation", + "code. `code_hash` `para_id`" + ] + }, + { + "name": "PvfCheckAccepted", + "fields": [ + { + "type": 332, + "typeName": "ValidationCodeHash" + }, + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 6, + "docs": [ + "The given validation code was accepted by the PVF pre-checking vote.", + "`code_hash` `para_id`" + ] + }, + { + "name": "PvfCheckRejected", + "fields": [ + { + "type": 332, + "typeName": "ValidationCodeHash" + }, + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 7, + "docs": [ + "The given validation code was rejected by the PVF pre-checking vote.", + "`code_hash` `para_id`" + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 462, + "type": { + "path": [ + "polkadot_runtime_parachains", + "ump", + "pallet", + "Event" + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidFormat", + "fields": [ + { + "type": 1, + "typeName": "MessageId" + } + ], + "index": 0, + "docs": [ + "Upward message is invalid XCM.", + "\\[ id \\]" + ] + }, + { + "name": "UnsupportedVersion", + "fields": [ + { + "type": 1, + "typeName": "MessageId" + } + ], + "index": 1, + "docs": [ + "Upward message is unsupported version of XCM.", + "\\[ id \\]" + ] + }, + { + "name": "ExecutedUpward", + "fields": [ + { + "type": 1, + "typeName": "MessageId" + }, + { + "type": 463, + "typeName": "Outcome" + } + ], + "index": 2, + "docs": [ + "Upward message executed with the given outcome.", + "\\[ id, outcome \\]" + ] + }, + { + "name": "WeightExhausted", + "fields": [ + { + "type": 1, + "typeName": "MessageId" + }, + { + "type": 9, + "typeName": "Weight" + }, + { + "type": 9, + "typeName": "Weight" + } + ], + "index": 3, + "docs": [ + "The weight limit for handling upward messages was reached.", + "\\[ id, remaining, required \\]" + ] + }, + { + "name": "UpwardMessagesReceived", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 4, + "typeName": "u32" + }, + { + "type": 4, + "typeName": "u32" + } + ], + "index": 4, + "docs": [ + "Some upward messages have been received and will be processed.", + "\\[ para, count, size \\]" + ] + }, + { + "name": "OverweightEnqueued", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 1, + "typeName": "MessageId" + }, + { + "type": 11, + "typeName": "OverweightIndex" + }, + { + "type": 9, + "typeName": "Weight" + } + ], + "index": 5, + "docs": [ + "The weight budget was exceeded for an individual upward message.", + "", + "This message can be later dispatched manually using `service_overweight` dispatchable", + "using the assigned `overweight_index`.", + "", + "\\[ para, id, overweight_index, required \\]" + ] + }, + { + "name": "OverweightServiced", + "fields": [ + { + "type": 11, + "typeName": "OverweightIndex" + }, + { + "type": 9, + "typeName": "Weight" + } + ], + "index": 6, + "docs": [ + "Upward message from the overweight queue was executed with the given actual weight", + "used.", + "", + "\\[ overweight_index, used \\]" + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 463, + "type": { + "path": [ + "xcm", + "v3", + "traits", + "Outcome" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Complete", + "fields": [ + { + "type": 9, + "typeName": "Weight" + } + ], + "index": 0 + }, + { + "name": "Incomplete", + "fields": [ + { + "type": 9, + "typeName": "Weight" + }, + { + "type": 412, + "typeName": "Error" + } + ], + "index": 1 + }, + { + "name": "Error", + "fields": [ + { + "type": 412, + "typeName": "Error" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 464, + "type": { + "path": [ + "polkadot_runtime_parachains", + "hrmp", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "OpenChannelRequested", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 4, + "typeName": "u32" + }, + { + "type": 4, + "typeName": "u32" + } + ], + "index": 0, + "docs": [ + "Open HRMP channel requested.", + "`[sender, recipient, proposed_max_capacity, proposed_max_message_size]`" + ] + }, + { + "name": "OpenChannelCanceled", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 357, + "typeName": "HrmpChannelId" + } + ], + "index": 1, + "docs": [ + "An HRMP channel request sent by the receiver was canceled by either party.", + "`[by_parachain, channel_id]`" + ] + }, + { + "name": "OpenChannelAccepted", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 2, + "docs": [ + "Open HRMP channel accepted. `[sender, recipient]`" + ] + }, + { + "name": "ChannelClosed", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 357, + "typeName": "HrmpChannelId" + } + ], + "index": 3, + "docs": [ + "HRMP channel closed. `[by_parachain, channel_id]`" + ] + }, + { + "name": "HrmpChannelForceOpened", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 162, + "typeName": "ParaId" + }, + { + "type": 4, + "typeName": "u32" + }, + { + "type": 4, + "typeName": "u32" + } + ], + "index": 4, + "docs": [ + "An HRMP channel was opened via Root origin.", + "`[sender, recipient, proposed_max_capacity, proposed_max_message_size]`" + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 465, + "type": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "DisputeInitiated", + "fields": [ + { + "type": 345, + "typeName": "CandidateHash" + }, + { + "type": 466, + "typeName": "DisputeLocation" + } + ], + "index": 0, + "docs": [ + "A dispute has been initiated. \\[candidate hash, dispute location\\]" + ] + }, + { + "name": "DisputeConcluded", + "fields": [ + { + "type": 345, + "typeName": "CandidateHash" + }, + { + "type": 467, + "typeName": "DisputeResult" + } + ], + "index": 1, + "docs": [ + "A dispute has concluded for or against a candidate.", + "`\\[para id, candidate hash, dispute result\\]`" + ] + }, + { + "name": "Revert", + "fields": [ + { + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 2, + "docs": [ + "A dispute has concluded with supermajority against a candidate.", + "Block authors should no longer build on top of this head and should", + "instead revert the block at the given height. This should be the", + "number of the child of the last known valid block in the chain." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 466, + "type": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "DisputeLocation" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Local", + "index": 0 + }, + { + "name": "Remote", + "index": 1 + } + ] + } + } + } + }, + { + "id": 467, + "type": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "DisputeResult" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Valid", + "index": 0 + }, + { + "name": "Invalid", + "index": 1 + } + ] + } + } + } + }, + { + "id": 468, + "type": { + "path": [ + "polkadot_runtime_common", + "paras_registrar", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Registered", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "manager", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 0 + }, + { + "name": "Deregistered", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 1 + }, + { + "name": "Reserved", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + } + ], + "index": 2 + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 469, + "type": { + "path": [ + "polkadot_runtime_common", + "slots", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NewLeasePeriod", + "fields": [ + { + "name": "lease_period", + "type": 4, + "typeName": "LeasePeriodOf" + } + ], + "index": 0, + "docs": [ + "A new `[lease_period]` is beginning." + ] + }, + { + "name": "Leased", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "leaser", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "period_begin", + "type": 4, + "typeName": "LeasePeriodOf" + }, + { + "name": "period_count", + "type": 4, + "typeName": "LeasePeriodOf" + }, + { + "name": "extra_reserved", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "total_amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "A para has won the right to a continuous set of lease periods as a parachain.", + "First balance is any extra amount reserved on top of the para's existing deposit.", + "Second balance is the total amount reserved." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 470, + "type": { + "path": [ + "polkadot_runtime_common", + "auctions", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "AuctionStarted", + "fields": [ + { + "name": "auction_index", + "type": 4, + "typeName": "AuctionIndex" + }, + { + "name": "lease_period", + "type": 4, + "typeName": "LeasePeriodOf" + }, + { + "name": "ending", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 0, + "docs": [ + "An auction started. Provides its index and the block number where it will begin to", + "close and the first lease period of the quadruplet that is auctioned." + ] + }, + { + "name": "AuctionClosed", + "fields": [ + { + "name": "auction_index", + "type": 4, + "typeName": "AuctionIndex" + } + ], + "index": 1, + "docs": [ + "An auction ended. All funds become unreserved." + ] + }, + { + "name": "Reserved", + "fields": [ + { + "name": "bidder", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "extra_reserved", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "total_amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "Funds were reserved for a winning bid. First balance is the extra amount reserved.", + "Second is the total." + ] + }, + { + "name": "Unreserved", + "fields": [ + { + "name": "bidder", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 3, + "docs": [ + "Funds were unreserved since bidder is no longer active. `[bidder, amount]`" + ] + }, + { + "name": "ReserveConfiscated", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "leaser", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 4, + "docs": [ + "Someone attempted to lease the same slot twice for a parachain. The amount is held in reserve", + "but no parachain slot has been leased." + ] + }, + { + "name": "BidAccepted", + "fields": [ + { + "name": "bidder", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "first_slot", + "type": 4, + "typeName": "LeasePeriodOf" + }, + { + "name": "last_slot", + "type": 4, + "typeName": "LeasePeriodOf" + } + ], + "index": 5, + "docs": [ + "A new bid has been accepted as the current winner." + ] + }, + { + "name": "WinningOffset", + "fields": [ + { + "name": "auction_index", + "type": 4, + "typeName": "AuctionIndex" + }, + { + "name": "block_number", + "type": 4, + "typeName": "T::BlockNumber" + } + ], + "index": 6, + "docs": [ + "The winning offset was chosen for an auction. This will map into the `Winning` storage map." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 471, + "type": { + "path": [ + "polkadot_runtime_common", + "crowdloan", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Created", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 0, + "docs": [ + "Create a new crowdloaning campaign." + ] + }, + { + "name": "Contributed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "fund_index", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 1, + "docs": [ + "Contributed to a crowd sale." + ] + }, + { + "name": "Withdrew", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "fund_index", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf" + } + ], + "index": 2, + "docs": [ + "Withdrew full balance of a contributor." + ] + }, + { + "name": "PartiallyRefunded", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 3, + "docs": [ + "The loans in a fund have been partially dissolved, i.e. there are some left", + "over child keys that still need to be killed." + ] + }, + { + "name": "AllRefunded", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 4, + "docs": [ + "All loans in a fund have been refunded." + ] + }, + { + "name": "Dissolved", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 5, + "docs": [ + "Fund is dissolved." + ] + }, + { + "name": "HandleBidResult", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "result", + "type": 33, + "typeName": "DispatchResult" + } + ], + "index": 6, + "docs": [ + "The result of trying to submit a new bid to the Slots pallet." + ] + }, + { + "name": "Edited", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 7, + "docs": [ + "The configuration to a crowdloan has been edited." + ] + }, + { + "name": "MemoUpdated", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "memo", + "type": 13, + "typeName": "Vec" + } + ], + "index": 8, + "docs": [ + "A memo has been updated." + ] + }, + { + "name": "AddedToNewRaise", + "fields": [ + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + } + ], + "index": 9, + "docs": [ + "A parachain has been moved to `NewRaise`" + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 472, + "type": { + "path": [ + "pallet_xcm", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Attempted", + "fields": [ + { + "type": 463, + "typeName": "xcm::latest::Outcome" + } + ], + "index": 0, + "docs": [ + "Execution of an XCM message was attempted.", + "", + "\\[ outcome \\]" + ] + }, + { + "name": "Sent", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 400, + "typeName": "Xcm<()>" + } + ], + "index": 1, + "docs": [ + "A XCM message was sent.", + "", + "\\[ origin, destination, message \\]" + ] + }, + { + "name": "UnexpectedResponse", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 11, + "typeName": "QueryId" + } + ], + "index": 2, + "docs": [ + "Query response received which does not match a registered query. This may be because a", + "matching query was never registered, it may be because it is a duplicate response, or", + "because the query timed out.", + "", + "\\[ origin location, id \\]" + ] + }, + { + "name": "ResponseReady", + "fields": [ + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 409, + "typeName": "Response" + } + ], + "index": 3, + "docs": [ + "Query response has been received and is ready for taking with `take_response`. There is", + "no registered notification call.", + "", + "\\[ id, response \\]" + ] + }, + { + "name": "Notified", + "fields": [ + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 2, + "typeName": "u8" + }, + { + "type": 2, + "typeName": "u8" + } + ], + "index": 4, + "docs": [ + "Query response has been received and query is removed. The registered notification has", + "been dispatched and executed successfully.", + "", + "\\[ id, pallet index, call index \\]" + ] + }, + { + "name": "NotifyOverweight", + "fields": [ + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 2, + "typeName": "u8" + }, + { + "type": 2, + "typeName": "u8" + }, + { + "type": 9, + "typeName": "Weight" + }, + { + "type": 9, + "typeName": "Weight" + } + ], + "index": 5, + "docs": [ + "Query response has been received and query is removed. The registered notification could", + "not be dispatched because the dispatch weight is greater than the maximum weight", + "originally budgeted by this runtime for the query result.", + "", + "\\[ id, pallet index, call index, actual weight, max budgeted weight \\]" + ] + }, + { + "name": "NotifyDispatchError", + "fields": [ + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 2, + "typeName": "u8" + }, + { + "type": 2, + "typeName": "u8" + } + ], + "index": 6, + "docs": [ + "Query response has been received and query is removed. There was a general error with", + "dispatching the notification call.", + "", + "\\[ id, pallet index, call index \\]" + ] + }, + { + "name": "NotifyDecodeFailed", + "fields": [ + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 2, + "typeName": "u8" + }, + { + "type": 2, + "typeName": "u8" + } + ], + "index": 7, + "docs": [ + "Query response has been received and query is removed. The dispatch was unable to be", + "decoded into a `Call`; this might be due to dispatch function having a signature which", + "is not `(origin, QueryId, Response)`.", + "", + "\\[ id, pallet index, call index \\]" + ] + }, + { + "name": "InvalidResponder", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 419, + "typeName": "Option" + } + ], + "index": 8, + "docs": [ + "Expected query response has been received but the origin location of the response does", + "not match that expected. The query remains registered for a later, valid, response to", + "be received and acted upon.", + "", + "\\[ origin location, id, expected location \\]" + ] + }, + { + "name": "InvalidResponderVersion", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 11, + "typeName": "QueryId" + } + ], + "index": 9, + "docs": [ + "Expected query response has been received but the expected origin location placed in", + "storage by this runtime previously cannot be decoded. The query remains registered.", + "", + "This is unexpected (since a location placed in storage in a previously executing", + "runtime should be readable prior to query timeout) and dangerous since the possibly", + "valid response will be dropped. Manual governance intervention is probably going to be", + "needed.", + "", + "\\[ origin location, id \\]" + ] + }, + { + "name": "ResponseTaken", + "fields": [ + { + "type": 11, + "typeName": "QueryId" + } + ], + "index": 10, + "docs": [ + "Received query response has been read and removed.", + "", + "\\[ id \\]" + ] + }, + { + "name": "AssetsTrapped", + "fields": [ + { + "type": 12, + "typeName": "H256" + }, + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 425, + "typeName": "VersionedMultiAssets" + } + ], + "index": 11, + "docs": [ + "Some assets have been placed in an asset trap.", + "", + "\\[ hash, origin, assets \\]" + ] + }, + { + "name": "VersionChangeNotified", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 4, + "typeName": "XcmVersion" + }, + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 12, + "docs": [ + "An XCM version change notification message has been attempted to be sent.", + "", + "The cost of sending it (borne by the chain) is included.", + "", + "\\[ destination, result, cost \\]" + ] + }, + { + "name": "SupportedVersionChanged", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 4, + "typeName": "XcmVersion" + } + ], + "index": 13, + "docs": [ + "The supported version of a location has been changed. This might be through an", + "automatic notification or a manual intervention.", + "", + "\\[ location, XCM version \\]" + ] + }, + { + "name": "NotifyTargetSendFail", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 412, + "typeName": "XcmError" + } + ], + "index": 14, + "docs": [ + "A given location which had a version change subscription was dropped owing to an error", + "sending the notification to it.", + "", + "\\[ location, query ID, error \\]" + ] + }, + { + "name": "NotifyTargetMigrationFail", + "fields": [ + { + "type": 372, + "typeName": "VersionedMultiLocation" + }, + { + "type": 11, + "typeName": "QueryId" + } + ], + "index": 15, + "docs": [ + "A given location which had a version change subscription was dropped owing to an error", + "migrating the location to our new XCM format.", + "", + "\\[ location, query ID \\]" + ] + }, + { + "name": "InvalidQuerierVersion", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 11, + "typeName": "QueryId" + } + ], + "index": 16, + "docs": [ + "Expected query response has been received but the expected querier location placed in", + "storage by this runtime previously cannot be decoded. The query remains registered.", + "", + "This is unexpected (since a location placed in storage in a previously executing", + "runtime should be readable prior to query timeout) and dangerous since the possibly", + "valid response will be dropped. Manual governance intervention is probably going to be", + "needed.", + "", + "\\[ origin location, id \\]" + ] + }, + { + "name": "InvalidQuerier", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 11, + "typeName": "QueryId" + }, + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 419, + "typeName": "Option" + } + ], + "index": 17, + "docs": [ + "Expected query response has been received but the querier location of the response does", + "not match the expected. The query remains registered for a later, valid, response to", + "be received and acted upon.", + "", + "\\[ origin location, id, expected querier, maybe actual querier \\]" + ] + }, + { + "name": "VersionNotifyStarted", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 18, + "docs": [ + "A remote has requested XCM version change notification from us and we have honored it.", + "A version information message is sent to them and its cost is included.", + "", + "\\[ destination location, cost \\]" + ] + }, + { + "name": "VersionNotifyRequested", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 19, + "docs": [ + "We have requested that a remote chain sends us XCM version change notifications.", + "", + "\\[ destination location, cost \\]" + ] + }, + { + "name": "VersionNotifyUnrequested", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 20, + "docs": [ + "We have requested that a remote chain stops sending us XCM version change notifications.", + "", + "\\[ destination location, cost \\]" + ] + }, + { + "name": "FeesPaid", + "fields": [ + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 403, + "typeName": "MultiAssets" + } + ], + "index": 21, + "docs": [ + "Fees were paid from a location for an operation (often for using `SendXcm`).", + "", + "\\[ paying location, fees \\]" + ] + }, + { + "name": "AssetsClaimed", + "fields": [ + { + "type": 12, + "typeName": "H256" + }, + { + "type": 164, + "typeName": "MultiLocation" + }, + { + "type": 425, + "typeName": "VersionedMultiAssets" + } + ], + "index": 22, + "docs": [ + "Some assets have been claimed from an asset trap", + "", + "\\[ hash, origin, assets \\]" + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t" + ] + } + }, + { + "id": 473, + "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": 474, + "type": { + "def": { + "sequence": { + "type": 12 + } + } + } + }, + { + "id": 475, + "type": { + "def": { + "sequence": { + "type": 31 + } + } + } + }, + { + "id": 476, + "type": { + "path": [ + "frame_system", + "LastRuntimeUpgradeInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "spec_version", + "type": 91, + "typeName": "codec::Compact" + }, + { + "name": "spec_name", + "type": 477, + "typeName": "sp_runtime::RuntimeString" + } + ] + } + } + } + }, + { + "id": 477, + "type": { + "def": { + "primitive": "str" + } + } + }, + { + "id": 478, + "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": 479, + "typeName": "PerDispatchClass" + } + ] + } + } + } + }, + { + "id": 479, + "type": { + "path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "params": [ + { + "name": "T", + "type": 480 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "normal", + "type": 480, + "typeName": "T" + }, + { + "name": "operational", + "type": 480, + "typeName": "T" + }, + { + "name": "mandatory", + "type": 480, + "typeName": "T" + } + ] + } + } + } + }, + { + "id": 480, + "type": { + "path": [ + "frame_system", + "limits", + "WeightsPerClass" + ], + "def": { + "composite": { + "fields": [ + { + "name": "base_extrinsic", + "type": 9, + "typeName": "Weight" + }, + { + "name": "max_extrinsic", + "type": 439, + "typeName": "Option" + }, + { + "name": "max_total", + "type": 439, + "typeName": "Option" + }, + { + "name": "reserved", + "type": 439, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 481, + "type": { + "path": [ + "frame_system", + "limits", + "BlockLength" + ], + "def": { + "composite": { + "fields": [ + { + "name": "max", + "type": 482, + "typeName": "PerDispatchClass" + } + ] + } + } + } + }, + { + "id": 482, + "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": 483, + "type": { + "path": [ + "sp_weights", + "RuntimeDbWeight" + ], + "def": { + "composite": { + "fields": [ + { + "name": "read", + "type": 11, + "typeName": "u64" + }, + { + "name": "write", + "type": 11, + "typeName": "u64" + } + ] + } + } + } + }, + { + "id": 484, + "type": { + "path": [ + "sp_version", + "RuntimeVersion" + ], + "def": { + "composite": { + "fields": [ + { + "name": "spec_name", + "type": 477, + "typeName": "RuntimeString" + }, + { + "name": "impl_name", + "type": 477, + "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": 485, + "typeName": "ApisVec" + }, + { + "name": "transaction_version", + "type": 4, + "typeName": "u32" + }, + { + "name": "state_version", + "type": 2, + "typeName": "u8" + } + ] + } + } + } + }, + { + "id": 485, + "type": { + "path": [ + "Cow" + ], + "params": [ + { + "name": "T", + "type": 486 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 486 + } + ] + } + } + } + }, + { + "id": 486, + "type": { + "def": { + "sequence": { + "type": 487 + } + } + } + }, + { + "id": 487, + "type": { + "def": { + "tuple": [ + 198, + 4 + ] + } + } + }, + { + "id": 488, + "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": 489, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 490 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 492, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 490, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 491 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 491 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 491, + "type": { + "path": [ + "pallet_scheduler", + "Scheduled" + ], + "params": [ + { + "name": "Name", + "type": 1 + }, + { + "name": "Call", + "type": 78 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "PalletsOrigin", + "type": 156 + }, + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "maybe_id", + "type": 32, + "typeName": "Option" + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority" + }, + { + "name": "call", + "type": 78, + "typeName": "Call" + }, + { + "name": "maybe_periodic", + "type": 85, + "typeName": "Option>" + }, + { + "name": "origin", + "type": 156, + "typeName": "PalletsOrigin" + } + ] + } + } + } + }, + { + "id": 492, + "type": { + "def": { + "sequence": { + "type": 490 + } + } + } + }, + { + "id": 493, + "type": { + "path": [ + "pallet_scheduler", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "FailedToSchedule", + "index": 0, + "docs": [ + "Failed to schedule a call" + ] + }, + { + "name": "NotFound", + "index": 1, + "docs": [ + "Cannot find the scheduled call." + ] + }, + { + "name": "TargetBlockNumberInPast", + "index": 2, + "docs": [ + "Given target block number is in the past." + ] + }, + { + "name": "RescheduleNoChange", + "index": 3, + "docs": [ + "Reschedule failed because it does not change scheduled time." + ] + }, + { + "name": "Named", + "index": 4, + "docs": [ + "Attempt to use a non-named function on a named task." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 494, + "type": { + "path": [ + "pallet_preimage", + "RequestStatus" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unrequested", + "fields": [ + { + "name": "deposit", + "type": 72, + "typeName": "(AccountId, Balance)" + }, + { + "name": "len", + "type": 4, + "typeName": "u32" + } + ], + "index": 0 + }, + { + "name": "Requested", + "fields": [ + { + "name": "deposit", + "type": 495, + "typeName": "Option<(AccountId, Balance)>" + }, + { + "name": "count", + "type": 4, + "typeName": "u32" + }, + { + "name": "len", + "type": 141, + "typeName": "Option" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 495, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 72 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 72 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 496, + "type": { + "def": { + "tuple": [ + 12, + 4 + ] + } + } + }, + { + "id": 497, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 498, + "type": { + "path": [ + "pallet_preimage", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "TooBig", + "index": 0, + "docs": [ + "Preimage is too large to store on-chain." + ] + }, + { + "name": "AlreadyNoted", + "index": 1, + "docs": [ + "Preimage has already been noted on-chain." + ] + }, + { + "name": "NotAuthorized", + "index": 2, + "docs": [ + "The user is not authorized to perform this action." + ] + }, + { + "name": "NotNoted", + "index": 3, + "docs": [ + "The preimage cannot be removed since it has not yet been noted." + ] + }, + { + "name": "Requested", + "index": 4, + "docs": [ + "A preimage may not be removed when there are outstanding requests." + ] + }, + { + "name": "NotRequested", + "index": 5, + "docs": [ + "The preimage request cannot be removed since no outstanding requests exist." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 499, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 500 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 501, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 500, + "type": { + "def": { + "tuple": [ + 92, + 11 + ] + } + } + }, + { + "id": 501, + "type": { + "def": { + "sequence": { + "type": 500 + } + } + } + }, + { + "id": 502, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 1 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 503, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 503, + "type": { + "def": { + "sequence": { + "type": 1 + } + } + } + }, + { + "id": 504, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 505 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 505 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 505, + "type": { + "path": [ + "sp_consensus_babe", + "digests", + "PreDigest" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Primary", + "fields": [ + { + "type": 506, + "typeName": "PrimaryPreDigest" + } + ], + "index": 1 + }, + { + "name": "SecondaryPlain", + "fields": [ + { + "type": 508, + "typeName": "SecondaryPlainPreDigest" + } + ], + "index": 2 + }, + { + "name": "SecondaryVRF", + "fields": [ + { + "type": 509, + "typeName": "SecondaryVRFPreDigest" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 506, + "type": { + "path": [ + "sp_consensus_babe", + "digests", + "PrimaryPreDigest" + ], + "def": { + "composite": { + "fields": [ + { + "name": "authority_index", + "type": 4, + "typeName": "super::AuthorityIndex" + }, + { + "name": "slot", + "type": 93, + "typeName": "Slot" + }, + { + "name": "vrf_signature", + "type": 507, + "typeName": "VrfSignature" + } + ] + } + } + } + }, + { + "id": 507, + "type": { + "path": [ + "sp_core", + "sr25519", + "vrf", + "VrfSignature" + ], + "def": { + "composite": { + "fields": [ + { + "name": "output", + "type": 1, + "typeName": "VrfOutput" + }, + { + "name": "proof", + "type": 126, + "typeName": "VrfProof" + } + ] + } + } + } + }, + { + "id": 508, + "type": { + "path": [ + "sp_consensus_babe", + "digests", + "SecondaryPlainPreDigest" + ], + "def": { + "composite": { + "fields": [ + { + "name": "authority_index", + "type": 4, + "typeName": "super::AuthorityIndex" + }, + { + "name": "slot", + "type": 93, + "typeName": "Slot" + } + ] + } + } + } + }, + { + "id": 509, + "type": { + "path": [ + "sp_consensus_babe", + "digests", + "SecondaryVRFPreDigest" + ], + "def": { + "composite": { + "fields": [ + { + "name": "authority_index", + "type": 4, + "typeName": "super::AuthorityIndex" + }, + { + "name": "slot", + "type": 93, + "typeName": "Slot" + }, + { + "name": "vrf_signature", + "type": 507, + "typeName": "VrfSignature" + } + ] + } + } + } + }, + { + "id": 510, + "type": { + "path": [ + "sp_consensus_babe", + "BabeEpochConfiguration" + ], + "def": { + "composite": { + "fields": [ + { + "name": "c", + "type": 96, + "typeName": "(u64, u64)" + }, + { + "name": "allowed_slots", + "type": 97, + "typeName": "AllowedSlots" + } + ] + } + } + } + }, + { + "id": 511, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 512 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 513, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 512, + "type": { + "def": { + "tuple": [ + 11, + 4 + ] + } + } + }, + { + "id": 513, + "type": { + "def": { + "sequence": { + "type": 512 + } + } + } + }, + { + "id": 514, + "type": { + "path": [ + "pallet_babe", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidEquivocationProof", + "index": 0, + "docs": [ + "An equivocation proof provided as part of an equivocation report is invalid." + ] + }, + { + "name": "InvalidKeyOwnershipProof", + "index": 1, + "docs": [ + "A key ownership proof provided as part of an equivocation report is invalid." + ] + }, + { + "name": "DuplicateOffenceReport", + "index": 2, + "docs": [ + "A given equivocation report is valid but already previously reported." + ] + }, + { + "name": "InvalidConfiguration", + "index": 3, + "docs": [ + "Submitted configuration is invalid." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 515, + "type": { + "def": { + "tuple": [ + 0, + 6, + 44 + ] + } + } + }, + { + "id": 516, + "type": { + "path": [ + "pallet_indices", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotAssigned", + "index": 0, + "docs": [ + "The index was not already assigned." + ] + }, + { + "name": "NotOwner", + "index": 1, + "docs": [ + "The index is assigned to another account." + ] + }, + { + "name": "InUse", + "index": 2, + "docs": [ + "The index was not available." + ] + }, + { + "name": "NotTransfer", + "index": 3, + "docs": [ + "The source and destination accounts are identical." + ] + }, + { + "name": "Permanent", + "index": 4, + "docs": [ + "The index is permanent and may not be freed/changed." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 517, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 518 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 520, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 518, + "type": { + "path": [ + "pallet_balances", + "types", + "BalanceLock" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 198, + "typeName": "LockIdentifier" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + }, + { + "name": "reasons", + "type": 519, + "typeName": "Reasons" + } + ] + } + } + } + }, + { + "id": 519, + "type": { + "path": [ + "pallet_balances", + "types", + "Reasons" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Fee", + "index": 0 + }, + { + "name": "Misc", + "index": 1 + }, + { + "name": "All", + "index": 2 + } + ] + } + } + } + }, + { + "id": 520, + "type": { + "def": { + "sequence": { + "type": 518 + } + } + } + }, + { + "id": 521, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 522 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 523, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 522, + "type": { + "path": [ + "pallet_balances", + "types", + "ReserveData" + ], + "params": [ + { + "name": "ReserveIdentifier", + "type": 198 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 198, + "typeName": "ReserveIdentifier" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 523, + "type": { + "def": { + "sequence": { + "type": 522 + } + } + } + }, + { + "id": 524, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 525 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 526, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 525, + "type": { + "path": [ + "pallet_balances", + "types", + "IdAmount" + ], + "params": [ + { + "name": "Id", + "type": 34 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 34, + "typeName": "Id" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 526, + "type": { + "def": { + "sequence": { + "type": 525 + } + } + } + }, + { + "id": 527, + "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": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 528, + "type": { + "path": [ + "sp_arithmetic", + "fixed_point", + "FixedU128" + ], + "def": { + "composite": { + "fields": [ + { + "type": 6, + "typeName": "u128" + } + ] + } + } + } + }, + { + "id": 529, + "type": { + "path": [ + "pallet_transaction_payment", + "Releases" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V1Ancient", + "index": 0 + }, + { + "name": "V2", + "index": 1 + } + ] + } + } + } + }, + { + "id": 530, + "type": { + "path": [ + "pallet_staking", + "StakingLedger" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "total", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "active", + "type": 60, + "typeName": "BalanceOf" + }, + { + "name": "unlocking", + "type": 531, + "typeName": "BoundedVec>, T::MaxUnlockingChunks>" + }, + { + "name": "claimed_rewards", + "type": 534, + "typeName": "BoundedVec" + } + ] + } + } + } + }, + { + "id": 531, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 532 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 533, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 532, + "type": { + "path": [ + "pallet_staking", + "UnlockChunk" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "value", + "type": 60, + "typeName": "Balance" + }, + { + "name": "era", + "type": 91, + "typeName": "EraIndex" + } + ] + } + } + } + }, + { + "id": 533, + "type": { + "def": { + "sequence": { + "type": 532 + } + } + } + }, + { + "id": 534, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 109, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 535, + "type": { + "path": [ + "pallet_staking", + "Nominations" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "targets", + "type": 536, + "typeName": "BoundedVec" + }, + { + "name": "submitted_in", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "suppressed", + "type": 44, + "typeName": "bool" + } + ] + } + } + } + }, + { + "id": 536, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 104, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 537, + "type": { + "path": [ + "pallet_staking", + "ActiveEraInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "start", + "type": 538, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 538, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 11 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 11 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 539, + "type": { + "def": { + "tuple": [ + 4, + 0 + ] + } + } + }, + { + "id": 540, + "type": { + "path": [ + "pallet_staking", + "EraRewardPoints" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "total", + "type": 4, + "typeName": "RewardPoint" + }, + { + "name": "individual", + "type": 541, + "typeName": "BTreeMap" + } + ] + } + } + } + }, + { + "id": 541, + "type": { + "path": [ + "BTreeMap" + ], + "params": [ + { + "name": "K", + "type": 0 + }, + { + "name": "V", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 542 + } + ] + } + } + } + }, + { + "id": 542, + "type": { + "def": { + "sequence": { + "type": 543 + } + } + } + }, + { + "id": 543, + "type": { + "def": { + "tuple": [ + 0, + 4 + ] + } + } + }, + { + "id": 544, + "type": { + "def": { + "sequence": { + "type": 545 + } + } + } + }, + { + "id": 545, + "type": { + "path": [ + "pallet_staking", + "UnappliedSlash" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "validator", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "own", + "type": 6, + "typeName": "Balance" + }, + { + "name": "others", + "type": 71, + "typeName": "Vec<(AccountId, Balance)>" + }, + { + "name": "reporters", + "type": 104, + "typeName": "Vec" + }, + { + "name": "payout", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 546, + "type": { + "def": { + "tuple": [ + 41, + 6 + ] + } + } + }, + { + "id": 547, + "type": { + "path": [ + "pallet_staking", + "slashing", + "SlashingSpans" + ], + "def": { + "composite": { + "fields": [ + { + "name": "span_index", + "type": 4, + "typeName": "SpanIndex" + }, + { + "name": "last_start", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "last_nonzero_slash", + "type": 4, + "typeName": "EraIndex" + }, + { + "name": "prior", + "type": 109, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 548, + "type": { + "path": [ + "pallet_staking", + "slashing", + "SpanRecord" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "slashed", + "type": 6, + "typeName": "Balance" + }, + { + "name": "paid_out", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 549, + "type": { + "def": { + "sequence": { + "type": 550 + } + } + } + }, + { + "id": 550, + "type": { + "def": { + "tuple": [ + 4, + 44 + ] + } + } + }, + { + "id": 551, + "type": { + "path": [ + "pallet_staking", + "pallet", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotController", + "index": 0, + "docs": [ + "Not a controller account." + ] + }, + { + "name": "NotStash", + "index": 1, + "docs": [ + "Not a stash account." + ] + }, + { + "name": "AlreadyBonded", + "index": 2, + "docs": [ + "Stash is already bonded." + ] + }, + { + "name": "AlreadyPaired", + "index": 3, + "docs": [ + "Controller is already paired." + ] + }, + { + "name": "EmptyTargets", + "index": 4, + "docs": [ + "Targets cannot be empty." + ] + }, + { + "name": "DuplicateIndex", + "index": 5, + "docs": [ + "Duplicate index." + ] + }, + { + "name": "InvalidSlashIndex", + "index": 6, + "docs": [ + "Slash record index out of bounds." + ] + }, + { + "name": "InsufficientBond", + "index": 7, + "docs": [ + "Cannot have a validator or nominator role, with value less than the minimum defined by", + "governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the", + "intention, `chill` first to remove one's role as validator/nominator." + ] + }, + { + "name": "NoMoreChunks", + "index": 8, + "docs": [ + "Can not schedule more unlock chunks." + ] + }, + { + "name": "NoUnlockChunk", + "index": 9, + "docs": [ + "Can not rebond without unlocking chunks." + ] + }, + { + "name": "FundedTarget", + "index": 10, + "docs": [ + "Attempting to target a stash that still has funds." + ] + }, + { + "name": "InvalidEraToReward", + "index": 11, + "docs": [ + "Invalid era to reward." + ] + }, + { + "name": "InvalidNumberOfNominations", + "index": 12, + "docs": [ + "Invalid number of nominations." + ] + }, + { + "name": "NotSortedAndUnique", + "index": 13, + "docs": [ + "Items are not sorted and unique." + ] + }, + { + "name": "AlreadyClaimed", + "index": 14, + "docs": [ + "Rewards for this era have already been claimed for this validator." + ] + }, + { + "name": "IncorrectHistoryDepth", + "index": 15, + "docs": [ + "Incorrect previous history depth input provided." + ] + }, + { + "name": "IncorrectSlashingSpans", + "index": 16, + "docs": [ + "Incorrect number of slashing spans provided." + ] + }, + { + "name": "BadState", + "index": 17, + "docs": [ + "Internal state has become somehow corrupted and the operation cannot continue." + ] + }, + { + "name": "TooManyTargets", + "index": 18, + "docs": [ + "Too many nomination targets supplied." + ] + }, + { + "name": "BadTarget", + "index": 19, + "docs": [ + "A nomination target was supplied that was blocked or otherwise not a validator." + ] + }, + { + "name": "CannotChillOther", + "index": 20, + "docs": [ + "The user has enough bond and thus cannot be chilled forcefully by an external person." + ] + }, + { + "name": "TooManyNominators", + "index": 21, + "docs": [ + "There are too many nominators in the system. Governance needs to adjust the staking", + "settings to keep things safe for the runtime." + ] + }, + { + "name": "TooManyValidators", + "index": 22, + "docs": [ + "There are too many validator candidates in the system. Governance needs to adjust the", + "staking settings to keep things safe for the runtime." + ] + }, + { + "name": "CommissionTooLow", + "index": 23, + "docs": [ + "Commission is too low. Must be at least `MinCommission`." + ] + }, + { + "name": "BoundNotMet", + "index": 24, + "docs": [ + "Some bound is not met." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 552, + "type": { + "path": [ + "sp_staking", + "offence", + "OffenceDetails" + ], + "params": [ + { + "name": "Reporter", + "type": 0 + }, + { + "name": "Offender", + "type": 58 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "offender", + "type": 58, + "typeName": "Offender" + }, + { + "name": "reporters", + "type": 104, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 553, + "type": { + "def": { + "tuple": [ + 47, + 13 + ] + } + } + }, + { + "id": 554, + "type": { + "def": { + "sequence": { + "type": 555 + } + } + } + }, + { + "id": 555, + "type": { + "def": { + "tuple": [ + 0, + 115 + ] + } + } + }, + { + "id": 556, + "type": { + "def": { + "tuple": [ + 557, + 13 + ] + } + } + }, + { + "id": 557, + "type": { + "path": [ + "sp_core", + "crypto", + "KeyTypeId" + ], + "def": { + "composite": { + "fields": [ + { + "type": 17, + "typeName": "[u8; 4]" + } + ] + } + } + } + }, + { + "id": 558, + "type": { + "path": [ + "pallet_session", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidProof", + "index": 0, + "docs": [ + "Invalid ownership proof." + ] + }, + { + "name": "NoAssociatedValidatorId", + "index": 1, + "docs": [ + "No associated validator ID for account." + ] + }, + { + "name": "DuplicatedKey", + "index": 2, + "docs": [ + "Registered duplicate key." + ] + }, + { + "name": "NoKeys", + "index": 3, + "docs": [ + "No keys are associated with this account." + ] + }, + { + "name": "NoAccount", + "index": 4, + "docs": [ + "Key setting account is not live, so it's impossible to associate keys." + ] + } + ] + } + }, + "docs": [ + "Error for the session pallet." + ] + } + }, + { + "id": 559, + "type": { + "path": [ + "pallet_grandpa", + "StoredState" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Live", + "index": 0 + }, + { + "name": "PendingPause", + "fields": [ + { + "name": "scheduled_at", + "type": 4, + "typeName": "N" + }, + { + "name": "delay", + "type": 4, + "typeName": "N" + } + ], + "index": 1 + }, + { + "name": "Paused", + "index": 2 + }, + { + "name": "PendingResume", + "fields": [ + { + "name": "scheduled_at", + "type": 4, + "typeName": "N" + }, + { + "name": "delay", + "type": 4, + "typeName": "N" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 560, + "type": { + "path": [ + "pallet_grandpa", + "StoredPendingChange" + ], + "params": [ + { + "name": "N", + "type": 4 + }, + { + "name": "Limit", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "scheduled_at", + "type": 4, + "typeName": "N" + }, + { + "name": "delay", + "type": 4, + "typeName": "N" + }, + { + "name": "next_authorities", + "type": 561, + "typeName": "BoundedAuthorityList" + }, + { + "name": "forced", + "type": 141, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 561, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 51 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 50, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 562, + "type": { + "path": [ + "pallet_grandpa", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "PauseFailed", + "index": 0, + "docs": [ + "Attempt to signal GRANDPA pause when the authority set isn't live", + "(either paused or already pending pause)." + ] + }, + { + "name": "ResumeFailed", + "index": 1, + "docs": [ + "Attempt to signal GRANDPA resume when the authority set isn't paused", + "(either live or already pending resume)." + ] + }, + { + "name": "ChangePending", + "index": 2, + "docs": [ + "Attempt to signal GRANDPA change with one already pending." + ] + }, + { + "name": "TooSoon", + "index": 3, + "docs": [ + "Cannot signal forced change so soon after last." + ] + }, + { + "name": "InvalidKeyOwnershipProof", + "index": 4, + "docs": [ + "A key ownership proof provided as part of an equivocation report is invalid." + ] + }, + { + "name": "InvalidEquivocationProof", + "index": 5, + "docs": [ + "An equivocation proof provided as part of an equivocation report is invalid." + ] + }, + { + "name": "DuplicateOffenceReport", + "index": 6, + "docs": [ + "A given equivocation report is valid but already previously reported." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 563, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 55 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 564, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 564, + "type": { + "def": { + "sequence": { + "type": 55 + } + } + } + }, + { + "id": 565, + "type": { + "path": [ + "frame_support", + "traits", + "misc", + "WrapperOpaque" + ], + "params": [ + { + "name": "T", + "type": 566 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 91 + }, + { + "type": 566, + "typeName": "T" + } + ] + } + } + } + }, + { + "id": 566, + "type": { + "path": [ + "pallet_im_online", + "BoundedOpaqueNetworkState" + ], + "params": [ + { + "name": "PeerIdEncodingLimit", + "type": null + }, + { + "name": "MultiAddrEncodingLimit", + "type": null + }, + { + "name": "AddressesLimit", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "peer_id", + "type": 567, + "typeName": "WeakBoundedVec" + }, + { + "name": "external_addresses", + "type": 568, + "typeName": "WeakBoundedVec, AddressesLimit\n>" + } + ] + } + } + } + }, + { + "id": 567, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 568, + "type": { + "path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 567 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 569, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 569, + "type": { + "def": { + "sequence": { + "type": 567 + } + } + } + }, + { + "id": 570, + "type": { + "path": [ + "pallet_im_online", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidKey", + "index": 0, + "docs": [ + "Non existent public key." + ] + }, + { + "name": "DuplicatedHeartbeat", + "index": 1, + "docs": [ + "Duplicated heartbeat." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 571, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 572 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 573, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 572, + "type": { + "def": { + "tuple": [ + 4, + 78, + 0 + ] + } + } + }, + { + "id": 573, + "type": { + "def": { + "sequence": { + "type": 572 + } + } + } + }, + { + "id": 574, + "type": { + "def": { + "tuple": [ + 575, + 6 + ] + } + } + }, + { + "id": 575, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 104, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 576, + "type": { + "path": [ + "pallet_democracy", + "types", + "ReferendumInfo" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Proposal", + "type": 78 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ongoing", + "fields": [ + { + "type": 577, + "typeName": "ReferendumStatus" + } + ], + "index": 0 + }, + { + "name": "Finished", + "fields": [ + { + "name": "approved", + "type": 44, + "typeName": "bool" + }, + { + "name": "end", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 577, + "type": { + "path": [ + "pallet_democracy", + "types", + "ReferendumStatus" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Proposal", + "type": 78 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "end", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "proposal", + "type": 78, + "typeName": "Proposal" + }, + { + "name": "threshold", + "type": 64, + "typeName": "VoteThreshold" + }, + { + "name": "delay", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "tally", + "type": 578, + "typeName": "Tally" + } + ] + } + } + } + }, + { + "id": 578, + "type": { + "path": [ + "pallet_democracy", + "types", + "Tally" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "ayes", + "type": 6, + "typeName": "Balance" + }, + { + "name": "nays", + "type": 6, + "typeName": "Balance" + }, + { + "name": "turnout", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 579, + "type": { + "path": [ + "pallet_democracy", + "vote", + "Voting" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "MaxVotes", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Direct", + "fields": [ + { + "name": "votes", + "type": 580, + "typeName": "BoundedVec<(ReferendumIndex, AccountVote), MaxVotes>" + }, + { + "name": "delegations", + "type": 583, + "typeName": "Delegations" + }, + { + "name": "prior", + "type": 584, + "typeName": "PriorLock" + } + ], + "index": 0 + }, + { + "name": "Delegating", + "fields": [ + { + "name": "balance", + "type": 6, + "typeName": "Balance" + }, + { + "name": "target", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "conviction", + "type": 140, + "typeName": "Conviction" + }, + { + "name": "delegations", + "type": 583, + "typeName": "Delegations" + }, + { + "name": "prior", + "type": 584, + "typeName": "PriorLock" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 580, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 581 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 582, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 581, + "type": { + "def": { + "tuple": [ + 4, + 65 + ] + } + } + }, + { + "id": 582, + "type": { + "def": { + "sequence": { + "type": 581 + } + } + } + }, + { + "id": 583, + "type": { + "path": [ + "pallet_democracy", + "types", + "Delegations" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "votes", + "type": 6, + "typeName": "Balance" + }, + { + "name": "capital", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 584, + "type": { + "path": [ + "pallet_democracy", + "vote", + "PriorLock" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "BlockNumber" + }, + { + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 585, + "type": { + "def": { + "tuple": [ + 78, + 64 + ] + } + } + }, + { + "id": 586, + "type": { + "def": { + "tuple": [ + 4, + 575 + ] + } + } + }, + { + "id": 587, + "type": { + "path": [ + "pallet_democracy", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "ValueLow", + "index": 0, + "docs": [ + "Value too low" + ] + }, + { + "name": "ProposalMissing", + "index": 1, + "docs": [ + "Proposal does not exist" + ] + }, + { + "name": "AlreadyCanceled", + "index": 2, + "docs": [ + "Cannot cancel the same proposal twice" + ] + }, + { + "name": "DuplicateProposal", + "index": 3, + "docs": [ + "Proposal already made" + ] + }, + { + "name": "ProposalBlacklisted", + "index": 4, + "docs": [ + "Proposal still blacklisted" + ] + }, + { + "name": "NotSimpleMajority", + "index": 5, + "docs": [ + "Next external proposal not simple majority" + ] + }, + { + "name": "InvalidHash", + "index": 6, + "docs": [ + "Invalid hash" + ] + }, + { + "name": "NoProposal", + "index": 7, + "docs": [ + "No external proposal" + ] + }, + { + "name": "AlreadyVetoed", + "index": 8, + "docs": [ + "Identity may not veto a proposal twice" + ] + }, + { + "name": "ReferendumInvalid", + "index": 9, + "docs": [ + "Vote given for invalid referendum" + ] + }, + { + "name": "NoneWaiting", + "index": 10, + "docs": [ + "No proposals waiting" + ] + }, + { + "name": "NotVoter", + "index": 11, + "docs": [ + "The given account did not vote on the referendum." + ] + }, + { + "name": "NoPermission", + "index": 12, + "docs": [ + "The actor has no permission to conduct the action." + ] + }, + { + "name": "AlreadyDelegating", + "index": 13, + "docs": [ + "The account is already delegating." + ] + }, + { + "name": "InsufficientFunds", + "index": 14, + "docs": [ + "Too high a balance was provided that the account cannot afford." + ] + }, + { + "name": "NotDelegating", + "index": 15, + "docs": [ + "The account is not currently delegating." + ] + }, + { + "name": "VotesExist", + "index": 16, + "docs": [ + "The account currently has votes attached to it and the operation cannot succeed until", + "these are removed, either through `unvote` or `reap_vote`." + ] + }, + { + "name": "InstantNotAllowed", + "index": 17, + "docs": [ + "The instant referendum origin is currently disallowed." + ] + }, + { + "name": "Nonsense", + "index": 18, + "docs": [ + "Delegation to oneself makes no sense." + ] + }, + { + "name": "WrongUpperBound", + "index": 19, + "docs": [ + "Invalid upper bound." + ] + }, + { + "name": "MaxVotesReached", + "index": 20, + "docs": [ + "Maximum number of votes reached." + ] + }, + { + "name": "TooMany", + "index": 21, + "docs": [ + "Maximum number of items reached." + ] + }, + { + "name": "VotingPeriodLow", + "index": 22, + "docs": [ + "Voting period too low" + ] + }, + { + "name": "PreimageNotExist", + "index": 23, + "docs": [ + "The preimage does not exist." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 588, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 12 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 474, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 589, + "type": { + "path": [ + "pallet_collective", + "Votes" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ProposalIndex" + }, + { + "name": "threshold", + "type": 4, + "typeName": "MemberCount" + }, + { + "name": "ayes", + "type": 104, + "typeName": "Vec" + }, + { + "name": "nays", + "type": 104, + "typeName": "Vec" + }, + { + "name": "end", + "type": 4, + "typeName": "BlockNumber" + } + ] + } + } + } + }, + { + "id": 590, + "type": { + "path": [ + "pallet_collective", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotMember", + "index": 0, + "docs": [ + "Account is not a member" + ] + }, + { + "name": "DuplicateProposal", + "index": 1, + "docs": [ + "Duplicate proposals not allowed" + ] + }, + { + "name": "ProposalMissing", + "index": 2, + "docs": [ + "Proposal must exist" + ] + }, + { + "name": "WrongIndex", + "index": 3, + "docs": [ + "Mismatched index" + ] + }, + { + "name": "DuplicateVote", + "index": 4, + "docs": [ + "Duplicate vote ignored" + ] + }, + { + "name": "AlreadyInitialized", + "index": 5, + "docs": [ + "Members are already initialized!" + ] + }, + { + "name": "TooEarly", + "index": 6, + "docs": [ + "The close call was made too early, before the end of the voting." + ] + }, + { + "name": "TooManyProposals", + "index": 7, + "docs": [ + "There can only be a maximum of `MaxProposals` active proposals." + ] + }, + { + "name": "WrongProposalWeight", + "index": 8, + "docs": [ + "The given weight bound for the proposal was too low." + ] + }, + { + "name": "WrongProposalLength", + "index": 9, + "docs": [ + "The given length bound for the proposal was too low." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 591, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 12 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 474, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 592, + "type": { + "path": [ + "pallet_collective", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotMember", + "index": 0, + "docs": [ + "Account is not a member" + ] + }, + { + "name": "DuplicateProposal", + "index": 1, + "docs": [ + "Duplicate proposals not allowed" + ] + }, + { + "name": "ProposalMissing", + "index": 2, + "docs": [ + "Proposal must exist" + ] + }, + { + "name": "WrongIndex", + "index": 3, + "docs": [ + "Mismatched index" + ] + }, + { + "name": "DuplicateVote", + "index": 4, + "docs": [ + "Duplicate vote ignored" + ] + }, + { + "name": "AlreadyInitialized", + "index": 5, + "docs": [ + "Members are already initialized!" + ] + }, + { + "name": "TooEarly", + "index": 6, + "docs": [ + "The close call was made too early, before the end of the voting." + ] + }, + { + "name": "TooManyProposals", + "index": 7, + "docs": [ + "There can only be a maximum of `MaxProposals` active proposals." + ] + }, + { + "name": "WrongProposalWeight", + "index": 8, + "docs": [ + "The given weight bound for the proposal was too low." + ] + }, + { + "name": "WrongProposalLength", + "index": 9, + "docs": [ + "The given length bound for the proposal was too low." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 593, + "type": { + "def": { + "sequence": { + "type": 594 + } + } + } + }, + { + "id": 594, + "type": { + "path": [ + "pallet_elections_phragmen", + "SeatHolder" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "stake", + "type": 6, + "typeName": "Balance" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 595, + "type": { + "path": [ + "pallet_elections_phragmen", + "Voter" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "votes", + "type": 104, + "typeName": "Vec" + }, + { + "name": "stake", + "type": 6, + "typeName": "Balance" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 596, + "type": { + "path": [ + "pallet_elections_phragmen", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "UnableToVote", + "index": 0, + "docs": [ + "Cannot vote when no candidates or members exist." + ] + }, + { + "name": "NoVotes", + "index": 1, + "docs": [ + "Must vote for at least one candidate." + ] + }, + { + "name": "TooManyVotes", + "index": 2, + "docs": [ + "Cannot vote more than candidates." + ] + }, + { + "name": "MaximumVotesExceeded", + "index": 3, + "docs": [ + "Cannot vote more than maximum allowed." + ] + }, + { + "name": "LowBalance", + "index": 4, + "docs": [ + "Cannot vote with stake less than minimum balance." + ] + }, + { + "name": "UnableToPayBond", + "index": 5, + "docs": [ + "Voter can not pay voting bond." + ] + }, + { + "name": "MustBeVoter", + "index": 6, + "docs": [ + "Must be a voter." + ] + }, + { + "name": "DuplicatedCandidate", + "index": 7, + "docs": [ + "Duplicated candidate submission." + ] + }, + { + "name": "TooManyCandidates", + "index": 8, + "docs": [ + "Too many candidates have been created." + ] + }, + { + "name": "MemberSubmit", + "index": 9, + "docs": [ + "Member cannot re-submit candidacy." + ] + }, + { + "name": "RunnerUpSubmit", + "index": 10, + "docs": [ + "Runner cannot re-submit candidacy." + ] + }, + { + "name": "InsufficientCandidateFunds", + "index": 11, + "docs": [ + "Candidate does not have enough funds." + ] + }, + { + "name": "NotMember", + "index": 12, + "docs": [ + "Not a member." + ] + }, + { + "name": "InvalidWitnessData", + "index": 13, + "docs": [ + "The provided count of number of candidates is incorrect." + ] + }, + { + "name": "InvalidVoteCount", + "index": 14, + "docs": [ + "The provided count of number of votes is incorrect." + ] + }, + { + "name": "InvalidRenouncing", + "index": 15, + "docs": [ + "The renouncing origin presented a wrong `Renouncing` parameter." + ] + }, + { + "name": "InvalidReplacement", + "index": 16, + "docs": [ + "Prediction regarding replacement after member removal is wrong." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 597, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 104, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 598, + "type": { + "path": [ + "pallet_membership", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "AlreadyMember", + "index": 0, + "docs": [ + "Already a member." + ] + }, + { + "name": "NotMember", + "index": 1, + "docs": [ + "Not a member." + ] + }, + { + "name": "TooManyMembers", + "index": 2, + "docs": [ + "Too many members." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 599, + "type": { + "path": [ + "pallet_treasury", + "Proposal" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "proposer", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "value", + "type": 6, + "typeName": "Balance" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "bond", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 600, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 109, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 601, + "type": { + "path": [ + "sp_arithmetic", + "per_things", + "Permill" + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 602, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 6 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 6 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 603, + "type": { + "path": [ + "frame_support", + "PalletId" + ], + "def": { + "composite": { + "fields": [ + { + "type": 198, + "typeName": "[u8; 8]" + } + ] + } + } + } + }, + { + "id": 604, + "type": { + "path": [ + "pallet_treasury", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InsufficientProposersBalance", + "index": 0, + "docs": [ + "Proposer's balance is too low." + ] + }, + { + "name": "InvalidIndex", + "index": 1, + "docs": [ + "No proposal or bounty at that index." + ] + }, + { + "name": "TooManyApprovals", + "index": 2, + "docs": [ + "Too many approvals in the queue." + ] + }, + { + "name": "InsufficientPermission", + "index": 3, + "docs": [ + "The spend origin is valid but the amount it is allowed to spend is lower than the", + "amount to be spent." + ] + }, + { + "name": "ProposalNotApproved", + "index": 4, + "docs": [ + "Proposal has not been approved." + ] + } + ] + } + }, + "docs": [ + "Error for the treasury pallet." + ] + } + }, + { + "id": 605, + "type": { + "def": { + "tuple": [ + 0, + 77 + ] + } + } + }, + { + "id": 606, + "type": { + "path": [ + "pallet_conviction_voting", + "vote", + "Voting" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "PollIndex", + "type": 4 + }, + { + "name": "MaxVotes", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Casting", + "fields": [ + { + "type": 607, + "typeName": "Casting" + } + ], + "index": 0 + }, + { + "name": "Delegating", + "fields": [ + { + "type": 613, + "typeName": "Delegating" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 607, + "type": { + "path": [ + "pallet_conviction_voting", + "vote", + "Casting" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "PollIndex", + "type": 4 + }, + { + "name": "MaxVotes", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "votes", + "type": 608, + "typeName": "BoundedVec<(PollIndex, AccountVote), MaxVotes>" + }, + { + "name": "delegations", + "type": 611, + "typeName": "Delegations" + }, + { + "name": "prior", + "type": 612, + "typeName": "PriorLock" + } + ] + } + } + } + }, + { + "id": 608, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 609 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 610, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 609, + "type": { + "def": { + "tuple": [ + 4, + 151 + ] + } + } + }, + { + "id": 610, + "type": { + "def": { + "sequence": { + "type": 609 + } + } + } + }, + { + "id": 611, + "type": { + "path": [ + "pallet_conviction_voting", + "types", + "Delegations" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "votes", + "type": 6, + "typeName": "Balance" + }, + { + "name": "capital", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 612, + "type": { + "path": [ + "pallet_conviction_voting", + "vote", + "PriorLock" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 4, + "typeName": "BlockNumber" + }, + { + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 613, + "type": { + "path": [ + "pallet_conviction_voting", + "vote", + "Delegating" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "balance", + "type": 6, + "typeName": "Balance" + }, + { + "name": "target", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "conviction", + "type": 153, + "typeName": "Conviction" + }, + { + "name": "delegations", + "type": 611, + "typeName": "Delegations" + }, + { + "name": "prior", + "type": 612, + "typeName": "PriorLock" + } + ] + } + } + } + }, + { + "id": 614, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 615 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 616, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 615, + "type": { + "def": { + "tuple": [ + 77, + 6 + ] + } + } + }, + { + "id": 616, + "type": { + "def": { + "sequence": { + "type": 615 + } + } + } + }, + { + "id": 617, + "type": { + "path": [ + "pallet_conviction_voting", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotOngoing", + "index": 0, + "docs": [ + "Poll is not ongoing." + ] + }, + { + "name": "NotVoter", + "index": 1, + "docs": [ + "The given account did not vote on the poll." + ] + }, + { + "name": "NoPermission", + "index": 2, + "docs": [ + "The actor has no permission to conduct the action." + ] + }, + { + "name": "NoPermissionYet", + "index": 3, + "docs": [ + "The actor has no permission to conduct the action right now but will do in the future." + ] + }, + { + "name": "AlreadyDelegating", + "index": 4, + "docs": [ + "The account is already delegating." + ] + }, + { + "name": "AlreadyVoting", + "index": 5, + "docs": [ + "The account currently has votes attached to it and the operation cannot succeed until", + "these are removed, either through `unvote` or `reap_vote`." + ] + }, + { + "name": "InsufficientFunds", + "index": 6, + "docs": [ + "Too high a balance was provided that the account cannot afford." + ] + }, + { + "name": "NotDelegating", + "index": 7, + "docs": [ + "The account is not currently delegating." + ] + }, + { + "name": "Nonsense", + "index": 8, + "docs": [ + "Delegation to oneself makes no sense." + ] + }, + { + "name": "MaxVotesReached", + "index": 9, + "docs": [ + "Maximum number of votes reached." + ] + }, + { + "name": "ClassNeeded", + "index": 10, + "docs": [ + "The class must be supplied since it is not easily determinable from the state." + ] + }, + { + "name": "BadClass", + "index": 11, + "docs": [ + "The class ID supplied is invalid." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 618, + "type": { + "path": [ + "pallet_referenda", + "types", + "ReferendumInfo" + ], + "params": [ + { + "name": "TrackId", + "type": 77 + }, + { + "name": "RuntimeOrigin", + "type": 156 + }, + { + "name": "Moment", + "type": 4 + }, + { + "name": "Call", + "type": 78 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Tally", + "type": 435 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ScheduleAddress", + "type": 31 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Ongoing", + "fields": [ + { + "type": 619, + "typeName": "ReferendumStatus" + } + ], + "index": 0 + }, + { + "name": "Approved", + "fields": [ + { + "type": 4, + "typeName": "Moment" + }, + { + "type": 621, + "typeName": "Option>" + }, + { + "type": 621, + "typeName": "Option>" + } + ], + "index": 1 + }, + { + "name": "Rejected", + "fields": [ + { + "type": 4, + "typeName": "Moment" + }, + { + "type": 621, + "typeName": "Option>" + }, + { + "type": 621, + "typeName": "Option>" + } + ], + "index": 2 + }, + { + "name": "Cancelled", + "fields": [ + { + "type": 4, + "typeName": "Moment" + }, + { + "type": 621, + "typeName": "Option>" + }, + { + "type": 621, + "typeName": "Option>" + } + ], + "index": 3 + }, + { + "name": "TimedOut", + "fields": [ + { + "type": 4, + "typeName": "Moment" + }, + { + "type": 621, + "typeName": "Option>" + }, + { + "type": 621, + "typeName": "Option>" + } + ], + "index": 4 + }, + { + "name": "Killed", + "fields": [ + { + "type": 4, + "typeName": "Moment" + } + ], + "index": 5 + } + ] + } + } + } + }, + { + "id": 619, + "type": { + "path": [ + "pallet_referenda", + "types", + "ReferendumStatus" + ], + "params": [ + { + "name": "TrackId", + "type": 77 + }, + { + "name": "RuntimeOrigin", + "type": 156 + }, + { + "name": "Moment", + "type": 4 + }, + { + "name": "Call", + "type": 78 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Tally", + "type": 435 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ScheduleAddress", + "type": 31 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "track", + "type": 77, + "typeName": "TrackId" + }, + { + "name": "origin", + "type": 156, + "typeName": "RuntimeOrigin" + }, + { + "name": "proposal", + "type": 78, + "typeName": "Call" + }, + { + "name": "enactment", + "type": 172, + "typeName": "DispatchTime" + }, + { + "name": "submitted", + "type": 4, + "typeName": "Moment" + }, + { + "name": "submission_deposit", + "type": 620, + "typeName": "Deposit" + }, + { + "name": "decision_deposit", + "type": 621, + "typeName": "Option>" + }, + { + "name": "deciding", + "type": 622, + "typeName": "Option>" + }, + { + "name": "tally", + "type": 435, + "typeName": "Tally" + }, + { + "name": "in_queue", + "type": 44, + "typeName": "bool" + }, + { + "name": "alarm", + "type": 624, + "typeName": "Option<(Moment, ScheduleAddress)>" + } + ] + } + } + } + }, + { + "id": 620, + "type": { + "path": [ + "pallet_referenda", + "types", + "Deposit" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 621, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 620 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 620 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 622, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 623 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 623 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 623, + "type": { + "path": [ + "pallet_referenda", + "types", + "DecidingStatus" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "since", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "confirming", + "type": 141, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 624, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 625 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 625 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 625, + "type": { + "def": { + "tuple": [ + 4, + 31 + ] + } + } + }, + { + "id": 626, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 627 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 628, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 627, + "type": { + "def": { + "tuple": [ + 4, + 6 + ] + } + } + }, + { + "id": 628, + "type": { + "def": { + "sequence": { + "type": 627 + } + } + } + }, + { + "id": 629, + "type": { + "def": { + "sequence": { + "type": 630 + } + } + } + }, + { + "id": 630, + "type": { + "def": { + "tuple": [ + 77, + 631 + ] + } + } + }, + { + "id": 631, + "type": { + "path": [ + "pallet_referenda", + "types", + "TrackInfo" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "Moment", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "name", + "type": 477, + "typeName": "&'static str" + }, + { + "name": "max_deciding", + "type": 4, + "typeName": "u32" + }, + { + "name": "decision_deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "prepare_period", + "type": 4, + "typeName": "Moment" + }, + { + "name": "decision_period", + "type": 4, + "typeName": "Moment" + }, + { + "name": "confirm_period", + "type": 4, + "typeName": "Moment" + }, + { + "name": "min_enactment_period", + "type": 4, + "typeName": "Moment" + }, + { + "name": "min_approval", + "type": 632, + "typeName": "Curve" + }, + { + "name": "min_support", + "type": 632, + "typeName": "Curve" + } + ] + } + } + } + }, + { + "id": 632, + "type": { + "path": [ + "pallet_referenda", + "types", + "Curve" + ], + "def": { + "variant": { + "variants": [ + { + "name": "LinearDecreasing", + "fields": [ + { + "name": "length", + "type": 41, + "typeName": "Perbill" + }, + { + "name": "floor", + "type": 41, + "typeName": "Perbill" + }, + { + "name": "ceil", + "type": 41, + "typeName": "Perbill" + } + ], + "index": 0 + }, + { + "name": "SteppedDecreasing", + "fields": [ + { + "name": "begin", + "type": 41, + "typeName": "Perbill" + }, + { + "name": "end", + "type": 41, + "typeName": "Perbill" + }, + { + "name": "step", + "type": 41, + "typeName": "Perbill" + }, + { + "name": "period", + "type": 41, + "typeName": "Perbill" + } + ], + "index": 1 + }, + { + "name": "Reciprocal", + "fields": [ + { + "name": "factor", + "type": 633, + "typeName": "FixedI64" + }, + { + "name": "x_offset", + "type": 633, + "typeName": "FixedI64" + }, + { + "name": "y_offset", + "type": 633, + "typeName": "FixedI64" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 633, + "type": { + "path": [ + "sp_arithmetic", + "fixed_point", + "FixedI64" + ], + "def": { + "composite": { + "fields": [ + { + "type": 634, + "typeName": "i64" + } + ] + } + } + } + }, + { + "id": 634, + "type": { + "def": { + "primitive": "i64" + } + } + }, + { + "id": 635, + "type": { + "path": [ + "pallet_referenda", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotOngoing", + "index": 0, + "docs": [ + "Referendum is not ongoing." + ] + }, + { + "name": "HasDeposit", + "index": 1, + "docs": [ + "Referendum's decision deposit is already paid." + ] + }, + { + "name": "BadTrack", + "index": 2, + "docs": [ + "The track identifier given was invalid." + ] + }, + { + "name": "Full", + "index": 3, + "docs": [ + "There are already a full complement of referenda in progress for this track." + ] + }, + { + "name": "QueueEmpty", + "index": 4, + "docs": [ + "The queue of the track is empty." + ] + }, + { + "name": "BadReferendum", + "index": 5, + "docs": [ + "The referendum index provided is invalid in this context." + ] + }, + { + "name": "NothingToDo", + "index": 6, + "docs": [ + "There was nothing to do in the advancement." + ] + }, + { + "name": "NoTrack", + "index": 7, + "docs": [ + "No track exists for the proposal origin." + ] + }, + { + "name": "Unfinished", + "index": 8, + "docs": [ + "Any deposit cannot be refunded until after the decision is over." + ] + }, + { + "name": "NoPermission", + "index": 9, + "docs": [ + "The deposit refunder is not the depositor." + ] + }, + { + "name": "NoDeposit", + "index": 10, + "docs": [ + "The deposit cannot be refunded since none was made." + ] + }, + { + "name": "BadStatus", + "index": 11, + "docs": [ + "The referendum status is invalid for this operation." + ] + }, + { + "name": "PreimageNotExist", + "index": 12, + "docs": [ + "The preimage does not exist." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 636, + "type": { + "path": [ + "pallet_whitelist", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "UnavailablePreImage", + "index": 0, + "docs": [ + "The preimage of the call hash could not be loaded." + ] + }, + { + "name": "UndecodableCall", + "index": 1, + "docs": [ + "The call could not be decoded." + ] + }, + { + "name": "InvalidCallWeightWitness", + "index": 2, + "docs": [ + "The weight of the decoded call was higher than the witness." + ] + }, + { + "name": "CallIsNotWhitelisted", + "index": 3, + "docs": [ + "The call was not whitelisted." + ] + }, + { + "name": "CallAlreadyWhitelisted", + "index": 4, + "docs": [ + "The call was already whitelisted; No-Op." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 637, + "type": { + "path": [ + "polkadot_runtime_common", + "claims", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidEthereumSignature", + "index": 0, + "docs": [ + "Invalid Ethereum signature." + ] + }, + { + "name": "SignerHasNoClaim", + "index": 1, + "docs": [ + "Ethereum address has no claim." + ] + }, + { + "name": "SenderHasNoClaim", + "index": 2, + "docs": [ + "Account ID sending transaction has no claim." + ] + }, + { + "name": "PotUnderflow", + "index": 3, + "docs": [ + "There's not enough in the pot to pay out some unvested amount. Generally implies a logic", + "error." + ] + }, + { + "name": "InvalidStatement", + "index": 4, + "docs": [ + "A needed statement was not included." + ] + }, + { + "name": "VestedBalanceExists", + "index": 5, + "docs": [ + "The account already has a vested balance." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 638, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 183 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 639, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 639, + "type": { + "def": { + "sequence": { + "type": 183 + } + } + } + }, + { + "id": 640, + "type": { + "path": [ + "pallet_vesting", + "Releases" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V0", + "index": 0 + }, + { + "name": "V1", + "index": 1 + } + ] + } + } + } + }, + { + "id": 641, + "type": { + "path": [ + "pallet_vesting", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotVesting", + "index": 0, + "docs": [ + "The account given is not vesting." + ] + }, + { + "name": "AtMaxVestingSchedules", + "index": 1, + "docs": [ + "The account already has `MaxVestingSchedules` count of schedules and thus", + "cannot add another one. Consider merging existing schedules in order to add another." + ] + }, + { + "name": "AmountLow", + "index": 2, + "docs": [ + "Amount being transferred is too low to create a vesting schedule." + ] + }, + { + "name": "ScheduleIndexOutOfBounds", + "index": 3, + "docs": [ + "An index was out of bounds of the vesting schedules." + ] + }, + { + "name": "InvalidScheduleParams", + "index": 4, + "docs": [ + "Failed to create a new schedule because some parameter was invalid." + ] + } + ] + } + }, + "docs": [ + "Error for the vesting pallet." + ] + } + }, + { + "id": 642, + "type": { + "path": [ + "pallet_utility", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "TooManyCalls", + "index": 0, + "docs": [ + "Too many calls batched." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 643, + "type": { + "path": [ + "pallet_identity", + "types", + "Registration" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "MaxJudgements", + "type": null + }, + { + "name": "MaxAdditionalFields", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "judgements", + "type": 644, + "typeName": "BoundedVec<(RegistrarIndex, Judgement), MaxJudgements>" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "info", + "type": 187, + "typeName": "IdentityInfo" + } + ] + } + } + } + }, + { + "id": 644, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 645 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 646, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 645, + "type": { + "def": { + "tuple": [ + 4, + 226 + ] + } + } + }, + { + "id": 646, + "type": { + "def": { + "sequence": { + "type": 645 + } + } + } + }, + { + "id": 647, + "type": { + "def": { + "tuple": [ + 6, + 648 + ] + } + } + }, + { + "id": 648, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 104, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 649, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 650 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 652, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 650, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 651 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 651 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 651, + "type": { + "path": [ + "pallet_identity", + "types", + "RegistrarInfo" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "fee", + "type": 6, + "typeName": "Balance" + }, + { + "name": "fields", + "type": 224, + "typeName": "IdentityFields" + } + ] + } + } + } + }, + { + "id": 652, + "type": { + "def": { + "sequence": { + "type": 650 + } + } + } + }, + { + "id": 653, + "type": { + "path": [ + "pallet_identity", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "TooManySubAccounts", + "index": 0, + "docs": [ + "Too many subs-accounts." + ] + }, + { + "name": "NotFound", + "index": 1, + "docs": [ + "Account isn't found." + ] + }, + { + "name": "NotNamed", + "index": 2, + "docs": [ + "Account isn't named." + ] + }, + { + "name": "EmptyIndex", + "index": 3, + "docs": [ + "Empty index." + ] + }, + { + "name": "FeeChanged", + "index": 4, + "docs": [ + "Fee is changed." + ] + }, + { + "name": "NoIdentity", + "index": 5, + "docs": [ + "No identity found." + ] + }, + { + "name": "StickyJudgement", + "index": 6, + "docs": [ + "Sticky judgement." + ] + }, + { + "name": "JudgementGiven", + "index": 7, + "docs": [ + "Judgement given." + ] + }, + { + "name": "InvalidJudgement", + "index": 8, + "docs": [ + "Invalid judgement." + ] + }, + { + "name": "InvalidIndex", + "index": 9, + "docs": [ + "The index is invalid." + ] + }, + { + "name": "InvalidTarget", + "index": 10, + "docs": [ + "The target is invalid." + ] + }, + { + "name": "TooManyFields", + "index": 11, + "docs": [ + "Too many additional fields." + ] + }, + { + "name": "TooManyRegistrars", + "index": 12, + "docs": [ + "Maximum amount of registrars reached. Cannot add any more." + ] + }, + { + "name": "AlreadyClaimed", + "index": 13, + "docs": [ + "Account ID is already named." + ] + }, + { + "name": "NotSub", + "index": 14, + "docs": [ + "Sender is not a sub-account." + ] + }, + { + "name": "NotOwned", + "index": 15, + "docs": [ + "Sub-account isn't owned by sender." + ] + }, + { + "name": "JudgementForDifferentIdentity", + "index": 16, + "docs": [ + "The provided judgement was for a different identity." + ] + }, + { + "name": "JudgementPaymentFailed", + "index": 17, + "docs": [ + "Error that occurs when there is an issue paying for judgement." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 654, + "type": { + "def": { + "tuple": [ + 655, + 6 + ] + } + } + }, + { + "id": 655, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 656 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 657, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 656, + "type": { + "path": [ + "pallet_proxy", + "ProxyDefinition" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ProxyType", + "type": 229 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "delegate", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "proxy_type", + "type": 229, + "typeName": "ProxyType" + }, + { + "name": "delay", + "type": 4, + "typeName": "BlockNumber" + } + ] + } + } + } + }, + { + "id": 657, + "type": { + "def": { + "sequence": { + "type": 656 + } + } + } + }, + { + "id": 658, + "type": { + "def": { + "tuple": [ + 659, + 6 + ] + } + } + }, + { + "id": 659, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 660 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 661, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 660, + "type": { + "path": [ + "pallet_proxy", + "Announcement" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Hash", + "type": 12 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "real", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "call_hash", + "type": 12, + "typeName": "Hash" + }, + { + "name": "height", + "type": 4, + "typeName": "BlockNumber" + } + ] + } + } + } + }, + { + "id": 661, + "type": { + "def": { + "sequence": { + "type": 660 + } + } + } + }, + { + "id": 662, + "type": { + "path": [ + "pallet_proxy", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "TooMany", + "index": 0, + "docs": [ + "There are too many proxies registered or too many announcements pending." + ] + }, + { + "name": "NotFound", + "index": 1, + "docs": [ + "Proxy registration not found." + ] + }, + { + "name": "NotProxy", + "index": 2, + "docs": [ + "Sender is not a proxy of the account to be proxied." + ] + }, + { + "name": "Unproxyable", + "index": 3, + "docs": [ + "A call which is incompatible with the proxy type's filter was attempted." + ] + }, + { + "name": "Duplicate", + "index": 4, + "docs": [ + "Account is already a proxy." + ] + }, + { + "name": "NoPermission", + "index": 5, + "docs": [ + "Call may not be made by proxy because it may escalate its privileges." + ] + }, + { + "name": "Unannounced", + "index": 6, + "docs": [ + "Announcement, if made at all, was made too recently." + ] + }, + { + "name": "NoSelfProxy", + "index": 7, + "docs": [ + "Cannot add self as proxy." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 663, + "type": { + "def": { + "tuple": [ + 0, + 1 + ] + } + } + }, + { + "id": 664, + "type": { + "path": [ + "pallet_multisig", + "Multisig" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "MaxApprovals", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "when", + "type": 232, + "typeName": "Timepoint" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "depositor", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "approvals", + "type": 665, + "typeName": "BoundedVec" + } + ] + } + } + } + }, + { + "id": 665, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 104, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 666, + "type": { + "path": [ + "pallet_multisig", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "MinimumThreshold", + "index": 0, + "docs": [ + "Threshold must be 2 or greater." + ] + }, + { + "name": "AlreadyApproved", + "index": 1, + "docs": [ + "Call is already approved by this signatory." + ] + }, + { + "name": "NoApprovalsNeeded", + "index": 2, + "docs": [ + "Call doesn't need any (more) approvals." + ] + }, + { + "name": "TooFewSignatories", + "index": 3, + "docs": [ + "There are too few signatories in the list." + ] + }, + { + "name": "TooManySignatories", + "index": 4, + "docs": [ + "There are too many signatories in the list." + ] + }, + { + "name": "SignatoriesOutOfOrder", + "index": 5, + "docs": [ + "The signatories were provided out of order; they should be ordered." + ] + }, + { + "name": "SenderInSignatories", + "index": 6, + "docs": [ + "The sender was contained in the other signatories; it shouldn't be." + ] + }, + { + "name": "NotFound", + "index": 7, + "docs": [ + "Multisig operation not found when attempting to cancel." + ] + }, + { + "name": "NotOwner", + "index": 8, + "docs": [ + "Only the account that originally created the multisig is able to cancel it." + ] + }, + { + "name": "NoTimepoint", + "index": 9, + "docs": [ + "No timepoint was given, yet the multisig operation is already underway." + ] + }, + { + "name": "WrongTimepoint", + "index": 10, + "docs": [ + "A different timepoint was given to the multisig operation that is underway." + ] + }, + { + "name": "UnexpectedTimepoint", + "index": 11, + "docs": [ + "A timepoint was given, yet no multisig operation is underway." + ] + }, + { + "name": "MaxWeightTooLow", + "index": 12, + "docs": [ + "The maximum weight information provided was too low." + ] + }, + { + "name": "AlreadyStored", + "index": 13, + "docs": [ + "The data to be stored is already stored." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 667, + "type": { + "path": [ + "pallet_bounties", + "Bounty" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "proposer", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "value", + "type": 6, + "typeName": "Balance" + }, + { + "name": "fee", + "type": 6, + "typeName": "Balance" + }, + { + "name": "curator_deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "bond", + "type": 6, + "typeName": "Balance" + }, + { + "name": "status", + "type": 668, + "typeName": "BountyStatus" + } + ] + } + } + } + }, + { + "id": 668, + "type": { + "path": [ + "pallet_bounties", + "BountyStatus" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Proposed", + "index": 0 + }, + { + "name": "Approved", + "index": 1 + }, + { + "name": "Funded", + "index": 2 + }, + { + "name": "CuratorProposed", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId" + } + ], + "index": 3 + }, + { + "name": "Active", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "update_due", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 4 + }, + { + "name": "PendingPayout", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "unlock_at", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 5 + } + ] + } + } + } + }, + { + "id": 669, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 670, + "type": { + "path": [ + "pallet_bounties", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InsufficientProposersBalance", + "index": 0, + "docs": [ + "Proposer's balance is too low." + ] + }, + { + "name": "InvalidIndex", + "index": 1, + "docs": [ + "No proposal or bounty at that index." + ] + }, + { + "name": "ReasonTooBig", + "index": 2, + "docs": [ + "The reason given is just too big." + ] + }, + { + "name": "UnexpectedStatus", + "index": 3, + "docs": [ + "The bounty status is unexpected." + ] + }, + { + "name": "RequireCurator", + "index": 4, + "docs": [ + "Require bounty curator." + ] + }, + { + "name": "InvalidValue", + "index": 5, + "docs": [ + "Invalid bounty value." + ] + }, + { + "name": "InvalidFee", + "index": 6, + "docs": [ + "Invalid bounty fee." + ] + }, + { + "name": "PendingPayout", + "index": 7, + "docs": [ + "A bounty payout is pending.", + "To cancel the bounty, you must unassign and slash the curator." + ] + }, + { + "name": "Premature", + "index": 8, + "docs": [ + "The bounties cannot be claimed/closed because it's still in the countdown period." + ] + }, + { + "name": "HasActiveChildBounty", + "index": 9, + "docs": [ + "The bounty cannot be closed because it has active child bounties." + ] + }, + { + "name": "TooManyQueued", + "index": 10, + "docs": [ + "Too many approvals are already queued." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 671, + "type": { + "path": [ + "pallet_child_bounties", + "ChildBounty" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "parent_bounty", + "type": 4, + "typeName": "BountyIndex" + }, + { + "name": "value", + "type": 6, + "typeName": "Balance" + }, + { + "name": "fee", + "type": 6, + "typeName": "Balance" + }, + { + "name": "curator_deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "status", + "type": 672, + "typeName": "ChildBountyStatus" + } + ] + } + } + } + }, + { + "id": 672, + "type": { + "path": [ + "pallet_child_bounties", + "ChildBountyStatus" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Added", + "index": 0 + }, + { + "name": "CuratorProposed", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId" + } + ], + "index": 1 + }, + { + "name": "Active", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId" + } + ], + "index": 2 + }, + { + "name": "PendingPayout", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "unlock_at", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 673, + "type": { + "path": [ + "pallet_child_bounties", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "ParentBountyNotActive", + "index": 0, + "docs": [ + "The parent bounty is not in active state." + ] + }, + { + "name": "InsufficientBountyBalance", + "index": 1, + "docs": [ + "The bounty balance is not enough to add new child-bounty." + ] + }, + { + "name": "TooManyChildBounties", + "index": 2, + "docs": [ + "Number of child bounties exceeds limit `MaxActiveChildBountyCount`." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 674, + "type": { + "path": [ + "pallet_tips", + "OpenTip" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Hash", + "type": 12 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "reason", + "type": 12, + "typeName": "Hash" + }, + { + "name": "who", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "finder", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "closes", + "type": 141, + "typeName": "Option" + }, + { + "name": "tips", + "type": 71, + "typeName": "Vec<(AccountId, Balance)>" + }, + { + "name": "finders_fee", + "type": 44, + "typeName": "bool" + } + ] + } + } + } + }, + { + "id": 675, + "type": { + "path": [ + "pallet_tips", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "ReasonTooBig", + "index": 0, + "docs": [ + "The reason given is just too big." + ] + }, + { + "name": "AlreadyKnown", + "index": 1, + "docs": [ + "The tip was already found/started." + ] + }, + { + "name": "UnknownTip", + "index": 2, + "docs": [ + "The tip hash is unknown." + ] + }, + { + "name": "NotFinder", + "index": 3, + "docs": [ + "The account attempting to retract the tip is not the finder of the tip." + ] + }, + { + "name": "StillOpen", + "index": 4, + "docs": [ + "The tip cannot be claimed/closed because there are not enough tippers yet." + ] + }, + { + "name": "Premature", + "index": 5, + "docs": [ + "The tip cannot be claimed/closed because it's still in the countdown period." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 676, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "ReadySolution" + ], + "params": [ + { + "name": "AccountId", + "type": null + }, + { + "name": "MaxWinners", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "supports", + "type": 677, + "typeName": "BoundedSupports" + }, + { + "name": "score", + "type": 289, + "typeName": "ElectionScore" + }, + { + "name": "compute", + "type": 451, + "typeName": "ElectionCompute" + } + ] + } + } + } + }, + { + "id": 677, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 293 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 292, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 678, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "RoundSnapshot" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "DataProvider", + "type": 679 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "voters", + "type": 680, + "typeName": "Vec" + }, + { + "name": "targets", + "type": 104, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 679, + "type": { + "def": { + "tuple": [ + 0, + 11, + 536 + ] + } + } + }, + { + "id": 680, + "type": { + "def": { + "sequence": { + "type": 679 + } + } + } + }, + { + "id": 681, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 682 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 683, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 682, + "type": { + "def": { + "tuple": [ + 289, + 4, + 4 + ] + } + } + }, + { + "id": 683, + "type": { + "def": { + "sequence": { + "type": 682 + } + } + } + }, + { + "id": 684, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "signed", + "SignedSubmission" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Solution", + "type": 238 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "raw_solution", + "type": 237, + "typeName": "RawSolution" + }, + { + "name": "call_fee", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 685, + "type": { + "path": [ + "pallet_election_provider_multi_phase", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "PreDispatchEarlySubmission", + "index": 0, + "docs": [ + "Submission was too early." + ] + }, + { + "name": "PreDispatchWrongWinnerCount", + "index": 1, + "docs": [ + "Wrong number of winners presented." + ] + }, + { + "name": "PreDispatchWeakSubmission", + "index": 2, + "docs": [ + "Submission was too weak, score-wise." + ] + }, + { + "name": "SignedQueueFull", + "index": 3, + "docs": [ + "The queue was full, and the solution was not better than any of the existing ones." + ] + }, + { + "name": "SignedCannotPayDeposit", + "index": 4, + "docs": [ + "The origin failed to pay the deposit." + ] + }, + { + "name": "SignedInvalidWitness", + "index": 5, + "docs": [ + "Witness data to dispatchable is invalid." + ] + }, + { + "name": "SignedTooMuchWeight", + "index": 6, + "docs": [ + "The signed submission consumes too much weight" + ] + }, + { + "name": "OcwCallWrongEra", + "index": 7, + "docs": [ + "OCW submitted solution for wrong round" + ] + }, + { + "name": "MissingSnapshotMetadata", + "index": 8, + "docs": [ + "Snapshot metadata should exist but didn't." + ] + }, + { + "name": "InvalidSubmissionIndex", + "index": 9, + "docs": [ + "`Self::insert_submission` returned an invalid index." + ] + }, + { + "name": "CallNotAllowed", + "index": 10, + "docs": [ + "The call is not allowed at this point." + ] + }, + { + "name": "FallbackFailed", + "index": 11, + "docs": [ + "The fallback failed" + ] + }, + { + "name": "BoundNotMet", + "index": 12, + "docs": [ + "Some bound not met" + ] + }, + { + "name": "TooManyWinners", + "index": 13, + "docs": [ + "Submitted solution has too many winners" + ] + } + ] + } + }, + "docs": [ + "Error of the pallet that can be returned in response to dispatches." + ] + } + }, + { + "id": 686, + "type": { + "path": [ + "pallet_bags_list", + "list", + "Node" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "id", + "type": 0, + "typeName": "T::AccountId" + }, + { + "name": "prev", + "type": 144, + "typeName": "Option" + }, + { + "name": "next", + "type": 144, + "typeName": "Option" + }, + { + "name": "bag_upper", + "type": 11, + "typeName": "T::Score" + }, + { + "name": "score", + "type": 11, + "typeName": "T::Score" + } + ] + } + } + } + }, + { + "id": 687, + "type": { + "path": [ + "pallet_bags_list", + "list", + "Bag" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "head", + "type": 144, + "typeName": "Option" + }, + { + "name": "tail", + "type": 144, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 688, + "type": { + "def": { + "sequence": { + "type": 11 + } + } + } + }, + { + "id": 689, + "type": { + "path": [ + "pallet_bags_list", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + }, + { + "name": "I", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "List", + "fields": [ + { + "type": 690, + "typeName": "ListError" + } + ], + "index": 0, + "docs": [ + "A error in the list interface implementation." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 690, + "type": { + "path": [ + "pallet_bags_list", + "list", + "ListError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Duplicate", + "index": 0 + }, + { + "name": "NotHeavier", + "index": 1 + }, + { + "name": "NotInSameBag", + "index": 2 + }, + { + "name": "NodeNotFound", + "index": 3 + } + ] + } + } + } + }, + { + "id": 691, + "type": { + "path": [ + "pallet_nomination_pools", + "PoolMember" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId" + }, + { + "name": "points", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "last_recorded_reward_counter", + "type": 528, + "typeName": "T::RewardCounter" + }, + { + "name": "unbonding_eras", + "type": 692, + "typeName": "BoundedBTreeMap, T::MaxUnbonding>" + } + ] + } + } + } + }, + { + "id": 692, + "type": { + "path": [ + "bounded_collections", + "bounded_btree_map", + "BoundedBTreeMap" + ], + "params": [ + { + "name": "K", + "type": 4 + }, + { + "name": "V", + "type": 6 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 693, + "typeName": "BTreeMap" + } + ] + } + } + } + }, + { + "id": 693, + "type": { + "path": [ + "BTreeMap" + ], + "params": [ + { + "name": "K", + "type": 4 + }, + { + "name": "V", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 628 + } + ] + } + } + } + }, + { + "id": 694, + "type": { + "path": [ + "pallet_nomination_pools", + "BondedPoolInner" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "commission", + "type": 695, + "typeName": "Commission" + }, + { + "name": "member_counter", + "type": 4, + "typeName": "u32" + }, + { + "name": "points", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "roles", + "type": 698, + "typeName": "PoolRoles" + }, + { + "name": "state", + "type": 298, + "typeName": "PoolState" + } + ] + } + } + } + }, + { + "id": 695, + "type": { + "path": [ + "pallet_nomination_pools", + "Commission" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "current", + "type": 304, + "typeName": "Option<(Perbill, T::AccountId)>" + }, + { + "name": "max", + "type": 696, + "typeName": "Option" + }, + { + "name": "change_rate", + "type": 697, + "typeName": "Option>" + }, + { + "name": "throttle_from", + "type": 141, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 696, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 41 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 41 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 697, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 306 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 306 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 698, + "type": { + "path": [ + "pallet_nomination_pools", + "PoolRoles" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "depositor", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "root", + "type": 144, + "typeName": "Option" + }, + { + "name": "nominator", + "type": 144, + "typeName": "Option" + }, + { + "name": "bouncer", + "type": 144, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 699, + "type": { + "path": [ + "pallet_nomination_pools", + "RewardPool" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "last_recorded_reward_counter", + "type": 528, + "typeName": "T::RewardCounter" + }, + { + "name": "last_recorded_total_payouts", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "total_rewards_claimed", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "total_commission_pending", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "total_commission_claimed", + "type": 6, + "typeName": "BalanceOf" + } + ] + } + } + } + }, + { + "id": 700, + "type": { + "path": [ + "pallet_nomination_pools", + "SubPools" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "no_era", + "type": 701, + "typeName": "UnbondPool" + }, + { + "name": "with_era", + "type": 702, + "typeName": "BoundedBTreeMap, TotalUnbondingPools>" + } + ] + } + } + } + }, + { + "id": 701, + "type": { + "path": [ + "pallet_nomination_pools", + "UnbondPool" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "points", + "type": 6, + "typeName": "BalanceOf" + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf" + } + ] + } + } + } + }, + { + "id": 702, + "type": { + "path": [ + "bounded_collections", + "bounded_btree_map", + "BoundedBTreeMap" + ], + "params": [ + { + "name": "K", + "type": 4 + }, + { + "name": "V", + "type": 701 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 703, + "typeName": "BTreeMap" + } + ] + } + } + } + }, + { + "id": 703, + "type": { + "path": [ + "BTreeMap" + ], + "params": [ + { + "name": "K", + "type": 4 + }, + { + "name": "V", + "type": 701 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 704 + } + ] + } + } + } + }, + { + "id": 704, + "type": { + "def": { + "sequence": { + "type": 705 + } + } + } + }, + { + "id": 705, + "type": { + "def": { + "tuple": [ + 4, + 701 + ] + } + } + }, + { + "id": 706, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 707, + "type": { + "path": [ + "pallet_nomination_pools", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "PoolNotFound", + "index": 0, + "docs": [ + "A (bonded) pool id does not exist." + ] + }, + { + "name": "PoolMemberNotFound", + "index": 1, + "docs": [ + "An account is not a member." + ] + }, + { + "name": "RewardPoolNotFound", + "index": 2, + "docs": [ + "A reward pool does not exist. In all cases this is a system logic error." + ] + }, + { + "name": "SubPoolsNotFound", + "index": 3, + "docs": [ + "A sub pool does not exist." + ] + }, + { + "name": "AccountBelongsToOtherPool", + "index": 4, + "docs": [ + "An account is already delegating in another pool. An account may only belong to one", + "pool at a time." + ] + }, + { + "name": "FullyUnbonding", + "index": 5, + "docs": [ + "The member is fully unbonded (and thus cannot access the bonded and reward pool", + "anymore to, for example, collect rewards)." + ] + }, + { + "name": "MaxUnbondingLimit", + "index": 6, + "docs": [ + "The member cannot unbond further chunks due to reaching the limit." + ] + }, + { + "name": "CannotWithdrawAny", + "index": 7, + "docs": [ + "None of the funds can be withdrawn yet because the bonding duration has not passed." + ] + }, + { + "name": "MinimumBondNotMet", + "index": 8, + "docs": [ + "The amount does not meet the minimum bond to either join or create a pool.", + "", + "The depositor can never unbond to a value less than", + "`Pallet::depositor_min_bond`. The caller does not have nominating", + "permissions for the pool. Members can never unbond to a value below `MinJoinBond`." + ] + }, + { + "name": "OverflowRisk", + "index": 9, + "docs": [ + "The transaction could not be executed due to overflow risk for the pool." + ] + }, + { + "name": "NotDestroying", + "index": 10, + "docs": [ + "A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for", + "other members to be permissionlessly unbonded." + ] + }, + { + "name": "NotNominator", + "index": 11, + "docs": [ + "The caller does not have nominating permissions for the pool." + ] + }, + { + "name": "NotKickerOrDestroying", + "index": 12, + "docs": [ + "Either a) the caller cannot make a valid kick or b) the pool is not destroying." + ] + }, + { + "name": "NotOpen", + "index": 13, + "docs": [ + "The pool is not open to join" + ] + }, + { + "name": "MaxPools", + "index": 14, + "docs": [ + "The system is maxed out on pools." + ] + }, + { + "name": "MaxPoolMembers", + "index": 15, + "docs": [ + "Too many members in the pool or system." + ] + }, + { + "name": "CanNotChangeState", + "index": 16, + "docs": [ + "The pools state cannot be changed." + ] + }, + { + "name": "DoesNotHavePermission", + "index": 17, + "docs": [ + "The caller does not have adequate permissions." + ] + }, + { + "name": "MetadataExceedsMaxLen", + "index": 18, + "docs": [ + "Metadata exceeds [`Config::MaxMetadataLen`]" + ] + }, + { + "name": "Defensive", + "fields": [ + { + "type": 708, + "typeName": "DefensiveError" + } + ], + "index": 19, + "docs": [ + "Some error occurred that should never happen. This should be reported to the", + "maintainers." + ] + }, + { + "name": "PartialUnbondNotAllowedPermissionlessly", + "index": 20, + "docs": [ + "Partial unbonding now allowed permissionlessly." + ] + }, + { + "name": "MaxCommissionRestricted", + "index": 21, + "docs": [ + "The pool's max commission cannot be set higher than the existing value." + ] + }, + { + "name": "CommissionExceedsMaximum", + "index": 22, + "docs": [ + "The supplied commission exceeds the max allowed commission." + ] + }, + { + "name": "CommissionChangeThrottled", + "index": 23, + "docs": [ + "Not enough blocks have surpassed since the last commission update." + ] + }, + { + "name": "CommissionChangeRateNotAllowed", + "index": 24, + "docs": [ + "The submitted changes to commission change rate are not allowed." + ] + }, + { + "name": "NoPendingCommission", + "index": 25, + "docs": [ + "There is no pending commission to claim." + ] + }, + { + "name": "NoCommissionCurrentSet", + "index": 26, + "docs": [ + "No commission current has been set." + ] + }, + { + "name": "PoolIdInUse", + "index": 27, + "docs": [ + "Pool id currently in use." + ] + }, + { + "name": "InvalidPoolId", + "index": 28, + "docs": [ + "Pool id provided is not correct/usable." + ] + }, + { + "name": "BondExtraRestricted", + "index": 29, + "docs": [ + "Bonding extra is restricted to the exact pending reward amount." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 708, + "type": { + "path": [ + "pallet_nomination_pools", + "pallet", + "DefensiveError" + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotEnoughSpaceInUnbondPool", + "index": 0 + }, + { + "name": "PoolNotFound", + "index": 1 + }, + { + "name": "RewardPoolNotFound", + "index": 2 + }, + { + "name": "SubPoolsNotFound", + "index": 3 + }, + { + "name": "BondedStashKilledPrematurely", + "index": 4 + } + ] + } + } + } + }, + { + "id": 709, + "type": { + "path": [ + "pallet_fast_unstake", + "types", + "UnstakeRequest" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "stashes", + "type": 710, + "typeName": "BoundedVec<(T::AccountId, BalanceOf), T::BatchSize>" + }, + { + "name": "checked", + "type": 711, + "typeName": "BoundedVec>" + } + ] + } + } + } + }, + { + "id": 710, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 72 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 71, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 711, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 109, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 712, + "type": { + "path": [ + "pallet_fast_unstake", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotController", + "index": 0, + "docs": [ + "The provided Controller account was not found.", + "", + "This means that the given account is not bonded." + ] + }, + { + "name": "AlreadyQueued", + "index": 1, + "docs": [ + "The bonded account has already been queued." + ] + }, + { + "name": "NotFullyBonded", + "index": 2, + "docs": [ + "The bonded account has active unlocking chunks." + ] + }, + { + "name": "NotQueued", + "index": 3, + "docs": [ + "The provided un-staker is not in the `Queue`." + ] + }, + { + "name": "AlreadyHead", + "index": 4, + "docs": [ + "The provided un-staker is already in Head, and cannot deregister." + ] + }, + { + "name": "CallNotAllowed", + "index": 5, + "docs": [ + "The call is not allowed at this point because the pallet is not active." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 713, + "type": { + "path": [ + "polkadot_runtime_parachains", + "configuration", + "HostConfiguration" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "max_code_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_head_data_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_upward_queue_count", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_upward_queue_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_upward_message_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_upward_message_num_per_candidate", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_max_message_num_per_candidate", + "type": 4, + "typeName": "u32" + }, + { + "name": "validation_upgrade_cooldown", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "validation_upgrade_delay", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "async_backing_params", + "type": 309, + "typeName": "AsyncBackingParams" + }, + { + "name": "max_pov_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_downward_message_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "ump_service_total_weight", + "type": 9, + "typeName": "Weight" + }, + { + "name": "hrmp_max_parachain_outbound_channels", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_max_parathread_outbound_channels", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_sender_deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "hrmp_recipient_deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "hrmp_channel_max_capacity", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_channel_max_total_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_max_parachain_inbound_channels", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_max_parathread_inbound_channels", + "type": 4, + "typeName": "u32" + }, + { + "name": "hrmp_channel_max_message_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "executor_params", + "type": 310, + "typeName": "ExecutorParams" + }, + { + "name": "code_retention_period", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "parathread_cores", + "type": 4, + "typeName": "u32" + }, + { + "name": "parathread_retries", + "type": 4, + "typeName": "u32" + }, + { + "name": "group_rotation_frequency", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "chain_availability_period", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "thread_availability_period", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "scheduling_lookahead", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_validators_per_core", + "type": 141, + "typeName": "Option" + }, + { + "name": "max_validators", + "type": 141, + "typeName": "Option" + }, + { + "name": "dispute_period", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "dispute_post_conclusion_acceptance_period", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "no_show_slots", + "type": 4, + "typeName": "u32" + }, + { + "name": "n_delay_tranches", + "type": 4, + "typeName": "u32" + }, + { + "name": "zeroth_delay_tranche_width", + "type": 4, + "typeName": "u32" + }, + { + "name": "needed_approvals", + "type": 4, + "typeName": "u32" + }, + { + "name": "relay_vrf_modulo_samples", + "type": 4, + "typeName": "u32" + }, + { + "name": "ump_max_individual_weight", + "type": 9, + "typeName": "Weight" + }, + { + "name": "pvf_checking_enabled", + "type": 44, + "typeName": "bool" + }, + { + "name": "pvf_voting_ttl", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "minimum_validation_upgrade_delay", + "type": 4, + "typeName": "BlockNumber" + } + ] + } + } + } + }, + { + "id": 714, + "type": { + "def": { + "sequence": { + "type": 715 + } + } + } + }, + { + "id": 715, + "type": { + "def": { + "tuple": [ + 4, + 713 + ] + } + } + }, + { + "id": 716, + "type": { + "path": [ + "polkadot_runtime_parachains", + "configuration", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "InvalidNewValue", + "index": 0, + "docs": [ + "The new value for a configuration parameter is invalid." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 717, + "type": { + "def": { + "sequence": { + "type": 324 + } + } + } + }, + { + "id": 718, + "type": { + "def": { + "sequence": { + "type": 116 + } + } + } + }, + { + "id": 719, + "type": { + "path": [ + "polkadot_runtime_parachains", + "inclusion", + "AvailabilityBitfieldRecord" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "bitfield", + "type": 321, + "typeName": "AvailabilityBitfield" + }, + { + "name": "submitted_at", + "type": 4, + "typeName": "N" + } + ] + } + } + } + }, + { + "id": 720, + "type": { + "path": [ + "polkadot_runtime_parachains", + "inclusion", + "CandidatePendingAvailability" + ], + "params": [ + { + "name": "H", + "type": 12 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "core", + "type": 459, + "typeName": "CoreIndex" + }, + { + "name": "hash", + "type": 345, + "typeName": "CandidateHash" + }, + { + "name": "descriptor", + "type": 329, + "typeName": "CandidateDescriptor" + }, + { + "name": "availability_votes", + "type": 322, + "typeName": "BitVec" + }, + { + "name": "backers", + "type": 322, + "typeName": "BitVec" + }, + { + "name": "relay_parent_number", + "type": 4, + "typeName": "N" + }, + { + "name": "backed_in_number", + "type": 4, + "typeName": "N" + }, + { + "name": "backing_group", + "type": 460, + "typeName": "GroupIndex" + } + ] + } + } + } + }, + { + "id": 721, + "type": { + "path": [ + "polkadot_runtime_parachains", + "inclusion", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "UnsortedOrDuplicateValidatorIndices", + "index": 0, + "docs": [ + "Validator indices are out of order or contains duplicates." + ] + }, + { + "name": "UnsortedOrDuplicateDisputeStatementSet", + "index": 1, + "docs": [ + "Dispute statement sets are out of order or contain duplicates." + ] + }, + { + "name": "UnsortedOrDuplicateBackedCandidates", + "index": 2, + "docs": [ + "Backed candidates are out of order (core index) or contain duplicates." + ] + }, + { + "name": "UnexpectedRelayParent", + "index": 3, + "docs": [ + "A different relay parent was provided compared to the on-chain stored one." + ] + }, + { + "name": "WrongBitfieldSize", + "index": 4, + "docs": [ + "Availability bitfield has unexpected size." + ] + }, + { + "name": "BitfieldAllZeros", + "index": 5, + "docs": [ + "Bitfield consists of zeros only." + ] + }, + { + "name": "BitfieldDuplicateOrUnordered", + "index": 6, + "docs": [ + "Multiple bitfields submitted by same validator or validators out of order by index." + ] + }, + { + "name": "ValidatorIndexOutOfBounds", + "index": 7, + "docs": [ + "Validator index out of bounds." + ] + }, + { + "name": "InvalidBitfieldSignature", + "index": 8, + "docs": [ + "Invalid signature" + ] + }, + { + "name": "UnscheduledCandidate", + "index": 9, + "docs": [ + "Candidate submitted but para not scheduled." + ] + }, + { + "name": "CandidateScheduledBeforeParaFree", + "index": 10, + "docs": [ + "Candidate scheduled despite pending candidate already existing for the para." + ] + }, + { + "name": "WrongCollator", + "index": 11, + "docs": [ + "Candidate included with the wrong collator." + ] + }, + { + "name": "ScheduledOutOfOrder", + "index": 12, + "docs": [ + "Scheduled cores out of order." + ] + }, + { + "name": "HeadDataTooLarge", + "index": 13, + "docs": [ + "Head data exceeds the configured maximum." + ] + }, + { + "name": "PrematureCodeUpgrade", + "index": 14, + "docs": [ + "Code upgrade prematurely." + ] + }, + { + "name": "NewCodeTooLarge", + "index": 15, + "docs": [ + "Output code is too large" + ] + }, + { + "name": "CandidateNotInParentContext", + "index": 16, + "docs": [ + "Candidate not in parent context." + ] + }, + { + "name": "InvalidGroupIndex", + "index": 17, + "docs": [ + "Invalid group index in core assignment." + ] + }, + { + "name": "InsufficientBacking", + "index": 18, + "docs": [ + "Insufficient (non-majority) backing." + ] + }, + { + "name": "InvalidBacking", + "index": 19, + "docs": [ + "Invalid (bad signature, unknown validator, etc.) backing." + ] + }, + { + "name": "NotCollatorSigned", + "index": 20, + "docs": [ + "Collator did not sign PoV." + ] + }, + { + "name": "ValidationDataHashMismatch", + "index": 21, + "docs": [ + "The validation data hash does not match expected." + ] + }, + { + "name": "IncorrectDownwardMessageHandling", + "index": 22, + "docs": [ + "The downward message queue is not processed correctly." + ] + }, + { + "name": "InvalidUpwardMessages", + "index": 23, + "docs": [ + "At least one upward message sent does not pass the acceptance criteria." + ] + }, + { + "name": "HrmpWatermarkMishandling", + "index": 24, + "docs": [ + "The candidate didn't follow the rules of HRMP watermark advancement." + ] + }, + { + "name": "InvalidOutboundHrmp", + "index": 25, + "docs": [ + "The HRMP messages sent by the candidate is not valid." + ] + }, + { + "name": "InvalidValidationCodeHash", + "index": 26, + "docs": [ + "The validation code hash of the candidate is not valid." + ] + }, + { + "name": "ParaHeadMismatch", + "index": 27, + "docs": [ + "The `para_head` hash in the candidate descriptor doesn't match the hash of the actual para head in the", + "commitments." + ] + }, + { + "name": "BitfieldReferencesFreedCore", + "index": 28, + "docs": [ + "A bitfield that references a freed core,", + "either intentionally or as part of a concluded", + "invalid dispute." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 722, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "ScrapedOnChainVotes" + ], + "params": [ + { + "name": "H", + "type": 12 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "session", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "backing_validators_per_candidate", + "type": 723, + "typeName": "Vec<(CandidateReceipt, Vec<(ValidatorIndex, ValidityAttestation)>)\n>" + }, + { + "name": "disputes", + "type": 343, + "typeName": "MultiDisputeStatementSet" + } + ] + } + } + } + }, + { + "id": 723, + "type": { + "def": { + "sequence": { + "type": 724 + } + } + } + }, + { + "id": 724, + "type": { + "def": { + "tuple": [ + 458, + 725 + ] + } + } + }, + { + "id": 725, + "type": { + "def": { + "sequence": { + "type": 726 + } + } + } + }, + { + "id": 726, + "type": { + "def": { + "tuple": [ + 324, + 342 + ] + } + } + }, + { + "id": 727, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras_inherent", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "TooManyInclusionInherents", + "index": 0, + "docs": [ + "Inclusion inherent called more than once per block." + ] + }, + { + "name": "InvalidParentHeader", + "index": 1, + "docs": [ + "The hash of the submitted parent header doesn't correspond to the saved block hash of", + "the parent." + ] + }, + { + "name": "CandidateConcludedInvalid", + "index": 2, + "docs": [ + "Disputed candidate that was concluded invalid." + ] + }, + { + "name": "InherentOverweight", + "index": 3, + "docs": [ + "The data given to the inherent will result in an overweight block." + ] + }, + { + "name": "DisputeStatementsUnsortedOrDuplicates", + "index": 4, + "docs": [ + "The ordering of dispute statements was invalid." + ] + }, + { + "name": "DisputeInvalid", + "index": 5, + "docs": [ + "A dispute statement was invalid." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 728, + "type": { + "def": { + "sequence": { + "type": 717 + } + } + } + }, + { + "id": 729, + "type": { + "path": [ + "polkadot_runtime_parachains", + "scheduler", + "ParathreadClaimQueue" + ], + "def": { + "composite": { + "fields": [ + { + "name": "queue", + "type": 730, + "typeName": "Vec" + }, + { + "name": "next_core_offset", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 730, + "type": { + "def": { + "sequence": { + "type": 731 + } + } + } + }, + { + "id": 731, + "type": { + "path": [ + "polkadot_runtime_parachains", + "scheduler", + "QueuedParathread" + ], + "def": { + "composite": { + "fields": [ + { + "name": "claim", + "type": 732, + "typeName": "ParathreadEntry" + }, + { + "name": "core_offset", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 732, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "ParathreadEntry" + ], + "def": { + "composite": { + "fields": [ + { + "name": "claim", + "type": 733, + "typeName": "ParathreadClaim" + }, + { + "name": "retries", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 733, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "ParathreadClaim" + ], + "def": { + "composite": { + "fields": [ + { + "type": 162, + "typeName": "Id" + }, + { + "type": 330, + "typeName": "CollatorId" + } + ] + } + } + } + }, + { + "id": 734, + "type": { + "def": { + "sequence": { + "type": 735 + } + } + } + }, + { + "id": 735, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 736 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 736 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 736, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "CoreOccupied" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Parathread", + "fields": [ + { + "type": 732, + "typeName": "ParathreadEntry" + } + ], + "index": 0 + }, + { + "name": "Parachain", + "index": 1 + } + ] + } + } + } + }, + { + "id": 737, + "type": { + "def": { + "sequence": { + "type": 162 + } + } + } + }, + { + "id": 738, + "type": { + "def": { + "sequence": { + "type": 739 + } + } + } + }, + { + "id": 739, + "type": { + "path": [ + "polkadot_runtime_parachains", + "scheduler", + "CoreAssignment" + ], + "def": { + "composite": { + "fields": [ + { + "name": "core", + "type": 459, + "typeName": "CoreIndex" + }, + { + "name": "para_id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "kind", + "type": 740, + "typeName": "AssignmentKind" + }, + { + "name": "group_idx", + "type": 460, + "typeName": "GroupIndex" + } + ] + } + } + } + }, + { + "id": 740, + "type": { + "path": [ + "polkadot_runtime_parachains", + "scheduler", + "AssignmentKind" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Parachain", + "index": 0 + }, + { + "name": "Parathread", + "fields": [ + { + "type": 330, + "typeName": "CollatorId" + }, + { + "type": 4, + "typeName": "u32" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 741, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "PvfCheckActiveVoteState" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "votes_accept", + "type": 322, + "typeName": "BitVec" + }, + { + "name": "votes_reject", + "type": 322, + "typeName": "BitVec" + }, + { + "name": "age", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "created_at", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "causes", + "type": 742, + "typeName": "Vec>" + } + ] + } + } + } + }, + { + "id": 742, + "type": { + "def": { + "sequence": { + "type": 743 + } + } + } + }, + { + "id": 743, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "PvfCheckCause" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Onboarding", + "fields": [ + { + "type": 162, + "typeName": "ParaId" + } + ], + "index": 0 + }, + { + "name": "Upgrade", + "fields": [ + { + "name": "id", + "type": 162, + "typeName": "ParaId" + }, + { + "name": "relay_parent_number", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 744, + "type": { + "def": { + "sequence": { + "type": 332 + } + } + } + }, + { + "id": 745, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "ParaLifecycle" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Onboarding", + "index": 0 + }, + { + "name": "Parathread", + "index": 1 + }, + { + "name": "Parachain", + "index": 2 + }, + { + "name": "UpgradingParathread", + "index": 3 + }, + { + "name": "DowngradingParachain", + "index": 4 + }, + { + "name": "OffboardingParathread", + "index": 5 + }, + { + "name": "OffboardingParachain", + "index": 6 + } + ] + } + } + } + }, + { + "id": 746, + "type": { + "def": { + "tuple": [ + 162, + 4 + ] + } + } + }, + { + "id": 747, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "ParaPastCodeMeta" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "upgrade_times", + "type": 748, + "typeName": "Vec>" + }, + { + "name": "last_pruned", + "type": 141, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 748, + "type": { + "def": { + "sequence": { + "type": 749 + } + } + } + }, + { + "id": 749, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "ReplacementTimes" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "expected_at", + "type": 4, + "typeName": "N" + }, + { + "name": "activated_at", + "type": 4, + "typeName": "N" + } + ] + } + } + } + }, + { + "id": 750, + "type": { + "def": { + "sequence": { + "type": 746 + } + } + } + }, + { + "id": 751, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "UpgradeGoAhead" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Abort", + "index": 0 + }, + { + "name": "GoAhead", + "index": 1 + } + ] + } + } + } + }, + { + "id": 752, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "UpgradeRestriction" + ], + "def": { + "variant": { + "variants": [ + { + "name": "Present", + "index": 0 + } + ] + } + } + } + }, + { + "id": 753, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "ParaGenesisArgs" + ], + "def": { + "composite": { + "fields": [ + { + "name": "genesis_head", + "type": 340, + "typeName": "HeadData" + }, + { + "name": "validation_code", + "type": 339, + "typeName": "ValidationCode" + }, + { + "name": "para_kind", + "type": 44, + "typeName": "ParaKind" + } + ] + } + } + } + }, + { + "id": 754, + "type": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotRegistered", + "index": 0, + "docs": [ + "Para is not registered in our system." + ] + }, + { + "name": "CannotOnboard", + "index": 1, + "docs": [ + "Para cannot be onboarded because it is already tracked by our system." + ] + }, + { + "name": "CannotOffboard", + "index": 2, + "docs": [ + "Para cannot be offboarded at this time." + ] + }, + { + "name": "CannotUpgrade", + "index": 3, + "docs": [ + "Para cannot be upgraded to a parachain." + ] + }, + { + "name": "CannotDowngrade", + "index": 4, + "docs": [ + "Para cannot be downgraded to a parathread." + ] + }, + { + "name": "PvfCheckStatementStale", + "index": 5, + "docs": [ + "The statement for PVF pre-checking is stale." + ] + }, + { + "name": "PvfCheckStatementFuture", + "index": 6, + "docs": [ + "The statement for PVF pre-checking is for a future session." + ] + }, + { + "name": "PvfCheckValidatorIndexOutOfBounds", + "index": 7, + "docs": [ + "Claimed validator index is out of bounds." + ] + }, + { + "name": "PvfCheckInvalidSignature", + "index": 8, + "docs": [ + "The signature for the PVF pre-checking is invalid." + ] + }, + { + "name": "PvfCheckDoubleVote", + "index": 9, + "docs": [ + "The given validator already has cast a vote." + ] + }, + { + "name": "PvfCheckSubjectInvalid", + "index": 10, + "docs": [ + "The given PVF does not exist at the moment of process a vote." + ] + }, + { + "name": "PvfCheckDisabled", + "index": 11, + "docs": [ + "The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism", + "is disabled." + ] + }, + { + "name": "CannotUpgradeCode", + "index": 12, + "docs": [ + "Parachain cannot currently schedule a code upgrade." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 755, + "type": { + "def": { + "sequence": { + "type": 756 + } + } + } + }, + { + "id": 756, + "type": { + "path": [ + "polkadot_runtime_parachains", + "initializer", + "BufferedSessionChange" + ], + "def": { + "composite": { + "fields": [ + { + "name": "validators", + "type": 718, + "typeName": "Vec" + }, + { + "name": "queued", + "type": 718, + "typeName": "Vec" + }, + { + "name": "session_index", + "type": 4, + "typeName": "SessionIndex" + } + ] + } + } + } + }, + { + "id": 757, + "type": { + "def": { + "sequence": { + "type": 758 + } + } + } + }, + { + "id": 758, + "type": { + "path": [ + "polkadot_core_primitives", + "InboundDownwardMessage" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "sent_at", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "msg", + "type": 13, + "typeName": "DownwardMessage" + } + ] + } + } + } + }, + { + "id": 759, + "type": { + "def": { + "tuple": [ + 162, + 13 + ] + } + } + }, + { + "id": 760, + "type": { + "path": [ + "polkadot_runtime_parachains", + "ump", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "UnknownMessageIndex", + "index": 0, + "docs": [ + "The message index given is unknown." + ] + }, + { + "name": "WeightOverLimit", + "index": 1, + "docs": [ + "The amount of weight given is possibly not enough for executing the message." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 761, + "type": { + "path": [ + "polkadot_runtime_parachains", + "hrmp", + "HrmpOpenChannelRequest" + ], + "def": { + "composite": { + "fields": [ + { + "name": "confirmed", + "type": 44, + "typeName": "bool" + }, + { + "name": "_age", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "sender_deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "max_message_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_capacity", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_total_size", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 762, + "type": { + "def": { + "sequence": { + "type": 357 + } + } + } + }, + { + "id": 763, + "type": { + "path": [ + "polkadot_runtime_parachains", + "hrmp", + "HrmpChannel" + ], + "def": { + "composite": { + "fields": [ + { + "name": "max_capacity", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_total_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "max_message_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "msg_count", + "type": 4, + "typeName": "u32" + }, + { + "name": "total_size", + "type": 4, + "typeName": "u32" + }, + { + "name": "mqc_head", + "type": 142, + "typeName": "Option" + }, + { + "name": "sender_deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "recipient_deposit", + "type": 6, + "typeName": "Balance" + } + ] + } + } + } + }, + { + "id": 764, + "type": { + "def": { + "sequence": { + "type": 765 + } + } + } + }, + { + "id": 765, + "type": { + "path": [ + "polkadot_core_primitives", + "InboundHrmpMessage" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "sent_at", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "data", + "type": 13, + "typeName": "sp_std::vec::Vec" + } + ] + } + } + } + }, + { + "id": 766, + "type": { + "def": { + "sequence": { + "type": 767 + } + } + } + }, + { + "id": 767, + "type": { + "def": { + "tuple": [ + 4, + 737 + ] + } + } + }, + { + "id": 768, + "type": { + "path": [ + "polkadot_runtime_parachains", + "hrmp", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "OpenHrmpChannelToSelf", + "index": 0, + "docs": [ + "The sender tried to open a channel to themselves." + ] + }, + { + "name": "OpenHrmpChannelInvalidRecipient", + "index": 1, + "docs": [ + "The recipient is not a valid para." + ] + }, + { + "name": "OpenHrmpChannelZeroCapacity", + "index": 2, + "docs": [ + "The requested capacity is zero." + ] + }, + { + "name": "OpenHrmpChannelCapacityExceedsLimit", + "index": 3, + "docs": [ + "The requested capacity exceeds the global limit." + ] + }, + { + "name": "OpenHrmpChannelZeroMessageSize", + "index": 4, + "docs": [ + "The requested maximum message size is 0." + ] + }, + { + "name": "OpenHrmpChannelMessageSizeExceedsLimit", + "index": 5, + "docs": [ + "The open request requested the message size that exceeds the global limit." + ] + }, + { + "name": "OpenHrmpChannelAlreadyExists", + "index": 6, + "docs": [ + "The channel already exists" + ] + }, + { + "name": "OpenHrmpChannelAlreadyRequested", + "index": 7, + "docs": [ + "There is already a request to open the same channel." + ] + }, + { + "name": "OpenHrmpChannelLimitExceeded", + "index": 8, + "docs": [ + "The sender already has the maximum number of allowed outbound channels." + ] + }, + { + "name": "AcceptHrmpChannelDoesntExist", + "index": 9, + "docs": [ + "The channel from the sender to the origin doesn't exist." + ] + }, + { + "name": "AcceptHrmpChannelAlreadyConfirmed", + "index": 10, + "docs": [ + "The channel is already confirmed." + ] + }, + { + "name": "AcceptHrmpChannelLimitExceeded", + "index": 11, + "docs": [ + "The recipient already has the maximum number of allowed inbound channels." + ] + }, + { + "name": "CloseHrmpChannelUnauthorized", + "index": 12, + "docs": [ + "The origin tries to close a channel where it is neither the sender nor the recipient." + ] + }, + { + "name": "CloseHrmpChannelDoesntExist", + "index": 13, + "docs": [ + "The channel to be closed doesn't exist." + ] + }, + { + "name": "CloseHrmpChannelAlreadyUnderway", + "index": 14, + "docs": [ + "The channel close request is already requested." + ] + }, + { + "name": "CancelHrmpOpenChannelUnauthorized", + "index": 15, + "docs": [ + "Canceling is requested by neither the sender nor recipient of the open channel request." + ] + }, + { + "name": "OpenHrmpChannelDoesntExist", + "index": 16, + "docs": [ + "The open request doesn't exist." + ] + }, + { + "name": "OpenHrmpChannelAlreadyConfirmed", + "index": 17, + "docs": [ + "Cannot cancel an HRMP open channel request because it is already confirmed." + ] + }, + { + "name": "WrongWitness", + "index": 18, + "docs": [ + "The provided witness data is wrong." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 769, + "type": { + "def": { + "sequence": { + "type": 117 + } + } + } + }, + { + "id": 770, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "SessionInfo" + ], + "def": { + "composite": { + "fields": [ + { + "name": "active_validator_indices", + "type": 717, + "typeName": "Vec" + }, + { + "name": "random_seed", + "type": 1, + "typeName": "[u8; 32]" + }, + { + "name": "dispute_period", + "type": 4, + "typeName": "SessionIndex" + }, + { + "name": "validators", + "type": 771, + "typeName": "IndexedVec" + }, + { + "name": "discovery_keys", + "type": 772, + "typeName": "Vec" + }, + { + "name": "assignment_keys", + "type": 769, + "typeName": "Vec" + }, + { + "name": "validator_groups", + "type": 773, + "typeName": "IndexedVec>" + }, + { + "name": "n_cores", + "type": 4, + "typeName": "u32" + }, + { + "name": "zeroth_delay_tranche_width", + "type": 4, + "typeName": "u32" + }, + { + "name": "relay_vrf_modulo_samples", + "type": 4, + "typeName": "u32" + }, + { + "name": "n_delay_tranches", + "type": 4, + "typeName": "u32" + }, + { + "name": "no_show_slots", + "type": 4, + "typeName": "u32" + }, + { + "name": "needed_approvals", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 771, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "IndexedVec" + ], + "params": [ + { + "name": "K", + "type": 324 + }, + { + "name": "V", + "type": 116 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 718, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 772, + "type": { + "def": { + "sequence": { + "type": 118 + } + } + } + }, + { + "id": 773, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "IndexedVec" + ], + "params": [ + { + "name": "K", + "type": 460 + }, + { + "name": "V", + "type": 717 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 728, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 774, + "type": { + "def": { + "tuple": [ + 4, + 345 + ] + } + } + }, + { + "id": 775, + "type": { + "path": [ + "polkadot_primitives", + "v4", + "DisputeState" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "validators_for", + "type": 322, + "typeName": "BitVec" + }, + { + "name": "validators_against", + "type": 322, + "typeName": "BitVec" + }, + { + "name": "start", + "type": 4, + "typeName": "N" + }, + { + "name": "concluded_at", + "type": 141, + "typeName": "Option" + } + ] + } + } + } + }, + { + "id": 776, + "type": { + "path": [ + "BTreeSet" + ], + "params": [ + { + "name": "T", + "type": 324 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 717 + } + ] + } + } + } + }, + { + "id": 777, + "type": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "DuplicateDisputeStatementSets", + "index": 0, + "docs": [ + "Duplicate dispute statement sets provided." + ] + }, + { + "name": "AncientDisputeStatement", + "index": 1, + "docs": [ + "Ancient dispute statement provided." + ] + }, + { + "name": "ValidatorIndexOutOfBounds", + "index": 2, + "docs": [ + "Validator index on statement is out of bounds for session." + ] + }, + { + "name": "InvalidSignature", + "index": 3, + "docs": [ + "Invalid signature on statement." + ] + }, + { + "name": "DuplicateStatement", + "index": 4, + "docs": [ + "Validator vote submitted more than once to dispute." + ] + }, + { + "name": "SingleSidedDispute", + "index": 5, + "docs": [ + "A dispute where there are only votes on one side." + ] + }, + { + "name": "MaliciousBacker", + "index": 6, + "docs": [ + "A dispute vote from a malicious backer." + ] + }, + { + "name": "MissingBackingVotes", + "index": 7, + "docs": [ + "No backing votes were provides along dispute statements." + ] + }, + { + "name": "UnconfirmedDispute", + "index": 8, + "docs": [ + "Unconfirmed dispute statement sets provided." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 778, + "type": { + "path": [ + "polkadot_runtime_common", + "paras_registrar", + "ParaInfo" + ], + "params": [ + { + "name": "Account", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "manager", + "type": 0, + "typeName": "Account" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "locked", + "type": 44, + "typeName": "bool" + } + ] + } + } + } + }, + { + "id": 779, + "type": { + "path": [ + "polkadot_runtime_common", + "paras_registrar", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "NotRegistered", + "index": 0, + "docs": [ + "The ID is not registered." + ] + }, + { + "name": "AlreadyRegistered", + "index": 1, + "docs": [ + "The ID is already registered." + ] + }, + { + "name": "NotOwner", + "index": 2, + "docs": [ + "The caller is not the owner of this Id." + ] + }, + { + "name": "CodeTooLarge", + "index": 3, + "docs": [ + "Invalid para code size." + ] + }, + { + "name": "HeadDataTooLarge", + "index": 4, + "docs": [ + "Invalid para head data size." + ] + }, + { + "name": "NotParachain", + "index": 5, + "docs": [ + "Para is not a Parachain." + ] + }, + { + "name": "NotParathread", + "index": 6, + "docs": [ + "Para is not a Parathread." + ] + }, + { + "name": "CannotDeregister", + "index": 7, + "docs": [ + "Cannot deregister para" + ] + }, + { + "name": "CannotDowngrade", + "index": 8, + "docs": [ + "Cannot schedule downgrade of parachain to parathread" + ] + }, + { + "name": "CannotUpgrade", + "index": 9, + "docs": [ + "Cannot schedule upgrade of parathread to parachain" + ] + }, + { + "name": "ParaLocked", + "index": 10, + "docs": [ + "Para is locked from manipulation by the manager. Must use parachain or relay chain governance." + ] + }, + { + "name": "NotReserved", + "index": 11, + "docs": [ + "The ID given for registration has not been reserved." + ] + }, + { + "name": "EmptyCode", + "index": 12, + "docs": [ + "Registering parachain with empty code is not allowed." + ] + }, + { + "name": "CannotSwap", + "index": 13, + "docs": [ + "Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras are", + "correct for the swap to work." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 780, + "type": { + "def": { + "sequence": { + "type": 495 + } + } + } + }, + { + "id": 781, + "type": { + "path": [ + "polkadot_runtime_common", + "slots", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "ParaNotOnboarding", + "index": 0, + "docs": [ + "The parachain ID is not onboarding." + ] + }, + { + "name": "LeaseError", + "index": 1, + "docs": [ + "There was an error with the lease." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 782, + "type": { + "def": { + "tuple": [ + 0, + 162 + ] + } + } + }, + { + "id": 783, + "type": { + "def": { + "array": { + "len": 36, + "type": 784 + } + } + } + }, + { + "id": 784, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 785 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 785 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 785, + "type": { + "def": { + "tuple": [ + 0, + 162, + 6 + ] + } + } + }, + { + "id": 786, + "type": { + "path": [ + "polkadot_runtime_common", + "auctions", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "AuctionInProgress", + "index": 0, + "docs": [ + "This auction is already in progress." + ] + }, + { + "name": "LeasePeriodInPast", + "index": 1, + "docs": [ + "The lease period is in the past." + ] + }, + { + "name": "ParaNotRegistered", + "index": 2, + "docs": [ + "Para is not registered" + ] + }, + { + "name": "NotCurrentAuction", + "index": 3, + "docs": [ + "Not a current auction." + ] + }, + { + "name": "NotAuction", + "index": 4, + "docs": [ + "Not an auction." + ] + }, + { + "name": "AuctionEnded", + "index": 5, + "docs": [ + "Auction has already ended." + ] + }, + { + "name": "AlreadyLeasedOut", + "index": 6, + "docs": [ + "The para is already leased out for part of this range." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 787, + "type": { + "path": [ + "polkadot_runtime_common", + "crowdloan", + "FundInfo" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "LeasePeriod", + "type": 4 + } + ], + "def": { + "composite": { + "fields": [ + { + "name": "depositor", + "type": 0, + "typeName": "AccountId" + }, + { + "name": "verifier", + "type": 364, + "typeName": "Option" + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance" + }, + { + "name": "raised", + "type": 6, + "typeName": "Balance" + }, + { + "name": "end", + "type": 4, + "typeName": "BlockNumber" + }, + { + "name": "cap", + "type": 6, + "typeName": "Balance" + }, + { + "name": "last_contribution", + "type": 788, + "typeName": "LastContribution" + }, + { + "name": "first_period", + "type": 4, + "typeName": "LeasePeriod" + }, + { + "name": "last_period", + "type": 4, + "typeName": "LeasePeriod" + }, + { + "name": "fund_index", + "type": 4, + "typeName": "FundIndex" + } + ] + } + } + } + }, + { + "id": 788, + "type": { + "path": [ + "polkadot_runtime_common", + "crowdloan", + "LastContribution" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Never", + "index": 0 + }, + { + "name": "PreEnding", + "fields": [ + { + "type": 4, + "typeName": "u32" + } + ], + "index": 1 + }, + { + "name": "Ending", + "fields": [ + { + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 789, + "type": { + "path": [ + "polkadot_runtime_common", + "crowdloan", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "FirstPeriodInPast", + "index": 0, + "docs": [ + "The current lease period is more than the first lease period." + ] + }, + { + "name": "FirstPeriodTooFarInFuture", + "index": 1, + "docs": [ + "The first lease period needs to at least be less than 3 `max_value`." + ] + }, + { + "name": "LastPeriodBeforeFirstPeriod", + "index": 2, + "docs": [ + "Last lease period must be greater than first lease period." + ] + }, + { + "name": "LastPeriodTooFarInFuture", + "index": 3, + "docs": [ + "The last lease period cannot be more than 3 periods after the first period." + ] + }, + { + "name": "CannotEndInPast", + "index": 4, + "docs": [ + "The campaign ends before the current block number. The end must be in the future." + ] + }, + { + "name": "EndTooFarInFuture", + "index": 5, + "docs": [ + "The end date for this crowdloan is not sensible." + ] + }, + { + "name": "Overflow", + "index": 6, + "docs": [ + "There was an overflow." + ] + }, + { + "name": "ContributionTooSmall", + "index": 7, + "docs": [ + "The contribution was below the minimum, `MinContribution`." + ] + }, + { + "name": "InvalidParaId", + "index": 8, + "docs": [ + "Invalid fund index." + ] + }, + { + "name": "CapExceeded", + "index": 9, + "docs": [ + "Contributions exceed maximum amount." + ] + }, + { + "name": "ContributionPeriodOver", + "index": 10, + "docs": [ + "The contribution period has already ended." + ] + }, + { + "name": "InvalidOrigin", + "index": 11, + "docs": [ + "The origin of this call is invalid." + ] + }, + { + "name": "NotParachain", + "index": 12, + "docs": [ + "This crowdloan does not correspond to a parachain." + ] + }, + { + "name": "LeaseActive", + "index": 13, + "docs": [ + "This parachain lease is still active and retirement cannot yet begin." + ] + }, + { + "name": "BidOrLeaseActive", + "index": 14, + "docs": [ + "This parachain's bid or lease is still active and withdraw cannot yet begin." + ] + }, + { + "name": "FundNotEnded", + "index": 15, + "docs": [ + "The crowdloan has not yet ended." + ] + }, + { + "name": "NoContributions", + "index": 16, + "docs": [ + "There are no contributions stored in this crowdloan." + ] + }, + { + "name": "NotReadyToDissolve", + "index": 17, + "docs": [ + "The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement period." + ] + }, + { + "name": "InvalidSignature", + "index": 18, + "docs": [ + "Invalid signature." + ] + }, + { + "name": "MemoTooLarge", + "index": 19, + "docs": [ + "The provided memo is too large." + ] + }, + { + "name": "AlreadyInNewRaise", + "index": 20, + "docs": [ + "The fund is already in `NewRaise`" + ] + }, + { + "name": "VrfDelayInProgress", + "index": 21, + "docs": [ + "No contributions allowed during the VRF delay" + ] + }, + { + "name": "NoLeasePeriod", + "index": 22, + "docs": [ + "A lease period has not started yet, due to an offset in the starting block." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 790, + "type": { + "path": [ + "pallet_xcm", + "pallet", + "QueryStatus" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Pending", + "fields": [ + { + "name": "responder", + "type": 372, + "typeName": "VersionedMultiLocation" + }, + { + "name": "maybe_match_querier", + "type": 791, + "typeName": "Option" + }, + { + "name": "maybe_notify", + "type": 792, + "typeName": "Option<(u8, u8)>" + }, + { + "name": "timeout", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 0 + }, + { + "name": "VersionNotifier", + "fields": [ + { + "name": "origin", + "type": 372, + "typeName": "VersionedMultiLocation" + }, + { + "name": "is_active", + "type": 44, + "typeName": "bool" + } + ], + "index": 1 + }, + { + "name": "Ready", + "fields": [ + { + "name": "response", + "type": 794, + "typeName": "VersionedResponse" + }, + { + "name": "at", + "type": 4, + "typeName": "BlockNumber" + } + ], + "index": 2 + } + ] + } + } + } + }, + { + "id": 791, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 372 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 372 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 792, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 793 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 793 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 793, + "type": { + "def": { + "tuple": [ + 2, + 2 + ] + } + } + }, + { + "id": 794, + "type": { + "path": [ + "xcm", + "VersionedResponse" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V2", + "fields": [ + { + "type": 390, + "typeName": "v2::Response" + } + ], + "index": 2 + }, + { + "name": "V3", + "fields": [ + { + "type": 409, + "typeName": "v3::Response" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 795, + "type": { + "def": { + "tuple": [ + 4, + 372 + ] + } + } + }, + { + "id": 796, + "type": { + "def": { + "tuple": [ + 11, + 9, + 4 + ] + } + } + }, + { + "id": 797, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 798 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 799, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 798, + "type": { + "def": { + "tuple": [ + 372, + 4 + ] + } + } + }, + { + "id": 799, + "type": { + "def": { + "sequence": { + "type": 798 + } + } + } + }, + { + "id": 800, + "type": { + "path": [ + "pallet_xcm", + "pallet", + "VersionMigrationStage" + ], + "def": { + "variant": { + "variants": [ + { + "name": "MigrateSupportedVersion", + "index": 0 + }, + { + "name": "MigrateVersionNotifiers", + "index": 1 + }, + { + "name": "NotifyCurrentTargets", + "fields": [ + { + "type": 801, + "typeName": "Option>" + } + ], + "index": 2 + }, + { + "name": "MigrateAndNotifyOldTargets", + "index": 3 + } + ] + } + } + } + }, + { + "id": 801, + "type": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 13 + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "None", + "index": 0 + }, + { + "name": "Some", + "fields": [ + { + "type": 13 + } + ], + "index": 1 + } + ] + } + } + } + }, + { + "id": 802, + "type": { + "def": { + "tuple": [ + 4, + 0, + 803 + ] + } + } + }, + { + "id": 803, + "type": { + "path": [ + "xcm", + "VersionedAssetId" + ], + "def": { + "variant": { + "variants": [ + { + "name": "V3", + "fields": [ + { + "type": 406, + "typeName": "v3::AssetId" + } + ], + "index": 3 + } + ] + } + } + } + }, + { + "id": 804, + "type": { + "path": [ + "pallet_xcm", + "pallet", + "RemoteLockedFungibleRecord" + ], + "def": { + "composite": { + "fields": [ + { + "name": "amount", + "type": 6, + "typeName": "u128" + }, + { + "name": "owner", + "type": 372, + "typeName": "VersionedMultiLocation" + }, + { + "name": "locker", + "type": 372, + "typeName": "VersionedMultiLocation" + }, + { + "name": "users", + "type": 4, + "typeName": "u32" + } + ] + } + } + } + }, + { + "id": 805, + "type": { + "path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 806 + }, + { + "name": "S", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 807, + "typeName": "Vec" + } + ] + } + } + } + }, + { + "id": 806, + "type": { + "def": { + "tuple": [ + 6, + 372 + ] + } + } + }, + { + "id": 807, + "type": { + "def": { + "sequence": { + "type": 806 + } + } + } + }, + { + "id": 808, + "type": { + "path": [ + "pallet_xcm", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "variant": { + "variants": [ + { + "name": "Unreachable", + "index": 0, + "docs": [ + "The desired destination was unreachable, generally because there is a no way of routing", + "to it." + ] + }, + { + "name": "SendFailure", + "index": 1, + "docs": [ + "There was some other issue (i.e. not to do with routing) in sending the message. Perhaps", + "a lack of space for buffering the message." + ] + }, + { + "name": "Filtered", + "index": 2, + "docs": [ + "The message execution fails the filter." + ] + }, + { + "name": "UnweighableMessage", + "index": 3, + "docs": [ + "The message's weight could not be determined." + ] + }, + { + "name": "DestinationNotInvertible", + "index": 4, + "docs": [ + "The destination `MultiLocation` provided cannot be inverted." + ] + }, + { + "name": "Empty", + "index": 5, + "docs": [ + "The assets to be sent are empty." + ] + }, + { + "name": "CannotReanchor", + "index": 6, + "docs": [ + "Could not re-anchor the assets to declare the fees for the destination chain." + ] + }, + { + "name": "TooManyAssets", + "index": 7, + "docs": [ + "Too many assets have been attempted for transfer." + ] + }, + { + "name": "InvalidOrigin", + "index": 8, + "docs": [ + "Origin is invalid for sending." + ] + }, + { + "name": "BadVersion", + "index": 9, + "docs": [ + "The version of the `Versioned` value used is not able to be interpreted." + ] + }, + { + "name": "BadLocation", + "index": 10, + "docs": [ + "The given location could not be used (e.g. because it cannot be expressed in the", + "desired version of XCM)." + ] + }, + { + "name": "NoSubscription", + "index": 11, + "docs": [ + "The referenced subscription could not be found." + ] + }, + { + "name": "AlreadySubscribed", + "index": 12, + "docs": [ + "The location is invalid since it already has a subscription from us." + ] + }, + { + "name": "InvalidAsset", + "index": 13, + "docs": [ + "Invalid asset for the operation." + ] + }, + { + "name": "LowBalance", + "index": 14, + "docs": [ + "The owner does not own (all) of the asset that they wish to do the operation on." + ] + }, + { + "name": "TooManyLocks", + "index": 15, + "docs": [ + "The asset owner has too many locks on the asset." + ] + }, + { + "name": "AccountNotSovereign", + "index": 16, + "docs": [ + "The given account is not an identifiable sovereign account for any location." + ] + }, + { + "name": "FeesNotMet", + "index": 17, + "docs": [ + "The operation required fees to be paid which the initiator could not meet." + ] + }, + { + "name": "LockNotFound", + "index": 18, + "docs": [ + "A remote lock with the corresponding data could not be found." + ] + }, + { + "name": "InUse", + "index": 19, + "docs": [ + "The unlock operation cannot succeed because there are still users of the lock." + ] + } + ] + } + }, + "docs": [ + "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t" + ] + } + }, + { + "id": 809, + "type": { + "path": [ + "sp_runtime", + "generic", + "unchecked_extrinsic", + "UncheckedExtrinsic" + ], + "params": [ + { + "name": "Address", + "type": 100 + }, + { + "name": "Call", + "type": 79 + }, + { + "name": "Signature", + "type": 369 + }, + { + "name": "Extra", + "type": 810 + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 13 + } + ] + } + } + } + }, + { + "id": 810, + "type": { + "def": { + "tuple": [ + 811, + 812, + 813, + 814, + 815, + 817, + 818, + 819, + 820 + ] + } + } + }, + { + "id": 811, + "type": { + "path": [ + "frame_system", + "extensions", + "check_non_zero_sender", + "CheckNonZeroSender" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 812, + "type": { + "path": [ + "frame_system", + "extensions", + "check_spec_version", + "CheckSpecVersion" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 813, + "type": { + "path": [ + "frame_system", + "extensions", + "check_tx_version", + "CheckTxVersion" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 814, + "type": { + "path": [ + "frame_system", + "extensions", + "check_genesis", + "CheckGenesis" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 815, + "type": { + "path": [ + "frame_system", + "extensions", + "check_mortality", + "CheckMortality" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 816, + "typeName": "Era" + } + ] + } + } + } + }, + { + "id": 816, + "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": 817, + "type": { + "path": [ + "frame_system", + "extensions", + "check_nonce", + "CheckNonce" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 91, + "typeName": "T::Index" + } + ] + } + } + } + }, + { + "id": 818, + "type": { + "path": [ + "frame_system", + "extensions", + "check_weight", + "CheckWeight" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 819, + "type": { + "path": [ + "pallet_transaction_payment", + "ChargeTransactionPayment" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": { + "fields": [ + { + "type": 60, + "typeName": "BalanceOf" + } + ] + } + } + } + }, + { + "id": 820, + "type": { + "path": [ + "polkadot_runtime_common", + "claims", + "PrevalidateAttests" + ], + "params": [ + { + "name": "T", + "type": null + } + ], + "def": { + "composite": {} + } + } + }, + { + "id": 821, + "type": { + "path": [ + "polkadot_runtime", + "Runtime" + ], + "def": { + "composite": {} + } + } + } + ] + }, + "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": 475 + } + }, + "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 `(T::BlockNumber, 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": 476 + }, + "default": [ + 0 + ], + "docs": [ + " Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened." + ] + }, + { + "name": "UpgradedToU32RefCount", + "modifier": "Default", + "ty": { + "Plain": 44 + }, + "default": [ + 0 + ], + "docs": [ + " True if we have upgraded so that `type RefCount` is `u32`. False (default) if not." + ] + }, + { + "name": "UpgradedToTripleRefCount", + "modifier": "Default", + "ty": { + "Plain": 44 + }, + "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": 473 + }, + "default": [ + 0 + ], + "docs": [ + " The execution phase of the block." + ] + } + ] + }, + "calls": { + "ty": 80 + }, + "event": { + "ty": 21 + }, + "constants": [ + { + "name": "BlockWeights", + "ty": 478, + "value": [ + 7, + 152, + 72, + 58, + 102, + 1, + 0, + 11, + 0, + 32, + 74, + 169, + 209, + 1, + 19, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 226, + 76, + 226, + 24, + 0, + 1, + 11, + 200, + 60, + 167, + 144, + 88, + 1, + 19, + 163, + 112, + 61, + 10, + 215, + 163, + 112, + 189, + 1, + 11, + 0, + 152, + 247, + 62, + 93, + 1, + 19, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 191, + 1, + 0, + 0, + 226, + 76, + 226, + 24, + 0, + 1, + 11, + 200, + 196, + 249, + 250, + 204, + 1, + 19, + 163, + 112, + 61, + 10, + 215, + 163, + 112, + 253, + 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, + 226, + 76, + 226, + 24, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Block & extrinsics weights: base values and limits." + ] + }, + { + "name": "BlockLength", + "ty": 481, + "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": [ + 0, + 16, + 0, + 0 + ], + "docs": [ + " Maximum number of block number to block hash mappings to keep (oldest pruned first)." + ] + }, + { + "name": "DbWeight", + "ty": 483, + "value": [ + 56, + 202, + 56, + 1, + 0, + 0, + 0, + 0, + 152, + 170, + 249, + 4, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The weight of runtime database operations the runtime can invoke." + ] + }, + { + "name": "Version", + "ty": 484, + "value": [ + 32, + 112, + 111, + 108, + 107, + 97, + 100, + 111, + 116, + 60, + 112, + 97, + 114, + 105, + 116, + 121, + 45, + 112, + 111, + 108, + 107, + 97, + 100, + 111, + 116, + 0, + 0, + 0, + 0, + 194, + 36, + 0, + 0, + 0, + 0, + 0, + 0, + 68, + 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, + 23, + 166, + 188, + 13, + 0, + 98, + 174, + 179, + 1, + 0, + 0, + 0, + 24, + 239, + 88, + 163, + 182, + 123, + 167, + 112, + 1, + 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, + 175, + 44, + 2, + 151, + 162, + 62, + 109, + 61, + 4, + 0, + 0, + 0, + 73, + 234, + 175, + 27, + 84, + 138, + 12, + 176, + 2, + 0, + 0, + 0, + 145, + 213, + 223, + 24, + 176, + 210, + 207, + 88, + 2, + 0, + 0, + 0, + 237, + 153, + 197, + 172, + 178, + 94, + 237, + 245, + 3, + 0, + 0, + 0, + 203, + 202, + 37, + 227, + 159, + 20, + 35, + 135, + 2, + 0, + 0, + 0, + 104, + 122, + 212, + 74, + 211, + 127, + 3, + 194, + 1, + 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, + 22, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Get the chain's current version." + ] + }, + { + "name": "SS58Prefix", + "ty": 77, + "value": [ + 0, + 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": 488 + }, + "index": 0 + }, + { + "name": "Scheduler", + "storage": { + "prefix": "Scheduler", + "entries": [ + { + "name": "IncompleteSince", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [] + }, + { + "name": "Agenda", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 489 + } + }, + "default": [ + 0 + ], + "docs": [ + " Items to be executed, indexed by the block number that they should be executed on." + ] + }, + { + "name": "Lookup", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 1, + "value": 31 + } + }, + "default": [ + 0 + ], + "docs": [ + " Lookup from a name to the block number and index of the task.", + "", + " For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4", + " identities." + ] + } + ] + }, + "calls": { + "ty": 84 + }, + "event": { + "ty": 30 + }, + "constants": [ + { + "name": "MaximumWeight", + "ty": 9, + "value": [ + 11, + 0, + 128, + 110, + 135, + 116, + 1, + 19, + 204, + 204, + 204, + 204, + 204, + 204, + 204, + 204 + ], + "docs": [ + " The maximum weight that may be scheduled per block for any dispatchables." + ] + }, + { + "name": "MaxScheduledPerBlock", + "ty": 4, + "value": [ + 50, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of scheduled calls in the queue for a single block.", + "", + " NOTE:", + " + Dependent pallets' benchmarks might require a higher limit for the setting. Set a", + " higher limit under `runtime-benchmarks` feature." + ] + } + ], + "error": { + "ty": 493 + }, + "index": 1 + }, + { + "name": "Preimage", + "storage": { + "prefix": "Preimage", + "entries": [ + { + "name": "StatusFor", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 494 + } + }, + "default": [ + 0 + ], + "docs": [ + " The request status of a given hash." + ] + }, + { + "name": "PreimageFor", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 496, + "value": 497 + } + }, + "default": [ + 0 + ], + "docs": [] + } + ] + }, + "calls": { + "ty": 86 + }, + "event": { + "ty": 35 + }, + "constants": [], + "error": { + "ty": 498 + }, + "index": 10 + }, + { + "name": "Babe", + "storage": { + "prefix": "Babe", + "entries": [ + { + "name": "EpochIndex", + "modifier": "Default", + "ty": { + "Plain": 11 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Current epoch index." + ] + }, + { + "name": "Authorities", + "modifier": "Default", + "ty": { + "Plain": 499 + }, + "default": [ + 0 + ], + "docs": [ + " Current epoch authorities." + ] + }, + { + "name": "GenesisSlot", + "modifier": "Default", + "ty": { + "Plain": 93 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The slot at which the first epoch actually started. This is 0", + " until the first block of the chain." + ] + }, + { + "name": "CurrentSlot", + "modifier": "Default", + "ty": { + "Plain": 93 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Current slot number." + ] + }, + { + "name": "Randomness", + "modifier": "Default", + "ty": { + "Plain": 1 + }, + "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": [ + " The epoch randomness for the *current* epoch.", + "", + " # Security", + "", + " This MUST NOT be used for gambling, as it can be influenced by a", + " malicious validator in the short term. It MAY be used in many", + " cryptographic protocols, however, so long as one remembers that this", + " (like everything else on-chain) it is public. For example, it can be", + " used where a number is needed that cannot have been chosen by an", + " adversary, for purposes such as public-coin zero-knowledge proofs." + ] + }, + { + "name": "PendingEpochConfigChange", + "modifier": "Optional", + "ty": { + "Plain": 95 + }, + "default": [ + 0 + ], + "docs": [ + " Pending epoch configuration change that will be applied when the next epoch is enacted." + ] + }, + { + "name": "NextRandomness", + "modifier": "Default", + "ty": { + "Plain": 1 + }, + "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": [ + " Next epoch randomness." + ] + }, + { + "name": "NextAuthorities", + "modifier": "Default", + "ty": { + "Plain": 499 + }, + "default": [ + 0 + ], + "docs": [ + " Next epoch authorities." + ] + }, + { + "name": "SegmentIndex", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Randomness under construction.", + "", + " We make a trade-off between storage accesses and list length.", + " We store the under-construction randomness in segments of up to", + " `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.", + "", + " Once a segment reaches this length, we begin the next one.", + " We reset all segments and return to `0` at the beginning of every", + " epoch." + ] + }, + { + "name": "UnderConstruction", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 502 + } + }, + "default": [ + 0 + ], + "docs": [ + " TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay." + ] + }, + { + "name": "Initialized", + "modifier": "Optional", + "ty": { + "Plain": 504 + }, + "default": [ + 0 + ], + "docs": [ + " Temporary value (cleared at block finalization) which is `Some`", + " if per-block initialization has already been called for current block." + ] + }, + { + "name": "AuthorVrfRandomness", + "modifier": "Default", + "ty": { + "Plain": 32 + }, + "default": [ + 0 + ], + "docs": [ + " This field should always be populated during block processing unless", + " secondary plain slots are enabled (which don't contain a VRF output).", + "", + " It is set in `on_finalize`, before it will contain the value from the last block." + ] + }, + { + "name": "EpochStart", + "modifier": "Default", + "ty": { + "Plain": 31 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The block numbers when the last and current epoch have started, respectively `N-1` and", + " `N`.", + " NOTE: We track this is in order to annotate the block number when a given pool of", + " entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in", + " slots, which may be skipped, the block numbers may not line up with the slot numbers." + ] + }, + { + "name": "Lateness", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " How late the current block is compared to its parent.", + "", + " This entry is populated as part of block execution and is cleaned up", + " on block finalization. Querying this storage entry outside of block", + " execution context should always yield zero." + ] + }, + { + "name": "EpochConfig", + "modifier": "Optional", + "ty": { + "Plain": 510 + }, + "default": [ + 0 + ], + "docs": [ + " The configuration for the current epoch. Should never be `None` as it is initialized in", + " genesis." + ] + }, + { + "name": "NextEpochConfig", + "modifier": "Optional", + "ty": { + "Plain": 510 + }, + "default": [ + 0 + ], + "docs": [ + " The configuration for the next epoch, `None` if the config will not change", + " (you can fallback to `EpochConfig` instead in that case)." + ] + }, + { + "name": "SkippedEpochs", + "modifier": "Default", + "ty": { + "Plain": 511 + }, + "default": [ + 0 + ], + "docs": [ + " A list of the last 100 skipped epochs and the corresponding session index", + " when the epoch was skipped.", + "", + " This is only used for validating equivocation proofs. An equivocation proof", + " must contains a key-ownership proof for a given session, therefore we need a", + " way to tie together sessions and epoch indices, i.e. we need to validate that", + " a validator was the owner of a given key on a given session, and what the", + " active epoch index was during that session." + ] + } + ] + }, + "calls": { + "ty": 87 + }, + "event": null, + "constants": [ + { + "name": "EpochDuration", + "ty": 11, + "value": [ + 96, + 9, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of time, in slots, that each epoch should last.", + " NOTE: Currently it is not possible to change the epoch duration after", + " the chain has started. Attempting to do so will brick block production." + ] + }, + { + "name": "ExpectedBlockTime", + "ty": 11, + "value": [ + 112, + 23, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The expected average block time at which BABE should be creating", + " blocks. Since BABE is probabilistic it is not trivial to figure out", + " what the expected average block time should be based on the slot", + " duration and the security parameter `c` (where `1 - c` represents", + " the probability of a slot being empty)." + ] + }, + { + "name": "MaxAuthorities", + "ty": 4, + "value": [ + 160, + 134, + 1, + 0 + ], + "docs": [ + " Max number of authorities allowed" + ] + } + ], + "error": { + "ty": 514 + }, + "index": 2 + }, + { + "name": "Timestamp", + "storage": { + "prefix": "Timestamp", + "entries": [ + { + "name": "Now", + "modifier": "Default", + "ty": { + "Plain": 11 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Current time for the current block." + ] + }, + { + "name": "DidUpdate", + "modifier": "Default", + "ty": { + "Plain": 44 + }, + "default": [ + 0 + ], + "docs": [ + " Did the timestamp get updated in this block?" + ] + } + ] + }, + "calls": { + "ty": 98 + }, + "event": null, + "constants": [ + { + "name": "MinimumPeriod", + "ty": 11, + "value": [ + 184, + 11, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum period between blocks. Beware 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. e.g. For Aura, it will be", + " double this period on default settings." + ] + } + ], + "error": null, + "index": 3 + }, + { + "name": "Indices", + "storage": { + "prefix": "Indices", + "entries": [ + { + "name": "Accounts", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 4, + "value": 515 + } + }, + "default": [ + 0 + ], + "docs": [ + " The lookup from index to account." + ] + } + ] + }, + "calls": { + "ty": 99 + }, + "event": { + "ty": 36 + }, + "constants": [ + { + "name": "Deposit", + "ty": 6, + "value": [ + 0, + 232, + 118, + 72, + 23, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The deposit needed for reserving an index." + ] + } + ], + "error": { + "ty": 516 + }, + "index": 4 + }, + { + "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": 517 + } + }, + "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": 521 + } + }, + "default": [ + 0 + ], + "docs": [ + " Named reserves on some account balances." + ] + }, + { + "name": "Holds", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 524 + } + }, + "default": [ + 0 + ], + "docs": [ + " Holds on account balances." + ] + }, + { + "name": "Freezes", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 524 + } + }, + "default": [ + 0 + ], + "docs": [ + " Freeze locks on account balances." + ] + } + ] + }, + "calls": { + "ty": 103 + }, + "event": { + "ty": 37 + }, + "constants": [ + { + "name": "ExistentialDeposit", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 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": [ + 0, + 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": 527 + }, + "index": 5 + }, + { + "name": "TransactionPayment", + "storage": { + "prefix": "TransactionPayment", + "entries": [ + { + "name": "NextFeeMultiplier", + "modifier": "Default", + "ty": { + "Plain": 528 + }, + "default": [ + 0, + 0, + 100, + 167, + 179, + 182, + 224, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [] + }, + { + "name": "StorageVersion", + "modifier": "Default", + "ty": { + "Plain": 529 + }, + "default": [ + 0 + ], + "docs": [] + } + ] + }, + "calls": null, + "event": { + "ty": 39 + }, + "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": 32 + }, + { + "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": 6 + }, + { + "name": "Staking", + "storage": { + "prefix": "Staking", + "entries": [ + { + "name": "ValidatorCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The ideal number of active validators." + ] + }, + { + "name": "MinimumValidatorCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Minimum number of staking participants before emergency conditions are imposed." + ] + }, + { + "name": "Invulnerables", + "modifier": "Default", + "ty": { + "Plain": 104 + }, + "default": [ + 0 + ], + "docs": [ + " Any validators that may never be slashed or forcibly kicked. It's a Vec since they're", + " easy to initialize and the performance hit is minimal (we expect no more than four", + " invulnerables) and restricted to testnets." + ] + }, + { + "name": "Bonded", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 0 + } + }, + "default": [ + 0 + ], + "docs": [ + " Map from all locked \"stash\" accounts to the controller account.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "name": "MinNominatorBond", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum active bond to become and maintain the role of a nominator." + ] + }, + { + "name": "MinValidatorBond", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum active bond to become and maintain the role of a validator." + ] + }, + { + "name": "MinimumActiveStake", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum active nominator stake of the last successful election." + ] + }, + { + "name": "MinCommission", + "modifier": "Default", + "ty": { + "Plain": 41 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum amount of commission that validators can set.", + "", + " If set to `0`, no limit exists." + ] + }, + { + "name": "Ledger", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 530 + } + }, + "default": [ + 0 + ], + "docs": [ + " Map from all (unlocked) \"controller\" accounts to the info regarding the staking." + ] + }, + { + "name": "Payee", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 106 + } + }, + "default": [ + 0 + ], + "docs": [ + " Where the reward payment should be made. Keyed by stash.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "name": "Validators", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 42 + } + }, + "default": [ + 0, + 0 + ], + "docs": [ + " The map from (wannabe) validator stash key to the preferences of that validator.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "name": "CounterForValidators", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "MaxValidatorsCount", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " The maximum validator count before we stop allowing new validators to join.", + "", + " When this value is not set, no limits are enforced." + ] + }, + { + "name": "Nominators", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 535 + } + }, + "default": [ + 0 + ], + "docs": [ + " The map from nominator stash key to their nomination preferences, namely the validators that", + " they wish to support.", + "", + " Note that the keys of this storage map might become non-decodable in case the", + " [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators", + " are still existent in storage, their key is correct and retrievable (i.e. `contains_key`", + " indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable", + " nominators will effectively not-exist, until they re-submit their preferences such that it", + " is within the bounds of the newly set `Config::MaxNominations`.", + "", + " This implies that `::iter_keys().count()` and `::iter().count()` might return different", + " values for this map. Moreover, the main `::count()` is aligned with the former, namely the", + " number of keys that exist.", + "", + " Lastly, if any of the nominators become non-decodable, they can be chilled immediately via", + " [`Call::chill_other`] dispatchable by anyone.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "name": "CounterForNominators", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "MaxNominatorsCount", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " The maximum nominator count before we stop allowing new validators to join.", + "", + " When this value is not set, no limits are enforced." + ] + }, + { + "name": "CurrentEra", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " The current era index.", + "", + " This is the latest planned era, depending on how the Session pallet queues the validator", + " set, it might be active or not." + ] + }, + { + "name": "ActiveEra", + "modifier": "Optional", + "ty": { + "Plain": 537 + }, + "default": [ + 0 + ], + "docs": [ + " The active era information, it holds index and start.", + "", + " The active era is the era being currently rewarded. Validator set of this era must be", + " equal to [`SessionInterface::validators`]." + ] + }, + { + "name": "ErasStartSessionIndex", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 4 + } + }, + "default": [ + 0 + ], + "docs": [ + " The session index at which the era start for the last `HISTORY_DEPTH` eras.", + "", + " Note: This tracks the starting session (i.e. session index when era start being active)", + " for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`." + ] + }, + { + "name": "ErasStakers", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 539, + "value": 59 + } + }, + "default": [ + 0, + 0, + 0 + ], + "docs": [ + " Exposure of validator at era.", + "", + " This is keyed first by the era index to allow bulk deletion and then the stash account.", + "", + " Is it removed after `HISTORY_DEPTH` eras.", + " If stakers hasn't been set or has been removed then empty exposure is returned." + ] + }, + { + "name": "ErasStakersClipped", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 539, + "value": 59 + } + }, + "default": [ + 0, + 0, + 0 + ], + "docs": [ + " Clipped Exposure of validator at era.", + "", + " This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the", + " `T::MaxNominatorRewardedPerValidator` biggest stakers.", + " (Note: the field `total` and `own` of the exposure remains unchanged).", + " This is used to limit the i/o cost for the nominator payout.", + "", + " This is keyed fist by the era index to allow bulk deletion and then the stash account.", + "", + " Is it removed after `HISTORY_DEPTH` eras.", + " If stakers hasn't been set or has been removed then empty exposure is returned." + ] + }, + { + "name": "ErasValidatorPrefs", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 539, + "value": 42 + } + }, + "default": [ + 0, + 0 + ], + "docs": [ + " Similar to `ErasStakers`, this holds the preferences of validators.", + "", + " This is keyed first by the era index to allow bulk deletion and then the stash account.", + "", + " Is it removed after `HISTORY_DEPTH` eras." + ] + }, + { + "name": "ErasValidatorReward", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 6 + } + }, + "default": [ + 0 + ], + "docs": [ + " The total validator era payout for the last `HISTORY_DEPTH` eras.", + "", + " Eras that haven't finished yet or has been removed doesn't have reward." + ] + }, + { + "name": "ErasRewardPoints", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 540 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Rewards for the last `HISTORY_DEPTH` eras.", + " If reward hasn't been set or has been removed then 0 reward is returned." + ] + }, + { + "name": "ErasTotalStake", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 6 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The total amount staked for the last `HISTORY_DEPTH` eras.", + " If total hasn't been set or has been removed then 0 stake is returned." + ] + }, + { + "name": "ForceEra", + "modifier": "Default", + "ty": { + "Plain": 45 + }, + "default": [ + 0 + ], + "docs": [ + " Mode of era forcing." + ] + }, + { + "name": "SlashRewardFraction", + "modifier": "Default", + "ty": { + "Plain": 41 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The percentage of the slash that is distributed to reporters.", + "", + " The rest of the slashed value is handled by the `Slash`." + ] + }, + { + "name": "CanceledSlashPayout", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of currency given to reporters of a slash event which was", + " canceled by extraordinary circumstances (e.g. governance)." + ] + }, + { + "name": "UnappliedSlashes", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 544 + } + }, + "default": [ + 0 + ], + "docs": [ + " All unapplied slashes that are queued for later." + ] + }, + { + "name": "BondedEras", + "modifier": "Default", + "ty": { + "Plain": 475 + }, + "default": [ + 0 + ], + "docs": [ + " A mapping from still-bonded eras to the first session index of that era.", + "", + " Must contains information for eras for the range:", + " `[active_era - bounding_duration; active_era]`" + ] + }, + { + "name": "ValidatorSlashInEra", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 539, + "value": 546 + } + }, + "default": [ + 0 + ], + "docs": [ + " All slashing events on validators, mapped by era to the highest slash proportion", + " and slash value of the era." + ] + }, + { + "name": "NominatorSlashInEra", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 539, + "value": 6 + } + }, + "default": [ + 0 + ], + "docs": [ + " All slashing events on nominators, mapped by era to the highest slash value of the era." + ] + }, + { + "name": "SlashingSpans", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 547 + } + }, + "default": [ + 0 + ], + "docs": [ + " Slashing spans for stash accounts." + ] + }, + { + "name": "SpanSlash", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 543, + "value": 548 + } + }, + "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": [ + " Records information about the maximum slash of a stash within a slashing span,", + " as well as how much reward has been paid out." + ] + }, + { + "name": "CurrentPlannedSession", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The last planned session scheduled by the session pallet.", + "", + " This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]." + ] + }, + { + "name": "OffendingValidators", + "modifier": "Default", + "ty": { + "Plain": 549 + }, + "default": [ + 0 + ], + "docs": [ + " Indices of validators that have offended in the active era and whether they are currently", + " disabled.", + "", + " This value should be a superset of disabled validators since not all offences lead to the", + " validator being disabled (if there was no slash). This is needed to track the percentage of", + " validators that have offended in the current era, ensuring a new era is forced if", + " `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find", + " whether a given validator has previously offended using binary search. It gets cleared when", + " the era ends." + ] + }, + { + "name": "ChillThreshold", + "modifier": "Optional", + "ty": { + "Plain": 108 + }, + "default": [ + 0 + ], + "docs": [ + " The threshold for when users can start calling `chill_other` for other validators /", + " nominators. The threshold is compared to the actual number of validators / nominators", + " (`CountFor*`) in the system compared to the configured max (`Max*Count`)." + ] + } + ] + }, + "calls": { + "ty": 105 + }, + "event": { + "ty": 40 + }, + "constants": [ + { + "name": "MaxNominations", + "ty": 4, + "value": [ + 16, + 0, + 0, + 0 + ], + "docs": [ + " Maximum number of nominations per nominator." + ] + }, + { + "name": "HistoryDepth", + "ty": 4, + "value": [ + 84, + 0, + 0, + 0 + ], + "docs": [ + " Number of eras to keep in history.", + "", + " Following information is kept for eras in `[current_era -", + " HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,", + " `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,", + " `ErasTotalStake`, `ErasStartSessionIndex`,", + " `StakingLedger.claimed_rewards`.", + "", + " Must be more than the number of eras delayed by session.", + " I.e. active era must always be in history. I.e. `active_era >", + " current_era - history_depth` must be guaranteed.", + "", + " If migrating an existing pallet from storage value to config value,", + " this should be set to same value or greater as in storage.", + "", + " Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`", + " item `StakingLedger.claimed_rewards`. Setting this value lower than", + " the existing value can lead to inconsistencies in the", + " `StakingLedger` and will need to be handled properly in a migration.", + " The test `reducing_history_depth_abrupt` shows this effect." + ] + }, + { + "name": "SessionsPerEra", + "ty": 4, + "value": [ + 6, + 0, + 0, + 0 + ], + "docs": [ + " Number of sessions per era." + ] + }, + { + "name": "BondingDuration", + "ty": 4, + "value": [ + 28, + 0, + 0, + 0 + ], + "docs": [ + " Number of eras that staked funds must remain bonded for." + ] + }, + { + "name": "SlashDeferDuration", + "ty": 4, + "value": [ + 27, + 0, + 0, + 0 + ], + "docs": [ + " Number of eras that slashes are deferred by, after computation.", + "", + " This should be less than the bonding duration. Set to 0 if slashes", + " should be applied immediately, without opportunity for intervention." + ] + }, + { + "name": "MaxNominatorRewardedPerValidator", + "ty": 4, + "value": [ + 0, + 2, + 0, + 0 + ], + "docs": [ + " The maximum number of nominators rewarded for each validator.", + "", + " For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can", + " claim their reward. This used to limit the i/o cost for the nominator payout." + ] + }, + { + "name": "MaxUnlockingChunks", + "ty": 4, + "value": [ + 32, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of `unlocking` chunks a [`StakingLedger`] can", + " have. Effectively determines how many unique eras a staker may be", + " unbonding in.", + "", + " Note: `MaxUnlockingChunks` is used as the upper bound for the", + " `BoundedVec` item `StakingLedger.unlocking`. Setting this value", + " lower than the existing value can lead to inconsistencies in the", + " `StakingLedger` and will need to be handled properly in a runtime", + " migration. The test `reducing_max_unlocking_chunks_abrupt` shows", + " this effect." + ] + } + ], + "error": { + "ty": 551 + }, + "index": 7 + }, + { + "name": "Offences", + "storage": { + "prefix": "Offences", + "entries": [ + { + "name": "Reports", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 12, + "value": 552 + } + }, + "default": [ + 0 + ], + "docs": [ + " The primary structure that holds all offence records keyed by report identifiers." + ] + }, + { + "name": "ConcurrentReportsIndex", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 553, + "value": 474 + } + }, + "default": [ + 0 + ], + "docs": [ + " A vector of reports of the same kind that happened at the same time slot." + ] + }, + { + "name": "ReportsByKindIndex", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 47, + "value": 13 + } + }, + "default": [ + 0 + ], + "docs": [ + " Enumerates all reports of a kind along with the time they happened.", + "", + " All reports are sorted by the time of offence.", + "", + " Note that the actual type of this mapping is `Vec`, this is because values of", + " different types are not supported at the moment so we are doing the manual serialization." + ] + } + ] + }, + "calls": null, + "event": { + "ty": 46 + }, + "constants": [], + "error": null, + "index": 8 + }, + { + "name": "Historical", + "storage": null, + "calls": null, + "event": null, + "constants": [], + "error": null, + "index": 33 + }, + { + "name": "Session", + "storage": { + "prefix": "Session", + "entries": [ + { + "name": "Validators", + "modifier": "Default", + "ty": { + "Plain": 104 + }, + "default": [ + 0 + ], + "docs": [ + " The current set of validators." + ] + }, + { + "name": "CurrentIndex", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Current index of the session." + ] + }, + { + "name": "QueuedChanged", + "modifier": "Default", + "ty": { + "Plain": 44 + }, + "default": [ + 0 + ], + "docs": [ + " True if the underlying economic identities or weighting behind the validators", + " has changed in the queued validator set." + ] + }, + { + "name": "QueuedKeys", + "modifier": "Default", + "ty": { + "Plain": 554 + }, + "default": [ + 0 + ], + "docs": [ + " The queued keys for the next session. When the next session begins, these keys", + " will be used to determine the validator's session keys." + ] + }, + { + "name": "DisabledValidators", + "modifier": "Default", + "ty": { + "Plain": 109 + }, + "default": [ + 0 + ], + "docs": [ + " Indices of disabled validators.", + "", + " The vec is always kept sorted so that we can find whether a given validator is", + " disabled using binary search. It gets cleared when `on_session_ending` returns", + " a new set of identities." + ] + }, + { + "name": "NextKeys", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 115 + } + }, + "default": [ + 0 + ], + "docs": [ + " The next session keys for a validator." + ] + }, + { + "name": "KeyOwner", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 556, + "value": 0 + } + }, + "default": [ + 0 + ], + "docs": [ + " The owner of a key. The key is the `KeyTypeId` + the encoded key." + ] + } + ] + }, + "calls": { + "ty": 114 + }, + "event": { + "ty": 48 + }, + "constants": [], + "error": { + "ty": 558 + }, + "index": 9 + }, + { + "name": "Grandpa", + "storage": { + "prefix": "Grandpa", + "entries": [ + { + "name": "State", + "modifier": "Default", + "ty": { + "Plain": 559 + }, + "default": [ + 0 + ], + "docs": [ + " State of the current authority set." + ] + }, + { + "name": "PendingChange", + "modifier": "Optional", + "ty": { + "Plain": 560 + }, + "default": [ + 0 + ], + "docs": [ + " Pending change: (signaled at, scheduled change)." + ] + }, + { + "name": "NextForced", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " next block number where we can force a change." + ] + }, + { + "name": "Stalled", + "modifier": "Optional", + "ty": { + "Plain": 31 + }, + "default": [ + 0 + ], + "docs": [ + " `true` if we are currently stalled." + ] + }, + { + "name": "CurrentSetId", + "modifier": "Default", + "ty": { + "Plain": 11 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The number of changes (both in terms of keys and underlying economic responsibilities)", + " in the \"set\" of Grandpa validators from genesis." + ] + }, + { + "name": "SetIdSession", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 11, + "value": 4 + } + }, + "default": [ + 0 + ], + "docs": [ + " A mapping from grandpa set ID to the index of the *most recent* session for which its", + " members were responsible.", + "", + " This is only used for validating equivocation proofs. An equivocation proof must", + " contains a key-ownership proof for a given session, therefore we need a way to tie", + " together sessions and GRANDPA set ids, i.e. we need to validate that a validator", + " was the owner of a given key on a given session, and what the active set ID was", + " during that session.", + "", + " TWOX-NOTE: `SetId` is not under user control." + ] + } + ] + }, + "calls": { + "ty": 119 + }, + "event": { + "ty": 49 + }, + "constants": [ + { + "name": "MaxAuthorities", + "ty": 4, + "value": [ + 160, + 134, + 1, + 0 + ], + "docs": [ + " Max Authorities in use" + ] + }, + { + "name": "MaxSetIdSessionEntries", + "ty": 11, + "value": [ + 168, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of entries to keep in the set id to session index mapping.", + "", + " Since the `SetIdSession` map is only used for validating equivocations this", + " value should relate to the bonding duration of whatever staking system is", + " being used (if any). If equivocation handling is not enabled then this value", + " can be zero." + ] + } + ], + "error": { + "ty": 562 + }, + "index": 11 + }, + { + "name": "ImOnline", + "storage": { + "prefix": "ImOnline", + "entries": [ + { + "name": "HeartbeatAfter", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The block number after which it's ok to send heartbeats in the current", + " session.", + "", + " At the beginning of each session we set this to a value that should fall", + " roughly in the middle of the session duration. The idea is to first wait for", + " the validators to produce a block in the current session, so that the", + " heartbeat later on will not be necessary.", + "", + " This value will only be used as a fallback if we fail to get a proper session", + " progress estimate from `NextSessionRotation`, as those estimates should be", + " more accurate then the value we calculate for `HeartbeatAfter`." + ] + }, + { + "name": "Keys", + "modifier": "Default", + "ty": { + "Plain": 563 + }, + "default": [ + 0 + ], + "docs": [ + " The current set of keys that may issue a heartbeat." + ] + }, + { + "name": "ReceivedHeartbeats", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 31, + "value": 565 + } + }, + "default": [ + 0 + ], + "docs": [ + " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to", + " `WrapperOpaque`." + ] + }, + { + "name": "AuthoredBlocks", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 539, + "value": 4 + } + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " For each session index, we keep a mapping of `ValidatorId` to the", + " number of blocks authored by the given authority." + ] + } + ] + }, + "calls": { + "ty": 131 + }, + "event": { + "ty": 54 + }, + "constants": [ + { + "name": "UnsignedPriority", + "ty": 11, + "value": [ + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "docs": [ + " A configuration for base priority of unsigned transactions.", + "", + " This is exposed so that it can be tuned for particular runtime, when", + " multiple pallets send unsigned transactions." + ] + } + ], + "error": { + "ty": 570 + }, + "index": 12 + }, + { + "name": "AuthorityDiscovery", + "storage": null, + "calls": null, + "event": null, + "constants": [], + "error": null, + "index": 13 + }, + { + "name": "Democracy", + "storage": { + "prefix": "Democracy", + "entries": [ + { + "name": "PublicPropCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The number of (public) proposals that have been made so far." + ] + }, + { + "name": "PublicProps", + "modifier": "Default", + "ty": { + "Plain": 571 + }, + "default": [ + 0 + ], + "docs": [ + " The public proposals. Unsorted. The second item is the proposal." + ] + }, + { + "name": "DepositOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 574 + } + }, + "default": [ + 0 + ], + "docs": [ + " Those who have locked a deposit.", + "", + " TWOX-NOTE: Safe, as increasing integer keys are safe." + ] + }, + { + "name": "ReferendumCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The next free referendum index, aka the number of referenda started so far." + ] + }, + { + "name": "LowestUnbaked", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The lowest referendum index representing an unbaked referendum. Equal to", + " `ReferendumCount` if there isn't a unbaked referendum." + ] + }, + { + "name": "ReferendumInfoOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 576 + } + }, + "default": [ + 0 + ], + "docs": [ + " Information concerning any given referendum.", + "", + " TWOX-NOTE: SAFE as indexes are not under an attacker’s control." + ] + }, + { + "name": "VotingOf", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 579 + } + }, + "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 + ], + "docs": [ + " All votes for a particular voter. We store the balance for the number of votes that we", + " have recorded. The second item is the total amount of delegations, that will be added.", + "", + " TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway." + ] + }, + { + "name": "LastTabledWasExternal", + "modifier": "Default", + "ty": { + "Plain": 44 + }, + "default": [ + 0 + ], + "docs": [ + " True if the last referendum tabled was submitted externally. False if it was a public", + " proposal." + ] + }, + { + "name": "NextExternal", + "modifier": "Optional", + "ty": { + "Plain": 585 + }, + "default": [ + 0 + ], + "docs": [ + " The referendum to be tabled whenever it would be valid to table an external proposal.", + " This happens when a referendum needs to be tabled and one of two conditions are met:", + " - `LastTabledWasExternal` is `false`; or", + " - `PublicProps` is empty." + ] + }, + { + "name": "Blacklist", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 586 + } + }, + "default": [ + 0 + ], + "docs": [ + " A record of who vetoed what. Maps proposal hash to a possible existent block number", + " (until when it may not be resubmitted) and who vetoed it." + ] + }, + { + "name": "Cancellations", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 44 + } + }, + "default": [ + 0 + ], + "docs": [ + " Record of all proposals that have been subject to emergency cancellation." + ] + }, + { + "name": "MetadataOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 67, + "value": 12 + } + }, + "default": [ + 0 + ], + "docs": [ + " General information concerning any proposal or referendum.", + " The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON", + " dump or IPFS hash of a JSON file.", + "", + " Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)", + " large preimages." + ] + } + ] + }, + "calls": { + "ty": 139 + }, + "event": { + "ty": 63 + }, + "constants": [ + { + "name": "EnactmentPeriod", + "ty": 4, + "value": [ + 0, + 39, + 6, + 0 + ], + "docs": [ + " The period between a proposal being approved and enacted.", + "", + " It should generally be a little more than the unstake period to ensure that", + " voting stakers have an opportunity to remove themselves from the system in the case", + " where they are on the losing side of a vote." + ] + }, + { + "name": "LaunchPeriod", + "ty": 4, + "value": [ + 0, + 39, + 6, + 0 + ], + "docs": [ + " How often (in blocks) new public referenda are launched." + ] + }, + { + "name": "VotingPeriod", + "ty": 4, + "value": [ + 0, + 39, + 6, + 0 + ], + "docs": [ + " How often (in blocks) to check for new votes." + ] + }, + { + "name": "VoteLockingPeriod", + "ty": 4, + "value": [ + 0, + 39, + 6, + 0 + ], + "docs": [ + " The minimum period of vote locking.", + "", + " It should be no shorter than enactment period to ensure that in the case of an approval,", + " those successful voters are locked into the consequences that their votes entail." + ] + }, + { + "name": "MinimumDeposit", + "ty": 6, + "value": [ + 0, + 16, + 165, + 212, + 232, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum amount to be used as a deposit for a public referendum proposal." + ] + }, + { + "name": "InstantAllowed", + "ty": 44, + "value": [ + 1 + ], + "docs": [ + " Indicator for whether an emergency origin is even allowed to happen. Some chains may", + " want to set this permanently to `false`, others may want to condition it on things such", + " as an upgrade having happened recently." + ] + }, + { + "name": "FastTrackVotingPeriod", + "ty": 4, + "value": [ + 8, + 7, + 0, + 0 + ], + "docs": [ + " Minimum voting period allowed for a fast-track referendum." + ] + }, + { + "name": "CooloffPeriod", + "ty": 4, + "value": [ + 192, + 137, + 1, + 0 + ], + "docs": [ + " Period in blocks where an external proposal may not be re-submitted after being vetoed." + ] + }, + { + "name": "MaxVotes", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of votes for an account.", + "", + " Also used to compute weight, an overly big value can", + " lead to extrinsic with very big weight: see `delegate` for instance." + ] + }, + { + "name": "MaxProposals", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of public proposals that can exist at any time." + ] + }, + { + "name": "MaxDeposits", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of deposits a public proposal may have at any time." + ] + }, + { + "name": "MaxBlacklisted", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of items which can be blacklisted." + ] + } + ], + "error": { + "ty": 587 + }, + "index": 14 + }, + { + "name": "Council", + "storage": { + "prefix": "Council", + "entries": [ + { + "name": "Proposals", + "modifier": "Default", + "ty": { + "Plain": 588 + }, + "default": [ + 0 + ], + "docs": [ + " The hashes of the active proposals." + ] + }, + { + "name": "ProposalOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 79 + } + }, + "default": [ + 0 + ], + "docs": [ + " Actual proposal for a given hash, if it's current." + ] + }, + { + "name": "Voting", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 589 + } + }, + "default": [ + 0 + ], + "docs": [ + " Votes on a given proposal, if it is ongoing." + ] + }, + { + "name": "ProposalCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Proposals so far." + ] + }, + { + "name": "Members", + "modifier": "Default", + "ty": { + "Plain": 104 + }, + "default": [ + 0 + ], + "docs": [ + " The current members of the collective. This is stored sorted (just by value)." + ] + }, + { + "name": "Prime", + "modifier": "Optional", + "ty": { + "Plain": 0 + }, + "default": [ + 0 + ], + "docs": [ + " The prime member that helps determine the default vote behavior in case of absentations." + ] + } + ] + }, + "calls": { + "ty": 143 + }, + "event": { + "ty": 68 + }, + "constants": [ + { + "name": "MaxProposalWeight", + "ty": 9, + "value": [ + 7, + 0, + 16, + 165, + 212, + 232, + 19, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 127 + ], + "docs": [ + " The maximum weight of a dispatch call that can be proposed and executed." + ] + } + ], + "error": { + "ty": 590 + }, + "index": 15 + }, + { + "name": "TechnicalCommittee", + "storage": { + "prefix": "TechnicalCommittee", + "entries": [ + { + "name": "Proposals", + "modifier": "Default", + "ty": { + "Plain": 591 + }, + "default": [ + 0 + ], + "docs": [ + " The hashes of the active proposals." + ] + }, + { + "name": "ProposalOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 79 + } + }, + "default": [ + 0 + ], + "docs": [ + " Actual proposal for a given hash, if it's current." + ] + }, + { + "name": "Voting", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 589 + } + }, + "default": [ + 0 + ], + "docs": [ + " Votes on a given proposal, if it is ongoing." + ] + }, + { + "name": "ProposalCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Proposals so far." + ] + }, + { + "name": "Members", + "modifier": "Default", + "ty": { + "Plain": 104 + }, + "default": [ + 0 + ], + "docs": [ + " The current members of the collective. This is stored sorted (just by value)." + ] + }, + { + "name": "Prime", + "modifier": "Optional", + "ty": { + "Plain": 0 + }, + "default": [ + 0 + ], + "docs": [ + " The prime member that helps determine the default vote behavior in case of absentations." + ] + } + ] + }, + "calls": { + "ty": 145 + }, + "event": { + "ty": 69 + }, + "constants": [ + { + "name": "MaxProposalWeight", + "ty": 9, + "value": [ + 7, + 0, + 16, + 165, + 212, + 232, + 19, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 127 + ], + "docs": [ + " The maximum weight of a dispatch call that can be proposed and executed." + ] + } + ], + "error": { + "ty": 592 + }, + "index": 16 + }, + { + "name": "PhragmenElection", + "storage": { + "prefix": "PhragmenElection", + "entries": [ + { + "name": "Members", + "modifier": "Default", + "ty": { + "Plain": 593 + }, + "default": [ + 0 + ], + "docs": [ + " The current elected members.", + "", + " Invariant: Always sorted based on account id." + ] + }, + { + "name": "RunnersUp", + "modifier": "Default", + "ty": { + "Plain": 593 + }, + "default": [ + 0 + ], + "docs": [ + " The current reserved runners-up.", + "", + " Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the", + " last (i.e. _best_) runner-up will be replaced." + ] + }, + { + "name": "Candidates", + "modifier": "Default", + "ty": { + "Plain": 71 + }, + "default": [ + 0 + ], + "docs": [ + " The present candidate list. A current member or runner-up can never enter this vector", + " and is always implicitly assumed to be a candidate.", + "", + " Second element is the deposit.", + "", + " Invariant: Always sorted based on account id." + ] + }, + { + "name": "ElectionRounds", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The total number of vote rounds that have happened, excluding the upcoming one." + ] + }, + { + "name": "Voting", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 595 + } + }, + "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 + ], + "docs": [ + " Votes and locked stake of a particular voter.", + "", + " TWOX-NOTE: SAFE as `AccountId` is a crypto hash." + ] + } + ] + }, + "calls": { + "ty": 146 + }, + "event": { + "ty": 70 + }, + "constants": [ + { + "name": "PalletId", + "ty": 198, + "value": [ + 112, + 104, + 114, + 101, + 108, + 101, + 99, + 116 + ], + "docs": [ + " Identifier for the elections-phragmen pallet's lock" + ] + }, + { + "name": "CandidacyBond", + "ty": 6, + "value": [ + 0, + 16, + 165, + 212, + 232, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " How much should be locked up in order to submit one's candidacy." + ] + }, + { + "name": "VotingBondBase", + "ty": 6, + "value": [ + 0, + 112, + 19, + 183, + 46, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Base deposit associated with voting.", + "", + " This should be sensibly high to economically ensure the pallet cannot be attacked by", + " creating a gigantic number of votes." + ] + }, + { + "name": "VotingBondFactor", + "ty": 6, + "value": [ + 0, + 208, + 18, + 19, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of bond that need to be locked for each vote (32 bytes)." + ] + }, + { + "name": "DesiredMembers", + "ty": 4, + "value": [ + 13, + 0, + 0, + 0 + ], + "docs": [ + " Number of members to elect." + ] + }, + { + "name": "DesiredRunnersUp", + "ty": 4, + "value": [ + 20, + 0, + 0, + 0 + ], + "docs": [ + " Number of runners_up to keep." + ] + }, + { + "name": "TermDuration", + "ty": 4, + "value": [ + 192, + 137, + 1, + 0 + ], + "docs": [ + " How long each seat is kept. This defines the next block number at which an election", + " round will happen. If set to zero, no elections are ever triggered and the module will", + " be in passive mode." + ] + }, + { + "name": "MaxCandidates", + "ty": 4, + "value": [ + 232, + 3, + 0, + 0 + ], + "docs": [ + " The maximum number of candidates in a phragmen election.", + "", + " Warning: This impacts the size of the election which is run onchain. Chose wisely, and", + " consider how it will impact `T::WeightInfo::election_phragmen`.", + "", + " When this limit is reached no more candidates are accepted in the election." + ] + }, + { + "name": "MaxVoters", + "ty": 4, + "value": [ + 16, + 39, + 0, + 0 + ], + "docs": [ + " The maximum number of voters to allow in a phragmen election.", + "", + " Warning: This impacts the size of the election which is run onchain. Chose wisely, and", + " consider how it will impact `T::WeightInfo::election_phragmen`.", + "", + " When the limit is reached the new voters are ignored." + ] + }, + { + "name": "MaxVotesPerVoter", + "ty": 4, + "value": [ + 16, + 0, + 0, + 0 + ], + "docs": [ + " Maximum numbers of votes per voter.", + "", + " Warning: This impacts the size of the election which is run onchain. Chose wisely, and", + " consider how it will impact `T::WeightInfo::election_phragmen`." + ] + } + ], + "error": { + "ty": 596 + }, + "index": 17 + }, + { + "name": "TechnicalMembership", + "storage": { + "prefix": "TechnicalMembership", + "entries": [ + { + "name": "Members", + "modifier": "Default", + "ty": { + "Plain": 597 + }, + "default": [ + 0 + ], + "docs": [ + " The current membership, stored as an ordered Vec." + ] + }, + { + "name": "Prime", + "modifier": "Optional", + "ty": { + "Plain": 0 + }, + "default": [ + 0 + ], + "docs": [ + " The current prime member, if one exists." + ] + } + ] + }, + "calls": { + "ty": 148 + }, + "event": { + "ty": 73 + }, + "constants": [], + "error": { + "ty": 598 + }, + "index": 18 + }, + { + "name": "Treasury", + "storage": { + "prefix": "Treasury", + "entries": [ + { + "name": "ProposalCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Number of proposals that have been made." + ] + }, + { + "name": "Proposals", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 599 + } + }, + "default": [ + 0 + ], + "docs": [ + " Proposals that have been made." + ] + }, + { + "name": "Deactivated", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount which has been reported as inactive to Currency." + ] + }, + { + "name": "Approvals", + "modifier": "Default", + "ty": { + "Plain": 600 + }, + "default": [ + 0 + ], + "docs": [ + " Proposal indices that have been approved but not yet awarded." + ] + } + ] + }, + "calls": { + "ty": 149 + }, + "event": { + "ty": 74 + }, + "constants": [ + { + "name": "ProposalBond", + "ty": 601, + "value": [ + 80, + 195, + 0, + 0 + ], + "docs": [ + " Fraction of a proposal's value that should be bonded in order to place the proposal.", + " An accepted proposal gets these back. A rejected proposal does not." + ] + }, + { + "name": "ProposalBondMinimum", + "ty": 6, + "value": [ + 0, + 16, + 165, + 212, + 232, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Minimum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "name": "ProposalBondMaximum", + "ty": 602, + "value": [ + 1, + 0, + 80, + 57, + 39, + 140, + 4, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Maximum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "name": "SpendPeriod", + "ty": 4, + "value": [ + 0, + 70, + 5, + 0 + ], + "docs": [ + " Period between successive spends." + ] + }, + { + "name": "Burn", + "ty": 601, + "value": [ + 16, + 39, + 0, + 0 + ], + "docs": [ + " Percentage of spare funds (if any) that are burnt per spend period." + ] + }, + { + "name": "PalletId", + "ty": 603, + "value": [ + 112, + 121, + 47, + 116, + 114, + 115, + 114, + 121 + ], + "docs": [ + " The treasury's pallet id, used for deriving its sovereign account ID." + ] + }, + { + "name": "MaxApprovals", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of approvals that can wait in the spending queue.", + "", + " NOTE: This parameter is also used within the Bounties Pallet extension if enabled." + ] + } + ], + "error": { + "ty": 604 + }, + "index": 19 + }, + { + "name": "ConvictionVoting", + "storage": { + "prefix": "ConvictionVoting", + "entries": [ + { + "name": "VotingFor", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 605, + "value": 606 + } + }, + "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 + ], + "docs": [ + " All voting for a particular voter in a particular voting class. We store the balance for the", + " number of votes that we have recorded." + ] + }, + { + "name": "ClassLocksFor", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 614 + } + }, + "default": [ + 0 + ], + "docs": [ + " The voting classes which have a non-zero lock requirement and the lock amounts which they", + " require. The actual amount locked on behalf of this pallet should always be the maximum of", + " this list." + ] + } + ] + }, + "calls": { + "ty": 150 + }, + "event": { + "ty": 75 + }, + "constants": [ + { + "name": "MaxVotes", + "ty": 4, + "value": [ + 0, + 2, + 0, + 0 + ], + "docs": [ + " The maximum number of concurrent votes an account may have.", + "", + " Also used to compute weight, an overly large value can lead to extrinsics with large", + " weight estimation: see `delegate` for instance." + ] + }, + { + "name": "VoteLockingPeriod", + "ty": 4, + "value": [ + 192, + 137, + 1, + 0 + ], + "docs": [ + " The minimum period of vote locking.", + "", + " It should be no shorter than enactment period to ensure that in the case of an approval,", + " those successful voters are locked into the consequences that their votes entail." + ] + } + ], + "error": { + "ty": 617 + }, + "index": 20 + }, + { + "name": "Referenda", + "storage": { + "prefix": "Referenda", + "entries": [ + { + "name": "ReferendumCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The next free referendum index, aka the number of referenda started so far." + ] + }, + { + "name": "ReferendumInfoFor", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 4, + "value": 618 + } + }, + "default": [ + 0 + ], + "docs": [ + " Information concerning any given referendum." + ] + }, + { + "name": "TrackQueue", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 77, + "value": 626 + } + }, + "default": [ + 0 + ], + "docs": [ + " The sorted list of referenda ready to be decided but not yet being decided, ordered by", + " conviction-weighted approvals.", + "", + " This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`." + ] + }, + { + "name": "DecidingCount", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 77, + "value": 4 + } + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The number of referenda being decided currently." + ] + }, + { + "name": "MetadataOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 4, + "value": 12 + } + }, + "default": [ + 0 + ], + "docs": [ + " The metadata is a general information concerning the referendum.", + " The `PreimageHash` refers to the preimage of the `Preimages` provider which can be a JSON", + " dump or IPFS hash of a JSON file.", + "", + " Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)", + " large preimages." + ] + } + ] + }, + "calls": { + "ty": 155 + }, + "event": { + "ty": 76 + }, + "constants": [ + { + "name": "SubmissionDeposit", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum amount to be used as a deposit for a public referendum proposal." + ] + }, + { + "name": "MaxQueued", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " Maximum size of the referendum queue for a single track." + ] + }, + { + "name": "UndecidingTimeout", + "ty": 4, + "value": [ + 128, + 19, + 3, + 0 + ], + "docs": [ + " The number of blocks after submission that a referendum must begin being decided by.", + " Once this passes, then anyone may cancel the referendum." + ] + }, + { + "name": "AlarmInterval", + "ty": 4, + "value": [ + 1, + 0, + 0, + 0 + ], + "docs": [ + " Quantization level for the referendum wakeup scheduler. A higher number will result in", + " fewer storage reads/writes needed for smaller voters, but also result in delays to the", + " automatic referendum status changes. Explicit servicing instructions are unaffected." + ] + }, + { + "name": "Tracks", + "ty": 629, + "value": [ + 60, + 0, + 0, + 16, + 114, + 111, + 111, + 116, + 1, + 0, + 0, + 0, + 0, + 128, + 198, + 164, + 126, + 141, + 3, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 64, + 56, + 0, + 0, + 64, + 56, + 0, + 0, + 2, + 144, + 215, + 62, + 13, + 0, + 0, + 0, + 0, + 87, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 84, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 0, + 0, + 202, + 154, + 59, + 0, + 0, + 0, + 0, + 0, + 101, + 205, + 29, + 1, + 0, + 72, + 119, + 104, + 105, + 116, + 101, + 108, + 105, + 115, + 116, + 101, + 100, + 95, + 99, + 97, + 108, + 108, + 101, + 114, + 100, + 0, + 0, + 0, + 0, + 64, + 122, + 16, + 243, + 90, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 44, + 1, + 0, + 0, + 0, + 39, + 6, + 0, + 100, + 0, + 0, + 0, + 100, + 0, + 0, + 0, + 2, + 236, + 151, + 37, + 16, + 0, + 0, + 0, + 0, + 123, + 87, + 60, + 23, + 0, + 0, + 0, + 0, + 66, + 57, + 47, + 18, + 0, + 0, + 0, + 0, + 2, + 14, + 0, + 132, + 0, + 0, + 0, + 0, + 0, + 214, + 230, + 31, + 1, + 0, + 0, + 0, + 0, + 57, + 98, + 121, + 2, + 0, + 0, + 0, + 0, + 10, + 0, + 52, + 115, + 116, + 97, + 107, + 105, + 110, + 103, + 95, + 97, + 100, + 109, + 105, + 110, + 10, + 0, + 0, + 0, + 0, + 32, + 61, + 136, + 121, + 45, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 8, + 7, + 0, + 0, + 100, + 0, + 0, + 0, + 0, + 201, + 67, + 48, + 36, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 93, + 111, + 120, + 0, + 0, + 0, + 0, + 0, + 232, + 46, + 237, + 0, + 0, + 0, + 0, + 0, + 140, + 104, + 137, + 255, + 255, + 255, + 255, + 255, + 11, + 0, + 36, + 116, + 114, + 101, + 97, + 115, + 117, + 114, + 101, + 114, + 10, + 0, + 0, + 0, + 0, + 160, + 114, + 78, + 24, + 9, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 8, + 7, + 0, + 0, + 64, + 56, + 0, + 0, + 2, + 144, + 215, + 62, + 13, + 0, + 0, + 0, + 0, + 87, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 84, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 0, + 0, + 202, + 154, + 59, + 0, + 0, + 0, + 0, + 0, + 101, + 205, + 29, + 12, + 0, + 44, + 108, + 101, + 97, + 115, + 101, + 95, + 97, + 100, + 109, + 105, + 110, + 10, + 0, + 0, + 0, + 0, + 32, + 61, + 136, + 121, + 45, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 8, + 7, + 0, + 0, + 100, + 0, + 0, + 0, + 0, + 201, + 67, + 48, + 36, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 93, + 111, + 120, + 0, + 0, + 0, + 0, + 0, + 232, + 46, + 237, + 0, + 0, + 0, + 0, + 0, + 140, + 104, + 137, + 255, + 255, + 255, + 255, + 255, + 13, + 0, + 64, + 102, + 101, + 108, + 108, + 111, + 119, + 115, + 104, + 105, + 112, + 95, + 97, + 100, + 109, + 105, + 110, + 10, + 0, + 0, + 0, + 0, + 32, + 61, + 136, + 121, + 45, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 8, + 7, + 0, + 0, + 100, + 0, + 0, + 0, + 0, + 201, + 67, + 48, + 36, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 93, + 111, + 120, + 0, + 0, + 0, + 0, + 0, + 232, + 46, + 237, + 0, + 0, + 0, + 0, + 0, + 140, + 104, + 137, + 255, + 255, + 255, + 255, + 255, + 14, + 0, + 52, + 103, + 101, + 110, + 101, + 114, + 97, + 108, + 95, + 97, + 100, + 109, + 105, + 110, + 10, + 0, + 0, + 0, + 0, + 32, + 61, + 136, + 121, + 45, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 8, + 7, + 0, + 0, + 100, + 0, + 0, + 0, + 2, + 144, + 215, + 62, + 13, + 0, + 0, + 0, + 0, + 87, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 84, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 2, + 89, + 162, + 244, + 2, + 0, + 0, + 0, + 0, + 163, + 41, + 107, + 5, + 0, + 0, + 0, + 0, + 46, + 107, + 74, + 253, + 255, + 255, + 255, + 255, + 15, + 0, + 52, + 97, + 117, + 99, + 116, + 105, + 111, + 110, + 95, + 97, + 100, + 109, + 105, + 110, + 10, + 0, + 0, + 0, + 0, + 32, + 61, + 136, + 121, + 45, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 8, + 7, + 0, + 0, + 100, + 0, + 0, + 0, + 2, + 144, + 215, + 62, + 13, + 0, + 0, + 0, + 0, + 87, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 84, + 67, + 222, + 19, + 0, + 0, + 0, + 0, + 2, + 89, + 162, + 244, + 2, + 0, + 0, + 0, + 0, + 163, + 41, + 107, + 5, + 0, + 0, + 0, + 0, + 46, + 107, + 74, + 253, + 255, + 255, + 255, + 255, + 20, + 0, + 80, + 114, + 101, + 102, + 101, + 114, + 101, + 110, + 100, + 117, + 109, + 95, + 99, + 97, + 110, + 99, + 101, + 108, + 108, + 101, + 114, + 232, + 3, + 0, + 0, + 0, + 64, + 122, + 16, + 243, + 90, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 192, + 137, + 1, + 0, + 8, + 7, + 0, + 0, + 100, + 0, + 0, + 0, + 0, + 201, + 67, + 48, + 36, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 93, + 111, + 120, + 0, + 0, + 0, + 0, + 0, + 232, + 46, + 237, + 0, + 0, + 0, + 0, + 0, + 140, + 104, + 137, + 255, + 255, + 255, + 255, + 255, + 21, + 0, + 68, + 114, + 101, + 102, + 101, + 114, + 101, + 110, + 100, + 117, + 109, + 95, + 107, + 105, + 108, + 108, + 101, + 114, + 232, + 3, + 0, + 0, + 0, + 64, + 99, + 82, + 191, + 198, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 176, + 4, + 0, + 0, + 0, + 39, + 6, + 0, + 8, + 7, + 0, + 0, + 100, + 0, + 0, + 0, + 0, + 201, + 67, + 48, + 36, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 93, + 111, + 120, + 0, + 0, + 0, + 0, + 0, + 232, + 46, + 237, + 0, + 0, + 0, + 0, + 0, + 140, + 104, + 137, + 255, + 255, + 255, + 255, + 255, + 30, + 0, + 48, + 115, + 109, + 97, + 108, + 108, + 95, + 116, + 105, + 112, + 112, + 101, + 114, + 200, + 0, + 0, + 0, + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 10, + 0, + 0, + 0, + 192, + 137, + 1, + 0, + 100, + 0, + 0, + 0, + 10, + 0, + 0, + 0, + 0, + 73, + 145, + 73, + 21, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 249, + 186, + 24, + 0, + 0, + 0, + 0, + 0, + 42, + 77, + 49, + 0, + 0, + 0, + 0, + 0, + 107, + 89, + 231, + 255, + 255, + 255, + 255, + 255, + 31, + 0, + 40, + 98, + 105, + 103, + 95, + 116, + 105, + 112, + 112, + 101, + 114, + 100, + 0, + 0, + 0, + 0, + 232, + 118, + 72, + 23, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 100, + 0, + 0, + 0, + 192, + 137, + 1, + 0, + 88, + 2, + 0, + 0, + 100, + 0, + 0, + 0, + 0, + 73, + 145, + 73, + 21, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 105, + 79, + 63, + 0, + 0, + 0, + 0, + 0, + 53, + 150, + 125, + 0, + 0, + 0, + 0, + 0, + 229, + 52, + 193, + 255, + 255, + 255, + 255, + 255, + 32, + 0, + 52, + 115, + 109, + 97, + 108, + 108, + 95, + 115, + 112, + 101, + 110, + 100, + 101, + 114, + 50, + 0, + 0, + 0, + 0, + 16, + 165, + 212, + 232, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 96, + 9, + 0, + 0, + 0, + 39, + 6, + 0, + 32, + 28, + 0, + 0, + 64, + 56, + 0, + 0, + 0, + 201, + 67, + 48, + 36, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 93, + 111, + 120, + 0, + 0, + 0, + 0, + 0, + 232, + 46, + 237, + 0, + 0, + 0, + 0, + 0, + 140, + 104, + 137, + 255, + 255, + 255, + 255, + 255, + 33, + 0, + 56, + 109, + 101, + 100, + 105, + 117, + 109, + 95, + 115, + 112, + 101, + 110, + 100, + 101, + 114, + 50, + 0, + 0, + 0, + 0, + 32, + 74, + 169, + 209, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 96, + 9, + 0, + 0, + 0, + 39, + 6, + 0, + 64, + 56, + 0, + 0, + 64, + 56, + 0, + 0, + 0, + 91, + 1, + 246, + 48, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 17, + 97, + 219, + 0, + 0, + 0, + 0, + 0, + 191, + 209, + 170, + 1, + 0, + 0, + 0, + 0, + 32, + 151, + 42, + 255, + 255, + 255, + 255, + 255, + 34, + 0, + 44, + 98, + 105, + 103, + 95, + 115, + 112, + 101, + 110, + 100, + 101, + 114, + 50, + 0, + 0, + 0, + 0, + 64, + 148, + 82, + 163, + 3, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 96, + 9, + 0, + 0, + 0, + 39, + 6, + 0, + 128, + 112, + 0, + 0, + 64, + 56, + 0, + 0, + 0, + 0, + 202, + 154, + 59, + 0, + 101, + 205, + 29, + 0, + 202, + 154, + 59, + 2, + 65, + 60, + 176, + 1, + 0, + 0, + 0, + 0, + 117, + 93, + 52, + 3, + 0, + 0, + 0, + 0, + 69, + 209, + 101, + 254, + 255, + 255, + 255, + 255 + ], + "docs": [ + " Information concerning the different referendum tracks." + ] + } + ], + "error": { + "ty": 635 + }, + "index": 21 + }, + { + "name": "Whitelist", + "storage": { + "prefix": "Whitelist", + "entries": [ + { + "name": "WhitelistedCall", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 12, + "value": 34 + } + }, + "default": [ + 0 + ], + "docs": [] + } + ] + }, + "calls": { + "ty": 173 + }, + "event": { + "ty": 436 + }, + "constants": [], + "error": { + "ty": 636 + }, + "index": 23 + }, + { + "name": "Claims", + "storage": { + "prefix": "Claims", + "entries": [ + { + "name": "Claims", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 177, + "value": 6 + } + }, + "default": [ + 0 + ], + "docs": [] + }, + { + "name": "Total", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [] + }, + { + "name": "Vesting", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 177, + "value": 179 + } + }, + "default": [ + 0 + ], + "docs": [ + " Vesting schedule for a claim.", + " First balance is the total amount that should be held for vesting.", + " Second balance is how much should be unlocked per block.", + " The block number is when the vesting should start." + ] + }, + { + "name": "Signing", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 177, + "value": 181 + } + }, + "default": [ + 0 + ], + "docs": [ + " The statement kind that must be signed, if any." + ] + }, + { + "name": "Preclaims", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 0, + "value": 177 + } + }, + "default": [ + 0 + ], + "docs": [ + " Pre-claimed Ethereum accounts, by the Account ID that they are claimed to." + ] + } + ] + }, + "calls": { + "ty": 174 + }, + "event": { + "ty": 441 + }, + "constants": [ + { + "name": "Prefix", + "ty": 13, + "value": [ + 132, + 80, + 97, + 121, + 32, + 68, + 79, + 84, + 115, + 32, + 116, + 111, + 32, + 116, + 104, + 101, + 32, + 80, + 111, + 108, + 107, + 97, + 100, + 111, + 116, + 32, + 97, + 99, + 99, + 111, + 117, + 110, + 116, + 58 + ], + "docs": [] + } + ], + "error": { + "ty": 637 + }, + "index": 24 + }, + { + "name": "Vesting", + "storage": { + "prefix": "Vesting", + "entries": [ + { + "name": "Vesting", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 638 + } + }, + "default": [ + 0 + ], + "docs": [ + " Information regarding the vesting of a given account." + ] + }, + { + "name": "StorageVersion", + "modifier": "Default", + "ty": { + "Plain": 640 + }, + "default": [ + 0 + ], + "docs": [ + " Storage version of the pallet.", + "", + " New networks start with latest version, as determined by the genesis build." + ] + } + ] + }, + "calls": { + "ty": 182 + }, + "event": { + "ty": 442 + }, + "constants": [ + { + "name": "MinVestedTransfer", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum amount transferred to call `vested_transfer`." + ] + }, + { + "name": "MaxVestingSchedules", + "ty": 4, + "value": [ + 28, + 0, + 0, + 0 + ], + "docs": [] + } + ], + "error": { + "ty": 641 + }, + "index": 25 + }, + { + "name": "Utility", + "storage": null, + "calls": { + "ty": 184 + }, + "event": { + "ty": 443 + }, + "constants": [ + { + "name": "batched_calls_limit", + "ty": 4, + "value": [ + 170, + 42, + 0, + 0 + ], + "docs": [ + " The limit on the number of batched calls." + ] + } + ], + "error": { + "ty": 642 + }, + "index": 26 + }, + { + "name": "Identity", + "storage": { + "prefix": "Identity", + "entries": [ + { + "name": "IdentityOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 643 + } + }, + "default": [ + 0 + ], + "docs": [ + " Information that is pertinent to identify the entity behind an account.", + "", + " TWOX-NOTE: OK ― `AccountId` is a secure hash." + ] + }, + { + "name": "SuperOf", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 223 + } + }, + "default": [ + 0 + ], + "docs": [ + " The super-identity of an alternative \"sub\" identity together with its name, within that", + " context. If the account is not some other account's sub-identity, then just `None`." + ] + }, + { + "name": "SubsOf", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 647 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Alternative \"sub\" identities of this account.", + "", + " The first item is the deposit, the second is a vector of the accounts.", + "", + " TWOX-NOTE: OK ― `AccountId` is a secure hash." + ] + }, + { + "name": "Registrars", + "modifier": "Default", + "ty": { + "Plain": 649 + }, + "default": [ + 0 + ], + "docs": [ + " The set of registrars. Not expected to get very big as can only be added through a", + " special origin (likely a council motion).", + "", + " The index into this can be cast to `RegistrarIndex` to get a valid value." + ] + } + ] + }, + "calls": { + "ty": 186 + }, + "event": { + "ty": 444 + }, + "constants": [ + { + "name": "BasicDeposit", + "ty": 6, + "value": [ + 0, + 125, + 181, + 42, + 47, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount held on deposit for a registered identity" + ] + }, + { + "name": "FieldDeposit", + "ty": 6, + "value": [ + 0, + 205, + 86, + 39, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount held on deposit per additional field for a registered identity." + ] + }, + { + "name": "SubAccountDeposit", + "ty": 6, + "value": [ + 128, + 248, + 132, + 176, + 46, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount held on deposit for a registered subaccount. This should account for the fact", + " that one storage item's value will increase by the size of an account ID, and there will", + " be another trie item whose value is the size of an account ID plus 32 bytes." + ] + }, + { + "name": "MaxSubAccounts", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " The maximum number of sub-accounts allowed per identified account." + ] + }, + { + "name": "MaxAdditionalFields", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O", + " required to access an identity, but can be pretty high." + ] + }, + { + "name": "MaxRegistrars", + "ty": 4, + "value": [ + 20, + 0, + 0, + 0 + ], + "docs": [ + " Maxmimum number of registrars allowed in the system. Needed to bound the complexity", + " of, e.g., updating judgements." + ] + } + ], + "error": { + "ty": 653 + }, + "index": 28 + }, + { + "name": "Proxy", + "storage": { + "prefix": "Proxy", + "entries": [ + { + "name": "Proxies", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 654 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The set of account proxies. Maps the account which has delegated to the accounts", + " which are being delegated to, together with the amount held on deposit." + ] + }, + { + "name": "Announcements", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 658 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The announcements made by the proxy (key)." + ] + } + ] + }, + "calls": { + "ty": 227 + }, + "event": { + "ty": 445 + }, + "constants": [ + { + "name": "ProxyDepositBase", + "ty": 6, + "value": [ + 0, + 132, + 178, + 149, + 46, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The base amount of currency needed to reserve for creating a proxy.", + "", + " This is held for an additional storage item whose value size is", + " `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes." + ] + }, + { + "name": "ProxyDepositFactor", + "ty": 6, + "value": [ + 128, + 102, + 171, + 19, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of currency needed per proxy added.", + "", + " This is held for adding 32 bytes plus an instance of `ProxyType` more into a", + " pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take", + " into account `32 + proxy_type.encode().len()` bytes of data." + ] + }, + { + "name": "MaxProxies", + "ty": 4, + "value": [ + 32, + 0, + 0, + 0 + ], + "docs": [ + " The maximum amount of proxies allowed for a single account." + ] + }, + { + "name": "MaxPending", + "ty": 4, + "value": [ + 32, + 0, + 0, + 0 + ], + "docs": [ + " The maximum amount of time-delayed announcements that are allowed to be pending." + ] + }, + { + "name": "AnnouncementDepositBase", + "ty": 6, + "value": [ + 0, + 132, + 178, + 149, + 46, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The base amount of currency needed to reserve for creating an announcement.", + "", + " This is held when a new storage item holding a `Balance` is created (typically 16", + " bytes)." + ] + }, + { + "name": "AnnouncementDepositFactor", + "ty": 6, + "value": [ + 0, + 205, + 86, + 39, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of currency needed per announcement made.", + "", + " This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)", + " into a pre-existing storage value." + ] + } + ], + "error": { + "ty": 662 + }, + "index": 29 + }, + { + "name": "Multisig", + "storage": { + "prefix": "Multisig", + "entries": [ + { + "name": "Multisigs", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat" + ], + "key": 663, + "value": 664 + } + }, + "default": [ + 0 + ], + "docs": [ + " The set of open multisig operations." + ] + } + ] + }, + "calls": { + "ty": 230 + }, + "event": { + "ty": 446 + }, + "constants": [ + { + "name": "DepositBase", + "ty": 6, + "value": [ + 0, + 140, + 97, + 197, + 46, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The base amount of currency needed to reserve for creating a multisig execution or to", + " store a dispatch call for later.", + "", + " This is held for an additional storage item whose value size is", + " `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is", + " `32 + sizeof(AccountId)` bytes." + ] + }, + { + "name": "DepositFactor", + "ty": 6, + "value": [ + 0, + 208, + 18, + 19, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount of currency needed per unit threshold when creating a multisig execution.", + "", + " This is held for adding 32 bytes more into a pre-existing storage value." + ] + }, + { + "name": "MaxSignatories", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " The maximum amount of signatories allowed in the multisig." + ] + } + ], + "error": { + "ty": 666 + }, + "index": 30 + }, + { + "name": "Bounties", + "storage": { + "prefix": "Bounties", + "entries": [ + { + "name": "BountyCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Number of bounty proposals that have been made." + ] + }, + { + "name": "Bounties", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 667 + } + }, + "default": [ + 0 + ], + "docs": [ + " Bounties that have been made." + ] + }, + { + "name": "BountyDescriptions", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 669 + } + }, + "default": [ + 0 + ], + "docs": [ + " The description of each bounty." + ] + }, + { + "name": "BountyApprovals", + "modifier": "Default", + "ty": { + "Plain": 600 + }, + "default": [ + 0 + ], + "docs": [ + " Bounty indices that have been approved but not yet funded." + ] + } + ] + }, + "calls": { + "ty": 233 + }, + "event": { + "ty": 447 + }, + "constants": [ + { + "name": "BountyDepositBase", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount held on deposit for placing a bounty proposal." + ] + }, + { + "name": "BountyDepositPayoutDelay", + "ty": 4, + "value": [ + 0, + 194, + 1, + 0 + ], + "docs": [ + " The delay period for which a bounty beneficiary need to wait before claim the payout." + ] + }, + { + "name": "BountyUpdatePeriod", + "ty": 4, + "value": [ + 128, + 198, + 19, + 0 + ], + "docs": [ + " Bounty duration in blocks." + ] + }, + { + "name": "CuratorDepositMultiplier", + "ty": 601, + "value": [ + 32, + 161, + 7, + 0 + ], + "docs": [ + " The curator deposit is calculated as a percentage of the curator fee.", + "", + " This deposit has optional upper and lower bounds with `CuratorDepositMax` and", + " `CuratorDepositMin`." + ] + }, + { + "name": "CuratorDepositMax", + "ty": 602, + "value": [ + 1, + 0, + 32, + 74, + 169, + 209, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Maximum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "name": "CuratorDepositMin", + "ty": 602, + "value": [ + 1, + 0, + 232, + 118, + 72, + 23, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Minimum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "name": "BountyValueMinimum", + "ty": 6, + "value": [ + 0, + 232, + 118, + 72, + 23, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Minimum value for a bounty." + ] + }, + { + "name": "DataDepositPerByte", + "ty": 6, + "value": [ + 0, + 225, + 245, + 5, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount held on deposit per byte within the tip report reason or bounty description." + ] + }, + { + "name": "MaximumReasonLength", + "ty": 4, + "value": [ + 0, + 64, + 0, + 0 + ], + "docs": [ + " Maximum acceptable reason length.", + "", + " Benchmarks depend on this value, be sure to update weights file when changing this value" + ] + } + ], + "error": { + "ty": 670 + }, + "index": 34 + }, + { + "name": "ChildBounties", + "storage": { + "prefix": "ChildBounties", + "entries": [ + { + "name": "ChildBountyCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Number of total child bounties." + ] + }, + { + "name": "ParentChildBounties", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 4 + } + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Number of child bounties per parent bounty.", + " Map of parent bounty index to number of child bounties." + ] + }, + { + "name": "ChildBounties", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "key": 31, + "value": 671 + } + }, + "default": [ + 0 + ], + "docs": [ + " Child bounties that have been added." + ] + }, + { + "name": "ChildBountyDescriptions", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 669 + } + }, + "default": [ + 0 + ], + "docs": [ + " The description of each child-bounty." + ] + }, + { + "name": "ChildrenCuratorFees", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 6 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The cumulative child-bounty curator fee for each parent bounty." + ] + } + ] + }, + "calls": { + "ty": 234 + }, + "event": { + "ty": 448 + }, + "constants": [ + { + "name": "MaxActiveChildBountyCount", + "ty": 4, + "value": [ + 100, + 0, + 0, + 0 + ], + "docs": [ + " Maximum number of child bounties that can be added to a parent bounty." + ] + }, + { + "name": "ChildBountyValueMinimum", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Minimum value for a child-bounty." + ] + } + ], + "error": { + "ty": 673 + }, + "index": 38 + }, + { + "name": "Tips", + "storage": { + "prefix": "Tips", + "entries": [ + { + "name": "Tips", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 12, + "value": 674 + } + }, + "default": [ + 0 + ], + "docs": [ + " TipsMap that are not yet completed. Keyed by the hash of `(reason, who)` from the value.", + " This has the insecure enumerable hash function since the key itself is already", + " guaranteed to be a secure hash." + ] + }, + { + "name": "Reasons", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 13 + } + }, + "default": [ + 0 + ], + "docs": [ + " Simple preimage lookup from the reason's hash to the original data. Again, has an", + " insecure enumerable hash since the key is guaranteed to be the result of a secure hash." + ] + } + ] + }, + "calls": { + "ty": 235 + }, + "event": { + "ty": 449 + }, + "constants": [ + { + "name": "MaximumReasonLength", + "ty": 4, + "value": [ + 0, + 64, + 0, + 0 + ], + "docs": [ + " Maximum acceptable reason length.", + "", + " Benchmarks depend on this value, be sure to update weights file when changing this value" + ] + }, + { + "name": "DataDepositPerByte", + "ty": 6, + "value": [ + 0, + 225, + 245, + 5, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount held on deposit per byte within the tip report reason or bounty description." + ] + }, + { + "name": "TipCountdown", + "ty": 4, + "value": [ + 64, + 56, + 0, + 0 + ], + "docs": [ + " The period for which a tip remains open after is has achieved threshold tippers." + ] + }, + { + "name": "TipFindersFee", + "ty": 108, + "value": [ + 20 + ], + "docs": [ + " The percent of the final tip which goes to the original reporter of the tip." + ] + }, + { + "name": "TipReportDepositBase", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The amount held on deposit for placing a tip report." + ] + } + ], + "error": { + "ty": 675 + }, + "index": 35 + }, + { + "name": "ElectionProviderMultiPhase", + "storage": { + "prefix": "ElectionProviderMultiPhase", + "entries": [ + { + "name": "Round", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 1, + 0, + 0, + 0 + ], + "docs": [ + " Internal counter for the number of rounds.", + "", + " This is useful for de-duplication of transactions submitted to the pool, and general", + " diagnostics of the pallet.", + "", + " This is merely incremented once per every time that an upstream `elect` is called." + ] + }, + { + "name": "CurrentPhase", + "modifier": "Default", + "ty": { + "Plain": 452 + }, + "default": [ + 0 + ], + "docs": [ + " Current phase." + ] + }, + { + "name": "QueuedSolution", + "modifier": "Optional", + "ty": { + "Plain": 676 + }, + "default": [ + 0 + ], + "docs": [ + " Current best solution, signed or unsigned, queued to be returned upon `elect`." + ] + }, + { + "name": "Snapshot", + "modifier": "Optional", + "ty": { + "Plain": 678 + }, + "default": [ + 0 + ], + "docs": [ + " Snapshot data of the round.", + "", + " This is created at the beginning of the signed phase and cleared upon calling `elect`." + ] + }, + { + "name": "DesiredTargets", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " Desired number of targets to elect for this round.", + "", + " Only exists when [`Snapshot`] is present." + ] + }, + { + "name": "SnapshotMetadata", + "modifier": "Optional", + "ty": { + "Plain": 290 + }, + "default": [ + 0 + ], + "docs": [ + " The metadata of the [`RoundSnapshot`]", + "", + " Only exists when [`Snapshot`] is present." + ] + }, + { + "name": "SignedSubmissionNextIndex", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The next index to be assigned to an incoming signed submission.", + "", + " Every accepted submission is assigned a unique index; that index is bound to that particular", + " submission for the duration of the election. On election finalization, the next index is", + " reset to 0.", + "", + " We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its", + " capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,", + " because iteration is slow. Instead, we store the value here." + ] + }, + { + "name": "SignedSubmissionIndices", + "modifier": "Default", + "ty": { + "Plain": 681 + }, + "default": [ + 0 + ], + "docs": [ + " A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a", + " value in `SignedSubmissions`.", + "", + " We never need to process more than a single signed submission at a time. Signed submissions", + " can be quite large, so we're willing to pay the cost of multiple database accesses to access", + " them one at a time instead of reading and decoding all of them at once." + ] + }, + { + "name": "SignedSubmissionsMap", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 684 + } + }, + "default": [ + 0 + ], + "docs": [ + " Unchecked, signed solutions.", + "", + " Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while", + " allowing us to keep only a single one in memory at a time.", + "", + " Twox note: the key of the map is an auto-incrementing index which users cannot inspect or", + " affect; we shouldn't need a cryptographically secure hasher." + ] + }, + { + "name": "MinimumUntrustedScore", + "modifier": "Optional", + "ty": { + "Plain": 289 + }, + "default": [ + 0 + ], + "docs": [ + " The minimum score that each 'untrusted' solution must attain in order to be considered", + " feasible.", + "", + " Can be set via `set_minimum_untrusted_score`." + ] + } + ] + }, + "calls": { + "ty": 236 + }, + "event": { + "ty": 450 + }, + "constants": [ + { + "name": "UnsignedPhase", + "ty": 4, + "value": [ + 88, + 2, + 0, + 0 + ], + "docs": [ + " Duration of the unsigned phase." + ] + }, + { + "name": "SignedPhase", + "ty": 4, + "value": [ + 88, + 2, + 0, + 0 + ], + "docs": [ + " Duration of the signed phase." + ] + }, + { + "name": "BetterSignedThreshold", + "ty": 41, + "value": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum amount of improvement to the solution score that defines a solution as", + " \"better\" in the Signed phase." + ] + }, + { + "name": "BetterUnsignedThreshold", + "ty": 41, + "value": [ + 32, + 161, + 7, + 0 + ], + "docs": [ + " The minimum amount of improvement to the solution score that defines a solution as", + " \"better\" in the Unsigned phase." + ] + }, + { + "name": "OffchainRepeat", + "ty": 4, + "value": [ + 18, + 0, + 0, + 0 + ], + "docs": [ + " The repeat threshold of the offchain worker.", + "", + " For example, if it is 5, that means that at least 5 blocks will elapse between attempts", + " to submit the worker's solution." + ] + }, + { + "name": "MinerTxPriority", + "ty": 11, + "value": [ + 101, + 102, + 102, + 102, + 102, + 102, + 102, + 230 + ], + "docs": [ + " The priority of the unsigned transaction submitted in the unsigned-phase" + ] + }, + { + "name": "SignedMaxSubmissions", + "ty": 4, + "value": [ + 16, + 0, + 0, + 0 + ], + "docs": [ + " Maximum number of signed submissions that can be queued.", + "", + " It is best to avoid adjusting this during an election, as it impacts downstream data", + " structures. In particular, `SignedSubmissionIndices` is bounded on this value. If you", + " update this value during an election, you _must_ ensure that", + " `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise,", + " attempts to submit new solutions may cause a runtime panic." + ] + }, + { + "name": "SignedMaxWeight", + "ty": 9, + "value": [ + 11, + 48, + 244, + 108, + 42, + 87, + 1, + 19, + 163, + 112, + 61, + 10, + 215, + 163, + 112, + 189 + ], + "docs": [ + " Maximum weight of a signed solution.", + "", + " If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of", + " this pallet), then [`MinerConfig::solution_weight`] is used to compare against", + " this value." + ] + }, + { + "name": "SignedMaxRefunds", + "ty": 4, + "value": [ + 4, + 0, + 0, + 0 + ], + "docs": [ + " The maximum amount of unchecked solutions to refund the call fee for." + ] + }, + { + "name": "SignedRewardBase", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Base reward for a signed solution" + ] + }, + { + "name": "SignedDepositBase", + "ty": 6, + "value": [ + 0, + 160, + 219, + 33, + 93, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Base deposit for a signed solution." + ] + }, + { + "name": "SignedDepositByte", + "ty": 6, + "value": [ + 120, + 125, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Per-byte deposit for a signed solution." + ] + }, + { + "name": "SignedDepositWeight", + "ty": 6, + "value": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Per-weight deposit for a signed solution." + ] + }, + { + "name": "MaxElectingVoters", + "ty": 4, + "value": [ + 228, + 87, + 0, + 0 + ], + "docs": [ + " The maximum number of electing voters to put in the snapshot. At the moment, snapshots", + " are only over a single block, but once multi-block elections are introduced they will", + " take place over multiple blocks." + ] + }, + { + "name": "MaxElectableTargets", + "ty": 77, + "value": [ + 255, + 255 + ], + "docs": [ + " The maximum number of electable targets to put in the snapshot." + ] + }, + { + "name": "MaxWinners", + "ty": 4, + "value": [ + 176, + 4, + 0, + 0 + ], + "docs": [ + " The maximum number of winners that can be elected by this `ElectionProvider`", + " implementation.", + "", + " Note: This must always be greater or equal to `T::DataProvider::desired_targets()`." + ] + }, + { + "name": "MinerMaxLength", + "ty": 4, + "value": [ + 0, + 0, + 54, + 0 + ], + "docs": [] + }, + { + "name": "MinerMaxWeight", + "ty": 9, + "value": [ + 11, + 48, + 244, + 108, + 42, + 87, + 1, + 19, + 163, + 112, + 61, + 10, + 215, + 163, + 112, + 189 + ], + "docs": [] + }, + { + "name": "MinerMaxVotesPerVoter", + "ty": 4, + "value": [ + 16, + 0, + 0, + 0 + ], + "docs": [] + }, + { + "name": "MinerMaxWinners", + "ty": 4, + "value": [ + 176, + 4, + 0, + 0 + ], + "docs": [] + } + ], + "error": { + "ty": 685 + }, + "index": 36 + }, + { + "name": "VoterList", + "storage": { + "prefix": "VoterList", + "entries": [ + { + "name": "ListNodes", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 686 + } + }, + "default": [ + 0 + ], + "docs": [ + " A single node, within some bag.", + "", + " Nodes store links forward and back within their respective bags." + ] + }, + { + "name": "CounterForListNodes", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "ListBags", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 11, + "value": 687 + } + }, + "default": [ + 0 + ], + "docs": [ + " A bag stored in storage.", + "", + " Stores a `Bag` struct, which stores head and tail pointers to itself." + ] + } + ] + }, + "calls": { + "ty": 295 + }, + "event": { + "ty": 454 + }, + "constants": [ + { + "name": "BagThresholds", + "ty": 688, + "value": [ + 33, + 3, + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 243, + 158, + 128, + 151, + 2, + 0, + 0, + 0, + 168, + 177, + 151, + 226, + 2, + 0, + 0, + 0, + 148, + 73, + 46, + 54, + 3, + 0, + 0, + 0, + 39, + 156, + 58, + 147, + 3, + 0, + 0, + 0, + 3, + 188, + 206, + 250, + 3, + 0, + 0, + 0, + 66, + 192, + 27, + 110, + 4, + 0, + 0, + 0, + 27, + 71, + 117, + 238, + 4, + 0, + 0, + 0, + 56, + 94, + 85, + 125, + 5, + 0, + 0, + 0, + 70, + 220, + 96, + 28, + 6, + 0, + 0, + 0, + 137, + 56, + 108, + 205, + 6, + 0, + 0, + 0, + 182, + 238, + 128, + 146, + 7, + 0, + 0, + 0, + 254, + 126, + 227, + 109, + 8, + 0, + 0, + 0, + 232, + 27, + 26, + 98, + 9, + 0, + 0, + 0, + 176, + 25, + 244, + 113, + 10, + 0, + 0, + 0, + 16, + 53, + 146, + 160, + 11, + 0, + 0, + 0, + 207, + 201, + 111, + 241, + 12, + 0, + 0, + 0, + 65, + 20, + 109, + 104, + 14, + 0, + 0, + 0, + 231, + 155, + 218, + 9, + 16, + 0, + 0, + 0, + 206, + 232, + 133, + 218, + 17, + 0, + 0, + 0, + 40, + 169, + 199, + 223, + 19, + 0, + 0, + 0, + 187, + 112, + 147, + 31, + 22, + 0, + 0, + 0, + 142, + 64, + 137, + 160, + 24, + 0, + 0, + 0, + 129, + 10, + 9, + 106, + 27, + 0, + 0, + 0, + 54, + 106, + 72, + 132, + 30, + 0, + 0, + 0, + 91, + 211, + 106, + 248, + 33, + 0, + 0, + 0, + 128, + 124, + 156, + 208, + 37, + 0, + 0, + 0, + 201, + 85, + 48, + 24, + 42, + 0, + 0, + 0, + 189, + 99, + 193, + 219, + 46, + 0, + 0, + 0, + 113, + 224, + 87, + 41, + 52, + 0, + 0, + 0, + 104, + 144, + 146, + 16, + 58, + 0, + 0, + 0, + 237, + 196, + 212, + 162, + 64, + 0, + 0, + 0, + 105, + 147, + 121, + 243, + 71, + 0, + 0, + 0, + 143, + 216, + 12, + 24, + 80, + 0, + 0, + 0, + 75, + 175, + 138, + 40, + 89, + 0, + 0, + 0, + 106, + 22, + 166, + 63, + 99, + 0, + 0, + 0, + 9, + 149, + 23, + 123, + 110, + 0, + 0, + 0, + 120, + 197, + 244, + 251, + 122, + 0, + 0, + 0, + 98, + 200, + 17, + 231, + 136, + 0, + 0, + 0, + 81, + 191, + 109, + 101, + 152, + 0, + 0, + 0, + 4, + 142, + 171, + 164, + 169, + 0, + 0, + 0, + 84, + 70, + 152, + 215, + 188, + 0, + 0, + 0, + 145, + 202, + 192, + 54, + 210, + 0, + 0, + 0, + 23, + 95, + 24, + 1, + 234, + 0, + 0, + 0, + 189, + 21, + 178, + 124, + 4, + 1, + 0, + 0, + 67, + 53, + 143, + 247, + 33, + 1, + 0, + 0, + 184, + 252, + 132, + 200, + 66, + 1, + 0, + 0, + 153, + 103, + 60, + 80, + 103, + 1, + 0, + 0, + 7, + 228, + 78, + 250, + 143, + 1, + 0, + 0, + 179, + 65, + 131, + 62, + 189, + 1, + 0, + 0, + 2, + 127, + 46, + 162, + 239, + 1, + 0, + 0, + 152, + 131, + 188, + 185, + 39, + 2, + 0, + 0, + 22, + 77, + 101, + 42, + 102, + 2, + 0, + 0, + 180, + 149, + 19, + 172, + 171, + 2, + 0, + 0, + 45, + 142, + 130, + 11, + 249, + 2, + 0, + 0, + 161, + 230, + 152, + 44, + 79, + 3, + 0, + 0, + 166, + 22, + 8, + 13, + 175, + 3, + 0, + 0, + 204, + 157, + 55, + 199, + 25, + 4, + 0, + 0, + 160, + 213, + 132, + 149, + 144, + 4, + 0, + 0, + 66, + 231, + 224, + 213, + 20, + 5, + 0, + 0, + 2, + 140, + 215, + 13, + 168, + 5, + 0, + 0, + 15, + 117, + 10, + 239, + 75, + 6, + 0, + 0, + 234, + 141, + 46, + 92, + 2, + 7, + 0, + 0, + 195, + 203, + 153, + 110, + 205, + 7, + 0, + 0, + 177, + 229, + 113, + 124, + 175, + 8, + 0, + 0, + 170, + 43, + 142, + 31, + 171, + 9, + 0, + 0, + 181, + 193, + 32, + 61, + 195, + 10, + 0, + 0, + 38, + 208, + 61, + 14, + 251, + 11, + 0, + 0, + 112, + 199, + 89, + 41, + 86, + 13, + 0, + 0, + 235, + 173, + 218, + 140, + 216, + 14, + 0, + 0, + 247, + 151, + 219, + 170, + 134, + 16, + 0, + 0, + 207, + 240, + 68, + 118, + 101, + 18, + 0, + 0, + 31, + 38, + 96, + 113, + 122, + 20, + 0, + 0, + 9, + 166, + 17, + 190, + 203, + 22, + 0, + 0, + 29, + 251, + 232, + 47, + 96, + 25, + 0, + 0, + 148, + 58, + 60, + 96, + 63, + 28, + 0, + 0, + 138, + 254, + 137, + 196, + 113, + 31, + 0, + 0, + 206, + 217, + 99, + 199, + 0, + 35, + 0, + 0, + 3, + 169, + 42, + 228, + 246, + 38, + 0, + 0, + 254, + 114, + 238, + 197, + 95, + 43, + 0, + 0, + 54, + 201, + 204, + 105, + 72, + 48, + 0, + 0, + 218, + 227, + 50, + 69, + 191, + 53, + 0, + 0, + 6, + 42, + 116, + 112, + 212, + 59, + 0, + 0, + 124, + 151, + 50, + 214, + 153, + 66, + 0, + 0, + 132, + 163, + 36, + 104, + 35, + 74, + 0, + 0, + 87, + 26, + 212, + 89, + 135, + 82, + 0, + 0, + 231, + 241, + 2, + 98, + 222, + 91, + 0, + 0, + 13, + 184, + 118, + 3, + 68, + 102, + 0, + 0, + 174, + 4, + 1, + 222, + 214, + 113, + 0, + 0, + 125, + 158, + 179, + 8, + 185, + 126, + 0, + 0, + 30, + 4, + 74, + 118, + 16, + 141, + 0, + 0, + 58, + 29, + 240, + 100, + 7, + 157, + 0, + 0, + 224, + 79, + 175, + 218, + 204, + 174, + 0, + 0, + 86, + 121, + 240, + 47, + 149, + 194, + 0, + 0, + 149, + 195, + 170, + 169, + 154, + 216, + 0, + 0, + 150, + 124, + 5, + 37, + 30, + 241, + 0, + 0, + 23, + 122, + 102, + 214, + 103, + 12, + 1, + 0, + 40, + 203, + 31, + 30, + 200, + 42, + 1, + 0, + 250, + 40, + 47, + 117, + 152, + 76, + 1, + 0, + 213, + 125, + 200, + 116, + 60, + 114, + 1, + 0, + 125, + 196, + 179, + 251, + 34, + 156, + 1, + 0, + 54, + 92, + 222, + 116, + 199, + 202, + 1, + 0, + 158, + 184, + 225, + 66, + 179, + 254, + 1, + 0, + 12, + 49, + 174, + 84, + 127, + 56, + 2, + 0, + 95, + 225, + 1, + 232, + 213, + 120, + 2, + 0, + 99, + 115, + 218, + 126, + 116, + 192, + 2, + 0, + 81, + 209, + 166, + 13, + 46, + 16, + 3, + 0, + 199, + 233, + 164, + 104, + 237, + 104, + 3, + 0, + 97, + 192, + 145, + 247, + 183, + 203, + 3, + 0, + 191, + 39, + 161, + 183, + 176, + 57, + 4, + 0, + 123, + 20, + 153, + 148, + 27, + 180, + 4, + 0, + 133, + 35, + 237, + 34, + 97, + 60, + 5, + 0, + 105, + 165, + 212, + 197, + 18, + 212, + 5, + 0, + 236, + 140, + 147, + 77, + 239, + 124, + 6, + 0, + 245, + 170, + 144, + 27, + 232, + 56, + 7, + 0, + 140, + 190, + 93, + 219, + 38, + 10, + 8, + 0, + 2, + 151, + 140, + 225, + 19, + 243, + 8, + 0, + 250, + 227, + 20, + 67, + 93, + 246, + 9, + 0, + 221, + 241, + 45, + 186, + 254, + 22, + 11, + 0, + 46, + 186, + 220, + 111, + 74, + 88, + 12, + 0, + 12, + 85, + 24, + 196, + 242, + 189, + 13, + 0, + 240, + 187, + 84, + 49, + 21, + 76, + 15, + 0, + 73, + 142, + 134, + 107, + 70, + 7, + 17, + 0, + 178, + 193, + 83, + 222, + 159, + 244, + 18, + 0, + 39, + 138, + 47, + 178, + 206, + 25, + 21, + 0, + 178, + 57, + 159, + 132, + 36, + 125, + 23, + 0, + 225, + 153, + 231, + 4, + 170, + 37, + 26, + 0, + 186, + 19, + 245, + 171, + 51, + 27, + 29, + 0, + 38, + 71, + 133, + 204, + 120, + 102, + 32, + 0, + 136, + 191, + 128, + 63, + 45, + 17, + 36, + 0, + 28, + 152, + 35, + 248, + 29, + 38, + 40, + 0, + 204, + 196, + 34, + 212, + 80, + 177, + 44, + 0, + 240, + 136, + 130, + 5, + 40, + 192, + 49, + 0, + 54, + 124, + 109, + 126, + 137, + 97, + 55, + 0, + 110, + 147, + 41, + 211, + 10, + 166, + 61, + 0, + 140, + 188, + 108, + 19, + 34, + 160, + 68, + 0, + 0, + 112, + 243, + 42, + 92, + 100, + 76, + 0, + 180, + 59, + 132, + 105, + 153, + 9, + 85, + 0, + 128, + 180, + 171, + 228, + 80, + 169, + 94, + 0, + 160, + 205, + 169, + 121, + 219, + 95, + 105, + 0, + 76, + 194, + 127, + 76, + 199, + 76, + 117, + 0, + 208, + 172, + 14, + 186, + 52, + 147, + 130, + 0, + 72, + 62, + 12, + 207, + 61, + 90, + 145, + 0, + 104, + 198, + 142, + 116, + 105, + 205, + 161, + 0, + 40, + 30, + 111, + 165, + 43, + 29, + 180, + 0, + 152, + 169, + 35, + 38, + 116, + 127, + 200, + 0, + 240, + 154, + 116, + 99, + 77, + 48, + 223, + 0, + 128, + 205, + 252, + 75, + 141, + 114, + 248, + 0, + 144, + 20, + 96, + 45, + 154, + 144, + 20, + 1, + 240, + 180, + 19, + 217, + 69, + 221, + 51, + 1, + 32, + 151, + 53, + 150, + 193, + 180, + 86, + 1, + 80, + 220, + 251, + 174, + 173, + 125, + 125, + 1, + 224, + 17, + 152, + 185, + 71, + 170, + 168, + 1, + 48, + 199, + 238, + 22, + 187, + 185, + 216, + 1, + 32, + 110, + 72, + 134, + 151, + 57, + 14, + 2, + 160, + 250, + 75, + 29, + 114, + 199, + 73, + 2, + 192, + 17, + 113, + 112, + 181, + 18, + 140, + 2, + 128, + 138, + 22, + 67, + 166, + 222, + 213, + 2, + 192, + 248, + 35, + 177, + 162, + 4, + 40, + 3, + 128, + 175, + 89, + 112, + 162, + 118, + 131, + 3, + 192, + 111, + 45, + 135, + 255, + 65, + 233, + 3, + 64, + 147, + 127, + 172, + 143, + 146, + 90, + 4, + 0, + 145, + 9, + 113, + 23, + 182, + 216, + 4, + 64, + 15, + 223, + 91, + 33, + 32, + 101, + 5, + 0, + 73, + 193, + 73, + 68, + 110, + 1, + 6, + 0, + 142, + 188, + 166, + 229, + 108, + 175, + 6, + 0, + 89, + 86, + 134, + 133, + 28, + 113, + 7, + 128, + 104, + 170, + 52, + 164, + 183, + 72, + 8, + 128, + 161, + 226, + 158, + 82, + 185, + 56, + 9, + 0, + 189, + 171, + 232, + 128, + 228, + 67, + 10, + 0, + 42, + 114, + 180, + 32, + 76, + 109, + 11, + 128, + 241, + 192, + 19, + 51, + 92, + 184, + 12, + 0, + 160, + 60, + 203, + 220, + 227, + 40, + 14, + 128, + 184, + 98, + 154, + 158, + 32, + 195, + 15, + 0, + 222, + 86, + 147, + 210, + 202, + 139, + 17, + 0, + 93, + 127, + 76, + 147, + 35, + 136, + 19, + 0, + 26, + 135, + 223, + 53, + 4, + 190, + 21, + 0, + 167, + 206, + 75, + 132, + 239, + 51, + 24, + 0, + 1, + 16, + 251, + 234, + 36, + 241, + 26, + 0, + 128, + 42, + 229, + 209, + 181, + 253, + 29, + 0, + 34, + 161, + 52, + 96, + 157, + 98, + 33, + 0, + 68, + 33, + 107, + 240, + 218, + 41, + 37, + 0, + 2, + 97, + 241, + 130, + 143, + 94, + 41, + 0, + 102, + 32, + 207, + 133, + 30, + 13, + 46, + 0, + 132, + 16, + 25, + 82, + 82, + 67, + 51, + 0, + 160, + 193, + 143, + 202, + 132, + 16, + 57, + 0, + 38, + 173, + 20, + 147, + 204, + 133, + 63, + 0, + 208, + 205, + 36, + 102, + 47, + 182, + 70, + 0, + 156, + 225, + 154, + 28, + 218, + 182, + 78, + 0, + 88, + 204, + 194, + 12, + 95, + 159, + 87, + 0, + 32, + 10, + 117, + 120, + 251, + 137, + 97, + 0, + 48, + 187, + 187, + 214, + 228, + 147, + 108, + 0, + 96, + 203, + 167, + 220, + 158, + 221, + 120, + 0, + 184, + 59, + 192, + 66, + 91, + 139, + 134, + 0, + 184, + 134, + 35, + 97, + 100, + 197, + 149, + 0, + 248, + 241, + 95, + 220, + 147, + 184, + 166, + 0, + 32, + 106, + 145, + 192, + 214, + 150, + 185, + 0, + 216, + 239, + 226, + 143, + 192, + 151, + 206, + 0, + 104, + 41, + 155, + 245, + 46, + 249, + 229, + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "docs": [ + " The list of thresholds separating the various bags.", + "", + " Ids are separated into unsorted bags according to their score. This specifies the", + " thresholds separating the bags. An id's bag is the largest bag for which the id's score", + " is less than or equal to its upper threshold.", + "", + " When ids are iterated, higher bags are iterated completely before lower bags. This means", + " that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower", + " score, but peer ids within a particular bag are sorted in insertion order.", + "", + " # Expressing the constant", + "", + " This constant must be sorted in strictly increasing order. Duplicate items are not", + " permitted.", + "", + " There is an implied upper limit of `Score::MAX`; that value does not need to be", + " specified within the bag. For any two threshold lists, if one ends with", + " `Score::MAX`, the other one does not, and they are otherwise equal, the two", + " lists will behave identically.", + "", + " # Calculation", + "", + " It is recommended to generate the set of thresholds in a geometric series, such that", + " there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *", + " constant_ratio).max(threshold[k] + 1)` for all `k`.", + "", + " The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.", + "", + " # Examples", + "", + " - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and", + " iteration is strictly in insertion order.", + " - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to", + " the procedure given above, then the constant ratio is equal to 2.", + " - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to", + " the procedure given above, then the constant ratio is approximately equal to 1.248.", + " - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall", + " into bag 0, an id with score 2 will fall into bag 1, etc.", + "", + " # Migration", + "", + " In the event that this list ever changes, a copy of the old bags list must be retained.", + " With that `List::migrate` can be called, which will perform the appropriate migration." + ] + } + ], + "error": { + "ty": 689 + }, + "index": 37 + }, + { + "name": "NominationPools", + "storage": { + "prefix": "NominationPools", + "entries": [ + { + "name": "MinJoinBond", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Minimum amount to bond to join a pool." + ] + }, + { + "name": "MinCreateBond", + "modifier": "Default", + "ty": { + "Plain": 6 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Minimum bond required to create a pool.", + "", + " This is the amount that the depositor must put as their initial stake in the pool, as an", + " indication of \"skin in the game\".", + "", + " This is the value that will always exist in the staking ledger of the pool bonded account", + " while all other accounts leave." + ] + }, + { + "name": "MaxPools", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " Maximum number of nomination pools that can exist. If `None`, then an unbounded number of", + " pools can exist." + ] + }, + { + "name": "MaxPoolMembers", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " Maximum number of members that can exist in the system. If `None`, then the count", + " members are not bound on a system wide basis." + ] + }, + { + "name": "MaxPoolMembersPerPool", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " Maximum number of members that may belong to pool. If `None`, then the count of", + " members is not bound on a per pool basis." + ] + }, + { + "name": "GlobalMaxCommission", + "modifier": "Optional", + "ty": { + "Plain": 41 + }, + "default": [ + 0 + ], + "docs": [ + " The maximum commission that can be charged by a pool. Used on commission payouts to bound", + " pool commissions that are > `GlobalMaxCommission`, necessary if a future", + " `GlobalMaxCommission` is lower than some current pool commissions." + ] + }, + { + "name": "PoolMembers", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 691 + } + }, + "default": [ + 0 + ], + "docs": [ + " Active members.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "name": "CounterForPoolMembers", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "BondedPools", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 694 + } + }, + "default": [ + 0 + ], + "docs": [ + " Storage for bonded pools." + ] + }, + { + "name": "CounterForBondedPools", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "RewardPools", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 699 + } + }, + "default": [ + 0 + ], + "docs": [ + " Reward pools. This is where there rewards for each pool accumulate. When a members payout is", + " claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account." + ] + }, + { + "name": "CounterForRewardPools", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "SubPoolsStorage", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 700 + } + }, + "default": [ + 0 + ], + "docs": [ + " Groups of unbonding pools. Each group of unbonding pools belongs to a", + " bonded pool, hence the name sub-pools. Keyed by the bonded pools account." + ] + }, + { + "name": "CounterForSubPoolsStorage", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "Metadata", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 706 + } + }, + "default": [ + 0 + ], + "docs": [ + " Metadata for the pool." + ] + }, + { + "name": "CounterForMetadata", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "LastPoolId", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Ever increasing number of all pools created so far." + ] + }, + { + "name": "ReversePoolIdLookup", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 4 + } + }, + "default": [ + 0 + ], + "docs": [ + " A reverse lookup from the pool's account id to its id.", + "", + " This is only used for slashing. In all other instances, the pool id is used, and the", + " accounts are deterministically derived from it." + ] + }, + { + "name": "CounterForReversePoolIdLookup", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "ClaimPermissions", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 303 + } + }, + "default": [ + 0 + ], + "docs": [ + " Map from a pool member account to their opted claim permission." + ] + } + ] + }, + "calls": { + "ty": 296 + }, + "event": { + "ty": 455 + }, + "constants": [ + { + "name": "PalletId", + "ty": 603, + "value": [ + 112, + 121, + 47, + 110, + 111, + 112, + 108, + 115 + ], + "docs": [ + " The nomination pool's pallet id." + ] + }, + { + "name": "MaxPointsToBalance", + "ty": 2, + "value": [ + 10 + ], + "docs": [ + " The maximum pool points-to-balance ratio that an `open` pool can have.", + "", + " This is important in the event slashing takes place and the pool's points-to-balance", + " ratio becomes disproportional.", + "", + " Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations", + " are a function of number of points, and by setting this value to e.g. 10, you ensure", + " that the total number of points in the system are at most 10 times the total_issuance of", + " the chain, in the absolute worse case.", + "", + " For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.", + " Such a scenario would also be the equivalent of the pool being 90% slashed." + ] + } + ], + "error": { + "ty": 707 + }, + "index": 39 + }, + { + "name": "FastUnstake", + "storage": { + "prefix": "FastUnstake", + "entries": [ + { + "name": "Head", + "modifier": "Optional", + "ty": { + "Plain": 709 + }, + "default": [ + 0 + ], + "docs": [ + " The current \"head of the queue\" being unstaked." + ] + }, + { + "name": "Queue", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 0, + "value": 6 + } + }, + "default": [ + 0 + ], + "docs": [ + " The map of all accounts wishing to be unstaked.", + "", + " Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "name": "CounterForQueue", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "ErasToCheckPerBlock", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Number of eras to check per block.", + "", + " If set to 0, this pallet does absolutely nothing.", + "", + " Based on the amount of weight available at `on_idle`, up to this many eras of a single", + " nominator might be checked." + ] + } + ] + }, + "calls": { + "ty": 307 + }, + "event": { + "ty": 456 + }, + "constants": [ + { + "name": "Deposit", + "ty": 6, + "value": [ + 0, + 228, + 11, + 84, + 2, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Deposit to take for unstaking, to make sure we're able to slash the it in order to cover", + " the costs of resources on unsuccessful unstake." + ] + } + ], + "error": { + "ty": 712 + }, + "index": 40 + }, + { + "name": "ParachainsOrigin", + "storage": null, + "calls": null, + "event": null, + "constants": [], + "error": null, + "index": 50 + }, + { + "name": "Configuration", + "storage": { + "prefix": "Configuration", + "entries": [ + { + "name": "ActiveConfig", + "modifier": "Default", + "ty": { + "Plain": 713 + }, + "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, + 2, + 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, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 6, + 0, + 0, + 0, + 100, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 7, + 0, + 200, + 23, + 168, + 4, + 2, + 0, + 64, + 1, + 0, + 2, + 0, + 0, + 0, + 2, + 0, + 0, + 0 + ], + "docs": [ + " The active configuration for the current session." + ] + }, + { + "name": "PendingConfigs", + "modifier": "Default", + "ty": { + "Plain": 714 + }, + "default": [ + 0 + ], + "docs": [ + " Pending configuration changes.", + "", + " This is a list of configuration changes, each with a session index at which it should", + " be applied.", + "", + " The list is sorted ascending by session index. Also, this list can only contain at most", + " 2 items: for the next session and for the `scheduled_session`." + ] + }, + { + "name": "BypassConsistencyCheck", + "modifier": "Default", + "ty": { + "Plain": 44 + }, + "default": [ + 0 + ], + "docs": [ + " If this is set, then the configuration setters will bypass the consistency checks. This", + " is meant to be used only as the last resort." + ] + } + ] + }, + "calls": { + "ty": 308 + }, + "event": null, + "constants": [], + "error": { + "ty": 716 + }, + "index": 51 + }, + { + "name": "ParasShared", + "storage": { + "prefix": "ParasShared", + "entries": [ + { + "name": "CurrentSessionIndex", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The current session index." + ] + }, + { + "name": "ActiveValidatorIndices", + "modifier": "Default", + "ty": { + "Plain": 717 + }, + "default": [ + 0 + ], + "docs": [ + " All the validators actively participating in parachain consensus.", + " Indices are into the broader validator set." + ] + }, + { + "name": "ActiveValidatorKeys", + "modifier": "Default", + "ty": { + "Plain": 718 + }, + "default": [ + 0 + ], + "docs": [ + " The parachain attestation keys of the validators actively participating in parachain consensus.", + " This should be the same length as `ActiveValidatorIndices`." + ] + } + ] + }, + "calls": { + "ty": 315 + }, + "event": null, + "constants": [], + "error": null, + "index": 52 + }, + { + "name": "ParaInclusion", + "storage": { + "prefix": "ParaInclusion", + "entries": [ + { + "name": "AvailabilityBitfields", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 324, + "value": 719 + } + }, + "default": [ + 0 + ], + "docs": [ + " The latest bitfield for each validator, referred to by their index in the validator set." + ] + }, + { + "name": "PendingAvailability", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 720 + } + }, + "default": [ + 0 + ], + "docs": [ + " Candidates pending availability by `ParaId`." + ] + }, + { + "name": "PendingAvailabilityCommitments", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 333 + } + }, + "default": [ + 0 + ], + "docs": [ + " The commitments of candidates pending availability, by `ParaId`." + ] + } + ] + }, + "calls": { + "ty": 316 + }, + "event": { + "ty": 457 + }, + "constants": [], + "error": { + "ty": 721 + }, + "index": 53 + }, + { + "name": "ParaInherent", + "storage": { + "prefix": "ParaInherent", + "entries": [ + { + "name": "Included", + "modifier": "Optional", + "ty": { + "Plain": 34 + }, + "default": [ + 0 + ], + "docs": [ + " Whether the paras inherent was included within this block.", + "", + " The `Option<()>` is effectively a `bool`, but it never hits storage in the `None` variant", + " due to the guarantees of FRAME's storage APIs.", + "", + " If this is `None` at the end of the block, we panic and render the block invalid." + ] + }, + { + "name": "OnChainVotes", + "modifier": "Optional", + "ty": { + "Plain": 722 + }, + "default": [ + 0 + ], + "docs": [ + " Scraped on chain data for extracting resolved disputes as well as backing votes." + ] + } + ] + }, + "calls": { + "ty": 317 + }, + "event": null, + "constants": [], + "error": { + "ty": 727 + }, + "index": 54 + }, + { + "name": "ParaScheduler", + "storage": { + "prefix": "ParaScheduler", + "entries": [ + { + "name": "ValidatorGroups", + "modifier": "Default", + "ty": { + "Plain": 728 + }, + "default": [ + 0 + ], + "docs": [ + " All the validator groups. One for each core. Indices are into `ActiveValidators` - not the", + " broader set of Polkadot validators, but instead just the subset used for parachains during", + " this session.", + "", + " Bound: The number of cores is the sum of the numbers of parachains and parathread multiplexers.", + " Reasonably, 100-1000. The dominant factor is the number of validators: safe upper bound at 10k." + ] + }, + { + "name": "ParathreadQueue", + "modifier": "Default", + "ty": { + "Plain": 729 + }, + "default": [ + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " A queue of upcoming claims and which core they should be mapped onto.", + "", + " The number of queued claims is bounded at the `scheduling_lookahead`", + " multiplied by the number of parathread multiplexer cores. Reasonably, 10 * 50 = 500." + ] + }, + { + "name": "AvailabilityCores", + "modifier": "Default", + "ty": { + "Plain": 734 + }, + "default": [ + 0 + ], + "docs": [ + " One entry for each availability core. Entries are `None` if the core is not currently occupied. Can be", + " temporarily `Some` if scheduled but not occupied.", + " The i'th parachain belongs to the i'th core, with the remaining cores all being", + " parathread-multiplexers.", + "", + " Bounded by the maximum of either of these two values:", + " * The number of parachains and parathread multiplexers", + " * The number of validators divided by `configuration.max_validators_per_core`." + ] + }, + { + "name": "ParathreadClaimIndex", + "modifier": "Default", + "ty": { + "Plain": 737 + }, + "default": [ + 0 + ], + "docs": [ + " An index used to ensure that only one claim on a parathread exists in the queue or is", + " currently being handled by an occupied core.", + "", + " Bounded by the number of parathread cores and scheduling lookahead. Reasonably, 10 * 50 = 500." + ] + }, + { + "name": "SessionStartBlock", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The block number where the session start occurred. Used to track how many group rotations have occurred.", + "", + " Note that in the context of parachains modules the session change is signaled during", + " the block and enacted at the end of the block (at the finalization stage, to be exact).", + " Thus for all intents and purposes the effect of the session change is observed at the", + " block following the session change, block number of which we save in this storage value." + ] + }, + { + "name": "Scheduled", + "modifier": "Default", + "ty": { + "Plain": 738 + }, + "default": [ + 0 + ], + "docs": [ + " Currently scheduled cores - free but up to be occupied.", + "", + " Bounded by the number of cores: one for each parachain and parathread multiplexer.", + "", + " The value contained here will not be valid after the end of a block. Runtime APIs should be used to determine scheduled cores/", + " for the upcoming block." + ] + } + ] + }, + "calls": null, + "event": null, + "constants": [], + "error": null, + "index": 55 + }, + { + "name": "Paras", + "storage": { + "prefix": "Paras", + "entries": [ + { + "name": "PvfActiveVoteMap", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 332, + "value": 741 + } + }, + "default": [ + 0 + ], + "docs": [ + " All currently active PVF pre-checking votes.", + "", + " Invariant:", + " - There are no PVF pre-checking votes that exists in list but not in the set and vice versa." + ] + }, + { + "name": "PvfActiveVoteList", + "modifier": "Default", + "ty": { + "Plain": 744 + }, + "default": [ + 0 + ], + "docs": [ + " The list of all currently active PVF votes. Auxiliary to `PvfActiveVoteMap`." + ] + }, + { + "name": "Parachains", + "modifier": "Default", + "ty": { + "Plain": 737 + }, + "default": [ + 0 + ], + "docs": [ + " All parachains. Ordered ascending by `ParaId`. Parathreads are not included.", + "", + " Consider using the [`ParachainsCache`] type of modifying." + ] + }, + { + "name": "ParaLifecycles", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 745 + } + }, + "default": [ + 0 + ], + "docs": [ + " The current lifecycle of a all known Para IDs." + ] + }, + { + "name": "Heads", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 340 + } + }, + "default": [ + 0 + ], + "docs": [ + " The head-data of every registered para." + ] + }, + { + "name": "CurrentCodeHash", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 332 + } + }, + "default": [ + 0 + ], + "docs": [ + " The validation code hash of every live para.", + "", + " Corresponding code can be retrieved with [`CodeByHash`]." + ] + }, + { + "name": "PastCodeHash", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 746, + "value": 332 + } + }, + "default": [ + 0 + ], + "docs": [ + " Actual past code hash, indicated by the para id as well as the block number at which it", + " became outdated.", + "", + " Corresponding code can be retrieved with [`CodeByHash`]." + ] + }, + { + "name": "PastCodeMeta", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 747 + } + }, + "default": [ + 0, + 0 + ], + "docs": [ + " Past code of parachains. The parachains themselves may not be registered anymore,", + " but we also keep their code on-chain for the same amount of time as outdated code", + " to keep it available for approval checkers." + ] + }, + { + "name": "PastCodePruning", + "modifier": "Default", + "ty": { + "Plain": 750 + }, + "default": [ + 0 + ], + "docs": [ + " Which paras have past code that needs pruning and the relay-chain block at which the code was replaced.", + " Note that this is the actual height of the included block, not the expected height at which the", + " code upgrade would be applied, although they may be equal.", + " This is to ensure the entire acceptance period is covered, not an offset acceptance period starting", + " from the time at which the parachain perceives a code upgrade as having occurred.", + " Multiple entries for a single para are permitted. Ordered ascending by block number." + ] + }, + { + "name": "FutureCodeUpgrades", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 4 + } + }, + "default": [ + 0 + ], + "docs": [ + " The block number at which the planned code change is expected for a para.", + " The change will be applied after the first parablock for this ID included which executes", + " in the context of a relay chain block with a number >= `expected_at`." + ] + }, + { + "name": "FutureCodeHash", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 332 + } + }, + "default": [ + 0 + ], + "docs": [ + " The actual future code hash of a para.", + "", + " Corresponding code can be retrieved with [`CodeByHash`]." + ] + }, + { + "name": "UpgradeGoAheadSignal", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 751 + } + }, + "default": [ + 0 + ], + "docs": [ + " This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade procedure.", + "", + " This value is absent when there are no upgrades scheduled or during the time the relay chain", + " performs the checks. It is set at the first relay-chain block when the corresponding parachain", + " can switch its upgrade function. As soon as the parachain's block is included, the value", + " gets reset to `None`.", + "", + " NOTE that this field is used by parachains via merkle storage proofs, therefore changing", + " the format will require migration of parachains." + ] + }, + { + "name": "UpgradeRestrictionSignal", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 752 + } + }, + "default": [ + 0 + ], + "docs": [ + " This is used by the relay-chain to communicate that there are restrictions for performing", + " an upgrade for this parachain.", + "", + " This may be a because the parachain waits for the upgrade cooldown to expire. Another", + " potential use case is when we want to perform some maintenance (such as storage migration)", + " we could restrict upgrades to make the process simpler.", + "", + " NOTE that this field is used by parachains via merkle storage proofs, therefore changing", + " the format will require migration of parachains." + ] + }, + { + "name": "UpgradeCooldowns", + "modifier": "Default", + "ty": { + "Plain": 750 + }, + "default": [ + 0 + ], + "docs": [ + " The list of parachains that are awaiting for their upgrade restriction to cooldown.", + "", + " Ordered ascending by block number." + ] + }, + { + "name": "UpcomingUpgrades", + "modifier": "Default", + "ty": { + "Plain": 750 + }, + "default": [ + 0 + ], + "docs": [ + " The list of upcoming code upgrades. Each item is a pair of which para performs a code", + " upgrade and at which relay-chain block it is expected at.", + "", + " Ordered ascending by block number." + ] + }, + { + "name": "ActionsQueue", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 737 + } + }, + "default": [ + 0 + ], + "docs": [ + " The actions to perform during the start of a specific session index." + ] + }, + { + "name": "UpcomingParasGenesis", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 753 + } + }, + "default": [ + 0 + ], + "docs": [ + " Upcoming paras instantiation arguments.", + "", + " NOTE that after PVF pre-checking is enabled the para genesis arg will have it's code set", + " to empty. Instead, the code will be saved into the storage right away via `CodeByHash`." + ] + }, + { + "name": "CodeByHashRefs", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 332, + "value": 4 + } + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The number of reference on the validation code in [`CodeByHash`] storage." + ] + }, + { + "name": "CodeByHash", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 332, + "value": 339 + } + }, + "default": [ + 0 + ], + "docs": [ + " Validation code stored by its hash.", + "", + " This storage is consistent with [`FutureCodeHash`], [`CurrentCodeHash`] and", + " [`PastCodeHash`]." + ] + } + ] + }, + "calls": { + "ty": 351 + }, + "event": { + "ty": 461 + }, + "constants": [ + { + "name": "UnsignedPriority", + "ty": 11, + "value": [ + 255, + 255, + 255, + 255, + 255, + 255, + 255, + 255 + ], + "docs": [] + } + ], + "error": { + "ty": 754 + }, + "index": 56 + }, + { + "name": "Initializer", + "storage": { + "prefix": "Initializer", + "entries": [ + { + "name": "HasInitialized", + "modifier": "Optional", + "ty": { + "Plain": 34 + }, + "default": [ + 0 + ], + "docs": [ + " Whether the parachains modules have been initialized within this block.", + "", + " Semantically a `bool`, but this guarantees it should never hit the trie,", + " as this is cleared in `on_finalize` and Frame optimizes `None` values to be empty values.", + "", + " As a `bool`, `set(false)` and `remove()` both lead to the next `get()` being false, but one of", + " them writes to the trie and one does not. This confusion makes `Option<()>` more suitable for", + " the semantics of this variable." + ] + }, + { + "name": "BufferedSessionChanges", + "modifier": "Default", + "ty": { + "Plain": 755 + }, + "default": [ + 0 + ], + "docs": [ + " Buffered session changes along with the block number at which they should be applied.", + "", + " Typically this will be empty or one element long. Apart from that this item never hits", + " the storage.", + "", + " However this is a `Vec` regardless to handle various edge cases that may occur at runtime", + " upgrade boundaries or if governance intervenes." + ] + } + ] + }, + "calls": { + "ty": 353 + }, + "event": null, + "constants": [], + "error": null, + "index": 57 + }, + { + "name": "Dmp", + "storage": { + "prefix": "Dmp", + "entries": [ + { + "name": "DownwardMessageQueues", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 757 + } + }, + "default": [ + 0 + ], + "docs": [ + " The downward messages addressed for a certain para." + ] + }, + { + "name": "DownwardMessageQueueHeads", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "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": [ + " A mapping that stores the downward message queue MQC head for each para.", + "", + " Each link in this chain has a form:", + " `(prev_head, B, H(M))`, where", + " - `prev_head`: is the previous head hash or zero if none.", + " - `B`: is the relay-chain block number in which a message was appended.", + " - `H(M)`: is the hash of the message being appended." + ] + } + ] + }, + "calls": { + "ty": 354 + }, + "event": null, + "constants": [], + "error": null, + "index": 58 + }, + { + "name": "Ump", + "storage": { + "prefix": "Ump", + "entries": [ + { + "name": "RelayDispatchQueues", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 83 + } + }, + "default": [ + 0 + ], + "docs": [ + " The messages waiting to be handled by the relay-chain originating from a certain parachain.", + "", + " Note that some upward messages might have been already processed by the inclusion logic. E.g.", + " channel management messages.", + "", + " The messages are processed in FIFO order." + ] + }, + { + "name": "RelayDispatchQueueSize", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 31 + } + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " Size of the dispatch queues. Caches sizes of the queues in `RelayDispatchQueue`.", + "", + " First item in the tuple is the count of messages and second", + " is the total length (in bytes) of the message payloads.", + "", + " Note that this is an auxiliary mapping: it's possible to tell the byte size and the number of", + " messages only looking at `RelayDispatchQueues`. This mapping is separate to avoid the cost of", + " loading the whole message queue if only the total size and count are required.", + "", + " Invariant:", + " - The set of keys should exactly match the set of keys of `RelayDispatchQueues`." + ] + }, + { + "name": "NeedsDispatch", + "modifier": "Default", + "ty": { + "Plain": 737 + }, + "default": [ + 0 + ], + "docs": [ + " The ordered list of `ParaId`s that have a `RelayDispatchQueue` entry.", + "", + " Invariant:", + " - The set of items from this vector should be exactly the set of the keys in", + " `RelayDispatchQueues` and `RelayDispatchQueueSize`." + ] + }, + { + "name": "NextDispatchRoundStartWith", + "modifier": "Optional", + "ty": { + "Plain": 162 + }, + "default": [ + 0 + ], + "docs": [ + " This is the para that gets will get dispatched first during the next upward dispatchable queue", + " execution round.", + "", + " Invariant:", + " - If `Some(para)`, then `para` must be present in `NeedsDispatch`." + ] + }, + { + "name": "Overweight", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 11, + "value": 759 + } + }, + "default": [ + 0 + ], + "docs": [ + " The messages that exceeded max individual message weight budget.", + "", + " These messages stay there until manually dispatched." + ] + }, + { + "name": "CounterForOverweight", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + "Counter for the related counted storage map" + ] + }, + { + "name": "OverweightCount", + "modifier": "Default", + "ty": { + "Plain": 11 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The number of overweight messages ever recorded in `Overweight` (and thus the lowest free", + " index)." + ] + } + ] + }, + "calls": { + "ty": 355 + }, + "event": { + "ty": 462 + }, + "constants": [], + "error": { + "ty": 760 + }, + "index": 59 + }, + { + "name": "Hrmp", + "storage": { + "prefix": "Hrmp", + "entries": [ + { + "name": "HrmpOpenChannelRequests", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 357, + "value": 761 + } + }, + "default": [ + 0 + ], + "docs": [ + " The set of pending HRMP open channel requests.", + "", + " The set is accompanied by a list for iteration.", + "", + " Invariant:", + " - There are no channels that exists in list but not in the set and vice versa." + ] + }, + { + "name": "HrmpOpenChannelRequestsList", + "modifier": "Default", + "ty": { + "Plain": 762 + }, + "default": [ + 0 + ], + "docs": [] + }, + { + "name": "HrmpOpenChannelRequestCount", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 4 + } + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " This mapping tracks how many open channel requests are initiated by a given sender para.", + " Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has", + " `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`." + ] + }, + { + "name": "HrmpAcceptedChannelRequestCount", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 4 + } + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " This mapping tracks how many open channel requests were accepted by a given recipient para.", + " Invariant: `HrmpOpenChannelRequests` should contain the same number of items `(_, X)` with", + " `confirmed` set to true, as the number of `HrmpAcceptedChannelRequestCount` for `X`." + ] + }, + { + "name": "HrmpCloseChannelRequests", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 357, + "value": 34 + } + }, + "default": [ + 0 + ], + "docs": [ + " A set of pending HRMP close channel requests that are going to be closed during the session", + " change. Used for checking if a given channel is registered for closure.", + "", + " The set is accompanied by a list for iteration.", + "", + " Invariant:", + " - There are no channels that exists in list but not in the set and vice versa." + ] + }, + { + "name": "HrmpCloseChannelRequestsList", + "modifier": "Default", + "ty": { + "Plain": 762 + }, + "default": [ + 0 + ], + "docs": [] + }, + { + "name": "HrmpWatermarks", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 4 + } + }, + "default": [ + 0 + ], + "docs": [ + " The HRMP watermark associated with each para.", + " Invariant:", + " - each para `P` used here as a key should satisfy `Paras::is_valid_para(P)` within a session." + ] + }, + { + "name": "HrmpChannels", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 357, + "value": 763 + } + }, + "default": [ + 0 + ], + "docs": [ + " HRMP channel data associated with each para.", + " Invariant:", + " - each participant in the channel should satisfy `Paras::is_valid_para(P)` within a session." + ] + }, + { + "name": "HrmpIngressChannelsIndex", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 737 + } + }, + "default": [ + 0 + ], + "docs": [ + " Ingress/egress indexes allow to find all the senders and receivers given the opposite side.", + " I.e.", + "", + " (a) ingress index allows to find all the senders for a given recipient.", + " (b) egress index allows to find all the recipients for a given sender.", + "", + " Invariants:", + " - for each ingress index entry for `P` each item `I` in the index should present in", + " `HrmpChannels` as `(I, P)`.", + " - for each egress index entry for `P` each item `E` in the index should present in", + " `HrmpChannels` as `(P, E)`.", + " - there should be no other dangling channels in `HrmpChannels`.", + " - the vectors are sorted." + ] + }, + { + "name": "HrmpEgressChannelsIndex", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 737 + } + }, + "default": [ + 0 + ], + "docs": [] + }, + { + "name": "HrmpChannelContents", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 357, + "value": 764 + } + }, + "default": [ + 0 + ], + "docs": [ + " Storage for the messages for each channel.", + " Invariant: cannot be non-empty if the corresponding channel in `HrmpChannels` is `None`." + ] + }, + { + "name": "HrmpChannelDigests", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 766 + } + }, + "default": [ + 0 + ], + "docs": [ + " Maintains a mapping that can be used to answer the question: What paras sent a message at", + " the given block number for a given receiver. Invariants:", + " - The inner `Vec` is never empty.", + " - The inner `Vec` cannot store two same `ParaId`.", + " - The outer vector is sorted ascending by block number and cannot store two items with the", + " same block number." + ] + } + ] + }, + "calls": { + "ty": 356 + }, + "event": { + "ty": 464 + }, + "constants": [], + "error": { + "ty": 768 + }, + "index": 60 + }, + { + "name": "ParaSessionInfo", + "storage": { + "prefix": "ParaSessionInfo", + "entries": [ + { + "name": "AssignmentKeysUnsafe", + "modifier": "Default", + "ty": { + "Plain": 769 + }, + "default": [ + 0 + ], + "docs": [ + " Assignment keys for the current session.", + " Note that this API is private due to it being prone to 'off-by-one' at session boundaries.", + " When in doubt, use `Sessions` API instead." + ] + }, + { + "name": "EarliestStoredSession", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The earliest session for which previous session info is stored." + ] + }, + { + "name": "Sessions", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 4, + "value": 770 + } + }, + "default": [ + 0 + ], + "docs": [ + " Session information in a rolling window.", + " Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.", + " Does not have any entries before the session index in the first session change notification." + ] + }, + { + "name": "AccountKeys", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 4, + "value": 104 + } + }, + "default": [ + 0 + ], + "docs": [ + " The validator account keys of the validators actively participating in parachain consensus." + ] + }, + { + "name": "SessionExecutorParams", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 4, + "value": 310 + } + }, + "default": [ + 0 + ], + "docs": [ + " Executor parameter set for a given session index" + ] + } + ] + }, + "calls": null, + "event": null, + "constants": [], + "error": null, + "index": 61 + }, + { + "name": "ParasDisputes", + "storage": { + "prefix": "ParasDisputes", + "entries": [ + { + "name": "LastPrunedSession", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " The last pruned session, if any. All data stored by this module", + " references sessions." + ] + }, + { + "name": "Disputes", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat" + ], + "key": 774, + "value": 775 + } + }, + "default": [ + 0 + ], + "docs": [ + " All ongoing or concluded disputes for the last several sessions." + ] + }, + { + "name": "BackersOnDisputes", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat" + ], + "key": 774, + "value": 776 + } + }, + "default": [ + 0 + ], + "docs": [ + " Backing votes stored for each dispute.", + " This storage is used for slashing." + ] + }, + { + "name": "Included", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat" + ], + "key": 774, + "value": 4 + } + }, + "default": [ + 0 + ], + "docs": [ + " All included blocks on the chain, as well as the block number in this chain that", + " should be reverted back to if the candidate is disputed and determined to be invalid." + ] + }, + { + "name": "Frozen", + "modifier": "Default", + "ty": { + "Plain": 141 + }, + "default": [ + 0 + ], + "docs": [ + " Whether the chain is frozen. Starts as `None`. When this is `Some`,", + " the chain will not accept any new parachain blocks for backing or inclusion,", + " and its value indicates the last valid block number in the chain.", + " It can only be set back to `None` by governance intervention." + ] + } + ] + }, + "calls": { + "ty": 358 + }, + "event": { + "ty": 465 + }, + "constants": [], + "error": { + "ty": 777 + }, + "index": 62 + }, + { + "name": "Registrar", + "storage": { + "prefix": "Registrar", + "entries": [ + { + "name": "PendingSwap", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 162 + } + }, + "default": [ + 0 + ], + "docs": [ + " Pending swap operations." + ] + }, + { + "name": "Paras", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 778 + } + }, + "default": [ + 0 + ], + "docs": [ + " Amount held on deposit for each para and the original depositor.", + "", + " The given account ID is responsible for registering the code and initial head data, but may only do", + " so if it isn't yet registered. (After that, it's up to governance to do so.)" + ] + }, + { + "name": "NextFreeParaId", + "modifier": "Default", + "ty": { + "Plain": 162 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The next free `ParaId`." + ] + } + ] + }, + "calls": { + "ty": 359 + }, + "event": { + "ty": 468 + }, + "constants": [ + { + "name": "ParaDeposit", + "ty": 6, + "value": [ + 0, + 16, + 165, + 212, + 232, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The deposit to be paid to run a parathread.", + " This should include the cost for storing the genesis head and validation code." + ] + }, + { + "name": "DataDepositPerByte", + "ty": 6, + "value": [ + 128, + 150, + 152, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The deposit to be paid per byte stored on chain." + ] + } + ], + "error": { + "ty": 779 + }, + "index": 70 + }, + { + "name": "Slots", + "storage": { + "prefix": "Slots", + "entries": [ + { + "name": "Leases", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 780 + } + }, + "default": [ + 0 + ], + "docs": [ + " Amounts held on deposit for each (possibly future) leased parachain.", + "", + " The actual amount locked on its behalf by any account at any time is the maximum of the second values", + " of the items in this list whose first value is the account.", + "", + " The first item in the list is the amount locked for the current Lease Period. Following", + " items are for the subsequent lease periods.", + "", + " The default value (an empty list) implies that the parachain no longer exists (or never", + " existed) as far as this pallet is concerned.", + "", + " If a parachain doesn't exist *yet* but is scheduled to exist in the future, then it", + " will be left-padded with one or more `None`s to denote the fact that nothing is held on", + " deposit for the non-existent chain currently, but is held at some point in the future.", + "", + " It is illegal for a `None` value to trail in the list." + ] + } + ] + }, + "calls": { + "ty": 360 + }, + "event": { + "ty": 469 + }, + "constants": [ + { + "name": "LeasePeriod", + "ty": 4, + "value": [ + 0, + 117, + 18, + 0 + ], + "docs": [ + " The number of blocks over which a single period lasts." + ] + }, + { + "name": "LeaseOffset", + "ty": 4, + "value": [ + 0, + 16, + 14, + 0 + ], + "docs": [ + " The number of blocks to offset each lease period by." + ] + } + ], + "error": { + "ty": 781 + }, + "index": 71 + }, + { + "name": "Auctions", + "storage": { + "prefix": "Auctions", + "entries": [ + { + "name": "AuctionCounter", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Number of auctions started so far." + ] + }, + { + "name": "AuctionInfo", + "modifier": "Optional", + "ty": { + "Plain": 31 + }, + "default": [ + 0 + ], + "docs": [ + " Information relating to the current auction, if there is one.", + "", + " The first item in the tuple is the lease period index that the first of the four", + " contiguous lease periods on auction is for. The second is the block number when the", + " auction will \"begin to end\", i.e. the first block of the Ending Period of the auction." + ] + }, + { + "name": "ReservedAmounts", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 782, + "value": 6 + } + }, + "default": [ + 0 + ], + "docs": [ + " Amounts currently reserved in the accounts of the bidders currently winning", + " (sub-)ranges." + ] + }, + { + "name": "Winning", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 4, + "value": 783 + } + }, + "default": [ + 0 + ], + "docs": [ + " The winning bids for each of the 10 ranges at each sample in the final Ending Period of", + " the current auction. The map's key is the 0-based index into the Sample Size. The", + " first sample of the ending period is 0; the last is `Sample Size - 1`." + ] + } + ] + }, + "calls": { + "ty": 361 + }, + "event": { + "ty": 470 + }, + "constants": [ + { + "name": "EndingPeriod", + "ty": 4, + "value": [ + 64, + 25, + 1, + 0 + ], + "docs": [ + " The number of blocks over which an auction may be retroactively ended." + ] + }, + { + "name": "SampleLength", + "ty": 4, + "value": [ + 20, + 0, + 0, + 0 + ], + "docs": [ + " The length of each sample to take during the ending period.", + "", + " `EndingPeriod` / `SampleLength` = Total # of Samples" + ] + }, + { + "name": "SlotRangeCount", + "ty": 4, + "value": [ + 36, + 0, + 0, + 0 + ], + "docs": [] + }, + { + "name": "LeasePeriodsPerSlot", + "ty": 4, + "value": [ + 8, + 0, + 0, + 0 + ], + "docs": [] + } + ], + "error": { + "ty": 786 + }, + "index": 72 + }, + { + "name": "Crowdloan", + "storage": { + "prefix": "Crowdloan", + "entries": [ + { + "name": "Funds", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat" + ], + "key": 162, + "value": 787 + } + }, + "default": [ + 0 + ], + "docs": [ + " Info on all of the funds." + ] + }, + { + "name": "NewRaise", + "modifier": "Default", + "ty": { + "Plain": 737 + }, + "default": [ + 0 + ], + "docs": [ + " The funds that have had additional contributions during the last block. This is used", + " in order to determine which funds should submit new or updated bids." + ] + }, + { + "name": "EndingsCount", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The number of auctions that have entered into their ending period so far." + ] + }, + { + "name": "NextFundIndex", + "modifier": "Default", + "ty": { + "Plain": 4 + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " Tracker for the next available fund index" + ] + } + ] + }, + "calls": { + "ty": 363 + }, + "event": { + "ty": 471 + }, + "constants": [ + { + "name": "PalletId", + "ty": 603, + "value": [ + 112, + 121, + 47, + 99, + 102, + 117, + 110, + 100 + ], + "docs": [ + " `PalletId` for the crowdloan pallet. An appropriate value could be `PalletId(*b\"py/cfund\")`" + ] + }, + { + "name": "MinContribution", + "ty": 6, + "value": [ + 0, + 116, + 59, + 164, + 11, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The minimum amount that may be contributed into a crowdloan. Should almost certainly be at", + " least `ExistentialDeposit`." + ] + }, + { + "name": "RemoveKeysLimit", + "ty": 4, + "value": [ + 232, + 3, + 0, + 0 + ], + "docs": [ + " Max number of storage keys to remove per extrinsic call." + ] + } + ], + "error": { + "ty": 789 + }, + "index": 73 + }, + { + "name": "XcmPallet", + "storage": { + "prefix": "XcmPallet", + "entries": [ + { + "name": "QueryCounter", + "modifier": "Default", + "ty": { + "Plain": 11 + }, + "default": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "docs": [ + " The latest available query index." + ] + }, + { + "name": "Queries", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 11, + "value": 790 + } + }, + "default": [ + 0 + ], + "docs": [ + " The ongoing queries." + ] + }, + { + "name": "AssetTraps", + "modifier": "Default", + "ty": { + "Map": { + "hashers": [ + "Identity" + ], + "key": 12, + "value": 4 + } + }, + "default": [ + 0, + 0, + 0, + 0 + ], + "docs": [ + " The existing asset traps.", + "", + " Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of", + " times this pair has been trapped (usually just 1 if it exists at all)." + ] + }, + { + "name": "SafeXcmVersion", + "modifier": "Optional", + "ty": { + "Plain": 4 + }, + "default": [ + 0 + ], + "docs": [ + " Default version to encode XCM when latest version of destination is unknown. If `None`,", + " then the destinations whose XCM version is unknown are considered unreachable." + ] + }, + { + "name": "SupportedVersion", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat" + ], + "key": 795, + "value": 4 + } + }, + "default": [ + 0 + ], + "docs": [ + " The Latest versions that we know various locations support." + ] + }, + { + "name": "VersionNotifiers", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat" + ], + "key": 795, + "value": 11 + } + }, + "default": [ + 0 + ], + "docs": [ + " All locations that we have requested version notifications from." + ] + }, + { + "name": "VersionNotifyTargets", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat" + ], + "key": 795, + "value": 796 + } + }, + "default": [ + 0 + ], + "docs": [ + " The target locations that are subscribed to our version changes, as well as the most recent", + " of our versions we informed them of." + ] + }, + { + "name": "VersionDiscoveryQueue", + "modifier": "Default", + "ty": { + "Plain": 797 + }, + "default": [ + 0 + ], + "docs": [ + " Destinations whose latest XCM version we would like to know. Duplicates not allowed, and", + " the `u32` counter is the number of times that a send to the destination has been attempted,", + " which is used as a prioritization." + ] + }, + { + "name": "CurrentMigration", + "modifier": "Optional", + "ty": { + "Plain": 800 + }, + "default": [ + 0 + ], + "docs": [ + " The current migration's stage, if any." + ] + }, + { + "name": "RemoteLockedFungibles", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Twox64Concat", + "Blake2_128Concat", + "Blake2_128Concat" + ], + "key": 802, + "value": 804 + } + }, + "default": [ + 0 + ], + "docs": [ + " Fungible assets which we know are locked on a remote chain." + ] + }, + { + "name": "LockedFungibles", + "modifier": "Optional", + "ty": { + "Map": { + "hashers": [ + "Blake2_128Concat" + ], + "key": 0, + "value": 805 + } + }, + "default": [ + 0 + ], + "docs": [ + " Fungible assets which we know are locked on this chain." + ] + } + ] + }, + "calls": { + "ty": 371 + }, + "event": { + "ty": 472 + }, + "constants": [], + "error": { + "ty": 808 + }, + "index": 99 + } + ], + "extrinsic": { + "ty": 809, + "version": 4, + "signed_extensions": [ + { + "identifier": "CheckNonZeroSender", + "ty": 811, + "additional_signed": 34 + }, + { + "identifier": "CheckSpecVersion", + "ty": 812, + "additional_signed": 4 + }, + { + "identifier": "CheckTxVersion", + "ty": 813, + "additional_signed": 4 + }, + { + "identifier": "CheckGenesis", + "ty": 814, + "additional_signed": 12 + }, + { + "identifier": "CheckMortality", + "ty": 815, + "additional_signed": 12 + }, + { + "identifier": "CheckNonce", + "ty": 817, + "additional_signed": 34 + }, + { + "identifier": "CheckWeight", + "ty": 818, + "additional_signed": 34 + }, + { + "identifier": "ChargeTransactionPayment", + "ty": 819, + "additional_signed": 34 + }, + { + "identifier": "PrevalidateAttests", + "ty": 820, + "additional_signed": 34 + } + ] + }, + "ty": 821 + } + } +] diff --git a/subxt/src/blocks/block_types.rs b/subxt/src/blocks/block_types.rs index e27352e74c..25500d720d 100644 --- a/subxt/src/blocks/block_types.rs +++ b/subxt/src/blocks/block_types.rs @@ -5,16 +5,21 @@ use crate::{ client::{OfflineClientT, OnlineClientT}, config::{Config, Hasher, Header}, + dynamic::DecodedValueThunk, error::{BlockError, Error}, events, + metadata::DecodeWithMetadata, rpc::types::ChainBlockResponse, runtime_api::RuntimeApi, storage::Storage, + Metadata, }; -use codec::Decode; +use codec::{Codec, Decode, Encode}; use derivative::Derivative; +use frame_metadata::v15::RuntimeMetadataV15; use futures::lock::Mutex as AsyncMutex; -use std::sync::Arc; +use scale_value::Value; +use std::{collections::HashMap, sync::Arc}; /// A representation of a block. pub struct Block { @@ -95,6 +100,71 @@ where } } +/// Generic type IDs passed to the `UncheckedExtrinsic`. +#[derive(Debug, Copy, Clone)] +struct UncheckedExtrinsicIds { + address: u32, + call: u32, + signature: u32, + extra: u32, +} + +#[derive(Debug)] +enum UncheckedExtrinsicIdsError { + /// Extrinsic type ID cannot be resolved with the provided metadata. + MissingType, + /// Extrinsic is missing a type parameter. + MissingTypeParam, +} + +impl UncheckedExtrinsicIds { + /// Extract the generic type parameters IDs from the extrinsic type. + fn new(metadata: &RuntimeMetadataV15) -> Result { + const ADDRESS: &str = "Address"; + const CALL: &str = "Call"; + const SIGNATURE: &str = "Signature"; + const EXTRA: &str = "Extra"; + + let id = metadata.extrinsic.ty.id; + + let Some(ty ) = metadata.types.resolve(id) else { + return Err(UncheckedExtrinsicIdsError::MissingType); + }; + + let params: HashMap<_, _> = ty + .type_params + .iter() + .map(|ty_param| { + let Some(ty) = ty_param.ty else { + return Err(UncheckedExtrinsicIdsError::MissingTypeParam); + }; + + Ok((ty_param.name.as_str(), ty.id)) + }) + .collect::>()?; + + let Some(address) = params.get(ADDRESS) else { + return Err(UncheckedExtrinsicIdsError::MissingTypeParam); + }; + let Some(call) = params.get(CALL) else { + return Err(UncheckedExtrinsicIdsError::MissingTypeParam); + }; + let Some(signature) = params.get(SIGNATURE) else { + return Err(UncheckedExtrinsicIdsError::MissingTypeParam); + }; + let Some(extra) = params.get(EXTRA) else { + return Err(UncheckedExtrinsicIdsError::MissingTypeParam); + }; + + Ok(UncheckedExtrinsicIds { + address: *address, + call: *call, + signature: *signature, + extra: *extra, + }) + } +} + /// The body of a block. pub struct BlockBody { details: ChainBlockResponse, @@ -121,17 +191,23 @@ where /// Returns an iterator over the extrinsics in the block body. pub fn extrinsics(&self) -> impl Iterator> { + let ids = UncheckedExtrinsicIds::new(self.client.metadata().runtime_metadata()) + .expect("Should have IDS; qed"); + + // let runtime_call_id = runtime_call_id(self.client.metadata().runtime_metadata()); + self.details .block .extrinsics .iter() .enumerate() - .map(|(idx, e)| Extrinsic { + .map(move |(idx, e)| Extrinsic { index: idx as u32, bytes: &e.0, client: self.client.clone(), block_hash: self.details.block.header.hash(), cached_events: self.cached_events.clone(), + ids, _marker: std::marker::PhantomData, }) } @@ -144,9 +220,55 @@ pub struct Extrinsic<'a, T: Config, C> { client: C, block_hash: T::Hash, cached_events: CachedEvents, + ids: UncheckedExtrinsicIds, _marker: std::marker::PhantomData, } +// pub trait SignedExtension: Codec + Sync + Send + Clone + Eq + PartialEq { +// /// Unique identifier of this signed extension. +// /// +// /// This will be exposed in the metadata to identify the signed extension used +// /// in an extrinsic. +// const IDENTIFIER: &'static str; + +// /// The type which encodes the sender identity. +// type AccountId; + +// /// The type which encodes the call to be dispatched. +// type Call; + +// /// Any additional data that will go into the signed payload. This may be created dynamically +// /// from the transaction using the `additional_signed` function. +// type AdditionalSigned: Encode; + +// /// The type that encodes information that can be passed from pre_dispatch to post-dispatch. +// type Pre; +// } + +/// A extrinsic right from the external world. +pub struct GenericExtrinsic +where + Address: Decode, + Signature: Decode, + Extra: Decode, +{ + /// The signature, address, number of extrinsics have come before from + /// the same signer and an era describing the longevity of this transaction, + /// if this is a signed extrinsic. + pub signature: Option<(Address, Signature, Extra)>, + /// The function that should be called. + pub function: DecodedValueThunk, +} + +pub struct ExtrinsicValueThunk { + /// The signature, address, number of extrinsics have come before from + /// the same signer and an era describing the longevity of this transaction, + /// if this is a signed extrinsic. + pub signature: Option<(DecodedValueThunk, DecodedValueThunk, DecodedValueThunk)>, + /// The function that should be called. + pub function: DecodedValueThunk, +} + impl<'a, T, C> Extrinsic<'a, T, C> where T: Config, @@ -163,34 +285,130 @@ where } /// Decode the extrinsic to the provided return type. - pub fn decode(&self) -> Result { + pub fn decode(&self) -> Result, ExtrinsicError> { const SIGNATURE_MASK: u8 = 0b1000_0000; const VERSION_MASK: u8 = 0b0111_1111; const LATEST_EXTRINSIC_VERSION: u8 = 4; // Extrinsic are encoded in memory in the following way: - // - Compact: Length of the extrinsic // - first byte: abbbbbbb (a = 0 for unsigned, 1 for signed, b = version) - // - signature: emitted `ParaInherent` must be unsigned. + // - signature: [unknown TBD with metadata]. // - extrinsic data if self.bytes.is_empty() { return Err(ExtrinsicError::InsufficientData); } - let is_signed = self.bytes[0] & SIGNATURE_MASK != 0; - if is_signed { - return Err(ExtrinsicError::SignatureUnsupported); - } - let version = self.bytes[0] & VERSION_MASK; if version != LATEST_EXTRINSIC_VERSION { return Err(ExtrinsicError::UnsupportedVersion(version)); } + let is_signed = self.bytes[0] & SIGNATURE_MASK != 0; + let mut bytes = Vec::new(); bytes.extend_from_slice(&self.bytes[1..]); - Ext::decode(&mut &bytes[..]).map_err(ExtrinsicError::DecodingError) + let cursor = &mut &bytes[..]; + let signature = is_signed + .then(|| Decode::decode(cursor)) + .transpose() + .map_err(|err| ExtrinsicError::DecodingError(err))?; + + let metadata = self.client.metadata(); + + let function = ::decode_with_metadata( + cursor, + self.ids.call, + &metadata, + ) + .map_err(|_| ExtrinsicError::InsufficientData)?; + + // let function: Ext = + // Decode::decode(cursor).map_err(|err| ExtrinsicError::DecodingError(err))?; + + Ok(GenericExtrinsic { + signature, + function, + }) + } + + /// Decode the extrinsic to the provided return type. + pub fn decode_generic(&self) -> Result { + const SIGNATURE_MASK: u8 = 0b1000_0000; + const VERSION_MASK: u8 = 0b0111_1111; + const LATEST_EXTRINSIC_VERSION: u8 = 4; + + // Extrinsic are encoded in memory in the following way: + // - first byte: abbbbbbb (a = 0 for unsigned, 1 for signed, b = version) + // - signature: [unknown TBD with metadata]. + // - extrinsic data + if self.bytes.is_empty() { + return Err(ExtrinsicError::InsufficientData); + } + + let version = self.bytes[0] & VERSION_MASK; + if version != LATEST_EXTRINSIC_VERSION { + return Err(ExtrinsicError::UnsupportedVersion(version)); + } + + let is_signed = self.bytes[0] & SIGNATURE_MASK != 0; + + let mut bytes = Vec::new(); + bytes.extend_from_slice(&self.bytes[1..]); + + let cursor = &mut &bytes[..]; + + let metadata = self.client.metadata(); + + let signature = if is_signed { + let address = ::decode_with_metadata( + cursor, + self.ids.address, + &metadata, + ) + .map_err(|_| ExtrinsicError::InsufficientData)?; + + let signature = ::decode_with_metadata( + cursor, + self.ids.signature, + &metadata, + ) + .map_err(|_| ExtrinsicError::InsufficientData)?; + + let extra: DecodedValueThunk = + ::decode_with_metadata( + cursor, + self.ids.extra, + &metadata, + ) + .map_err(|_| ExtrinsicError::InsufficientData)?; + + Some((address, signature, extra)) + } else { + None + }; + + // let signature = is_signed + // .then(|| Decode::decode(cursor)) + // .transpose() + // .map_err(|err| ExtrinsicError::DecodingError(err))?; + + // let metadata = self.client.metadata(); + + let function = ::decode_with_metadata( + cursor, + self.ids.call, + &metadata, + ) + .map_err(|_| ExtrinsicError::InsufficientData)?; + + // let function: Ext = + // Decode::decode(cursor).map_err(|err| ExtrinsicError::DecodingError(err))?; + + Ok(ExtrinsicValueThunk { + signature, + function, + }) } } @@ -199,6 +417,55 @@ where T: Config, C: OnlineClientT, { + // /// Decode the extrinsic to the provided return type. + // pub fn decode( + // &self, + // ) -> Result, ExtrinsicError> { + // const SIGNATURE_MASK: u8 = 0b1000_0000; + // const VERSION_MASK: u8 = 0b0111_1111; + // const LATEST_EXTRINSIC_VERSION: u8 = 4; + + // // Extrinsic are encoded in memory in the following way: + // // - Compact: Length of the extrinsic + // // - first byte: abbbbbbb (a = 0 for unsigned, 1 for signed, b = version) + // // - signature: [unknown TBD with metadata]. + // // - extrinsic data + // if self.bytes.is_empty() { + // return Err(ExtrinsicError::InsufficientData); + // } + + // let version = self.bytes[0] & VERSION_MASK; + // if version != LATEST_EXTRINSIC_VERSION { + // return Err(ExtrinsicError::UnsupportedVersion(version)); + // } + + // let is_signed = self.bytes[0] & SIGNATURE_MASK != 0; + + // let mut bytes = Vec::new(); + // bytes.extend_from_slice(&self.bytes[1..]); + + // let cursor = &mut &bytes[..]; + // let signature = is_signed + // .then(|| Decode::decode(cursor)) + // .transpose() + // .map_err(|err| ExtrinsicError::DecodingError(err))?; + + // let metadata = self.client.metadata(); + // let value = ::decode_with_metadata( + // cursor, + // , + // &metadata, + // )?; + + // let function: Ext = + // Decode::decode(cursor).map_err(|err| ExtrinsicError::DecodingError(err))?; + + // Ok(GenericExtrinsic { + // signature, + // function, + // }) + // } + /// The events associated with the extrinsic. pub async fn events(&self) -> Result, Error> { let events = get_events(&self.client, self.block_hash, &self.cached_events).await?; diff --git a/subxt/src/blocks/mod.rs b/subxt/src/blocks/mod.rs index c987760ce0..e0372c03d9 100644 --- a/subxt/src/blocks/mod.rs +++ b/subxt/src/blocks/mod.rs @@ -7,5 +7,5 @@ mod block_types; mod blocks_client; -pub use block_types::{Block, Extrinsic, ExtrinsicEvents, ExtrinsicError}; +pub use block_types::{Block, Extrinsic, ExtrinsicError, ExtrinsicEvents, GenericExtrinsic}; pub use blocks_client::{subscribe_to_block_headers_filling_in_gaps, BlocksClient}; diff --git a/subxt/src/config/mod.rs b/subxt/src/config/mod.rs index 9652cca48c..8c7690f937 100644 --- a/subxt/src/config/mod.rs +++ b/subxt/src/config/mod.rs @@ -45,10 +45,10 @@ pub trait Config: 'static { type AccountId: Debug + Clone + Serialize; /// The address type. - type Address: Debug + Encode + From; + type Address: Debug + Encode + Decode + From; /// The signature type. - type Signature: Debug + Encode; + type Signature: Debug + Encode + Decode; /// The hashing system (algorithm) being used in the runtime (e.g. Blake2). type Hasher: Debug + Hasher;