From d41bcde3d538a6bef120123f95b11e1e859b42d7 Mon Sep 17 00:00:00 2001 From: freehere107 Date: Mon, 7 Aug 2023 10:24:33 +0800 Subject: [PATCH] bump kusama-lookup.json --- static/kusama-lookup.json | 59518 +++++++++++++++++++++--------------- 1 file changed, 35108 insertions(+), 24410 deletions(-) diff --git a/static/kusama-lookup.json b/static/kusama-lookup.json index 4b3707b..02e37fe 100644 --- a/static/kusama-lookup.json +++ b/static/kusama-lookup.json @@ -29,119 +29,87 @@ "docs": null }, "10": { + "path": null, + "def": { + "Primitive": "U64" + }, + "docs": null + }, + "100": { + "path": [ + "sp_arithmetic", + "per_things", + "Percent" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 2, + "typeName": "u8", + "docs": null + } + ] + } + }, + "docs": null + }, + "101": { "path": null, "def": { "Sequence": { - "type": 2 + "type": 0 } }, "docs": null }, - "100": { + "102": { + "path": null, + "def": { + "Sequence": { + "type": 4 + } + }, + "docs": null + }, + "103": { "path": [ - "polkadot_runtime_parachains", - "disputes", + "pallet_staking", "pallet", - "Event" + "pallet", + "ConfigOp" ], "params": [ { "name": "T", - "type": 0 + "type": 6 } ], "def": { "Variant": { "variants": [ { - "name": "DisputeInitiated", - "fields": [ - { - "type": 101, - "typeName": "CandidateHash", - "docs": null - }, - { - "type": 102, - "typeName": "DisputeLocation", - "docs": null - } - ], + "name": "Noop", + "fields": null, "index": 0, - "docs": [ - "A dispute has been initiated. \\[candidate hash, dispute location\\]" - ] + "docs": null }, { - "name": "DisputeConcluded", + "name": "Set", "fields": [ { - "type": 101, - "typeName": "CandidateHash", - "docs": null - }, - { - "type": 103, - "typeName": "DisputeResult", + "type": 6, + "typeName": "T", "docs": null } ], "index": 1, - "docs": [ - "A dispute has concluded for or against a candidate.", - "`\\[para id, candidate hash, dispute result\\]`" - ] + "docs": null }, { - "name": "DisputeTimedOut", - "fields": [ - { - "type": 101, - "typeName": "CandidateHash", - "docs": null - } - ], + "name": "Remove", + "fields": null, "index": 2, - "docs": [ - "A dispute has timed out due to insufficient participation.", - "`\\[para id, candidate hash\\]`" - ] - }, - { - "name": "Revert", - "fields": [ - { - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 3, - "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/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "101": { - "path": [ - "polkadot_core_primitives", - "CandidateHash" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 9, - "typeName": "Hash", "docs": null } ] @@ -149,97 +117,124 @@ }, "docs": null }, - "102": { + "104": { "path": [ - "polkadot_runtime_parachains", - "disputes", - "DisputeLocation" + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 4 + } ], "def": { "Variant": { "variants": [ { - "name": "Local", + "name": "Noop", "fields": null, "index": 0, "docs": null }, { - "name": "Remote", - "fields": null, + "name": "Set", + "fields": [ + { + "type": 4, + "typeName": "T", + "docs": null + } + ], "index": 1, "docs": null + }, + { + "name": "Remove", + "fields": null, + "index": 2, + "docs": null } ] } }, "docs": null }, - "103": { + "105": { "path": [ - "polkadot_runtime_parachains", - "disputes", - "DisputeResult" + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 100 + } ], "def": { "Variant": { "variants": [ { - "name": "Valid", + "name": "Noop", "fields": null, "index": 0, "docs": null }, { - "name": "Invalid", - "fields": null, + "name": "Set", + "fields": [ + { + "type": 100, + "typeName": "T", + "docs": null + } + ], "index": 1, "docs": null + }, + { + "name": "Remove", + "fields": null, + "index": 2, + "docs": null } ] } }, "docs": null }, - "104": { + "106": { "path": [ - "polkadot_runtime_common", - "paras_registrar", + "pallet_staking", "pallet", - "Event" + "pallet", + "ConfigOp" ], "params": [ { "name": "T", - "type": 0 + "type": 34 } ], "def": { "Variant": { "variants": [ { - "name": "Registered", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], + "name": "Noop", + "fields": null, "index": 0, "docs": null }, { - "name": "Deregistered", + "name": "Set", "fields": [ { - "type": 85, - "typeName": "ParaId", + "type": 34, + "typeName": "T", "docs": null } ], @@ -247,35 +242,21 @@ "docs": null }, { - "name": "Reserved", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], + "name": "Remove", + "fields": null, "index": 2, "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "105": { + "107": { "path": [ - "polkadot_runtime_common", - "slots", + "pallet_session", "pallet", - "Event" + "Call" ], "params": [ { @@ -287,74 +268,200 @@ "Variant": { "variants": [ { - "name": "NewLeasePeriod", + "name": "set_keys", "fields": [ { - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", + "name": "keys", + "type": 108, + "typeName": "T::Keys", + "docs": null + }, + { + "name": "proof", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null } ], "index": 0, "docs": [ - "A new `[lease_period]` is beginning." + "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.", + "", + "# \u003cweight\u003e", + "- Complexity: `O(1)`. Actual cost depends on the number of length of", + " `T::Keys::key_ids()` which is fixed.", + "- DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`", + "- DbWrites: `origin account`, `NextKeys`", + "- DbReads per key id: `KeyOwner`", + "- DbWrites per key id: `KeyOwner`", + "# \u003c/weight\u003e" ] }, { - "name": "Leased", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], + "name": "purge_keys", + "fields": null, "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.", - "`[parachain_id, leaser, period_begin, period_count, extra_reserved, total_amount]`" + "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).", + "", + "# \u003cweight\u003e", + "- Complexity: `O(1)` in number of key types. Actual cost depends on the number of length", + " of `T::Keys::key_ids()` which is fixed.", + "- DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`", + "- DbWrites: `NextKeys`, `origin account`", + "- DbWrites per key id: `KeyOwner`", + "# \u003c/weight\u003e" ] } ] } }, "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "106": { + "108": { "path": [ - "polkadot_runtime_common", - "auctions", + "kusama_runtime", + "SessionKeys" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "grandpa", + "type": 45, + "typeName": "\u003cGrandpa as $crate::BoundToRuntimeAppPublic\u003e::Public", + "docs": null + }, + { + "name": "babe", + "type": 83, + "typeName": "\u003cBabe as $crate::BoundToRuntimeAppPublic\u003e::Public", + "docs": null + }, + { + "name": "im_online", + "type": 48, + "typeName": "\u003cImOnline as $crate::BoundToRuntimeAppPublic\u003e::Public", + "docs": null + }, + { + "name": "para_validator", + "type": 109, + "typeName": "\u003cInitializer as $crate::BoundToRuntimeAppPublic\u003e::Public", + "docs": null + }, + { + "name": "para_assignment", + "type": 110, + "typeName": "\u003cParaSessionInfo as $crate::BoundToRuntimeAppPublic\u003e::Public", + "docs": null + }, + { + "name": "authority_discovery", + "type": 111, + "typeName": "\u003cAuthorityDiscovery as $crate::BoundToRuntimeAppPublic\u003e::Public", + "docs": null + } + ] + } + }, + "docs": null + }, + "109": { + "path": [ + "polkadot_primitives", + "v2", + "validator_app", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 49, + "typeName": "sr25519::Public", + "docs": null + } + ] + } + }, + "docs": null + }, + "11": { + "path": [ + "primitive_types", + "H256" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]", + "docs": null + } + ] + } + }, + "docs": null + }, + "110": { + "path": [ + "polkadot_primitives", + "v2", + "assignment_app", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 49, + "typeName": "sr25519::Public", + "docs": null + } + ] + } + }, + "docs": null + }, + "111": { + "path": [ + "sp_authority_discovery", + "app", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 49, + "typeName": "sr25519::Public", + "docs": null + } + ] + } + }, + "docs": null + }, + "112": { + "path": [ + "pallet_grandpa", "pallet", - "Event" + "Call" ], "params": [ { @@ -366,381 +473,433 @@ "Variant": { "variants": [ { - "name": "AuctionStarted", + "name": "report_equivocation", "fields": [ { - "type": 4, - "typeName": "AuctionIndex", - "docs": null - }, - { - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", + "name": "equivocation_proof", + "type": 113, + "typeName": "Box\u003cEquivocationProof\u003cT::Hash, T::BlockNumber\u003e\u003e", "docs": null }, { - "type": 4, - "typeName": "T::BlockNumber", + "name": "key_owner_proof", + "type": 85, + "typeName": "T::KeyOwnerProof", "docs": null } ], "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.", - "`[auction_index, lease_period, ending]`" + "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": "AuctionClosed", + "name": "report_equivocation_unsigned", "fields": [ { - "type": 4, - "typeName": "AuctionIndex", + "name": "equivocation_proof", + "type": 113, + "typeName": "Box\u003cEquivocationProof\u003cT::Hash, T::BlockNumber\u003e\u003e", + "docs": null + }, + { + "name": "key_owner_proof", + "type": 85, + "typeName": "T::KeyOwnerProof", "docs": null } ], "index": 1, "docs": [ - "An auction ended. All funds become unreserved. `[auction_index]`" + "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": "Reserved", + "name": "note_stalled", "fields": [ { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber", "docs": null }, { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "name": "best_finalized_block_number", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], "index": 2, "docs": [ - "Funds were reserved for a winning bid. First balance is the extra amount reserved.", - "Second is the total. `[bidder, extra_reserved, total_amount]`" + "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." ] - }, - { - "name": "Unreserved", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 3, - "docs": [ - "Funds were unreserved since bidder is no longer active. `[bidder, amount]`" - ] - }, - { - "name": "ReserveConfiscated", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "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.", - "`[parachain_id, leaser, amount]`" - ] - }, + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "113": { + "path": [ + "sp_finality_grandpa", + "EquivocationProof" + ], + "params": [ + { + "name": "H", + "type": 11 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "BidAccepted", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - } - ], - "index": 5, - "docs": [ - "A new bid has been accepted as the current winner.", - "`[who, para_id, amount, first_slot, last_slot]`" - ] + "name": "set_id", + "type": 10, + "typeName": "SetId", + "docs": null }, { - "name": "WinningOffset", - "fields": [ - { - "type": 4, - "typeName": "AuctionIndex", - "docs": null - }, - { - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 6, - "docs": [ - "The winning offset was chosen for an auction. This will map into the `Winning` storage map.", - "`[auction_index, block_number]`" - ] + "name": "equivocation", + "type": 114, + "typeName": "Equivocation\u003cH, N\u003e", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "107": { + "114": { "path": [ - "polkadot_runtime_common", - "crowdloan", - "pallet", - "Event" + "sp_finality_grandpa", + "Equivocation" ], "params": [ { - "name": "T", - "type": 0 + "name": "H", + "type": 11 + }, + { + "name": "N", + "type": 4 } ], "def": { "Variant": { "variants": [ { - "name": "Created", + "name": "Prevote", "fields": [ { - "type": 85, - "typeName": "ParaId", + "type": 115, + "typeName": "grandpa::Equivocation\u003cAuthorityId, grandpa::Prevote\u003cH, N\u003e,\nAuthoritySignature\u003e", "docs": null } ], "index": 0, - "docs": [ - "Create a new crowdloaning campaign. `[fund_index]`" - ] + "docs": null }, { - "name": "Contributed", + "name": "Precommit", "fields": [ { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 121, + "typeName": "grandpa::Equivocation\u003cAuthorityId, grandpa::Precommit\u003cH, N\u003e,\nAuthoritySignature\u003e", "docs": null } ], "index": 1, - "docs": [ - "Contributed to a crowd sale. `[who, fund_index, amount]`" - ] + "docs": null + } + ] + } + }, + "docs": null + }, + "115": { + "path": [ + "finality_grandpa", + "Equivocation" + ], + "params": [ + { + "name": "Id", + "type": 45 + }, + { + "name": "V", + "type": 116 + }, + { + "name": "S", + "type": 117 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "round_number", + "type": 10, + "typeName": "u64", + "docs": null }, { - "name": "Withdrew", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 2, - "docs": [ - "Withdrew full balance of a contributor. `[who, fund_index, amount]`" - ] + "name": "identity", + "type": 45, + "typeName": "Id", + "docs": null }, { - "name": "PartiallyRefunded", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "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. `[fund_index]`" - ] + "name": "first", + "type": 120, + "typeName": "(V, S)", + "docs": null }, { - "name": "AllRefunded", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "index": 4, - "docs": [ - "All loans in a fund have been refunded. `[fund_index]`" - ] + "name": "second", + "type": 120, + "typeName": "(V, S)", + "docs": null + } + ] + } + }, + "docs": null + }, + "116": { + "path": [ + "finality_grandpa", + "Prevote" + ], + "params": [ + { + "name": "H", + "type": 11 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "target_hash", + "type": 11, + "typeName": "H", + "docs": null }, { - "name": "Dissolved", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "index": 5, - "docs": [ - "Fund is dissolved. `[fund_index]`" - ] + "name": "target_number", + "type": 4, + "typeName": "N", + "docs": null + } + ] + } + }, + "docs": null + }, + "117": { + "path": [ + "sp_finality_grandpa", + "app", + "Signature" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 118, + "typeName": "ed25519::Signature", + "docs": null + } + ] + } + }, + "docs": null + }, + "118": { + "path": [ + "sp_core", + "ed25519", + "Signature" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 119, + "typeName": "[u8; 64]", + "docs": null + } + ] + } + }, + "docs": null + }, + "119": { + "path": null, + "def": { + "Array": { + "len": 64, + "type": 2 + } + }, + "docs": null + }, + "12": { + "path": null, + "def": { + "Sequence": { + "type": 2 + } + }, + "docs": null + }, + "120": { + "path": null, + "def": { + "Tuple": [ + 116, + 117 + ] + }, + "docs": null + }, + "121": { + "path": [ + "finality_grandpa", + "Equivocation" + ], + "params": [ + { + "name": "Id", + "type": 45 + }, + { + "name": "V", + "type": 122 + }, + { + "name": "S", + "type": 117 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "round_number", + "type": 10, + "typeName": "u64", + "docs": null }, { - "name": "HandleBidResult", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], - "index": 6, - "docs": [ - "The result of trying to submit a new bid to the Slots pallet." - ] + "name": "identity", + "type": 45, + "typeName": "Id", + "docs": null }, { - "name": "Edited", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "index": 7, - "docs": [ - "The configuration to a crowdloan has been edited. `[fund_index]`" - ] + "name": "first", + "type": 123, + "typeName": "(V, S)", + "docs": null }, { - "name": "MemoUpdated", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - } - ], - "index": 8, - "docs": [ - "A memo has been updated. `[who, fund_index, memo]`" - ] + "name": "second", + "type": 123, + "typeName": "(V, S)", + "docs": null + } + ] + } + }, + "docs": null + }, + "122": { + "path": [ + "finality_grandpa", + "Precommit" + ], + "params": [ + { + "name": "H", + "type": 11 + }, + { + "name": "N", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "target_hash", + "type": 11, + "typeName": "H", + "docs": null }, { - "name": "AddedToNewRaise", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "index": 9, - "docs": [ - "A parachain has been moved to `NewRaise`" - ] + "name": "target_number", + "type": 4, + "typeName": "N", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "108": { + "123": { + "path": null, + "def": { + "Tuple": [ + 122, + 117 + ] + }, + "docs": null + }, + "124": { "path": [ - "pallet_xcm", + "pallet_im_online", "pallet", - "Event" + "Call" ], "params": [ { @@ -752,449 +911,777 @@ "Variant": { "variants": [ { - "name": "Attempted", + "name": "heartbeat", "fields": [ { - "type": 96, - "typeName": "xcm::latest::Outcome", - "docs": null + "name": "heartbeat", + "type": 125, + "typeName": "Heartbeat\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "signature", + "type": 130, + "typeName": "\u003cT::AuthorityId as RuntimeAppPublic\u003e::Signature", + "docs": null } ], "index": 0, "docs": [ - "Execution of an XCM message was attempted.", - "", - "\\[ outcome \\]" + "# \u003cweight\u003e", + "- 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`", + "- DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,", + " `ReceivedHeartbeats`", + "- DbWrites: `ReceivedHeartbeats`", + "# \u003c/weight\u003e" ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "125": { + "path": [ + "pallet_im_online", + "Heartbeat" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "block_number", + "type": 4, + "typeName": "BlockNumber", + "docs": null }, { - "name": "Sent", + "name": "network_state", + "type": 126, + "typeName": "OpaqueNetworkState", + "docs": null + }, + { + "name": "session_index", + "type": 4, + "typeName": "SessionIndex", + "docs": null + }, + { + "name": "authority_index", + "type": 4, + "typeName": "AuthIndex", + "docs": null + }, + { + "name": "validators_len", + "type": 4, + "typeName": "u32", + "docs": null + } + ] + } + }, + "docs": null + }, + "126": { + "path": [ + "sp_core", + "offchain", + "OpaqueNetworkState" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "peer_id", + "type": 127, + "typeName": "OpaquePeerId", + "docs": null + }, + { + "name": "external_addresses", + "type": 128, + "typeName": "Vec\u003cOpaqueMultiaddr\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "127": { + "path": [ + "sp_core", + "OpaquePeerId" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "128": { + "path": null, + "def": { + "Sequence": { + "type": 129 + } + }, + "docs": null + }, + "129": { + "path": [ + "sp_core", + "offchain", + "OpaqueMultiaddr" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "13": { + "path": [ + "sp_runtime", + "generic", + "digest", + "Digest" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "logs", + "type": 14, + "typeName": "Vec\u003cDigestItem\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "130": { + "path": [ + "pallet_im_online", + "sr25519", + "app_sr25519", + "Signature" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 131, + "typeName": "sr25519::Signature", + "docs": null + } + ] + } + }, + "docs": null + }, + "131": { + "path": [ + "sp_core", + "sr25519", + "Signature" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 119, + "typeName": "[u8; 64]", + "docs": null + } + ] + } + }, + "docs": null + }, + "132": { + "path": [ + "pallet_democracy", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "propose", "fields": [ { - "type": 109, - "typeName": "MultiLocation", + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT\u003e", "docs": null }, { - "type": 109, - "typeName": "MultiLocation", + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null - }, + } + ], + "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": [ { - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "proposal", + "type": 82, + "typeName": "PropIndex", "docs": null } ], "index": 1, "docs": [ - "A XCM message was sent.", + "Signals agreement with a particular proposal.", "", - "\\[ origin, destination, message \\]" + "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": "UnexpectedResponse", + "name": "vote", "fields": [ { - "type": 109, - "typeName": "MultiLocation", + "name": "ref_index", + "type": 82, + "typeName": "ReferendumIndex", "docs": null }, { - "type": 8, - "typeName": "QueryId", + "name": "vote", + "type": 58, + "typeName": "AccountVote\u003cBalanceOf\u003cT\u003e\u003e", "docs": null } ], "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.", + "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.", "", - "\\[ origin location, id \\]" + "The dispatch origin of this call must be _Signed_.", + "", + "- `ref_index`: The index of the referendum to vote for.", + "- `vote`: The vote configuration." ] }, { - "name": "ResponseReady", + "name": "emergency_cancel", "fields": [ { - "type": 8, - "typeName": "QueryId", - "docs": null - }, - { - "type": 127, - "typeName": "Response", + "name": "ref_index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], "index": 3, "docs": [ - "Query response has been received and is ready for taking with `take_response`. There is", - "no registered notification call.", + "Schedule an emergency cancellation of a referendum. Cannot happen twice to the same", + "referendum.", "", - "\\[ id, response \\]" + "The dispatch origin of this call must be `CancellationOrigin`.", + "", + "-`ref_index`: The index of the referendum to cancel.", + "", + "Weight: `O(1)`." ] }, { - "name": "Notified", + "name": "external_propose", "fields": [ { - "type": 8, - "typeName": "QueryId", - "docs": null - }, - { - "type": 2, - "typeName": "u8", - "docs": null - }, - { - "type": 2, - "typeName": "u8", + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT\u003e", "docs": null } ], "index": 4, "docs": [ - "Query response has been received and query is removed. The registered notification has", - "been dispatched and executed successfully.", + "Schedule a referendum to be tabled once it is legal to schedule an external", + "referendum.", "", - "\\[ id, pallet index, call index \\]" + "The dispatch origin of this call must be `ExternalOrigin`.", + "", + "- `proposal_hash`: The preimage hash of the proposal." ] }, { - "name": "NotifyOverweight", + "name": "external_propose_majority", "fields": [ { - "type": 8, - "typeName": "QueryId", - "docs": null - }, - { - "type": 2, - "typeName": "u8", - "docs": null - }, - { - "type": 2, - "typeName": "u8", - "docs": null - }, - { - "type": 8, - "typeName": "Weight", - "docs": null - }, - { - "type": 8, - "typeName": "Weight", + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT\u003e", "docs": null } ], "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.", + "Schedule a majority-carries referendum to be tabled next once it is legal to schedule", + "an external referendum.", "", - "\\[ id, pallet index, call index, actual weight, max budgeted weight \\]" + "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": "NotifyDispatchError", + "name": "external_propose_default", "fields": [ { - "type": 8, - "typeName": "QueryId", - "docs": null - }, - { - "type": 2, - "typeName": "u8", - "docs": null - }, - { - "type": 2, - "typeName": "u8", + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT\u003e", "docs": null } ], "index": 6, "docs": [ - "Query response has been received and query is removed. There was a general error with", - "dispatching the notification call.", + "Schedule a negative-turnout-bias referendum to be tabled next once it is legal to", + "schedule an external referendum.", "", - "\\[ id, pallet index, call index \\]" + "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": "NotifyDecodeFailed", + "name": "fast_track", "fields": [ { - "type": 8, - "typeName": "QueryId", + "name": "proposal_hash", + "type": 11, + "typeName": "H256", "docs": null }, { - "type": 2, - "typeName": "u8", + "name": "voting_period", + "type": 4, + "typeName": "T::BlockNumber", "docs": null }, { - "type": 2, - "typeName": "u8", + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], "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)`.", + "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.", "", - "\\[ id, pallet index, call index \\]" + "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": "InvalidResponder", + "name": "veto_external", "fields": [ { - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "type": 8, - "typeName": "QueryId", - "docs": null - }, - { - "type": 136, - "typeName": "Option\u003cMultiLocation\u003e", + "name": "proposal_hash", + "type": 11, + "typeName": "H256", "docs": null } ], "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.", + "Veto and blacklist the external proposal hash.", "", - "\\[ origin location, id, expected location \\]" + "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": "InvalidResponderVersion", + "name": "cancel_referendum", "fields": [ { - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "type": 8, - "typeName": "QueryId", + "name": "ref_index", + "type": 82, + "typeName": "ReferendumIndex", "docs": null } ], "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.", + "Remove a referendum.", "", - "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.", + "The dispatch origin of this call must be _Root_.", "", - "\\[ origin location, id \\]" - ] - }, - { - "name": "ResponseTaken", - "fields": [ - { - "type": 8, - "typeName": "QueryId", - "docs": null - } - ], - "index": 10, - "docs": [ - "Received query response has been read and removed.", + "- `ref_index`: The index of the referendum to cancel.", "", - "\\[ id \\]" + "# Weight: `O(1)`." ] }, { - "name": "AssetsTrapped", + "name": "delegate", "fields": [ { - "type": 9, - "typeName": "H256", + "name": "to", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "type": 109, - "typeName": "MultiLocation", + "name": "conviction", + "type": 133, + "typeName": "Conviction", "docs": null }, { - "type": 137, - "typeName": "VersionedMultiAssets", + "name": "balance", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 11, + "index": 10, "docs": [ - "Some assets have been placed in an asset trap.", + "Delegate the voting power (with some given conviction) of the sending account.", "", - "\\[ hash, origin, assets \\]" - ] - }, - { - "name": "VersionChangeNotified", + "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", + "fields": null, + "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", + "fields": null, + "index": 12, + "docs": [ + "Clears all public proposals.", + "", + "The dispatch origin of this call must be _Root_.", + "", + "Weight: `O(1)`." + ] + }, + { + "name": "unlock", "fields": [ { - "type": 109, - "typeName": "MultiLocation", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null - }, + } + ], + "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": "XcmVersion", + "typeName": "ReferendumIndex", "docs": null } ], - "index": 12, + "index": 14, "docs": [ - "An XCM version change notification message has been attempted to be sent.", + "Remove a vote for a referendum.", "", - "\\[ destination, result \\]" + "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": "SupportedVersionChanged", + "name": "remove_other_vote", "fields": [ { - "type": 109, - "typeName": "MultiLocation", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { + "name": "index", "type": 4, - "typeName": "XcmVersion", + "typeName": "ReferendumIndex", "docs": null } ], - "index": 13, + "index": 15, "docs": [ - "The supported version of a location has been changed. This might be through an", - "automatic notification or a manual intervention.", + "Remove a vote for a referendum.", "", - "\\[ location, XCM version \\]" + "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": "NotifyTargetSendFail", + "name": "blacklist", "fields": [ { - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "type": 8, - "typeName": "QueryId", + "name": "proposal_hash", + "type": 11, + "typeName": "H256", "docs": null }, { - "type": 97, - "typeName": "XcmError", + "name": "maybe_ref_index", + "type": 134, + "typeName": "Option\u003cReferendumIndex\u003e", "docs": null } ], - "index": 14, + "index": 16, "docs": [ - "A given location which had a version change subscription was dropped owing to an error", - "sending the notification to it.", + "Permanently place a proposal into the blacklist. This prevents it from ever being", + "proposed again.", "", - "\\[ location, query ID, error \\]" + "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": "NotifyTargetMigrationFail", + "name": "cancel_proposal", "fields": [ { - "type": 142, - "typeName": "VersionedMultiLocation", - "docs": null - }, - { - "type": 8, - "typeName": "QueryId", + "name": "prop_index", + "type": 82, + "typeName": "PropIndex", "docs": null } ], - "index": 15, + "index": 17, "docs": [ - "A given location which had a version change subscription was dropped owing to an error", - "migrating the location to our new XCM format.", + "Remove a proposal.", "", - "\\[ location, query ID \\]" + "The dispatch origin of this call must be `CancelProposalOrigin`.", + "", + "- `prop_index`: The index of the proposal to cancel.", + "", + "Weight: `O(p)` where `p = PublicProps::\u003cT\u003e::decode_len()`" ] } ] } }, "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "109": { + "133": { "path": [ - "xcm", - "v1", - "multilocation", - "MultiLocation" + "pallet_democracy", + "conviction", + "Conviction" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "parents", - "type": 2, - "typeName": "u8", + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "interior", - "type": 110, - "typeName": "Junctions", + "name": "Locked1x", + "fields": null, + "index": 1, "docs": null - } - ] - } - }, - "docs": null - }, - "11": { - "path": [ - "sp_runtime", - "generic", - "digest", - "Digest" - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "logs", - "type": 12, - "typeName": "Vec\u003cDigestItem\u003e", + "name": "Locked2x", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "Locked3x", + "fields": null, + "index": 3, + "docs": null + }, + { + "name": "Locked4x", + "fields": null, + "index": 4, + "docs": null + }, + { + "name": "Locked5x", + "fields": null, + "index": 5, + "docs": null + }, + { + "name": "Locked6x", + "fields": null, + "index": 6, "docs": null } ] @@ -1202,256 +1689,436 @@ }, "docs": null }, - "110": { + "134": { "path": [ - "xcm", - "v1", - "multilocation", - "Junctions" + "Option" + ], + "params": [ + { + "name": "T", + "type": 4 + } ], "def": { "Variant": { "variants": [ { - "name": "Here", + "name": "None", "fields": null, "index": 0, "docs": null }, { - "name": "X1", + "name": "Some", "fields": [ { - "type": 111, - "typeName": "Junction", + "type": 4, + "typeName": "", "docs": null } ], "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "135": { + "path": [ + "pallet_collective", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "X2", + "name": "set_members", "fields": [ { - "type": 111, - "typeName": "Junction", + "name": "new_members", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "prime", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "old_count", + "type": 4, + "typeName": "MemberCount", "docs": null } ], - "index": 2, - "docs": null + "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.", + "", + "Requires root origin.", + "", + "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.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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)", + "- DB:", + " - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the", + " members", + " - 1 storage read (codec `O(P)`) for reading the proposals", + " - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal", + " - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one", + "# \u003c/weight\u003e" + ] }, { - "name": "X3", + "name": "execute", "fields": [ { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", + "name": "proposal", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], - "index": 3, - "docs": null + "index": 1, + "docs": [ + "Dispatch a proposal from a member using the `Member` origin.", + "", + "Origin must be a member of the collective.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching", + " `proposal`", + "- DB: 1 read (codec `O(M)`) + DB access of `proposal`", + "- 1 event", + "# \u003c/weight\u003e" + ] }, { - "name": "X4", + "name": "propose", "fields": [ { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", + "name": "threshold", + "type": 82, + "typeName": "MemberCount", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "proposal", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], - "index": 4, - "docs": null + "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 \u003c 2`)", + "or put up for voting.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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 \u003c 2`)", + " - `P2` is proposals-count (code-bounded) (`threshold \u003e= 2`)", + "- DB:", + " - 1 storage read `is_member` (codec `O(M)`)", + " - 1 storage read `ProposalOf::contains_key` (codec `O(1)`)", + " - DB accesses influenced by `threshold`:", + " - EITHER storage accesses done by `proposal` (`threshold \u003c 2`)", + " - OR proposal insertion (`threshold \u003c= 2`)", + " - 1 storage mutation `Proposals` (codec `O(P2)`)", + " - 1 storage mutation `ProposalCount` (codec `O(1)`)", + " - 1 storage write `ProposalOf` (codec `O(B)`)", + " - 1 storage write `Voting` (codec `O(M)`)", + " - 1 event", + "# \u003c/weight\u003e" + ] }, { - "name": "X5", + "name": "vote", "fields": [ { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", + "name": "proposal", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "index", + "type": 82, + "typeName": "ProposalIndex", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "approve", + "type": 37, + "typeName": "bool", "docs": null } ], - "index": 5, - "docs": null + "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.", + "# \u003cweight\u003e", + "## Weight", + "- `O(M)` where `M` is members-count (code- and governance-bounded)", + "- DB:", + " - 1 storage read `Members` (codec `O(M)`)", + " - 1 storage mutation `Voting` (codec `O(M)`)", + "- 1 event", + "# \u003c/weight\u003e" + ] }, { - "name": "X6", + "name": "close_old_weight", "fields": [ { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "index", + "type": 82, + "typeName": "ProposalIndex", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "proposal_weight_bound", + "type": 137, + "typeName": "OldWeight", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], - "index": 6, - "docs": null - }, - { - "name": "X7", - "fields": [ - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, + "index": 4, + "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::\u003cu32\u003e() == 4` larger than the pure length.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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)", + "- DB:", + " - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)", + " - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec", + " `O(P2)`)", + " - any mutations done while executing `proposal` (`P1`)", + "- up to 3 events", + "# \u003c/weight\u003e" + ] + }, + { + "name": "disapprove_proposal", + "fields": [ { - "type": 111, - "typeName": "Junction", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null - }, + } + ], + "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.", + "", + "# \u003cweight\u003e", + "Complexity: O(P) where P is the number of max proposals", + "DB Weight:", + "* Reads: Proposals", + "* Writes: Voting, Proposals, ProposalOf", + "# \u003c/weight\u003e" + ] + }, + { + "name": "close", + "fields": [ { - "type": 111, - "typeName": "Junction", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "index", + "type": 82, + "typeName": "ProposalIndex", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "proposal_weight_bound", + "type": 8, + "typeName": "Weight", "docs": null }, { - "type": 111, - "typeName": "Junction", + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], - "index": 7, + "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::\u003cu32\u003e() == 4` larger than the pure length.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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)", + "- DB:", + " - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)", + " - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec", + " `O(P2)`)", + " - any mutations done while executing `proposal` (`P1`)", + "- up to 3 events", + "# \u003c/weight\u003e" + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "136": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "X8", + "name": "Some", "fields": [ { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", - "docs": null - }, - { - "type": 111, - "typeName": "Junction", + "type": 0, + "typeName": "", "docs": null } ], - "index": 8, + "index": 1, "docs": null } ] @@ -1459,392 +2126,649 @@ }, "docs": null }, - "111": { + "137": { + "path": null, + "def": { + "Compact": { + "type": 138 + } + }, + "docs": null + }, + "138": { "path": [ - "xcm", - "v1", - "junction", - "Junction" + "sp_weights", + "OldWeight" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 10, + "typeName": "u64", + "docs": null + } + ] + } + }, + "docs": null + }, + "139": { + "path": [ + "pallet_collective", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "Parachain", + "name": "set_members", "fields": [ { - "type": 112, - "typeName": "u32", + "name": "new_members", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "prime", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "old_count", + "type": 4, + "typeName": "MemberCount", "docs": null } ], "index": 0, - "docs": null + "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.", + "", + "Requires root origin.", + "", + "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.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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)", + "- DB:", + " - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the", + " members", + " - 1 storage read (codec `O(P)`) for reading the proposals", + " - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal", + " - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one", + "# \u003c/weight\u003e" + ] }, { - "name": "AccountId32", + "name": "execute", "fields": [ { - "name": "network", - "type": 113, - "typeName": "NetworkId", + "name": "proposal", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", "docs": null }, { - "name": "id", - "type": 1, - "typeName": "[u8; 32]", + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], "index": 1, - "docs": null + "docs": [ + "Dispatch a proposal from a member using the `Member` origin.", + "", + "Origin must be a member of the collective.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching", + " `proposal`", + "- DB: 1 read (codec `O(M)`) + DB access of `proposal`", + "- 1 event", + "# \u003c/weight\u003e" + ] }, { - "name": "AccountIndex64", + "name": "propose", "fields": [ { - "name": "network", - "type": 113, - "typeName": "NetworkId", + "name": "threshold", + "type": 82, + "typeName": "MemberCount", "docs": null }, { - "name": "index", - "type": 114, - "typeName": "u64", + "name": "proposal", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", + "docs": null + }, + { + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], "index": 2, - "docs": null + "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 \u003c 2`)", + "or put up for voting.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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 \u003c 2`)", + " - `P2` is proposals-count (code-bounded) (`threshold \u003e= 2`)", + "- DB:", + " - 1 storage read `is_member` (codec `O(M)`)", + " - 1 storage read `ProposalOf::contains_key` (codec `O(1)`)", + " - DB accesses influenced by `threshold`:", + " - EITHER storage accesses done by `proposal` (`threshold \u003c 2`)", + " - OR proposal insertion (`threshold \u003c= 2`)", + " - 1 storage mutation `Proposals` (codec `O(P2)`)", + " - 1 storage mutation `ProposalCount` (codec `O(1)`)", + " - 1 storage write `ProposalOf` (codec `O(B)`)", + " - 1 storage write `Voting` (codec `O(M)`)", + " - 1 event", + "# \u003c/weight\u003e" + ] }, { - "name": "AccountKey20", + "name": "vote", "fields": [ { - "name": "network", - "type": 113, - "typeName": "NetworkId", + "name": "proposal", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "name": "key", - "type": 61, - "typeName": "[u8; 20]", + "name": "index", + "type": 82, + "typeName": "ProposalIndex", + "docs": null + }, + { + "name": "approve", + "type": 37, + "typeName": "bool", "docs": null } ], "index": 3, - "docs": null + "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.", + "# \u003cweight\u003e", + "## Weight", + "- `O(M)` where `M` is members-count (code- and governance-bounded)", + "- DB:", + " - 1 storage read `Members` (codec `O(M)`)", + " - 1 storage mutation `Voting` (codec `O(M)`)", + "- 1 event", + "# \u003c/weight\u003e" + ] }, { - "name": "PalletInstance", + "name": "close_old_weight", "fields": [ { - "type": 2, - "typeName": "u8", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "index", + "type": 82, + "typeName": "ProposalIndex", + "docs": null + }, + { + "name": "proposal_weight_bound", + "type": 137, + "typeName": "OldWeight", + "docs": null + }, + { + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], "index": 4, - "docs": null + "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::\u003cu32\u003e() == 4` larger than the pure length.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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)", + "- DB:", + " - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)", + " - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec", + " `O(P2)`)", + " - any mutations done while executing `proposal` (`P1`)", + "- up to 3 events", + "# \u003c/weight\u003e" + ] }, { - "name": "GeneralIndex", + "name": "disapprove_proposal", "fields": [ { - "type": 43, - "typeName": "u128", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null } ], "index": 5, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "Complexity: O(P) where P is the number of max proposals", + "DB Weight:", + "* Reads: Proposals", + "* Writes: Voting, Proposals, ProposalOf", + "# \u003c/weight\u003e" + ] }, { - "name": "GeneralKey", + "name": "close", "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null - } - ], - "index": 6, - "docs": null - }, - { - "name": "OnlyChild", - "fields": null, - "index": 7, - "docs": null - }, - { - "name": "Plurality", - "fields": [ + }, { - "name": "id", - "type": 115, - "typeName": "BodyId", + "name": "index", + "type": 82, + "typeName": "ProposalIndex", "docs": null }, { - "name": "part", - "type": 116, - "typeName": "BodyPart", + "name": "proposal_weight_bound", + "type": 8, + "typeName": "Weight", "docs": null - } - ], - "index": 8, - "docs": null - } - ] - } - }, - "docs": null - }, - "112": { - "path": null, - "def": { - "Compact": { - "type": 4 - } - }, - "docs": null - }, - "113": { - "path": [ - "xcm", - "v0", - "junction", - "NetworkId" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Any", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Named", - "fields": [ + }, { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "length_bound", + "type": 82, + "typeName": "u32", "docs": null } ], - "index": 1, - "docs": null - }, - { - "name": "Polkadot", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "Kusama", - "fields": null, - "index": 3, - "docs": null + "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::\u003cu32\u003e() == 4` larger than the pure length.", + "", + "# \u003cweight\u003e", + "## Weight", + "- `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)", + "- DB:", + " - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)", + " - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec", + " `O(P2)`)", + " - any mutations done while executing `proposal` (`P1`)", + "- up to 3 events", + "# \u003c/weight\u003e" + ] } ] } }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "114": { + "14": { "path": null, "def": { - "Compact": { - "type": 8 + "Sequence": { + "type": 15 } }, "docs": null }, - "115": { + "140": { "path": [ - "xcm", - "v0", - "junction", - "BodyId" + "pallet_elections_phragmen", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "Unit", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Named", + "name": "vote", "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "votes", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null - } - ], - "index": 1, - "docs": null - }, - { - "name": "Index", - "fields": [ + }, { - "type": 112, - "typeName": "u32", + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 2, - "docs": null - }, - { - "name": "Executive", - "fields": null, - "index": 3, - "docs": null - }, - { - "name": "Technical", - "fields": null, - "index": 4, - "docs": null - }, - { - "name": "Legislative", - "fields": null, - "index": 5, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "We assume the maximum weight among all 3 cases: vote_equal, vote_more and vote_less.", + "# \u003c/weight\u003e" + ] }, { - "name": "Judicial", - "fields": null, - "index": 6, - "docs": null - } - ] - } - }, - "docs": null - }, - "116": { - "path": [ - "xcm", - "v0", - "junction", - "BodyPart" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Voice", + "name": "remove_voter", "fields": null, - "index": 0, - "docs": null + "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": "Members", + "name": "submit_candidacy", "fields": [ { - "name": "count", - "type": 112, + "name": "candidate_count", + "type": 82, "typeName": "u32", "docs": null } ], - "index": 1, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "The number of current candidates must be provided as witness data.", + "# \u003c/weight\u003e" + ] }, { - "name": "Fraction", + "name": "renounce_candidacy", "fields": [ { - "name": "nom", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "denom", - "type": 112, - "typeName": "u32", + "name": "renouncing", + "type": 141, + "typeName": "Renouncing", "docs": null } ], - "index": 2, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "The type of renouncing must be provided as witness data.", + "# \u003c/weight\u003e" + ] }, { - "name": "AtLeastProportion", + "name": "remove_member", "fields": [ { - "name": "nom", - "type": 112, - "typeName": "u32", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "denom", - "type": 112, - "typeName": "u32", + "name": "slash_bond", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "rerun_election", + "type": 37, + "typeName": "bool", "docs": null } ], - "index": 3, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "If we have a replacement, we use a small weight. Else, since this is a root call and", + "will go into phragmen, we assume full block for now.", + "# \u003c/weight\u003e" + ] }, { - "name": "MoreThanProportion", + "name": "clean_defunct_voters", "fields": [ { - "name": "nom", - "type": 112, + "name": "num_voters", + "type": 4, "typeName": "u32", "docs": null }, { - "name": "denom", - "type": 112, + "name": "num_defunct", + "type": 4, "typeName": "u32", "docs": null } ], - "index": 4, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "The total number of voters and those that are defunct must be provided as witness data.", + "# \u003c/weight\u003e" + ] } ] } }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "117": { + "141": { "path": [ - "xcm", - "v2", - "Xcm" - ], - "params": [ - { - "name": "Call", - "type": 0 - } + "pallet_elections_phragmen", + "Renouncing" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "type": 118, - "typeName": "Vec\u003cInstruction\u003cCall\u003e\u003e", + "name": "Member", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "RunnerUp", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Candidate", + "fields": [ + { + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 2, "docs": null } ] @@ -1852,24 +2776,19 @@ }, "docs": null }, - "118": { - "path": null, - "def": { - "Sequence": { - "type": 119 - } - }, - "docs": null - }, - "119": { + "142": { "path": [ - "xcm", - "v2", - "Instruction" + "pallet_membership", + "pallet", + "Call" ], "params": [ { - "name": "Call", + "name": "T", + "type": 0 + }, + { + "name": "I", "type": 0 } ], @@ -1877,506 +2796,628 @@ "Variant": { "variants": [ { - "name": "WithdrawAsset", + "name": "add_member", "fields": [ { - "type": 120, - "typeName": "MultiAssets", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 0, - "docs": null + "docs": [ + "Add a member `who` to the set.", + "", + "May only be called from `T::AddOrigin`." + ] }, { - "name": "ReserveAssetDeposited", + "name": "remove_member", "fields": [ { - "type": 120, - "typeName": "MultiAssets", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 1, - "docs": null + "docs": [ + "Remove a member `who` from the set.", + "", + "May only be called from `T::RemoveOrigin`." + ] }, { - "name": "ReceiveTeleportedAsset", + "name": "swap_member", "fields": [ { - "type": 120, - "typeName": "MultiAssets", + "name": "remove", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "add", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 2, - "docs": null + "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": "QueryResponse", + "name": "reset_members", "fields": [ { - "name": "query_id", - "type": 114, - "typeName": "QueryId", - "docs": null - }, - { - "name": "response", - "type": 127, - "typeName": "Response", - "docs": null - }, - { - "name": "max_weight", - "type": 114, - "typeName": "u64", + "name": "members", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null } ], "index": 3, - "docs": null + "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": "TransferAsset", + "name": "change_key", "fields": [ { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", + "name": "new", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 4, - "docs": null + "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": "TransferReserveAsset", + "name": "set_prime", "fields": [ { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 5, - "docs": null + "docs": [ + "Set the prime member. Must be a current member.", + "", + "May only be called from `T::PrimeOrigin`." + ] }, { - "name": "Transact", + "name": "clear_prime", + "fields": null, + "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." + ] + }, + "143": { + "path": [ + "pallet_treasury", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "propose_spend", "fields": [ { - "name": "origin_type", - "type": 130, - "typeName": "OriginKind", - "docs": null - }, - { - "name": "require_weight_at_most", - "type": 114, - "typeName": "u64", + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null }, { - "name": "call", - "type": 131, - "typeName": "DoubleEncoded\u003cCall\u003e", + "name": "beneficiary", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 6, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- Complexity: O(1)", + "- DbReads: `ProposalCount`, `origin account`", + "- DbWrites: `ProposalCount`, `Proposals`, `origin account`", + "# \u003c/weight\u003e" + ] }, { - "name": "HrmpNewChannelOpenRequest", + "name": "reject_proposal", "fields": [ { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_message_size", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_capacity", - "type": 112, - "typeName": "u32", + "name": "proposal_id", + "type": 82, + "typeName": "ProposalIndex", "docs": null } ], - "index": 7, - "docs": null + "index": 1, + "docs": [ + "Reject a proposed spend. The original deposit will be slashed.", + "", + "May only be called from `T::RejectOrigin`.", + "", + "# \u003cweight\u003e", + "- Complexity: O(1)", + "- DbReads: `Proposals`, `rejected proposer account`", + "- DbWrites: `Proposals`, `rejected proposer account`", + "# \u003c/weight\u003e" + ] }, { - "name": "HrmpChannelAccepted", + "name": "approve_proposal", "fields": [ { - "name": "recipient", - "type": 112, - "typeName": "u32", + "name": "proposal_id", + "type": 82, + "typeName": "ProposalIndex", "docs": null } ], - "index": 8, - "docs": null + "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`.", + "", + "# \u003cweight\u003e", + "- Complexity: O(1).", + "- DbReads: `Proposals`, `Approvals`", + "- DbWrite: `Approvals`", + "# \u003c/weight\u003e" + ] }, { - "name": "HrmpChannelClosing", + "name": "spend", "fields": [ { - "name": "initiator", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "sender", - "type": 112, - "typeName": "u32", + "name": "amount", + "type": 53, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null }, { - "name": "recipient", - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 9, - "docs": null - }, - { - "name": "ClearOrigin", - "fields": null, - "index": 10, - "docs": null - }, - { - "name": "DescendOrigin", - "fields": [ - { - "type": 110, - "typeName": "InteriorMultiLocation", + "name": "beneficiary", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 11, - "docs": null + "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": "ReportError", + "name": "remove_approval", "fields": [ { - "name": "query_id", - "type": 114, - "typeName": "QueryId", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", + "name": "proposal_id", + "type": 82, + "typeName": "ProposalIndex", "docs": null } ], - "index": 12, - "docs": null - }, + "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", + "", + "# \u003cweight\u003e", + "- Complexity: O(A) where `A` is the number of approvals", + "- Db reads and writes: `Approvals`", + "# \u003c/weight\u003e", + "", + "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." + ] + }, + "144": { + "path": [ + "pallet_conviction_voting", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "DepositAsset", + "name": "vote", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "max_assets", - "type": 112, - "typeName": "u32", + "name": "poll_index", + "type": 82, + "typeName": "PollIndexOf\u003cT, I\u003e", "docs": null }, { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", + "name": "vote", + "type": 145, + "typeName": "AccountVote\u003cBalanceOf\u003cT, I\u003e\u003e", "docs": null } ], - "index": 13, - "docs": null + "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": "DepositReserveAsset", + "name": "delegate", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", + "name": "class", + "type": 71, + "typeName": "ClassOf\u003cT, I\u003e", "docs": null }, { - "name": "max_assets", - "type": 112, - "typeName": "u32", + "name": "to", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", + "name": "conviction", + "type": 147, + "typeName": "Conviction", "docs": null }, { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "balance", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], - "index": 14, - "docs": null + "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": "ExchangeAsset", + "name": "undelegate", "fields": [ { - "name": "give", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "receive", - "type": 120, - "typeName": "MultiAssets", + "name": "class", + "type": 71, + "typeName": "ClassOf\u003cT, I\u003e", "docs": null } ], - "index": 15, - "docs": null + "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": "InitiateReserveWithdraw", + "name": "unlock", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "reserve", - "type": 109, - "typeName": "MultiLocation", + "name": "class", + "type": 71, + "typeName": "ClassOf\u003cT, I\u003e", "docs": null }, { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 16, - "docs": null + "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": "InitiateTeleport", + "name": "remove_vote", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", + "name": "class", + "type": 148, + "typeName": "Option\u003cClassOf\u003cT, I\u003e\u003e", "docs": null }, { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "index", + "type": 4, + "typeName": "PollIndexOf\u003cT, I\u003e", "docs": null } ], - "index": 17, - "docs": null + "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": "QueryHolding", + "name": "remove_other_vote", "fields": [ { - "name": "query_id", - "type": 114, - "typeName": "QueryId", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", + "name": "class", + "type": 71, + "typeName": "ClassOf\u003cT, I\u003e", "docs": null }, { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", + "name": "index", + "type": 4, + "typeName": "PollIndexOf\u003cT, I\u003e", "docs": null } ], - "index": 18, - "docs": null - }, + "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." + ] + }, + "145": { + "path": [ + "pallet_conviction_voting", + "vote", + "AccountVote" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "BuyExecution", + "name": "Standard", "fields": [ { - "name": "fees", - "type": 122, - "typeName": "MultiAsset", + "name": "vote", + "type": 146, + "typeName": "Vote", "docs": null }, { - "name": "weight_limit", - "type": 135, - "typeName": "WeightLimit", + "name": "balance", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 19, - "docs": null - }, - { - "name": "RefundSurplus", - "fields": null, - "index": 20, + "index": 0, "docs": null }, { - "name": "SetErrorHandler", + "name": "Split", "fields": [ { - "type": 117, - "typeName": "Xcm\u003cCall\u003e", + "name": "aye", + "type": 6, + "typeName": "Balance", "docs": null - } - ], - "index": 21, - "docs": null - }, - { - "name": "SetAppendix", - "fields": [ + }, { - "type": 117, - "typeName": "Xcm\u003cCall\u003e", + "name": "nay", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 22, - "docs": null - }, - { - "name": "ClearError", - "fields": null, - "index": 23, + "index": 1, "docs": null }, { - "name": "ClaimAsset", + "name": "SplitAbstain", "fields": [ { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", + "name": "aye", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "ticket", - "type": 109, - "typeName": "MultiLocation", + "name": "nay", + "type": 6, + "typeName": "Balance", "docs": null - } - ], - "index": 24, - "docs": null - }, - { - "name": "Trap", - "fields": [ + }, { - "type": 114, - "typeName": "u64", + "name": "abstain", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 25, - "docs": null - }, - { - "name": "SubscribeVersion", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "QueryId", - "docs": null - }, - { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", - "docs": null - } - ], - "index": 26, - "docs": null - }, - { - "name": "UnsubscribeVersion", - "fields": null, - "index": 27, + "index": 2, "docs": null } ] @@ -2384,28 +3425,18 @@ }, "docs": null }, - "12": { - "path": null, - "def": { - "Sequence": { - "type": 13 - } - }, - "docs": null - }, - "120": { + "146": { "path": [ - "xcm", - "v1", - "multiasset", - "MultiAssets" + "pallet_conviction_voting", + "vote", + "Vote" ], "def": { "Composite": { "fields": [ { - "type": 121, - "typeName": "Vec\u003cMultiAsset\u003e", + "type": 2, + "typeName": "", "docs": null } ] @@ -2413,35 +3444,55 @@ }, "docs": null }, - "121": { - "path": null, - "def": { - "Sequence": { - "type": 122 - } - }, - "docs": null - }, - "122": { + "147": { "path": [ - "xcm", - "v1", - "multiasset", - "MultiAsset" + "pallet_conviction_voting", + "conviction", + "Conviction" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "id", - "type": 123, - "typeName": "AssetId", + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "fun", - "type": 124, - "typeName": "Fungibility", + "name": "Locked1x", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Locked2x", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "Locked3x", + "fields": null, + "index": 3, + "docs": null + }, + { + "name": "Locked4x", + "fields": null, + "index": 4, + "docs": null + }, + { + "name": "Locked5x", + "fields": null, + "index": 5, + "docs": null + }, + { + "name": "Locked6x", + "fields": null, + "index": 6, "docs": null } ] @@ -2449,34 +3500,31 @@ }, "docs": null }, - "123": { + "148": { "path": [ - "xcm", - "v1", - "multiasset", - "AssetId" + "Option" + ], + "params": [ + { + "name": "T", + "type": 71 + } ], "def": { "Variant": { "variants": [ { - "name": "Concrete", - "fields": [ - { - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], + "name": "None", + "fields": null, "index": 0, "docs": null }, { - "name": "Abstract", + "name": "Some", "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "type": 71, + "typeName": "", "docs": null } ], @@ -2488,251 +3536,213 @@ }, "docs": null }, - "124": { + "149": { "path": [ - "xcm", - "v1", - "multiasset", - "Fungibility" + "pallet_referenda", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "Fungible", + "name": "submit", "fields": [ { - "type": 43, - "typeName": "u128", + "name": "proposal_origin", + "type": 150, + "typeName": "Box\u003cPalletsOriginOf\u003cT\u003e\u003e", "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "NonFungible", - "fields": [ + }, { - "type": 125, - "typeName": "AssetInstance", + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "enactment_moment", + "type": 166, + "typeName": "DispatchTime\u003cT::BlockNumber\u003e", "docs": null } ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "125": { - "path": [ - "xcm", - "v1", - "multiasset", - "AssetInstance" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Undefined", - "fields": null, "index": 0, - "docs": null + "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": "Index", + "name": "place_decision_deposit", "fields": [ { - "type": 43, - "typeName": "u128", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], "index": 1, - "docs": null + "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": "Array4", + "name": "refund_decision_deposit", "fields": [ { - "type": 14, - "typeName": "[u8; 4]", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], "index": 2, - "docs": null + "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": "Array8", + "name": "cancel", "fields": [ { - "type": 126, - "typeName": "[u8; 8]", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], "index": 3, - "docs": null + "docs": [ + "Cancel an ongoing referendum.", + "", + "- `origin`: must be the `CancelOrigin`.", + "- `index`: The index of the referendum to be cancelled.", + "", + "Emits `Cancelled`." + ] }, { - "name": "Array16", + "name": "kill", "fields": [ { - "type": 30, - "typeName": "[u8; 16]", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], "index": 4, - "docs": null + "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": "Array32", + "name": "nudge_referendum", "fields": [ { - "type": 1, - "typeName": "[u8; 32]", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], "index": 5, - "docs": null + "docs": [ + "Advance a referendum onto its next logical state. Only used internally.", + "", + "- `origin`: must be `Root`.", + "- `index`: the referendum to be advanced." + ] }, { - "name": "Blob", + "name": "one_fewer_deciding", "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "track", + "type": 71, + "typeName": "TrackIdOf\u003cT, I\u003e", "docs": null } ], "index": 6, - "docs": null - } - ] - } - }, - "docs": null - }, - "126": { - "path": null, - "def": { - "Array": { - "len": 8, - "type": 2 - } - }, - "docs": null - }, - "127": { - "path": [ - "xcm", - "v2", - "Response" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Null", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Assets", - "fields": [ - { - "type": 120, - "typeName": "MultiAssets", - "docs": null - } - ], - "index": 1, - "docs": null - }, - { - "name": "ExecutionResult", - "fields": [ - { - "type": 128, - "typeName": "Option\u003c(u32, Error)\u003e", - "docs": null - } - ], - "index": 2, - "docs": null + "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": "Version", + "name": "refund_submission_deposit", "fields": [ { + "name": "index", "type": 4, - "typeName": "super::Version", - "docs": null - } - ], - "index": 3, - "docs": null - } - ] - } - }, - "docs": null - }, - "128": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 129 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "None", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Some", - "fields": [ - { - "type": 129, - "typeName": "", + "typeName": "ReferendumIndex", "docs": null } ], - "index": 1, - "docs": null + "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`." + ] } ] } }, - "docs": null - }, - "129": { - "path": null, - "def": { - "Tuple": [ - 4, - 97 - ] - }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "13": { + "15": { "path": [ "sp_runtime", "generic", @@ -2746,12 +3756,12 @@ "name": "PreRuntime", "fields": [ { - "type": 14, + "type": 16, "typeName": "ConsensusEngineId", "docs": null }, { - "type": 10, + "type": 12, "typeName": "Vec\u003cu8\u003e", "docs": null } @@ -2763,12 +3773,12 @@ "name": "Consensus", "fields": [ { - "type": 14, + "type": 16, "typeName": "ConsensusEngineId", "docs": null }, { - "type": 10, + "type": 12, "typeName": "Vec\u003cu8\u003e", "docs": null } @@ -2780,12 +3790,12 @@ "name": "Seal", "fields": [ { - "type": 14, + "type": 16, "typeName": "ConsensusEngineId", "docs": null }, { - "type": 10, + "type": 12, "typeName": "Vec\u003cu8\u003e", "docs": null } @@ -2797,7 +3807,7 @@ "name": "Other", "fields": [ { - "type": 10, + "type": 12, "typeName": "Vec\u003cu8\u003e", "docs": null } @@ -2816,102 +3826,96 @@ }, "docs": null }, - "130": { + "150": { "path": [ - "xcm", - "v0", - "OriginKind" + "kusama_runtime", + "OriginCaller" ], "def": { "Variant": { "variants": [ { - "name": "Native", - "fields": null, + "name": "system", + "fields": [ + { + "type": 151, + "typeName": "frame_system::Origin\u003cRuntime\u003e", + "docs": null + } + ], "index": 0, "docs": null }, { - "name": "SovereignAccount", - "fields": null, - "index": 1, + "name": "Council", + "fields": [ + { + "type": 152, + "typeName": "pallet_collective::Origin\u003cRuntime, pallet_collective::Instance1\u003e", + "docs": null + } + ], + "index": 14, "docs": null }, { - "name": "Superuser", - "fields": null, - "index": 2, + "name": "TechnicalCommittee", + "fields": [ + { + "type": 153, + "typeName": "pallet_collective::Origin\u003cRuntime, pallet_collective::Instance2\u003e", + "docs": null + } + ], + "index": 15, "docs": null }, { - "name": "Xcm", - "fields": null, - "index": 3, + "name": "Origins", + "fields": [ + { + "type": 154, + "typeName": "pallet_custom_origins::Origin", + "docs": null + } + ], + "index": 43, "docs": null - } - ] - } - }, - "docs": null - }, - "131": { - "path": [ - "xcm", - "double_encoded", - "DoubleEncoded" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "encoded", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "ParachainsOrigin", + "fields": [ + { + "type": 155, + "typeName": "parachains_origin::Origin", + "docs": null + } + ], + "index": 50, "docs": null - } - ] - } - }, - "docs": null - }, - "132": { - "path": [ - "xcm", - "v1", - "multiasset", - "MultiAssetFilter" - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "Definite", + "name": "XcmPallet", "fields": [ { - "type": 120, - "typeName": "MultiAssets", + "type": 157, + "typeName": "pallet_xcm::Origin", "docs": null } ], - "index": 0, + "index": 99, "docs": null }, { - "name": "Wild", + "name": "Void", "fields": [ { - "type": 133, - "typeName": "WildMultiAsset", + "type": 165, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::Void", "docs": null } ], - "index": 1, + "index": 6, "docs": null } ] @@ -2919,66 +3923,43 @@ }, "docs": null }, - "133": { + "151": { "path": [ - "xcm", - "v1", - "multiasset", - "WildMultiAsset" + "frame_support", + "dispatch", + "RawOrigin" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "All", + "name": "Root", "fields": null, "index": 0, "docs": null }, { - "name": "AllOf", + "name": "Signed", "fields": [ { - "name": "id", - "type": 123, - "typeName": "AssetId", - "docs": null - }, - { - "name": "fun", - "type": 134, - "typeName": "WildFungibility", + "type": 0, + "typeName": "AccountId", "docs": null } ], "index": 1, "docs": null - } - ] - } - }, - "docs": null - }, - "134": { - "path": [ - "xcm", - "v1", - "multiasset", - "WildFungibility" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Fungible", - "fields": null, - "index": 0, - "docs": null }, { - "name": "NonFungible", + "name": "None", "fields": null, - "index": 1, + "index": 2, "docs": null } ] @@ -2986,88 +3967,93 @@ }, "docs": null }, - "135": { + "152": { "path": [ - "xcm", - "v2", - "WeightLimit" + "pallet_collective", + "RawOrigin" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "I", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "Unlimited", - "fields": null, + "name": "Members", + "fields": [ + { + "type": 4, + "typeName": "MemberCount", + "docs": null + }, + { + "type": 4, + "typeName": "MemberCount", + "docs": null + } + ], "index": 0, "docs": null }, { - "name": "Limited", + "name": "Member", "fields": [ { - "type": 114, - "typeName": "u64", + "type": 0, + "typeName": "AccountId", "docs": null } ], "index": 1, "docs": null + }, + { + "name": "_Phantom", + "fields": null, + "index": 2, + "docs": null } ] } }, "docs": null }, - "136": { + "153": { "path": [ - "Option" + "pallet_collective", + "RawOrigin" ], "params": [ { - "name": "T", - "type": 109 + "name": "AccountId", + "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "None", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Some", + "name": "Members", "fields": [ { - "type": 109, - "typeName": "", + "type": 4, + "typeName": "MemberCount", "docs": null - } - ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "137": { - "path": [ - "xcm", - "VersionedMultiAssets" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "V0", - "fields": [ + }, { - "type": 138, - "typeName": "Vec\u003cv0::MultiAsset\u003e", + "type": 4, + "typeName": "MemberCount", "docs": null } ], @@ -3075,191 +4061,283 @@ "docs": null }, { - "name": "V1", + "name": "Member", "fields": [ { - "type": 120, - "typeName": "v1::MultiAssets", + "type": 0, + "typeName": "AccountId", "docs": null } ], "index": 1, "docs": null + }, + { + "name": "_Phantom", + "fields": null, + "index": 2, + "docs": null } ] } }, "docs": null }, - "138": { - "path": null, - "def": { - "Sequence": { - "type": 139 - } - }, - "docs": null - }, - "139": { + "154": { "path": [ - "xcm", - "v0", - "multi_asset", - "MultiAsset" + "kusama_runtime", + "governance", + "origins", + "pallet_custom_origins", + "Origin" ], "def": { "Variant": { "variants": [ { - "name": "None", + "name": "StakingAdmin", "fields": null, "index": 0, "docs": null }, { - "name": "All", + "name": "Treasurer", "fields": null, "index": 1, "docs": null }, { - "name": "AllFungible", + "name": "FellowshipAdmin", "fields": null, "index": 2, "docs": null }, { - "name": "AllNonFungible", + "name": "GeneralAdmin", "fields": null, "index": 3, "docs": null }, { - "name": "AllAbstractFungible", - "fields": [ - { - "name": "id", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - } - ], + "name": "AuctionAdmin", + "fields": null, "index": 4, "docs": null }, { - "name": "AllAbstractNonFungible", - "fields": [ - { - "name": "class", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - } - ], + "name": "LeaseAdmin", + "fields": null, "index": 5, "docs": null }, { - "name": "AllConcreteFungible", - "fields": [ - { - "name": "id", - "type": 140, - "typeName": "MultiLocation", - "docs": null - } - ], + "name": "ReferendumCanceller", + "fields": null, "index": 6, "docs": null }, { - "name": "AllConcreteNonFungible", - "fields": [ - { - "name": "class", - "type": 140, - "typeName": "MultiLocation", - "docs": null - } - ], + "name": "ReferendumKiller", + "fields": null, "index": 7, "docs": null }, { - "name": "AbstractFungible", - "fields": [ - { - "name": "id", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - }, - { - "name": "amount", - "type": 43, - "typeName": "u128", - "docs": null - } - ], + "name": "SmallTipper", + "fields": null, "index": 8, "docs": null }, { - "name": "AbstractNonFungible", + "name": "BigTipper", + "fields": null, + "index": 9, + "docs": null + }, + { + "name": "SmallSpender", + "fields": null, + "index": 10, + "docs": null + }, + { + "name": "MediumSpender", + "fields": null, + "index": 11, + "docs": null + }, + { + "name": "BigSpender", + "fields": null, + "index": 12, + "docs": null + }, + { + "name": "WhitelistedCaller", + "fields": null, + "index": 13, + "docs": null + }, + { + "name": "FellowshipInitiates", + "fields": null, + "index": 14, + "docs": null + }, + { + "name": "Fellows", + "fields": null, + "index": 15, + "docs": null + }, + { + "name": "FellowshipExperts", + "fields": null, + "index": 16, + "docs": null + }, + { + "name": "FellowshipMasters", + "fields": null, + "index": 17, + "docs": null + }, + { + "name": "Fellowship1Dan", + "fields": null, + "index": 18, + "docs": null + }, + { + "name": "Fellowship2Dan", + "fields": null, + "index": 19, + "docs": null + }, + { + "name": "Fellowship3Dan", + "fields": null, + "index": 20, + "docs": null + }, + { + "name": "Fellowship4Dan", + "fields": null, + "index": 21, + "docs": null + }, + { + "name": "Fellowship5Dan", + "fields": null, + "index": 22, + "docs": null + }, + { + "name": "Fellowship6Dan", + "fields": null, + "index": 23, + "docs": null + }, + { + "name": "Fellowship7Dan", + "fields": null, + "index": 24, + "docs": null + }, + { + "name": "Fellowship8Dan", + "fields": null, + "index": 25, + "docs": null + }, + { + "name": "Fellowship9Dan", + "fields": null, + "index": 26, + "docs": null + } + ] + } + }, + "docs": null + }, + "155": { + "path": [ + "polkadot_runtime_parachains", + "origin", + "pallet", + "Origin" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Parachain", "fields": [ { - "name": "class", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - }, - { - "name": "instance", - "type": 125, - "typeName": "AssetInstance", + "type": 156, + "typeName": "ParaId", "docs": null } ], - "index": 9, + "index": 0, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "156": { + "path": [ + "polkadot_parachain", + "primitives", + "Id" + ], + "def": { + "Composite": { + "fields": [ { - "name": "ConcreteFungible", + "type": 4, + "typeName": "u32", + "docs": null + } + ] + } + }, + "docs": null + }, + "157": { + "path": [ + "pallet_xcm", + "pallet", + "Origin" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Xcm", "fields": [ { - "name": "id", - "type": 140, + "type": 158, "typeName": "MultiLocation", "docs": null - }, - { - "name": "amount", - "type": 43, - "typeName": "u128", - "docs": null } ], - "index": 10, + "index": 0, "docs": null }, { - "name": "ConcreteNonFungible", + "name": "Response", "fields": [ { - "name": "class", - "type": 140, + "type": 158, "typeName": "MultiLocation", "docs": null - }, - { - "name": "instance", - "type": 125, - "typeName": "AssetInstance", - "docs": null } ], - "index": 11, + "index": 1, "docs": null } ] @@ -3267,28 +4345,45 @@ }, "docs": null }, - "14": { - "path": null, + "158": { + "path": [ + "xcm", + "v1", + "multilocation", + "MultiLocation" + ], "def": { - "Array": { - "len": 4, - "type": 2 + "Composite": { + "fields": [ + { + "name": "parents", + "type": 2, + "typeName": "u8", + "docs": null + }, + { + "name": "interior", + "type": 159, + "typeName": "Junctions", + "docs": null + } + ] } }, "docs": null }, - "140": { + "159": { "path": [ "xcm", - "v0", - "multi_location", - "MultiLocation" + "v1", + "multilocation", + "Junctions" ], "def": { "Variant": { "variants": [ { - "name": "Null", + "name": "Here", "fields": null, "index": 0, "docs": null @@ -3297,7 +4392,7 @@ "name": "X1", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3309,12 +4404,12 @@ "name": "X2", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3326,17 +4421,17 @@ "name": "X3", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3348,22 +4443,22 @@ "name": "X4", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3375,27 +4470,27 @@ "name": "X5", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3407,32 +4502,32 @@ "name": "X6", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3444,37 +4539,37 @@ "name": "X7", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3486,42 +4581,42 @@ "name": "X8", "fields": [ { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null }, { - "type": 141, + "type": 160, "typeName": "Junction", "docs": null } @@ -3534,32 +4629,36 @@ }, "docs": null }, - "141": { + "16": { + "path": null, + "def": { + "Array": { + "len": 4, + "type": 2 + } + }, + "docs": null + }, + "160": { "path": [ "xcm", - "v0", + "v1", "junction", "Junction" ], "def": { "Variant": { "variants": [ - { - "name": "Parent", - "fields": null, - "index": 0, - "docs": null - }, { "name": "Parachain", "fields": [ { - "type": 112, + "type": 82, "typeName": "u32", "docs": null } ], - "index": 1, + "index": 0, "docs": null }, { @@ -3567,7 +4666,7 @@ "fields": [ { "name": "network", - "type": 113, + "type": 161, "typeName": "NetworkId", "docs": null }, @@ -3578,7 +4677,7 @@ "docs": null } ], - "index": 2, + "index": 1, "docs": null }, { @@ -3586,18 +4685,18 @@ "fields": [ { "name": "network", - "type": 113, + "type": 161, "typeName": "NetworkId", "docs": null }, { "name": "index", - "type": 114, + "type": 9, "typeName": "u64", "docs": null } ], - "index": 3, + "index": 2, "docs": null }, { @@ -3605,18 +4704,18 @@ "fields": [ { "name": "network", - "type": 113, + "type": 161, "typeName": "NetworkId", "docs": null }, { "name": "key", - "type": 61, + "type": 93, "typeName": "[u8; 20]", "docs": null } ], - "index": 4, + "index": 3, "docs": null }, { @@ -3628,37 +4727,37 @@ "docs": null } ], - "index": 5, + "index": 4, "docs": null }, { "name": "GeneralIndex", "fields": [ { - "type": 43, + "type": 53, "typeName": "u128", "docs": null } ], - "index": 6, + "index": 5, "docs": null }, { "name": "GeneralKey", "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "type": 162, + "typeName": "WeakBoundedVec\u003cu8, ConstU32\u003c32\u003e\u003e", "docs": null } ], - "index": 7, + "index": 6, "docs": null }, { "name": "OnlyChild", "fields": null, - "index": 8, + "index": 7, "docs": null }, { @@ -3666,18 +4765,18 @@ "fields": [ { "name": "id", - "type": 115, + "type": 163, "typeName": "BodyId", "docs": null }, { "name": "part", - "type": 116, + "type": 164, "typeName": "BodyPart", "docs": null } ], - "index": 9, + "index": 8, "docs": null } ] @@ -3685,73 +4784,161 @@ }, "docs": null }, - "142": { + "161": { "path": [ "xcm", - "VersionedMultiLocation" + "v0", + "junction", + "NetworkId" ], "def": { "Variant": { "variants": [ { - "name": "V0", - "fields": [ - { - "type": 140, - "typeName": "v0::MultiLocation", - "docs": null - } - ], + "name": "Any", + "fields": null, "index": 0, "docs": null }, { - "name": "V1", + "name": "Named", "fields": [ { - "type": 109, - "typeName": "v1::MultiLocation", + "type": 162, + "typeName": "WeakBoundedVec\u003cu8, ConstU32\u003c32\u003e\u003e", "docs": null } ], "index": 1, "docs": null + }, + { + "name": "Polkadot", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "Kusama", + "fields": null, + "index": 3, + "docs": null } ] } }, "docs": null }, - "143": { + "162": { "path": [ - "frame_system", - "Phase" + "sp_core", + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 12, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "163": { + "path": [ + "xcm", + "v0", + "junction", + "BodyId" ], "def": { "Variant": { "variants": [ { - "name": "ApplyExtrinsic", + "name": "Unit", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Named", "fields": [ { - "type": 4, + "type": 162, + "typeName": "WeakBoundedVec\u003cu8, ConstU32\u003c32\u003e\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "Index", + "fields": [ + { + "type": 82, "typeName": "u32", "docs": null } ], - "index": 0, + "index": 2, "docs": null }, { - "name": "Finalization", + "name": "Executive", "fields": null, - "index": 1, + "index": 3, "docs": null }, { - "name": "Initialization", + "name": "Technical", "fields": null, - "index": 2, + "index": 4, + "docs": null + }, + { + "name": "Legislative", + "fields": null, + "index": 5, + "docs": null + }, + { + "name": "Judicial", + "fields": null, + "index": 6, + "docs": null + }, + { + "name": "Defense", + "fields": null, + "index": 7, + "docs": null + }, + { + "name": "Administration", + "fields": null, + "index": 8, + "docs": null + }, + { + "name": "Treasury", + "fields": null, + "index": 9, "docs": null } ] @@ -3759,42 +4946,147 @@ }, "docs": null }, - "144": { - "path": null, + "164": { + "path": [ + "xcm", + "v0", + "junction", + "BodyPart" + ], "def": { - "Sequence": { - "type": 9 + "Variant": { + "variants": [ + { + "name": "Voice", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Members", + "fields": [ + { + "name": "count", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "Fraction", + "fields": [ + { + "name": "nom", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "denom", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "AtLeastProportion", + "fields": [ + { + "name": "nom", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "denom", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "MoreThanProportion", + "fields": [ + { + "name": "nom", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "denom", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 4, + "docs": null + } + ] } }, "docs": null }, - "145": { - "path": null, + "165": { + "path": [ + "sp_core", + "Void" + ], "def": { - "Sequence": { - "type": 68 + "Variant": { + "variants": null } }, "docs": null }, - "146": { + "166": { "path": [ - "frame_system", - "LastRuntimeUpgradeInfo" + "frame_support", + "traits", + "schedule", + "DispatchTime" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "spec_version", - "type": 112, - "typeName": "codec::Compact\u003cu32\u003e", + "name": "At", + "fields": [ + { + "type": 4, + "typeName": "BlockNumber", + "docs": null + } + ], + "index": 0, "docs": null }, { - "name": "spec_name", - "type": 147, - "typeName": "sp_runtime::RuntimeString", + "name": "After", + "fields": [ + { + "type": 4, + "typeName": "BlockNumber", + "docs": null + } + ], + "index": 1, "docs": null } ] @@ -3802,16 +5094,9 @@ }, "docs": null }, - "147": { - "path": null, - "def": { - "Primitive": "Str" - }, - "docs": null - }, - "148": { + "167": { "path": [ - "frame_system", + "pallet_ranked_collective", "pallet", "Call" ], @@ -3819,181 +5104,369 @@ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "fill_block", + "name": "add_member", "fields": [ { - "name": "ratio", - "type": 149, - "typeName": "Perbill", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 0, "docs": [ - "A dispatch that will fill the block weight up to the given ratio." + "Introduce a new member.", + "", + "- `origin`: Must be the `AdminOrigin`.", + "- `who`: Account of non-member which will become a member.", + "- `rank`: The rank to give the new member.", + "", + "Weight: `O(1)`" ] }, { - "name": "remark", + "name": "promote_member", "fields": [ { - "name": "remark", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 1, "docs": [ - "Make some on-chain remark.", + "Increment the rank of an existing member by one.", "", - "# \u003cweight\u003e", - "- `O(1)`", - "# \u003c/weight\u003e" + "- `origin`: Must be the `AdminOrigin`.", + "- `who`: Account of existing member.", + "", + "Weight: `O(1)`" ] }, { - "name": "set_heap_pages", + "name": "demote_member", "fields": [ { - "name": "pages", - "type": 8, - "typeName": "u64", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 2, "docs": [ - "Set the number of pages in the WebAssembly environment's heap." + "Decrement the rank of an existing member by one. If the member is already at rank zero,", + "then they are removed entirely.", + "", + "- `origin`: Must be the `AdminOrigin`.", + "- `who`: Account of existing member of rank greater than zero.", + "", + "Weight: `O(1)`, less if the member's index is highest in its rank." ] }, { - "name": "set_code", + "name": "remove_member", "fields": [ { - "name": "code", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "min_rank", + "type": 71, + "typeName": "Rank", "docs": null } ], "index": 3, "docs": [ - "Set the new runtime code.", + "Remove the member entirely.", "", - "# \u003cweight\u003e", - "- `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`", - "- 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is", - " expensive).", - "- 1 storage write (codec `O(C)`).", - "- 1 digest item.", - "- 1 event.", - "The weight of this function is dependent on the runtime, but generally this is very", - "expensive. We will treat this as a full block.", - "# \u003c/weight\u003e" + "- `origin`: Must be the `AdminOrigin`.", + "- `who`: Account of existing member of rank greater than zero.", + "- `min_rank`: The rank of the member or greater.", + "", + "Weight: `O(min_rank)`." ] }, { - "name": "set_code_without_checks", + "name": "vote", "fields": [ { - "name": "code", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "poll", + "type": 4, + "typeName": "PollIndexOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "aye", + "type": 37, + "typeName": "bool", "docs": null } ], "index": 4, "docs": [ - "Set the new runtime code without doing any checks of the given `code`.", + "Add an aye or nay vote for the sender to the given proposal.", "", - "# \u003cweight\u003e", - "- `O(C)` where `C` length of `code`", - "- 1 storage write (codec `O(C)`).", - "- 1 digest item.", - "- 1 event.", - "The weight of this function is dependent on the runtime. We will treat this as a full", - "block. # \u003c/weight\u003e" + "- `origin`: Must be `Signed` by a member account.", + "- `poll`: Index of a poll which is ongoing.", + "- `aye`: `true` if the vote is to approve the proposal, `false` otherwise.", + "", + "Transaction fees are 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.", + "", + "Weight: `O(1)`, less if there was no previous vote on the poll by the member." ] }, { - "name": "set_storage", + "name": "cleanup_poll", "fields": [ { - "name": "items", - "type": 150, - "typeName": "Vec\u003cKeyValue\u003e", + "name": "poll_index", + "type": 4, + "typeName": "PollIndexOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "max", + "type": 4, + "typeName": "u32", "docs": null } ], "index": 5, "docs": [ - "Set some items of storage." + "Remove votes from the given poll. It must have ended.", + "", + "- `origin`: Must be `Signed` by any account.", + "- `poll_index`: Index of a poll which is completed and for which votes continue to", + " exist.", + "- `max`: Maximum number of vote items from remove in this call.", + "", + "Transaction fees are waived if the operation is successful.", + "", + "Weight `O(max)` (less if there are fewer items to remove than `max`)." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "168": { + "path": [ + "pallet_referenda", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "submit", + "fields": [ + { + "name": "proposal_origin", + "type": 150, + "typeName": "Box\u003cPalletsOriginOf\u003cT\u003e\u003e", + "docs": null + }, + { + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "enactment_moment", + "type": 166, + "typeName": "DispatchTime\u003cT::BlockNumber\u003e", + "docs": null + } + ], + "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": "kill_storage", + "name": "place_decision_deposit", "fields": [ { - "name": "keys", - "type": 152, - "typeName": "Vec\u003cKey\u003e", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], - "index": 6, + "index": 1, "docs": [ - "Kill some items from storage." + "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": "kill_prefix", + "name": "refund_decision_deposit", "fields": [ { - "name": "prefix", - "type": 10, - "typeName": "Key", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null - }, + } + ], + "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": "subkeys", + "name": "index", "type": 4, - "typeName": "u32", + "typeName": "ReferendumIndex", "docs": null } ], - "index": 7, + "index": 3, "docs": [ - "Kill all storage items with a key that starts with the given prefix.", + "Cancel an ongoing referendum.", "", - "**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." + "- `origin`: must be the `CancelOrigin`.", + "- `index`: The index of the referendum to be cancelled.", + "", + "Emits `Cancelled`." ] }, { - "name": "remark_with_event", + "name": "kill", "fields": [ { - "name": "remark", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", "docs": null } ], - "index": 8, + "index": 4, "docs": [ - "Make some on-chain remark and emit event.", + "Cancel an ongoing referendum and slash the deposits.", "", - "# \u003cweight\u003e", - "- `O(b)` where b is the length of the remark.", - "- 1 event.", - "# \u003c/weight\u003e" + "- `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", + "docs": null + } + ], + "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": 71, + "typeName": "TrackIdOf\u003cT, I\u003e", + "docs": null + } + ], + "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", + "docs": null + } + ], + "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`." ] } ] @@ -4003,125 +5476,335 @@ "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "149": { + "169": { "path": [ - "sp_arithmetic", - "per_things", - "Perbill" + "pallet_whitelist", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "type": 4, - "typeName": "u32", + "name": "whitelist_call", + "fields": [ + { + "name": "call_hash", + "type": 11, + "typeName": "PreimageHash", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "remove_whitelisted_call", + "fields": [ + { + "name": "call_hash", + "type": 11, + "typeName": "PreimageHash", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "dispatch_whitelisted_call", + "fields": [ + { + "name": "call_hash", + "type": 11, + "typeName": "PreimageHash", + "docs": null + }, + { + "name": "call_encoded_len", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "call_weight_witness", + "type": 8, + "typeName": "Weight", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "dispatch_whitelisted_call_with_preimage", + "fields": [ + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], + "index": 3, "docs": null } ] } }, - "docs": null - }, - "15": { - "path": null, - "def": { - "Sequence": { - "type": 16 - } - }, - "docs": null - }, - "150": { - "path": null, - "def": { - "Sequence": { - "type": 151 - } - }, - "docs": null - }, - "151": { - "path": null, - "def": { - "Tuple": [ - 10, - 10 - ] - }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "152": { + "17": { "path": null, "def": { "Sequence": { - "type": 10 + "type": 18 } }, "docs": null }, - "153": { + "170": { "path": [ - "frame_system", - "limits", - "BlockWeights" + "polkadot_runtime_common", + "claims", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "base_block", - "type": 8, - "typeName": "Weight", - "docs": null + "name": "claim", + "fields": [ + { + "name": "dest", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "ethereum_signature", + "type": 171, + "typeName": "EcdsaSignature", + "docs": null + } + ], + "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:", + "", + "\u003e Ethereum Signed Message:", + "\u003e (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.", + "", + "\u003cweight\u003e", + "The weight of this call is invariant over the input parameters.", + "Weight includes logic to validate unsigned `claim` call.", + "", + "Total Complexity: O(1)", + "\u003c/weight\u003e" + ] }, { - "name": "max_block", - "type": 8, - "typeName": "Weight", - "docs": null + "name": "mint_claim", + "fields": [ + { + "name": "who", + "type": 173, + "typeName": "EthereumAddress", + "docs": null + }, + { + "name": "value", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "vesting_schedule", + "type": 174, + "typeName": "Option\u003c(BalanceOf\u003cT\u003e, BalanceOf\u003cT\u003e, T::BlockNumber)\u003e", + "docs": null + }, + { + "name": "statement", + "type": 176, + "typeName": "Option\u003cStatementKind\u003e", + "docs": null + } + ], + "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.", + "", + "\u003cweight\u003e", + "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)", + "\u003c/weight\u003e" + ] }, { - "name": "per_class", - "type": 154, - "typeName": "PerDispatchClass\u003cWeightsPerClass\u003e", + "name": "claim_attest", + "fields": [ + { + "name": "dest", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "ethereum_signature", + "type": 171, + "typeName": "EcdsaSignature", + "docs": null + }, + { + "name": "statement", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "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:", + "", + "\u003e Ethereum Signed Message:", + "\u003e (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.", + "", + "\u003cweight\u003e", + "The weight of this call is invariant over the input parameters.", + "Weight includes logic to validate unsigned `claim_attest` call.", + "", + "Total Complexity: O(1)", + "\u003c/weight\u003e" + ] + }, + { + "name": "attest", + "fields": [ + { + "name": "statement", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "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.", + "", + "\u003cweight\u003e", + "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)", + "\u003c/weight\u003e" + ] + }, + { + "name": "move_claim", + "fields": [ + { + "name": "old", + "type": 173, + "typeName": "EthereumAddress", + "docs": null + }, + { + "name": "new", + "type": 173, + "typeName": "EthereumAddress", + "docs": null + }, + { + "name": "maybe_preclaim", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + } + ], + "index": 4, "docs": null } ] } }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "154": { + "171": { "path": [ - "frame_support", - "weights", - "PerDispatchClass" - ], - "params": [ - { - "name": "T", - "type": 155 - } + "polkadot_runtime_common", + "claims", + "EcdsaSignature" ], "def": { "Composite": { "fields": [ { - "name": "normal", - "type": 155, - "typeName": "T", - "docs": null - }, - { - "name": "operational", - "type": 155, - "typeName": "T", - "docs": null - }, - { - "name": "mandatory", - "type": 155, - "typeName": "T", + "type": 172, + "typeName": "[u8; 65]", "docs": null } ] @@ -4129,37 +5812,28 @@ }, "docs": null }, - "155": { + "172": { + "path": null, + "def": { + "Array": { + "len": 65, + "type": 2 + } + }, + "docs": null + }, + "173": { "path": [ - "frame_system", - "limits", - "WeightsPerClass" + "polkadot_runtime_common", + "claims", + "EthereumAddress" ], "def": { "Composite": { "fields": [ { - "name": "base_extrinsic", - "type": 8, - "typeName": "Weight", - "docs": null - }, - { - "name": "max_extrinsic", - "type": 156, - "typeName": "Option\u003cWeight\u003e", - "docs": null - }, - { - "name": "max_total", - "type": 156, - "typeName": "Option\u003cWeight\u003e", - "docs": null - }, - { - "name": "reserved", - "type": 156, - "typeName": "Option\u003cWeight\u003e", + "type": 93, + "typeName": "[u8; 20]", "docs": null } ] @@ -4167,14 +5841,14 @@ }, "docs": null }, - "156": { + "174": { "path": [ "Option" ], "params": [ { "name": "T", - "type": 8 + "type": 175 } ], "def": { @@ -4190,7 +5864,7 @@ "name": "Some", "fields": [ { - "type": 8, + "type": 175, "typeName": "", "docs": null } @@ -4203,57 +5877,46 @@ }, "docs": null }, - "157": { - "path": [ - "frame_system", - "limits", - "BlockLength" - ], + "175": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "name": "max", - "type": 158, - "typeName": "PerDispatchClass\u003cu32\u003e", - "docs": null - } - ] - } + "Tuple": [ + 6, + 6, + 4 + ] }, "docs": null }, - "158": { + "176": { "path": [ - "frame_support", - "weights", - "PerDispatchClass" + "Option" ], "params": [ { "name": "T", - "type": 4 + "type": 177 } ], "def": { - "Composite": { - "fields": [ - { - "name": "normal", - "type": 4, - "typeName": "T", - "docs": null - }, + "Variant": { + "variants": [ { - "name": "operational", - "type": 4, - "typeName": "T", + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "mandatory", - "type": 4, - "typeName": "T", + "name": "Some", + "fields": [ + { + "type": 177, + "typeName": "", + "docs": null + } + ], + "index": 1, "docs": null } ] @@ -4261,25 +5924,25 @@ }, "docs": null }, - "159": { + "177": { "path": [ - "frame_support", - "weights", - "RuntimeDbWeight" + "polkadot_runtime_common", + "claims", + "StatementKind" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "read", - "type": 8, - "typeName": "Weight", + "name": "Regular", + "fields": null, + "index": 0, "docs": null }, { - "name": "write", - "type": 8, - "typeName": "Weight", + "name": "Saft", + "fields": null, + "index": 1, "docs": null } ] @@ -4287,297 +5950,249 @@ }, "docs": null }, - "16": { + "178": { "path": [ - "frame_system", - "EventRecord" + "pallet_utility", + "pallet", + "Call" ], "params": [ - { - "name": "E", - "type": 17 - }, { "name": "T", - "type": 9 + "type": 0 } ], "def": { - "Composite": { - "fields": [ - { - "name": "phase", - "type": 143, - "typeName": "Phase", - "docs": null - }, + "Variant": { + "variants": [ { - "name": "event", - "type": 17, - "typeName": "E", - "docs": null + "name": "batch", + "fields": [ + { + "name": "calls", + "type": 179, + "typeName": "Vec\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], + "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`).", + "", + "# \u003cweight\u003e", + "- Complexity: O(C) where C is the number of calls to be batched.", + "# \u003c/weight\u003e", + "", + "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": "topics", - "type": 144, - "typeName": "Vec\u003cT\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "160": { - "path": [ - "sp_version", - "RuntimeVersion" - ], - "def": { - "Composite": { - "fields": [ - { - "name": "spec_name", - "type": 147, - "typeName": "RuntimeString", - "docs": null - }, - { - "name": "impl_name", - "type": 147, - "typeName": "RuntimeString", - "docs": null - }, - { - "name": "authoring_version", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "spec_version", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "impl_version", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "apis", - "type": 161, - "typeName": "ApisVec", - "docs": null - }, - { - "name": "transaction_version", - "type": 4, - "typeName": "u32", - "docs": null - } - ] - } - }, - "docs": null - }, - "161": { - "path": [ - "Cow" - ], - "params": [ - { - "name": "T", - "type": 162 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 162, - "typeName": "", - "docs": null - } - ] - } - }, - "docs": null - }, - "162": { - "path": null, - "def": { - "Sequence": { - "type": 163 - } - }, - "docs": null - }, - "163": { - "path": null, - "def": { - "Tuple": [ - 126, - 4 - ] - }, - "docs": null - }, - "164": { - "path": [ - "frame_system", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "InvalidSpecName", - "fields": null, - "index": 0, - "docs": [ - "The name of specification does not match between the current runtime", - "and the new runtime." - ] - }, - { - "name": "SpecVersionNeedsToIncrease", - "fields": null, + "name": "as_derivative", + "fields": [ + { + "name": "index", + "type": 71, + "typeName": "u16", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], "index": 1, "docs": [ - "The specification version is not allowed to decrease between the current runtime", - "and the new runtime." + "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": "FailedToExtractRuntimeVersion", - "fields": null, + "name": "batch_all", + "fields": [ + { + "name": "calls", + "type": 179, + "typeName": "Vec\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], "index": 2, "docs": [ - "Failed to extract the runtime version from the new runtime.", + "Send a batch of dispatch calls and atomically execute them.", + "The whole transaction will rollback and fail if any of the calls failed.", "", - "Either calling `Core_version` or decoding `RuntimeVersion` 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`).", + "", + "# \u003cweight\u003e", + "- Complexity: O(C) where C is the number of calls to be batched.", + "# \u003c/weight\u003e" ] }, { - "name": "NonDefaultComposite", - "fields": null, + "name": "dispatch_as", + "fields": [ + { + "name": "as_origin", + "type": 150, + "typeName": "Box\u003cT::PalletsOrigin\u003e", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], "index": 3, "docs": [ - "Suicide called when the account has non-default composite data." + "Dispatches a function call with a provided origin.", + "", + "The dispatch origin for this call must be _Root_.", + "", + "# \u003cweight\u003e", + "- O(1).", + "- Limited storage reads.", + "- One DB write (event).", + "- Weight of derivative `call` execution + T::WeightInfo::dispatch_as().", + "# \u003c/weight\u003e" ] }, { - "name": "NonZeroRefCount", - "fields": null, + "name": "force_batch", + "fields": [ + { + "name": "calls", + "type": 179, + "typeName": "Vec\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], "index": 4, "docs": [ - "There is a non-zero reference count preventing the account from being purged." + "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`).", + "", + "# \u003cweight\u003e", + "- Complexity: O(C) where C is the number of calls to be batched.", + "# \u003c/weight\u003e" ] }, { - "name": "CallFiltered", - "fields": null, + "name": "with_weight", + "fields": [ + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + }, + { + "name": "weight", + "type": 8, + "typeName": "Weight", + "docs": null + } + ], "index": 5, "docs": [ - "The origin filter prevent the call to be dispatched." + "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": [ - "Error for the System pallet" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "165": { + "179": { + "path": null, + "def": { + "Sequence": { + "type": 73 + } + }, + "docs": null + }, + "18": { "path": [ - "frame_support", - "storage", - "weak_bounded_vec", - "WeakBoundedVec" + "frame_system", + "EventRecord" ], "params": [ { - "name": "T", - "type": 166 + "name": "E", + "type": 19 }, { - "name": "S", - "type": 0 + "name": "T", + "type": 11 } ], "def": { "Composite": { "fields": [ { - "type": 168, - "typeName": "Vec\u003cT\u003e", + "name": "phase", + "type": 490, + "typeName": "Phase", "docs": null - } - ] - } - }, - "docs": null - }, - "166": { - "path": null, - "def": { - "Tuple": [ - 167, - 8 - ] - }, - "docs": null - }, - "167": { - "path": [ - "sp_consensus_babe", - "app", - "Public" - ], - "def": { - "Composite": { - "fields": [ + }, { - "type": 39, - "typeName": "sr25519::Public", + "name": "event", + "type": 19, + "typeName": "E", "docs": null - } - ] - } - }, - "docs": null - }, - "168": { - "path": null, - "def": { - "Sequence": { - "type": 166 - } - }, - "docs": null - }, - "169": { - "path": [ - "sp_consensus_slots", - "Slot" - ], - "def": { - "Composite": { - "fields": [ + }, { - "type": 8, - "typeName": "u64", + "name": "topics", + "type": 491, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -4585,1912 +6200,1717 @@ }, "docs": null }, - "17": { + "180": { "path": [ - "kusama_runtime", - "Event" + "pallet_identity", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "System", + "name": "add_registrar", "fields": [ { - "type": 18, - "typeName": "frame_system::Event\u003cRuntime\u003e", + "name": "account", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], "index": 0, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(R)` where `R` registrar-count (governance-bounded and code-bounded).", + "- One storage mutation (codec `O(R)`).", + "- One event.", + "# \u003c/weight\u003e" + ] }, { - "name": "Indices", + "name": "set_identity", "fields": [ { - "type": 25, - "typeName": "pallet_indices::Event\u003cRuntime\u003e", + "name": "info", + "type": 181, + "typeName": "Box\u003cIdentityInfo\u003cT::MaxAdditionalFields\u003e\u003e", "docs": null } ], - "index": 3, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(X + X' + R)`", + " - where `X` additional-field-count (deposit-bounded and code-bounded)", + " - where `R` judgements-count (registrar-count-bounded)", + "- One balance reserve operation.", + "- One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).", + "- One event.", + "# \u003c/weight\u003e" + ] }, { - "name": "Balances", + "name": "set_subs", "fields": [ { - "type": 26, - "typeName": "pallet_balances::Event\u003cRuntime\u003e", + "name": "subs", + "type": 216, + "typeName": "Vec\u003c(T::AccountId, Data)\u003e", "docs": null } ], - "index": 4, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(P + S)`", + " - where `P` old-subs-count (hard- and deposit-bounded).", + " - where `S` subs-count (hard- and deposit-bounded).", + "- At most one balance operations.", + "- DB:", + " - `P + S` storage mutations (codec complexity `O(1)`)", + " - One storage read (codec complexity `O(P)`).", + " - One storage write (codec complexity `O(S)`).", + " - One storage-exists (`IdentityOf::contains_key`).", + "# \u003c/weight\u003e" + ] }, { - "name": "Staking", - "fields": [ - { - "type": 28, - "typeName": "pallet_staking::Event\u003cRuntime\u003e", - "docs": null - } - ], - "index": 6, - "docs": null + "name": "clear_identity", + "fields": null, + "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.", + "", + "# \u003cweight\u003e", + "- `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).", + "- One balance-unreserve operation.", + "- `2` storage reads and `S + 2` storage deletions.", + "- One event.", + "# \u003c/weight\u003e" + ] }, { - "name": "Offences", + "name": "request_judgement", "fields": [ { - "type": 29, - "typeName": "pallet_offences::Event", + "name": "reg_index", + "type": 82, + "typeName": "RegistrarIndex", "docs": null - } - ], - "index": 7, - "docs": null - }, - { - "name": "Session", - "fields": [ + }, { - "type": 31, - "typeName": "pallet_session::Event", + "name": "max_fee", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 8, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(R + X)`.", + "- One balance-reserve operation.", + "- Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.", + "- One event.", + "# \u003c/weight\u003e" + ] }, { - "name": "Grandpa", + "name": "cancel_request", "fields": [ { - "type": 32, - "typeName": "pallet_grandpa::Event", + "name": "reg_index", + "type": 4, + "typeName": "RegistrarIndex", "docs": null } ], - "index": 10, - "docs": null - }, - { - "name": "ImOnline", - "fields": [ - { - "type": 37, - "typeName": "pallet_im_online::Event\u003cRuntime\u003e", + "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.", + "", + "# \u003cweight\u003e", + "- `O(R + X)`.", + "- One balance-reserve operation.", + "- One storage mutation `O(R + X)`.", + "- One event", + "# \u003c/weight\u003e" + ] + }, + { + "name": "set_fee", + "fields": [ + { + "name": "index", + "type": 82, + "typeName": "RegistrarIndex", + "docs": null + }, + { + "name": "fee", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 11, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(R)`.", + "- One storage mutation `O(R)`.", + "0x2d2042656e63686d61726b3a20372e333135202b2052202a20302e33323920c2b57320286d696e207371756172657320616e616c7973697329", + "# \u003c/weight\u003e" + ] }, { - "name": "Democracy", + "name": "set_account_id", "fields": [ { - "type": 46, - "typeName": "pallet_democracy::Event\u003cRuntime\u003e", + "name": "index", + "type": 82, + "typeName": "RegistrarIndex", + "docs": null + }, + { + "name": "new", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 13, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(R)`.", + "- One storage mutation `O(R)`.", + "0x2d2042656e63686d61726b3a20382e383233202b2052202a20302e333220c2b57320286d696e207371756172657320616e616c7973697329", + "# \u003c/weight\u003e" + ] }, { - "name": "Council", + "name": "set_fields", "fields": [ { - "type": 51, - "typeName": "pallet_collective::Event\u003cRuntime, pallet_collective::Instance1\u003e", + "name": "index", + "type": 82, + "typeName": "RegistrarIndex", + "docs": null + }, + { + "name": "fields", + "type": 218, + "typeName": "IdentityFields", "docs": null } ], - "index": 14, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(R)`.", + "- One storage mutation `O(R)`.", + "0x2d2042656e63686d61726b3a20372e343634202b2052202a20302e33323520c2b57320286d696e207371756172657320616e616c7973697329", + "# \u003c/weight\u003e" + ] }, { - "name": "TechnicalCommittee", + "name": "provide_judgement", "fields": [ { - "type": 53, - "typeName": "pallet_collective::Event\u003cRuntime, pallet_collective::Instance2\u003e", + "name": "reg_index", + "type": 82, + "typeName": "RegistrarIndex", + "docs": null + }, + { + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "judgement", + "type": 220, + "typeName": "Judgement\u003cBalanceOf\u003cT\u003e\u003e", + "docs": null + }, + { + "name": "identity", + "type": 11, + "typeName": "T::Hash", "docs": null } ], - "index": 15, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(R + X)`.", + "- One balance-transfer operation.", + "- Up to one account-lookup operation.", + "- Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.", + "- One event.", + "# \u003c/weight\u003e" + ] }, { - "name": "PhragmenElection", + "name": "kill_identity", "fields": [ { - "type": 54, - "typeName": "pallet_elections_phragmen::Event\u003cRuntime\u003e", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 16, - "docs": null + "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.", + "", + "# \u003cweight\u003e", + "- `O(R + S + X)`.", + "- One balance-reserve operation.", + "- `S + 2` storage mutations.", + "- One event.", + "# \u003c/weight\u003e" + ] }, { - "name": "TechnicalMembership", + "name": "add_sub", "fields": [ { - "type": 57, - "typeName": "pallet_membership::Event\u003cRuntime, pallet_membership::Instance1\u003e", + "name": "sub", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "data", + "type": 184, + "typeName": "Data", "docs": null } ], - "index": 17, - "docs": null + "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": "Treasury", + "name": "rename_sub", "fields": [ { - "type": 58, - "typeName": "pallet_treasury::Event\u003cRuntime\u003e", + "name": "sub", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "data", + "type": 184, + "typeName": "Data", "docs": null } ], - "index": 18, - "docs": null + "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": "Claims", + "name": "remove_sub", "fields": [ { - "type": 59, - "typeName": "claims::Event\u003cRuntime\u003e", + "name": "sub", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 19, + "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", + "fields": null, + "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." + ] + }, + "181": { + "path": [ + "pallet_identity", + "types", + "IdentityInfo" + ], + "params": [ + { + "name": "FieldLimit", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "additional", + "type": 182, + "typeName": "BoundedVec\u003c(Data, Data), FieldLimit\u003e", "docs": null }, { - "name": "Utility", + "name": "display", + "type": 184, + "typeName": "Data", + "docs": null + }, + { + "name": "legal", + "type": 184, + "typeName": "Data", + "docs": null + }, + { + "name": "web", + "type": 184, + "typeName": "Data", + "docs": null + }, + { + "name": "riot", + "type": 184, + "typeName": "Data", + "docs": null + }, + { + "name": "email", + "type": 184, + "typeName": "Data", + "docs": null + }, + { + "name": "pgp_fingerprint", + "type": 215, + "typeName": "Option\u003c[u8; 20]\u003e", + "docs": null + }, + { + "name": "image", + "type": 184, + "typeName": "Data", + "docs": null + }, + { + "name": "twitter", + "type": 184, + "typeName": "Data", + "docs": null + } + ] + } + }, + "docs": null + }, + "182": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 183 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 214, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "183": { + "path": null, + "def": { + "Tuple": [ + 184, + 184 + ] + }, + "docs": null + }, + "184": { + "path": [ + "pallet_identity", + "types", + "Data" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Raw0", "fields": [ { - "type": 62, - "typeName": "pallet_utility::Event", + "type": 185, + "typeName": "", "docs": null } ], - "index": 24, + "index": 1, "docs": null }, { - "name": "Identity", + "name": "Raw1", "fields": [ { - "type": 63, - "typeName": "pallet_identity::Event\u003cRuntime\u003e", + "type": 186, + "typeName": "", "docs": null } ], - "index": 25, + "index": 2, "docs": null }, { - "name": "Society", + "name": "Raw2", "fields": [ { - "type": 64, - "typeName": "pallet_society::Event\u003cRuntime\u003e", + "type": 187, + "typeName": "", "docs": null } ], - "index": 26, + "index": 3, "docs": null }, { - "name": "Recovery", + "name": "Raw3", "fields": [ { - "type": 65, - "typeName": "pallet_recovery::Event\u003cRuntime\u003e", + "type": 188, + "typeName": "", "docs": null } ], - "index": 27, + "index": 4, "docs": null }, { - "name": "Vesting", + "name": "Raw4", "fields": [ { - "type": 66, - "typeName": "pallet_vesting::Event\u003cRuntime\u003e", + "type": 16, + "typeName": "", "docs": null } ], - "index": 28, + "index": 5, "docs": null }, { - "name": "Scheduler", + "name": "Raw5", "fields": [ { - "type": 67, - "typeName": "pallet_scheduler::Event\u003cRuntime\u003e", + "type": 189, + "typeName": "", "docs": null } ], - "index": 29, + "index": 6, "docs": null }, { - "name": "Proxy", + "name": "Raw6", "fields": [ { - "type": 70, - "typeName": "pallet_proxy::Event\u003cRuntime\u003e", + "type": 190, + "typeName": "", "docs": null } ], - "index": 30, + "index": 7, "docs": null }, { - "name": "Multisig", + "name": "Raw7", "fields": [ { - "type": 73, - "typeName": "pallet_multisig::Event\u003cRuntime\u003e", + "type": 191, + "typeName": "", "docs": null } ], - "index": 31, + "index": 8, "docs": null }, { - "name": "Bounties", + "name": "Raw8", "fields": [ { - "type": 75, - "typeName": "pallet_bounties::Event\u003cRuntime\u003e", + "type": 192, + "typeName": "", "docs": null } ], - "index": 35, + "index": 9, "docs": null }, { - "name": "Tips", + "name": "Raw9", "fields": [ { - "type": 76, - "typeName": "pallet_tips::Event\u003cRuntime\u003e", + "type": 193, + "typeName": "", "docs": null } ], - "index": 36, + "index": 10, "docs": null }, { - "name": "ElectionProviderMultiPhase", + "name": "Raw10", "fields": [ { - "type": 77, - "typeName": "pallet_election_provider_multi_phase::Event\u003cRuntime\u003e", + "type": 194, + "typeName": "", "docs": null } ], - "index": 37, + "index": 11, "docs": null }, { - "name": "Gilt", + "name": "Raw11", "fields": [ { - "type": 80, - "typeName": "pallet_gilt::Event\u003cRuntime\u003e", + "type": 195, + "typeName": "", "docs": null } ], - "index": 38, + "index": 12, "docs": null }, { - "name": "BagsList", + "name": "Raw12", "fields": [ { - "type": 81, - "typeName": "pallet_bags_list::Event\u003cRuntime\u003e", + "type": 196, + "typeName": "", "docs": null } ], - "index": 39, + "index": 13, "docs": null }, { - "name": "ParaInclusion", + "name": "Raw13", "fields": [ { - "type": 82, - "typeName": "parachains_inclusion::Event\u003cRuntime\u003e", + "type": 197, + "typeName": "", "docs": null } ], - "index": 53, + "index": 14, "docs": null }, { - "name": "Paras", + "name": "Raw14", "fields": [ { - "type": 94, - "typeName": "parachains_paras::Event", + "type": 198, + "typeName": "", "docs": null } ], - "index": 56, + "index": 15, "docs": null }, { - "name": "Ump", + "name": "Raw15", "fields": [ { - "type": 95, - "typeName": "parachains_ump::Event", + "type": 199, + "typeName": "", "docs": null } ], - "index": 59, + "index": 16, "docs": null }, { - "name": "Hrmp", + "name": "Raw16", "fields": [ { - "type": 98, - "typeName": "parachains_hrmp::Event\u003cRuntime\u003e", + "type": 40, + "typeName": "", "docs": null } ], - "index": 60, + "index": 17, "docs": null }, { - "name": "ParasDisputes", + "name": "Raw17", "fields": [ { - "type": 100, - "typeName": "parachains_disputes::Event\u003cRuntime\u003e", + "type": 200, + "typeName": "", "docs": null } ], - "index": 62, + "index": 18, "docs": null }, { - "name": "Registrar", + "name": "Raw18", "fields": [ { - "type": 104, - "typeName": "paras_registrar::Event\u003cRuntime\u003e", + "type": 201, + "typeName": "", "docs": null } ], - "index": 70, + "index": 19, "docs": null }, { - "name": "Slots", + "name": "Raw19", "fields": [ { - "type": 105, - "typeName": "slots::Event\u003cRuntime\u003e", + "type": 202, + "typeName": "", "docs": null } ], - "index": 71, + "index": 20, "docs": null }, { - "name": "Auctions", + "name": "Raw20", "fields": [ { - "type": 106, - "typeName": "auctions::Event\u003cRuntime\u003e", + "type": 93, + "typeName": "", "docs": null } ], - "index": 72, + "index": 21, "docs": null }, { - "name": "Crowdloan", + "name": "Raw21", "fields": [ { - "type": 107, - "typeName": "crowdloan::Event\u003cRuntime\u003e", + "type": 203, + "typeName": "", "docs": null } ], - "index": 73, + "index": 22, "docs": null }, { - "name": "XcmPallet", + "name": "Raw22", "fields": [ { - "type": 108, - "typeName": "pallet_xcm::Event\u003cRuntime\u003e", + "type": 204, + "typeName": "", "docs": null } ], - "index": 99, + "index": 23, "docs": null - } - ] - } - }, - "docs": null - }, - "170": { - "path": [ - "sp_consensus_babe", - "digests", - "NextConfigDescriptor" - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "V1", + "name": "Raw23", "fields": [ { - "name": "c", - "type": 171, - "typeName": "(u64, u64)", - "docs": null - }, - { - "name": "allowed_slots", - "type": 172, - "typeName": "AllowedSlots", + "type": 205, + "typeName": "", "docs": null } ], - "index": 1, + "index": 24, "docs": null - } - ] - } - }, - "docs": null - }, - "171": { - "path": null, - "def": { - "Tuple": [ - 8, - 8 - ] - }, - "docs": null - }, - "172": { - "path": [ - "sp_consensus_babe", - "AllowedSlots" - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "PrimarySlots", - "fields": null, - "index": 0, + "name": "Raw24", + "fields": [ + { + "type": 206, + "typeName": "", + "docs": null + } + ], + "index": 25, "docs": null }, { - "name": "PrimaryAndSecondaryPlainSlots", - "fields": null, - "index": 1, + "name": "Raw25", + "fields": [ + { + "type": 207, + "typeName": "", + "docs": null + } + ], + "index": 26, "docs": null }, { - "name": "PrimaryAndSecondaryVRFSlots", - "fields": null, - "index": 2, + "name": "Raw26", + "fields": [ + { + "type": 208, + "typeName": "", + "docs": null + } + ], + "index": 27, "docs": null - } - ] - } - }, - "docs": null - }, - "173": { - "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 1 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "type": 174, - "typeName": "Vec\u003cT\u003e", + "name": "Raw27", + "fields": [ + { + "type": 209, + "typeName": "", + "docs": null + } + ], + "index": 28, "docs": null - } - ] - } - }, - "docs": null - }, - "174": { - "path": null, - "def": { - "Sequence": { - "type": 1 - } - }, - "docs": null - }, - "175": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 1 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "None", - "fields": null, - "index": 0, + "name": "Raw28", + "fields": [ + { + "type": 210, + "typeName": "", + "docs": null + } + ], + "index": 29, "docs": null }, { - "name": "Some", + "name": "Raw29", "fields": [ { - "type": 1, + "type": 211, "typeName": "", "docs": null } ], - "index": 1, + "index": 30, "docs": null - } - ] - } - }, - "docs": null - }, - "176": { - "path": [ - "sp_consensus_babe", - "BabeEpochConfiguration" - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "c", - "type": 171, - "typeName": "(u64, u64)", + "name": "Raw30", + "fields": [ + { + "type": 212, + "typeName": "", + "docs": null + } + ], + "index": 31, "docs": null }, { - "name": "allowed_slots", - "type": 172, - "typeName": "AllowedSlots", + "name": "Raw31", + "fields": [ + { + "type": 213, + "typeName": "", + "docs": null + } + ], + "index": 32, "docs": null - } - ] - } - }, - "docs": null - }, - "177": { - "path": [ - "pallet_babe", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "report_equivocation", + "name": "Raw32", "fields": [ { - "name": "equivocation_proof", - "type": 178, - "typeName": "Box\u003cEquivocationProof\u003cT::Header\u003e\u003e", + "type": 1, + "typeName": "", "docs": null - }, + } + ], + "index": 33, + "docs": null + }, + { + "name": "BlakeTwo256", + "fields": [ { - "name": "key_owner_proof", - "type": 181, - "typeName": "T::KeyOwnerProof", + "type": 1, + "typeName": "", "docs": null } ], - "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." - ] + "index": 34, + "docs": null }, { - "name": "report_equivocation_unsigned", + "name": "Sha256", "fields": [ { - "name": "equivocation_proof", - "type": 178, - "typeName": "Box\u003cEquivocationProof\u003cT::Header\u003e\u003e", + "type": 1, + "typeName": "", "docs": null - }, + } + ], + "index": 35, + "docs": null + }, + { + "name": "Keccak256", + "fields": [ { - "name": "key_owner_proof", - "type": 181, - "typeName": "T::KeyOwnerProof", + "type": 1, + "typeName": "", "docs": null } ], - "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." - ] + "index": 36, + "docs": null }, { - "name": "plan_config_change", + "name": "ShaThree256", "fields": [ { - "name": "config", - "type": 170, - "typeName": "NextConfigDescriptor", + "type": 1, + "typeName": "", "docs": null } ], - "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." - ] + "index": 37, + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "178": { - "path": [ - "sp_consensus_slots", - "EquivocationProof" - ], - "params": [ - { - "name": "Header", - "type": 179 - }, - { - "name": "Id", - "type": 167 + "185": { + "path": null, + "def": { + "Array": { + "len": 0, + "type": 2 } - ], + }, + "docs": null + }, + "186": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "name": "offender", - "type": 167, - "typeName": "Id", - "docs": null - }, - { - "name": "slot", - "type": 169, - "typeName": "Slot", - "docs": null - }, - { - "name": "first_header", - "type": 179, - "typeName": "Header", - "docs": null - }, - { - "name": "second_header", - "type": 179, - "typeName": "Header", - "docs": null - } - ] + "Array": { + "len": 1, + "type": 2 } }, "docs": null }, - "179": { - "path": [ - "sp_runtime", - "generic", - "header", - "Header" - ], - "params": [ - { - "name": "Number", - "type": 4 - }, - { - "name": "Hash", - "type": 180 + "187": { + "path": null, + "def": { + "Array": { + "len": 2, + "type": 2 } - ], + }, + "docs": null + }, + "188": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "name": "parent_hash", - "type": 9, - "typeName": "Hash::Output", - "docs": null - }, - { - "name": "number", - "type": 112, - "typeName": "Number", - "docs": null - }, - { - "name": "state_root", - "type": 9, - "typeName": "Hash::Output", - "docs": null - }, - { - "name": "extrinsics_root", - "type": 9, - "typeName": "Hash::Output", - "docs": null - }, - { - "name": "digest", - "type": 11, - "typeName": "Digest", - "docs": null - } - ] + "Array": { + "len": 3, + "type": 2 } }, "docs": null }, - "18": { - "path": [ - "frame_system", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 + "189": { + "path": null, + "def": { + "Array": { + "len": 5, + "type": 2 } + }, + "docs": null + }, + "19": { + "path": [ + "kusama_runtime", + "RuntimeEvent" ], "def": { "Variant": { "variants": [ { - "name": "ExtrinsicSuccess", + "name": "System", "fields": [ { - "type": 19, - "typeName": "DispatchInfo", + "type": 20, + "typeName": "frame_system::Event\u003cRuntime\u003e", "docs": null } ], "index": 0, - "docs": [ - "An extrinsic completed successfully. \\[info\\]" - ] + "docs": null }, { - "name": "ExtrinsicFailed", + "name": "Indices", "fields": [ { - "type": 22, - "typeName": "DispatchError", - "docs": null - }, - { - "type": 19, - "typeName": "DispatchInfo", + "type": 29, + "typeName": "pallet_indices::Event\u003cRuntime\u003e", "docs": null } ], - "index": 1, - "docs": [ - "An extrinsic failed. \\[error, info\\]" - ] - }, - { - "name": "CodeUpdated", - "fields": null, - "index": 2, - "docs": [ - "`:code` was updated." - ] + "index": 3, + "docs": null }, { - "name": "NewAccount", + "name": "Balances", "fields": [ { - "type": 0, - "typeName": "T::AccountId", + "type": 30, + "typeName": "pallet_balances::Event\u003cRuntime\u003e", "docs": null } ], - "index": 3, - "docs": [ - "A new \\[account\\] was created." - ] + "index": 4, + "docs": null }, { - "name": "KilledAccount", + "name": "TransactionPayment", "fields": [ { - "type": 0, - "typeName": "T::AccountId", + "type": 32, + "typeName": "pallet_transaction_payment::Event\u003cRuntime\u003e", "docs": null } ], - "index": 4, - "docs": [ - "An \\[account\\] was reaped." - ] + "index": 33, + "docs": null }, { - "name": "Remarked", + "name": "Staking", "fields": [ { - "type": 0, - "typeName": "T::AccountId", + "type": 33, + "typeName": "pallet_staking::Event\u003cRuntime\u003e", "docs": null - }, + } + ], + "index": 6, + "docs": null + }, + { + "name": "Offences", + "fields": [ { - "type": 9, - "typeName": "T::Hash", + "type": 39, + "typeName": "pallet_offences::Event", "docs": null } ], - "index": 5, - "docs": [ - "On on-chain remark happened. \\[origin, remark_hash\\]" - ] - } - ] - } - }, - "docs": [ - "Event for the System pallet." - ] - }, - "180": { - "path": [ - "sp_runtime", - "traits", - "BlakeTwo256" - ], - "def": { - "Composite": { - "fields": null - } - }, - "docs": null - }, - "181": { - "path": [ - "sp_session", - "MembershipProof" - ], - "def": { - "Composite": { - "fields": [ - { - "name": "session", - "type": 4, - "typeName": "SessionIndex", + "index": 7, "docs": null }, { - "name": "trie_nodes", - "type": 152, - "typeName": "Vec\u003cVec\u003cu8\u003e\u003e", + "name": "Session", + "fields": [ + { + "type": 41, + "typeName": "pallet_session::Event", + "docs": null + } + ], + "index": 8, "docs": null }, { - "name": "validator_count", - "type": 4, - "typeName": "ValidatorCount", + "name": "Grandpa", + "fields": [ + { + "type": 42, + "typeName": "pallet_grandpa::Event", + "docs": null + } + ], + "index": 10, "docs": null - } - ] - } - }, - "docs": null - }, - "182": { - "path": [ - "pallet_babe", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "InvalidEquivocationProof", - "fields": null, - "index": 0, - "docs": [ - "An equivocation proof provided as part of an equivocation report is invalid." - ] + "name": "ImOnline", + "fields": [ + { + "type": 47, + "typeName": "pallet_im_online::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 11, + "docs": null }, { - "name": "InvalidKeyOwnershipProof", - "fields": null, - "index": 1, - "docs": [ - "A key ownership proof provided as part of an equivocation report is invalid." - ] + "name": "Democracy", + "fields": [ + { + "type": 56, + "typeName": "pallet_democracy::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 13, + "docs": null }, { - "name": "DuplicateOffenceReport", - "fields": null, - "index": 2, - "docs": [ - "A given equivocation report is valid but already previously reported." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "183": { - "path": [ - "pallet_timestamp", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "name": "Council", + "fields": [ + { + "type": 60, + "typeName": "pallet_collective::Event\u003cRuntime, pallet_collective::Instance1\u003e", + "docs": null + } + ], + "index": 14, + "docs": null + }, { - "name": "set", + "name": "TechnicalCommittee", "fields": [ { - "name": "now", - "type": 114, - "typeName": "T::Moment", + "type": 63, + "typeName": "pallet_collective::Event\u003cRuntime, pallet_collective::Instance2\u003e", "docs": null } ], - "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`.", - "", - "# \u003cweight\u003e", - "- `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)`.", - "# \u003c/weight\u003e" - ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "184": { - "path": null, - "def": { - "Tuple": [ - 0, - 6, - 52 - ] - }, - "docs": null - }, - "185": { - "path": [ - "pallet_indices", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "index": 15, + "docs": null + }, { - "name": "claim", + "name": "PhragmenElection", "fields": [ { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "type": 64, + "typeName": "pallet_elections_phragmen::Event\u003cRuntime\u003e", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- One storage mutation (codec `O(1)`).", - "- One reserve operation.", - "- One event.", - "-------------------", - "- DB Weight: 1 Read/Write (Accounts)", - "# \u003c/weight\u003e" - ] + "index": 16, + "docs": null }, { - "name": "transfer", + "name": "TechnicalMembership", "fields": [ { - "name": "new", - "type": 0, - "typeName": "T::AccountId", + "type": 67, + "typeName": "pallet_membership::Event\u003cRuntime, pallet_membership::Instance1\u003e", "docs": null - }, + } + ], + "index": 17, + "docs": null + }, + { + "name": "Treasury", + "fields": [ { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "type": 68, + "typeName": "pallet_treasury::Event\u003cRuntime\u003e", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- One storage mutation (codec `O(1)`).", - "- One transfer operation.", - "- One event.", - "-------------------", - "- DB Weight:", - " - Reads: Indices Accounts, System Account (recipient)", - " - Writes: Indices Accounts, System Account (recipient)", - "# \u003c/weight\u003e" - ] + "index": 18, + "docs": null }, { - "name": "free", + "name": "ConvictionVoting", "fields": [ { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "type": 69, + "typeName": "pallet_conviction_voting::Event\u003cRuntime\u003e", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- One storage mutation (codec `O(1)`).", - "- One reserve operation.", - "- One event.", - "-------------------", - "- DB Weight: 1 Read/Write (Accounts)", - "# \u003c/weight\u003e" - ] + "index": 20, + "docs": null }, { - "name": "force_transfer", + "name": "Referenda", "fields": [ { - "name": "new", - "type": 0, - "typeName": "T::AccountId", + "type": 70, + "typeName": "pallet_referenda::Event\u003cRuntime\u003e", "docs": null - }, + } + ], + "index": 21, + "docs": null + }, + { + "name": "FellowshipCollective", + "fields": [ { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "type": 440, + "typeName": "pallet_ranked_collective::Event\u003cRuntime, pallet_ranked_collective::\nInstance1\u003e", "docs": null - }, + } + ], + "index": 22, + "docs": null + }, + { + "name": "FellowshipReferenda", + "fields": [ { - "name": "freeze", - "type": 52, - "typeName": "bool", + "type": 443, + "typeName": "pallet_referenda::Event\u003cRuntime, pallet_referenda::Instance2\u003e", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- One storage mutation (codec `O(1)`).", - "- Up to one reserve operation.", - "- One event.", - "-------------------", - "- DB Weight:", - " - Reads: Indices Accounts, System Account (original owner)", - " - Writes: Indices Accounts, System Account (original owner)", - "# \u003c/weight\u003e" - ] + "index": 23, + "docs": null }, { - "name": "freeze", + "name": "Whitelist", "fields": [ { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "type": 444, + "typeName": "pallet_whitelist::Event\u003cRuntime\u003e", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- One storage mutation (codec `O(1)`).", - "- Up to one slash operation.", - "- One event.", - "-------------------", - "- DB Weight: 1 Read/Write (Accounts)", - "# \u003c/weight\u003e" - ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "186": { - "path": [ - "pallet_indices", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "index": 44, + "docs": null + }, { - "name": "NotAssigned", - "fields": null, - "index": 0, - "docs": [ - "The index was not already assigned." - ] + "name": "Claims", + "fields": [ + { + "type": 449, + "typeName": "claims::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 19, + "docs": null }, { - "name": "NotOwner", - "fields": null, - "index": 1, - "docs": [ - "The index is assigned to another account." - ] + "name": "Utility", + "fields": [ + { + "type": 450, + "typeName": "pallet_utility::Event", + "docs": null + } + ], + "index": 24, + "docs": null }, { - "name": "InUse", - "fields": null, - "index": 2, - "docs": [ - "The index was not available." - ] + "name": "Identity", + "fields": [ + { + "type": 451, + "typeName": "pallet_identity::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 25, + "docs": null }, { - "name": "NotTransfer", - "fields": null, - "index": 3, - "docs": [ - "The source and destination accounts are identical." - ] + "name": "Society", + "fields": [ + { + "type": 452, + "typeName": "pallet_society::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 26, + "docs": null }, { - "name": "Permanent", - "fields": null, - "index": 4, - "docs": [ - "The index is permanent and may not be freed/changed." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "187": { - "path": [ - "frame_support", - "storage", - "weak_bounded_vec", - "WeakBoundedVec" - ], - "params": [ - { - "name": "T", - "type": 188 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 190, - "typeName": "Vec\u003cT\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "188": { - "path": [ - "pallet_balances", - "BalanceLock" - ], - "params": [ - { - "name": "Balance", - "type": 6 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "id", - "type": 126, - "typeName": "LockIdentifier", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "reasons", - "type": 189, - "typeName": "Reasons", - "docs": null - } - ] - } - }, - "docs": null - }, - "189": { - "path": [ - "pallet_balances", - "Reasons" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Fee", - "fields": null, - "index": 0, + "name": "Recovery", + "fields": [ + { + "type": 453, + "typeName": "pallet_recovery::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 27, "docs": null }, { - "name": "Misc", - "fields": null, - "index": 1, + "name": "Vesting", + "fields": [ + { + "type": 454, + "typeName": "pallet_vesting::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 28, "docs": null }, { - "name": "All", - "fields": null, - "index": 2, - "docs": null - } - ] - } - }, - "docs": null - }, - "19": { - "path": [ - "frame_support", - "weights", - "DispatchInfo" - ], - "def": { - "Composite": { - "fields": [ - { - "name": "weight", - "type": 8, - "typeName": "Weight", + "name": "Scheduler", + "fields": [ + { + "type": 455, + "typeName": "pallet_scheduler::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 29, "docs": null }, { - "name": "class", - "type": 20, - "typeName": "DispatchClass", + "name": "Proxy", + "fields": [ + { + "type": 457, + "typeName": "pallet_proxy::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 30, "docs": null }, { - "name": "pays_fee", - "type": 21, - "typeName": "Pays", - "docs": null - } - ] - } - }, - "docs": null - }, - "190": { - "path": null, - "def": { - "Sequence": { - "type": 188 - } - }, - "docs": null - }, - "191": { - "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 192 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 193, - "typeName": "Vec\u003cT\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "192": { - "path": [ - "pallet_balances", - "ReserveData" - ], - "params": [ - { - "name": "ReserveIdentifier", - "type": 126 - }, - { - "name": "Balance", - "type": 6 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "id", - "type": 126, - "typeName": "ReserveIdentifier", + "name": "Multisig", + "fields": [ + { + "type": 458, + "typeName": "pallet_multisig::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 31, "docs": null }, { - "name": "amount", - "type": 6, - "typeName": "Balance", - "docs": null - } - ] - } - }, - "docs": null - }, - "193": { - "path": null, - "def": { - "Sequence": { - "type": 192 - } - }, - "docs": null - }, - "194": { - "path": [ - "pallet_balances", - "Releases" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "V1_0_0", - "fields": null, - "index": 0, + "name": "Preimage", + "fields": [ + { + "type": 459, + "typeName": "pallet_preimage::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 32, "docs": null }, { - "name": "V2_0_0", - "fields": null, - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "195": { - "path": [ - "pallet_balances", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "transfer", + "name": "Bounties", "fields": [ { - "name": "dest", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "value", - "type": 43, - "typeName": "T::Balance", + "type": 460, + "typeName": "pallet_bounties::Event\u003cRuntime\u003e", "docs": null } ], - "index": 0, - "docs": [ - "Transfer some liquid free balance to another account.", - "", - "`transfer` will set the `FreeBalance` of the sender and receiver.", - "It will decrease the total issuance of the system by the `TransferFee`.", - "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.", - "", - "# \u003cweight\u003e", - "- Dependent on arguments but not critical, given proper implementations for input config", - " types. See related functions below.", - "- It contains a limited number of reads and writes internally and no complex", - " computation.", - "", - "Related functions:", - "", - " - `ensure_can_withdraw` is always called internally but has a bounded complexity.", - " - Transferring balances to accounts that did not exist before will cause", - " `T::OnNewAccount::on_new_account` to be called.", - " - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.", - " - `transfer_keep_alive` works the same way as `transfer`, but has an additional check", - " that the transfer will not kill the origin account.", - "---------------------------------", - "- Origin account is already in memory, so no DB operations for them.", - "# \u003c/weight\u003e" - ] + "index": 35, + "docs": null }, { - "name": "set_balance", + "name": "ChildBounties", "fields": [ { - "name": "who", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "new_free", - "type": 43, - "typeName": "T::Balance", - "docs": null - }, - { - "name": "new_reserved", - "type": 43, - "typeName": "T::Balance", + "type": 461, + "typeName": "pallet_child_bounties::Event\u003cRuntime\u003e", "docs": null } ], - "index": 1, - "docs": [ - "Set the balances of a given account.", - "", - "This will alter `FreeBalance` and `ReservedBalance` in storage. it will", - "also decrease the total issuance of the system (`TotalIssuance`).", - "If the new free or reserved balance is below the existential deposit,", - "it will reset the account nonce (`frame_system::AccountNonce`).", - "", - "The dispatch origin for this call is `root`." - ] + "index": 40, + "docs": null }, { - "name": "force_transfer", + "name": "Tips", "fields": [ { - "name": "source", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "dest", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "value", - "type": 43, - "typeName": "T::Balance", + "type": 462, + "typeName": "pallet_tips::Event\u003cRuntime\u003e", "docs": null } ], - "index": 2, - "docs": [ - "Exactly as `transfer`, except the origin must be root and the source account may be", - "specified.", - "# \u003cweight\u003e", - "- Same as transfer, but additional read and write because the source account is not", - " assumed to be in the overlay.", - "# \u003c/weight\u003e" - ] + "index": 36, + "docs": null }, { - "name": "transfer_keep_alive", + "name": "ElectionProviderMultiPhase", "fields": [ { - "name": "dest", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "value", - "type": 43, - "typeName": "T::Balance", + "type": 463, + "typeName": "pallet_election_provider_multi_phase::Event\u003cRuntime\u003e", "docs": null } ], - "index": 3, - "docs": [ - "Same as the [`transfer`] call, but with a check that the transfer will not kill the", - "origin account.", - "", - "99% of the time you want [`transfer`] instead.", - "", - "[`transfer`]: struct.Pallet.html#method.transfer" - ] + "index": 37, + "docs": null }, { - "name": "transfer_all", + "name": "Nis", "fields": [ { - "name": "dest", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "keep_alive", - "type": 52, - "typeName": "bool", + "type": 467, + "typeName": "pallet_nis::Event\u003cRuntime\u003e", "docs": null } ], - "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). # \u003cweight\u003e", - "- O(1). Just like transfer, but reading the user's transferable balance first.", - " #\u003c/weight\u003e" - ] + "index": 38, + "docs": null }, { - "name": "force_unreserve", + "name": "NisCounterpartBalances", "fields": [ { - "name": "who", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "type": 469, + "typeName": "pallet_balances::Event\u003cRuntime, pallet_balances::Instance2\u003e", "docs": null } ], - "index": 5, - "docs": [ - "Unreserve some balance from a user by force.", - "", - "Can only be called by ROOT." - ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "196": { - "path": [ - "sp_runtime", - "multiaddress", - "MultiAddress" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - }, - { - "name": "AccountIndex", - "type": 50 - } - ], - "def": { - "Variant": { - "variants": [ + "index": 45, + "docs": null + }, { - "name": "Id", + "name": "VoterList", "fields": [ { - "type": 0, - "typeName": "AccountId", + "type": 470, + "typeName": "pallet_bags_list::Event\u003cRuntime, pallet_bags_list::Instance1\u003e", "docs": null } ], - "index": 0, + "index": 39, "docs": null }, { - "name": "Index", + "name": "NominationPools", "fields": [ { - "type": 197, - "typeName": "AccountIndex", + "type": 471, + "typeName": "pallet_nomination_pools::Event\u003cRuntime\u003e", "docs": null } ], - "index": 1, + "index": 41, "docs": null }, { - "name": "Raw", + "name": "FastUnstake", "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "type": 472, + "typeName": "pallet_fast_unstake::Event\u003cRuntime\u003e", "docs": null } ], - "index": 2, + "index": 42, "docs": null }, { - "name": "Address32", + "name": "ParaInclusion", "fields": [ { - "type": 1, - "typeName": "[u8; 32]", + "type": 473, + "typeName": "parachains_inclusion::Event\u003cRuntime\u003e", "docs": null } ], - "index": 3, + "index": 53, "docs": null }, { - "name": "Address20", + "name": "Paras", "fields": [ { - "type": 61, - "typeName": "[u8; 20]", + "type": 477, + "typeName": "parachains_paras::Event", "docs": null } ], - "index": 4, + "index": 56, + "docs": null + }, + { + "name": "Ump", + "fields": [ + { + "type": 478, + "typeName": "parachains_ump::Event", + "docs": null + } + ], + "index": 59, + "docs": null + }, + { + "name": "Hrmp", + "fields": [ + { + "type": 480, + "typeName": "parachains_hrmp::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 60, + "docs": null + }, + { + "name": "ParasDisputes", + "fields": [ + { + "type": 481, + "typeName": "parachains_disputes::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 62, + "docs": null + }, + { + "name": "Registrar", + "fields": [ + { + "type": 484, + "typeName": "paras_registrar::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 70, + "docs": null + }, + { + "name": "Slots", + "fields": [ + { + "type": 485, + "typeName": "slots::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 71, + "docs": null + }, + { + "name": "Auctions", + "fields": [ + { + "type": 486, + "typeName": "auctions::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 72, + "docs": null + }, + { + "name": "Crowdloan", + "fields": [ + { + "type": 487, + "typeName": "crowdloan::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 73, + "docs": null + }, + { + "name": "XcmPallet", + "fields": [ + { + "type": 488, + "typeName": "pallet_xcm::Event\u003cRuntime\u003e", + "docs": null + } + ], + "index": 99, "docs": null } ] @@ -6498,234 +7918,355 @@ }, "docs": null }, + "190": { + "path": null, + "def": { + "Array": { + "len": 6, + "type": 2 + } + }, + "docs": null + }, + "191": { + "path": null, + "def": { + "Array": { + "len": 7, + "type": 2 + } + }, + "docs": null + }, + "192": { + "path": null, + "def": { + "Array": { + "len": 8, + "type": 2 + } + }, + "docs": null + }, + "193": { + "path": null, + "def": { + "Array": { + "len": 9, + "type": 2 + } + }, + "docs": null + }, + "194": { + "path": null, + "def": { + "Array": { + "len": 10, + "type": 2 + } + }, + "docs": null + }, + "195": { + "path": null, + "def": { + "Array": { + "len": 11, + "type": 2 + } + }, + "docs": null + }, + "196": { + "path": null, + "def": { + "Array": { + "len": 12, + "type": 2 + } + }, + "docs": null + }, "197": { "path": null, "def": { - "Compact": { - "type": 50 + "Array": { + "len": 13, + "type": 2 } }, "docs": null }, "198": { + "path": null, + "def": { + "Array": { + "len": 14, + "type": 2 + } + }, + "docs": null + }, + "199": { + "path": null, + "def": { + "Array": { + "len": 15, + "type": 2 + } + }, + "docs": null + }, + "2": { + "path": null, + "def": { + "Primitive": "U8" + }, + "docs": null + }, + "20": { "path": [ - "pallet_balances", + "frame_system", "pallet", - "Error" + "Event" ], "params": [ { "name": "T", "type": 0 - }, - { - "name": "I", - "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "VestingBalance", - "fields": null, + "name": "ExtrinsicSuccess", + "fields": [ + { + "name": "dispatch_info", + "type": 21, + "typeName": "DispatchInfo", + "docs": null + } + ], "index": 0, "docs": [ - "Vesting balance too high to send value" + "An extrinsic completed successfully." ] }, { - "name": "LiquidityRestrictions", - "fields": null, + "name": "ExtrinsicFailed", + "fields": [ + { + "name": "dispatch_error", + "type": 24, + "typeName": "DispatchError", + "docs": null + }, + { + "name": "dispatch_info", + "type": 21, + "typeName": "DispatchInfo", + "docs": null + } + ], "index": 1, "docs": [ - "Account liquidity restrictions prevent withdrawal" + "An extrinsic failed." ] }, { - "name": "InsufficientBalance", + "name": "CodeUpdated", "fields": null, "index": 2, "docs": [ - "Balance too low to send value" + "`:code` was updated." ] }, { - "name": "ExistentialDeposit", - "fields": null, + "name": "NewAccount", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], "index": 3, "docs": [ - "Value too low to create account due to existential deposit" + "A new account was created." ] }, { - "name": "KeepAlive", - "fields": null, + "name": "KilledAccount", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], "index": 4, "docs": [ - "Transfer/payment would kill account" + "An account was reaped." ] }, { - "name": "ExistingVestingSchedule", - "fields": null, + "name": "Remarked", + "fields": [ + { + "name": "sender", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], "index": 5, "docs": [ - "A vesting schedule already exists for this account" - ] - }, - { - "name": "DeadAccount", - "fields": null, - "index": 6, - "docs": [ - "Beneficiary account must pre-exist" - ] - }, - { - "name": "TooManyReserves", - "fields": null, - "index": 7, - "docs": [ - "Number of named reserves exceed MaxReserves" + "On on-chain remark happened." ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "Event for the System pallet." ] }, - "199": { - "path": [ - "sp_arithmetic", - "fixed_point", - "FixedU128" - ], + "200": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "type": 6, - "typeName": "u128", - "docs": null - } - ] + "Array": { + "len": 17, + "type": 2 } }, "docs": null }, - "2": { + "201": { "path": null, "def": { - "Primitive": "U8" + "Array": { + "len": 18, + "type": 2 + } }, "docs": null }, - "20": { - "path": [ - "frame_support", - "weights", - "DispatchClass" - ], + "202": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "Normal", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Operational", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "Mandatory", - "fields": null, - "index": 2, - "docs": null - } - ] + "Array": { + "len": 19, + "type": 2 } }, "docs": null }, - "200": { - "path": [ - "pallet_transaction_payment", - "Releases" - ], + "203": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "V1Ancient", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "V2", - "fields": null, - "index": 1, - "docs": null - } - ] + "Array": { + "len": 21, + "type": 2 } }, "docs": null }, - "201": { + "204": { "path": null, "def": { - "Sequence": { - "type": 202 + "Array": { + "len": 22, + "type": 2 } }, "docs": null }, - "202": { + "205": { + "path": null, + "def": { + "Array": { + "len": 23, + "type": 2 + } + }, + "docs": null + }, + "206": { + "path": null, + "def": { + "Array": { + "len": 24, + "type": 2 + } + }, + "docs": null + }, + "207": { + "path": null, + "def": { + "Array": { + "len": 25, + "type": 2 + } + }, + "docs": null + }, + "208": { + "path": null, + "def": { + "Array": { + "len": 26, + "type": 2 + } + }, + "docs": null + }, + "209": { + "path": null, + "def": { + "Array": { + "len": 27, + "type": 2 + } + }, + "docs": null + }, + "21": { "path": [ "frame_support", - "weights", - "WeightToFeeCoefficient" - ], - "params": [ - { - "name": "Balance", - "type": 6 - } + "dispatch", + "DispatchInfo" ], "def": { "Composite": { "fields": [ { - "name": "coeff_integer", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "coeff_frac", - "type": 149, - "typeName": "Perbill", + "name": "weight", + "type": 8, + "typeName": "Weight", "docs": null }, { - "name": "negative", - "type": 52, - "typeName": "bool", + "name": "class", + "type": 22, + "typeName": "DispatchClass", "docs": null }, { - "name": "degree", - "type": 2, - "typeName": "u8", + "name": "pays_fee", + "type": 23, + "typeName": "Pays", "docs": null } ] @@ -6733,60 +8274,80 @@ }, "docs": null }, - "203": { + "210": { + "path": null, + "def": { + "Array": { + "len": 28, + "type": 2 + } + }, + "docs": null + }, + "211": { + "path": null, + "def": { + "Array": { + "len": 29, + "type": 2 + } + }, + "docs": null + }, + "212": { + "path": null, + "def": { + "Array": { + "len": 30, + "type": 2 + } + }, + "docs": null + }, + "213": { + "path": null, + "def": { + "Array": { + "len": 31, + "type": 2 + } + }, + "docs": null + }, + "214": { "path": null, "def": { "Sequence": { - "type": 204 + "type": 183 } }, "docs": null }, - "204": { + "215": { "path": [ - "pallet_authorship", - "UncleEntryItem" + "Option" ], "params": [ { - "name": "BlockNumber", - "type": 4 - }, - { - "name": "Hash", - "type": 9 - }, - { - "name": "Author", - "type": 0 + "name": "T", + "type": 93 } ], "def": { "Variant": { "variants": [ { - "name": "InclusionHeight", + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Some", "fields": [ { - "type": 4, - "typeName": "BlockNumber", - "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "Uncle", - "fields": [ - { - "type": 9, - "typeName": "Hash", - "docs": null - }, - { - "type": 205, - "typeName": "Option\u003cAuthor\u003e", + "type": 93, + "typeName": "", "docs": null } ], @@ -6798,212 +8359,105 @@ }, "docs": null }, - "205": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], + "216": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "None", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Some", - "fields": [ - { - "type": 0, - "typeName": "", - "docs": null - } - ], - "index": 1, - "docs": null - } - ] + "Sequence": { + "type": 217 } }, "docs": null }, - "206": { + "217": { + "path": null, + "def": { + "Tuple": [ + 0, + 184 + ] + }, + "docs": null + }, + "218": { "path": [ - "pallet_authorship", - "pallet", - "Call" + "pallet_identity", + "types", + "BitFlags" ], "params": [ { "name": "T", - "type": 0 + "type": 219 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "set_uncles", - "fields": [ - { - "name": "new_uncles", - "type": 207, - "typeName": "Vec\u003cT::Header\u003e", - "docs": null - } - ], - "index": 0, - "docs": [ - "Provide a set of uncles." - ] + "type": 10, + "typeName": "IdentityField", + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "207": { - "path": null, - "def": { - "Sequence": { - "type": 179 - } - }, "docs": null }, - "208": { + "219": { "path": [ - "pallet_authorship", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } + "pallet_identity", + "types", + "IdentityField" ], "def": { "Variant": { "variants": [ { - "name": "InvalidUncleParent", - "fields": null, - "index": 0, - "docs": [ - "The uncle parent not in the chain." - ] - }, - { - "name": "UnclesAlreadySet", + "name": "Display", "fields": null, "index": 1, - "docs": [ - "Uncles already set in the block." - ] + "docs": null }, { - "name": "TooManyUncles", + "name": "Legal", "fields": null, "index": 2, - "docs": [ - "Too many uncles." - ] - }, - { - "name": "GenesisUncle", - "fields": null, - "index": 3, - "docs": [ - "The uncle is genesis." - ] + "docs": null }, { - "name": "TooHighUncle", + "name": "Web", "fields": null, "index": 4, - "docs": [ - "The uncle is too high in chain." - ] - }, - { - "name": "UncleAlreadyIncluded", - "fields": null, - "index": 5, - "docs": [ - "The uncle is already included." - ] + "docs": null }, { - "name": "OldUncle", + "name": "Riot", "fields": null, - "index": 6, - "docs": [ - "The uncle isn't recent enough to be included." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "209": { - "path": [ - "pallet_staking", - "StakingLedger" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - }, - { - "name": "Balance", - "type": 6 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "stash", - "type": 0, - "typeName": "AccountId", + "index": 8, "docs": null }, { - "name": "total", - "type": 43, - "typeName": "Balance", + "name": "Email", + "fields": null, + "index": 16, "docs": null }, { - "name": "active", - "type": 43, - "typeName": "Balance", + "name": "PgpFingerprint", + "fields": null, + "index": 32, "docs": null }, { - "name": "unlocking", - "type": 210, - "typeName": "Vec\u003cUnlockChunk\u003cBalance\u003e\u003e", + "name": "Image", + "fields": null, + "index": 64, "docs": null }, { - "name": "claimed_rewards", - "type": 212, - "typeName": "Vec\u003cEraIndex\u003e", + "name": "Twitter", + "fields": null, + "index": 128, "docs": null } ] @@ -7011,65 +8465,31 @@ }, "docs": null }, - "21": { + "22": { "path": [ "frame_support", - "weights", - "Pays" + "dispatch", + "DispatchClass" ], "def": { "Variant": { "variants": [ { - "name": "Yes", + "name": "Normal", "fields": null, "index": 0, "docs": null }, { - "name": "No", + "name": "Operational", "fields": null, "index": 1, "docs": null - } - ] - } - }, - "docs": null - }, - "210": { - "path": null, - "def": { - "Sequence": { - "type": 211 - } - }, - "docs": null - }, - "211": { - "path": [ - "pallet_staking", - "UnlockChunk" - ], - "params": [ - { - "name": "Balance", - "type": 6 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "value", - "type": 43, - "typeName": "Balance", - "docs": null }, { - "name": "era", - "type": 112, - "typeName": "EraIndex", + "name": "Mandatory", + "fields": null, + "index": 2, "docs": null } ] @@ -7077,88 +8497,67 @@ }, "docs": null }, - "212": { - "path": null, - "def": { - "Sequence": { - "type": 4 - } - }, - "docs": null - }, - "213": { + "220": { "path": [ - "pallet_staking", - "RewardDestination" + "pallet_identity", + "types", + "Judgement" ], "params": [ { - "name": "AccountId", - "type": 0 + "name": "Balance", + "type": 6 } ], "def": { "Variant": { "variants": [ { - "name": "Staked", + "name": "Unknown", "fields": null, "index": 0, "docs": null }, { - "name": "Stash", - "fields": null, + "name": "FeePaid", + "fields": [ + { + "type": 6, + "typeName": "Balance", + "docs": null + } + ], "index": 1, "docs": null }, { - "name": "Controller", + "name": "Reasonable", "fields": null, "index": 2, "docs": null }, { - "name": "Account", - "fields": [ - { - "type": 0, - "typeName": "AccountId", - "docs": null - } - ], + "name": "KnownGood", + "fields": null, "index": 3, "docs": null }, { - "name": "None", + "name": "OutOfDate", "fields": null, "index": 4, "docs": null - } - ] - } - }, - "docs": null - }, - "214": { - "path": [ - "pallet_staking", - "ValidatorPrefs" - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "commission", - "type": 215, - "typeName": "Perbill", + "name": "LowQuality", + "fields": null, + "index": 5, "docs": null }, { - "name": "blocked", - "type": 52, - "typeName": "bool", + "name": "Erroneous", + "fields": null, + "index": 6, "docs": null } ] @@ -7166,709 +8565,182 @@ }, "docs": null }, - "215": { - "path": null, - "def": { - "Compact": { - "type": 149 - } - }, - "docs": null - }, - "216": { + "221": { "path": [ - "pallet_staking", - "Nominations" + "pallet_society", + "pallet", + "Call" ], "params": [ { - "name": "AccountId", + "name": "T", "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "targets", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", - "docs": null - }, - { - "name": "submitted_in", - "type": 4, - "typeName": "EraIndex", - "docs": null - }, - { - "name": "suppressed", - "type": 52, - "typeName": "bool", - "docs": null - } - ] - } - }, - "docs": null - }, - "217": { - "path": [ - "pallet_staking", - "ActiveEraInfo" - ], - "def": { - "Composite": { - "fields": [ - { - "name": "index", - "type": 4, - "typeName": "EraIndex", - "docs": null - }, - { - "name": "start", - "type": 156, - "typeName": "Option\u003cu64\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "218": { - "path": null, - "def": { - "Tuple": [ - 4, - 0 - ] - }, - "docs": null - }, - "219": { - "path": [ - "pallet_staking", - "EraRewardPoints" - ], - "params": [ + }, { - "name": "AccountId", + "name": "I", "type": 0 } ], - "def": { - "Composite": { - "fields": [ - { - "name": "total", - "type": 4, - "typeName": "RewardPoint", - "docs": null - }, - { - "name": "individual", - "type": 220, - "typeName": "BTreeMap\u003cAccountId, RewardPoint\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "22": { - "path": [ - "sp_runtime", - "DispatchError" - ], "def": { "Variant": { "variants": [ { - "name": "Other", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "CannotLookup", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "BadOrigin", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "Module", - "fields": [ - { - "name": "index", - "type": 2, - "typeName": "u8", - "docs": null - }, - { - "name": "error", - "type": 2, - "typeName": "u8", - "docs": null - } - ], - "index": 3, - "docs": null - }, - { - "name": "ConsumerRemaining", - "fields": null, - "index": 4, - "docs": null - }, - { - "name": "NoProviders", - "fields": null, - "index": 5, - "docs": null - }, - { - "name": "Token", - "fields": [ - { - "type": 23, - "typeName": "TokenError", - "docs": null - } - ], - "index": 6, - "docs": null - }, - { - "name": "Arithmetic", + "name": "bid", "fields": [ { - "type": 24, - "typeName": "ArithmeticError", - "docs": null - } - ], - "index": 7, - "docs": null - } - ] - } - }, - "docs": null - }, - "220": { - "path": [ - "BTreeMap" - ], - "params": [ - { - "name": "K", - "type": 0 - }, - { - "name": "V", - "type": 4 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 221, - "typeName": "", - "docs": null - } - ] - } - }, - "docs": null - }, - "221": { - "path": null, - "def": { - "Sequence": { - "type": 222 - } - }, - "docs": null - }, - "222": { - "path": null, - "def": { - "Tuple": [ - 0, - 4 - ] - }, - "docs": null - }, - "223": { - "path": [ - "pallet_staking", - "Forcing" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "NotForcing", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "ForceNew", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "ForceNone", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "ForceAlways", - "fields": null, - "index": 3, - "docs": null - } - ] - } - }, - "docs": null - }, - "224": { - "path": null, - "def": { - "Sequence": { - "type": 225 - } - }, - "docs": null - }, - "225": { - "path": [ - "pallet_staking", - "UnappliedSlash" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - }, - { - "name": "Balance", - "type": 6 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "validator", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "own", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "others", - "type": 55, - "typeName": "Vec\u003c(AccountId, Balance)\u003e", - "docs": null - }, - { - "name": "reporters", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", - "docs": null - }, - { - "name": "payout", - "type": 6, - "typeName": "Balance", - "docs": null - } - ] - } - }, - "docs": null - }, - "226": { - "path": null, - "def": { - "Tuple": [ - 149, - 6 - ] - }, - "docs": null - }, - "227": { - "path": [ - "pallet_staking", - "slashing", - "SlashingSpans" - ], - "def": { - "Composite": { - "fields": [ - { - "name": "span_index", - "type": 4, - "typeName": "SpanIndex", - "docs": null - }, - { - "name": "last_start", - "type": 4, - "typeName": "EraIndex", - "docs": null - }, - { - "name": "last_nonzero_slash", - "type": 4, - "typeName": "EraIndex", - "docs": null - }, - { - "name": "prior", - "type": 212, - "typeName": "Vec\u003cEraIndex\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "228": { - "path": [ - "pallet_staking", - "slashing", - "SpanRecord" - ], - "params": [ - { - "name": "Balance", - "type": 6 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "slashed", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "paid_out", - "type": 6, - "typeName": "Balance", - "docs": null - } - ] - } - }, - "docs": null - }, - "229": { - "path": null, - "def": { - "Sequence": { - "type": 230 - } - }, - "docs": null - }, - "23": { - "path": [ - "sp_runtime", - "TokenError" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "NoFunds", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "WouldDie", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "BelowMinimum", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "CannotCreate", - "fields": null, - "index": 3, - "docs": null - }, - { - "name": "UnknownAsset", - "fields": null, - "index": 4, - "docs": null - }, - { - "name": "Frozen", - "fields": null, - "index": 5, - "docs": null - }, - { - "name": "Unsupported", - "fields": null, - "index": 6, - "docs": null - } - ] - } - }, - "docs": null - }, - "230": { - "path": null, - "def": { - "Tuple": [ - 4, - 52 - ] - }, - "docs": null - }, - "231": { - "path": [ - "pallet_staking", - "Releases" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "V1_0_0Ancient", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "V2_0_0", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "V3_0_0", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "V4_0_0", - "fields": null, - "index": 3, - "docs": null - }, - { - "name": "V5_0_0", - "fields": null, - "index": 4, - "docs": null - }, - { - "name": "V6_0_0", - "fields": null, - "index": 5, - "docs": null - }, - { - "name": "V7_0_0", - "fields": null, - "index": 6, - "docs": null - }, - { - "name": "V8_0_0", - "fields": null, - "index": 7, - "docs": null - } - ] - } - }, - "docs": null - }, - "232": { - "path": [ - "sp_arithmetic", - "per_things", - "Percent" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 2, - "typeName": "u8", - "docs": null - } - ] - } - }, - "docs": null - }, - "233": { - "path": [ - "pallet_staking", - "pallet", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "bond", - "fields": [ - { - "name": "controller", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "payee", - "type": 213, - "typeName": "RewardDestination\u003cT::AccountId\u003e", + "name": "value", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], "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.", + "A user outside of the society can make a bid for entry.", "", - "`value` must be more than the `minimum_balance` specified by `T::Currency`.", + "Payment: `CandidateDeposit` will be reserved for making a bid. It is returned", + "when the bid becomes a member, or if the bid calls `unbid`.", "", - "The dispatch origin for this call must be _Signed_ by the stash account.", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `value`: A one time payment the bid would like to receive when joining the society.", "", - "Emits `Bonded`.", "# \u003cweight\u003e", - "- Independent of the arguments. Moderate complexity.", - "- O(1).", - "- Three extra DB entries.", + "Key: B (len of bids), C (len of candidates), M (len of members), X (balance reserve)", + "- Storage Reads:", + "\t- One storage read to check for suspended candidate. O(1)", + "\t- One storage read to check for suspended member. O(1)", + "\t- One storage read to retrieve all current bids. O(B)", + "\t- One storage read to retrieve all current candidates. O(C)", + "\t- One storage read to retrieve all members. O(M)", + "- Storage Writes:", + "\t- One storage mutate to add a new bid to the vector O(B) (TODO: possible optimization", + " w/ read)", + "\t- Up to one storage removal if bid.len() \u003e MAX_BID_COUNT. O(1)", + "- Notable Computation:", + "\t- O(B + C + log M) search to check user is not already a part of society.", + "\t- O(log B) search to insert the new bid sorted.", + "- External Pallet Operations:", + "\t- One balance reserve operation. O(X)", + "\t- Up to one balance unreserve operation if bids.len() \u003e MAX_BID_COUNT.", + "- Events:", + "\t- One event for new bid.", + "\t- Up to one event for AutoUnbid if bid.len() \u003e MAX_BID_COUNT.", "", - "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.", - "------------------", + "Total Complexity: O(M + B + C + logM + logB + X)", "# \u003c/weight\u003e" ] }, { - "name": "bond_extra", + "name": "unbid", "fields": [ { - "name": "max_additional", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "name": "pos", + "type": 4, + "typeName": "u32", "docs": null } ], "index": 1, "docs": [ - "Add some extra amount that have appeared in the stash `free_balance` into the balance up", - "for staking.", + "A bidder can remove their bid for entry into society.", + "By doing so, they will have their candidate deposit returned or", + "they will unvouch their voucher.", "", - "The dispatch origin for this call must be _Signed_ by the stash, not the controller.", + "Payment: The bid deposit is unreserved if the user made a bid.", "", - "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.", + "The dispatch origin for this call must be _Signed_ and a bidder.", "", - "Emits `Bonded`.", + "Parameters:", + "- `pos`: Position in the `Bids` vector of the bid who wants to unbid.", "", "# \u003cweight\u003e", - "- Independent of the arguments. Insignificant complexity.", - "- O(1).", + "Key: B (len of bids), X (balance unreserve)", + "- One storage read and write to retrieve and update the bids. O(B)", + "- Either one unreserve balance action O(X) or one vouching storage removal. O(1)", + "- One event.", + "", + "Total Complexity: O(B + X)", "# \u003c/weight\u003e" ] }, { - "name": "unbond", + "name": "vouch", "fields": [ + { + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, { "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "tip", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], "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.", + "As a member, vouch for someone to join society by placing a bid on their behalf.", "", - "Once the unlock period is done, you can call `withdraw_unbonded` to actually move", - "the funds out of management ready for transfer.", + "There is no deposit required to vouch for a new bid, but a member can only vouch for", + "one bid at a time. If the bid becomes a suspended candidate and ultimately rejected by", + "the suspension judgement origin, the member will be banned from vouching again.", "", - "No more than a limited number of unlocking chunks (see `MAX_UNLOCKING_CHUNKS`)", - "can co-exists at the same time. In that case, [`Call::withdraw_unbonded`] need", - "to be called first to remove some of the chunks (if possible).", + "As a vouching member, you can claim a tip if the candidate is accepted. This tip will", + "be paid as a portion of the reward the member will receive for joining the society.", "", - "If a user encounters the `InsufficientBond` error when calling this extrinsic,", - "they should call `chill` first in order to free up their bonded funds.", + "The dispatch origin for this call must be _Signed_ and a member.", "", - "Emits `Unbonded`.", + "Parameters:", + "- `who`: The user who you would like to vouch for.", + "- `value`: The total reward to be paid between you and the candidate if they become", + "a member in the society.", + "- `tip`: Your cut of the total `value` payout when the candidate is inducted into", + "the society. Tips larger than `value` will be saturated upon payout.", "", - "See also [`Call::withdraw_unbonded`]." + "# \u003cweight\u003e", + "Key: B (len of bids), C (len of candidates), M (len of members)", + "- Storage Reads:", + "\t- One storage read to retrieve all members. O(M)", + "\t- One storage read to check member is not already vouching. O(1)", + "\t- One storage read to check for suspended candidate. O(1)", + "\t- One storage read to check for suspended member. O(1)", + "\t- One storage read to retrieve all current bids. O(B)", + "\t- One storage read to retrieve all current candidates. O(C)", + "- Storage Writes:", + "\t- One storage write to insert vouching status to the member. O(1)", + "\t- One storage mutate to add a new bid to the vector O(B) (TODO: possible optimization", + " w/ read)", + "\t- Up to one storage removal if bid.len() \u003e MAX_BID_COUNT. O(1)", + "- Notable Computation:", + "\t- O(log M) search to check sender is a member.", + "\t- O(B + C + log M) search to check user is not already a part of society.", + "\t- O(log B) search to insert the new bid sorted.", + "- External Pallet Operations:", + "\t- One balance reserve operation. O(X)", + "\t- Up to one balance unreserve operation if bids.len() \u003e MAX_BID_COUNT.", + "- Events:", + "\t- One event for vouch.", + "\t- Up to one event for AutoUnbid if bid.len() \u003e MAX_BID_COUNT.", + "", + "Total Complexity: O(M + B + C + logM + logB + X)", + "# \u003c/weight\u003e" ] }, { - "name": "withdraw_unbonded", + "name": "unvouch", "fields": [ { - "name": "num_slashing_spans", + "name": "pos", "type": 4, "typeName": "u32", "docs": null @@ -7876,607 +8748,809 @@ ], "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.", + "As a vouching member, unvouch a bid. This only works while vouched user is", + "only a bidder (and not a candidate).", "", - "Emits `Withdrawn`.", + "The dispatch origin for this call must be _Signed_ and a vouching member.", "", - "See also [`Call::unbond`].", + "Parameters:", + "- `pos`: Position in the `Bids` vector of the bid who should be unvouched.", "", "# \u003cweight\u003e", - "Complexity O(S) where S is the number of slashing spans to remove", - "NOTE: Weight annotation is the kill scenario, we refund otherwise.", + "Key: B (len of bids)", + "- One storage read O(1) to check the signer is a vouching member.", + "- One storage mutate to retrieve and update the bids. O(B)", + "- One vouching storage removal. O(1)", + "- One event.", + "", + "Total Complexity: O(B)", "# \u003c/weight\u003e" ] }, { - "name": "validate", + "name": "vote", "fields": [ { - "name": "prefs", - "type": 214, - "typeName": "ValidatorPrefs", + "name": "candidate", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "approve", + "type": 37, + "typeName": "bool", "docs": null } ], "index": 4, "docs": [ - "Declare the desire to validate for the origin controller.", + "As a member, vote on a candidate.", "", - "Effects will be felt at the beginning of the next era.", + "The dispatch origin for this call must be _Signed_ and a member.", "", - "The dispatch origin for this call must be _Signed_ by the controller, not the stash." + "Parameters:", + "- `candidate`: The candidate that the member would like to bid on.", + "- `approve`: A boolean which says if the candidate should be approved (`true`) or", + " rejected (`false`).", + "", + "# \u003cweight\u003e", + "Key: C (len of candidates), M (len of members)", + "- One storage read O(M) and O(log M) search to check user is a member.", + "- One account lookup.", + "- One storage read O(C) and O(C) search to check that user is a candidate.", + "- One storage write to add vote to votes. O(1)", + "- One event.", + "", + "Total Complexity: O(M + logM + C)", + "# \u003c/weight\u003e" ] }, { - "name": "nominate", + "name": "defender_vote", "fields": [ { - "name": "targets", - "type": 234, - "typeName": "Vec\u003c\u003cT::Lookup as StaticLookup\u003e::Source\u003e", + "name": "approve", + "type": 37, + "typeName": "bool", "docs": null } ], "index": 5, "docs": [ - "Declare the desire to nominate `targets` for the origin controller.", + "As a member, vote on the defender.", "", - "Effects will be felt at the beginning of the next era.", + "The dispatch origin for this call must be _Signed_ and a member.", "", - "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "Parameters:", + "- `approve`: A boolean which says if the candidate should be", + "approved (`true`) or rejected (`false`).", "", "# \u003cweight\u003e", - "- The transaction's complexity is proportional to the size of `targets` (N)", - "which is capped at CompactAssignments::LIMIT (MAX_NOMINATIONS).", - "- Both the reads and writes follow a similar pattern.", + "- Key: M (len of members)", + "- One storage read O(M) and O(log M) search to check user is a member.", + "- One storage write to add vote to votes. O(1)", + "- One event.", + "", + "Total Complexity: O(M + logM)", "# \u003c/weight\u003e" ] }, { - "name": "chill", + "name": "payout", "fields": null, "index": 6, "docs": [ - "Declare no desire to either validate or nominate.", + "Transfer the first matured payout for the sender and remove it from the records.", "", - "Effects will be felt at the beginning of the next era.", + "NOTE: This extrinsic needs to be called multiple times to claim multiple matured", + "payouts.", "", - "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "Payment: The member will receive a payment equal to their first matured", + "payout to their free balance.", + "", + "The dispatch origin for this call must be _Signed_ and a member with", + "payouts remaining.", "", "# \u003cweight\u003e", - "- Independent of the arguments. Insignificant complexity.", - "- Contains one read.", - "- Writes are limited to the `origin` account key.", + "Key: M (len of members), P (number of payouts for a particular member)", + "- One storage read O(M) and O(log M) search to check signer is a member.", + "- One storage read O(P) to get all payouts for a member.", + "- One storage read O(1) to get the current block number.", + "- One currency transfer call. O(X)", + "- One storage write or removal to update the member's payouts. O(P)", + "", + "Total Complexity: O(M + logM + P + X)", "# \u003c/weight\u003e" ] }, { - "name": "set_payee", + "name": "found", "fields": [ { - "name": "payee", - "type": 213, - "typeName": "RewardDestination\u003cT::AccountId\u003e", + "name": "founder", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "max_members", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "rules", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null } ], "index": 7, "docs": [ - "(Re-)set the payment target for a controller.", + "Found the society.", "", - "Effects will be felt at the beginning of the next era.", + "This is done as a discrete action in order to allow for the", + "pallet to be included into a running chain and can only be done once.", "", - "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "The dispatch origin for this call must be from the _FounderSetOrigin_.", + "", + "Parameters:", + "- `founder` - The first member and head of the newly founded society.", + "- `max_members` - The initial max number of members for the society.", + "- `rules` - The rules of this society concerning membership.", "", "# \u003cweight\u003e", - "- Independent of the arguments. Insignificant complexity.", - "- Contains a limited number of reads.", - "- Writes are limited to the `origin` account key.", - "---------", - "- Weight: O(1)", - "- DB Weight:", - " - Read: Ledger", - " - Write: Payee", + "- Two storage mutates to set `Head` and `Founder`. O(1)", + "- One storage write to add the first member to society. O(1)", + "- One event.", + "", + "Total Complexity: O(1)", "# \u003c/weight\u003e" ] }, { - "name": "set_controller", - "fields": [ - { - "name": "controller", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - } - ], + "name": "unfound", + "fields": null, "index": 8, "docs": [ - "(Re-)set the controller of a stash.", - "", - "Effects will be felt at the beginning of the next era.", + "Annul the founding of the society.", "", - "The dispatch origin for this call must be _Signed_ by the stash, not the controller.", + "The dispatch origin for this call must be Signed, and the signing account must be both", + "the `Founder` and the `Head`. This implies that it may only be done when there is one", + "member.", "", "# \u003cweight\u003e", - "- Independent of the arguments. Insignificant complexity.", - "- Contains a limited number of reads.", - "- Writes are limited to the `origin` account key.", - "----------", - "Weight: O(1)", - "DB Weight:", - "- Read: Bonded, Ledger New Controller, Ledger Old Controller", - "- Write: Bonded, Ledger New Controller, Ledger Old Controller", + "- Two storage reads O(1).", + "- Four storage removals O(1).", + "- One event.", + "", + "Total Complexity: O(1)", "# \u003c/weight\u003e" ] }, { - "name": "set_validator_count", + "name": "judge_suspended_member", "fields": [ { - "name": "new", - "type": 112, - "typeName": "u32", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "forgive", + "type": 37, + "typeName": "bool", "docs": null } ], "index": 9, "docs": [ - "Sets the ideal number of validators.", + "Allow suspension judgement origin to make judgement on a suspended member.", "", - "The dispatch origin must be Root.", + "If a suspended member is forgiven, we simply add them back as a member, not affecting", + "any of the existing storage items for that member.", + "", + "If a suspended member is rejected, remove all associated storage items, including", + "their payouts, and remove any vouched bids they currently have.", + "", + "The dispatch origin for this call must be from the _SuspensionJudgementOrigin_.", + "", + "Parameters:", + "- `who` - The suspended member to be judged.", + "- `forgive` - A boolean representing whether the suspension judgement origin forgives", + " (`true`) or rejects (`false`) a suspended member.", "", "# \u003cweight\u003e", - "Weight: O(1)", - "Write: Validator Count", + "Key: B (len of bids), M (len of members)", + "- One storage read to check `who` is a suspended member. O(1)", + "- Up to one storage write O(M) with O(log M) binary search to add a member back to", + " society.", + "- Up to 3 storage removals O(1) to clean up a removed member.", + "- Up to one storage write O(B) with O(B) search to remove vouched bid from bids.", + "- Up to one additional event if unvouch takes place.", + "- One storage removal. O(1)", + "- One event for the judgement.", + "", + "Total Complexity: O(M + logM + B)", "# \u003c/weight\u003e" ] }, { - "name": "increase_validator_count", + "name": "judge_suspended_candidate", "fields": [ { - "name": "additional", - "type": 112, - "typeName": "u32", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "judgement", + "type": 222, + "typeName": "Judgement", "docs": null } ], "index": 10, "docs": [ - "Increments the ideal number of validators.", + "Allow suspended judgement origin to make judgement on a suspended candidate.", "", - "The dispatch origin must be Root.", + "If the judgement is `Approve`, we add them to society as a member with the appropriate", + "payment for joining society.", + "", + "If the judgement is `Reject`, we either slash the deposit of the bid, giving it back", + "to the society treasury, or we ban the voucher from vouching again.", + "", + "If the judgement is `Rebid`, we put the candidate back in the bid pool and let them go", + "through the induction process again.", + "", + "The dispatch origin for this call must be from the _SuspensionJudgementOrigin_.", + "", + "Parameters:", + "- `who` - The suspended candidate to be judged.", + "- `judgement` - `Approve`, `Reject`, or `Rebid`.", "", "# \u003cweight\u003e", - "Same as [`Self::set_validator_count`].", + "Key: B (len of bids), M (len of members), X (balance action)", + "- One storage read to check `who` is a suspended candidate.", + "- One storage removal of the suspended candidate.", + "- Approve Logic", + "\t- One storage read to get the available pot to pay users with. O(1)", + "\t- One storage write to update the available pot. O(1)", + "\t- One storage read to get the current block number. O(1)", + "\t- One storage read to get all members. O(M)", + "\t- Up to one unreserve currency action.", + "\t- Up to two new storage writes to payouts.", + "\t- Up to one storage write with O(log M) binary search to add a member to society.", + "- Reject Logic", + "\t- Up to one repatriate reserved currency action. O(X)", + "\t- Up to one storage write to ban the vouching member from vouching again.", + "- Rebid Logic", + "\t- Storage mutate with O(log B) binary search to place the user back into bids.", + "- Up to one additional event if unvouch takes place.", + "- One storage removal.", + "- One event for the judgement.", + "", + "Total Complexity: O(M + logM + B + X)", "# \u003c/weight\u003e" ] }, { - "name": "scale_validator_count", + "name": "set_max_members", "fields": [ { - "name": "factor", - "type": 232, - "typeName": "Percent", + "name": "max", + "type": 4, + "typeName": "u32", "docs": null } ], "index": 11, "docs": [ - "Scale up the ideal number of validators by a factor.", + "Allows root origin to change the maximum number of members in society.", + "Max membership count must be greater than 1.", "", - "The dispatch origin must be Root.", + "The dispatch origin for this call must be from _ROOT_.", + "", + "Parameters:", + "- `max` - The maximum number of members for the society.", "", "# \u003cweight\u003e", - "Same as [`Self::set_validator_count`].", + "- One storage write to update the max. O(1)", + "- One event.", + "", + "Total Complexity: O(1)", "# \u003c/weight\u003e" ] - }, + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "222": { + "path": [ + "pallet_society", + "Judgement" + ], + "def": { + "Variant": { + "variants": [ { - "name": "force_no_eras", + "name": "Rebid", "fields": null, - "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.", - "", - "# \u003cweight\u003e", - "- No arguments.", - "- Weight: O(1)", - "- Write: ForceEra", - "# \u003c/weight\u003e" - ] + "index": 0, + "docs": null }, { - "name": "force_new_era", + "name": "Reject", "fields": null, - "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.", - "", - "# \u003cweight\u003e", - "- No arguments.", - "- Weight: O(1)", - "- Write ForceEra", - "# \u003c/weight\u003e" - ] + "index": 1, + "docs": null }, { - "name": "set_invulnerables", + "name": "Approve", + "fields": null, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "223": { + "path": [ + "pallet_recovery", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "as_recovered", "fields": [ { - "name": "invulnerables", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", + "name": "account", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", "docs": null } ], - "index": 14, + "index": 0, "docs": [ - "Set the validators who cannot be slashed (if any).", + "Send a call through a recovered account.", "", - "The dispatch origin must be Root.", + "The dispatch origin for this call must be _Signed_ and registered to", + "be able to make calls on behalf of the recovered account.", "", - "# \u003cweight\u003e", - "- O(V)", - "- Write: Invulnerables", - "# \u003c/weight\u003e" + "Parameters:", + "- `account`: The recovered account you want to make a call on-behalf-of.", + "- `call`: The call you want to make with the recovered account." ] }, { - "name": "force_unstake", + "name": "set_recovered", "fields": [ { - "name": "stash", - "type": 0, - "typeName": "T::AccountId", + "name": "lost", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "num_slashing_spans", - "type": 4, - "typeName": "u32", + "name": "rescuer", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 15, - "docs": [ - "Force a current staker to become completely unstaked, immediately.", - "", - "The dispatch origin must be Root.", - "", - "# \u003cweight\u003e", - "O(S) where S is the number of slashing spans to be removed", - "Reads: Bonded, Slashing Spans, Account, Locks", - "Writes: Bonded, Slashing Spans (if S \u003e 0), Ledger, Payee, Validators, Nominators,", - "Account, Locks Writes Each: SpanSlash * S", - "# \u003c/weight\u003e" - ] - }, - { - "name": "force_new_era_always", - "fields": null, - "index": 16, + "index": 1, "docs": [ - "Force there to be a new era at the end of sessions indefinitely.", - "", - "The dispatch origin must be Root.", - "", - "# Warning", + "Allow ROOT to bypass the recovery process and set an a rescuer account", + "for a lost account directly.", "", - "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.", + "The dispatch origin for this call must be _ROOT_.", "", - "# \u003cweight\u003e", - "- Weight: O(1)", - "- Write: ForceEra", - "# \u003c/weight\u003e" + "Parameters:", + "- `lost`: The \"lost account\" to be recovered.", + "- `rescuer`: The \"rescuer account\" which can call as the lost account." ] }, { - "name": "cancel_deferred_slash", + "name": "create_recovery", "fields": [ { - "name": "era", - "type": 4, - "typeName": "EraIndex", + "name": "friends", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null }, { - "name": "slash_indices", - "type": 212, - "typeName": "Vec\u003cu32\u003e", + "name": "threshold", + "type": 71, + "typeName": "u16", + "docs": null + }, + { + "name": "delay_period", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], - "index": 17, + "index": 2, "docs": [ - "Cancel enactment of a deferred slash.", + "Create a recovery configuration for your account. This makes your account recoverable.", "", - "Can be called by the `T::SlashCancelOrigin`.", + "Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance", + "will be reserved for storing the recovery configuration. This deposit is returned", + "in full when the user calls `remove_recovery`.", "", - "Parameters: era and indices of the slashes for that era to kill.", + "The dispatch origin for this call must be _Signed_.", "", - "# \u003cweight\u003e", - "Complexity: O(U + S)", - "with U unapplied slashes weighted with U=1000", - "and S is the number of slash indices to be canceled.", - "- Read: Unapplied Slashes", - "- Write: Unapplied Slashes", - "# \u003c/weight\u003e" - ] - }, - { - "name": "payout_stakers", + "Parameters:", + "- `friends`: A list of friends you trust to vouch for recovery attempts. Should be", + " ordered and contain no duplicate values.", + "- `threshold`: The number of friends that must vouch for a recovery attempt before the", + " account can be recovered. Should be less than or equal to the length of the list of", + " friends.", + "- `delay_period`: The number of blocks after a recovery attempt is initialized that", + " needs to pass before the account can be recovered." + ] + }, + { + "name": "initiate_recovery", "fields": [ { - "name": "validator_stash", - "type": 0, - "typeName": "T::AccountId", + "name": "account", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + } + ], + "index": 3, + "docs": [ + "Initiate the process for recovering a recoverable account.", + "", + "Payment: `RecoveryDeposit` balance will be reserved for initiating the", + "recovery process. This deposit will always be repatriated to the account", + "trying to be recovered. See `close_recovery`.", + "", + "The dispatch origin for this call must be _Signed_.", + "", + "Parameters:", + "- `account`: The lost account that you want to recover. This account needs to be", + " recoverable (i.e. have a recovery configuration)." + ] + }, + { + "name": "vouch_recovery", + "fields": [ + { + "name": "lost", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "era", - "type": 4, - "typeName": "EraIndex", + "name": "rescuer", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 18, + "index": 4, "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]`.", + "Allow a \"friend\" of a recoverable account to vouch for an active recovery", + "process for that account.", "", - "The origin of this call must be _Signed_. Any account can call this function, even if", - "it is not one of the stakers.", + "The dispatch origin for this call must be _Signed_ and must be a \"friend\"", + "for the recoverable account.", "", - "# \u003cweight\u003e", - "- Time complexity: at most O(MaxNominatorRewardedPerValidator).", - "- Contains a limited number of reads and writes.", - "-----------", - "N is the Number of payouts for the validator (including the validator)", - "Weight:", - "- Reward Destination Staked: O(N)", - "- Reward Destination Controller (Creating): O(N)", + "Parameters:", + "- `lost`: The lost account that you want to recover.", + "- `rescuer`: The account trying to rescue the lost account that you want to vouch for.", "", - " NOTE: weights are assuming that payouts are made to alive stash account (Staked).", - " Paying even a dead controller is cheaper weight-wise. We don't do any refunds here.", - "# \u003c/weight\u003e" + "The combination of these two parameters must point to an active recovery", + "process." ] }, { - "name": "rebond", + "name": "claim_recovery", "fields": [ { - "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "name": "account", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 19, + "index": 5, "docs": [ - "Rebond a portion of the stash scheduled to be unlocked.", + "Allow a successful rescuer to claim their recovered account.", "", - "The dispatch origin must be signed by the controller.", + "The dispatch origin for this call must be _Signed_ and must be a \"rescuer\"", + "who has successfully completed the account recovery process: collected", + "`threshold` or more vouches, waited `delay_period` blocks since initiation.", "", - "# \u003cweight\u003e", - "- Time complexity: O(L), where L is unlocking chunks", - "- Bounded by `MAX_UNLOCKING_CHUNKS`.", - "- Storage changes: Can't increase storage, only decrease it.", - "# \u003c/weight\u003e" + "Parameters:", + "- `account`: The lost account that you want to claim has been successfully recovered by", + " you." ] }, { - "name": "set_history_depth", + "name": "close_recovery", "fields": [ { - "name": "new_history_depth", - "type": 112, - "typeName": "EraIndex", - "docs": null - }, - { - "name": "era_items_deleted", - "type": 112, - "typeName": "u32", + "name": "rescuer", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 20, + "index": 6, "docs": [ - "Set `HistoryDepth` value. This function will delete any history information", - "when `HistoryDepth` is reduced.", + "As the controller of a recoverable account, close an active recovery", + "process for your account.", + "", + "Payment: By calling this function, the recoverable account will receive", + "the recovery deposit `RecoveryDeposit` placed by the rescuer.", + "", + "The dispatch origin for this call must be _Signed_ and must be a", + "recoverable account with an active recovery process for it.", "", "Parameters:", - "- `new_history_depth`: The new history depth you would like to set.", - "- `era_items_deleted`: The number of items that will be deleted by this dispatch. This", - " should report all the storage items that will be deleted by clearing old era history.", - " Needed to report an accurate weight for the dispatch. Trusted by `Root` to report an", - " accurate number.", + "- `rescuer`: The account trying to rescue this recoverable account." + ] + }, + { + "name": "remove_recovery", + "fields": null, + "index": 7, + "docs": [ + "Remove the recovery process for your account. Recovered accounts are still accessible.", "", - "Origin must be root.", + "NOTE: The user must make sure to call `close_recovery` on all active", + "recovery attempts before calling this function else it will fail.", "", - "# \u003cweight\u003e", - "- E: Number of history depths removed, i.e. 10 -\u003e 7 = 3", - "- Weight: O(E)", - "- DB Weight:", - " - Reads: Current Era, History Depth", - " - Writes: History Depth", - " - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs", - " - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake,", - " ErasStartSessionIndex", - "# \u003c/weight\u003e" + "Payment: By calling this function the recoverable account will unreserve", + "their recovery configuration deposit.", + "(`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)", + "", + "The dispatch origin for this call must be _Signed_ and must be a", + "recoverable account (i.e. has a recovery configuration)." ] }, { - "name": "reap_stash", + "name": "cancel_recovered", "fields": [ { - "name": "stash", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "num_slashing_spans", - "type": 4, - "typeName": "u32", + "name": "account", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 21, + "index": 8, "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:", + "Cancel the ability to use `as_recovered` for `account`.", "", - "1. the `total_balance` of the stash is below existential deposit.", - "2. or, the `ledger.total` of the stash is below existential deposit.", + "The dispatch origin for this call must be _Signed_ and registered to", + "be able to make calls on behalf of the recovered account.", "", - "The former can happen in cases like a slash; the latter when a fully unbonded account", - "is still receiving staking rewards in `RewardDestination::Staked`.", + "Parameters:", + "- `account`: The recovered account you are able to call on-behalf-of." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "224": { + "path": [ + "pallet_vesting", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "vest", + "fields": null, + "index": 0, + "docs": [ + "Unlock any vested funds of the sender account.", "", - "It can be called by anyone, as long as `stash` meets the above requirements.", + "The dispatch origin for this call must be _Signed_ and the sender must have funds still", + "locked under this pallet.", "", - "Refunds the transaction fees upon successful execution." + "Emits either `VestingCompleted` or `VestingUpdated`.", + "", + "# \u003cweight\u003e", + "- `O(1)`.", + "- DbWeight: 2 Reads, 2 Writes", + " - Reads: Vesting Storage, Balances Locks, [Sender Account]", + " - Writes: Vesting Storage, Balances Locks, [Sender Account]", + "# \u003c/weight\u003e" ] }, { - "name": "kick", + "name": "vest_other", "fields": [ { - "name": "who", - "type": 234, - "typeName": "Vec\u003c\u003cT::Lookup as StaticLookup\u003e::Source\u003e", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 22, + "index": 1, "docs": [ - "Remove the given nominations from the calling validator.", + "Unlock any vested funds of a `target` account.", "", - "Effects will be felt at the beginning of the next era.", + "The dispatch origin for this call must be _Signed_.", "", - "The dispatch origin for this call must be _Signed_ by the controller, not the stash.", + "- `target`: The account whose vested funds should be unlocked. Must have funds still", + "locked under this pallet.", "", - "- `who`: A list of nominator stash accounts who are nominating this validator which", - " should no longer be nominating this validator.", + "Emits either `VestingCompleted` or `VestingUpdated`.", "", - "Note: Making this call only makes sense if you first set the validator preferences to", - "block any further nominations." + "# \u003cweight\u003e", + "- `O(1)`.", + "- DbWeight: 3 Reads, 3 Writes", + " - Reads: Vesting Storage, Balances Locks, Target Account", + " - Writes: Vesting Storage, Balances Locks, Target Account", + "# \u003c/weight\u003e" ] }, { - "name": "set_staking_limits", + "name": "vested_transfer", "fields": [ { - "name": "min_nominator_bond", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "min_validator_bond", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "name": "schedule", + "type": 225, + "typeName": "VestingInfo\u003cBalanceOf\u003cT\u003e, T::BlockNumber\u003e", "docs": null - }, + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- `O(1)`.", + "- DbWeight: 3 Reads, 3 Writes", + " - Reads: Vesting Storage, Balances Locks, Target Account, [Sender Account]", + " - Writes: Vesting Storage, Balances Locks, Target Account, [Sender Account]", + "# \u003c/weight\u003e" + ] + }, + { + "name": "force_vested_transfer", + "fields": [ { - "name": "max_nominator_count", - "type": 235, - "typeName": "Option\u003cu32\u003e", + "name": "source", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "max_validator_count", - "type": 235, - "typeName": "Option\u003cu32\u003e", + "name": "target", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "threshold", - "type": 236, - "typeName": "Option\u003cPercent\u003e", + "name": "schedule", + "type": 225, + "typeName": "VestingInfo\u003cBalanceOf\u003cT\u003e, T::BlockNumber\u003e", "docs": null } ], - "index": 23, + "index": 3, "docs": [ - "Update the various staking limits this pallet.", + "Force a vested transfer.", "", - "* `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.", + "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`.", "", - "Origin must be Root to call this function.", + "NOTE: This will unlock all schedules through the current block.", "", - "NOTE: Existing nominators and validators will not be affected by this update.", - "to kick people under the new limits, `chill_other` should be called." + "# \u003cweight\u003e", + "- `O(1)`.", + "- DbWeight: 4 Reads, 4 Writes", + " - Reads: Vesting Storage, Balances Locks, Target Account, Source Account", + " - Writes: Vesting Storage, Balances Locks, Target Account, Source Account", + "# \u003c/weight\u003e" ] }, { - "name": "chill_other", + "name": "merge_schedules", "fields": [ { - "name": "controller", - "type": 0, - "typeName": "T::AccountId", + "name": "schedule1_index", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "schedule2_index", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 24, + "index": 4, "docs": [ - "Declare a `controller` to stop participating as either a validator or nominator.", - "", - "Effects will be felt at the beginning of the next era.", + "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.", "", - "The dispatch origin for this call must be _Signed_, but can be called by anyone.", + "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.", "", - "If the caller is the same as the controller being targeted, then no further checks are", - "enforced, and this function behaves just like `chill`.", + "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)`.", "", - "If the caller is different than the controller being targeted, the following conditions", - "must be met:", - "* 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.", + "The dispatch origin for this call must be _Signed_.", "", - "This can be helpful if bond requirements are updated, and we need to remove old users", - "who do not satisfy these requirements." + "- `schedule1_index`: index of the first schedule to merge.", + "- `schedule2_index`: index of the second schedule to merge." ] } ] @@ -8486,80 +9560,41 @@ "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "234": { - "path": null, - "def": { - "Sequence": { - "type": 196 - } - }, - "docs": null - }, - "235": { + "225": { "path": [ - "Option" + "pallet_vesting", + "vesting_info", + "VestingInfo" ], "params": [ { - "name": "T", + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", "type": 4 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "None", - "fields": null, - "index": 0, + "name": "locked", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "Some", - "fields": [ - { - "type": 4, - "typeName": "", - "docs": null - } - ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "236": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 232 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "None", - "fields": null, - "index": 0, + "name": "per_block", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "Some", - "fields": [ - { - "type": 232, - "typeName": "", - "docs": null - } - ], - "index": 1, + "name": "starting_block", + "type": 4, + "typeName": "BlockNumber", "docs": null } ] @@ -8567,12 +9602,11 @@ }, "docs": null }, - "237": { + "226": { "path": [ - "pallet_staking", - "pallet", + "pallet_scheduler", "pallet", - "Error" + "Call" ], "params": [ { @@ -8584,436 +9618,249 @@ "Variant": { "variants": [ { - "name": "NotController", - "fields": null, + "name": "schedule", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "maybe_periodic", + "type": 227, + "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", + "docs": null + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], "index": 0, "docs": [ - "Not a controller account." + "Anonymously schedule a task." ] }, { - "name": "NotStash", - "fields": null, + "name": "cancel", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "index", + "type": 4, + "typeName": "u32", + "docs": null + } + ], "index": 1, "docs": [ - "Not a stash account." - ] - }, - { - "name": "AlreadyBonded", - "fields": null, - "index": 2, - "docs": [ - "Stash is already bonded." - ] - }, - { - "name": "AlreadyPaired", - "fields": null, - "index": 3, - "docs": [ - "Controller is already paired." - ] - }, - { - "name": "EmptyTargets", - "fields": null, - "index": 4, - "docs": [ - "Targets cannot be empty." + "Cancel an anonymously scheduled task." ] }, { - "name": "DuplicateIndex", - "fields": null, - "index": 5, - "docs": [ - "Duplicate index." - ] - }, - { - "name": "InvalidSlashIndex", - "fields": null, - "index": 6, - "docs": [ - "Slash record index out of bounds." - ] - }, - { - "name": "InsufficientBond", - "fields": null, - "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", - "fields": null, - "index": 8, - "docs": [ - "Can not schedule more unlock chunks." - ] - }, - { - "name": "NoUnlockChunk", - "fields": null, - "index": 9, - "docs": [ - "Can not rebond without unlocking chunks." - ] - }, - { - "name": "FundedTarget", - "fields": null, - "index": 10, - "docs": [ - "Attempting to target a stash that still has funds." - ] - }, - { - "name": "InvalidEraToReward", - "fields": null, - "index": 11, - "docs": [ - "Invalid era to reward." - ] - }, - { - "name": "InvalidNumberOfNominations", - "fields": null, - "index": 12, - "docs": [ - "Invalid number of nominations." - ] - }, - { - "name": "NotSortedAndUnique", - "fields": null, - "index": 13, - "docs": [ - "Items are not sorted and unique." - ] - }, - { - "name": "AlreadyClaimed", - "fields": null, - "index": 14, - "docs": [ - "Rewards for this era have already been claimed for this validator." - ] - }, - { - "name": "IncorrectHistoryDepth", - "fields": null, - "index": 15, - "docs": [ - "Incorrect previous history depth input provided." - ] - }, - { - "name": "IncorrectSlashingSpans", - "fields": null, - "index": 16, - "docs": [ - "Incorrect number of slashing spans provided." - ] - }, - { - "name": "BadState", - "fields": null, - "index": 17, - "docs": [ - "Internal state has become somehow corrupted and the operation cannot continue." - ] - }, - { - "name": "TooManyTargets", - "fields": null, - "index": 18, - "docs": [ - "Too many nomination targets supplied." - ] - }, - { - "name": "BadTarget", - "fields": null, - "index": 19, + "name": "schedule_named", + "fields": [ + { + "name": "id", + "type": 1, + "typeName": "TaskName", + "docs": null + }, + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "maybe_periodic", + "type": 227, + "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", + "docs": null + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], + "index": 2, "docs": [ - "A nomination target was supplied that was blocked or otherwise not a validator." + "Schedule a named task." ] }, { - "name": "CannotChillOther", - "fields": null, - "index": 20, + "name": "cancel_named", + "fields": [ + { + "name": "id", + "type": 1, + "typeName": "TaskName", + "docs": null + } + ], + "index": 3, "docs": [ - "The user has enough bond and thus cannot be chilled forcefully by an external person." + "Cancel a named scheduled task." ] }, { - "name": "TooManyNominators", - "fields": null, - "index": 21, + "name": "schedule_after", + "fields": [ + { + "name": "after", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "maybe_periodic", + "type": 227, + "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", + "docs": null + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], + "index": 4, "docs": [ - "There are too many nominators in the system. Governance needs to adjust the staking", - "settings to keep things safe for the runtime." + "Anonymously schedule a task after a delay.", + "", + "# \u003cweight\u003e", + "Same as [`schedule`].", + "# \u003c/weight\u003e" ] }, { - "name": "TooManyValidators", - "fields": null, - "index": 22, + "name": "schedule_named_after", + "fields": [ + { + "name": "id", + "type": 1, + "typeName": "TaskName", + "docs": null + }, + { + "name": "after", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "maybe_periodic", + "type": 227, + "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", + "docs": null + }, + { + "name": "priority", + "type": 2, + "typeName": "schedule::Priority", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + } + ], + "index": 5, "docs": [ - "There are too many validators in the system. Governance needs to adjust the staking", - "settings to keep things safe for the runtime." + "Schedule a named task after a delay.", + "", + "# \u003cweight\u003e", + "Same as [`schedule_named`](Self::schedule_named).", + "# \u003c/weight\u003e" ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "238": { + "227": { "path": [ - "sp_staking", - "offence", - "OffenceDetails" + "Option" ], "params": [ { - "name": "Reporter", - "type": 0 - }, - { - "name": "Offender", - "type": 41 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "offender", - "type": 41, - "typeName": "Offender", - "docs": null - }, - { - "name": "reporters", - "type": 47, - "typeName": "Vec\u003cReporter\u003e", - "docs": null - } - ] + "name": "T", + "type": 228 } - }, - "docs": null - }, - "239": { - "path": null, - "def": { - "Tuple": [ - 30, - 10 - ] - }, - "docs": null - }, - "24": { - "path": [ - "sp_runtime", - "ArithmeticError" ], "def": { "Variant": { "variants": [ { - "name": "Underflow", + "name": "None", "fields": null, "index": 0, "docs": null }, { - "name": "Overflow", - "fields": null, + "name": "Some", + "fields": [ + { + "type": 228, + "typeName": "", + "docs": null + } + ], "index": 1, "docs": null - }, - { - "name": "DivisionByZero", - "fields": null, - "index": 2, - "docs": null - } - ] - } - }, - "docs": null - }, - "240": { - "path": null, - "def": { - "Sequence": { - "type": 241 - } - }, - "docs": null - }, - "241": { - "path": null, - "def": { - "Tuple": [ - 0, - 242 - ] - }, - "docs": null - }, - "242": { - "path": [ - "kusama_runtime", - "SessionKeys" - ], - "def": { - "Composite": { - "fields": [ - { - "name": "grandpa", - "type": 35, - "typeName": "\u003cGrandpa as $crate::BoundToRuntimeAppPublic\u003e::Public", - "docs": null - }, - { - "name": "babe", - "type": 167, - "typeName": "\u003cBabe as $crate::BoundToRuntimeAppPublic\u003e::Public", - "docs": null - }, - { - "name": "im_online", - "type": 38, - "typeName": "\u003cImOnline as $crate::BoundToRuntimeAppPublic\u003e::Public", - "docs": null - }, - { - "name": "para_validator", - "type": 243, - "typeName": "\u003cInitializer as $crate::BoundToRuntimeAppPublic\u003e::Public", - "docs": null - }, - { - "name": "para_assignment", - "type": 244, - "typeName": "\u003cParaSessionInfo as $crate::BoundToRuntimeAppPublic\u003e::Public", - "docs": null - }, - { - "name": "authority_discovery", - "type": 245, - "typeName": "\u003cAuthorityDiscovery as $crate::BoundToRuntimeAppPublic\u003e::Public", - "docs": null - } - ] - } - }, - "docs": null - }, - "243": { - "path": [ - "polkadot_primitives", - "v0", - "validator_app", - "Public" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 39, - "typeName": "sr25519::Public", - "docs": null - } - ] - } - }, - "docs": null - }, - "244": { - "path": [ - "polkadot_primitives", - "v1", - "assignment_app", - "Public" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 39, - "typeName": "sr25519::Public", - "docs": null - } - ] - } - }, - "docs": null - }, - "245": { - "path": [ - "sp_authority_discovery", - "app", - "Public" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 39, - "typeName": "sr25519::Public", - "docs": null } ] } }, "docs": null }, - "246": { + "228": { "path": null, "def": { "Tuple": [ - 247, - 10 + 4, + 4 ] }, "docs": null }, - "247": { - "path": [ - "sp_core", - "crypto", - "KeyTypeId" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 14, - "typeName": "[u8; 4]", - "docs": null - } - ] - } - }, - "docs": null - }, - "248": { + "229": { "path": [ - "pallet_session", + "pallet_proxy", "pallet", "Call" ], @@ -9027,272 +9874,421 @@ "Variant": { "variants": [ { - "name": "set_keys", + "name": "proxy", "fields": [ { - "name": "keys", - "type": 242, - "typeName": "T::Keys", + "name": "real", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "proof", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "force_proxy_type", + "type": 230, + "typeName": "Option\u003cT::ProxyType\u003e", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", "docs": null } ], "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.", + "Dispatch the given `call` from an account that the sender is authorised for through", + "`add_proxy`.", "", - "The dispatch origin of this function must be signed.", + "Removes any corresponding announcement(s).", "", - "# \u003cweight\u003e", - "- Complexity: `O(1)`. Actual cost depends on the number of length of", - " `T::Keys::key_ids()` which is fixed.", - "- DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`", - "- DbWrites: `origin account`, `NextKeys`", - "- DbReads per key id: `KeyOwner`", - "- DbWrites per key id: `KeyOwner`", - "# \u003c/weight\u003e" + "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": "purge_keys", - "fields": null, + "name": "add_proxy", + "fields": [ + { + "name": "delegate", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "proxy_type", + "type": 231, + "typeName": "T::ProxyType", + "docs": null + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + } + ], "index": 1, "docs": [ - "Removes any session key(s) of the function caller.", - "", - "This doesn't take effect until the next session.", + "Register a proxy account for the sender that is able to make calls on its behalf.", "", - "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).", + "The dispatch origin for this call must be _Signed_.", "", - "# \u003cweight\u003e", - "- Complexity: `O(1)` in number of key types. Actual cost depends on the number of length", - " of `T::Keys::key_ids()` which is fixed.", - "- DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`", - "- DbWrites: `NextKeys`, `origin account`", - "- DbWrites per key id: `KeyOwner`", - "# \u003c/weight\u003e" + "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." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "249": { - "path": [ - "pallet_session", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "InvalidProof", - "fields": null, - "index": 0, + "name": "remove_proxy", + "fields": [ + { + "name": "delegate", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "proxy_type", + "type": 231, + "typeName": "T::ProxyType", + "docs": null + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + } + ], + "index": 2, "docs": [ - "Invalid ownership proof." + "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": "NoAssociatedValidatorId", + "name": "remove_proxies", "fields": null, - "index": 1, + "index": 3, "docs": [ - "No associated validator ID for account." + "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": "DuplicatedKey", - "fields": null, - "index": 2, + "name": "create_pure", + "fields": [ + { + "name": "proxy_type", + "type": 231, + "typeName": "T::ProxyType", + "docs": null + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "index", + "type": 71, + "typeName": "u16", + "docs": null + } + ], + "index": 4, "docs": [ - "Registered duplicate key." + "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": "NoKeys", - "fields": null, - "index": 3, + "name": "kill_pure", + "fields": [ + { + "name": "spawner", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "proxy_type", + "type": 231, + "typeName": "T::ProxyType", + "docs": null + }, + { + "name": "index", + "type": 71, + "typeName": "u16", + "docs": null + }, + { + "name": "height", + "type": 82, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "ext_index", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 5, "docs": [ - "No keys are associated with this account." + "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": "NoAccount", - "fields": null, - "index": 4, + "name": "announce", + "fields": [ + { + "name": "real", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "call_hash", + "type": 11, + "typeName": "CallHashOf\u003cT\u003e", + "docs": null + } + ], + "index": 6, "docs": [ - "Key setting account is not live, so it's impossible to associate keys." + "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." ] - } - ] - } - }, - "docs": [ - "Error for the session pallet." - ] - }, - "25": { - "path": [ - "pallet_indices", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "IndexAssigned", + "name": "remove_announcement", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "real", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "name": "call_hash", + "type": 11, + "typeName": "CallHashOf\u003cT\u003e", "docs": null } ], - "index": 0, + "index": 7, "docs": [ - "A account index was assigned." + "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": "IndexFreed", + "name": "reject_announcement", "fields": [ { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "name": "delegate", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "call_hash", + "type": 11, + "typeName": "CallHashOf\u003cT\u003e", "docs": null } ], - "index": 1, + "index": 8, "docs": [ - "A account index has been freed up (unassigned)." + "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": "IndexFrozen", + "name": "proxy_announced", "fields": [ { - "name": "index", - "type": 4, - "typeName": "T::AccountIndex", + "name": "delegate", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "real", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "force_proxy_type", + "type": 230, + "typeName": "Option\u003cT::ProxyType\u003e", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", "docs": null } ], - "index": 2, + "index": 9, "docs": [ - "A account index has been frozen to its current account ID." + "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": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "250": { + "23": { "path": [ - "pallet_grandpa", - "StoredState" - ], - "params": [ - { - "name": "N", - "type": 4 - } + "frame_support", + "dispatch", + "Pays" ], "def": { "Variant": { "variants": [ { - "name": "Live", + "name": "Yes", "fields": null, "index": 0, "docs": null }, { - "name": "PendingPause", - "fields": [ - { - "name": "scheduled_at", - "type": 4, - "typeName": "N", - "docs": null - }, - { - "name": "delay", - "type": 4, - "typeName": "N", - "docs": null - } - ], + "name": "No", + "fields": null, "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "230": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 231 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "Paused", + "name": "None", "fields": null, - "index": 2, + "index": 0, "docs": null }, { - "name": "PendingResume", + "name": "Some", "fields": [ { - "name": "scheduled_at", - "type": 4, - "typeName": "N", - "docs": null - }, - { - "name": "delay", - "type": 4, - "typeName": "N", + "type": 231, + "typeName": "", "docs": null } ], - "index": 3, + "index": 1, "docs": null } ] @@ -9300,76 +10296,60 @@ }, "docs": null }, - "251": { + "231": { "path": [ - "pallet_grandpa", - "StoredPendingChange" - ], - "params": [ - { - "name": "N", - "type": 4 - }, - { - "name": "Limit", - "type": 0 - } + "kusama_runtime", + "ProxyType" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "scheduled_at", - "type": 4, - "typeName": "N", + "name": "Any", + "fields": null, + "index": 0, "docs": null }, { - "name": "delay", - "type": 4, - "typeName": "N", + "name": "NonTransfer", + "fields": null, + "index": 1, "docs": null }, { - "name": "next_authorities", - "type": 252, - "typeName": "BoundedAuthorityList\u003cLimit\u003e", + "name": "Governance", + "fields": null, + "index": 2, "docs": null }, { - "name": "forced", - "type": 235, - "typeName": "Option\u003cN\u003e", + "name": "Staking", + "fields": null, + "index": 3, "docs": null - } - ] - } - }, - "docs": null - }, - "252": { - "path": [ - "frame_support", - "storage", - "weak_bounded_vec", - "WeakBoundedVec" - ], - "params": [ - { - "name": "T", - "type": 34 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "type": 33, - "typeName": "Vec\u003cT\u003e", + "name": "IdentityJudgement", + "fields": null, + "index": 4, + "docs": null + }, + { + "name": "CancelProxy", + "fields": null, + "index": 5, + "docs": null + }, + { + "name": "Auction", + "fields": null, + "index": 6, + "docs": null + }, + { + "name": "Society", + "fields": null, + "index": 7, "docs": null } ] @@ -9377,9 +10357,9 @@ }, "docs": null }, - "253": { + "232": { "path": [ - "pallet_grandpa", + "pallet_multisig", "pallet", "Call" ], @@ -9393,83 +10373,253 @@ "Variant": { "variants": [ { - "name": "report_equivocation", + "name": "as_multi_threshold_1", "fields": [ { - "name": "equivocation_proof", - "type": 254, - "typeName": "Box\u003cEquivocationProof\u003cT::Hash, T::BlockNumber\u003e\u003e", + "name": "other_signatories", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null }, { - "name": "key_owner_proof", - "type": 181, - "typeName": "T::KeyOwnerProof", + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", "docs": null } ], "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." + "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.", + "", + "# \u003cweight\u003e", + "O(Z + C) where Z is the length of the call and C its execution weight.", + "-------------------------------", + "- DB Weight: None", + "- Plus Call Weight", + "# \u003c/weight\u003e" ] }, { - "name": "report_equivocation_unsigned", + "name": "as_multi", "fields": [ { - "name": "equivocation_proof", - "type": 254, - "typeName": "Box\u003cEquivocationProof\u003cT::Hash, T::BlockNumber\u003e\u003e", + "name": "threshold", + "type": 71, + "typeName": "u16", "docs": null }, { - "name": "key_owner_proof", - "type": 181, - "typeName": "T::KeyOwnerProof", + "name": "other_signatories", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null - } - ], - "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": "maybe_timepoint", + "type": 233, + "typeName": "Option\u003cTimepoint\u003cT::BlockNumber\u003e\u003e", + "docs": null + }, + { + "name": "call", + "type": 73, + "typeName": "Box\u003c\u003cT as Config\u003e::RuntimeCall\u003e", + "docs": null + }, + { + "name": "max_weight", + "type": 8, + "typeName": "Weight", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- `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 \u0026 hash, both of complexity `O(Z)` where `Z` is tx-len.", + "- One encode \u0026 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`.", + "-------------------------------", + "- DB Weight:", + " - Reads: Multisig Storage, [Caller Account]", + " - Writes: Multisig Storage, [Caller Account]", + "- Plus Call Weight", + "# \u003c/weight\u003e" ] }, { - "name": "note_stalled", + "name": "approve_as_multi", "fields": [ { - "name": "delay", - "type": 4, - "typeName": "T::BlockNumber", + "name": "threshold", + "type": 71, + "typeName": "u16", "docs": null }, { - "name": "best_finalized_block_number", - "type": 4, - "typeName": "T::BlockNumber", + "name": "other_signatories", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "maybe_timepoint", + "type": 233, + "typeName": "Option\u003cTimepoint\u003cT::BlockNumber\u003e\u003e", + "docs": null + }, + { + "name": "call_hash", + "type": 1, + "typeName": "[u8; 32]", + "docs": null + }, + { + "name": "max_weight", + "type": 8, + "typeName": "Weight", "docs": null } ], "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 GRANDPA voters", - "will start the new authority set using the given finalized block as base.", - "Only callable by root." + "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.", + "", + "# \u003cweight\u003e", + "- `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 \u0026 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`.", + "----------------------------------", + "- DB Weight:", + " - Read: Multisig Storage, [Caller Account]", + " - Write: Multisig Storage, [Caller Account]", + "# \u003c/weight\u003e" + ] + }, + { + "name": "cancel_as_multi", + "fields": [ + { + "name": "threshold", + "type": 71, + "typeName": "u16", + "docs": null + }, + { + "name": "other_signatories", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "timepoint", + "type": 234, + "typeName": "Timepoint\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "call_hash", + "type": 1, + "typeName": "[u8; 32]", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- `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 \u0026 hash, both of complexity `O(S)`.", + "- One event.", + "- I/O: 1 read `O(S)`, one remove.", + "- Storage: removes one item.", + "----------------------------------", + "- DB Weight:", + " - Read: Multisig Storage, [Caller Account], Refund Account", + " - Write: Multisig Storage, [Caller Account], Refund Account", + "# \u003c/weight\u003e" ] } ] @@ -9479,77 +10629,31 @@ "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "254": { - "path": [ - "sp_finality_grandpa", - "EquivocationProof" - ], - "params": [ - { - "name": "H", - "type": 9 - }, - { - "name": "N", - "type": 4 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "set_id", - "type": 8, - "typeName": "SetId", - "docs": null - }, - { - "name": "equivocation", - "type": 255, - "typeName": "Equivocation\u003cH, N\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "255": { + "233": { "path": [ - "sp_finality_grandpa", - "Equivocation" + "Option" ], "params": [ { - "name": "H", - "type": 9 - }, - { - "name": "N", - "type": 4 + "name": "T", + "type": 234 } ], "def": { "Variant": { "variants": [ { - "name": "Prevote", - "fields": [ - { - "type": 256, - "typeName": "grandpa::Equivocation\u003cAuthorityId, grandpa::Prevote\u003cH, N\u003e,\nAuthoritySignature\u003e", - "docs": null - } - ], + "name": "None", + "fields": null, "index": 0, "docs": null }, { - "name": "Precommit", + "name": "Some", "fields": [ { - "type": 261, - "typeName": "grandpa::Equivocation\u003cAuthorityId, grandpa::Precommit\u003cH, N\u003e,\nAuthoritySignature\u003e", + "type": 234, + "typeName": "", "docs": null } ], @@ -9561,50 +10665,30 @@ }, "docs": null }, - "256": { + "234": { "path": [ - "finality_grandpa", - "Equivocation" + "pallet_multisig", + "Timepoint" ], "params": [ { - "name": "Id", - "type": 35 - }, - { - "name": "V", - "type": 257 - }, - { - "name": "S", - "type": 258 + "name": "BlockNumber", + "type": 4 } ], "def": { "Composite": { "fields": [ { - "name": "round_number", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "identity", - "type": 35, - "typeName": "Id", - "docs": null - }, - { - "name": "first", - "type": 260, - "typeName": "(V, S)", + "name": "height", + "type": 4, + "typeName": "BlockNumber", "docs": null }, { - "name": "second", - "type": 260, - "typeName": "(V, S)", + "name": "index", + "type": 4, + "typeName": "u32", "docs": null } ] @@ -9612,84 +10696,106 @@ }, "docs": null }, - "257": { + "235": { "path": [ - "finality_grandpa", - "Prevote" + "pallet_preimage", + "pallet", + "Call" ], "params": [ { - "name": "H", - "type": 9 - }, - { - "name": "N", - "type": 4 + "name": "T", + "type": 0 } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "target_hash", - "type": 9, - "typeName": "H", - "docs": null + "name": "note_preimage", + "fields": [ + { + "name": "bytes", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "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": "target_number", - "type": 4, - "typeName": "N", - "docs": null - } - ] - } - }, - "docs": null - }, - "258": { - "path": [ - "sp_finality_grandpa", - "app", - "Signature" - ], - "def": { - "Composite": { - "fields": [ + "name": "unnote_preimage", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "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`." + ] + }, { - "type": 259, - "typeName": "ed25519::Signature", - "docs": null - } - ] - } - }, - "docs": null - }, - "259": { - "path": [ - "sp_core", - "ed25519", - "Signature" - ], - "def": { - "Composite": { - "fields": [ + "name": "request_preimage", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "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." + ] + }, { - "type": 89, - "typeName": "[u8; 64]", - "docs": null + "name": "unrequest_preimage", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "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": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "26": { + "236": { "path": [ - "pallet_balances", + "pallet_bounties", "pallet", - "Event" + "Call" ], "params": [ { @@ -9705,359 +10811,266 @@ "Variant": { "variants": [ { - "name": "Endowed", + "name": "propose_bounty", "fields": [ { - "name": "account", - "type": 0, - "typeName": "T::AccountId", + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null }, { - "name": "free_balance", - "type": 6, - "typeName": "T::Balance", + "name": "description", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null } ], "index": 0, "docs": [ - "An account was created with some free balance." + "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": "DustLost", + "name": "approve_bounty", "fields": [ { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null } ], "index": 1, "docs": [ - "An account was removed whose balance was non-zero but below ExistentialDeposit,", - "resulting in an outright loss." + "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`.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "Transfer", + "name": "propose_curator", "fields": [ { - "name": "from", - "type": 0, - "typeName": "T::AccountId", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null }, { - "name": "to", - "type": 0, - "typeName": "T::AccountId", + "name": "curator", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "name": "fee", + "type": 53, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], "index": 2, "docs": [ - "Transfer succeeded." + "Assign a curator to a funded bounty.", + "", + "May only be called from `T::SpendOrigin`.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "BalanceSet", + "name": "unassign_curator", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "free", - "type": 6, - "typeName": "T::Balance", - "docs": null - }, - { - "name": "reserved", - "type": 6, - "typeName": "T::Balance", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null } ], "index": 3, "docs": [ - "A balance was set by root." - ] - }, - { - "name": "Reserved", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "T::Balance", - "docs": null - } - ], - "index": 4, - "docs": [ - "Some balance was reserved (moved from free to reserved)." + "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.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "Unreserved", + "name": "accept_curator", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null } ], - "index": 5, + "index": 4, "docs": [ - "Some balance was unreserved (moved from reserved to free)." + "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.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "ReserveRepatriated", + "name": "award_bounty", "fields": [ { - "name": "from", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "to", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null }, { - "name": "destination_status", - "type": 27, - "typeName": "Status", + "name": "beneficiary", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 6, + "index": 5, "docs": [ - "Some balance was moved from the reserve of the first account to the second account.", - "Final argument indicates the destination balance type." + "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.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "Deposit", + "name": "claim_bounty", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null } ], - "index": 7, + "index": 6, "docs": [ - "Some amount was deposited (e.g. for transaction fees)." + "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.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "Withdraw", + "name": "close_bounty", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null } ], - "index": 8, + "index": 7, "docs": [ - "Some amount was withdrawn from the account (e.g. for transaction fees)." + "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.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "Slashed", + "name": "extend_bounty_expiry", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "bounty_id", + "type": 82, + "typeName": "BountyIndex", "docs": null }, { - "name": "amount", - "type": 6, - "typeName": "T::Balance", + "name": "remark", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null } ], - "index": 9, + "index": 8, "docs": [ - "Some amount was removed from the account (e.g. for misbehavior)." + "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.", + "", + "# \u003cweight\u003e", + "- O(1).", + "# \u003c/weight\u003e" ] } ] } }, "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "260": { - "path": null, - "def": { - "Tuple": [ - 257, - 258 - ] - }, - "docs": null - }, - "261": { - "path": [ - "finality_grandpa", - "Equivocation" - ], - "params": [ - { - "name": "Id", - "type": 35 - }, - { - "name": "V", - "type": 262 - }, - { - "name": "S", - "type": 258 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "round_number", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "identity", - "type": 35, - "typeName": "Id", - "docs": null - }, - { - "name": "first", - "type": 263, - "typeName": "(V, S)", - "docs": null - }, - { - "name": "second", - "type": 263, - "typeName": "(V, S)", - "docs": null - } - ] - } - }, - "docs": null - }, - "262": { - "path": [ - "finality_grandpa", - "Precommit" - ], - "params": [ - { - "name": "H", - "type": 9 - }, - { - "name": "N", - "type": 4 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "target_hash", - "type": 9, - "typeName": "H", - "docs": null - }, - { - "name": "target_number", - "type": 4, - "typeName": "N", - "docs": null - } - ] - } - }, - "docs": null - }, - "263": { - "path": null, - "def": { - "Tuple": [ - 262, - 258 - ] - }, - "docs": null - }, - "264": { + "237": { "path": [ - "pallet_grandpa", + "pallet_child_bounties", "pallet", - "Error" + "Call" ], "params": [ { @@ -10069,279 +11082,567 @@ "Variant": { "variants": [ { - "name": "PauseFailed", - "fields": null, + "name": "add_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "description", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], "index": 0, "docs": [ - "Attempt to signal GRANDPA pause when the authority set isn't live", - "(either paused or already pending pause)." + "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 \u0026 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": "ResumeFailed", - "fields": null, + "name": "propose_curator", + "fields": [ + { + "name": "parent_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "curator", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "fee", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], "index": 1, "docs": [ - "Attempt to signal GRANDPA resume when the authority set isn't paused", - "(either live or already pending resume)." + "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": "ChangePending", - "fields": null, + "name": "accept_curator", + "fields": [ + { + "name": "parent_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + } + ], "index": 2, "docs": [ - "Attempt to signal GRANDPA change with one already pending." + "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": "TooSoon", - "fields": null, + "name": "unassign_curator", + "fields": [ + { + "name": "parent_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + } + ], "index": 3, "docs": [ - "Cannot signal forced change so soon after last." + "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": "InvalidKeyOwnershipProof", - "fields": null, + "name": "award_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "beneficiary", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + } + ], "index": 4, "docs": [ - "A key ownership proof provided as part of an equivocation report is invalid." + "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": "InvalidEquivocationProof", - "fields": null, + "name": "claim_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + } + ], "index": 5, "docs": [ - "An equivocation proof provided as part of an equivocation report is invalid." + "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 \u0026 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": "DuplicateOffenceReport", - "fields": null, + "name": "close_child_bounty", + "fields": [ + { + "name": "parent_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_bounty_id", + "type": 82, + "typeName": "BountyIndex", + "docs": null + } + ], "index": 6, "docs": [ - "A given equivocation report is valid but already previously reported." + "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 \u0026", + "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": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "265": { + "238": { "path": [ - "frame_support", - "storage", - "weak_bounded_vec", - "WeakBoundedVec" + "pallet_tips", + "pallet", + "Call" ], "params": [ { "name": "T", - "type": 38 + "type": 0 }, { - "name": "S", + "name": "I", "type": 0 } ], "def": { - "Composite": { - "fields": [ - { - "type": 266, - "typeName": "Vec\u003cT\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "266": { - "path": null, - "def": { - "Sequence": { - "type": 38 - } - }, - "docs": null - }, - "267": { - "path": [ - "frame_support", - "traits", - "misc", - "WrapperOpaque" - ], - "params": [ - { - "name": "T", - "type": 268 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 112, - "typeName": "", - "docs": null - }, + "Variant": { + "variants": [ { - "type": 268, - "typeName": "T", - "docs": null - } - ] - } - }, - "docs": null - }, - "268": { - "path": [ - "pallet_im_online", - "BoundedOpaqueNetworkState" - ], - "params": [ - { - "name": "PeerIdEncodingLimit", - "type": 0 - }, - { - "name": "MultiAddrEncodingLimit", - "type": 0 - }, - { - "name": "AddressesLimit", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "peer_id", - "type": 269, - "typeName": "WeakBoundedVec\u003cu8, PeerIdEncodingLimit\u003e", - "docs": null + "name": "report_awesome", + "fields": [ + { + "name": "reason", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + }, + { + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- Complexity: `O(R)` where `R` length of `reason`.", + " - encoding and hashing of 'reason'", + "- DbReads: `Reasons`, `Tips`", + "- DbWrites: `Reasons`, `Tips`", + "# \u003c/weight\u003e" + ] }, { - "name": "external_addresses", - "type": 270, - "typeName": "WeakBoundedVec\u003cWeakBoundedVec\u003cu8, MultiAddrEncodingLimit\u003e, AddressesLimit\n\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "269": { - "path": [ - "frame_support", - "storage", - "weak_bounded_vec", - "WeakBoundedVec" - ], - "params": [ - { - "name": "T", - "type": 2 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + "name": "retract_tip", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- Complexity: `O(1)`", + " - Depends on the length of `T::Hash` which is fixed.", + "- DbReads: `Tips`, `origin account`", + "- DbWrites: `Reasons`, `Tips`, `origin account`", + "# \u003c/weight\u003e" + ] + }, { - "type": 10, - "typeName": "Vec\u003cT\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "27": { - "path": [ - "frame_support", - "traits", - "tokens", - "misc", - "BalanceStatus" - ], - "def": { - "Variant": { - "variants": [ + "name": "tip_new", + "fields": [ + { + "name": "reason", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + }, + { + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "tip_value", + "type": 53, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- 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`", + "- DbReads: `Tippers`, `Reasons`", + "- DbWrites: `Reasons`, `Tips`", + "# \u003c/weight\u003e" + ] + }, { - "name": "Free", - "fields": null, - "index": 0, - "docs": null + "name": "tip", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "tip_value", + "type": 53, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- 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`.", + "- DbReads: `Tippers`, `Tips`", + "- DbWrites: `Tips`", + "# \u003c/weight\u003e" + ] }, { - "name": "Reserved", - "fields": null, - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "270": { - "path": [ - "frame_support", - "storage", - "weak_bounded_vec", - "WeakBoundedVec" - ], - "params": [ - { - "name": "T", - "type": 269 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + "name": "close_tip", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- 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`.", + "- DbReads: `Tips`, `Tippers`, `tip finder`", + "- DbWrites: `Reasons`, `Tips`, `Tippers`, `tip finder`", + "# \u003c/weight\u003e" + ] + }, { - "type": 271, - "typeName": "Vec\u003cT\u003e", - "docs": null + "name": "slash_tip", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + " `T` is charged as upper bound given by `ContainsLengthBound`.", + " The actual cost depends on the implementation of `T::Tippers`.", + "# \u003c/weight\u003e" + ] } ] } }, - "docs": null - }, - "271": { - "path": null, - "def": { - "Sequence": { - "type": 269 - } - }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "272": { + "239": { "path": [ - "pallet_im_online", + "pallet_election_provider_multi_phase", "pallet", "Call" ], @@ -10355,32 +11656,125 @@ "Variant": { "variants": [ { - "name": "heartbeat", + "name": "submit_unsigned", "fields": [ { - "name": "heartbeat", - "type": 273, - "typeName": "Heartbeat\u003cT::BlockNumber\u003e", + "name": "raw_solution", + "type": 240, + "typeName": "Box\u003cRawSolution\u003cSolutionOf\u003cT::MinerConfig\u003e\u003e\u003e", "docs": null }, { - "name": "signature", - "type": 278, - "typeName": "\u003cT::AuthorityId as RuntimeAppPublic\u003e::Signature", + "name": "witness", + "type": 317, + "typeName": "SolutionOrSnapshotSize", "docs": null } ], "index": 0, "docs": [ - "# \u003cweight\u003e", - "- 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`", - "- DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,", - " `ReceivedHeartbeats`", - "- DbWrites: `ReceivedHeartbeats`", - "# \u003c/weight\u003e" + "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": 318, + "typeName": "Option\u003cElectionScore\u003e", + "docs": null + } + ], + "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": 319, + "typeName": "Supports\u003cT::AccountId\u003e", + "docs": null + } + ], + "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": 240, + "typeName": "Box\u003cRawSolution\u003cSolutionOf\u003cT::MinerConfig\u003e\u003e\u003e", + "docs": null + } + ], + "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": 134, + "typeName": "Option\u003cu32\u003e", + "docs": null + }, + { + "name": "maybe_max_targets", + "type": 134, + "typeName": "Option\u003cu32\u003e", + "docs": null + } + ], + "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`]." ] } ] @@ -10390,92 +11784,114 @@ "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "273": { + "24": { "path": [ - "pallet_im_online", - "Heartbeat" - ], - "params": [ - { - "name": "BlockNumber", - "type": 4 - } + "sp_runtime", + "DispatchError" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "block_number", - "type": 4, - "typeName": "BlockNumber", + "name": "Other", + "fields": null, + "index": 0, "docs": null }, { - "name": "network_state", - "type": 274, - "typeName": "OpaqueNetworkState", + "name": "CannotLookup", + "fields": null, + "index": 1, "docs": null }, { - "name": "session_index", - "type": 4, - "typeName": "SessionIndex", + "name": "BadOrigin", + "fields": null, + "index": 2, "docs": null }, { - "name": "authority_index", - "type": 4, - "typeName": "AuthIndex", + "name": "Module", + "fields": [ + { + "type": 25, + "typeName": "ModuleError", + "docs": null + } + ], + "index": 3, "docs": null }, { - "name": "validators_len", - "type": 4, - "typeName": "u32", + "name": "ConsumerRemaining", + "fields": null, + "index": 4, "docs": null - } - ] - } - }, - "docs": null - }, - "274": { - "path": [ - "sp_core", - "offchain", - "OpaqueNetworkState" - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "peer_id", - "type": 275, - "typeName": "OpaquePeerId", + "name": "NoProviders", + "fields": null, + "index": 5, "docs": null }, { - "name": "external_addresses", - "type": 276, - "typeName": "Vec\u003cOpaqueMultiaddr\u003e", + "name": "TooManyConsumers", + "fields": null, + "index": 6, "docs": null - } - ] - } - }, - "docs": null - }, - "275": { - "path": [ - "sp_core", - "OpaquePeerId" - ], - "def": { - "Composite": { - "fields": [ + }, { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "Token", + "fields": [ + { + "type": 26, + "typeName": "TokenError", + "docs": null + } + ], + "index": 7, + "docs": null + }, + { + "name": "Arithmetic", + "fields": [ + { + "type": 27, + "typeName": "ArithmeticError", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "Transactional", + "fields": [ + { + "type": 28, + "typeName": "TransactionalError", + "docs": null + } + ], + "index": 9, + "docs": null + }, + { + "name": "Exhausted", + "fields": null, + "index": 10, + "docs": null + }, + { + "name": "Corruption", + "fields": null, + "index": 11, + "docs": null + }, + { + "name": "Unavailable", + "fields": null, + "index": 12, "docs": null } ] @@ -10483,27 +11899,36 @@ }, "docs": null }, - "276": { - "path": null, - "def": { - "Sequence": { - "type": 277 - } - }, - "docs": null - }, - "277": { + "240": { "path": [ - "sp_core", - "offchain", - "OpaqueMultiaddr" + "pallet_election_provider_multi_phase", + "RawSolution" + ], + "params": [ + { + "name": "S", + "type": 241 + } ], "def": { "Composite": { "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "solution", + "type": 241, + "typeName": "S", + "docs": null + }, + { + "name": "score", + "type": 316, + "typeName": "ElectionScore", + "docs": null + }, + { + "name": "round", + "type": 4, + "typeName": "u32", "docs": null } ] @@ -10511,396 +11936,242 @@ }, "docs": null }, - "278": { + "241": { "path": [ - "pallet_im_online", - "sr25519", - "app_sr25519", - "Signature" + "kusama_runtime", + "NposCompactSolution24" ], "def": { "Composite": { "fields": [ { - "type": 88, - "typeName": "sr25519::Signature", + "name": "votes1", + "type": 242, + "typeName": "", "docs": null - } - ] - } - }, - "docs": null - }, - "279": { - "path": [ - "pallet_im_online", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "InvalidKey", - "fields": null, - "index": 0, - "docs": [ - "Non existent public key." - ] + "name": "votes2", + "type": 245, + "typeName": "", + "docs": null }, { - "name": "DuplicatedHeartbeat", - "fields": null, - "index": 1, - "docs": [ - "Duplicated heartbeat." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "28": { - "path": [ - "pallet_staking", - "pallet", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "name": "votes3", + "type": 250, + "typeName": "", + "docs": null + }, { - "name": "EraPaid", - "fields": [ - { - "type": 4, - "typeName": "EraIndex", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "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.", - "\\[era_index, validator_payout, remainder\\]" - ] + "name": "votes4", + "type": 253, + "typeName": "", + "docs": null }, { - "name": "Rewarded", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 1, - "docs": [ - "The nominator has been rewarded by this amount. \\[stash, amount\\]" - ] + "name": "votes5", + "type": 256, + "typeName": "", + "docs": null }, { - "name": "Slashed", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 2, - "docs": [ - "One validator (and its nominators) has been slashed by the given amount.", - "\\[validator, amount\\]" - ] + "name": "votes6", + "type": 259, + "typeName": "", + "docs": null }, { - "name": "OldSlashingReportDiscarded", - "fields": [ - { - "type": 4, - "typeName": "SessionIndex", - "docs": null - } - ], - "index": 3, - "docs": [ - "An old slashing report from a prior era was discarded because it could", - "not be processed. \\[session_index\\]" - ] + "name": "votes7", + "type": 262, + "typeName": "", + "docs": null }, { - "name": "StakersElected", - "fields": null, - "index": 4, - "docs": [ - "A new set of stakers was elected." - ] + "name": "votes8", + "type": 265, + "typeName": "", + "docs": null }, { - "name": "Bonded", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 5, - "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": "votes9", + "type": 268, + "typeName": "", + "docs": null }, { - "name": "Unbonded", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 6, - "docs": [ - "An account has unbonded this amount. \\[stash, amount\\]" - ] + "name": "votes10", + "type": 271, + "typeName": "", + "docs": null }, { - "name": "Withdrawn", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 7, - "docs": [ - "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`", - "from the unlocking queue. \\[stash, amount\\]" - ] + "name": "votes11", + "type": 274, + "typeName": "", + "docs": null }, { - "name": "Kicked", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 8, - "docs": [ - "A nominator has been kicked from a validator. \\[nominator, stash\\]" - ] + "name": "votes12", + "type": 277, + "typeName": "", + "docs": null }, { - "name": "StakingElectionFailed", - "fields": null, - "index": 9, - "docs": [ - "The election failed. No new era is planned." - ] + "name": "votes13", + "type": 280, + "typeName": "", + "docs": null }, { - "name": "Chilled", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 10, - "docs": [ - "An account has stopped participating as either a validator or nominator.", - "\\[stash\\]" - ] + "name": "votes14", + "type": 283, + "typeName": "", + "docs": null }, { - "name": "PayoutStarted", - "fields": [ - { - "type": 4, - "typeName": "EraIndex", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 11, - "docs": [ - "The stakers' rewards are getting paid. \\[era_index, validator_stash\\]" - ] + "name": "votes15", + "type": 286, + "typeName": "", + "docs": null + }, + { + "name": "votes16", + "type": 289, + "typeName": "", + "docs": null + }, + { + "name": "votes17", + "type": 292, + "typeName": "", + "docs": null + }, + { + "name": "votes18", + "type": 295, + "typeName": "", + "docs": null + }, + { + "name": "votes19", + "type": 298, + "typeName": "", + "docs": null + }, + { + "name": "votes20", + "type": 301, + "typeName": "", + "docs": null + }, + { + "name": "votes21", + "type": 304, + "typeName": "", + "docs": null + }, + { + "name": "votes22", + "type": 307, + "typeName": "", + "docs": null + }, + { + "name": "votes23", + "type": 310, + "typeName": "", + "docs": null + }, + { + "name": "votes24", + "type": 313, + "typeName": "", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "280": { + "242": { "path": null, "def": { "Sequence": { - "type": 281 + "type": 243 } }, "docs": null }, - "281": { + "243": { "path": null, "def": { "Tuple": [ - 4, - 9, - 0 + 82, + 244 ] }, "docs": null }, - "282": { + "244": { + "path": null, + "def": { + "Compact": { + "type": 71 + } + }, + "docs": null + }, + "245": { + "path": null, + "def": { + "Sequence": { + "type": 246 + } + }, + "docs": null + }, + "246": { "path": null, "def": { "Tuple": [ - 47, - 6 + 82, + 247, + 244 ] }, "docs": null }, - "283": { - "path": [ - "pallet_democracy", - "PreimageStatus" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - }, - { - "name": "Balance", - "type": 6 - }, - { - "name": "BlockNumber", - "type": 4 + "247": { + "path": null, + "def": { + "Tuple": [ + 244, + 248 + ] + }, + "docs": null + }, + "248": { + "path": null, + "def": { + "Compact": { + "type": 249 } + }, + "docs": null + }, + "249": { + "path": [ + "sp_arithmetic", + "per_things", + "PerU16" ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Missing", - "fields": [ - { - "type": 4, - "typeName": "BlockNumber", - "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "Available", - "fields": [ - { - "name": "data", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - }, - { - "name": "provider", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "since", - "type": 4, - "typeName": "BlockNumber", - "docs": null - }, - { - "name": "expiry", - "type": 235, - "typeName": "Option\u003cBlockNumber\u003e", - "docs": null - } - ], - "index": 1, + "type": 71, + "typeName": "u16", "docs": null } ] @@ -10908,58 +12179,24 @@ }, "docs": null }, - "284": { + "25": { "path": [ - "pallet_democracy", - "types", - "ReferendumInfo" - ], - "params": [ - { - "name": "BlockNumber", - "type": 4 - }, - { - "name": "Hash", - "type": 9 - }, - { - "name": "Balance", - "type": 6 - } + "sp_runtime", + "ModuleError" ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Ongoing", - "fields": [ - { - "type": 285, - "typeName": "ReferendumStatus\u003cBlockNumber, Hash, Balance\u003e", - "docs": null - } - ], - "index": 0, + "name": "index", + "type": 2, + "typeName": "u8", "docs": null }, { - "name": "Finished", - "fields": [ - { - "name": "approved", - "type": 52, - "typeName": "bool", - "docs": null - }, - { - "name": "end", - "type": 4, - "typeName": "BlockNumber", - "docs": null - } - ], - "index": 1, + "name": "error", + "type": 16, + "typeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]", "docs": null } ] @@ -10967,440 +12204,151 @@ }, "docs": null }, - "285": { - "path": [ - "pallet_democracy", - "types", - "ReferendumStatus" - ], - "params": [ - { - "name": "BlockNumber", - "type": 4 - }, - { - "name": "Hash", - "type": 9 - }, - { - "name": "Balance", - "type": 6 - } - ], + "250": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "name": "end", - "type": 4, - "typeName": "BlockNumber", - "docs": null - }, - { - "name": "proposal_hash", - "type": 9, - "typeName": "Hash", - "docs": null - }, - { - "name": "threshold", - "type": 48, - "typeName": "VoteThreshold", - "docs": null - }, - { - "name": "delay", - "type": 4, - "typeName": "BlockNumber", - "docs": null - }, - { - "name": "tally", - "type": 286, - "typeName": "Tally\u003cBalance\u003e", - "docs": null - } - ] + "Sequence": { + "type": 251 } }, "docs": null }, - "286": { - "path": [ - "pallet_democracy", - "types", - "Tally" - ], - "params": [ - { - "name": "Balance", - "type": 6 - } - ], + "251": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "name": "ayes", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "nays", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "turnout", - "type": 6, - "typeName": "Balance", - "docs": null - } - ] - } + "Tuple": [ + 82, + 252, + 244 + ] }, "docs": null }, - "287": { - "path": [ - "pallet_democracy", - "vote", - "Voting" - ], - "params": [ - { - "name": "Balance", - "type": 6 - }, - { - "name": "AccountId", - "type": 0 - }, - { - "name": "BlockNumber", - "type": 4 - } - ], + "252": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "Direct", - "fields": [ - { - "name": "votes", - "type": 288, - "typeName": "Vec\u003c(ReferendumIndex, AccountVote\u003cBalance\u003e)\u003e", - "docs": null - }, - { - "name": "delegations", - "type": 292, - "typeName": "Delegations\u003cBalance\u003e", - "docs": null - }, - { - "name": "prior", - "type": 293, - "typeName": "PriorLock\u003cBlockNumber, Balance\u003e", - "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "Delegating", - "fields": [ - { - "name": "balance", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "target", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "conviction", - "type": 294, - "typeName": "Conviction", - "docs": null - }, - { - "name": "delegations", - "type": 292, - "typeName": "Delegations\u003cBalance\u003e", - "docs": null - }, - { - "name": "prior", - "type": 293, - "typeName": "PriorLock\u003cBlockNumber, Balance\u003e", - "docs": null - } - ], - "index": 1, - "docs": null - } - ] + "Array": { + "len": 2, + "type": 247 } }, "docs": null }, - "288": { + "253": { "path": null, "def": { "Sequence": { - "type": 289 + "type": 254 } }, "docs": null }, - "289": { + "254": { "path": null, "def": { "Tuple": [ - 4, - 290 + 82, + 255, + 244 ] }, "docs": null }, - "29": { - "path": [ - "pallet_offences", - "pallet", - "Event" - ], + "255": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "Offence", - "fields": [ - { - "name": "kind", - "type": 30, - "typeName": "Kind", - "docs": null - }, - { - "name": "timeslot", - "type": 10, - "typeName": "OpaqueTimeSlot", - "docs": null - } - ], - "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\\]." - ] - } - ] + "Array": { + "len": 3, + "type": 247 } }, - "docs": [ - "Events type." - ] + "docs": null }, - "290": { - "path": [ - "pallet_democracy", - "vote", - "AccountVote" - ], - "params": [ - { - "name": "Balance", - "type": 6 - } - ], + "256": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "Standard", - "fields": [ - { - "name": "vote", - "type": 291, - "typeName": "Vote", - "docs": null - }, - { - "name": "balance", - "type": 6, - "typeName": "Balance", - "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "Split", - "fields": [ - { - "name": "aye", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "nay", - "type": 6, - "typeName": "Balance", - "docs": null - } - ], - "index": 1, - "docs": null - } - ] + "Sequence": { + "type": 257 } }, "docs": null }, - "291": { - "path": [ - "pallet_democracy", - "vote", - "Vote" - ], + "257": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ] - } + "Tuple": [ + 82, + 258, + 244 + ] }, "docs": null }, - "292": { - "path": [ - "pallet_democracy", - "types", - "Delegations" - ], - "params": [ - { - "name": "Balance", - "type": 6 - } - ], + "258": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "name": "votes", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "capital", - "type": 6, - "typeName": "Balance", - "docs": null - } - ] + "Array": { + "len": 4, + "type": 247 } }, "docs": null }, - "293": { - "path": [ - "pallet_democracy", - "vote", - "PriorLock" - ], - "params": [ - { - "name": "BlockNumber", - "type": 4 - }, - { - "name": "Balance", - "type": 6 - } - ], + "259": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "type": 4, - "typeName": "BlockNumber", - "docs": null - }, - { - "type": 6, - "typeName": "Balance", - "docs": null - } - ] + "Sequence": { + "type": 260 } }, "docs": null }, - "294": { + "26": { "path": [ - "pallet_democracy", - "conviction", - "Conviction" + "sp_runtime", + "TokenError" ], "def": { "Variant": { "variants": [ { - "name": "None", + "name": "NoFunds", "fields": null, "index": 0, "docs": null }, { - "name": "Locked1x", + "name": "WouldDie", "fields": null, "index": 1, "docs": null }, { - "name": "Locked2x", + "name": "BelowMinimum", "fields": null, "index": 2, "docs": null }, { - "name": "Locked3x", + "name": "CannotCreate", "fields": null, "index": 3, "docs": null }, { - "name": "Locked4x", + "name": "UnknownAsset", "fields": null, "index": 4, "docs": null }, { - "name": "Locked5x", + "name": "Frozen", "fields": null, "index": 5, "docs": null }, { - "name": "Locked6x", + "name": "Unsupported", "fields": null, "index": 6, "docs": null @@ -11410,52 +12358,369 @@ }, "docs": null }, - "295": { + "260": { "path": null, "def": { "Tuple": [ - 9, - 48 + 82, + 261, + 244 ] }, "docs": null }, - "296": { + "261": { + "path": null, + "def": { + "Array": { + "len": 5, + "type": 247 + } + }, + "docs": null + }, + "262": { + "path": null, + "def": { + "Sequence": { + "type": 263 + } + }, + "docs": null + }, + "263": { "path": null, "def": { "Tuple": [ - 4, - 47 + 82, + 264, + 244 ] }, "docs": null }, - "297": { - "path": [ - "pallet_democracy", - "Releases" - ], + "264": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "V1", - "fields": null, - "index": 0, - "docs": null - } - ] + "Array": { + "len": 6, + "type": 247 } }, "docs": null }, - "298": { - "path": [ - "pallet_democracy", - "pallet", - "Call" - ], - "params": [ + "265": { + "path": null, + "def": { + "Sequence": { + "type": 266 + } + }, + "docs": null + }, + "266": { + "path": null, + "def": { + "Tuple": [ + 82, + 267, + 244 + ] + }, + "docs": null + }, + "267": { + "path": null, + "def": { + "Array": { + "len": 7, + "type": 247 + } + }, + "docs": null + }, + "268": { + "path": null, + "def": { + "Sequence": { + "type": 269 + } + }, + "docs": null + }, + "269": { + "path": null, + "def": { + "Tuple": [ + 82, + 270, + 244 + ] + }, + "docs": null + }, + "27": { + "path": [ + "sp_arithmetic", + "ArithmeticError" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Underflow", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Overflow", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "DivisionByZero", + "fields": null, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "270": { + "path": null, + "def": { + "Array": { + "len": 8, + "type": 247 + } + }, + "docs": null + }, + "271": { + "path": null, + "def": { + "Sequence": { + "type": 272 + } + }, + "docs": null + }, + "272": { + "path": null, + "def": { + "Tuple": [ + 82, + 273, + 244 + ] + }, + "docs": null + }, + "273": { + "path": null, + "def": { + "Array": { + "len": 9, + "type": 247 + } + }, + "docs": null + }, + "274": { + "path": null, + "def": { + "Sequence": { + "type": 275 + } + }, + "docs": null + }, + "275": { + "path": null, + "def": { + "Tuple": [ + 82, + 276, + 244 + ] + }, + "docs": null + }, + "276": { + "path": null, + "def": { + "Array": { + "len": 10, + "type": 247 + } + }, + "docs": null + }, + "277": { + "path": null, + "def": { + "Sequence": { + "type": 278 + } + }, + "docs": null + }, + "278": { + "path": null, + "def": { + "Tuple": [ + 82, + 279, + 244 + ] + }, + "docs": null + }, + "279": { + "path": null, + "def": { + "Array": { + "len": 11, + "type": 247 + } + }, + "docs": null + }, + "28": { + "path": [ + "sp_runtime", + "TransactionalError" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "LimitReached", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "NoLayer", + "fields": null, + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "280": { + "path": null, + "def": { + "Sequence": { + "type": 281 + } + }, + "docs": null + }, + "281": { + "path": null, + "def": { + "Tuple": [ + 82, + 282, + 244 + ] + }, + "docs": null + }, + "282": { + "path": null, + "def": { + "Array": { + "len": 12, + "type": 247 + } + }, + "docs": null + }, + "283": { + "path": null, + "def": { + "Sequence": { + "type": 284 + } + }, + "docs": null + }, + "284": { + "path": null, + "def": { + "Tuple": [ + 82, + 285, + 244 + ] + }, + "docs": null + }, + "285": { + "path": null, + "def": { + "Array": { + "len": 13, + "type": 247 + } + }, + "docs": null + }, + "286": { + "path": null, + "def": { + "Sequence": { + "type": 287 + } + }, + "docs": null + }, + "287": { + "path": null, + "def": { + "Tuple": [ + 82, + 288, + 244 + ] + }, + "docs": null + }, + "288": { + "path": null, + "def": { + "Array": { + "len": 14, + "type": 247 + } + }, + "docs": null + }, + "289": { + "path": null, + "def": { + "Sequence": { + "type": 290 + } + }, + "docs": null + }, + "29": { + "path": [ + "pallet_indices", + "pallet", + "Event" + ], + "params": [ { "name": "T", "type": 0 @@ -11465,962 +12730,697 @@ "Variant": { "variants": [ { - "name": "propose", + "name": "IndexAssigned", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "name": "index", + "type": 4, + "typeName": "T::AccountIndex", "docs": null } ], "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`.", - "", - "Weight: `O(p)`" + "A account index was assigned." ] }, { - "name": "second", + "name": "IndexFreed", "fields": [ { - "name": "proposal", - "type": 112, - "typeName": "PropIndex", - "docs": null - }, - { - "name": "seconds_upper_bound", - "type": 112, - "typeName": "u32", + "name": "index", + "type": 4, + "typeName": "T::AccountIndex", "docs": null } ], "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.", - "- `seconds_upper_bound`: an upper bound on the current number of seconds on this", - " proposal. Extrinsic is weighted according to this value with no refund.", - "", - "Weight: `O(S)` where S is the number of seconds a proposal already has." + "A account index has been freed up (unassigned)." ] }, { - "name": "vote", + "name": "IndexFrozen", "fields": [ { - "name": "ref_index", - "type": 112, - "typeName": "ReferendumIndex", + "name": "index", + "type": 4, + "typeName": "T::AccountIndex", "docs": null }, { - "name": "vote", - "type": 290, - "typeName": "AccountVote\u003cBalanceOf\u003cT\u003e\u003e", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null } ], "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.", - "", - "Weight: `O(R)` where R is the number of referendums the voter has voted on." + "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" + ] + }, + "290": { + "path": null, + "def": { + "Tuple": [ + 82, + 291, + 244 + ] + }, + "docs": null + }, + "291": { + "path": null, + "def": { + "Array": { + "len": 15, + "type": 247 + } + }, + "docs": null + }, + "292": { + "path": null, + "def": { + "Sequence": { + "type": 293 + } + }, + "docs": null + }, + "293": { + "path": null, + "def": { + "Tuple": [ + 82, + 294, + 244 + ] + }, + "docs": null + }, + "294": { + "path": null, + "def": { + "Array": { + "len": 16, + "type": 247 + } + }, + "docs": null + }, + "295": { + "path": null, + "def": { + "Sequence": { + "type": 296 + } + }, + "docs": null + }, + "296": { + "path": null, + "def": { + "Tuple": [ + 82, + 297, + 244 + ] + }, + "docs": null + }, + "297": { + "path": null, + "def": { + "Array": { + "len": 17, + "type": 247 + } + }, + "docs": null + }, + "298": { + "path": null, + "def": { + "Sequence": { + "type": 299 + } + }, + "docs": null + }, + "299": { + "path": null, + "def": { + "Tuple": [ + 82, + 300, + 244 + ] + }, + "docs": null + }, + "3": { + "path": [ + "frame_system", + "AccountInfo" + ], + "params": [ + { + "name": "Index", + "type": 4 + }, + { + "name": "AccountData", + "type": 5 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "nonce", + "type": 4, + "typeName": "Index", + "docs": null }, { - "name": "emergency_cancel", + "name": "consumers", + "type": 4, + "typeName": "RefCount", + "docs": null + }, + { + "name": "providers", + "type": 4, + "typeName": "RefCount", + "docs": null + }, + { + "name": "sufficients", + "type": 4, + "typeName": "RefCount", + "docs": null + }, + { + "name": "data", + "type": 5, + "typeName": "AccountData", + "docs": null + } + ] + } + }, + "docs": null + }, + "30": { + "path": [ + "pallet_balances", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Endowed", "fields": [ { - "name": "ref_index", - "type": 4, - "typeName": "ReferendumIndex", + "name": "account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "free_balance", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "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_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - } - ], - "index": 4, + "index": 0, "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.", - "", - "Weight: `O(V)` with V number of vetoers in the blacklist of proposal.", - " Decoding vec of length V. Charged as maximum" + "An account was created with some free balance." ] }, { - "name": "external_propose_majority", + "name": "DustLost", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "account", + "type": 0, + "typeName": "T::AccountId", "docs": null - } - ], - "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_hash", - "type": 9, - "typeName": "T::Hash", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 6, + "index": 1, "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)`" + "An account was removed whose balance was non-zero but below ExistentialDeposit,", + "resulting in an outright loss." ] }, { - "name": "fast_track", + "name": "Transfer", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "from", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "voting_period", - "type": 4, - "typeName": "T::BlockNumber", + "name": "to", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "delay", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "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", - " `FastTrackVotingPeriod` if too low.", - "- `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": 9, - "typeName": "T::Hash", - "docs": null - } - ], - "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": 112, - "typeName": "ReferendumIndex", - "docs": null - } - ], - "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": "cancel_queued", - "fields": [ - { - "name": "which", - "type": 4, - "typeName": "ReferendumIndex", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 10, + "index": 2, "docs": [ - "Cancel a proposal queued for enactment.", - "", - "The dispatch origin of this call must be _Root_.", - "", - "- `which`: The index of the referendum to cancel.", - "", - "Weight: `O(D)` where `D` is the items in the dispatch queue. Weighted as `D = 10`." + "Transfer succeeded." ] }, { - "name": "delegate", + "name": "BalanceSet", "fields": [ { - "name": "to", + "name": "who", "type": 0, "typeName": "T::AccountId", "docs": null }, { - "name": "conviction", - "type": 294, - "typeName": "Conviction", + "name": "free", + "type": 6, + "typeName": "T::Balance", "docs": null }, { - "name": "balance", + "name": "reserved", "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "typeName": "T::Balance", "docs": null } ], - "index": 11, - "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", - "fields": null, - "index": 12, - "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", - "fields": null, - "index": 13, + "index": 3, "docs": [ - "Clears all public proposals.", - "", - "The dispatch origin of this call must be _Root_.", - "", - "Weight: `O(1)`." + "A balance was set by root." ] }, { - "name": "note_preimage", + "name": "Reserved", "fields": [ { - "name": "encoded_proposal", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null - } - ], - "index": 14, - "docs": [ - "Register the preimage for an upcoming proposal. This doesn't require the proposal to be", - "in the dispatch queue but does require a deposit, returned once enacted.", - "", - "The dispatch origin of this call must be _Signed_.", - "", - "- `encoded_proposal`: The preimage of a proposal.", - "", - "Emits `PreimageNoted`.", - "", - "Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit)." - ] - }, - { - "name": "note_preimage_operational", - "fields": [ + }, { - "name": "encoded_proposal", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 15, + "index": 4, "docs": [ - "Same as `note_preimage` but origin is `OperationalPreimageOrigin`." + "Some balance was reserved (moved from free to reserved)." ] }, { - "name": "note_imminent_preimage", + "name": "Unreserved", "fields": [ { - "name": "encoded_proposal", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null - } - ], - "index": 16, - "docs": [ - "Register the preimage for an upcoming proposal. This requires the proposal to be", - "in the dispatch queue. No deposit is needed. When this call is successful, i.e.", - "the preimage has not been uploaded before and matches some imminent proposal,", - "no fee is paid.", - "", - "The dispatch origin of this call must be _Signed_.", - "", - "- `encoded_proposal`: The preimage of a proposal.", - "", - "Emits `PreimageNoted`.", - "", - "Weight: `O(E)` with E size of `encoded_proposal` (protected by a required deposit)." - ] - }, - { - "name": "note_imminent_preimage_operational", - "fields": [ + }, { - "name": "encoded_proposal", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 17, + "index": 5, "docs": [ - "Same as `note_imminent_preimage` but origin is `OperationalPreimageOrigin`." + "Some balance was unreserved (moved from reserved to free)." ] }, { - "name": "reap_preimage", + "name": "ReserveRepatriated", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "from", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "proposal_len_upper_bound", - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 18, - "docs": [ - "Remove an expired proposal preimage and collect the deposit.", - "", - "The dispatch origin of this call must be _Signed_.", - "", - "- `proposal_hash`: The preimage hash of a proposal.", - "- `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is", - " weighted according to this value with no refund.", - "", - "This will only work after `VotingPeriod` blocks from the time that the preimage was", - "noted, if it's the same account doing it. If it's a different account, then it'll only", - "work an additional `EnactmentPeriod` later.", - "", - "Emits `PreimageReaped`.", - "", - "Weight: `O(D)` where D is length of proposal." - ] - }, - { - "name": "unlock", - "fields": [ - { - "name": "target", + "name": "to", "type": 0, "typeName": "T::AccountId", "docs": null - } - ], - "index": 19, - "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", + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + }, + { + "name": "destination_status", + "type": 31, + "typeName": "Status", "docs": null } ], - "index": 20, + "index": 6, "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." + "Some balance was moved from the reserve of the first account to the second account.", + "Final argument indicates the destination balance type." ] }, { - "name": "remove_other_vote", + "name": "Deposit", "fields": [ { - "name": "target", + "name": "who", "type": 0, "typeName": "T::AccountId", "docs": null }, { - "name": "index", - "type": 4, - "typeName": "ReferendumIndex", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 21, + "index": 7, "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." + "Some amount was deposited (e.g. for transaction fees)." ] }, { - "name": "enact_proposal", + "name": "Withdraw", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "index", - "type": 4, - "typeName": "ReferendumIndex", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 22, + "index": 8, "docs": [ - "Enact a proposal from a referendum. For now we just make the weight be the maximum." + "Some amount was withdrawn from the account (e.g. for transaction fees)." ] }, { - "name": "blacklist", + "name": "Slashed", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "maybe_ref_index", - "type": 235, - "typeName": "Option\u003cReferendumIndex\u003e", - "docs": null - } - ], - "index": 23, - "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": 112, - "typeName": "PropIndex", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 24, + "index": 9, "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::\u003cT\u003e::decode_len()`" + "Some amount was removed from the account (e.g. for misbehavior)." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "299": { - "path": [ - "pallet_democracy", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 + "300": { + "path": null, + "def": { + "Array": { + "len": 18, + "type": 247 } - ], + }, + "docs": null + }, + "301": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "ValueLow", + "Sequence": { + "type": 302 + } + }, + "docs": null + }, + "302": { + "path": null, + "def": { + "Tuple": [ + 82, + 303, + 244 + ] + }, + "docs": null + }, + "303": { + "path": null, + "def": { + "Array": { + "len": 19, + "type": 247 + } + }, + "docs": null + }, + "304": { + "path": null, + "def": { + "Sequence": { + "type": 305 + } + }, + "docs": null + }, + "305": { + "path": null, + "def": { + "Tuple": [ + 82, + 306, + 244 + ] + }, + "docs": null + }, + "306": { + "path": null, + "def": { + "Array": { + "len": 20, + "type": 247 + } + }, + "docs": null + }, + "307": { + "path": null, + "def": { + "Sequence": { + "type": 308 + } + }, + "docs": null + }, + "308": { + "path": null, + "def": { + "Tuple": [ + 82, + 309, + 244 + ] + }, + "docs": null + }, + "309": { + "path": null, + "def": { + "Array": { + "len": 21, + "type": 247 + } + }, + "docs": null + }, + "31": { + "path": [ + "frame_support", + "traits", + "tokens", + "misc", + "BalanceStatus" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Free", "fields": null, "index": 0, - "docs": [ - "Value too low" - ] + "docs": null }, { - "name": "ProposalMissing", + "name": "Reserved", "fields": null, "index": 1, - "docs": [ - "Proposal does not exist" - ] - }, - { - "name": "AlreadyCanceled", - "fields": null, - "index": 2, - "docs": [ - "Cannot cancel the same proposal twice" - ] - }, - { - "name": "DuplicateProposal", - "fields": null, - "index": 3, - "docs": [ - "Proposal already made" - ] - }, - { - "name": "ProposalBlacklisted", - "fields": null, - "index": 4, - "docs": [ - "Proposal still blacklisted" - ] - }, - { - "name": "NotSimpleMajority", - "fields": null, - "index": 5, - "docs": [ - "Next external proposal not simple majority" - ] - }, - { - "name": "InvalidHash", - "fields": null, - "index": 6, - "docs": [ - "Invalid hash" - ] - }, - { - "name": "NoProposal", - "fields": null, - "index": 7, - "docs": [ - "No external proposal" - ] - }, - { - "name": "AlreadyVetoed", - "fields": null, - "index": 8, - "docs": [ - "Identity may not veto a proposal twice" - ] - }, - { - "name": "DuplicatePreimage", - "fields": null, - "index": 9, - "docs": [ - "Preimage already noted" - ] - }, - { - "name": "NotImminent", - "fields": null, - "index": 10, - "docs": [ - "Not imminent" - ] - }, - { - "name": "TooEarly", - "fields": null, - "index": 11, - "docs": [ - "Too early" - ] - }, - { - "name": "Imminent", - "fields": null, - "index": 12, - "docs": [ - "Imminent" - ] - }, - { - "name": "PreimageMissing", - "fields": null, - "index": 13, - "docs": [ - "Preimage not found" - ] - }, - { - "name": "ReferendumInvalid", - "fields": null, - "index": 14, - "docs": [ - "Vote given for invalid referendum" - ] - }, - { - "name": "PreimageInvalid", - "fields": null, - "index": 15, - "docs": [ - "Invalid preimage" - ] - }, - { - "name": "NoneWaiting", - "fields": null, - "index": 16, - "docs": [ - "No proposals waiting" - ] - }, - { - "name": "NotVoter", - "fields": null, - "index": 17, - "docs": [ - "The given account did not vote on the referendum." - ] - }, - { - "name": "NoPermission", - "fields": null, - "index": 18, - "docs": [ - "The actor has no permission to conduct the action." - ] - }, - { - "name": "AlreadyDelegating", - "fields": null, - "index": 19, - "docs": [ - "The account is already delegating." - ] - }, - { - "name": "InsufficientFunds", - "fields": null, - "index": 20, - "docs": [ - "Too high a balance was provided that the account cannot afford." - ] - }, - { - "name": "NotDelegating", - "fields": null, - "index": 21, - "docs": [ - "The account is not currently delegating." - ] - }, - { - "name": "VotesExist", - "fields": null, - "index": 22, - "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", - "fields": null, - "index": 23, - "docs": [ - "The instant referendum origin is currently disallowed." - ] - }, - { - "name": "Nonsense", - "fields": null, - "index": 24, - "docs": [ - "Delegation to oneself makes no sense." - ] - }, - { - "name": "WrongUpperBound", - "fields": null, - "index": 25, - "docs": [ - "Invalid upper bound." - ] - }, - { - "name": "MaxVotesReached", - "fields": null, - "index": 26, - "docs": [ - "Maximum number of votes reached." - ] - }, - { - "name": "TooManyProposals", - "fields": null, - "index": 27, - "docs": [ - "Maximum number of proposals reached." - ] + "docs": null } ] } }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] + "docs": null }, - "3": { - "path": [ - "frame_system", - "AccountInfo" - ], - "params": [ - { - "name": "Index", - "type": 4 - }, - { - "name": "AccountData", - "type": 5 + "310": { + "path": null, + "def": { + "Sequence": { + "type": 311 + } + }, + "docs": null + }, + "311": { + "path": null, + "def": { + "Tuple": [ + 82, + 312, + 244 + ] + }, + "docs": null + }, + "312": { + "path": null, + "def": { + "Array": { + "len": 22, + "type": 247 + } + }, + "docs": null + }, + "313": { + "path": null, + "def": { + "Sequence": { + "type": 314 + } + }, + "docs": null + }, + "314": { + "path": null, + "def": { + "Tuple": [ + 82, + 315, + 244 + ] + }, + "docs": null + }, + "315": { + "path": null, + "def": { + "Array": { + "len": 23, + "type": 247 } + }, + "docs": null + }, + "316": { + "path": [ + "sp_npos_elections", + "ElectionScore" ], "def": { "Composite": { "fields": [ { - "name": "nonce", - "type": 4, - "typeName": "Index", - "docs": null - }, - { - "name": "consumers", - "type": 4, - "typeName": "RefCount", - "docs": null - }, - { - "name": "providers", - "type": 4, - "typeName": "RefCount", + "name": "minimal_stake", + "type": 6, + "typeName": "ExtendedBalance", "docs": null }, { - "name": "sufficients", - "type": 4, - "typeName": "RefCount", + "name": "sum_stake", + "type": 6, + "typeName": "ExtendedBalance", "docs": null }, { - "name": "data", - "type": 5, - "typeName": "AccountData", + "name": "sum_stake_squared", + "type": 6, + "typeName": "ExtendedBalance", "docs": null } ] @@ -12428,39 +13428,24 @@ }, "docs": null }, - "30": { - "path": null, - "def": { - "Array": { - "len": 16, - "type": 2 - } - }, - "docs": null - }, - "300": { + "317": { "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 9 - }, - { - "name": "S", - "type": 0 - } + "pallet_election_provider_multi_phase", + "SolutionOrSnapshotSize" ], "def": { "Composite": { "fields": [ { - "type": 144, - "typeName": "Vec\u003cT\u003e", + "name": "voters", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "targets", + "type": 82, + "typeName": "u32", "docs": null } ] @@ -12468,552 +13453,1178 @@ }, "docs": null }, - "301": { + "318": { "path": [ - "kusama_runtime", - "Call" + "Option" + ], + "params": [ + { + "name": "T", + "type": 316 + } ], "def": { "Variant": { "variants": [ { - "name": "System", - "fields": [ - { - "type": 148, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSystem, Runtime\u003e", - "docs": null - } - ], + "name": "None", + "fields": null, "index": 0, "docs": null }, { - "name": "Babe", + "name": "Some", "fields": [ { - "type": 177, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cBabe, Runtime\u003e", + "type": 316, + "typeName": "", "docs": null } ], "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "319": { + "path": null, + "def": { + "Sequence": { + "type": 320 + } + }, + "docs": null + }, + "32": { + "path": [ + "pallet_transaction_payment", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "Timestamp", + "name": "TransactionFeePaid", "fields": [ { - "type": 183, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTimestamp, Runtime\u003e", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null - } - ], - "index": 2, - "docs": null - }, - { - "name": "Indices", - "fields": [ + }, { - "type": 185, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cIndices, Runtime\u003e", + "name": "actual_fee", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null - } - ], - "index": 3, - "docs": null - }, - { - "name": "Balances", - "fields": [ + }, { - "type": 195, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cBalances, Runtime\u003e", + "name": "tip", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 4, + "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" + ] + }, + "320": { + "path": null, + "def": { + "Tuple": [ + 0, + 321 + ] + }, + "docs": null + }, + "321": { + "path": [ + "sp_npos_elections", + "Support" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "total", + "type": 6, + "typeName": "ExtendedBalance", "docs": null }, { - "name": "Authorship", + "name": "voters", + "type": 65, + "typeName": "Vec\u003c(AccountId, ExtendedBalance)\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "322": { + "path": [ + "pallet_nis", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "place_bid", "fields": [ { - "type": 206, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cAuthorship, Runtime\u003e", + "name": "amount", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "duration", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 5, - "docs": null + "index": 0, + "docs": [ + "Place a bid.", + "", + "Origin must be Signed, and account must have at least `amount` in free balance.", + "", + "- `amount`: The amount of the bid; these funds will be reserved, and if/when", + " consolidated, removed. Must be at least `MinBid`.", + "- `duration`: The number of periods before which the newly consolidated bid may be", + " thawed. Must be greater than 1 and no more than `QueueCount`.", + "", + "Complexities:", + "- `Queues[duration].len()` (just take max)." + ] }, { - "name": "Staking", + "name": "retract_bid", "fields": [ { - "type": 233, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cStaking, Runtime\u003e", + "name": "amount", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "duration", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 6, - "docs": null + "index": 1, + "docs": [ + "Retract a previously placed bid.", + "", + "Origin must be Signed, and the account should have previously issued a still-active bid", + "of `amount` for `duration`.", + "", + "- `amount`: The amount of the previous bid.", + "- `duration`: The duration of the previous bid." + ] }, { - "name": "Session", + "name": "fund_deficit", + "fields": null, + "index": 2, + "docs": [ + "Ensure we have sufficient funding for all potential payouts.", + "", + "- `origin`: Must be accepted by `FundOrigin`." + ] + }, + { + "name": "thaw", "fields": [ { - "type": 248, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSession, Runtime\u003e", + "name": "index", + "type": 82, + "typeName": "ReceiptIndex", + "docs": null + }, + { + "name": "portion", + "type": 323, + "typeName": "Option\u003c\u003cT::Counterpart as FungibleInspect\u003cT::AccountId\u003e\u003e::Balance\n\u003e", "docs": null } ], - "index": 8, + "index": 3, + "docs": [ + "Reduce or remove an outstanding receipt, placing the according proportion of funds into", + "the account of the owner.", + "", + "- `origin`: Must be Signed and the account must be the owner of the receipt `index` as", + " well as any fungible counterpart.", + "- `index`: The index of the receipt.", + "- `portion`: If `Some`, then only the given portion of the receipt should be thawed. If", + " `None`, then all of it should be." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "323": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "Grandpa", + "name": "Some", "fields": [ { - "type": 253, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cGrandpa, Runtime\u003e", + "type": 6, + "typeName": "", "docs": null } ], - "index": 10, + "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "324": { + "path": [ + "pallet_balances", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "ImOnline", + "name": "transfer", "fields": [ { - "type": 272, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cImOnline, Runtime\u003e", + "name": "dest", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "value", + "type": 53, + "typeName": "T::Balance", "docs": null } ], - "index": 11, - "docs": null + "index": 0, + "docs": [ + "Transfer some liquid free balance to another account.", + "", + "`transfer` 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.", + "", + "# \u003cweight\u003e", + "- Dependent on arguments but not critical, given proper implementations for input config", + " types. See related functions below.", + "- It contains a limited number of reads and writes internally and no complex", + " computation.", + "", + "Related functions:", + "", + " - `ensure_can_withdraw` is always called internally but has a bounded complexity.", + " - Transferring balances to accounts that did not exist before will cause", + " `T::OnNewAccount::on_new_account` to be called.", + " - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.", + " - `transfer_keep_alive` works the same way as `transfer`, but has an additional check", + " that the transfer will not kill the origin account.", + "---------------------------------", + "- Origin account is already in memory, so no DB operations for them.", + "# \u003c/weight\u003e" + ] }, { - "name": "Democracy", + "name": "set_balance", "fields": [ { - "type": 298, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cDemocracy, Runtime\u003e", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "new_free", + "type": 53, + "typeName": "T::Balance", + "docs": null + }, + { + "name": "new_reserved", + "type": 53, + "typeName": "T::Balance", "docs": null } ], - "index": 13, - "docs": null + "index": 1, + "docs": [ + "Set the balances of a given account.", + "", + "This will alter `FreeBalance` and `ReservedBalance` in storage. it will", + "also alter the total issuance of the system (`TotalIssuance`) appropriately.", + "If the new free or reserved balance is below the existential deposit,", + "it will reset the account nonce (`frame_system::AccountNonce`).", + "", + "The dispatch origin for this call is `root`." + ] }, { - "name": "Council", + "name": "force_transfer", "fields": [ { - "type": 302, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cCouncil, Runtime\u003e", + "name": "source", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "dest", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "value", + "type": 53, + "typeName": "T::Balance", "docs": null } ], - "index": 14, - "docs": null + "index": 2, + "docs": [ + "Exactly as `transfer`, except the origin must be root and the source account may be", + "specified.", + "# \u003cweight\u003e", + "- Same as transfer, but additional read and write because the source account is not", + " assumed to be in the overlay.", + "# \u003c/weight\u003e" + ] }, { - "name": "TechnicalCommittee", + "name": "transfer_keep_alive", "fields": [ { - "type": 303, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTechnicalCommittee, Runtime\u003e", + "name": "dest", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "value", + "type": 53, + "typeName": "T::Balance", "docs": null } ], - "index": 15, - "docs": null + "index": 3, + "docs": [ + "Same as the [`transfer`] call, but with a check that the transfer will not kill the", + "origin account.", + "", + "99% of the time you want [`transfer`] instead.", + "", + "[`transfer`]: struct.Pallet.html#method.transfer" + ] }, { - "name": "PhragmenElection", + "name": "transfer_all", "fields": [ { - "type": 304, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cPhragmenElection, Runtime\u003e", + "name": "dest", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "keep_alive", + "type": 37, + "typeName": "bool", "docs": null } ], - "index": 16, - "docs": null + "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). # \u003cweight\u003e", + "- O(1). Just like transfer, but reading the user's transferable balance first.", + " #\u003c/weight\u003e" + ] }, { - "name": "TechnicalMembership", + "name": "force_unreserve", "fields": [ { - "type": 306, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTechnicalMembership, Runtime\u003e", + "name": "who", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 17, - "docs": null - }, + "index": 5, + "docs": [ + "Unreserve some balance from a user by force.", + "", + "Can only be called by ROOT." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "325": { + "path": [ + "pallet_bags_list", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "Treasury", + "name": "rebag", "fields": [ { - "type": 307, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTreasury, Runtime\u003e", + "name": "dislocated", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 18, - "docs": null + "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": "Claims", + "name": "put_in_front_of", "fields": [ { - "type": 308, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cClaims, Runtime\u003e", + "name": "lighter", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 19, - "docs": null - }, + "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." + ] + }, + "326": { + "path": [ + "pallet_nomination_pools", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "Utility", + "name": "join", "fields": [ { - "type": 315, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cUtility, Runtime\u003e", + "name": "amount", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", "docs": null } ], - "index": 24, - "docs": null + "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": "Identity", + "name": "bond_extra", "fields": [ { - "type": 324, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cIdentity, Runtime\u003e", + "name": "extra", + "type": 327, + "typeName": "BondExtra\u003cBalanceOf\u003cT\u003e\u003e", "docs": null } ], - "index": 25, - "docs": null + "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." + ] }, { - "name": "Society", + "name": "claim_payout", + "fields": null, + "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 there 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\"." + ] + }, + { + "name": "unbond", "fields": [ { - "type": 364, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSociety, Runtime\u003e", + "name": "member_account", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "unbonding_points", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 26, - "docs": null + "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 state-toggler. 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": "Recovery", + "name": "pool_withdraw_unbonded", "fields": [ { - "type": 366, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cRecovery, Runtime\u003e", + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 27, - "docs": null + "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": "Vesting", + "name": "withdraw_unbonded", "fields": [ { - "type": 367, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cVesting, Runtime\u003e", + "name": "member_account", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null - } - ], - "index": 28, - "docs": null - }, - { - "name": "Scheduler", - "fields": [ + }, { - "type": 369, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cScheduler, Runtime\u003e", + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 29, - "docs": null + "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 state-toggler.", + "", + "# 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": "Proxy", + "name": "create", "fields": [ { - "type": 371, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cProxy, Runtime\u003e", + "name": "amount", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null - } - ], - "index": 30, - "docs": null - }, - { - "name": "Multisig", - "fields": [ + }, { - "type": 373, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cMultisig, Runtime\u003e", + "name": "root", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null - } - ], - "index": 31, - "docs": null - }, - { - "name": "Bounties", - "fields": [ + }, { - "type": 376, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cBounties, Runtime\u003e", + "name": "nominator", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null - } - ], - "index": 35, - "docs": null - }, - { - "name": "Tips", - "fields": [ + }, { - "type": 377, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTips, Runtime\u003e", + "name": "state_toggler", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null } ], - "index": 36, - "docs": null + "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`].", + "* `state_toggler` - The account to set as the [`PoolRoles::state_toggler`].", + "", + "# 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": "ElectionProviderMultiPhase", + "name": "create_with_pool_id", "fields": [ { - "type": 378, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cElectionProviderMultiPhase, Runtime\u003e", + "name": "amount", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null - } - ], - "index": 37, - "docs": null - }, - { - "name": "Gilt", - "fields": [ + }, { - "type": 461, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cGilt, Runtime\u003e", + "name": "root", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null - } - ], - "index": 38, - "docs": null - }, - { - "name": "BagsList", - "fields": [ + }, { - "type": 464, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cBagsList, Runtime\u003e", + "name": "nominator", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null - } - ], - "index": 39, - "docs": null - }, - { - "name": "Configuration", - "fields": [ + }, { - "type": 465, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cConfiguration, Runtime\u003e", + "name": "state_toggler", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null - } - ], - "index": 51, - "docs": null - }, - { - "name": "ParasShared", - "fields": [ + }, { - "type": 466, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParasShared, Runtime\u003e", + "name": "pool_id", + "type": 4, + "typeName": "PoolId", "docs": null } ], - "index": 52, - "docs": null + "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": "ParaInclusion", + "name": "nominate", "fields": [ { - "type": 467, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParaInclusion, Runtime\u003e", + "name": "pool_id", + "type": 4, + "typeName": "PoolId", "docs": null - } - ], - "index": 53, - "docs": null - }, - { - "name": "ParaInherent", - "fields": [ + }, { - "type": 468, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParaInherent, Runtime\u003e", + "name": "validators", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null } ], - "index": 54, - "docs": null + "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": "Paras", + "name": "set_state", "fields": [ { - "type": 494, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParas, Runtime\u003e", + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "state", + "type": 328, + "typeName": "PoolState", "docs": null } ], - "index": 56, - "docs": null + "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 state toggler, 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": "Initializer", + "name": "set_metadata", "fields": [ { - "type": 495, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cInitializer, Runtime\u003e", + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "metadata", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null } ], - "index": 57, - "docs": null + "index": 10, + "docs": [ + "Set a new metadata for the pool.", + "", + "The dispatch origin of this call must be signed by the state toggler, or the root role", + "of the pool." + ] }, { - "name": "Dmp", + "name": "set_configs", "fields": [ { - "type": 496, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cDmp, Runtime\u003e", + "name": "min_join_bond", + "type": 329, + "typeName": "ConfigOp\u003cBalanceOf\u003cT\u003e\u003e", + "docs": null + }, + { + "name": "min_create_bond", + "type": 329, + "typeName": "ConfigOp\u003cBalanceOf\u003cT\u003e\u003e", + "docs": null + }, + { + "name": "max_pools", + "type": 330, + "typeName": "ConfigOp\u003cu32\u003e", + "docs": null + }, + { + "name": "max_members", + "type": 330, + "typeName": "ConfigOp\u003cu32\u003e", + "docs": null + }, + { + "name": "max_members_per_pool", + "type": 330, + "typeName": "ConfigOp\u003cu32\u003e", "docs": null } ], - "index": 58, - "docs": null + "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`]." + ] }, { - "name": "Ump", + "name": "update_roles", "fields": [ { - "type": 497, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cUmp, Runtime\u003e", + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "new_root", + "type": 331, + "typeName": "ConfigOp\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "new_nominator", + "type": 331, + "typeName": "ConfigOp\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "new_state_toggler", + "type": 331, + "typeName": "ConfigOp\u003cT::AccountId\u003e", "docs": null } ], - "index": 59, - "docs": null + "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": "Hrmp", + "name": "chill", "fields": [ { - "type": 498, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cHrmp, Runtime\u003e", + "name": "pool_id", + "type": 4, + "typeName": "PoolId", "docs": null } ], - "index": 60, - "docs": null - }, + "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." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "327": { + "path": [ + "pallet_nomination_pools", + "BondExtra" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "ParasDisputes", + "name": "FreeBalance", "fields": [ { - "type": 499, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParasDisputes, Runtime\u003e", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 62, + "index": 0, "docs": null }, { - "name": "Registrar", - "fields": [ - { - "type": 500, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cRegistrar, Runtime\u003e", - "docs": null - } - ], - "index": 70, + "name": "Rewards", + "fields": null, + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "328": { + "path": [ + "pallet_nomination_pools", + "PoolState" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Open", + "fields": null, + "index": 0, "docs": null }, { - "name": "Slots", - "fields": [ - { - "type": 501, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSlots, Runtime\u003e", - "docs": null - } - ], - "index": 71, + "name": "Blocked", + "fields": null, + "index": 1, "docs": null }, { - "name": "Auctions", - "fields": [ - { - "type": 502, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cAuctions, Runtime\u003e", - "docs": null - } - ], - "index": 72, + "name": "Destroying", + "fields": null, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "329": { + "path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Noop", + "fields": null, + "index": 0, "docs": null }, { - "name": "Crowdloan", + "name": "Set", "fields": [ { - "type": 504, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cCrowdloan, Runtime\u003e", + "type": 6, + "typeName": "T", "docs": null } ], - "index": 73, + "index": 1, "docs": null }, { - "name": "XcmPallet", - "fields": [ - { - "type": 512, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cXcmPallet, Runtime\u003e", - "docs": null - } - ], - "index": 99, + "name": "Remove", + "fields": null, + "index": 2, "docs": null } ] @@ -13021,801 +14632,474 @@ }, "docs": null }, - "302": { + "33": { "path": [ - "pallet_collective", + "pallet_staking", "pallet", - "Call" + "pallet", + "Event" ], "params": [ { "name": "T", "type": 0 - }, - { - "name": "I", - "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "set_members", + "name": "EraPaid", "fields": [ { - "name": "new_members", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", + "name": "era_index", + "type": 4, + "typeName": "EraIndex", "docs": null }, { - "name": "prime", - "type": 205, - "typeName": "Option\u003cT::AccountId\u003e", + "name": "validator_payout", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null }, { - "name": "old_count", - "type": 4, - "typeName": "MemberCount", + "name": "remainder", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], "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.", - "", - "Requires root origin.", - "", - "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.", - "", - "# \u003cweight\u003e", - "## Weight", - "- `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)", - "- DB:", - " - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the", - " members", - " - 1 storage read (codec `O(P)`) for reading the proposals", - " - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal", - " - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one", - "# \u003c/weight\u003e" + "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": "execute", + "name": "Rewarded", "fields": [ { - "name": "proposal", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "length_bound", - "type": 112, - "typeName": "u32", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], "index": 1, "docs": [ - "Dispatch a proposal from a member using the `Member` origin.", - "", - "Origin must be a member of the collective.", - "", - "# \u003cweight\u003e", - "## Weight", - "- `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching", - " `proposal`", - "- DB: 1 read (codec `O(M)`) + DB access of `proposal`", - "- 1 event", - "# \u003c/weight\u003e" + "The nominator has been rewarded by this amount." ] }, { - "name": "propose", + "name": "Slashed", "fields": [ { - "name": "threshold", - "type": 112, - "typeName": "MemberCount", - "docs": null - }, - { - "name": "proposal", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", + "name": "staker", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "length_bound", - "type": 112, - "typeName": "u32", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], "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 \u003c 2`)", - "or put up for voting.", - "", - "# \u003cweight\u003e", - "## Weight", - "- `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 \u003c 2`)", - " - `P2` is proposals-count (code-bounded) (`threshold \u003e= 2`)", - "- DB:", - " - 1 storage read `is_member` (codec `O(M)`)", - " - 1 storage read `ProposalOf::contains_key` (codec `O(1)`)", - " - DB accesses influenced by `threshold`:", - " - EITHER storage accesses done by `proposal` (`threshold \u003c 2`)", - " - OR proposal insertion (`threshold \u003c= 2`)", - " - 1 storage mutation `Proposals` (codec `O(P2)`)", - " - 1 storage mutation `ProposalCount` (codec `O(1)`)", - " - 1 storage write `ProposalOf` (codec `O(B)`)", - " - 1 storage write `Voting` (codec `O(M)`)", - " - 1 event", - "# \u003c/weight\u003e" + "A staker (validator or nominator) has been slashed by the given amount." ] }, { - "name": "vote", + "name": "SlashReported", "fields": [ { - "name": "proposal", - "type": 9, - "typeName": "T::Hash", + "name": "validator", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "index", - "type": 112, - "typeName": "ProposalIndex", + "name": "fraction", + "type": 34, + "typeName": "Perbill", "docs": null }, { - "name": "approve", - "type": 52, - "typeName": "bool", + "name": "slash_era", + "type": 4, + "typeName": "EraIndex", "docs": null } ], "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.", - "# \u003cweight\u003e", - "## Weight", - "- `O(M)` where `M` is members-count (code- and governance-bounded)", - "- DB:", - " - 1 storage read `Members` (codec `O(M)`)", - " - 1 storage mutation `Voting` (codec `O(M)`)", - "- 1 event", - "# \u003c/weight\u003e" + "A slash for the given validator, for the given percentage of their stake, at the given", + "era as been reported." ] }, { - "name": "close", + "name": "OldSlashingReportDiscarded", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "index", - "type": 112, - "typeName": "ProposalIndex", - "docs": null - }, - { - "name": "proposal_weight_bound", - "type": 114, - "typeName": "Weight", - "docs": null - }, - { - "name": "length_bound", - "type": 112, - "typeName": "u32", + "name": "session_index", + "type": 4, + "typeName": "SessionIndex", "docs": null } ], "index": 4, "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::\u003cu32\u003e() == 4` larger than the pure length.", - "", - "# \u003cweight\u003e", - "## Weight", - "- `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)", - "- DB:", - " - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)", - " - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec", - " `O(P2)`)", - " - any mutations done while executing `proposal` (`P1`)", - "- up to 3 events", - "# \u003c/weight\u003e" + "An old slashing report from a prior era was discarded because it could", + "not be processed." ] }, { - "name": "disapprove_proposal", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - } - ], + "name": "StakersElected", + "fields": null, "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.", - "", - "# \u003cweight\u003e", - "Complexity: O(P) where P is the number of max proposals", - "DB Weight:", - "* Reads: Proposals", - "* Writes: Voting, Proposals, ProposalOf", - "# \u003c/weight\u003e" + "A new set of stakers was elected." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "303": { - "path": [ - "pallet_collective", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "set_members", + "name": "Bonded", "fields": [ { - "name": "new_members", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", - "docs": null - }, - { - "name": "prime", - "type": 205, - "typeName": "Option\u003cT::AccountId\u003e", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "old_count", - "type": 4, - "typeName": "MemberCount", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 0, + "index": 6, "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.", - "", - "Requires root origin.", - "", - "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.", + "An account has bonded this amount. \\[stash, amount\\]", "", - "# \u003cweight\u003e", - "## Weight", - "- `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)", - "- DB:", - " - 1 storage mutation (codec `O(M)` read, `O(N)` write) for reading and writing the", - " members", - " - 1 storage read (codec `O(P)`) for reading the proposals", - " - `P` storage mutations (codec `O(M)`) for updating the votes for each proposal", - " - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one", - "# \u003c/weight\u003e" + "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": "execute", + "name": "Unbonded", "fields": [ { - "name": "proposal", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "length_bound", - "type": 112, - "typeName": "u32", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 1, + "index": 7, "docs": [ - "Dispatch a proposal from a member using the `Member` origin.", - "", - "Origin must be a member of the collective.", - "", - "# \u003cweight\u003e", - "## Weight", - "- `O(M + P)` where `M` members-count (code-bounded) and `P` complexity of dispatching", - " `proposal`", - "- DB: 1 read (codec `O(M)`) + DB access of `proposal`", - "- 1 event", - "# \u003c/weight\u003e" + "An account has unbonded this amount." ] }, { - "name": "propose", + "name": "Withdrawn", "fields": [ { - "name": "threshold", - "type": 112, - "typeName": "MemberCount", - "docs": null - }, - { - "name": "proposal", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003cI\u003e\u003e::Proposal\u003e", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "length_bound", - "type": 112, - "typeName": "u32", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 2, + "index": 8, "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 \u003c 2`)", - "or put up for voting.", - "", - "# \u003cweight\u003e", - "## Weight", - "- `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 \u003c 2`)", - " - `P2` is proposals-count (code-bounded) (`threshold \u003e= 2`)", - "- DB:", - " - 1 storage read `is_member` (codec `O(M)`)", - " - 1 storage read `ProposalOf::contains_key` (codec `O(1)`)", - " - DB accesses influenced by `threshold`:", - " - EITHER storage accesses done by `proposal` (`threshold \u003c 2`)", - " - OR proposal insertion (`threshold \u003c= 2`)", - " - 1 storage mutation `Proposals` (codec `O(P2)`)", - " - 1 storage mutation `ProposalCount` (codec `O(1)`)", - " - 1 storage write `ProposalOf` (codec `O(B)`)", - " - 1 storage write `Voting` (codec `O(M)`)", - " - 1 event", - "# \u003c/weight\u003e" + "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`", + "from the unlocking queue." ] }, { - "name": "vote", + "name": "Kicked", "fields": [ { - "name": "proposal", - "type": 9, - "typeName": "T::Hash", + "name": "nominator", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "index", - "type": 112, - "typeName": "ProposalIndex", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null - }, + } + ], + "index": 9, + "docs": [ + "A nominator has been kicked from a validator." + ] + }, + { + "name": "StakingElectionFailed", + "fields": null, + "index": 10, + "docs": [ + "The election failed. No new era is planned." + ] + }, + { + "name": "Chilled", + "fields": [ { - "name": "approve", - "type": 52, - "typeName": "bool", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null } ], - "index": 3, + "index": 11, "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.", - "# \u003cweight\u003e", - "## Weight", - "- `O(M)` where `M` is members-count (code- and governance-bounded)", - "- DB:", - " - 1 storage read `Members` (codec `O(M)`)", - " - 1 storage mutation `Voting` (codec `O(M)`)", - "- 1 event", - "# \u003c/weight\u003e" + "An account has stopped participating as either a validator or nominator." ] }, { - "name": "close", + "name": "PayoutStarted", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "era_index", + "type": 4, + "typeName": "EraIndex", "docs": null }, { - "name": "index", - "type": 112, - "typeName": "ProposalIndex", + "name": "validator_stash", + "type": 0, + "typeName": "T::AccountId", "docs": null - }, + } + ], + "index": 12, + "docs": [ + "The stakers' rewards are getting paid." + ] + }, + { + "name": "ValidatorPrefsSet", + "fields": [ { - "name": "proposal_weight_bound", - "type": 114, - "typeName": "Weight", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "length_bound", - "type": 112, - "typeName": "u32", + "name": "prefs", + "type": 35, + "typeName": "ValidatorPrefs", "docs": null } ], - "index": 4, + "index": 13, "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::\u003cu32\u003e() == 4` larger than the pure length.", - "", - "# \u003cweight\u003e", - "## Weight", - "- `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)", - "- DB:", - " - 2 storage reads (`Members`: codec `O(M)`, `Prime`: codec `O(1)`)", - " - 3 mutations (`Voting`: codec `O(M)`, `ProposalOf`: codec `O(B)`, `Proposals`: codec", - " `O(P2)`)", - " - any mutations done while executing `proposal` (`P1`)", - "- up to 3 events", - "# \u003c/weight\u003e" + "A validator has set their preferences." ] }, { - "name": "disapprove_proposal", + "name": "ForceEra", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "name": "mode", + "type": 38, + "typeName": "Forcing", "docs": null } ], - "index": 5, + "index": 14, "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.", - "", - "# \u003cweight\u003e", - "Complexity: O(P) where P is the number of max proposals", - "DB Weight:", - "* Reads: Proposals", - "* Writes: Voting, Proposals, ProposalOf", - "# \u003c/weight\u003e" + "A new force era mode was set." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "304": { + "330": { "path": [ - "pallet_elections_phragmen", - "pallet", - "Call" + "pallet_nomination_pools", + "ConfigOp" ], "params": [ { "name": "T", - "type": 0 + "type": 4 } ], "def": { "Variant": { "variants": [ { - "name": "vote", + "name": "Noop", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Set", "fields": [ { - "name": "votes", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", + "type": 4, + "typeName": "T", "docs": null - }, + } + ], + "index": 1, + "docs": null + }, + { + "name": "Remove", + "fields": null, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "331": { + "path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Noop", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Set", + "fields": [ { - "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "type": 0, + "typeName": "T", "docs": null } ], + "index": 1, + "docs": null + }, + { + "name": "Remove", + "fields": null, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "332": { + "path": [ + "pallet_fast_unstake", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "register_fast_unstake", + "fields": null, "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.", + "Register oneself for fast-unstake.", "", - "If `value` is more than `who`'s total balance, then the maximum of the two is used.", + "The dispatch origin of this call must be signed by the controller account, similar to", + "`staking::unbond`.", "", - "The dispatch origin of this call must be signed.", + "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.", "", - "### Warning", + "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.", "", - "It is the responsibility of the caller to **NOT** place all of their balance into the", - "lock and keep some for further operations.", + "If the check works, the entire staking data is removed, i.e. the stash is fully", + "unstaked.", "", - "# \u003cweight\u003e", - "We assume the maximum weight among all 3 cases: vote_equal, vote_more and vote_less.", - "# \u003c/weight\u003e" + "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": "remove_voter", + "name": "deregister", "fields": null, "index": 1, "docs": [ - "Remove `origin` as a voter.", + "Deregister oneself from the fast-unstake.", "", - "This removes the lock and returns the deposit.", + "This is useful if one is registered, they are still waiting, and they change their mind.", "", - "The dispatch origin of this call must be signed and be a voter." + "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": "submit_candidacy", + "name": "control", "fields": [ { - "name": "candidate_count", - "type": 112, - "typeName": "u32", + "name": "unchecked_eras_to_check", + "type": 4, + "typeName": "EraIndex", "docs": null } ], "index": 2, "docs": [ - "Submit oneself for candidacy. A fixed amount of deposit is recorded.", + "Control the operation of this pallet.", "", - "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.", - "", - "# \u003cweight\u003e", - "The number of current candidates must be provided as witness data.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "renounce_candidacy", - "fields": [ - { - "name": "renouncing", - "type": 305, - "typeName": "Renouncing", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "The type of renouncing must be provided as witness data.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "remove_member", - "fields": [ - { - "name": "who", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "has_replacement", - "type": 52, - "typeName": "bool", - "docs": null - } - ], - "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, a new phragmen election is started.", - "", - "The dispatch origin of this call must be root.", - "", - "Note that this does not affect the designated block number of the next election.", - "", - "# \u003cweight\u003e", - "If we have a replacement, we use a small weight. Else, since this is a root call and", - "will go into phragmen, we assume full block for now.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "clean_defunct_voters", - "fields": [ - { - "name": "num_voters", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "num_defunct", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "The total number of voters and those that are defunct must be provided as witness data.", - "# \u003c/weight\u003e" + "Dispatch origin must be signed by the [`Config::ControlOrigin`]." ] } ] @@ -13825,46 +15109,10 @@ "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "305": { - "path": [ - "pallet_elections_phragmen", - "Renouncing" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Member", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "RunnerUp", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "Candidate", - "fields": [ - { - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 2, - "docs": null - } - ] - } - }, - "docs": null - }, - "306": { + "333": { "path": [ - "pallet_membership", + "polkadot_runtime_parachains", + "configuration", "pallet", "Call" ], @@ -13872,1039 +15120,738 @@ { "name": "T", "type": 0 - }, - { - "name": "I", - "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "add_member", + "name": "set_validation_upgrade_cooldown", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "new", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], "index": 0, "docs": [ - "Add a member `who` to the set.", - "", - "May only be called from `T::AddOrigin`." + "Set the validation upgrade cooldown." ] }, { - "name": "remove_member", + "name": "set_validation_upgrade_delay", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "new", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], "index": 1, "docs": [ - "Remove a member `who` from the set.", - "", - "May only be called from `T::RemoveOrigin`." + "Set the validation upgrade delay." ] }, { - "name": "swap_member", + "name": "set_code_retention_period", "fields": [ { - "name": "remove", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "add", - "type": 0, - "typeName": "T::AccountId", + "name": "new", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], "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." + "Set the acceptance period for an included candidate." ] }, { - "name": "reset_members", + "name": "set_max_code_size", "fields": [ { - "name": "members", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], "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`." + "Set the max validation code size for incoming upgrades." ] }, { - "name": "change_key", + "name": "set_max_pov_size", "fields": [ { "name": "new", - "type": 0, - "typeName": "T::AccountId", + "type": 4, + "typeName": "u32", "docs": null } ], "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." + "Set the max POV block size for incoming upgrades." ] }, { - "name": "set_prime", + "name": "set_max_head_data_size", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], "index": 5, "docs": [ - "Set the prime member. Must be a current member.", - "", - "May only be called from `T::PrimeOrigin`." + "Set the max head data size for paras." ] }, { - "name": "clear_prime", - "fields": null, + "name": "set_parathread_cores", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32", + "docs": null + } + ], "index": 6, "docs": [ - "Remove the prime member if it exists.", - "", - "May only be called from `T::PrimeOrigin`." + "Set the number of parathread execution cores." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "307": { - "path": [ - "pallet_treasury", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "propose_spend", + "name": "set_parathread_retries", "fields": [ { - "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT, I\u003e", - "docs": null - }, - { - "name": "beneficiary", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 0, + "index": 7, "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.", - "", - "# \u003cweight\u003e", - "- Complexity: O(1)", - "- DbReads: `ProposalCount`, `origin account`", - "- DbWrites: `ProposalCount`, `Proposals`, `origin account`", - "# \u003c/weight\u003e" + "Set the number of retries for a particular parathread." ] }, { - "name": "reject_proposal", + "name": "set_group_rotation_frequency", "fields": [ { - "name": "proposal_id", - "type": 112, - "typeName": "ProposalIndex", + "name": "new", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], - "index": 1, + "index": 8, "docs": [ - "Reject a proposed spend. The original deposit will be slashed.", - "", - "May only be called from `T::RejectOrigin`.", - "", - "# \u003cweight\u003e", - "- Complexity: O(1)", - "- DbReads: `Proposals`, `rejected proposer account`", - "- DbWrites: `Proposals`, `rejected proposer account`", - "# \u003c/weight\u003e" + "Set the parachain validator-group rotation frequency" ] }, { - "name": "approve_proposal", + "name": "set_chain_availability_period", "fields": [ { - "name": "proposal_id", - "type": 112, - "typeName": "ProposalIndex", + "name": "new", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], - "index": 2, + "index": 9, "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`.", - "", - "# \u003cweight\u003e", - "- Complexity: O(1).", - "- DbReads: `Proposals`, `Approvals`", - "- DbWrite: `Approvals`", - "# \u003c/weight\u003e" + "Set the availability period for parachains." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "308": { - "path": [ - "polkadot_runtime_common", - "claims", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "claim", + "name": "set_thread_availability_period", "fields": [ { - "name": "dest", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "ethereum_signature", - "type": 309, - "typeName": "EcdsaSignature", + "name": "new", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], - "index": 0, + "index": 10, "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:", - "", - "\u003e Ethereum Signed Message:", - "\u003e (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.", - "", - "\u003cweight\u003e", - "The weight of this call is invariant over the input parameters.", - "Weight includes logic to validate unsigned `claim` call.", - "", - "Total Complexity: O(1)", - "\u003c/weight\u003e" + "Set the availability period for parathreads." ] }, { - "name": "mint_claim", + "name": "set_scheduling_lookahead", "fields": [ { - "name": "who", - "type": 60, - "typeName": "EthereumAddress", - "docs": null - }, - { - "name": "value", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "vesting_schedule", - "type": 311, - "typeName": "Option\u003c(BalanceOf\u003cT\u003e, BalanceOf\u003cT\u003e, T::BlockNumber)\u003e", - "docs": null - }, - { - "name": "statement", - "type": 313, - "typeName": "Option\u003cStatementKind\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 1, + "index": 11, "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.", - "", - "\u003cweight\u003e", - "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)", - "\u003c/weight\u003e" + "Set the scheduling lookahead, in expected number of blocks at peak throughput." ] }, { - "name": "claim_attest", + "name": "set_max_validators_per_core", "fields": [ { - "name": "dest", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "ethereum_signature", - "type": 309, - "typeName": "EcdsaSignature", + "name": "new", + "type": 134, + "typeName": "Option\u003cu32\u003e", "docs": null - }, + } + ], + "index": 12, + "docs": [ + "Set the maximum number of validators to assign to any core." + ] + }, + { + "name": "set_max_validators", + "fields": [ { - "name": "statement", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "new", + "type": 134, + "typeName": "Option\u003cu32\u003e", "docs": null } ], - "index": 2, + "index": 13, "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:", - "", - "\u003e Ethereum Signed Message:", - "\u003e (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.", - "", - "\u003cweight\u003e", - "The weight of this call is invariant over the input parameters.", - "Weight includes logic to validate unsigned `claim_attest` call.", - "", - "Total Complexity: O(1)", - "\u003c/weight\u003e" + "Set the maximum number of validators to use in parachain consensus." ] }, { - "name": "attest", + "name": "set_dispute_period", "fields": [ { - "name": "statement", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "new", + "type": 4, + "typeName": "SessionIndex", "docs": null } ], - "index": 3, + "index": 14, "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.", - "", - "\u003cweight\u003e", - "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)", - "\u003c/weight\u003e" + "Set the dispute period, in number of sessions to keep for disputes." ] }, { - "name": "move_claim", + "name": "set_dispute_post_conclusion_acceptance_period", "fields": [ { - "name": "old", - "type": 60, - "typeName": "EthereumAddress", + "name": "new", + "type": 4, + "typeName": "T::BlockNumber", "docs": null - }, + } + ], + "index": 15, + "docs": [ + "Set the dispute post conclusion acceptance period." + ] + }, + { + "name": "set_dispute_conclusion_by_time_out_period", + "fields": [ { "name": "new", - "type": 60, - "typeName": "EthereumAddress", + "type": 4, + "typeName": "T::BlockNumber", "docs": null - }, + } + ], + "index": 17, + "docs": [ + "Set the dispute conclusion by time out period." + ] + }, + { + "name": "set_no_show_slots", + "fields": [ { - "name": "maybe_preclaim", - "type": 205, - "typeName": "Option\u003cT::AccountId\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 4, - "docs": null - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "309": { - "path": [ - "polkadot_runtime_common", - "claims", - "EcdsaSignature" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 310, - "typeName": "[u8; 65]", - "docs": null - } - ] - } - }, - "docs": null - }, - "31": { - "path": [ - "pallet_session", - "pallet", - "Event" - ], - "def": { - "Variant": { - "variants": [ + "index": 18, + "docs": [ + "Set the no show slots, in number of number of consensus slots.", + "Must be at least 1." + ] + }, { - "name": "NewSession", + "name": "set_n_delay_tranches", "fields": [ { - "name": "session_index", + "name": "new", "type": 4, - "typeName": "SessionIndex", + "typeName": "u32", "docs": null } ], - "index": 0, + "index": 19, "docs": [ - "New session has happened. Note that the argument is the session index, not the", - "block number as the type might suggest." + "Set the total number of delay tranches." ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "310": { - "path": null, - "def": { - "Array": { - "len": 65, - "type": 2 - } - }, - "docs": null - }, - "311": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 312 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "None", - "fields": null, - "index": 0, - "docs": null }, { - "name": "Some", + "name": "set_zeroth_delay_tranche_width", "fields": [ { - "type": 312, - "typeName": "", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "312": { - "path": null, - "def": { - "Tuple": [ - 6, - 6, - 4 - ] - }, - "docs": null - }, - "313": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 314 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "None", - "fields": null, - "index": 0, - "docs": null + "index": 20, + "docs": [ + "Set the zeroth delay tranche width." + ] }, { - "name": "Some", + "name": "set_needed_approvals", "fields": [ { - "type": 314, - "typeName": "", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "314": { - "path": [ - "polkadot_runtime_common", - "claims", - "StatementKind" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Regular", - "fields": null, - "index": 0, - "docs": null + "index": 21, + "docs": [ + "Set the number of validators needed to approve a block." + ] }, { - "name": "Saft", - "fields": null, - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "315": { - "path": [ - "pallet_utility", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "batch", + "name": "set_relay_vrf_modulo_samples", "fields": [ { - "name": "calls", - "type": 316, - "typeName": "Vec\u003c\u003cT as Config\u003e::Call\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 0, + "index": 22, "docs": [ - "Send a batch of dispatch calls.", - "", - "May be called from any origin.", - "", - "- `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 call are dispatch without checking origin filter. (This includes", - "bypassing `frame_system::Config::BaseCallFilter`).", - "", - "# \u003cweight\u003e", - "- Complexity: O(C) where C is the number of calls to be batched.", - "# \u003c/weight\u003e", - "", - "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." + "Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion." ] }, { - "name": "as_derivative", + "name": "set_max_upward_queue_count", "fields": [ { - "name": "index", - "type": 72, - "typeName": "u16", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null - }, + } + ], + "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": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 1, + "index": 24, "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_." + "Sets the maximum total size of items that can present in a upward dispatch queue at once." ] }, { - "name": "batch_all", + "name": "set_max_downward_message_size", "fields": [ { - "name": "calls", - "type": 316, - "typeName": "Vec\u003c\u003cT as Config\u003e::Call\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 2, + "index": 25, "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.", - "", - "- `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 call are dispatch without checking origin filter. (This includes", - "bypassing `frame_system::Config::BaseCallFilter`).", - "", - "# \u003cweight\u003e", - "- Complexity: O(C) where C is the number of calls to be batched.", - "# \u003c/weight\u003e" + "Set the critical downward message size." ] }, { - "name": "dispatch_as", + "name": "set_ump_service_total_weight", "fields": [ { - "name": "as_origin", - "type": 317, - "typeName": "Box\u003cT::PalletsOrigin\u003e", + "name": "new", + "type": 8, + "typeName": "Weight", "docs": null - }, + } + ], + "index": 26, + "docs": [ + "Sets the soft limit for the phase of dispatching dispatchable upward messages." + ] + }, + { + "name": "set_max_upward_message_size", + "fields": [ { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 3, + "index": 27, "docs": [ - "Dispatches a function call with a provided origin.", - "", - "The dispatch origin for this call must be _Root_.", - "", - "# \u003cweight\u003e", - "- O(1).", - "- Limited storage reads.", - "- One DB write (event).", - "- Weight of derivative `call` execution + T::WeightInfo::dispatch_as().", - "# \u003c/weight\u003e" + "Sets the maximum size of an upward message that can be sent by a candidate." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "316": { - "path": null, - "def": { - "Sequence": { - "type": 301 - } - }, - "docs": null - }, - "317": { - "path": [ - "kusama_runtime", - "OriginCaller" - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "system", + "name": "set_max_upward_message_num_per_candidate", "fields": [ { - "type": 318, - "typeName": "frame_system::Origin\u003cRuntime\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 0, - "docs": null + "index": 28, + "docs": [ + "Sets the maximum number of messages that a candidate can contain." + ] }, { - "name": "Council", + "name": "set_hrmp_open_request_ttl", "fields": [ { - "type": 319, - "typeName": "pallet_collective::Origin\u003cRuntime, pallet_collective::Instance1\u003e", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 14, - "docs": null + "index": 29, + "docs": [ + "Sets the number of sessions after which an HRMP open channel request expires." + ] }, { - "name": "TechnicalCommittee", + "name": "set_hrmp_sender_deposit", "fields": [ { - "type": 320, - "typeName": "pallet_collective::Origin\u003cRuntime, pallet_collective::Instance2\u003e", + "name": "new", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 15, - "docs": null + "index": 30, + "docs": [ + "Sets the amount of funds that the sender should provide for opening an HRMP channel." + ] }, { - "name": "ParachainsOrigin", + "name": "set_hrmp_recipient_deposit", "fields": [ { - "type": 321, - "typeName": "parachains_origin::Origin", + "name": "new", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 50, - "docs": null + "index": 31, + "docs": [ + "Sets the amount of funds that the recipient should provide for accepting opening an HRMP", + "channel." + ] }, { - "name": "XcmPallet", + "name": "set_hrmp_channel_max_capacity", "fields": [ { - "type": 322, - "typeName": "pallet_xcm::Origin", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 99, - "docs": null + "index": 32, + "docs": [ + "Sets the maximum number of messages allowed in an HRMP channel at once." + ] }, { - "name": "Void", + "name": "set_hrmp_channel_max_total_size", "fields": [ { - "type": 323, - "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::Void", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 5, - "docs": null - } - ] - } - }, - "docs": null - }, - "318": { - "path": [ - "frame_system", - "RawOrigin" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Root", - "fields": null, - "index": 0, - "docs": null + "index": 33, + "docs": [ + "Sets the maximum total size of messages in bytes allowed in an HRMP channel at once." + ] }, { - "name": "Signed", + "name": "set_hrmp_max_parachain_inbound_channels", "fields": [ { - "type": 0, - "typeName": "AccountId", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 1, - "docs": null + "index": 34, + "docs": [ + "Sets the maximum number of inbound HRMP channels a parachain is allowed to accept." + ] }, { - "name": "None", - "fields": null, - "index": 2, - "docs": null - } - ] - } - }, - "docs": null - }, - "319": { - "path": [ - "pallet_collective", - "RawOrigin" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - }, - { - "name": "I", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "name": "set_hrmp_max_parathread_inbound_channels", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 35, + "docs": [ + "Sets the maximum number of inbound HRMP channels a parathread is allowed to accept." + ] + }, { - "name": "Members", + "name": "set_hrmp_channel_max_message_size", "fields": [ { + "name": "new", "type": 4, - "typeName": "MemberCount", + "typeName": "u32", "docs": null - }, + } + ], + "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": "MemberCount", + "typeName": "u32", "docs": null } ], - "index": 0, - "docs": null + "index": 37, + "docs": [ + "Sets the maximum number of outbound HRMP channels a parachain is allowed to open." + ] }, { - "name": "Member", + "name": "set_hrmp_max_parathread_outbound_channels", "fields": [ { - "type": 0, - "typeName": "AccountId", + "name": "new", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 1, - "docs": null + "index": 38, + "docs": [ + "Sets the maximum number of outbound HRMP channels a parathread is allowed to open." + ] }, { - "name": "_Phantom", - "fields": null, - "index": 2, - "docs": null - } - ] - } - }, - "docs": null - }, - "32": { - "path": [ - "pallet_grandpa", - "pallet", - "Event" - ], - "def": { - "Variant": { - "variants": [ + "name": "set_hrmp_max_message_num_per_candidate", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 39, + "docs": [ + "Sets the maximum number of outbound HRMP messages can be sent by a candidate." + ] + }, { - "name": "NewAuthorities", + "name": "set_ump_max_individual_weight", "fields": [ { - "name": "authority_set", - "type": 33, - "typeName": "AuthorityList", + "name": "new", + "type": 8, + "typeName": "Weight", "docs": null } ], - "index": 0, + "index": 40, "docs": [ - "New authority set has been applied." + "Sets the maximum amount of weight any individual upward message may consume." ] }, { - "name": "Paused", - "fields": null, - "index": 1, + "name": "set_pvf_checking_enabled", + "fields": [ + { + "name": "new", + "type": 37, + "typeName": "bool", + "docs": null + } + ], + "index": 41, "docs": [ - "Current authority set has been paused." + "Enable or disable PVF pre-checking. Consult the field documentation prior executing." ] }, { - "name": "Resumed", - "fields": null, - "index": 2, + "name": "set_pvf_voting_ttl", + "fields": [ + { + "name": "new", + "type": 4, + "typeName": "SessionIndex", + "docs": null + } + ], + "index": 42, "docs": [ - "Current authority set has been resumed." + "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", + "docs": null + } + ], + "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": 37, + "typeName": "bool", + "docs": null + } + ], + "index": 44, + "docs": [ + "Setting this to true will disable consistency checks for the configuration setters.", + "Use with caution." ] } ] } }, "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "320": { + "334": { "path": [ - "pallet_collective", - "RawOrigin" + "polkadot_runtime_parachains", + "shared", + "pallet", + "Call" ], "params": [ { - "name": "AccountId", + "name": "T", "type": 0 - }, + } + ], + "def": { + "Variant": { + "variants": null + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "335": { + "path": [ + "polkadot_runtime_parachains", + "inclusion", + "pallet", + "Call" + ], + "params": [ { - "name": "I", + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": null + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "336": { + "path": [ + "polkadot_runtime_parachains", + "paras_inherent", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", "type": 0 } ], @@ -14912,38 +15859,64 @@ "Variant": { "variants": [ { - "name": "Members", + "name": "enter", "fields": [ { - "type": 4, - "typeName": "MemberCount", - "docs": null - }, - { - "type": 4, - "typeName": "MemberCount", + "name": "data", + "type": 337, + "typeName": "ParachainsInherentData\u003cT::Header\u003e", "docs": null } ], "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." + ] + }, + "337": { + "path": [ + "polkadot_primitives", + "v2", + "InherentData" + ], + "params": [ + { + "name": "HDR", + "type": 80 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "bitfields", + "type": 338, + "typeName": "UncheckedSignedAvailabilityBitfields", "docs": null }, { - "name": "Member", - "fields": [ - { - "type": 0, - "typeName": "AccountId", - "docs": null - } - ], - "index": 1, + "name": "backed_candidates", + "type": 345, + "typeName": "Vec\u003cBackedCandidate\u003cHDR::Hash\u003e\u003e", "docs": null }, { - "name": "_Phantom", - "fields": null, - "index": 2, + "name": "disputes", + "type": 360, + "typeName": "MultiDisputeStatementSet", + "docs": null + }, + { + "name": "parent_header", + "type": 80, + "typeName": "HDR", "docs": null } ] @@ -14951,26 +15924,51 @@ }, "docs": null }, - "321": { + "338": { + "path": null, + "def": { + "Sequence": { + "type": 339 + } + }, + "docs": null + }, + "339": { "path": [ - "polkadot_runtime_parachains", - "origin", - "pallet", - "Origin" + "polkadot_primitives", + "v2", + "signed", + "UncheckedSigned" + ], + "params": [ + { + "name": "Payload", + "type": 340 + }, + { + "name": "RealPayload", + "type": 340 + } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Parachain", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "index": 0, + "name": "payload", + "type": 340, + "typeName": "Payload", + "docs": null + }, + { + "name": "validator_index", + "type": 343, + "typeName": "ValidatorIndex", + "docs": null + }, + { + "name": "signature", + "type": 344, + "typeName": "ValidatorSignature", "docs": null } ] @@ -14978,37 +15976,37 @@ }, "docs": null }, - "322": { + "34": { "path": [ - "pallet_xcm", - "pallet", - "Origin" + "sp_arithmetic", + "per_things", + "Perbill" ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Xcm", - "fields": [ - { - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], - "index": 0, + "type": 4, + "typeName": "u32", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "340": { + "path": [ + "polkadot_primitives", + "v2", + "AvailabilityBitfield" + ], + "def": { + "Composite": { + "fields": [ { - "name": "Response", - "fields": [ - { - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], - "index": 1, + "type": 341, + "typeName": "BitVec\u003cu8, bitvec::order::Lsb0\u003e", "docs": null } ] @@ -15016,567 +16014,214 @@ }, "docs": null }, - "323": { + "341": { + "path": null, + "def": { + "BitSequence": { + "bitStoreType": 2, + "bitOrderType": 342 + } + }, + "docs": null + }, + "342": { "path": [ - "sp_core", - "Void" + "bitvec", + "order", + "Lsb0" ], "def": { - "Variant": { - "variants": null + "Composite": { + "fields": null } }, "docs": null }, - "324": { + "343": { "path": [ - "pallet_identity", - "pallet", - "Call" + "polkadot_primitives", + "v2", + "ValidatorIndex" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 4, + "typeName": "u32", + "docs": null + } + ] + } + }, + "docs": null + }, + "344": { + "path": [ + "polkadot_primitives", + "v2", + "validator_app", + "Signature" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 131, + "typeName": "sr25519::Signature", + "docs": null + } + ] + } + }, + "docs": null + }, + "345": { + "path": null, + "def": { + "Sequence": { + "type": 346 + } + }, + "docs": null + }, + "346": { + "path": [ + "polkadot_primitives", + "v2", + "BackedCandidate" ], "params": [ { - "name": "T", - "type": 0 + "name": "H", + "type": 11 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "add_registrar", - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(R)` where `R` registrar-count (governance-bounded and code-bounded).", - "- One storage mutation (codec `O(R)`).", - "- One event.", - "# \u003c/weight\u003e" - ] + "name": "candidate", + "type": 347, + "typeName": "CommittedCandidateReceipt\u003cH\u003e", + "docs": null }, { - "name": "set_identity", - "fields": [ - { - "name": "info", - "type": 325, - "typeName": "Box\u003cIdentityInfo\u003cT::MaxAdditionalFields\u003e\u003e", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(X + X' + R)`", - " - where `X` additional-field-count (deposit-bounded and code-bounded)", - " - where `R` judgements-count (registrar-count-bounded)", - "- One balance reserve operation.", - "- One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).", - "- One event.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "set_subs", - "fields": [ - { - "name": "subs", - "type": 359, - "typeName": "Vec\u003c(T::AccountId, Data)\u003e", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(P + S)`", - " - where `P` old-subs-count (hard- and deposit-bounded).", - " - where `S` subs-count (hard- and deposit-bounded).", - "- At most one balance operations.", - "- DB:", - " - `P + S` storage mutations (codec complexity `O(1)`)", - " - One storage read (codec complexity `O(P)`).", - " - One storage write (codec complexity `O(S)`).", - " - One storage-exists (`IdentityOf::contains_key`).", - "# \u003c/weight\u003e" - ] - }, - { - "name": "clear_identity", - "fields": null, - "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.", - "", - "# \u003cweight\u003e", - "- `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).", - "- One balance-unreserve operation.", - "- `2` storage reads and `S + 2` storage deletions.", - "- One event.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "request_judgement", - "fields": [ - { - "name": "reg_index", - "type": 112, - "typeName": "RegistrarIndex", - "docs": null - }, - { - "name": "max_fee", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(R + X)`.", - "- One balance-reserve operation.", - "- Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.", - "- One event.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "cancel_request", - "fields": [ - { - "name": "reg_index", - "type": 4, - "typeName": "RegistrarIndex", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(R + X)`.", - "- One balance-reserve operation.", - "- One storage mutation `O(R + X)`.", - "- One event", - "# \u003c/weight\u003e" - ] - }, - { - "name": "set_fee", - "fields": [ - { - "name": "index", - "type": 112, - "typeName": "RegistrarIndex", - "docs": null - }, - { - "name": "fee", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(R)`.", - "- One storage mutation `O(R)`.", - "2d2042656e63686d61726b3a20372e333135202b2052202a20302e33323920c2b57320286d696e207371756172657320616e616c7973697329", - "# \u003c/weight\u003e" - ] - }, - { - "name": "set_account_id", - "fields": [ - { - "name": "index", - "type": 112, - "typeName": "RegistrarIndex", - "docs": null - }, - { - "name": "new", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(R)`.", - "- One storage mutation `O(R)`.", - "2d2042656e63686d61726b3a20382e383233202b2052202a20302e333220c2b57320286d696e207371756172657320616e616c7973697329", - "# \u003c/weight\u003e" - ] - }, - { - "name": "set_fields", - "fields": [ - { - "name": "index", - "type": 112, - "typeName": "RegistrarIndex", - "docs": null - }, - { - "name": "fields", - "type": 361, - "typeName": "IdentityFields", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(R)`.", - "- One storage mutation `O(R)`.", - "2d2042656e63686d61726b3a20372e343634202b2052202a20302e33323520c2b57320286d696e207371756172657320616e616c7973697329", - "# \u003c/weight\u003e" - ] - }, - { - "name": "provide_judgement", - "fields": [ - { - "name": "reg_index", - "type": 112, - "typeName": "RegistrarIndex", - "docs": null - }, - { - "name": "target", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "judgement", - "type": 363, - "typeName": "Judgement\u003cBalanceOf\u003cT\u003e\u003e", - "docs": null - } - ], - "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`.", - "", - "Emits `JudgementGiven` if successful.", - "", - "# \u003cweight\u003e", - "- `O(R + X)`.", - "- One balance-transfer operation.", - "- Up to one account-lookup operation.", - "- Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.", - "- One event.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "kill_identity", - "fields": [ - { - "name": "target", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(R + S + X)`.", - "- One balance-reserve operation.", - "- `S + 2` storage mutations.", - "- One event.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "add_sub", - "fields": [ - { - "name": "sub", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "data", - "type": 328, - "typeName": "Data", - "docs": null - } - ], - "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": "validity_votes", + "type": 358, + "typeName": "Vec\u003cValidityAttestation\u003e", + "docs": null }, { - "name": "rename_sub", - "fields": [ - { - "name": "sub", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "data", - "type": 328, - "typeName": "Data", - "docs": null - } - ], - "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": "validator_indices", + "type": 341, + "typeName": "BitVec\u003cu8, bitvec::order::Lsb0\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "347": { + "path": [ + "polkadot_primitives", + "v2", + "CommittedCandidateReceipt" + ], + "params": [ + { + "name": "H", + "type": 11 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "remove_sub", - "fields": [ - { - "name": "sub", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - } - ], - "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": "descriptor", + "type": 348, + "typeName": "CandidateDescriptor\u003cH\u003e", + "docs": null }, { - "name": "quit_sub", - "fields": null, - "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." - ] + "name": "commitments", + "type": 352, + "typeName": "CandidateCommitments", + "docs": null } ] } }, - "docs": [ - "Identity pallet declaration." - ] + "docs": null }, - "325": { + "348": { "path": [ - "pallet_identity", - "types", - "IdentityInfo" + "polkadot_primitives", + "v2", + "CandidateDescriptor" ], "params": [ { - "name": "FieldLimit", - "type": 0 + "name": "H", + "type": 11 } ], "def": { "Composite": { "fields": [ { - "name": "additional", - "type": 326, - "typeName": "BoundedVec\u003c(Data, Data), FieldLimit\u003e", + "name": "para_id", + "type": 156, + "typeName": "Id", "docs": null }, { - "name": "display", - "type": 328, - "typeName": "Data", + "name": "relay_parent", + "type": 11, + "typeName": "H", "docs": null }, { - "name": "legal", - "type": 328, - "typeName": "Data", + "name": "collator", + "type": 349, + "typeName": "CollatorId", "docs": null }, { - "name": "web", - "type": 328, - "typeName": "Data", + "name": "persisted_validation_data_hash", + "type": 11, + "typeName": "Hash", "docs": null }, { - "name": "riot", - "type": 328, - "typeName": "Data", + "name": "pov_hash", + "type": 11, + "typeName": "Hash", "docs": null }, { - "name": "email", - "type": 328, - "typeName": "Data", + "name": "erasure_root", + "type": 11, + "typeName": "Hash", "docs": null }, { - "name": "pgp_fingerprint", - "type": 358, - "typeName": "Option\u003c[u8; 20]\u003e", + "name": "signature", + "type": 350, + "typeName": "CollatorSignature", "docs": null }, { - "name": "image", - "type": 328, - "typeName": "Data", + "name": "para_head", + "type": 11, + "typeName": "Hash", "docs": null }, { - "name": "twitter", - "type": 328, - "typeName": "Data", + "name": "validation_code_hash", + "type": 351, + "typeName": "ValidationCodeHash", "docs": null } ] @@ -15584,29 +16229,44 @@ }, "docs": null }, - "326": { + "349": { "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" + "polkadot_primitives", + "v2", + "collator_app", + "Public" ], - "params": [ - { - "name": "T", - "type": 327 - }, - { - "name": "S", - "type": 0 + "def": { + "Composite": { + "fields": [ + { + "type": 49, + "typeName": "sr25519::Public", + "docs": null + } + ] } + }, + "docs": null + }, + "35": { + "path": [ + "pallet_staking", + "ValidatorPrefs" ], "def": { "Composite": { "fields": [ { - "type": 357, - "typeName": "Vec\u003cT\u003e", + "name": "commission", + "type": 36, + "typeName": "Perbill", + "docs": null + }, + { + "name": "blocked", + "type": 37, + "typeName": "bool", "docs": null } ] @@ -15614,473 +16274,687 @@ }, "docs": null }, - "327": { - "path": null, + "350": { + "path": [ + "polkadot_primitives", + "v2", + "collator_app", + "Signature" + ], "def": { - "Tuple": [ - 328, - 328 - ] + "Composite": { + "fields": [ + { + "type": 131, + "typeName": "sr25519::Signature", + "docs": null + } + ] + } }, "docs": null }, - "328": { + "351": { "path": [ - "pallet_identity", - "types", - "Data" + "polkadot_parachain", + "primitives", + "ValidationCodeHash" ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "None", - "fields": null, - "index": 0, + "type": 11, + "typeName": "Hash", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "352": { + "path": [ + "polkadot_primitives", + "v2", + "CandidateCommitments" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "Raw0", - "fields": [ - { - "type": 329, - "typeName": "", - "docs": null - } - ], - "index": 1, + "name": "upward_messages", + "type": 77, + "typeName": "Vec\u003cUpwardMessage\u003e", "docs": null }, { - "name": "Raw1", - "fields": [ - { - "type": 330, - "typeName": "", - "docs": null - } - ], - "index": 2, + "name": "horizontal_messages", + "type": 353, + "typeName": "Vec\u003cOutboundHrmpMessage\u003cId\u003e\u003e", "docs": null }, { - "name": "Raw2", - "fields": [ - { - "type": 331, - "typeName": "", - "docs": null - } - ], - "index": 3, + "name": "new_validation_code", + "type": 355, + "typeName": "Option\u003cValidationCode\u003e", "docs": null }, { - "name": "Raw3", - "fields": [ - { - "type": 332, - "typeName": "", - "docs": null - } - ], - "index": 4, + "name": "head_data", + "type": 357, + "typeName": "HeadData", "docs": null }, { - "name": "Raw4", - "fields": [ - { - "type": 14, - "typeName": "", - "docs": null - } - ], - "index": 5, + "name": "processed_downward_messages", + "type": 4, + "typeName": "u32", "docs": null }, { - "name": "Raw5", - "fields": [ - { - "type": 333, - "typeName": "", - "docs": null - } - ], - "index": 6, + "name": "hrmp_watermark", + "type": 4, + "typeName": "N", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "353": { + "path": null, + "def": { + "Sequence": { + "type": 354 + } + }, + "docs": null + }, + "354": { + "path": [ + "polkadot_core_primitives", + "OutboundHrmpMessage" + ], + "params": [ + { + "name": "Id", + "type": 156 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "Raw6", - "fields": [ - { - "type": 334, - "typeName": "", - "docs": null - } - ], - "index": 7, + "name": "recipient", + "type": 156, + "typeName": "Id", "docs": null }, { - "name": "Raw7", - "fields": [ - { - "type": 335, - "typeName": "", - "docs": null - } - ], - "index": 8, + "name": "data", + "type": 12, + "typeName": "sp_std::vec::Vec\u003cu8\u003e", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "355": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 356 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "Raw8", - "fields": [ - { - "type": 126, - "typeName": "", - "docs": null - } - ], - "index": 9, + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "Raw9", + "name": "Some", "fields": [ { - "type": 336, + "type": 356, "typeName": "", "docs": null } ], - "index": 10, + "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "356": { + "path": [ + "polkadot_parachain", + "primitives", + "ValidationCode" + ], + "def": { + "Composite": { + "fields": [ { - "name": "Raw10", - "fields": [ - { - "type": 337, - "typeName": "", - "docs": null - } - ], - "index": 11, + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "357": { + "path": [ + "polkadot_parachain", + "primitives", + "HeadData" + ], + "def": { + "Composite": { + "fields": [ { - "name": "Raw11", - "fields": [ - { - "type": 338, - "typeName": "", - "docs": null - } - ], - "index": 12, + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "358": { + "path": null, + "def": { + "Sequence": { + "type": 359 + } + }, + "docs": null + }, + "359": { + "path": [ + "polkadot_primitives", + "v2", + "ValidityAttestation" + ], + "def": { + "Variant": { + "variants": [ { - "name": "Raw12", + "name": "Implicit", "fields": [ { - "type": 339, - "typeName": "", + "type": 344, + "typeName": "ValidatorSignature", "docs": null } ], - "index": 13, + "index": 1, "docs": null }, { - "name": "Raw13", + "name": "Explicit", "fields": [ { - "type": 340, - "typeName": "", + "type": 344, + "typeName": "ValidatorSignature", "docs": null } ], - "index": 14, + "index": 2, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "36": { + "path": null, + "def": { + "Compact": { + "type": 34 + } + }, + "docs": null + }, + "360": { + "path": null, + "def": { + "Sequence": { + "type": 361 + } + }, + "docs": null + }, + "361": { + "path": [ + "polkadot_primitives", + "v2", + "DisputeStatementSet" + ], + "def": { + "Composite": { + "fields": [ { - "name": "Raw14", - "fields": [ - { - "type": 341, - "typeName": "", - "docs": null - } - ], - "index": 15, + "name": "candidate_hash", + "type": 362, + "typeName": "CandidateHash", "docs": null }, { - "name": "Raw15", - "fields": [ - { - "type": 342, - "typeName": "", - "docs": null - } - ], - "index": 16, + "name": "session", + "type": 4, + "typeName": "SessionIndex", "docs": null }, { - "name": "Raw16", - "fields": [ - { - "type": 30, - "typeName": "", - "docs": null - } - ], - "index": 17, + "name": "statements", + "type": 363, + "typeName": "Vec\u003c(DisputeStatement, ValidatorIndex, ValidatorSignature)\u003e", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "362": { + "path": [ + "polkadot_core_primitives", + "CandidateHash" + ], + "def": { + "Composite": { + "fields": [ { - "name": "Raw17", - "fields": [ - { - "type": 343, - "typeName": "", - "docs": null - } - ], - "index": 18, + "type": 11, + "typeName": "Hash", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "363": { + "path": null, + "def": { + "Sequence": { + "type": 364 + } + }, + "docs": null + }, + "364": { + "path": null, + "def": { + "Tuple": [ + 365, + 343, + 344 + ] + }, + "docs": null + }, + "365": { + "path": [ + "polkadot_primitives", + "v2", + "DisputeStatement" + ], + "def": { + "Variant": { + "variants": [ { - "name": "Raw18", + "name": "Valid", "fields": [ { - "type": 344, - "typeName": "", + "type": 366, + "typeName": "ValidDisputeStatementKind", "docs": null } ], - "index": 19, + "index": 0, "docs": null }, { - "name": "Raw19", + "name": "Invalid", "fields": [ { - "type": 345, - "typeName": "", + "type": 367, + "typeName": "InvalidDisputeStatementKind", "docs": null } ], - "index": 20, + "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "366": { + "path": [ + "polkadot_primitives", + "v2", + "ValidDisputeStatementKind" + ], + "def": { + "Variant": { + "variants": [ { - "name": "Raw20", - "fields": [ - { - "type": 61, - "typeName": "", - "docs": null - } - ], - "index": 21, + "name": "Explicit", + "fields": null, + "index": 0, "docs": null }, { - "name": "Raw21", + "name": "BackingSeconded", "fields": [ { - "type": 346, - "typeName": "", + "type": 11, + "typeName": "Hash", "docs": null } ], - "index": 22, + "index": 1, "docs": null }, { - "name": "Raw22", + "name": "BackingValid", "fields": [ { - "type": 347, - "typeName": "", + "type": 11, + "typeName": "Hash", "docs": null } ], - "index": 23, + "index": 2, "docs": null }, { - "name": "Raw23", - "fields": [ - { - "type": 348, - "typeName": "", - "docs": null - } - ], - "index": 24, + "name": "ApprovalChecking", + "fields": null, + "index": 3, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "367": { + "path": [ + "polkadot_primitives", + "v2", + "InvalidDisputeStatementKind" + ], + "def": { + "Variant": { + "variants": [ { - "name": "Raw24", - "fields": [ - { - "type": 349, - "typeName": "", - "docs": null - } - ], - "index": 25, + "name": "Explicit", + "fields": null, + "index": 0, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "368": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "Raw25", + "name": "force_set_current_code", "fields": [ { - "type": 350, - "typeName": "", + "name": "para", + "type": 156, + "typeName": "ParaId", "docs": null - } - ], - "index": 26, - "docs": null - }, - { - "name": "Raw26", - "fields": [ + }, { - "type": 351, - "typeName": "", + "name": "new_code", + "type": 356, + "typeName": "ValidationCode", "docs": null } ], - "index": 27, - "docs": null + "index": 0, + "docs": [ + "Set the storage for the parachain validation code immediately." + ] }, { - "name": "Raw27", + "name": "force_set_current_head", "fields": [ { - "type": 352, - "typeName": "", + "name": "para", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "new_head", + "type": 357, + "typeName": "HeadData", "docs": null } ], - "index": 28, - "docs": null + "index": 1, + "docs": [ + "Set the storage for the current parachain head data immediately." + ] }, { - "name": "Raw28", + "name": "force_schedule_code_upgrade", "fields": [ { - "type": 353, - "typeName": "", + "name": "para", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "new_code", + "type": 356, + "typeName": "ValidationCode", + "docs": null + }, + { + "name": "relay_parent_number", + "type": 4, + "typeName": "T::BlockNumber", "docs": null } ], - "index": 29, - "docs": null + "index": 2, + "docs": [ + "Schedule an upgrade as if it was scheduled in the given relay parent block." + ] }, { - "name": "Raw29", + "name": "force_note_new_head", "fields": [ { - "type": 354, - "typeName": "", + "name": "para", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "new_head", + "type": 357, + "typeName": "HeadData", "docs": null } ], - "index": 30, - "docs": null + "index": 3, + "docs": [ + "Note a new block head for para within the context of the current block." + ] }, { - "name": "Raw30", + "name": "force_queue_action", "fields": [ { - "type": 355, - "typeName": "", + "name": "para", + "type": 156, + "typeName": "ParaId", "docs": null } ], - "index": 31, - "docs": null + "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": "Raw31", + "name": "add_trusted_validation_code", "fields": [ { + "name": "validation_code", "type": 356, - "typeName": "", + "typeName": "ValidationCode", "docs": null } ], - "index": 32, - "docs": null + "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": "Raw32", + "name": "poke_unused_validation_code", "fields": [ { - "type": 1, - "typeName": "", + "name": "validation_code_hash", + "type": 351, + "typeName": "ValidationCodeHash", "docs": null } ], - "index": 33, - "docs": null + "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": "BlakeTwo256", + "name": "include_pvf_check_statement", "fields": [ { - "type": 1, - "typeName": "", + "name": "stmt", + "type": 369, + "typeName": "PvfCheckStatement", + "docs": null + }, + { + "name": "signature", + "type": 344, + "typeName": "ValidatorSignature", "docs": null } ], - "index": 34, + "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." + ] + }, + "369": { + "path": [ + "polkadot_primitives", + "v2", + "PvfCheckStatement" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "accept", + "type": 37, + "typeName": "bool", "docs": null }, { - "name": "Sha256", - "fields": [ - { - "type": 1, - "typeName": "", - "docs": null - } - ], - "index": 35, + "name": "subject", + "type": 351, + "typeName": "ValidationCodeHash", "docs": null }, { - "name": "Keccak256", - "fields": [ - { - "type": 1, - "typeName": "", - "docs": null - } - ], - "index": 36, + "name": "session_index", + "type": 4, + "typeName": "SessionIndex", "docs": null }, { - "name": "ShaThree256", - "fields": [ - { - "type": 1, - "typeName": "", - "docs": null - } - ], - "index": 37, + "name": "validator_index", + "type": 343, + "typeName": "ValidatorIndex", "docs": null } ] @@ -16088,390 +16962,382 @@ }, "docs": null }, - "329": { - "path": null, - "def": { - "Array": { - "len": 0, - "type": 2 - } - }, - "docs": null - }, - "33": { - "path": null, - "def": { - "Sequence": { - "type": 34 - } - }, - "docs": null - }, - "330": { - "path": null, - "def": { - "Array": { - "len": 1, - "type": 2 - } - }, - "docs": null - }, - "331": { - "path": null, - "def": { - "Array": { - "len": 2, - "type": 2 - } - }, - "docs": null - }, - "332": { - "path": null, - "def": { - "Array": { - "len": 3, - "type": 2 - } - }, - "docs": null - }, - "333": { - "path": null, - "def": { - "Array": { - "len": 5, - "type": 2 - } - }, - "docs": null - }, - "334": { - "path": null, - "def": { - "Array": { - "len": 6, - "type": 2 - } - }, - "docs": null - }, - "335": { - "path": null, - "def": { - "Array": { - "len": 7, - "type": 2 - } - }, - "docs": null - }, - "336": { + "37": { "path": null, "def": { - "Array": { - "len": 9, - "type": 2 - } + "Primitive": "Bool" }, "docs": null }, - "337": { - "path": null, - "def": { - "Array": { - "len": 10, - "type": 2 + "370": { + "path": [ + "polkadot_runtime_parachains", + "initializer", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 } - }, - "docs": null - }, - "338": { - "path": null, + ], "def": { - "Array": { - "len": 11, - "type": 2 + "Variant": { + "variants": [ + { + "name": "force_approve", + "fields": [ + { + "name": "up_to", + "type": 4, + "typeName": "BlockNumber", + "docs": null + } + ], + "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": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "339": { - "path": null, - "def": { - "Array": { - "len": 12, - "type": 2 + "371": { + "path": [ + "polkadot_runtime_parachains", + "dmp", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 } - }, - "docs": null - }, - "34": { - "path": null, - "def": { - "Tuple": [ - 35, - 8 - ] - }, - "docs": null - }, - "340": { - "path": null, + ], "def": { - "Array": { - "len": 13, - "type": 2 + "Variant": { + "variants": null } }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "341": { - "path": null, - "def": { - "Array": { - "len": 14, - "type": 2 + "372": { + "path": [ + "polkadot_runtime_parachains", + "ump", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 } - }, - "docs": null - }, - "342": { - "path": null, + ], "def": { - "Array": { - "len": 15, - "type": 2 + "Variant": { + "variants": [ + { + "name": "service_overweight", + "fields": [ + { + "name": "index", + "type": 10, + "typeName": "OverweightIndex", + "docs": null + }, + { + "name": "weight_limit", + "type": 8, + "typeName": "Weight", + "docs": null + } + ], + "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": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "343": { - "path": null, - "def": { - "Array": { - "len": 17, - "type": 2 + "373": { + "path": [ + "polkadot_runtime_parachains", + "hrmp", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 } - }, - "docs": null - }, - "344": { - "path": null, - "def": { - "Array": { - "len": 18, - "type": 2 - } - }, - "docs": null - }, - "345": { - "path": null, - "def": { - "Array": { - "len": 19, - "type": 2 - } - }, - "docs": null - }, - "346": { - "path": null, - "def": { - "Array": { - "len": 21, - "type": 2 - } - }, - "docs": null - }, - "347": { - "path": null, - "def": { - "Array": { - "len": 22, - "type": 2 - } - }, - "docs": null - }, - "348": { - "path": null, - "def": { - "Array": { - "len": 23, - "type": 2 - } - }, - "docs": null - }, - "349": { - "path": null, - "def": { - "Array": { - "len": 24, - "type": 2 - } - }, - "docs": null - }, - "35": { - "path": [ - "sp_finality_grandpa", - "app", - "Public" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 36, - "typeName": "ed25519::Public", - "docs": null - } - ] - } - }, - "docs": null - }, - "350": { - "path": null, - "def": { - "Array": { - "len": 25, - "type": 2 - } - }, - "docs": null - }, - "351": { - "path": null, - "def": { - "Array": { - "len": 26, - "type": 2 - } - }, - "docs": null - }, - "352": { - "path": null, - "def": { - "Array": { - "len": 27, - "type": 2 - } - }, - "docs": null - }, - "353": { - "path": null, - "def": { - "Array": { - "len": 28, - "type": 2 - } - }, - "docs": null - }, - "354": { - "path": null, - "def": { - "Array": { - "len": 29, - "type": 2 - } - }, - "docs": null - }, - "355": { - "path": null, - "def": { - "Array": { - "len": 30, - "type": 2 - } - }, - "docs": null - }, - "356": { - "path": null, - "def": { - "Array": { - "len": 31, - "type": 2 - } - }, - "docs": null - }, - "357": { - "path": null, - "def": { - "Sequence": { - "type": 327 - } - }, - "docs": null - }, - "358": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 61 - } - ], + ], "def": { "Variant": { "variants": [ { - "name": "None", - "fields": null, + "name": "hrmp_init_open_channel", + "fields": [ + { + "name": "recipient", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "proposed_max_capacity", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "proposed_max_message_size", + "type": 4, + "typeName": "u32", + "docs": null + } + ], "index": 0, - "docs": null + "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": "Some", + "name": "hrmp_accept_open_channel", "fields": [ { - "type": 61, - "typeName": "", + "name": "sender", + "type": 156, + "typeName": "ParaId", "docs": null } ], "index": 1, - "docs": null + "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": 374, + "typeName": "HrmpChannelId", + "docs": null + } + ], + "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": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "inbound", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "outbound", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "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", + "docs": null + } + ], + "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", + "docs": null + } + ], + "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": 374, + "typeName": "HrmpChannelId", + "docs": null + }, + { + "name": "open_requests", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "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": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "recipient", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "max_capacity", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "max_message_size", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "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": null - }, - "359": { - "path": null, - "def": { - "Sequence": { - "type": 360 - } - }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "36": { + "374": { "path": [ - "sp_core", - "ed25519", - "Public" + "polkadot_parachain", + "primitives", + "HrmpChannelId" ], "def": { "Composite": { "fields": [ { - "type": 1, - "typeName": "[u8; 32]", + "name": "sender", + "type": 156, + "typeName": "Id", + "docs": null + }, + { + "name": "recipient", + "type": 156, + "typeName": "Id", "docs": null } ] @@ -16479,273 +17345,93 @@ }, "docs": null }, - "360": { - "path": null, - "def": { - "Tuple": [ - 0, - 328 - ] - }, - "docs": null - }, - "361": { + "375": { "path": [ - "pallet_identity", - "types", - "BitFlags" + "polkadot_runtime_parachains", + "disputes", + "pallet", + "Call" ], "params": [ { "name": "T", - "type": 362 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 8, - "typeName": "IdentityField", - "docs": null - } - ] + "type": 0 } - }, - "docs": null - }, - "362": { - "path": [ - "pallet_identity", - "types", - "IdentityField" ], "def": { "Variant": { "variants": [ { - "name": "Display", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "Legal", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "Web", - "fields": null, - "index": 4, - "docs": null - }, - { - "name": "Riot", - "fields": null, - "index": 8, - "docs": null - }, - { - "name": "Email", - "fields": null, - "index": 16, - "docs": null - }, - { - "name": "PgpFingerprint", - "fields": null, - "index": 32, - "docs": null - }, - { - "name": "Image", - "fields": null, - "index": 64, - "docs": null - }, - { - "name": "Twitter", + "name": "force_unfreeze", "fields": null, - "index": 128, + "index": 0, "docs": null } ] } }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "363": { + "376": { "path": [ - "pallet_identity", - "types", - "Judgement" + "polkadot_runtime_common", + "paras_registrar", + "pallet", + "Call" ], "params": [ { - "name": "Balance", - "type": 6 + "name": "T", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "Unknown", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "FeePaid", + "name": "register", "fields": [ { - "type": 6, - "typeName": "Balance", + "name": "id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "genesis_head", + "type": 357, + "typeName": "HeadData", + "docs": null + }, + { + "name": "validation_code", + "type": 356, + "typeName": "ValidationCode", "docs": null } ], - "index": 1, - "docs": null + "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": "Reasonable", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "KnownGood", - "fields": null, - "index": 3, - "docs": null - }, - { - "name": "OutOfDate", - "fields": null, - "index": 4, - "docs": null - }, - { - "name": "LowQuality", - "fields": null, - "index": 5, - "docs": null - }, - { - "name": "Erroneous", - "fields": null, - "index": 6, - "docs": null - } - ] - } - }, - "docs": null - }, - "364": { - "path": [ - "pallet_society", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "bid", - "fields": [ - { - "name": "value", - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", - "docs": null - } - ], - "index": 0, - "docs": [ - "A user outside of the society can make a bid for entry.", - "", - "Payment: `CandidateDeposit` will be reserved for making a bid. It is returned", - "when the bid becomes a member, or if the bid calls `unbid`.", - "", - "The dispatch origin for this call must be _Signed_.", - "", - "Parameters:", - "- `value`: A one time payment the bid would like to receive when joining the society.", - "", - "# \u003cweight\u003e", - "Key: B (len of bids), C (len of candidates), M (len of members), X (balance reserve)", - "- Storage Reads:", - "\t- One storage read to check for suspended candidate. O(1)", - "\t- One storage read to check for suspended member. O(1)", - "\t- One storage read to retrieve all current bids. O(B)", - "\t- One storage read to retrieve all current candidates. O(C)", - "\t- One storage read to retrieve all members. O(M)", - "- Storage Writes:", - "\t- One storage mutate to add a new bid to the vector O(B) (TODO: possible optimization", - " w/ read)", - "\t- Up to one storage removal if bid.len() \u003e MAX_BID_COUNT. O(1)", - "- Notable Computation:", - "\t- O(B + C + log M) search to check user is not already a part of society.", - "\t- O(log B) search to insert the new bid sorted.", - "- External Pallet Operations:", - "\t- One balance reserve operation. O(X)", - "\t- Up to one balance unreserve operation if bids.len() \u003e MAX_BID_COUNT.", - "- Events:", - "\t- One event for new bid.", - "\t- Up to one event for AutoUnbid if bid.len() \u003e MAX_BID_COUNT.", - "", - "Total Complexity: O(M + B + C + logM + logB + X)", - "# \u003c/weight\u003e" - ] - }, - { - "name": "unbid", - "fields": [ - { - "name": "pos", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 1, - "docs": [ - "A bidder can remove their bid for entry into society.", - "By doing so, they will have their candidate deposit returned or", - "they will unvouch their voucher.", - "", - "Payment: The bid deposit is unreserved if the user made a bid.", - "", - "The dispatch origin for this call must be _Signed_ and a bidder.", - "", - "Parameters:", - "- `pos`: Position in the `Bids` vector of the bid who wants to unbid.", - "", - "# \u003cweight\u003e", - "Key: B (len of bids), X (balance unreserve)", - "- One storage read and write to retrieve and update the bids. O(B)", - "- Either one unreserve balance action O(X) or one vouching storage removal. O(1)", - "- One event.", - "", - "Total Complexity: O(B + X)", - "# \u003c/weight\u003e" - ] - }, - { - "name": "vouch", + "name": "force_register", "fields": [ { "name": "who", @@ -16754,394 +17440,404 @@ "docs": null }, { - "name": "value", + "name": "deposit", "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "typeName": "BalanceOf\u003cT\u003e", "docs": null }, { - "name": "tip", - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "name": "id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "genesis_head", + "type": 357, + "typeName": "HeadData", + "docs": null + }, + { + "name": "validation_code", + "type": 356, + "typeName": "ValidationCode", "docs": null } ], - "index": 2, + "index": 1, "docs": [ - "As a member, vouch for someone to join society by placing a bid on their behalf.", - "", - "There is no deposit required to vouch for a new bid, but a member can only vouch for", - "one bid at a time. If the bid becomes a suspended candidate and ultimately rejected by", - "the suspension judgement origin, the member will be banned from vouching again.", - "", - "As a vouching member, you can claim a tip if the candidate is accepted. This tip will", - "be paid as a portion of the reward the member will receive for joining the society.", - "", - "The dispatch origin for this call must be _Signed_ and a member.", - "", - "Parameters:", - "- `who`: The user who you would like to vouch for.", - "- `value`: The total reward to be paid between you and the candidate if they become", - "a member in the society.", - "- `tip`: Your cut of the total `value` payout when the candidate is inducted into", - "the society. Tips larger than `value` will be saturated upon payout.", + "Force the registration of a Para Id on the relay chain.", "", - "# \u003cweight\u003e", - "Key: B (len of bids), C (len of candidates), M (len of members)", - "- Storage Reads:", - "\t- One storage read to retrieve all members. O(M)", - "\t- One storage read to check member is not already vouching. O(1)", - "\t- One storage read to check for suspended candidate. O(1)", - "\t- One storage read to check for suspended member. O(1)", - "\t- One storage read to retrieve all current bids. O(B)", - "\t- One storage read to retrieve all current candidates. O(C)", - "- Storage Writes:", - "\t- One storage write to insert vouching status to the member. O(1)", - "\t- One storage mutate to add a new bid to the vector O(B) (TODO: possible optimization", - " w/ read)", - "\t- Up to one storage removal if bid.len() \u003e MAX_BID_COUNT. O(1)", - "- Notable Computation:", - "\t- O(log M) search to check sender is a member.", - "\t- O(B + C + log M) search to check user is not already a part of society.", - "\t- O(log B) search to insert the new bid sorted.", - "- External Pallet Operations:", - "\t- One balance reserve operation. O(X)", - "\t- Up to one balance unreserve operation if bids.len() \u003e MAX_BID_COUNT.", - "- Events:", - "\t- One event for vouch.", - "\t- Up to one event for AutoUnbid if bid.len() \u003e MAX_BID_COUNT.", + "This function must be called by a Root origin.", "", - "Total Complexity: O(M + B + C + logM + logB + X)", - "# \u003c/weight\u003e" + "The deposit taken can be specified for this registration. Any `ParaId`", + "can be registered, including sub-1000 IDs which are System Parachains." ] }, { - "name": "unvouch", + "name": "deregister", "fields": [ { - "name": "pos", - "type": 4, - "typeName": "u32", + "name": "id", + "type": 156, + "typeName": "ParaId", "docs": null } ], - "index": 3, + "index": 2, "docs": [ - "As a vouching member, unvouch a bid. This only works while vouched user is", - "only a bidder (and not a candidate).", - "", - "The dispatch origin for this call must be _Signed_ and a vouching member.", - "", - "Parameters:", - "- `pos`: Position in the `Bids` vector of the bid who should be unvouched.", - "", - "# \u003cweight\u003e", - "Key: B (len of bids)", - "- One storage read O(1) to check the signer is a vouching member.", - "- One storage mutate to retrieve and update the bids. O(B)", - "- One vouching storage removal. O(1)", - "- One event.", + "Deregister a Para Id, freeing all data and returning any deposit.", "", - "Total Complexity: O(B)", - "# \u003c/weight\u003e" + "The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread." ] }, { - "name": "vote", + "name": "swap", "fields": [ { - "name": "candidate", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", + "name": "id", + "type": 156, + "typeName": "ParaId", "docs": null }, { - "name": "approve", - "type": 52, - "typeName": "bool", + "name": "other", + "type": 156, + "typeName": "ParaId", "docs": null } ], - "index": 4, + "index": 3, "docs": [ - "As a member, vote on a candidate.", - "", - "The dispatch origin for this call must be _Signed_ and a member.", + "Swap a parachain with another parachain or parathread.", "", - "Parameters:", - "- `candidate`: The candidate that the member would like to bid on.", - "- `approve`: A boolean which says if the candidate should be approved (`true`) or", - " rejected (`false`).", + "The origin must be Root, the `para` owner, or the `para` itself.", "", - "# \u003cweight\u003e", - "Key: C (len of candidates), M (len of members)", - "- One storage read O(M) and O(log M) search to check user is a member.", - "- One account lookup.", - "- One storage read O(C) and O(C) search to check that user is a candidate.", - "- One storage write to add vote to votes. O(1)", - "- One event.", + "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.", "", - "Total Complexity: O(M + logM + C)", - "# \u003c/weight\u003e" + "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": "defender_vote", + "name": "remove_lock", "fields": [ { - "name": "approve", - "type": 52, - "typeName": "bool", + "name": "para", + "type": 156, + "typeName": "ParaId", "docs": null } ], - "index": 5, + "index": 4, "docs": [ - "As a member, vote on the defender.", - "", - "The dispatch origin for this call must be _Signed_ and a member.", - "", - "Parameters:", - "- `approve`: A boolean which says if the candidate should be", - "approved (`true`) or rejected (`false`).", - "", - "# \u003cweight\u003e", - "- Key: M (len of members)", - "- One storage read O(M) and O(log M) search to check user is a member.", - "- One storage write to add vote to votes. O(1)", - "- One event.", + "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.", "", - "Total Complexity: O(M + logM)", - "# \u003c/weight\u003e" + "Can only be called by the Root origin or the parachain." ] }, { - "name": "payout", + "name": "reserve", "fields": null, - "index": 6, + "index": 5, "docs": [ - "Transfer the first matured payout for the sender and remove it from the records.", - "", - "NOTE: This extrinsic needs to be called multiple times to claim multiple matured", - "payouts.", + "Reserve a Para Id on the relay chain.", "", - "Payment: The member will receive a payment equal to their first matured", - "payout to their free balance.", + "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.", "", - "The dispatch origin for this call must be _Signed_ and a member with", - "payouts remaining.", + "## Arguments", + "- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new para ID.", "", - "# \u003cweight\u003e", - "Key: M (len of members), P (number of payouts for a particular member)", - "- One storage read O(M) and O(log M) search to check signer is a member.", - "- One storage read O(P) to get all payouts for a member.", - "- One storage read O(1) to get the current block number.", - "- One currency transfer call. O(X)", - "- One storage write or removal to update the member's payouts. O(P)", + "## Deposits/Fees", + "The origin must reserve a deposit of `ParaDeposit` for the registration.", "", - "Total Complexity: O(M + logM + P + X)", - "# \u003c/weight\u003e" + "## Events", + "The `Reserved` event is emitted in case of success, which provides the ID reserved for use." ] }, { - "name": "found", + "name": "add_lock", "fields": [ { - "name": "founder", - "type": 0, - "typeName": "T::AccountId", + "name": "para", + "type": 156, + "typeName": "ParaId", "docs": null - }, + } + ], + "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": "max_members", - "type": 4, - "typeName": "u32", + "name": "para", + "type": 156, + "typeName": "ParaId", "docs": null }, { - "name": "rules", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "new_code", + "type": 356, + "typeName": "ValidationCode", "docs": null } ], "index": 7, "docs": [ - "Found the society.", - "", - "This is done as a discrete action in order to allow for the", - "pallet to be included into a running chain and can only be done once.", - "", - "The dispatch origin for this call must be from the _FounderSetOrigin_.", - "", - "Parameters:", - "- `founder` - The first member and head of the newly founded society.", - "- `max_members` - The initial max number of members for the society.", - "- `rules` - The rules of this society concerning membership.", - "", - "# \u003cweight\u003e", - "- Two storage mutates to set `Head` and `Founder`. O(1)", - "- One storage write to add the first member to society. O(1)", - "- One event.", + "Schedule a parachain upgrade.", "", - "Total Complexity: O(1)", - "# \u003c/weight\u003e" + "Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked." ] }, { - "name": "unfound", - "fields": null, + "name": "set_current_head", + "fields": [ + { + "name": "para", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "new_head", + "type": 357, + "typeName": "HeadData", + "docs": null + } + ], "index": 8, "docs": [ - "Annul the founding of the society.", - "", - "The dispatch origin for this call must be Signed, and the signing account must be both", - "the `Founder` and the `Head`. This implies that it may only be done when there is one", - "member.", - "", - "# \u003cweight\u003e", - "- Two storage reads O(1).", - "- Four storage removals O(1).", - "- One event.", + "Set the parachain's current head.", "", - "Total Complexity: O(1)", - "# \u003c/weight\u003e" + "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." + ] + }, + "377": { + "path": [ + "polkadot_runtime_common", + "slots", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "judge_suspended_member", + "name": "force_lease", "fields": [ { - "name": "who", + "name": "para", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "leaser", "type": 0, "typeName": "T::AccountId", "docs": null }, { - "name": "forgive", - "type": 52, - "typeName": "bool", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "period_begin", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "period_count", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", "docs": null } ], - "index": 9, + "index": 0, "docs": [ - "Allow suspension judgement origin to make judgement on a suspended member.", - "", - "If a suspended member is forgiven, we simply add them back as a member, not affecting", - "any of the existing storage items for that member.", - "", - "If a suspended member is rejected, remove all associated storage items, including", - "their payouts, and remove any vouched bids they currently have.", - "", - "The dispatch origin for this call must be from the _SuspensionJudgementOrigin_.", - "", - "Parameters:", - "- `who` - The suspended member to be judged.", - "- `forgive` - A boolean representing whether the suspension judgement origin forgives", - " (`true`) or rejects (`false`) a suspended member.", - "", - "# \u003cweight\u003e", - "Key: B (len of bids), M (len of members)", - "- One storage read to check `who` is a suspended member. O(1)", - "- Up to one storage write O(M) with O(log M) binary search to add a member back to", - " society.", - "- Up to 3 storage removals O(1) to clean up a removed member.", - "- Up to one storage write O(B) with O(B) search to remove vouched bid from bids.", - "- Up to one additional event if unvouch takes place.", - "- One storage removal. O(1)", - "- One event for the judgement.", + "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.", "", - "Total Complexity: O(M + logM + B)", - "# \u003c/weight\u003e" + "The dispatch origin for this call must match `T::ForceOrigin`." ] }, { - "name": "judge_suspended_candidate", + "name": "clear_all_leases", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "para", + "type": 156, + "typeName": "ParaId", "docs": null - }, + } + ], + "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": "judgement", - "type": 365, - "typeName": "Judgement", + "name": "para", + "type": 156, + "typeName": "ParaId", "docs": null } ], - "index": 10, + "index": 2, "docs": [ - "Allow suspended judgement origin to make judgement on a suspended candidate.", - "", - "If the judgement is `Approve`, we add them to society as a member with the appropriate", - "payment for joining society.", + "Try to onboard a parachain that has a lease for the current lease period.", "", - "If the judgement is `Reject`, we either slash the deposit of the bid, giving it back", - "to the society treasury, or we ban the voucher from vouching again.", + "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.", "", - "If the judgement is `Rebid`, we put the candidate back in the bid pool and let them go", - "through the induction process again.", - "", - "The dispatch origin for this call must be from the _SuspensionJudgementOrigin_.", - "", - "Parameters:", - "- `who` - The suspended candidate to be judged.", - "- `judgement` - `Approve`, `Reject`, or `Rebid`.", - "", - "# \u003cweight\u003e", - "Key: B (len of bids), M (len of members), X (balance action)", - "- One storage read to check `who` is a suspended candidate.", - "- One storage removal of the suspended candidate.", - "- Approve Logic", - "\t- One storage read to get the available pot to pay users with. O(1)", - "\t- One storage write to update the available pot. O(1)", - "\t- One storage read to get the current block number. O(1)", - "\t- One storage read to get all members. O(M)", - "\t- Up to one unreserve currency action.", - "\t- Up to two new storage writes to payouts.", - "\t- Up to one storage write with O(log M) binary search to add a member to society.", - "- Reject Logic", - "\t- Up to one repatriate reserved currency action. O(X)", - "\t- Up to one storage write to ban the vouching member from vouching again.", - "- Rebid Logic", - "\t- Storage mutate with O(log B) binary search to place the user back into bids.", - "- Up to one additional event if unvouch takes place.", - "- One storage removal.", - "- One event for the judgement.", + "Origin must be signed, but can be called by anyone." + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "378": { + "path": [ + "polkadot_runtime_common", + "auctions", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "new_auction", + "fields": [ + { + "name": "duration", + "type": 82, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "lease_period_index", + "type": 82, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + } + ], + "index": 0, + "docs": [ + "Create a new auction.", "", - "Total Complexity: O(M + logM + B + X)", - "# \u003c/weight\u003e" + "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": "set_max_members", + "name": "bid", "fields": [ { - "name": "max", - "type": 4, - "typeName": "u32", + "name": "para", + "type": 379, + "typeName": "ParaId", + "docs": null + }, + { + "name": "auction_index", + "type": 82, + "typeName": "AuctionIndex", + "docs": null + }, + { + "name": "first_slot", + "type": 82, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "last_slot", + "type": 82, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "amount", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], - "index": 11, + "index": 1, "docs": [ - "Allows root origin to change the maximum number of members in society.", - "Max membership count must be greater than 1.", - "", - "The dispatch origin for this call must be from _ROOT_.", + "Make a new bid from an account (including a parachain account) for deploying a new", + "parachain.", "", - "Parameters:", - "- `max` - The maximum number of members for the society.", + "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.", "", - "# \u003cweight\u003e", - "- One storage write to update the max. O(1)", - "- One event.", + "- `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", + "fields": null, + "index": 2, + "docs": [ + "Cancel an in-progress auction.", "", - "Total Complexity: O(1)", - "# \u003c/weight\u003e" + "Can only be called by Root origin." ] } ] @@ -17151,40 +17847,56 @@ "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "365": { + "379": { + "path": null, + "def": { + "Compact": { + "type": 156 + } + }, + "docs": null + }, + "38": { "path": [ - "pallet_society", - "Judgement" + "pallet_staking", + "Forcing" ], "def": { "Variant": { "variants": [ { - "name": "Rebid", + "name": "NotForcing", "fields": null, "index": 0, "docs": null }, { - "name": "Reject", + "name": "ForceNew", "fields": null, "index": 1, "docs": null }, { - "name": "Approve", + "name": "ForceNone", "fields": null, "index": 2, "docs": null + }, + { + "name": "ForceAlways", + "fields": null, + "index": 3, + "docs": null } ] } }, "docs": null }, - "366": { + "380": { "path": [ - "pallet_recovery", + "polkadot_runtime_common", + "crowdloan", "pallet", "Call" ], @@ -17198,323 +17910,259 @@ "Variant": { "variants": [ { - "name": "as_recovered", + "name": "create", "fields": [ { - "name": "account", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 379, + "typeName": "ParaId", "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "cap", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "first_period", + "type": 82, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "last_period", + "type": 82, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "end", + "type": 82, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "verifier", + "type": 381, + "typeName": "Option\u003cMultiSigner\u003e", "docs": null } ], "index": 0, "docs": [ - "Send a call through a recovered account.", - "", - "The dispatch origin for this call must be _Signed_ and registered to", - "be able to make calls on behalf of the recovered account.", - "", - "Parameters:", - "- `account`: The recovered account you want to make a call on-behalf-of.", - "- `call`: The call you want to make with the recovered account.", + "Create a new crowdloaning campaign for a parachain slot with the given lease period range.", "", - "# \u003cweight\u003e", - "- The weight of the `call` + 10,000.", - "- One storage lookup to check account is recovered by `who`. O(1)", - "# \u003c/weight\u003e" + "This applies a lock to your parachain configuration, ensuring that it cannot be changed", + "by the parachain manager." ] }, { - "name": "set_recovered", + "name": "contribute", "fields": [ { - "name": "lost", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 379, + "typeName": "ParaId", "docs": null }, { - "name": "rescuer", - "type": 0, - "typeName": "T::AccountId", + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "signature", + "type": 385, + "typeName": "Option\u003cMultiSignature\u003e", "docs": null } ], "index": 1, "docs": [ - "Allow ROOT to bypass the recovery process and set an a rescuer account", - "for a lost account directly.", - "", - "The dispatch origin for this call must be _ROOT_.", - "", - "Parameters:", - "- `lost`: The \"lost account\" to be recovered.", - "- `rescuer`: The \"rescuer account\" which can call as the lost account.", - "", - "# \u003cweight\u003e", - "- One storage write O(1)", - "- One event", - "# \u003c/weight\u003e" + "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": "create_recovery", + "name": "withdraw", "fields": [ { - "name": "friends", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", - "docs": null - }, - { - "name": "threshold", - "type": 72, - "typeName": "u16", + "name": "who", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "delay_period", - "type": 4, - "typeName": "T::BlockNumber", + "name": "index", + "type": 379, + "typeName": "ParaId", "docs": null } ], "index": 2, "docs": [ - "Create a recovery configuration for your account. This makes your account recoverable.", - "", - "Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance", - "will be reserved for storing the recovery configuration. This deposit is returned", - "in full when the user calls `remove_recovery`.", + "Withdraw full balance of a specific contributor.", "", - "The dispatch origin for this call must be _Signed_.", + "Origin must be signed, but can come from anyone.", "", - "Parameters:", - "- `friends`: A list of friends you trust to vouch for recovery attempts. Should be", - " ordered and contain no duplicate values.", - "- `threshold`: The number of friends that must vouch for a recovery attempt before the", - " account can be recovered. Should be less than or equal to the length of the list of", - " friends.", - "- `delay_period`: The number of blocks after a recovery attempt is initialized that", - " needs to pass before the account can be recovered.", + "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`.", "", - "# \u003cweight\u003e", - "- Key: F (len of friends)", - "- One storage read to check that account is not already recoverable. O(1).", - "- A check that the friends list is sorted and unique. O(F)", - "- One currency reserve operation. O(X)", - "- One storage write. O(1). Codec O(F).", - "- One event.", + "In this case, the fund's retirement flag is set and its `end` is reset to the current block", + "number.", "", - "Total Complexity: O(F + X)", - "# \u003c/weight\u003e" + "- `who`: The account whose contribution should be withdrawn.", + "- `index`: The parachain to whose crowdloan the contribution was made." ] }, { - "name": "initiate_recovery", + "name": "refund", "fields": [ { - "name": "account", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 379, + "typeName": "ParaId", "docs": null } ], "index": 3, "docs": [ - "Initiate the process for recovering a recoverable account.", - "", - "Payment: `RecoveryDeposit` balance will be reserved for initiating the", - "recovery process. This deposit will always be repatriated to the account", - "trying to be recovered. See `close_recovery`.", - "", - "The dispatch origin for this call must be _Signed_.", - "", - "Parameters:", - "- `account`: The lost account that you want to recover. This account needs to be", - " recoverable (i.e. have a recovery configuration).", - "", - "# \u003cweight\u003e", - "- One storage read to check that account is recoverable. O(F)", - "- One storage read to check that this recovery process hasn't already started. O(1)", - "- One currency reserve operation. O(X)", - "- One storage read to get the current block number. O(1)", - "- One storage write. O(1).", - "- One event.", + "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.", "", - "Total Complexity: O(F + X)", - "# \u003c/weight\u003e" + "Origin must be signed, but can come from anyone." ] }, { - "name": "vouch_recovery", + "name": "dissolve", "fields": [ { - "name": "lost", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "rescuer", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 379, + "typeName": "ParaId", "docs": null } ], "index": 4, "docs": [ - "Allow a \"friend\" of a recoverable account to vouch for an active recovery", - "process for that account.", - "", - "The dispatch origin for this call must be _Signed_ and must be a \"friend\"", - "for the recoverable account.", - "", - "Parameters:", - "- `lost`: The lost account that you want to recover.", - "- `rescuer`: The account trying to rescue the lost account that you want to vouch for.", - "", - "The combination of these two parameters must point to an active recovery", - "process.", - "", - "# \u003cweight\u003e", - "Key: F (len of friends in config), V (len of vouching friends)", - "- One storage read to get the recovery configuration. O(1), Codec O(F)", - "- One storage read to get the active recovery process. O(1), Codec O(V)", - "- One binary search to confirm caller is a friend. O(logF)", - "- One binary search to confirm caller has not already vouched. O(logV)", - "- One storage write. O(1), Codec O(V).", - "- One event.", - "", - "Total Complexity: O(F + logF + V + logV)", - "# \u003c/weight\u003e" + "Remove a fund after the retirement period has ended and all funds have been returned." ] }, { - "name": "claim_recovery", + "name": "edit", "fields": [ { - "name": "account", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 379, + "typeName": "ParaId", + "docs": null + }, + { + "name": "cap", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "first_period", + "type": 82, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "last_period", + "type": 82, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "end", + "type": 82, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "verifier", + "type": 381, + "typeName": "Option\u003cMultiSigner\u003e", "docs": null } ], "index": 5, "docs": [ - "Allow a successful rescuer to claim their recovered account.", - "", - "The dispatch origin for this call must be _Signed_ and must be a \"rescuer\"", - "who has successfully completed the account recovery process: collected", - "`threshold` or more vouches, waited `delay_period` blocks since initiation.", - "", - "Parameters:", - "- `account`: The lost account that you want to claim has been successfully recovered by", - " you.", - "", - "# \u003cweight\u003e", - "Key: F (len of friends in config), V (len of vouching friends)", - "- One storage read to get the recovery configuration. O(1), Codec O(F)", - "- One storage read to get the active recovery process. O(1), Codec O(V)", - "- One storage read to get the current block number. O(1)", - "- One storage write. O(1), Codec O(V).", - "- One event.", + "Edit the configuration for an in-progress crowdloan.", "", - "Total Complexity: O(F + V)", - "# \u003c/weight\u003e" + "Can only be called by Root origin." ] }, { - "name": "close_recovery", + "name": "add_memo", "fields": [ { - "name": "rescuer", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "memo", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null } ], "index": 6, "docs": [ - "As the controller of a recoverable account, close an active recovery", - "process for your account.", - "", - "Payment: By calling this function, the recoverable account will receive", - "the recovery deposit `RecoveryDeposit` placed by the rescuer.", - "", - "The dispatch origin for this call must be _Signed_ and must be a", - "recoverable account with an active recovery process for it.", - "", - "Parameters:", - "- `rescuer`: The account trying to rescue this recoverable account.", - "", - "# \u003cweight\u003e", - "Key: V (len of vouching friends)", - "- One storage read/remove to get the active recovery process. O(1), Codec O(V)", - "- One balance call to repatriate reserved. O(X)", - "- One event.", + "Add an optional memo to an existing crowdloan contribution.", "", - "Total Complexity: O(V + X)", - "# \u003c/weight\u003e" + "Origin must be Signed, and the user must have contributed to the crowdloan." ] }, { - "name": "remove_recovery", - "fields": null, + "name": "poke", + "fields": [ + { + "name": "index", + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], "index": 7, "docs": [ - "Remove the recovery process for your account. Recovered accounts are still accessible.", - "", - "NOTE: The user must make sure to call `close_recovery` on all active", - "recovery attempts before calling this function else it will fail.", - "", - "Payment: By calling this function the recoverable account will unreserve", - "their recovery configuration deposit.", - "(`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)", - "", - "The dispatch origin for this call must be _Signed_ and must be a", - "recoverable account (i.e. has a recovery configuration).", - "", - "# \u003cweight\u003e", - "Key: F (len of friends)", - "- One storage read to get the prefix iterator for active recoveries. O(1)", - "- One storage read/remove to get the recovery configuration. O(1), Codec O(F)", - "- One balance call to unreserved. O(X)", - "- One event.", + "Poke the fund into `NewRaise`", "", - "Total Complexity: O(F + X)", - "# \u003c/weight\u003e" + "Origin must be Signed, and the fund has non-zero raise." ] }, { - "name": "cancel_recovered", + "name": "contribute_all", "fields": [ { - "name": "account", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 379, + "typeName": "ParaId", + "docs": null + }, + { + "name": "signature", + "type": 385, + "typeName": "Option\u003cMultiSignature\u003e", "docs": null } ], "index": 8, "docs": [ - "Cancel the ability to use `as_recovered` for `account`.", - "", - "The dispatch origin for this call must be _Signed_ and registered to", - "be able to make calls on behalf of the recovered account.", - "", - "Parameters:", - "- `account`: The recovered account you are able to call on-behalf-of.", - "", - "# \u003cweight\u003e", - "- One storage mutation to check account is recovered by `who`. O(1)", - "# \u003c/weight\u003e" + "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." ] } ] @@ -17524,234 +18172,198 @@ "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "367": { + "381": { "path": [ - "pallet_vesting", - "pallet", - "Call" + "Option" ], "params": [ { "name": "T", - "type": 0 + "type": 382 } ], "def": { "Variant": { "variants": [ { - "name": "vest", + "name": "None", "fields": null, "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`.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- DbWeight: 2 Reads, 2 Writes", - " - Reads: Vesting Storage, Balances Locks, [Sender Account]", - " - Writes: Vesting Storage, Balances Locks, [Sender Account]", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "vest_other", + "name": "Some", "fields": [ { - "name": "target", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", + "type": 382, + "typeName": "", "docs": null } ], "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`.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- DbWeight: 3 Reads, 3 Writes", - " - Reads: Vesting Storage, Balances Locks, Target Account", - " - Writes: Vesting Storage, Balances Locks, Target Account", - "# \u003c/weight\u003e" - ] - }, + "docs": null + } + ] + } + }, + "docs": null + }, + "382": { + "path": [ + "sp_runtime", + "MultiSigner" + ], + "def": { + "Variant": { + "variants": [ { - "name": "vested_transfer", + "name": "Ed25519", "fields": [ { - "name": "target", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "schedule", - "type": 368, - "typeName": "VestingInfo\u003cBalanceOf\u003cT\u003e, T::BlockNumber\u003e", + "type": 46, + "typeName": "ed25519::Public", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- DbWeight: 3 Reads, 3 Writes", - " - Reads: Vesting Storage, Balances Locks, Target Account, [Sender Account]", - " - Writes: Vesting Storage, Balances Locks, Target Account, [Sender Account]", - "# \u003c/weight\u003e" - ] + "index": 0, + "docs": null }, { - "name": "force_vested_transfer", + "name": "Sr25519", "fields": [ { - "name": "source", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "target", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", - "docs": null - }, - { - "name": "schedule", - "type": 368, - "typeName": "VestingInfo\u003cBalanceOf\u003cT\u003e, T::BlockNumber\u003e", + "type": 49, + "typeName": "sr25519::Public", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `O(1)`.", - "- DbWeight: 4 Reads, 4 Writes", - " - Reads: Vesting Storage, Balances Locks, Target Account, Source Account", - " - Writes: Vesting Storage, Balances Locks, Target Account, Source Account", - "# \u003c/weight\u003e" - ] + "index": 1, + "docs": null }, { - "name": "merge_schedules", + "name": "Ecdsa", "fields": [ { - "name": "schedule1_index", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "schedule2_index", - "type": 4, - "typeName": "u32", + "type": 383, + "typeName": "ecdsa::Public", "docs": null } ], - "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." - ] + "index": 2, + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "368": { + "383": { "path": [ - "pallet_vesting", - "vesting_info", - "VestingInfo" + "sp_core", + "ecdsa", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 384, + "typeName": "[u8; 33]", + "docs": null + } + ] + } + }, + "docs": null + }, + "384": { + "path": null, + "def": { + "Array": { + "len": 33, + "type": 2 + } + }, + "docs": null + }, + "385": { + "path": [ + "Option" ], "params": [ { - "name": "Balance", - "type": 6 - }, - { - "name": "BlockNumber", - "type": 4 + "name": "T", + "type": 386 } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "locked", - "type": 6, - "typeName": "Balance", + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "per_block", - "type": 6, - "typeName": "Balance", + "name": "Some", + "fields": [ + { + "type": 386, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "386": { + "path": [ + "sp_runtime", + "MultiSignature" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Ed25519", + "fields": [ + { + "type": 118, + "typeName": "ed25519::Signature", + "docs": null + } + ], + "index": 0, "docs": null }, { - "name": "starting_block", - "type": 4, - "typeName": "BlockNumber", + "name": "Sr25519", + "fields": [ + { + "type": 131, + "typeName": "sr25519::Signature", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "Ecdsa", + "fields": [ + { + "type": 387, + "typeName": "ecdsa::Signature", + "docs": null + } + ], + "index": 2, "docs": null } ] @@ -17759,9 +18371,28 @@ }, "docs": null }, - "369": { + "387": { "path": [ - "pallet_scheduler", + "sp_core", + "ecdsa", + "Signature" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 172, + "typeName": "[u8; 65]", + "docs": null + } + ] + } + }, + "docs": null + }, + "388": { + "path": [ + "pallet_xcm", "pallet", "Call" ], @@ -17775,49 +18406,47 @@ "Variant": { "variants": [ { - "name": "schedule", + "name": "send", "fields": [ { - "name": "when", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "name": "maybe_periodic", - "type": 370, - "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", - "docs": null - }, - { - "name": "priority", - "type": 2, - "typeName": "schedule::Priority", + "name": "dest", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "message", + "type": 392, + "typeName": "Box\u003cVersionedXcm\u003c()\u003e\u003e", "docs": null } ], "index": 0, - "docs": [ - "Anonymously schedule a task." - ] + "docs": null }, { - "name": "cancel", + "name": "teleport_assets", "fields": [ { - "name": "when", - "type": 4, - "typeName": "T::BlockNumber", + "name": "dest", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", "docs": null }, { - "name": "index", + "name": "beneficiary", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", + "docs": null + }, + { + "name": "assets", + "type": 424, + "typeName": "Box\u003cVersionedMultiAssets\u003e", + "docs": null + }, + { + "name": "fee_asset_item", "type": 4, "typeName": "u32", "docs": null @@ -17825,235 +18454,329 @@ ], "index": 1, "docs": [ - "Cancel an anonymously scheduled task." + "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": "schedule_named", + "name": "reserve_transfer_assets", "fields": [ { - "name": "id", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - }, - { - "name": "when", - "type": 4, - "typeName": "T::BlockNumber", + "name": "dest", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", "docs": null }, { - "name": "maybe_periodic", - "type": 370, - "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", + "name": "beneficiary", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", "docs": null }, { - "name": "priority", - "type": 2, - "typeName": "schedule::Priority", + "name": "assets", + "type": 424, + "typeName": "Box\u003cVersionedMultiAssets\u003e", "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "fee_asset_item", + "type": 4, + "typeName": "u32", "docs": null } ], "index": 2, "docs": [ - "Schedule a named task." + "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": "cancel_named", + "name": "execute", "fields": [ { - "name": "id", + "name": "message", + "type": 425, + "typeName": "Box\u003cVersionedXcm\u003c\u003cT as SysConfig\u003e::RuntimeCall\u003e\u003e", + "docs": null + }, + { + "name": "max_weight", "type": 10, - "typeName": "Vec\u003cu8\u003e", + "typeName": "XcmWeight", "docs": null } ], "index": 3, "docs": [ - "Cancel a named scheduled task." + "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": "schedule_after", + "name": "force_xcm_version", "fields": [ { - "name": "after", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "name": "maybe_periodic", - "type": 370, - "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", - "docs": null - }, - { - "name": "priority", - "type": 2, - "typeName": "schedule::Priority", + "name": "location", + "type": 158, + "typeName": "Box\u003cMultiLocation\u003e", "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "xcm_version", + "type": 4, + "typeName": "XcmVersion", "docs": null } ], "index": 4, "docs": [ - "Anonymously schedule a task after a delay.", + "Extoll that a particular destination can be communicated with through a particular", + "version of XCM.", "", - "# \u003cweight\u003e", - "Same as [`schedule`].", - "# \u003c/weight\u003e" + "- `origin`: Must be Root.", + "- `location`: The destination that is being described.", + "- `xcm_version`: The latest version of XCM that `location` supports." ] }, { - "name": "schedule_named_after", + "name": "force_default_xcm_version", "fields": [ { - "name": "id", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - }, - { - "name": "after", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "name": "maybe_periodic", - "type": 370, - "typeName": "Option\u003cschedule::Period\u003cT::BlockNumber\u003e\u003e", - "docs": null - }, - { - "name": "priority", - "type": 2, - "typeName": "schedule::Priority", - "docs": null - }, - { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "maybe_xcm_version", + "type": 134, + "typeName": "Option\u003cXcmVersion\u003e", "docs": null } ], "index": 5, "docs": [ - "Schedule a named task after a delay.", + "Set a safe XCM version (the version that XCM should be encoded with if the most recent", + "version a destination can accept is unknown).", "", - "# \u003cweight\u003e", - "Same as [`schedule_named`](Self::schedule_named).", - "# \u003c/weight\u003e" + "- `origin`: Must be Root.", + "- `maybe_xcm_version`: The default XCM encoding version, or `None` to disable." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "37": { - "path": [ - "pallet_im_online", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "HeartbeatReceived", + "name": "force_subscribe_version_notify", "fields": [ { - "name": "authority_id", - "type": 38, - "typeName": "T::AuthorityId", + "name": "location", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", "docs": null } ], - "index": 0, + "index": 6, "docs": [ - "A new heartbeat was received from `AuthorityId`." + "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": "AllGood", - "fields": null, - "index": 1, + "name": "force_unsubscribe_version_notify", + "fields": [ + { + "name": "location", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", + "docs": null + } + ], + "index": 7, "docs": [ - "At the end of the session, no offence was committed." + "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": "SomeOffline", + "name": "limited_reserve_transfer_assets", "fields": [ { - "name": "offline", - "type": 40, - "typeName": "Vec\u003cIdentificationTuple\u003cT\u003e\u003e", + "name": "dest", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", + "docs": null + }, + { + "name": "beneficiary", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", + "docs": null + }, + { + "name": "assets", + "type": 424, + "typeName": "Box\u003cVersionedMultiAssets\u003e", + "docs": null + }, + { + "name": "fee_asset_item", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "weight_limit", + "type": 423, + "typeName": "WeightLimit", "docs": null } ], - "index": 2, + "index": 8, "docs": [ - "At the end of the session, at least one validator was found to be offline." + "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": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", + "docs": null + }, + { + "name": "beneficiary", + "type": 389, + "typeName": "Box\u003cVersionedMultiLocation\u003e", + "docs": null + }, + { + "name": "assets", + "type": 424, + "typeName": "Box\u003cVersionedMultiAssets\u003e", + "docs": null + }, + { + "name": "fee_asset_item", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "weight_limit", + "type": 423, + "typeName": "WeightLimit", + "docs": null + } + ], + "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": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "370": { + "389": { "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 68 - } + "xcm", + "VersionedMultiLocation" ], "def": { "Variant": { "variants": [ { - "name": "None", - "fields": null, + "name": "V0", + "fields": [ + { + "type": 390, + "typeName": "v0::MultiLocation", + "docs": null + } + ], "index": 0, "docs": null }, { - "name": "Some", + "name": "V1", "fields": [ { - "type": 68, - "typeName": "", + "type": 158, + "typeName": "v1::MultiLocation", "docs": null } ], @@ -18065,805 +18788,501 @@ }, "docs": null }, - "371": { + "39": { "path": [ - "pallet_proxy", + "pallet_offences", "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } + "Event" ], "def": { "Variant": { "variants": [ { - "name": "proxy", + "name": "Offence", "fields": [ { - "name": "real", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "force_proxy_type", - "type": 372, - "typeName": "Option\u003cT::ProxyType\u003e", + "name": "kind", + "type": 40, + "typeName": "Kind", "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "timeslot", + "type": 12, + "typeName": "OpaqueTimeSlot", "docs": null } ], "index": 0, "docs": [ - "Dispatch the given `call` from an account that the sender is authorised 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.", - "", - "# \u003cweight\u003e", - "Weight is a function of the number of proxies the user has (P).", - "# \u003c/weight\u003e" + "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." + ] + }, + "390": { + "path": [ + "xcm", + "v0", + "multi_location", + "MultiLocation" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Null", + "fields": null, + "index": 0, + "docs": null }, { - "name": "add_proxy", + "name": "X1", "fields": [ { - "name": "delegate", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null - }, + } + ], + "index": 1, + "docs": null + }, + { + "name": "X2", + "fields": [ { - "name": "proxy_type", - "type": 71, - "typeName": "T::ProxyType", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "delay", - "type": 4, - "typeName": "T::BlockNumber", + "type": 391, + "typeName": "Junction", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "Weight is a function of the number of proxies the user has (P).", - "# \u003c/weight\u003e" - ] + "index": 2, + "docs": null }, { - "name": "remove_proxy", + "name": "X3", "fields": [ { - "name": "delegate", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "proxy_type", - "type": 71, - "typeName": "T::ProxyType", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "delay", - "type": 4, - "typeName": "T::BlockNumber", + "type": 391, + "typeName": "Junction", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "Weight is a function of the number of proxies the user has (P).", - "# \u003c/weight\u003e" - ] - }, - { - "name": "remove_proxies", - "fields": null, "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 `anonymous`, however if done, then", - "the unreserved fees will be inaccessible. **All access to this account will be lost.**", - "", - "# \u003cweight\u003e", - "Weight is a function of the number of proxies the user has (P).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "anonymous", + "name": "X4", "fields": [ { - "name": "proxy_type", - "type": 71, - "typeName": "T::ProxyType", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "delay", - "type": 4, - "typeName": "T::BlockNumber", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "index", - "type": 72, - "typeName": "u16", + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "Weight is a function of the number of proxies the user has (P).", - "# \u003c/weight\u003e", - "TODO: Might be over counting 1 read" - ] + "docs": null }, { - "name": "kill_anonymous", + "name": "X5", "fields": [ { - "name": "spawner", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "proxy_type", - "type": 71, - "typeName": "T::ProxyType", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "index", - "type": 72, - "typeName": "u16", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "height", - "type": 112, - "typeName": "T::BlockNumber", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "ext_index", - "type": 112, - "typeName": "u32", + "type": 391, + "typeName": "Junction", "docs": null } ], "index": 5, - "docs": [ - "Removes a previously spawned anonymous 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", - "`anonymous` with corresponding parameters.", - "", - "- `spawner`: The account that originally called `anonymous` to create this account.", - "- `index`: The disambiguation index originally passed to `anonymous`. Probably `0`.", - "- `proxy_type`: The proxy type originally passed to `anonymous`.", - "- `height`: The height of the chain when the call to `anonymous` was processed.", - "- `ext_index`: The extrinsic index in which the call to `anonymous` was processed.", - "", - "Fails with `NoPermission` in case the caller is not a previously created anonymous", - "account whose `anonymous` call has corresponding parameters.", - "", - "# \u003cweight\u003e", - "Weight is a function of the number of proxies the user has (P).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "announce", + "name": "X6", "fields": [ { - "name": "real", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "call_hash", - "type": 9, - "typeName": "CallHashOf\u003cT\u003e", + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "Weight is a function of:", - "- A: the number of announcements made.", - "- P: the number of proxies the user has.", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "remove_announcement", + "name": "X7", "fields": [ { - "name": "real", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "call_hash", - "type": 9, - "typeName": "CallHashOf\u003cT\u003e", + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "Weight is a function of:", - "- A: the number of announcements made.", - "- P: the number of proxies the user has.", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "reject_announcement", + "name": "X8", "fields": [ { - "name": "delegate", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "call_hash", - "type": 9, - "typeName": "CallHashOf\u003cT\u003e", + "type": 391, + "typeName": "Junction", "docs": null - } - ], - "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.", - "", - "# \u003cweight\u003e", - "Weight is a function of:", - "- A: the number of announcements made.", - "- P: the number of proxies the user has.", - "# \u003c/weight\u003e" - ] - }, - { - "name": "proxy_announced", - "fields": [ + }, { - "name": "delegate", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "real", - "type": 0, - "typeName": "T::AccountId", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "force_proxy_type", - "type": 372, - "typeName": "Option\u003cT::ProxyType\u003e", + "type": 391, + "typeName": "Junction", "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", + "docs": null + }, + { + "type": 391, + "typeName": "Junction", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "Weight is a function of:", - "- A: the number of announcements made.", - "- P: the number of proxies the user has.", - "# \u003c/weight\u003e" - ] + "index": 8, + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "372": { + "391": { "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 71 - } + "xcm", + "v0", + "junction", + "Junction" ], "def": { "Variant": { "variants": [ { - "name": "None", + "name": "Parent", "fields": null, "index": 0, "docs": null }, { - "name": "Some", + "name": "Parachain", "fields": [ { - "type": 71, - "typeName": "", + "type": 82, + "typeName": "u32", "docs": null } ], "index": 1, "docs": null - } - ] - } - }, - "docs": null - }, - "373": { - "path": [ - "pallet_multisig", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "as_multi_threshold_1", + "name": "AccountId32", "fields": [ { - "name": "other_signatories", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", + "name": "network", + "type": 161, + "typeName": "NetworkId", "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Box\u003c\u003cT as Config\u003e::Call\u003e", + "name": "id", + "type": 1, + "typeName": "[u8; 32]", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "O(Z + C) where Z is the length of the call and C its execution weight.", - "-------------------------------", - "- DB Weight: None", - "- Plus Call Weight", - "# \u003c/weight\u003e" - ] + "index": 2, + "docs": null }, { - "name": "as_multi", + "name": "AccountIndex64", "fields": [ { - "name": "threshold", - "type": 72, - "typeName": "u16", - "docs": null - }, - { - "name": "other_signatories", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", - "docs": null - }, - { - "name": "maybe_timepoint", - "type": 374, - "typeName": "Option\u003cTimepoint\u003cT::BlockNumber\u003e\u003e", - "docs": null - }, - { - "name": "call", - "type": 375, - "typeName": "OpaqueCall\u003cT\u003e", - "docs": null - }, - { - "name": "store_call", - "type": 52, - "typeName": "bool", + "name": "network", + "type": 161, + "typeName": "NetworkId", "docs": null }, { - "name": "max_weight", - "type": 8, - "typeName": "Weight", + "name": "index", + "type": 9, + "typeName": "u64", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `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 \u0026 hash, both of complexity `O(Z)` where `Z` is tx-len.", - "- One encode \u0026 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`.", - "-------------------------------", - "- DB Weight:", - " - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)", - " - Writes: Multisig Storage, [Caller Account], Calls (if `store_call`)", - "- Plus Call Weight", - "# \u003c/weight\u003e" - ] + "index": 3, + "docs": null }, { - "name": "approve_as_multi", + "name": "AccountKey20", "fields": [ { - "name": "threshold", - "type": 72, - "typeName": "u16", - "docs": null - }, - { - "name": "other_signatories", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", - "docs": null - }, - { - "name": "maybe_timepoint", - "type": 374, - "typeName": "Option\u003cTimepoint\u003cT::BlockNumber\u003e\u003e", + "name": "network", + "type": 161, + "typeName": "NetworkId", "docs": null }, { - "name": "call_hash", - "type": 1, - "typeName": "[u8; 32]", + "name": "key", + "type": 93, + "typeName": "[u8; 20]", "docs": null - }, + } + ], + "index": 4, + "docs": null + }, + { + "name": "PalletInstance", + "fields": [ { - "name": "max_weight", - "type": 8, - "typeName": "Weight", + "type": 2, + "typeName": "u8", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `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 \u0026 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`.", - "----------------------------------", - "- DB Weight:", - " - Read: Multisig Storage, [Caller Account]", - " - Write: Multisig Storage, [Caller Account]", - "# \u003c/weight\u003e" - ] + "index": 5, + "docs": null }, { - "name": "cancel_as_multi", + "name": "GeneralIndex", "fields": [ { - "name": "threshold", - "type": 72, - "typeName": "u16", + "type": 53, + "typeName": "u128", "docs": null - }, + } + ], + "index": 6, + "docs": null + }, + { + "name": "GeneralKey", + "fields": [ { - "name": "other_signatories", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", + "type": 162, + "typeName": "WeakBoundedVec\u003cu8, ConstU32\u003c32\u003e\u003e", "docs": null - }, + } + ], + "index": 7, + "docs": null + }, + { + "name": "OnlyChild", + "fields": null, + "index": 8, + "docs": null + }, + { + "name": "Plurality", + "fields": [ { - "name": "timepoint", - "type": 74, - "typeName": "Timepoint\u003cT::BlockNumber\u003e", + "name": "id", + "type": 163, + "typeName": "BodyId", "docs": null }, { - "name": "call_hash", - "type": 1, - "typeName": "[u8; 32]", + "name": "part", + "type": 164, + "typeName": "BodyPart", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- `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 \u0026 hash, both of complexity `O(S)`.", - "- One event.", - "- I/O: 1 read `O(S)`, one remove.", - "- Storage: removes one item.", - "----------------------------------", - "- DB Weight:", - " - Read: Multisig Storage, [Caller Account], Refund Account, Calls", - " - Write: Multisig Storage, [Caller Account], Refund Account, Calls", - "# \u003c/weight\u003e" - ] + "index": 9, + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "374": { + "392": { "path": [ - "Option" + "xcm", + "VersionedXcm" ], "params": [ { - "name": "T", - "type": 74 + "name": "RuntimeCall", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "None", - "fields": null, + "name": "V0", + "fields": [ + { + "type": 393, + "typeName": "v0::Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], "index": 0, "docs": null }, { - "name": "Some", + "name": "V1", "fields": [ { - "type": 74, - "typeName": "", + "type": 403, + "typeName": "v1::Xcm\u003cRuntimeCall\u003e", "docs": null } ], "index": 1, "docs": null - } - ] - } - }, - "docs": null - }, - "375": { - "path": [ - "frame_support", - "traits", - "misc", - "WrapperKeepOpaque" - ], - "params": [ - { - "name": "T", - "type": 301 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 112, - "typeName": "", - "docs": null }, { - "type": 301, - "typeName": "T", + "name": "V2", + "fields": [ + { + "type": 416, + "typeName": "v2::Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 2, "docs": null } ] @@ -18871,15 +19290,15 @@ }, "docs": null }, - "376": { + "393": { "path": [ - "pallet_bounties", - "pallet", - "Call" + "xcm", + "v0", + "Xcm" ], "params": [ { - "name": "T", + "name": "RuntimeCall", "type": 0 } ], @@ -18887,508 +19306,10738 @@ "Variant": { "variants": [ { - "name": "propose_bounty", + "name": "WithdrawAsset", "fields": [ { - "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", "docs": null }, { - "name": "description", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", "docs": null } ], "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." - ] + "docs": null }, { - "name": "approve_bounty", + "name": "ReserveAssetDeposit", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", "docs": null } ], "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::ApproveOrigin`.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "propose_curator", + "name": "TeleportAsset", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", - "docs": null - }, - { - "name": "curator", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", "docs": null }, { - "name": "fee", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", "docs": null } ], "index": 2, - "docs": [ - "Assign a curator to a funded bounty.", - "", - "May only be called from `T::ApproveOrigin`.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "unassign_curator", + "name": "QueryResponse", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "response", + "type": 400, + "typeName": "Response", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "accept_curator", + "name": "TransferAsset", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "award_bounty", + "name": "TransferReserveAsset", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", "docs": null }, { - "name": "beneficiary", - "type": 196, - "typeName": "\u003cT::Lookup as StaticLookup\u003e::Source", + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "claim_bounty", + "name": "Transact", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", + "name": "origin_type", + "type": 401, + "typeName": "OriginKind", + "docs": null + }, + { + "name": "require_weight_at_most", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "call", + "type": 402, + "typeName": "DoubleEncoded\u003cRuntimeCall\u003e", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "close_bounty", + "name": "HrmpNewChannelOpenRequest", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_message_size", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_capacity", + "type": 82, + "typeName": "u32", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "extend_bounty_expiry", + "name": "HrmpChannelAccepted", "fields": [ { - "name": "bounty_id", - "type": 112, - "typeName": "BountyIndex", + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 82, + "typeName": "u32", "docs": null }, { - "name": "remark", - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "recipient", + "type": 82, + "typeName": "u32", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- O(1).", - "# \u003c/weight\u003e" - ] + "index": 9, + "docs": null + }, + { + "name": "RelayedFrom", + "fields": [ + { + "name": "who", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "message", + "type": 393, + "typeName": "alloc::boxed::Box\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 10, + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "377": { - "path": [ - "pallet_tips", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 + "394": { + "path": null, + "def": { + "Sequence": { + "type": 395 } + }, + "docs": null + }, + "395": { + "path": [ + "xcm", + "v0", + "multi_asset", + "MultiAsset" ], "def": { "Variant": { "variants": [ { - "name": "report_awesome", + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "All", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "AllFungible", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "AllNonFungible", + "fields": null, + "index": 3, + "docs": null + }, + { + "name": "AllAbstractFungible", "fields": [ { - "name": "reason", - "type": 10, + "name": "id", + "type": 12, "typeName": "Vec\u003cu8\u003e", "docs": null - }, + } + ], + "index": 4, + "docs": null + }, + { + "name": "AllAbstractNonFungible", + "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "class", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- Complexity: `O(R)` where `R` length of `reason`.", - " - encoding and hashing of 'reason'", - "- DbReads: `Reasons`, `Tips`", - "- DbWrites: `Reasons`, `Tips`", - "# \u003c/weight\u003e" - ] + "index": 5, + "docs": null }, { - "name": "retract_tip", + "name": "AllConcreteFungible", "fields": [ { - "name": "hash", - "type": 9, - "typeName": "T::Hash", + "name": "id", + "type": 390, + "typeName": "MultiLocation", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- Complexity: `O(1)`", - " - Depends on the length of `T::Hash` which is fixed.", - "- DbReads: `Tips`, `origin account`", - "- DbWrites: `Reasons`, `Tips`, `origin account`", - "# \u003c/weight\u003e" - ] + "index": 6, + "docs": null }, { - "name": "tip_new", + "name": "AllConcreteNonFungible", "fields": [ { - "name": "reason", - "type": 10, + "name": "class", + "type": 390, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 7, + "docs": null + }, + { + "name": "AbstractFungible", + "fields": [ + { + "name": "id", + "type": 12, "typeName": "Vec\u003cu8\u003e", "docs": null }, { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "amount", + "type": 53, + "typeName": "u128", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "AbstractNonFungible", + "fields": [ + { + "name": "class", + "type": 12, + "typeName": "Vec\u003cu8\u003e", "docs": null }, { - "name": "tip_value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "name": "instance", + "type": 396, + "typeName": "AssetInstance", "docs": null } ], - "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.", - "", - "# \u003cweight\u003e", - "- 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`", - "- DbReads: `Tippers`, `Reasons`", - "- DbWrites: `Reasons`, `Tips`", - "# \u003c/weight\u003e" - ] + "index": 9, + "docs": null }, { - "name": "tip", + "name": "ConcreteFungible", "fields": [ { - "name": "hash", - "type": 9, - "typeName": "T::Hash", + "name": "id", + "type": 390, + "typeName": "MultiLocation", "docs": null }, { - "name": "tip_value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "name": "amount", + "type": 53, + "typeName": "u128", + "docs": null + } + ], + "index": 10, + "docs": null + }, + { + "name": "ConcreteNonFungible", + "fields": [ + { + "name": "class", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "instance", + "type": 396, + "typeName": "AssetInstance", + "docs": null + } + ], + "index": 11, + "docs": null + } + ] + } + }, + "docs": null + }, + "396": { + "path": [ + "xcm", + "v1", + "multiasset", + "AssetInstance" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Undefined", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Index", + "fields": [ + { + "type": 53, + "typeName": "u128", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "Array4", + "fields": [ + { + "type": 16, + "typeName": "[u8; 4]", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "Array8", + "fields": [ + { + "type": 192, + "typeName": "[u8; 8]", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "- 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`.", - "- DbReads: `Tippers`, `Tips`", - "- DbWrites: `Tips`", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "close_tip", + "name": "Array16", "fields": [ { - "name": "hash", - "type": 9, - "typeName": "T::Hash", + "type": 40, + "typeName": "[u8; 16]", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - "- 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`.", - "- DbReads: `Tips`, `Tippers`, `tip finder`", - "- DbWrites: `Reasons`, `Tips`, `Tippers`, `tip finder`", - "# \u003c/weight\u003e" - ] + "docs": null }, { - "name": "slash_tip", + "name": "Array32", "fields": [ { - "name": "hash", - "type": 9, - "typeName": "T::Hash", + "type": 1, + "typeName": "[u8; 32]", "docs": null } ], "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.", - "", - "# \u003cweight\u003e", - " `T` is charged as upper bound given by `ContainsLengthBound`.", - " The actual cost depends on the implementation of `T::Tippers`.", - "# \u003c/weight\u003e" + "docs": null + }, + { + "name": "Blob", + "fields": [ + { + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + } + ] + } + }, + "docs": null + }, + "397": { + "path": null, + "def": { + "Sequence": { + "type": 398 + } + }, + "docs": null + }, + "398": { + "path": [ + "xcm", + "v0", + "order", + "Order" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Null", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "receive", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "reserve", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 395, + "typeName": "MultiAsset", + "docs": null + }, + { + "name": "weight", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "debt", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "halt_on_error", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "xcm", + "type": 399, + "typeName": "Vec\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 7, + "docs": null + } + ] + } + }, + "docs": null + }, + "399": { + "path": null, + "def": { + "Sequence": { + "type": 393 + } + }, + "docs": null + }, + "4": { + "path": null, + "def": { + "Primitive": "U32" + }, + "docs": null + }, + "40": { + "path": null, + "def": { + "Array": { + "len": 16, + "type": 2 + } + }, + "docs": null + }, + "400": { + "path": [ + "xcm", + "v0", + "Response" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Assets", + "fields": [ + { + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + } + ], + "index": 0, + "docs": null + } + ] + } + }, + "docs": null + }, + "401": { + "path": [ + "xcm", + "v0", + "OriginKind" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Native", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "SovereignAccount", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Superuser", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "Xcm", + "fields": null, + "index": 3, + "docs": null + } + ] + } + }, + "docs": null + }, + "402": { + "path": [ + "xcm", + "double_encoded", + "DoubleEncoded" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "encoded", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "403": { + "path": [ + "xcm", + "v1", + "Xcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "response", + "type": 415, + "typeName": "Response", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_type", + "type": 401, + "typeName": "OriginKind", + "docs": null + }, + { + "name": "require_weight_at_most", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "call", + "type": 402, + "typeName": "DoubleEncoded\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_message_size", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_capacity", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 7, + "docs": null + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 9, + "docs": null + }, + { + "name": "RelayedFrom", + "fields": [ + { + "name": "who", + "type": 159, + "typeName": "InteriorMultiLocation", + "docs": null + }, + { + "name": "message", + "type": 403, + "typeName": "alloc::boxed::Box\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 10, + "docs": null + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 11, + "docs": null + }, + { + "name": "UnsubscribeVersion", + "fields": null, + "index": 12, + "docs": null + } + ] + } + }, + "docs": null + }, + "404": { + "path": [ + "xcm", + "v1", + "multiasset", + "MultiAssets" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 405, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "405": { + "path": null, + "def": { + "Sequence": { + "type": 406 + } + }, + "docs": null + }, + "406": { + "path": [ + "xcm", + "v1", + "multiasset", + "MultiAsset" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "id", + "type": 407, + "typeName": "AssetId", + "docs": null + }, + { + "name": "fun", + "type": 408, + "typeName": "Fungibility", + "docs": null + } + ] + } + }, + "docs": null + }, + "407": { + "path": [ + "xcm", + "v1", + "multiasset", + "AssetId" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Concrete", + "fields": [ + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Abstract", + "fields": [ + { + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "408": { + "path": [ + "xcm", + "v1", + "multiasset", + "Fungibility" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Fungible", + "fields": [ + { + "type": 53, + "typeName": "u128", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "NonFungible", + "fields": [ + { + "type": 396, + "typeName": "AssetInstance", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "409": { + "path": null, + "def": { + "Sequence": { + "type": 410 + } + }, + "docs": null + }, + "41": { + "path": [ + "pallet_session", + "pallet", + "Event" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "NewSession", + "fields": [ + { + "name": "session_index", + "type": 4, + "typeName": "SessionIndex", + "docs": null + } + ], + "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" + ] + }, + "410": { + "path": [ + "xcm", + "v1", + "order", + "Order" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Noop", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "receive", + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "reserve", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 406, + "typeName": "MultiAsset", + "docs": null + }, + { + "name": "weight", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "debt", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "halt_on_error", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "instructions", + "type": 414, + "typeName": "Vec\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 7, + "docs": null + } + ] + } + }, + "docs": null + }, + "411": { + "path": [ + "xcm", + "v1", + "multiasset", + "MultiAssetFilter" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Definite", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Wild", + "fields": [ + { + "type": 412, + "typeName": "WildMultiAsset", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "412": { + "path": [ + "xcm", + "v1", + "multiasset", + "WildMultiAsset" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "All", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "AllOf", + "fields": [ + { + "name": "id", + "type": 407, + "typeName": "AssetId", + "docs": null + }, + { + "name": "fun", + "type": 413, + "typeName": "WildFungibility", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "413": { + "path": [ + "xcm", + "v1", + "multiasset", + "WildFungibility" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Fungible", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "NonFungible", + "fields": null, + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "414": { + "path": null, + "def": { + "Sequence": { + "type": 403 + } + }, + "docs": null + }, + "415": { + "path": [ + "xcm", + "v1", + "Response" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Assets", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Version", + "fields": [ + { + "type": 4, + "typeName": "super::Version", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "416": { + "path": [ + "xcm", + "v2", + "Xcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 417, + "typeName": "Vec\u003cInstruction\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "417": { + "path": null, + "def": { + "Sequence": { + "type": 418 + } + }, + "docs": null + }, + "418": { + "path": [ + "xcm", + "v2", + "Instruction" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "response", + "type": 419, + "typeName": "Response", + "docs": null + }, + { + "name": "max_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_type", + "type": 401, + "typeName": "OriginKind", + "docs": null + }, + { + "name": "require_weight_at_most", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "call", + "type": 402, + "typeName": "DoubleEncoded\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_message_size", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_capacity", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 7, + "docs": null + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 9, + "docs": null + }, + { + "name": "ClearOrigin", + "fields": null, + "index": 10, + "docs": null + }, + { + "name": "DescendOrigin", + "fields": [ + { + "type": 159, + "typeName": "InteriorMultiLocation", + "docs": null + } + ], + "index": 11, + "docs": null + }, + { + "name": "ReportError", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 12, + "docs": null + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 13, + "docs": null + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 14, + "docs": null + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "receive", + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 15, + "docs": null + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "reserve", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 16, + "docs": null + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 17, + "docs": null + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 18, + "docs": null + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 406, + "typeName": "MultiAsset", + "docs": null + }, + { + "name": "weight_limit", + "type": 423, + "typeName": "WeightLimit", + "docs": null + } + ], + "index": 19, + "docs": null + }, + { + "name": "RefundSurplus", + "fields": null, + "index": 20, + "docs": null + }, + { + "name": "SetErrorHandler", + "fields": [ + { + "type": 416, + "typeName": "Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 21, + "docs": null + }, + { + "name": "SetAppendix", + "fields": [ + { + "type": 416, + "typeName": "Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 22, + "docs": null + }, + { + "name": "ClearError", + "fields": null, + "index": 23, + "docs": null + }, + { + "name": "ClaimAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "ticket", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 24, + "docs": null + }, + { + "name": "Trap", + "fields": [ + { + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 25, + "docs": null + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 26, + "docs": null + }, + { + "name": "UnsubscribeVersion", + "fields": null, + "index": 27, + "docs": null + } + ] + } + }, + "docs": null + }, + "419": { + "path": [ + "xcm", + "v2", + "Response" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Null", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Assets", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "ExecutionResult", + "fields": [ + { + "type": 420, + "typeName": "Option\u003c(u32, Error)\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "Version", + "fields": [ + { + "type": 4, + "typeName": "super::Version", + "docs": null + } + ], + "index": 3, + "docs": null + } + ] + } + }, + "docs": null + }, + "42": { + "path": [ + "pallet_grandpa", + "pallet", + "Event" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "NewAuthorities", + "fields": [ + { + "name": "authority_set", + "type": 43, + "typeName": "AuthorityList", + "docs": null + } + ], + "index": 0, + "docs": [ + "New authority set has been applied." + ] + }, + { + "name": "Paused", + "fields": null, + "index": 1, + "docs": [ + "Current authority set has been paused." + ] + }, + { + "name": "Resumed", + "fields": null, + "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" + ] + }, + "420": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 421 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Some", + "fields": [ + { + "type": 421, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "421": { + "path": null, + "def": { + "Tuple": [ + 4, + 422 + ] + }, + "docs": null + }, + "422": { + "path": [ + "xcm", + "v2", + "traits", + "Error" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Overflow", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Unimplemented", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "UntrustedReserveLocation", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "UntrustedTeleportLocation", + "fields": null, + "index": 3, + "docs": null + }, + { + "name": "MultiLocationFull", + "fields": null, + "index": 4, + "docs": null + }, + { + "name": "MultiLocationNotInvertible", + "fields": null, + "index": 5, + "docs": null + }, + { + "name": "BadOrigin", + "fields": null, + "index": 6, + "docs": null + }, + { + "name": "InvalidLocation", + "fields": null, + "index": 7, + "docs": null + }, + { + "name": "AssetNotFound", + "fields": null, + "index": 8, + "docs": null + }, + { + "name": "FailedToTransactAsset", + "fields": null, + "index": 9, + "docs": null + }, + { + "name": "NotWithdrawable", + "fields": null, + "index": 10, + "docs": null + }, + { + "name": "LocationCannotHold", + "fields": null, + "index": 11, + "docs": null + }, + { + "name": "ExceedsMaxMessageSize", + "fields": null, + "index": 12, + "docs": null + }, + { + "name": "DestinationUnsupported", + "fields": null, + "index": 13, + "docs": null + }, + { + "name": "Transport", + "fields": null, + "index": 14, + "docs": null + }, + { + "name": "Unroutable", + "fields": null, + "index": 15, + "docs": null + }, + { + "name": "UnknownClaim", + "fields": null, + "index": 16, + "docs": null + }, + { + "name": "FailedToDecode", + "fields": null, + "index": 17, + "docs": null + }, + { + "name": "MaxWeightInvalid", + "fields": null, + "index": 18, + "docs": null + }, + { + "name": "NotHoldingFees", + "fields": null, + "index": 19, + "docs": null + }, + { + "name": "TooExpensive", + "fields": null, + "index": 20, + "docs": null + }, + { + "name": "Trap", + "fields": [ + { + "type": 10, + "typeName": "u64", + "docs": null + } + ], + "index": 21, + "docs": null + }, + { + "name": "UnhandledXcmVersion", + "fields": null, + "index": 22, + "docs": null + }, + { + "name": "WeightLimitReached", + "fields": [ + { + "type": 10, + "typeName": "Weight", + "docs": null + } + ], + "index": 23, + "docs": null + }, + { + "name": "Barrier", + "fields": null, + "index": 24, + "docs": null + }, + { + "name": "WeightNotComputable", + "fields": null, + "index": 25, + "docs": null + } + ] + } + }, + "docs": null + }, + "423": { + "path": [ + "xcm", + "v2", + "WeightLimit" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Unlimited", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Limited", + "fields": [ + { + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "424": { + "path": [ + "xcm", + "VersionedMultiAssets" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "V0", + "fields": [ + { + "type": 394, + "typeName": "Vec\u003cv0::MultiAsset\u003e", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "V1", + "fields": [ + { + "type": 404, + "typeName": "v1::MultiAssets", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "425": { + "path": [ + "xcm", + "VersionedXcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "V0", + "fields": [ + { + "type": 426, + "typeName": "v0::Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "V1", + "fields": [ + { + "type": 431, + "typeName": "v1::Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "V2", + "fields": [ + { + "type": 435, + "typeName": "v2::Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "426": { + "path": [ + "xcm", + "v0", + "Xcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "effects", + "type": 427, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "ReserveAssetDeposit", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "effects", + "type": 427, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "TeleportAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "effects", + "type": 427, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "response", + "type": 400, + "typeName": "Response", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_type", + "type": 401, + "typeName": "OriginKind", + "docs": null + }, + { + "name": "require_weight_at_most", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "call", + "type": 430, + "typeName": "DoubleEncoded\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_message_size", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_capacity", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 7, + "docs": null + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 9, + "docs": null + }, + { + "name": "RelayedFrom", + "fields": [ + { + "name": "who", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "message", + "type": 426, + "typeName": "alloc::boxed::Box\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 10, + "docs": null + } + ] + } + }, + "docs": null + }, + "427": { + "path": null, + "def": { + "Sequence": { + "type": 428 + } + }, + "docs": null + }, + "428": { + "path": [ + "xcm", + "v0", + "order", + "Order" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Null", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "receive", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "reserve", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 397, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "dest", + "type": 390, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "assets", + "type": 394, + "typeName": "Vec\u003cMultiAsset\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 395, + "typeName": "MultiAsset", + "docs": null + }, + { + "name": "weight", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "debt", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "halt_on_error", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "xcm", + "type": 429, + "typeName": "Vec\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 7, + "docs": null + } + ] + } + }, + "docs": null + }, + "429": { + "path": null, + "def": { + "Sequence": { + "type": 426 + } + }, + "docs": null + }, + "43": { + "path": null, + "def": { + "Sequence": { + "type": 44 + } + }, + "docs": null + }, + "430": { + "path": [ + "xcm", + "double_encoded", + "DoubleEncoded" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "encoded", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "431": { + "path": [ + "xcm", + "v1", + "Xcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "effects", + "type": 432, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "effects", + "type": 432, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "effects", + "type": 432, + "typeName": "Vec\u003cOrder\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "response", + "type": 415, + "typeName": "Response", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_type", + "type": 401, + "typeName": "OriginKind", + "docs": null + }, + { + "name": "require_weight_at_most", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "call", + "type": 430, + "typeName": "DoubleEncoded\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_message_size", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_capacity", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 7, + "docs": null + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 9, + "docs": null + }, + { + "name": "RelayedFrom", + "fields": [ + { + "name": "who", + "type": 159, + "typeName": "InteriorMultiLocation", + "docs": null + }, + { + "name": "message", + "type": 431, + "typeName": "alloc::boxed::Box\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 10, + "docs": null + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 11, + "docs": null + }, + { + "name": "UnsubscribeVersion", + "fields": null, + "index": 12, + "docs": null + } + ] + } + }, + "docs": null + }, + "432": { + "path": null, + "def": { + "Sequence": { + "type": 433 + } + }, + "docs": null + }, + "433": { + "path": [ + "xcm", + "v1", + "order", + "Order" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Noop", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "receive", + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "reserve", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "effects", + "type": 409, + "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 406, + "typeName": "MultiAsset", + "docs": null + }, + { + "name": "weight", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "debt", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "halt_on_error", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "instructions", + "type": 434, + "typeName": "Vec\u003cXcm\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ], + "index": 7, + "docs": null + } + ] + } + }, + "docs": null + }, + "434": { + "path": null, + "def": { + "Sequence": { + "type": 431 + } + }, + "docs": null + }, + "435": { + "path": [ + "xcm", + "v2", + "Xcm" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 436, + "typeName": "Vec\u003cInstruction\u003cRuntimeCall\u003e\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "436": { + "path": null, + "def": { + "Sequence": { + "type": 437 + } + }, + "docs": null + }, + "437": { + "path": [ + "xcm", + "v2", + "Instruction" + ], + "params": [ + { + "name": "RuntimeCall", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "WithdrawAsset", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "ReserveAssetDeposited", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "ReceiveTeleportedAsset", + "fields": [ + { + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "QueryResponse", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "response", + "type": 419, + "typeName": "Response", + "docs": null + }, + { + "name": "max_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "TransferAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "TransferReserveAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 5, + "docs": null + }, + { + "name": "Transact", + "fields": [ + { + "name": "origin_type", + "type": 401, + "typeName": "OriginKind", + "docs": null + }, + { + "name": "require_weight_at_most", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "call", + "type": 430, + "typeName": "DoubleEncoded\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 6, + "docs": null + }, + { + "name": "HrmpNewChannelOpenRequest", + "fields": [ + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_message_size", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "max_capacity", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 7, + "docs": null + }, + { + "name": "HrmpChannelAccepted", + "fields": [ + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 8, + "docs": null + }, + { + "name": "HrmpChannelClosing", + "fields": [ + { + "name": "initiator", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "sender", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "recipient", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 9, + "docs": null + }, + { + "name": "ClearOrigin", + "fields": null, + "index": 10, + "docs": null + }, + { + "name": "DescendOrigin", + "fields": [ + { + "type": 159, + "typeName": "InteriorMultiLocation", + "docs": null + } + ], + "index": 11, + "docs": null + }, + { + "name": "ReportError", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 12, + "docs": null + }, + { + "name": "DepositAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "beneficiary", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 13, + "docs": null + }, + { + "name": "DepositReserveAsset", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_assets", + "type": 82, + "typeName": "u32", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 14, + "docs": null + }, + { + "name": "ExchangeAsset", + "fields": [ + { + "name": "give", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "receive", + "type": 404, + "typeName": "MultiAssets", + "docs": null + } + ], + "index": 15, + "docs": null + }, + { + "name": "InitiateReserveWithdraw", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "reserve", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 16, + "docs": null + }, + { + "name": "InitiateTeleport", + "fields": [ + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "xcm", + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 17, + "docs": null + }, + { + "name": "QueryHolding", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "dest", + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "name": "assets", + "type": 411, + "typeName": "MultiAssetFilter", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 18, + "docs": null + }, + { + "name": "BuyExecution", + "fields": [ + { + "name": "fees", + "type": 406, + "typeName": "MultiAsset", + "docs": null + }, + { + "name": "weight_limit", + "type": 423, + "typeName": "WeightLimit", + "docs": null + } + ], + "index": 19, + "docs": null + }, + { + "name": "RefundSurplus", + "fields": null, + "index": 20, + "docs": null + }, + { + "name": "SetErrorHandler", + "fields": [ + { + "type": 435, + "typeName": "Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 21, + "docs": null + }, + { + "name": "SetAppendix", + "fields": [ + { + "type": 435, + "typeName": "Xcm\u003cRuntimeCall\u003e", + "docs": null + } + ], + "index": 22, + "docs": null + }, + { + "name": "ClearError", + "fields": null, + "index": 23, + "docs": null + }, + { + "name": "ClaimAsset", + "fields": [ + { + "name": "assets", + "type": 404, + "typeName": "MultiAssets", + "docs": null + }, + { + "name": "ticket", + "type": 158, + "typeName": "MultiLocation", + "docs": null + } + ], + "index": 24, + "docs": null + }, + { + "name": "Trap", + "fields": [ + { + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 25, + "docs": null + }, + { + "name": "SubscribeVersion", + "fields": [ + { + "name": "query_id", + "type": 9, + "typeName": "QueryId", + "docs": null + }, + { + "name": "max_response_weight", + "type": 9, + "typeName": "u64", + "docs": null + } + ], + "index": 26, + "docs": null + }, + { + "name": "UnsubscribeVersion", + "fields": null, + "index": 27, + "docs": null + } + ] + } + }, + "docs": null + }, + "438": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 12, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "439": { + "path": [ + "pallet_conviction_voting", + "types", + "Tally" + ], + "params": [ + { + "name": "Votes", + "type": 6 + }, + { + "name": "Total", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "ayes", + "type": 6, + "typeName": "Votes", + "docs": null + }, + { + "name": "nays", + "type": 6, + "typeName": "Votes", + "docs": null + }, + { + "name": "support", + "type": 6, + "typeName": "Votes", + "docs": null + } + ] + } + }, + "docs": null + }, + "44": { + "path": null, + "def": { + "Tuple": [ + 45, + 10 + ] + }, + "docs": null + }, + "440": { + "path": [ + "pallet_ranked_collective", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "MemberAdded", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 0, + "docs": [ + "A member `who` has been added." + ] + }, + { + "name": "RankChanged", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "rank", + "type": 71, + "typeName": "Rank", + "docs": null + } + ], + "index": 1, + "docs": [ + "The member `who`se rank has been changed to the given `rank`." + ] + }, + { + "name": "MemberRemoved", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "rank", + "type": 71, + "typeName": "Rank", + "docs": null + } + ], + "index": 2, + "docs": [ + "The member `who` of given `rank` has been removed from the collective." + ] + }, + { + "name": "Voted", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "poll", + "type": 4, + "typeName": "PollIndexOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "vote", + "type": 441, + "typeName": "VoteRecord", + "docs": null + }, + { + "name": "tally", + "type": 442, + "typeName": "TallyOf\u003cT, I\u003e", + "docs": null + } + ], + "index": 3, + "docs": [ + "The member `who` has voted for the `poll` with the given `vote` leading to an updated", + "`tally`." + ] + } + ] + } + }, + "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" + ] + }, + "441": { + "path": [ + "pallet_ranked_collective", + "VoteRecord" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Aye", + "fields": [ + { + "type": 4, + "typeName": "Votes", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Nay", + "fields": [ + { + "type": 4, + "typeName": "Votes", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "442": { + "path": [ + "pallet_ranked_collective", + "Tally" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + }, + { + "name": "M", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "bare_ayes", + "type": 4, + "typeName": "MemberIndex", + "docs": null + }, + { + "name": "ayes", + "type": 4, + "typeName": "Votes", + "docs": null + }, + { + "name": "nays", + "type": 4, + "typeName": "Votes", + "docs": null + } + ] + } + }, + "docs": null + }, + "443": { + "path": [ + "pallet_referenda", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Submitted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "track", + "type": 71, + "typeName": "TrackIdOf\u003cT, I\u003e", + "docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT, I\u003e", + "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\u003cT, I\u003e", + "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\u003cT, I\u003e", + "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\u003cT, I\u003e", + "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": 71, + "typeName": "TrackIdOf\u003cT, I\u003e", + "docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT, I\u003e", + "docs": [ + "The proposal for the referendum." + ] + }, + { + "name": "tally", + "type": 442, + "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, + "docs": null + }, + { + "name": "ConfirmAborted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + } + ], + "index": 6, + "docs": null + }, + { + "name": "Confirmed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 442, + "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": 442, + "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": 442, + "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": 442, + "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": 442, + "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\u003cT, I\u003e", + "docs": [ + "The amount placed by the account." + ] + } + ], + "index": 13, + "docs": [ + "The submission deposit has been refunded." + ] + } + ] + } + }, + "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" + ] + }, + "444": { + "path": [ + "pallet_whitelist", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "CallWhitelisted", + "fields": [ + { + "name": "call_hash", + "type": 11, + "typeName": "PreimageHash", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "WhitelistedCallRemoved", + "fields": [ + { + "name": "call_hash", + "type": 11, + "typeName": "PreimageHash", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "WhitelistedCallDispatched", + "fields": [ + { + "name": "call_hash", + "type": 11, + "typeName": "PreimageHash", + "docs": null + }, + { + "name": "result", + "type": 445, + "typeName": "DispatchResultWithPostInfo", + "docs": null + } + ], + "index": 2, + "docs": null + } + ] + } + }, + "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" + ] + }, + "445": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 446 + }, + { + "name": "E", + "type": 448 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Ok", + "fields": [ + { + "type": 446, + "typeName": "", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Err", + "fields": [ + { + "type": 448, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "446": { + "path": [ + "frame_support", + "dispatch", + "PostDispatchInfo" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "actual_weight", + "type": 447, + "typeName": "Option\u003cWeight\u003e", + "docs": null + }, + { + "name": "pays_fee", + "type": 23, + "typeName": "Pays", + "docs": null + } + ] + } + }, + "docs": null + }, + "447": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 8 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Some", + "fields": [ + { + "type": 8, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "448": { + "path": [ + "sp_runtime", + "DispatchErrorWithPostInfo" + ], + "params": [ + { + "name": "Info", + "type": 446 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "post_info", + "type": 446, + "typeName": "Info", + "docs": null + }, + { + "name": "error", + "type": 24, + "typeName": "DispatchError", + "docs": null + } + ] + } + }, + "docs": null + }, + "449": { + "path": [ + "polkadot_runtime_common", + "claims", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Claimed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "ethereum_address", + "type": 173, + "typeName": "EthereumAddress", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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" + ] + }, + "45": { + "path": [ + "sp_finality_grandpa", + "app", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 46, + "typeName": "ed25519::Public", + "docs": null + } + ] + } + }, + "docs": null + }, + "450": { + "path": [ + "pallet_utility", + "pallet", + "Event" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "BatchInterrupted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "error", + "type": 24, + "typeName": "DispatchError", + "docs": null + } + ], + "index": 0, + "docs": [ + "Batch of dispatches did not complete fully. Index of first failing dispatch given, as", + "well as the error." + ] + }, + { + "name": "BatchCompleted", + "fields": null, + "index": 1, + "docs": [ + "Batch of dispatches completed fully with no error." + ] + }, + { + "name": "BatchCompletedWithErrors", + "fields": null, + "index": 2, + "docs": [ + "Batch of dispatches completed but has errors." + ] + }, + { + "name": "ItemCompleted", + "fields": null, + "index": 3, + "docs": [ + "A single item within a Batch of dispatches has completed with no error." + ] + }, + { + "name": "ItemFailed", + "fields": [ + { + "name": "error", + "type": 24, + "typeName": "DispatchError", + "docs": null + } + ], + "index": 4, + "docs": [ + "A single item within a Batch of dispatches has completed with error." + ] + }, + { + "name": "DispatchedAs", + "fields": [ + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", + "docs": null + } + ], + "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" + ] + }, + "451": { + "path": [ + "pallet_identity", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "IdentitySet", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 0, + "docs": [ + "A name was set or reset (which will remove all judgements)." + ] + }, + { + "name": "IdentityCleared", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 1, + "docs": [ + "A name was cleared, and the given balance returned." + ] + }, + { + "name": "IdentityKilled", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 2, + "docs": [ + "A name was removed and the given balance slashed." + ] + }, + { + "name": "JudgementRequested", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex", + "docs": null + } + ], + "index": 3, + "docs": [ + "A judgement was asked from a registrar." + ] + }, + { + "name": "JudgementUnrequested", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex", + "docs": null + } + ], + "index": 4, + "docs": [ + "A judgement request was retracted." + ] + }, + { + "name": "JudgementGiven", + "fields": [ + { + "name": "target", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex", + "docs": null + } + ], + "index": 5, + "docs": [ + "A judgement was given by a registrar." + ] + }, + { + "name": "RegistrarAdded", + "fields": [ + { + "name": "registrar_index", + "type": 4, + "typeName": "RegistrarIndex", + "docs": null + } + ], + "index": 6, + "docs": [ + "A registrar was added." + ] + }, + { + "name": "SubIdentityAdded", + "fields": [ + { + "name": "sub", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "main", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "main", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "main", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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" + ] + }, + "452": { + "path": [ + "pallet_society", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Founded", + "fields": [ + { + "name": "founder", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 0, + "docs": [ + "The society is founded by the given identity." + ] + }, + { + "name": "Bid", + "fields": [ + { + "name": "candidate_id", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "offer", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + } + ], + "index": 1, + "docs": [ + "A membership bid just happened. The given account is the candidate's ID and their offer", + "is the second." + ] + }, + { + "name": "Vouch", + "fields": [ + { + "name": "candidate_id", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "offer", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "vouching", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 2, + "docs": [ + "A membership bid just happened by vouching. The given account is the candidate's ID and", + "their offer is the second. The vouching party is the third." + ] + }, + { + "name": "AutoUnbid", + "fields": [ + { + "name": "candidate", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 3, + "docs": [ + "A candidate was dropped (due to an excess of bids in the system)." + ] + }, + { + "name": "Unbid", + "fields": [ + { + "name": "candidate", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 4, + "docs": [ + "A candidate was dropped (by their request)." + ] + }, + { + "name": "Unvouch", + "fields": [ + { + "name": "candidate", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 5, + "docs": [ + "A candidate was dropped (by request of who vouched for them)." + ] + }, + { + "name": "Inducted", + "fields": [ + { + "name": "primary", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "candidates", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", + "docs": null + } + ], + "index": 6, + "docs": [ + "A group of candidates have been inducted. The batch's primary is the first value, the", + "batch in full is the second." + ] + }, + { + "name": "SuspendedMemberJudgement", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "judged", + "type": 37, + "typeName": "bool", + "docs": null + } + ], + "index": 7, + "docs": [ + "A suspended member has been judged." + ] + }, + { + "name": "CandidateSuspended", + "fields": [ + { + "name": "candidate", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 8, + "docs": [ + "A candidate has been suspended" + ] + }, + { + "name": "MemberSuspended", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 9, + "docs": [ + "A member has been suspended" + ] + }, + { + "name": "Challenged", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 10, + "docs": [ + "A member has been challenged" + ] + }, + { + "name": "Vote", + "fields": [ + { + "name": "candidate", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "voter", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "vote", + "type": 37, + "typeName": "bool", + "docs": null + } + ], + "index": 11, + "docs": [ + "A vote has been placed" + ] + }, + { + "name": "DefenderVote", + "fields": [ + { + "name": "voter", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "vote", + "type": 37, + "typeName": "bool", + "docs": null + } + ], + "index": 12, + "docs": [ + "A vote has been placed for a defending member" + ] + }, + { + "name": "NewMaxMembers", + "fields": [ + { + "name": "max", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 13, + "docs": [ + "A new \\[max\\] member count has been set" + ] + }, + { + "name": "Unfounded", + "fields": [ + { + "name": "founder", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 14, + "docs": [ + "Society is unfounded." + ] + }, + { + "name": "Deposit", + "fields": [ + { + "name": "value", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + } + ], + "index": 15, + "docs": [ + "Some funds were deposited into the society 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" + ] + }, + "453": { + "path": [ + "pallet_recovery", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "RecoveryCreated", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 0, + "docs": [ + "A recovery process has been set up for an account." + ] + }, + { + "name": "RecoveryInitiated", + "fields": [ + { + "name": "lost_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "rescuer_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 1, + "docs": [ + "A recovery process has been initiated for lost account by rescuer account." + ] + }, + { + "name": "RecoveryVouched", + "fields": [ + { + "name": "lost_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "rescuer_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "sender", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 2, + "docs": [ + "A recovery process for lost account by rescuer account has been vouched for by sender." + ] + }, + { + "name": "RecoveryClosed", + "fields": [ + { + "name": "lost_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "rescuer_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 3, + "docs": [ + "A recovery process for lost account by rescuer account has been closed." + ] + }, + { + "name": "AccountRecovered", + "fields": [ + { + "name": "lost_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "rescuer_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 4, + "docs": [ + "Lost account has been successfully recovered by rescuer account." + ] + }, + { + "name": "RecoveryRemoved", + "fields": [ + { + "name": "lost_account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 5, + "docs": [ + "A recovery process has been removed for an account." + ] + } + ] + } + }, + "docs": [ + "Events type." + ] + }, + "454": { + "path": [ + "pallet_vesting", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "VestingUpdated", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "unvested", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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", + "docs": null + } + ], + "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" + ] + }, + "455": { + "path": [ + "pallet_scheduler", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Scheduled", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "index", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 0, + "docs": [ + "Scheduled some task." + ] + }, + { + "name": "Canceled", + "fields": [ + { + "name": "when", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + }, + { + "name": "index", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 1, + "docs": [ + "Canceled some task." + ] + }, + { + "name": "Dispatched", + "fields": [ + { + "name": "task", + "type": 228, + "typeName": "TaskAddress\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "id", + "type": 456, + "typeName": "Option\u003cTaskName\u003e", + "docs": null + }, + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", + "docs": null + } + ], + "index": 2, + "docs": [ + "Dispatched some task." + ] + }, + { + "name": "CallUnavailable", + "fields": [ + { + "name": "task", + "type": 228, + "typeName": "TaskAddress\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "id", + "type": 456, + "typeName": "Option\u003cTaskName\u003e", + "docs": null + } + ], + "index": 3, + "docs": [ + "The call for the provided hash was not found so the task has been aborted." + ] + }, + { + "name": "PeriodicFailed", + "fields": [ + { + "name": "task", + "type": 228, + "typeName": "TaskAddress\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "id", + "type": 456, + "typeName": "Option\u003cTaskName\u003e", + "docs": null + } + ], + "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": 228, + "typeName": "TaskAddress\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "id", + "type": 456, + "typeName": "Option\u003cTaskName\u003e", + "docs": null + } + ], + "index": 5, + "docs": [ + "The given task can never be executed since it is overweight." + ] + } + ] + } + }, + "docs": [ + "Events type." + ] + }, + "456": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 1 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Some", + "fields": [ + { + "type": 1, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "457": { + "path": [ + "pallet_proxy", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "ProxyExecuted", + "fields": [ + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", + "docs": null + } + ], + "index": 0, + "docs": [ + "A proxy was executed correctly, with the given." + ] + }, + { + "name": "PureCreated", + "fields": [ + { + "name": "pure", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "proxy_type", + "type": 231, + "typeName": "T::ProxyType", + "docs": null + }, + { + "name": "disambiguation_index", + "type": 71, + "typeName": "u16", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "proxy", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "call_hash", + "type": 11, + "typeName": "CallHashOf\u003cT\u003e", + "docs": null + } + ], + "index": 2, + "docs": [ + "An announcement was placed to make a call in the future." + ] + }, + { + "name": "ProxyAdded", + "fields": [ + { + "name": "delegator", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "delegatee", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "proxy_type", + "type": 231, + "typeName": "T::ProxyType", + "docs": null + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + } + ], + "index": 3, + "docs": [ + "A proxy was added." + ] + }, + { + "name": "ProxyRemoved", + "fields": [ + { + "name": "delegator", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "delegatee", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "proxy_type", + "type": 231, + "typeName": "T::ProxyType", + "docs": null + }, + { + "name": "delay", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + } + ], + "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" + ] + }, + "458": { + "path": [ + "pallet_multisig", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "NewMultisig", + "fields": [ + { + "name": "approving", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash", + "docs": null + } + ], + "index": 0, + "docs": [ + "A new multisig operation has begun." + ] + }, + { + "name": "MultisigApproval", + "fields": [ + { + "name": "approving", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "timepoint", + "type": 234, + "typeName": "Timepoint\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash", + "docs": null + } + ], + "index": 1, + "docs": [ + "A multisig operation has been approved by someone." + ] + }, + { + "name": "MultisigExecuted", + "fields": [ + { + "name": "approving", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "timepoint", + "type": 234, + "typeName": "Timepoint\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash", + "docs": null + }, + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", + "docs": null + } + ], + "index": 2, + "docs": [ + "A multisig operation has been executed." + ] + }, + { + "name": "MultisigCancelled", + "fields": [ + { + "name": "cancelling", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "timepoint", + "type": 234, + "typeName": "Timepoint\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "multisig", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "call_hash", + "type": 1, + "typeName": "CallHash", + "docs": null + } + ], + "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" + ] + }, + "459": { + "path": [ + "pallet_preimage", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Noted", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "index": 0, + "docs": [ + "A preimage has been noted." + ] + }, + { + "name": "Requested", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "index": 1, + "docs": [ + "A preimage has been requested." + ] + }, + { + "name": "Cleared", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "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" + ] + }, + "46": { + "path": [ + "sp_core", + "ed25519", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]", + "docs": null + } + ] + } + }, + "docs": null + }, + "460": { + "path": [ + "pallet_bounties", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "BountyProposed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + } + ], + "index": 0, + "docs": [ + "New bounty proposal." + ] + }, + { + "name": "BountyRejected", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "bond", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + } + ], + "index": 1, + "docs": [ + "A bounty proposal was rejected; funds were slashed." + ] + }, + { + "name": "BountyBecameActive", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + } + ], + "index": 2, + "docs": [ + "A bounty proposal is funded and became active." + ] + }, + { + "name": "BountyAwarded", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 3, + "docs": [ + "A bounty is awarded to a beneficiary." + ] + }, + { + "name": "BountyClaimed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 4, + "docs": [ + "A bounty is claimed by beneficiary." + ] + }, + { + "name": "BountyCanceled", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + } + ], + "index": 5, + "docs": [ + "A bounty is cancelled." + ] + }, + { + "name": "BountyExtended", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + } + ], + "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" + ] + }, + "461": { + "path": [ + "pallet_child_bounties", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Added", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + } + ], + "index": 0, + "docs": [ + "A child-bounty is added." + ] + }, + { + "name": "Awarded", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 1, + "docs": [ + "A child-bounty is awarded to a beneficiary." + ] + }, + { + "name": "Claimed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 2, + "docs": [ + "A child-bounty is claimed by beneficiary." + ] + }, + { + "name": "Canceled", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + }, + { + "name": "child_index", + "type": 4, + "typeName": "BountyIndex", + "docs": null + } + ], + "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" + ] + }, + "462": { + "path": [ + "pallet_tips", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "NewTip", + "fields": [ + { + "name": "tip_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "index": 0, + "docs": [ + "A new tip suggestion has been opened." + ] + }, + { + "name": "TipClosing", + "fields": [ + { + "name": "tip_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "index": 1, + "docs": [ + "A tip suggestion has reached threshold and is closing." + ] + }, + { + "name": "TipClosed", + "fields": [ + { + "name": "tip_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + } + ], + "index": 2, + "docs": [ + "A tip suggestion has been closed." + ] + }, + { + "name": "TipRetracted", + "fields": [ + { + "name": "tip_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + } + ], + "index": 3, + "docs": [ + "A tip suggestion has been retracted." + ] + }, + { + "name": "TipSlashed", + "fields": [ + { + "name": "tip_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "finder", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "deposit", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": null + } + ], + "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" + ] + }, + "463": { + "path": [ + "pallet_election_provider_multi_phase", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "SolutionStored", + "fields": [ + { + "name": "compute", + "type": 464, + "typeName": "ElectionCompute", + "docs": null + }, + { + "name": "origin", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "prev_ejected", + "type": 37, + "typeName": "bool", + "docs": null + } + ], + "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": 464, + "typeName": "ElectionCompute", + "docs": null + }, + { + "name": "score", + "type": 316, + "typeName": "ElectionScore", + "docs": null + } + ], + "index": 1, + "docs": [ + "The election has been finalized, with the given computation and score." + ] + }, + { + "name": "ElectionFailed", + "fields": null, + "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": "\u003cT as frame_system::Config\u003e::AccountId", + "docs": null + }, + { + "name": "value", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 3, + "docs": [ + "An account has been rewarded for their signed submission being finalized." + ] + }, + { + "name": "Slashed", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "\u003cT as frame_system::Config\u003e::AccountId", + "docs": null + }, + { + "name": "value", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 4, + "docs": [ + "An account has been slashed for submitting an invalid signed submission." + ] + }, + { + "name": "PhaseTransitioned", + "fields": [ + { + "name": "from", + "type": 465, + "typeName": "Phase\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "to", + "type": 465, + "typeName": "Phase\u003cT::BlockNumber\u003e", + "docs": null + }, + { + "name": "round", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "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" + ] + }, + "464": { + "path": [ + "pallet_election_provider_multi_phase", + "ElectionCompute" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "OnChain", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Signed", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Unsigned", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "Fallback", + "fields": null, + "index": 3, + "docs": null + }, + { + "name": "Emergency", + "fields": null, + "index": 4, + "docs": null + } + ] + } + }, + "docs": null + }, + "465": { + "path": [ + "pallet_election_provider_multi_phase", + "Phase" + ], + "params": [ + { + "name": "Bn", + "type": 4 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Off", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Signed", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Unsigned", + "fields": [ + { + "type": 466, + "typeName": "(bool, Bn)", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "Emergency", + "fields": null, + "index": 3, + "docs": null + } + ] + } + }, + "docs": null + }, + "466": { + "path": null, + "def": { + "Tuple": [ + 37, + 4 + ] + }, + "docs": null + }, + "467": { + "path": [ + "pallet_nis", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "BidPlaced", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "duration", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 0, + "docs": [ + "A bid was successfully placed." + ] + }, + { + "name": "BidRetracted", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "duration", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 1, + "docs": [ + "A bid was successfully removed (before being accepted)." + ] + }, + { + "name": "BidDropped", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "duration", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 2, + "docs": [ + "A bid was dropped from a queue because of another, more substantial, bid was present." + ] + }, + { + "name": "Issued", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReceiptIndex", + "docs": [ + "The identity of the receipt." + ] + }, + { + "name": "expiry", + "type": 4, + "typeName": "T::BlockNumber", + "docs": [ + "The block number at which the receipt may be thawed." + ] + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The owner of the receipt." + ] + }, + { + "name": "proportion", + "type": 468, + "typeName": "Perquintill", + "docs": [ + "The proportion of the effective total issuance which the receipt represents." + ] + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": [ + "The amount of funds which were debited from the owner." + ] + } + ], + "index": 3, + "docs": [ + "A bid was accepted. The balance may not be released until expiry." + ] + }, + { + "name": "Thawed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReceiptIndex", + "docs": [ + "The identity of the receipt." + ] + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The owner." + ] + }, + { + "name": "proportion", + "type": 468, + "typeName": "Perquintill", + "docs": [ + "The proportion of the effective total issuance by which the owner was debited." + ] + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": [ + "The amount by which the owner was credited." + ] + }, + { + "name": "dropped", + "type": 37, + "typeName": "bool", + "docs": [ + "If `true` then the receipt is done." + ] + } + ], + "index": 4, + "docs": [ + "An receipt has been (at least partially) thawed." + ] + }, + { + "name": "Funded", + "fields": [ + { + "name": "deficit", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 5, + "docs": [ + "An automatic funding of the deficit was made." + ] + }, + { + "name": "Transferred", + "fields": [ + { + "name": "from", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "index", + "type": 4, + "typeName": "ReceiptIndex", + "docs": null + } + ], + "index": 6, + "docs": [ + "A receipt was transfered." + ] + } + ] + } + }, + "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" + ] + }, + "468": { + "path": [ + "sp_arithmetic", + "per_things", + "Perquintill" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 10, + "typeName": "u64", + "docs": null + } + ] + } + }, + "docs": null + }, + "469": { + "path": [ + "pallet_balances", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Endowed", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "free_balance", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 0, + "docs": [ + "An account was created with some free balance." + ] + }, + { + "name": "DustLost", + "fields": [ + { + "name": "account", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 2, + "docs": [ + "Transfer succeeded." + ] + }, + { + "name": "BalanceSet", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "free", + "type": 6, + "typeName": "T::Balance", + "docs": null + }, + { + "name": "reserved", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 3, + "docs": [ + "A balance was set by root." + ] + }, + { + "name": "Reserved", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 4, + "docs": [ + "Some balance was reserved (moved from free to reserved)." + ] + }, + { + "name": "Unreserved", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 5, + "docs": [ + "Some balance was unreserved (moved from reserved to free)." + ] + }, + { + "name": "ReserveRepatriated", + "fields": [ + { + "name": "from", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "to", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + }, + { + "name": "destination_status", + "type": 31, + "typeName": "Status", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 7, + "docs": [ + "Some amount was deposited (e.g. for transaction fees)." + ] + }, + { + "name": "Withdraw", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 9, + "docs": [ + "Some amount was removed from the account (e.g. for misbehavior)." + ] + } + ] + } + }, + "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" + ] + }, + "47": { + "path": [ + "pallet_im_online", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "HeartbeatReceived", + "fields": [ + { + "name": "authority_id", + "type": 48, + "typeName": "T::AuthorityId", + "docs": null + } + ], + "index": 0, + "docs": [ + "A new heartbeat was received from `AuthorityId`." + ] + }, + { + "name": "AllGood", + "fields": null, + "index": 1, + "docs": [ + "At the end of the session, no offence was committed." + ] + }, + { + "name": "SomeOffline", + "fields": [ + { + "name": "offline", + "type": 50, + "typeName": "Vec\u003cIdentificationTuple\u003cT\u003e\u003e", + "docs": null + } + ], + "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" + ] + }, + "470": { + "path": [ + "pallet_bags_list", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Rebagged", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "from", + "type": 10, + "typeName": "T::Score", + "docs": null + }, + { + "name": "to", + "type": 10, + "typeName": "T::Score", + "docs": null + } + ], + "index": 0, + "docs": [ + "Moved an account from one bag to another." + ] + }, + { + "name": "ScoreUpdated", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "new_score", + "type": 10, + "typeName": "T::Score", + "docs": null + } + ], + "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" + ] + }, + "471": { + "path": [ + "pallet_nomination_pools", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Created", + "fields": [ + { + "name": "depositor", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + } + ], + "index": 0, + "docs": [ + "A pool has been created." + ] + }, + { + "name": "Bonded", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "bonded", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "joined", + "type": 37, + "typeName": "bool", + "docs": null + } + ], + "index": 1, + "docs": [ + "A member has became bonded in a pool." + ] + }, + { + "name": "PaidOut", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "payout", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 2, + "docs": [ + "A payout has been made to a member." + ] + }, + { + "name": "Unbonded", + "fields": [ + { + "name": "member", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "points", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "era", + "type": 4, + "typeName": "EraIndex", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "points", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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", + "docs": null + } + ], + "index": 5, + "docs": [ + "A pool has been destroyed." + ] + }, + { + "name": "StateChanged", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "new_state", + "type": 328, + "typeName": "PoolState", + "docs": null + } + ], + "index": 6, + "docs": [ + "The state of a pool has changed" + ] + }, + { + "name": "MemberRemoved", + "fields": [ + { + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null + }, + { + "name": "member", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "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": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "state_toggler", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "nominator", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "era", + "type": 4, + "typeName": "EraIndex", + "docs": null + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 10, + "docs": [ + "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`." + ] + } + ] + } + }, + "docs": [ + "Events of this pallet." + ] + }, + "472": { + "path": [ + "pallet_fast_unstake", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Unstaked", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", + "docs": null + } + ], + "index": 0, + "docs": [ + "A staker was unstaked." + ] + }, + { + "name": "Slashed", + "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 1, + "docs": [ + "A staker was slashed for requesting fast-unstake whilst being exposed." + ] + }, + { + "name": "InternalError", + "fields": null, + "index": 2, + "docs": [ + "An internal error happened. Operations will be paused now." + ] + }, + { + "name": "BatchChecked", + "fields": [ + { + "name": "eras", + "type": 102, + "typeName": "Vec\u003cEraIndex\u003e", + "docs": null + } + ], + "index": 3, + "docs": [ + "A batch was partially checked for the given eras, but the process did not finish." + ] + }, + { + "name": "BatchFinished", + "fields": null, + "index": 4, + "docs": [ + "A batch 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." + ] + }, + "473": { + "path": [ + "polkadot_runtime_parachains", + "inclusion", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "CandidateBacked", + "fields": [ + { + "type": 474, + "typeName": "CandidateReceipt\u003cT::Hash\u003e", + "docs": null + }, + { + "type": 357, + "typeName": "HeadData", + "docs": null + }, + { + "type": 475, + "typeName": "CoreIndex", + "docs": null + }, + { + "type": 476, + "typeName": "GroupIndex", + "docs": null + } + ], + "index": 0, + "docs": [ + "A candidate was backed. `[candidate, head_data]`" + ] + }, + { + "name": "CandidateIncluded", + "fields": [ + { + "type": 474, + "typeName": "CandidateReceipt\u003cT::Hash\u003e", + "docs": null + }, + { + "type": 357, + "typeName": "HeadData", + "docs": null + }, + { + "type": 475, + "typeName": "CoreIndex", + "docs": null + }, + { + "type": 476, + "typeName": "GroupIndex", + "docs": null + } + ], + "index": 1, + "docs": [ + "A candidate was included. `[candidate, head_data]`" + ] + }, + { + "name": "CandidateTimedOut", + "fields": [ + { + "type": 474, + "typeName": "CandidateReceipt\u003cT::Hash\u003e", + "docs": null + }, + { + "type": 357, + "typeName": "HeadData", + "docs": null + }, + { + "type": 475, + "typeName": "CoreIndex", + "docs": null + } + ], + "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" + ] + }, + "474": { + "path": [ + "polkadot_primitives", + "v2", + "CandidateReceipt" + ], + "params": [ + { + "name": "H", + "type": 11 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "descriptor", + "type": 348, + "typeName": "CandidateDescriptor\u003cH\u003e", + "docs": null + }, + { + "name": "commitments_hash", + "type": 11, + "typeName": "Hash", + "docs": null + } + ] + } + }, + "docs": null + }, + "475": { + "path": [ + "polkadot_primitives", + "v2", + "CoreIndex" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 4, + "typeName": "u32", + "docs": null + } + ] + } + }, + "docs": null + }, + "476": { + "path": [ + "polkadot_primitives", + "v2", + "GroupIndex" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 4, + "typeName": "u32", + "docs": null + } + ] + } + }, + "docs": null + }, + "477": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "pallet", + "Event" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "CurrentCodeUpdated", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 0, + "docs": [ + "Current code has been updated for a Para. `para_id`" + ] + }, + { + "name": "CurrentHeadUpdated", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 1, + "docs": [ + "Current head has been updated for a Para. `para_id`" + ] + }, + { + "name": "CodeUpgradeScheduled", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 2, + "docs": [ + "A code upgrade has been scheduled for a Para. `para_id`" + ] + }, + { + "name": "NewHeadNoted", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 3, + "docs": [ + "A new head has been noted for a Para. `para_id`" + ] + }, + { + "name": "ActionQueued", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 4, + "typeName": "SessionIndex", + "docs": null + } + ], + "index": 4, + "docs": [ + "A para has been queued to execute pending actions. `para_id`" + ] + }, + { + "name": "PvfCheckStarted", + "fields": [ + { + "type": 351, + "typeName": "ValidationCodeHash", + "docs": null + }, + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "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": 351, + "typeName": "ValidationCodeHash", + "docs": null + }, + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 6, + "docs": [ + "The given validation code was accepted by the PVF pre-checking vote.", + "`code_hash` `para_id`" + ] + }, + { + "name": "PvfCheckRejected", + "fields": [ + { + "type": 351, + "typeName": "ValidationCodeHash", + "docs": null + }, + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "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" + ] + }, + "478": { + "path": [ + "polkadot_runtime_parachains", + "ump", + "pallet", + "Event" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "InvalidFormat", + "fields": [ + { + "type": 1, + "typeName": "MessageId", + "docs": null + } + ], + "index": 0, + "docs": [ + "Upward message is invalid XCM.", + "\\[ id \\]" + ] + }, + { + "name": "UnsupportedVersion", + "fields": [ + { + "type": 1, + "typeName": "MessageId", + "docs": null + } + ], + "index": 1, + "docs": [ + "Upward message is unsupported version of XCM.", + "\\[ id \\]" + ] + }, + { + "name": "ExecutedUpward", + "fields": [ + { + "type": 1, + "typeName": "MessageId", + "docs": null + }, + { + "type": 479, + "typeName": "Outcome", + "docs": null + } + ], + "index": 2, + "docs": [ + "Upward message executed with the given outcome.", + "\\[ id, outcome \\]" + ] + }, + { + "name": "WeightExhausted", + "fields": [ + { + "type": 1, + "typeName": "MessageId", + "docs": null + }, + { + "type": 8, + "typeName": "Weight", + "docs": null + }, + { + "type": 8, + "typeName": "Weight", + "docs": null + } + ], + "index": 3, + "docs": [ + "The weight limit for handling upward messages was reached.", + "\\[ id, remaining, required \\]" + ] + }, + { + "name": "UpwardMessagesReceived", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 4, + "docs": [ + "Some upward messages have been received and will be processed.", + "\\[ para, count, size \\]" + ] + }, + { + "name": "OverweightEnqueued", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 1, + "typeName": "MessageId", + "docs": null + }, + { + "type": 10, + "typeName": "OverweightIndex", + "docs": null + }, + { + "type": 8, + "typeName": "Weight", + "docs": null + } + ], + "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": 10, + "typeName": "OverweightIndex", + "docs": null + }, + { + "type": 8, + "typeName": "Weight", + "docs": null + } + ], + "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" + ] + }, + "479": { + "path": [ + "xcm", + "v2", + "traits", + "Outcome" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Complete", + "fields": [ + { + "type": 10, + "typeName": "Weight", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Incomplete", + "fields": [ + { + "type": 10, + "typeName": "Weight", + "docs": null + }, + { + "type": 422, + "typeName": "Error", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "Error", + "fields": [ + { + "type": 422, + "typeName": "Error", + "docs": null + } + ], + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "48": { + "path": [ + "pallet_im_online", + "sr25519", + "app_sr25519", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 49, + "typeName": "sr25519::Public", + "docs": null + } + ] + } + }, + "docs": null + }, + "480": { + "path": [ + "polkadot_runtime_parachains", + "hrmp", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "OpenChannelRequested", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 0, + "docs": [ + "Open HRMP channel requested.", + "`[sender, recipient, proposed_max_capacity, proposed_max_message_size]`" + ] + }, + { + "name": "OpenChannelCanceled", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 374, + "typeName": "HrmpChannelId", + "docs": null + } + ], + "index": 1, + "docs": [ + "An HRMP channel request sent by the receiver was canceled by either party.", + "`[by_parachain, channel_id]`" + ] + }, + { + "name": "OpenChannelAccepted", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 2, + "docs": [ + "Open HRMP channel accepted. `[sender, recipient]`" + ] + }, + { + "name": "ChannelClosed", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 374, + "typeName": "HrmpChannelId", + "docs": null + } + ], + "index": 3, + "docs": [ + "HRMP channel closed. `[by_parachain, channel_id]`" + ] + }, + { + "name": "HrmpChannelForceOpened", + "fields": [ + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "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" + ] + }, + "481": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "DisputeInitiated", + "fields": [ + { + "type": 362, + "typeName": "CandidateHash", + "docs": null + }, + { + "type": 482, + "typeName": "DisputeLocation", + "docs": null + } + ], + "index": 0, + "docs": [ + "A dispute has been initiated. \\[candidate hash, dispute location\\]" + ] + }, + { + "name": "DisputeConcluded", + "fields": [ + { + "type": 362, + "typeName": "CandidateHash", + "docs": null + }, + { + "type": 483, + "typeName": "DisputeResult", + "docs": null + } + ], + "index": 1, + "docs": [ + "A dispute has concluded for or against a candidate.", + "`\\[para id, candidate hash, dispute result\\]`" + ] + }, + { + "name": "DisputeTimedOut", + "fields": [ + { + "type": 362, + "typeName": "CandidateHash", + "docs": null + } + ], + "index": 2, + "docs": [ + "A dispute has timed out due to insufficient participation.", + "`\\[para id, candidate hash\\]`" + ] + }, + { + "name": "Revert", + "fields": [ + { + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + } + ], + "index": 3, + "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" + ] + }, + "482": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "DisputeLocation" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Local", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Remote", + "fields": null, + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "483": { + "path": [ + "polkadot_runtime_parachains", + "disputes", + "DisputeResult" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Valid", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Invalid", + "fields": null, + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "484": { + "path": [ + "polkadot_runtime_common", + "paras_registrar", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Registered", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "manager", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Deregistered", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "Reserved", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 2, + "docs": null + } + ] + } + }, + "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" + ] + }, + "485": { + "path": [ + "polkadot_runtime_common", + "slots", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "NewLeasePeriod", + "fields": [ + { + "name": "lease_period", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + } + ], + "index": 0, + "docs": [ + "A new `[lease_period]` is beginning." + ] + }, + { + "name": "Leased", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "leaser", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "period_begin", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "period_count", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "extra_reserved", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "total_amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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" + ] + }, + "486": { + "path": [ + "polkadot_runtime_common", + "auctions", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "AuctionStarted", + "fields": [ + { + "name": "auction_index", + "type": 4, + "typeName": "AuctionIndex", + "docs": null + }, + { + "name": "lease_period", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "ending", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + } + ], + "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", + "docs": null + } + ], + "index": 1, + "docs": [ + "An auction ended. All funds become unreserved." + ] + }, + { + "name": "Reserved", + "fields": [ + { + "name": "bidder", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "extra_reserved", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "total_amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 3, + "docs": [ + "Funds were unreserved since bidder is no longer active. `[bidder, amount]`" + ] + }, + { + "name": "ReserveConfiscated", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "leaser", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "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", + "docs": null + }, + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "first_slot", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + }, + { + "name": "last_slot", + "type": 4, + "typeName": "LeasePeriodOf\u003cT\u003e", + "docs": null + } + ], + "index": 5, + "docs": [ + "A new bid has been accepted as the current winner." + ] + }, + { + "name": "WinningOffset", + "fields": [ + { + "name": "auction_index", + "type": 4, + "typeName": "AuctionIndex", + "docs": null + }, + { + "name": "block_number", + "type": 4, + "typeName": "T::BlockNumber", + "docs": null + } + ], + "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" + ] + }, + "487": { + "path": [ + "polkadot_runtime_common", + "crowdloan", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Created", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 0, + "docs": [ + "Create a new crowdloaning campaign." + ] + }, + { + "name": "Contributed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "fund_index", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 1, + "docs": [ + "Contributed to a crowd sale." + ] + }, + { + "name": "Withdrew", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "fund_index", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 2, + "docs": [ + "Withdrew full balance of a contributor." + ] + }, + { + "name": "PartiallyRefunded", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "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": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 4, + "docs": [ + "All loans in a fund have been refunded." + ] + }, + { + "name": "Dissolved", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 5, + "docs": [ + "Fund is dissolved." + ] + }, + { + "name": "HandleBidResult", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", + "docs": null + } + ], + "index": 6, + "docs": [ + "The result of trying to submit a new bid to the Slots pallet." + ] + }, + { + "name": "Edited", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "index": 7, + "docs": [ + "The configuration to a crowdloan has been edited." + ] + }, + { + "name": "MemoUpdated", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + }, + { + "name": "memo", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "index": 8, + "docs": [ + "A memo has been updated." + ] + }, + { + "name": "AddedToNewRaise", + "fields": [ + { + "name": "para_id", + "type": 156, + "typeName": "ParaId", + "docs": null + } + ], + "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" + ] + }, + "488": { + "path": [ + "pallet_xcm", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Attempted", + "fields": [ + { + "type": 479, + "typeName": "xcm::latest::Outcome", + "docs": null + } + ], + "index": 0, + "docs": [ + "Execution of an XCM message was attempted.", + "", + "\\[ outcome \\]" + ] + }, + { + "name": "Sent", + "fields": [ + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 416, + "typeName": "Xcm\u003c()\u003e", + "docs": null + } + ], + "index": 1, + "docs": [ + "A XCM message was sent.", + "", + "\\[ origin, destination, message \\]" + ] + }, + { + "name": "UnexpectedResponse", + "fields": [ + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 10, + "typeName": "QueryId", + "docs": null + } + ], + "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": 10, + "typeName": "QueryId", + "docs": null + }, + { + "type": 419, + "typeName": "Response", + "docs": null + } + ], + "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": 10, + "typeName": "QueryId", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + } + ], + "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": 10, + "typeName": "QueryId", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + }, + { + "type": 8, + "typeName": "Weight", + "docs": null + }, + { + "type": 8, + "typeName": "Weight", + "docs": null + } + ], + "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": 10, + "typeName": "QueryId", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + } + ], + "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": 10, + "typeName": "QueryId", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + }, + { + "type": 2, + "typeName": "u8", + "docs": null + } + ], + "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": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 10, + "typeName": "QueryId", + "docs": null + }, + { + "type": 489, + "typeName": "Option\u003cMultiLocation\u003e", + "docs": null + } + ], + "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": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 10, + "typeName": "QueryId", + "docs": null + } + ], + "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": 10, + "typeName": "QueryId", + "docs": null + } + ], + "index": 10, + "docs": [ + "Received query response has been read and removed.", + "", + "\\[ id \\]" + ] + }, + { + "name": "AssetsTrapped", + "fields": [ + { + "type": 11, + "typeName": "H256", + "docs": null + }, + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 424, + "typeName": "VersionedMultiAssets", + "docs": null + } + ], + "index": 11, + "docs": [ + "Some assets have been placed in an asset trap.", + "", + "\\[ hash, origin, assets \\]" + ] + }, + { + "name": "VersionChangeNotified", + "fields": [ + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 4, + "typeName": "XcmVersion", + "docs": null + } + ], + "index": 12, + "docs": [ + "An XCM version change notification message has been attempted to be sent.", + "", + "\\[ destination, result \\]" + ] + }, + { + "name": "SupportedVersionChanged", + "fields": [ + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 4, + "typeName": "XcmVersion", + "docs": null + } + ], + "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": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 10, + "typeName": "QueryId", + "docs": null + }, + { + "type": 422, + "typeName": "XcmError", + "docs": null + } + ], + "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": 389, + "typeName": "VersionedMultiLocation", + "docs": null + }, + { + "type": 10, + "typeName": "QueryId", + "docs": null + } + ], + "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": "AssetsClaimed", + "fields": [ + { + "type": 11, + "typeName": "H256", + "docs": null + }, + { + "type": 158, + "typeName": "MultiLocation", + "docs": null + }, + { + "type": 424, + "typeName": "VersionedMultiAssets", + "docs": null + } + ], + "index": 16, + "docs": [ + "Some assets have been claimed from an asset trap", + "", + "\\[ hash, origin, assets \\]" ] } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "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" + ] + }, + "489": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 158 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Some", + "fields": [ + { + "type": 158, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "49": { + "path": [ + "sp_core", + "sr25519", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]", + "docs": null + } + ] + } + }, + "docs": null + }, + "490": { + "path": [ + "frame_system", + "Phase" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "ApplyExtrinsic", + "fields": [ + { + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Finalization", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Initialization", + "fields": null, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "491": { + "path": null, + "def": { + "Sequence": { + "type": 11 + } + }, + "docs": null + }, + "492": { + "path": null, + "def": { + "Sequence": { + "type": 228 + } + }, + "docs": null + }, + "493": { + "path": [ + "frame_system", + "LastRuntimeUpgradeInfo" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "spec_version", + "type": 82, + "typeName": "codec::Compact\u003cu32\u003e", + "docs": null + }, + { + "name": "spec_name", + "type": 494, + "typeName": "sp_runtime::RuntimeString", + "docs": null + } + ] + } + }, + "docs": null + }, + "494": { + "path": null, + "def": { + "Primitive": "Str" + }, + "docs": null + }, + "495": { + "path": [ + "frame_system", + "limits", + "BlockWeights" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "base_block", + "type": 8, + "typeName": "Weight", + "docs": null + }, + { + "name": "max_block", + "type": 8, + "typeName": "Weight", + "docs": null + }, + { + "name": "per_class", + "type": 496, + "typeName": "PerDispatchClass\u003cWeightsPerClass\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "496": { + "path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "params": [ + { + "name": "T", + "type": 497 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "normal", + "type": 497, + "typeName": "T", + "docs": null + }, + { + "name": "operational", + "type": 497, + "typeName": "T", + "docs": null + }, + { + "name": "mandatory", + "type": 497, + "typeName": "T", + "docs": null + } + ] + } + }, + "docs": null + }, + "497": { + "path": [ + "frame_system", + "limits", + "WeightsPerClass" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "base_extrinsic", + "type": 8, + "typeName": "Weight", + "docs": null + }, + { + "name": "max_extrinsic", + "type": 447, + "typeName": "Option\u003cWeight\u003e", + "docs": null + }, + { + "name": "max_total", + "type": 447, + "typeName": "Option\u003cWeight\u003e", + "docs": null + }, + { + "name": "reserved", + "type": 447, + "typeName": "Option\u003cWeight\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "498": { + "path": [ + "frame_system", + "limits", + "BlockLength" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "max", + "type": 499, + "typeName": "PerDispatchClass\u003cu32\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "499": { + "path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "params": [ + { + "name": "T", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "normal", + "type": 4, + "typeName": "T", + "docs": null + }, + { + "name": "operational", + "type": 4, + "typeName": "T", + "docs": null + }, + { + "name": "mandatory", + "type": 4, + "typeName": "T", + "docs": null + } + ] + } + }, + "docs": null + }, + "5": { + "path": [ + "pallet_balances", + "AccountData" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "free", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "reserved", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "misc_frozen", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "fee_frozen", + "type": 6, + "typeName": "Balance", + "docs": null + } + ] + } + }, + "docs": null + }, + "50": { + "path": null, + "def": { + "Sequence": { + "type": 51 + } + }, + "docs": null + }, + "500": { + "path": [ + "sp_weights", + "RuntimeDbWeight" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "read", + "type": 10, + "typeName": "u64", + "docs": null + }, + { + "name": "write", + "type": 10, + "typeName": "u64", + "docs": null + } + ] + } + }, + "docs": null + }, + "501": { + "path": [ + "sp_version", + "RuntimeVersion" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "spec_name", + "type": 494, + "typeName": "RuntimeString", + "docs": null + }, + { + "name": "impl_name", + "type": 494, + "typeName": "RuntimeString", + "docs": null + }, + { + "name": "authoring_version", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "spec_version", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "impl_version", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "apis", + "type": 502, + "typeName": "ApisVec", + "docs": null + }, + { + "name": "transaction_version", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "state_version", + "type": 2, + "typeName": "u8", + "docs": null + } + ] + } + }, + "docs": null + }, + "502": { + "path": [ + "Cow" + ], + "params": [ + { + "name": "T", + "type": 503 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 503, + "typeName": "", + "docs": null + } + ] + } + }, + "docs": null }, - "378": { + "503": { + "path": null, + "def": { + "Sequence": { + "type": 504 + } + }, + "docs": null + }, + "504": { + "path": null, + "def": { + "Tuple": [ + 192, + 4 + ] + }, + "docs": null + }, + "505": { "path": [ - "pallet_election_provider_multi_phase", + "frame_system", "pallet", - "Call" + "Error" ], "params": [ { @@ -19400,150 +30049,87 @@ "Variant": { "variants": [ { - "name": "submit_unsigned", - "fields": [ - { - "name": "raw_solution", - "type": 379, - "typeName": "Box\u003cRawSolution\u003cSolutionOf\u003cT\u003e\u003e\u003e", - "docs": null - }, - { - "name": "witness", - "type": 456, - "typeName": "SolutionOrSnapshotSize", - "docs": null - } - ], + "name": "InvalidSpecName", + "fields": null, "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." + "The name of specification does not match between the current runtime", + "and the new runtime." ] }, { - "name": "set_minimum_untrusted_score", - "fields": [ - { - "name": "maybe_next_score", - "type": 457, - "typeName": "Option\u003cElectionScore\u003e", - "docs": null - } - ], + "name": "SpecVersionNeedsToIncrease", + "fields": null, "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`." + "The specification version is not allowed to decrease between the current runtime", + "and the new runtime." ] }, { - "name": "set_emergency_election_result", - "fields": [ - { - "name": "supports", - "type": 458, - "typeName": "Supports\u003cT::AccountId\u003e", - "docs": null - } - ], + "name": "FailedToExtractRuntimeVersion", + "fields": null, "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`.", + "Failed to extract the runtime version from the new runtime.", "", - "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)." + "Either calling `Core_version` or decoding `RuntimeVersion` failed." ] }, { - "name": "submit", - "fields": [ - { - "name": "raw_solution", - "type": 379, - "typeName": "Box\u003cRawSolution\u003cSolutionOf\u003cT\u003e\u003e\u003e", - "docs": null - }, - { - "name": "num_signed_submissions", - "type": 4, - "typeName": "u32", - "docs": null - } - ], + "name": "NonDefaultComposite", + "fields": null, "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.", - "", - "# \u003cweight\u003e", - "Queue size must be provided as witness data.", - "# \u003c/weight\u003e" + "Suicide called when the account has non-default composite data." + ] + }, + { + "name": "NonZeroRefCount", + "fields": null, + "index": 4, + "docs": [ + "There is a non-zero reference count preventing the account from being purged." + ] + }, + { + "name": "CallFiltered", + "fields": null, + "index": 5, + "docs": [ + "The origin filter prevent the call to be dispatched." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "Error for the System pallet" ] }, - "379": { + "506": { "path": [ - "pallet_election_provider_multi_phase", - "RawSolution" + "sp_core", + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" ], "params": [ + { + "name": "T", + "type": 507 + }, { "name": "S", - "type": 380 + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "solution", - "type": 380, - "typeName": "S", - "docs": null - }, - { - "name": "score", - "type": 455, - "typeName": "ElectionScore", - "docs": null - }, - { - "name": "round", - "type": 4, - "typeName": "u32", + "type": 508, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -19551,19 +30137,48 @@ }, "docs": null }, - "38": { + "507": { + "path": null, + "def": { + "Tuple": [ + 83, + 10 + ] + }, + "docs": null + }, + "508": { + "path": null, + "def": { + "Sequence": { + "type": 507 + } + }, + "docs": null + }, + "509": { "path": [ - "pallet_im_online", - "sr25519", - "app_sr25519", - "Public" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 1 + }, + { + "name": "S", + "type": 0 + } ], "def": { "Composite": { "fields": [ { - "type": 39, - "typeName": "sr25519::Public", + "type": 510, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -19571,156 +30186,206 @@ }, "docs": null }, - "380": { + "51": { + "path": null, + "def": { + "Tuple": [ + 0, + 52 + ] + }, + "docs": null + }, + "510": { + "path": null, + "def": { + "Sequence": { + "type": 1 + } + }, + "docs": null + }, + "511": { "path": [ - "kusama_runtime", - "NposCompactSolution24" + "Option" + ], + "params": [ + { + "name": "T", + "type": 512 + } ], "def": { - "Composite": { - "fields": [ - { - "name": "votes1", - "type": 381, - "typeName": "", - "docs": null - }, - { - "name": "votes2", - "type": 384, - "typeName": "", - "docs": null - }, - { - "name": "votes3", - "type": 389, - "typeName": "", - "docs": null - }, - { - "name": "votes4", - "type": 392, - "typeName": "", - "docs": null - }, - { - "name": "votes5", - "type": 395, - "typeName": "", - "docs": null - }, - { - "name": "votes6", - "type": 398, - "typeName": "", - "docs": null - }, - { - "name": "votes7", - "type": 401, - "typeName": "", - "docs": null - }, - { - "name": "votes8", - "type": 404, - "typeName": "", - "docs": null - }, - { - "name": "votes9", - "type": 407, - "typeName": "", - "docs": null - }, + "Variant": { + "variants": [ { - "name": "votes10", - "type": 410, - "typeName": "", + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "votes11", - "type": 413, - "typeName": "", + "name": "Some", + "fields": [ + { + "type": 512, + "typeName": "", + "docs": null + } + ], + "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "512": { + "path": [ + "sp_consensus_babe", + "digests", + "PreDigest" + ], + "def": { + "Variant": { + "variants": [ { - "name": "votes12", - "type": 416, - "typeName": "", + "name": "Primary", + "fields": [ + { + "type": 513, + "typeName": "PrimaryPreDigest", + "docs": null + } + ], + "index": 1, "docs": null }, { - "name": "votes13", - "type": 419, - "typeName": "", + "name": "SecondaryPlain", + "fields": [ + { + "type": 514, + "typeName": "SecondaryPlainPreDigest", + "docs": null + } + ], + "index": 2, "docs": null }, { - "name": "votes14", - "type": 422, - "typeName": "", + "name": "SecondaryVRF", + "fields": [ + { + "type": 515, + "typeName": "SecondaryVRFPreDigest", + "docs": null + } + ], + "index": 3, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "513": { + "path": [ + "sp_consensus_babe", + "digests", + "PrimaryPreDigest" + ], + "def": { + "Composite": { + "fields": [ { - "name": "votes15", - "type": 425, - "typeName": "", + "name": "authority_index", + "type": 4, + "typeName": "super::AuthorityIndex", "docs": null }, { - "name": "votes16", - "type": 428, - "typeName": "", + "name": "slot", + "type": 84, + "typeName": "Slot", "docs": null }, { - "name": "votes17", - "type": 431, - "typeName": "", + "name": "vrf_output", + "type": 1, + "typeName": "VRFOutput", "docs": null }, { - "name": "votes18", - "type": 434, - "typeName": "", + "name": "vrf_proof", + "type": 119, + "typeName": "VRFProof", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "514": { + "path": [ + "sp_consensus_babe", + "digests", + "SecondaryPlainPreDigest" + ], + "def": { + "Composite": { + "fields": [ { - "name": "votes19", - "type": 437, - "typeName": "", + "name": "authority_index", + "type": 4, + "typeName": "super::AuthorityIndex", "docs": null }, { - "name": "votes20", - "type": 440, - "typeName": "", + "name": "slot", + "type": 84, + "typeName": "Slot", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "515": { + "path": [ + "sp_consensus_babe", + "digests", + "SecondaryVRFPreDigest" + ], + "def": { + "Composite": { + "fields": [ { - "name": "votes21", - "type": 443, - "typeName": "", + "name": "authority_index", + "type": 4, + "typeName": "super::AuthorityIndex", "docs": null }, { - "name": "votes22", - "type": 446, - "typeName": "", + "name": "slot", + "type": 84, + "typeName": "Slot", "docs": null }, { - "name": "votes23", - "type": 449, - "typeName": "", + "name": "vrf_output", + "type": 1, + "typeName": "VRFOutput", "docs": null }, { - "name": "votes24", - "type": 452, - "typeName": "", + "name": "vrf_proof", + "type": 119, + "typeName": "VRFProof", "docs": null } ] @@ -19728,85 +30393,192 @@ }, "docs": null }, - "381": { - "path": null, + "516": { + "path": [ + "sp_consensus_babe", + "BabeEpochConfiguration" + ], "def": { - "Sequence": { - "type": 382 + "Composite": { + "fields": [ + { + "name": "c", + "type": 87, + "typeName": "(u64, u64)", + "docs": null + }, + { + "name": "allowed_slots", + "type": 88, + "typeName": "AllowedSlots", + "docs": null + } + ] } }, "docs": null }, - "382": { - "path": null, - "def": { - "Tuple": [ - 112, - 383 - ] - }, - "docs": null - }, - "383": { - "path": null, - "def": { - "Compact": { - "type": 72 + "517": { + "path": [ + "pallet_babe", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 } - }, - "docs": null - }, - "384": { - "path": null, + ], "def": { - "Sequence": { - "type": 385 + "Variant": { + "variants": [ + { + "name": "InvalidEquivocationProof", + "fields": null, + "index": 0, + "docs": [ + "An equivocation proof provided as part of an equivocation report is invalid." + ] + }, + { + "name": "InvalidKeyOwnershipProof", + "fields": null, + "index": 1, + "docs": [ + "A key ownership proof provided as part of an equivocation report is invalid." + ] + }, + { + "name": "DuplicateOffenceReport", + "fields": null, + "index": 2, + "docs": [ + "A given equivocation report is valid but already previously reported." + ] + }, + { + "name": "InvalidConfiguration", + "fields": null, + "index": 3, + "docs": [ + "Submitted configuration is invalid." + ] + } + ] } }, - "docs": null - }, - "385": { - "path": null, - "def": { - "Tuple": [ - 112, - 386, - 383 - ] - }, - "docs": null + "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" + ] }, - "386": { + "518": { "path": null, "def": { "Tuple": [ - 383, - 387 + 0, + 6, + 37 ] }, "docs": null }, - "387": { - "path": null, + "519": { + "path": [ + "pallet_indices", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], "def": { - "Compact": { - "type": 388 + "Variant": { + "variants": [ + { + "name": "NotAssigned", + "fields": null, + "index": 0, + "docs": [ + "The index was not already assigned." + ] + }, + { + "name": "NotOwner", + "fields": null, + "index": 1, + "docs": [ + "The index is assigned to another account." + ] + }, + { + "name": "InUse", + "fields": null, + "index": 2, + "docs": [ + "The index was not available." + ] + }, + { + "name": "NotTransfer", + "fields": null, + "index": 3, + "docs": [ + "The source and destination accounts are identical." + ] + }, + { + "name": "Permanent", + "fields": null, + "index": 4, + "docs": [ + "The index is permanent and may not be freed/changed." + ] + } + ] } }, - "docs": null + "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" + ] }, - "388": { + "52": { "path": [ - "sp_arithmetic", - "per_things", - "PerU16" + "pallet_staking", + "Exposure" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } ], "def": { "Composite": { "fields": [ { - "type": 72, - "typeName": "u16", + "name": "total", + "type": 53, + "typeName": "Balance", + "docs": null + }, + { + "name": "own", + "type": 53, + "typeName": "Balance", + "docs": null + }, + { + "name": "others", + "type": 54, + "typeName": "Vec\u003cIndividualExposure\u003cAccountId, Balance\u003e\u003e", "docs": null } ] @@ -19814,27 +30586,29 @@ }, "docs": null }, - "389": { - "path": null, - "def": { - "Sequence": { - "type": 390 - } - }, - "docs": null - }, - "39": { + "520": { "path": [ "sp_core", - "sr25519", - "Public" + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 521 + }, + { + "name": "S", + "type": 0 + } ], "def": { "Composite": { "fields": [ { - "type": 1, - "typeName": "[u8; 32]", + "type": 523, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -19842,366 +30616,515 @@ }, "docs": null }, - "390": { - "path": null, - "def": { - "Tuple": [ - 112, - 391, - 383 - ] - }, - "docs": null - }, - "391": { - "path": null, - "def": { - "Array": { - "len": 2, - "type": 386 - } - }, - "docs": null - }, - "392": { - "path": null, - "def": { - "Sequence": { - "type": 393 - } - }, - "docs": null - }, - "393": { - "path": null, - "def": { - "Tuple": [ - 112, - 394, - 383 - ] - }, - "docs": null - }, - "394": { - "path": null, - "def": { - "Array": { - "len": 3, - "type": 386 - } - }, - "docs": null - }, - "395": { - "path": null, - "def": { - "Sequence": { - "type": 396 + "521": { + "path": [ + "pallet_balances", + "BalanceLock" + ], + "params": [ + { + "name": "Balance", + "type": 6 } - }, - "docs": null - }, - "396": { - "path": null, - "def": { - "Tuple": [ - 112, - 397, - 383 - ] - }, - "docs": null - }, - "397": { - "path": null, + ], "def": { - "Array": { - "len": 4, - "type": 386 + "Composite": { + "fields": [ + { + "name": "id", + "type": 192, + "typeName": "LockIdentifier", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "reasons", + "type": 522, + "typeName": "Reasons", + "docs": null + } + ] } }, "docs": null }, - "398": { - "path": null, + "522": { + "path": [ + "pallet_balances", + "Reasons" + ], "def": { - "Sequence": { - "type": 399 + "Variant": { + "variants": [ + { + "name": "Fee", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Misc", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "All", + "fields": null, + "index": 2, + "docs": null + } + ] } }, "docs": null }, - "399": { - "path": null, - "def": { - "Tuple": [ - 112, - 400, - 383 - ] - }, - "docs": null - }, - "4": { - "path": null, - "def": { - "Primitive": "U32" - }, - "docs": null - }, - "40": { + "523": { "path": null, "def": { "Sequence": { - "type": 41 - } - }, - "docs": null - }, - "400": { - "path": null, - "def": { - "Array": { - "len": 5, - "type": 386 + "type": 521 } }, "docs": null }, - "401": { - "path": null, - "def": { - "Sequence": { - "type": 402 + "524": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 525 + }, + { + "name": "S", + "type": 0 } - }, - "docs": null - }, - "402": { - "path": null, - "def": { - "Tuple": [ - 112, - 403, - 383 - ] - }, - "docs": null - }, - "403": { - "path": null, + ], "def": { - "Array": { - "len": 6, - "type": 386 + "Composite": { + "fields": [ + { + "type": 526, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] } }, "docs": null }, - "404": { - "path": null, - "def": { - "Sequence": { - "type": 405 + "525": { + "path": [ + "pallet_balances", + "ReserveData" + ], + "params": [ + { + "name": "ReserveIdentifier", + "type": 192 + }, + { + "name": "Balance", + "type": 6 } - }, - "docs": null - }, - "405": { - "path": null, - "def": { - "Tuple": [ - 112, - 406, - 383 - ] - }, - "docs": null - }, - "406": { - "path": null, + ], "def": { - "Array": { - "len": 7, - "type": 386 + "Composite": { + "fields": [ + { + "name": "id", + "type": 192, + "typeName": "ReserveIdentifier", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance", + "docs": null + } + ] } }, "docs": null }, - "407": { + "526": { "path": null, "def": { "Sequence": { - "type": 408 - } - }, - "docs": null - }, - "408": { - "path": null, - "def": { - "Tuple": [ - 112, - 409, - 383 - ] - }, - "docs": null - }, - "409": { - "path": null, - "def": { - "Array": { - "len": 8, - "type": 386 + "type": 525 } }, "docs": null }, - "41": { - "path": null, - "def": { - "Tuple": [ - 0, - 42 - ] - }, - "docs": null - }, - "410": { - "path": null, - "def": { - "Sequence": { - "type": 411 + "527": { + "path": [ + "pallet_balances", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 } - }, - "docs": null - }, - "411": { - "path": null, - "def": { - "Tuple": [ - 112, - 412, - 383 - ] - }, - "docs": null - }, - "412": { - "path": null, + ], "def": { - "Array": { - "len": 9, - "type": 386 + "Variant": { + "variants": [ + { + "name": "VestingBalance", + "fields": null, + "index": 0, + "docs": [ + "Vesting balance too high to send value" + ] + }, + { + "name": "LiquidityRestrictions", + "fields": null, + "index": 1, + "docs": [ + "Account liquidity restrictions prevent withdrawal" + ] + }, + { + "name": "InsufficientBalance", + "fields": null, + "index": 2, + "docs": [ + "Balance too low to send value." + ] + }, + { + "name": "ExistentialDeposit", + "fields": null, + "index": 3, + "docs": [ + "Value too low to create account due to existential deposit" + ] + }, + { + "name": "KeepAlive", + "fields": null, + "index": 4, + "docs": [ + "Transfer/payment would kill account" + ] + }, + { + "name": "ExistingVestingSchedule", + "fields": null, + "index": 5, + "docs": [ + "A vesting schedule already exists for this account" + ] + }, + { + "name": "DeadAccount", + "fields": null, + "index": 6, + "docs": [ + "Beneficiary account must pre-exist" + ] + }, + { + "name": "TooManyReserves", + "fields": null, + "index": 7, + "docs": [ + "Number of named reserves exceed MaxReserves" + ] + } + ] } }, - "docs": null + "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" + ] }, - "413": { - "path": null, + "528": { + "path": [ + "sp_arithmetic", + "fixed_point", + "FixedU128" + ], "def": { - "Sequence": { - "type": 414 + "Composite": { + "fields": [ + { + "type": 6, + "typeName": "u128", + "docs": null + } + ] } }, "docs": null }, - "414": { - "path": null, + "529": { + "path": [ + "pallet_transaction_payment", + "Releases" + ], "def": { - "Tuple": [ - 112, - 415, - 383 - ] + "Variant": { + "variants": [ + { + "name": "V1Ancient", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "V2", + "fields": null, + "index": 1, + "docs": null + } + ] + } }, "docs": null }, - "415": { + "53": { "path": null, "def": { - "Array": { - "len": 10, - "type": 386 + "Compact": { + "type": 6 } }, "docs": null }, - "416": { - "path": null, + "530": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 531 + }, + { + "name": "S", + "type": 0 + } + ], "def": { - "Sequence": { - "type": 417 + "Composite": { + "fields": [ + { + "type": 532, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] } }, "docs": null }, - "417": { - "path": null, + "531": { + "path": [ + "pallet_authorship", + "UncleEntryItem" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Hash", + "type": 11 + }, + { + "name": "Author", + "type": 0 + } + ], "def": { - "Tuple": [ - 112, - 418, - 383 - ] + "Variant": { + "variants": [ + { + "name": "InclusionHeight", + "fields": [ + { + "type": 4, + "typeName": "BlockNumber", + "docs": null + } + ], + "index": 0, + "docs": null + }, + { + "name": "Uncle", + "fields": [ + { + "type": 11, + "typeName": "Hash", + "docs": null + }, + { + "type": 136, + "typeName": "Option\u003cAuthor\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } }, "docs": null }, - "418": { + "532": { "path": null, "def": { - "Array": { - "len": 11, - "type": 386 + "Sequence": { + "type": 531 } }, "docs": null }, - "419": { - "path": null, + "533": { + "path": [ + "pallet_authorship", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], "def": { - "Sequence": { - "type": 420 + "Variant": { + "variants": [ + { + "name": "InvalidUncleParent", + "fields": null, + "index": 0, + "docs": [ + "The uncle parent not in the chain." + ] + }, + { + "name": "UnclesAlreadySet", + "fields": null, + "index": 1, + "docs": [ + "Uncles already set in the block." + ] + }, + { + "name": "TooManyUncles", + "fields": null, + "index": 2, + "docs": [ + "Too many uncles." + ] + }, + { + "name": "GenesisUncle", + "fields": null, + "index": 3, + "docs": [ + "The uncle is genesis." + ] + }, + { + "name": "TooHighUncle", + "fields": null, + "index": 4, + "docs": [ + "The uncle is too high in chain." + ] + }, + { + "name": "UncleAlreadyIncluded", + "fields": null, + "index": 5, + "docs": [ + "The uncle is already included." + ] + }, + { + "name": "OldUncle", + "fields": null, + "index": 6, + "docs": [ + "The uncle isn't recent enough to be included." + ] + } + ] } }, - "docs": null + "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" + ] }, - "42": { + "534": { "path": [ "pallet_staking", - "Exposure" + "StakingLedger" ], "params": [ { - "name": "AccountId", + "name": "T", "type": 0 - }, - { - "name": "Balance", - "type": 6 } ], "def": { "Composite": { "fields": [ + { + "name": "stash", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, { "name": "total", - "type": 43, - "typeName": "Balance", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null }, { - "name": "own", - "type": 43, - "typeName": "Balance", + "name": "active", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null }, { - "name": "others", - "type": 44, - "typeName": "Vec\u003cIndividualExposure\u003cAccountId, Balance\u003e\u003e", + "name": "unlocking", + "type": 535, + "typeName": "BoundedVec\u003cUnlockChunk\u003cBalanceOf\u003cT\u003e\u003e, T::MaxUnlockingChunks\u003e", + "docs": null + }, + { + "name": "claimed_rewards", + "type": 538, + "typeName": "BoundedVec\u003cEraIndex, T::HistoryDepth\u003e", "docs": null } ] @@ -20209,325 +31132,393 @@ }, "docs": null }, - "420": { - "path": null, - "def": { - "Tuple": [ - 112, - 421, - 383 - ] - }, - "docs": null - }, - "421": { - "path": null, - "def": { - "Array": { - "len": 12, - "type": 386 - } - }, - "docs": null - }, - "422": { - "path": null, - "def": { - "Sequence": { - "type": 423 + "535": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 536 + }, + { + "name": "S", + "type": 0 } - }, - "docs": null - }, - "423": { - "path": null, - "def": { - "Tuple": [ - 112, - 424, - 383 - ] - }, - "docs": null - }, - "424": { - "path": null, + ], "def": { - "Array": { - "len": 13, - "type": 386 + "Composite": { + "fields": [ + { + "type": 537, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] } }, "docs": null }, - "425": { - "path": null, - "def": { - "Sequence": { - "type": 426 + "536": { + "path": [ + "pallet_staking", + "UnlockChunk" + ], + "params": [ + { + "name": "Balance", + "type": 6 } - }, - "docs": null - }, - "426": { - "path": null, - "def": { - "Tuple": [ - 112, - 427, - 383 - ] - }, - "docs": null - }, - "427": { - "path": null, + ], "def": { - "Array": { - "len": 14, - "type": 386 + "Composite": { + "fields": [ + { + "name": "value", + "type": 53, + "typeName": "Balance", + "docs": null + }, + { + "name": "era", + "type": 82, + "typeName": "EraIndex", + "docs": null + } + ] } }, "docs": null }, - "428": { + "537": { "path": null, "def": { "Sequence": { - "type": 429 + "type": 536 } }, "docs": null }, - "429": { - "path": null, - "def": { - "Tuple": [ - 112, - 430, - 383 - ] - }, - "docs": null - }, - "43": { - "path": null, - "def": { - "Compact": { - "type": 6 + "538": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "S", + "type": 0 } - }, - "docs": null - }, - "430": { - "path": null, + ], "def": { - "Array": { - "len": 15, - "type": 386 + "Composite": { + "fields": [ + { + "type": 102, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] } }, "docs": null }, - "431": { - "path": null, - "def": { - "Sequence": { - "type": 432 + "539": { + "path": [ + "pallet_staking", + "Nominations" + ], + "params": [ + { + "name": "T", + "type": 0 } - }, - "docs": null - }, - "432": { - "path": null, - "def": { - "Tuple": [ - 112, - 433, - 383 - ] - }, - "docs": null - }, - "433": { - "path": null, + ], "def": { - "Array": { - "len": 16, - "type": 386 + "Composite": { + "fields": [ + { + "name": "targets", + "type": 540, + "typeName": "BoundedVec\u003cT::AccountId, T::MaxNominations\u003e", + "docs": null + }, + { + "name": "submitted_in", + "type": 4, + "typeName": "EraIndex", + "docs": null + }, + { + "name": "suppressed", + "type": 37, + "typeName": "bool", + "docs": null + } + ] } }, "docs": null }, - "434": { + "54": { "path": null, "def": { "Sequence": { - "type": 435 - } - }, - "docs": null - }, - "435": { - "path": null, - "def": { - "Tuple": [ - 112, - 436, - 383 - ] - }, - "docs": null - }, - "436": { - "path": null, - "def": { - "Array": { - "len": 17, - "type": 386 + "type": 55 } }, "docs": null }, - "437": { - "path": null, - "def": { - "Sequence": { - "type": 438 + "540": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": 0 } - }, - "docs": null - }, - "438": { - "path": null, - "def": { - "Tuple": [ - 112, - 439, - 383 - ] - }, - "docs": null - }, - "439": { - "path": null, + ], "def": { - "Array": { - "len": 18, - "type": 386 + "Composite": { + "fields": [ + { + "type": 101, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] } }, "docs": null }, - "44": { - "path": null, + "541": { + "path": [ + "pallet_staking", + "ActiveEraInfo" + ], "def": { - "Sequence": { - "type": 45 + "Composite": { + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "EraIndex", + "docs": null + }, + { + "name": "start", + "type": 542, + "typeName": "Option\u003cu64\u003e", + "docs": null + } + ] } }, "docs": null }, - "440": { - "path": null, + "542": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 10 + } + ], "def": { - "Sequence": { - "type": 441 + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Some", + "fields": [ + { + "type": 10, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] } }, "docs": null }, - "441": { + "543": { "path": null, "def": { "Tuple": [ - 112, - 442, - 383 + 4, + 0 ] }, "docs": null }, - "442": { - "path": null, - "def": { - "Array": { - "len": 19, - "type": 386 + "544": { + "path": [ + "pallet_staking", + "EraRewardPoints" + ], + "params": [ + { + "name": "AccountId", + "type": 0 } - }, - "docs": null - }, - "443": { - "path": null, + ], "def": { - "Sequence": { - "type": 444 + "Composite": { + "fields": [ + { + "name": "total", + "type": 4, + "typeName": "RewardPoint", + "docs": null + }, + { + "name": "individual", + "type": 545, + "typeName": "BTreeMap\u003cAccountId, RewardPoint\u003e", + "docs": null + } + ] } }, "docs": null }, - "444": { - "path": null, - "def": { - "Tuple": [ - 112, - 445, - 383 - ] - }, - "docs": null - }, - "445": { - "path": null, + "545": { + "path": [ + "BTreeMap" + ], + "params": [ + { + "name": "K", + "type": 0 + }, + { + "name": "V", + "type": 4 + } + ], "def": { - "Array": { - "len": 20, - "type": 386 + "Composite": { + "fields": [ + { + "type": 546, + "typeName": "", + "docs": null + } + ] } }, "docs": null }, - "446": { + "546": { "path": null, "def": { "Sequence": { - "type": 447 + "type": 547 } }, "docs": null }, - "447": { + "547": { "path": null, "def": { "Tuple": [ - 112, - 448, - 383 + 0, + 4 ] }, "docs": null }, - "448": { + "548": { "path": null, "def": { - "Array": { - "len": 21, - "type": 386 + "Sequence": { + "type": 549 } }, "docs": null }, - "449": { - "path": null, + "549": { + "path": [ + "pallet_staking", + "UnappliedSlash" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], "def": { - "Sequence": { - "type": 450 + "Composite": { + "fields": [ + { + "name": "validator", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "own", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "others", + "type": 65, + "typeName": "Vec\u003c(AccountId, Balance)\u003e", + "docs": null + }, + { + "name": "reporters", + "type": 101, + "typeName": "Vec\u003cAccountId\u003e", + "docs": null + }, + { + "name": "payout", + "type": 6, + "typeName": "Balance", + "docs": null + } + ] } }, "docs": null }, - "45": { + "55": { "path": [ "pallet_staking", "IndividualExposure" @@ -20553,7 +31544,7 @@ }, { "name": "value", - "type": 43, + "type": 53, "typeName": "Balance", "docs": null } @@ -20562,121 +31553,361 @@ }, "docs": null }, - "450": { + "550": { "path": null, "def": { "Tuple": [ - 112, - 451, - 383 + 34, + 6 ] }, "docs": null }, - "451": { - "path": null, + "551": { + "path": [ + "pallet_staking", + "slashing", + "SlashingSpans" + ], "def": { - "Array": { - "len": 22, - "type": 386 + "Composite": { + "fields": [ + { + "name": "span_index", + "type": 4, + "typeName": "SpanIndex", + "docs": null + }, + { + "name": "last_start", + "type": 4, + "typeName": "EraIndex", + "docs": null + }, + { + "name": "last_nonzero_slash", + "type": 4, + "typeName": "EraIndex", + "docs": null + }, + { + "name": "prior", + "type": 102, + "typeName": "Vec\u003cEraIndex\u003e", + "docs": null + } + ] } }, "docs": null }, - "452": { - "path": null, - "def": { - "Sequence": { - "type": 453 + "552": { + "path": [ + "pallet_staking", + "slashing", + "SpanRecord" + ], + "params": [ + { + "name": "Balance", + "type": 6 } - }, - "docs": null - }, - "453": { - "path": null, + ], "def": { - "Tuple": [ - 112, - 454, - 383 - ] + "Composite": { + "fields": [ + { + "name": "slashed", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "paid_out", + "type": 6, + "typeName": "Balance", + "docs": null + } + ] + } }, "docs": null }, - "454": { + "553": { "path": null, "def": { - "Array": { - "len": 23, - "type": 386 + "Sequence": { + "type": 554 } }, "docs": null }, - "455": { + "554": { "path": null, "def": { - "Array": { - "len": 3, - "type": 6 - } + "Tuple": [ + 4, + 37 + ] }, "docs": null }, - "456": { + "555": { "path": [ - "pallet_election_provider_multi_phase", - "SolutionOrSnapshotSize" + "pallet_staking", + "pallet", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "voters", - "type": 112, - "typeName": "u32", - "docs": null + "name": "NotController", + "fields": null, + "index": 0, + "docs": [ + "Not a controller account." + ] }, { - "name": "targets", - "type": 112, - "typeName": "u32", - "docs": null + "name": "NotStash", + "fields": null, + "index": 1, + "docs": [ + "Not a stash account." + ] + }, + { + "name": "AlreadyBonded", + "fields": null, + "index": 2, + "docs": [ + "Stash is already bonded." + ] + }, + { + "name": "AlreadyPaired", + "fields": null, + "index": 3, + "docs": [ + "Controller is already paired." + ] + }, + { + "name": "EmptyTargets", + "fields": null, + "index": 4, + "docs": [ + "Targets cannot be empty." + ] + }, + { + "name": "DuplicateIndex", + "fields": null, + "index": 5, + "docs": [ + "Duplicate index." + ] + }, + { + "name": "InvalidSlashIndex", + "fields": null, + "index": 6, + "docs": [ + "Slash record index out of bounds." + ] + }, + { + "name": "InsufficientBond", + "fields": null, + "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", + "fields": null, + "index": 8, + "docs": [ + "Can not schedule more unlock chunks." + ] + }, + { + "name": "NoUnlockChunk", + "fields": null, + "index": 9, + "docs": [ + "Can not rebond without unlocking chunks." + ] + }, + { + "name": "FundedTarget", + "fields": null, + "index": 10, + "docs": [ + "Attempting to target a stash that still has funds." + ] + }, + { + "name": "InvalidEraToReward", + "fields": null, + "index": 11, + "docs": [ + "Invalid era to reward." + ] + }, + { + "name": "InvalidNumberOfNominations", + "fields": null, + "index": 12, + "docs": [ + "Invalid number of nominations." + ] + }, + { + "name": "NotSortedAndUnique", + "fields": null, + "index": 13, + "docs": [ + "Items are not sorted and unique." + ] + }, + { + "name": "AlreadyClaimed", + "fields": null, + "index": 14, + "docs": [ + "Rewards for this era have already been claimed for this validator." + ] + }, + { + "name": "IncorrectHistoryDepth", + "fields": null, + "index": 15, + "docs": [ + "Incorrect previous history depth input provided." + ] + }, + { + "name": "IncorrectSlashingSpans", + "fields": null, + "index": 16, + "docs": [ + "Incorrect number of slashing spans provided." + ] + }, + { + "name": "BadState", + "fields": null, + "index": 17, + "docs": [ + "Internal state has become somehow corrupted and the operation cannot continue." + ] + }, + { + "name": "TooManyTargets", + "fields": null, + "index": 18, + "docs": [ + "Too many nomination targets supplied." + ] + }, + { + "name": "BadTarget", + "fields": null, + "index": 19, + "docs": [ + "A nomination target was supplied that was blocked or otherwise not a validator." + ] + }, + { + "name": "CannotChillOther", + "fields": null, + "index": 20, + "docs": [ + "The user has enough bond and thus cannot be chilled forcefully by an external person." + ] + }, + { + "name": "TooManyNominators", + "fields": null, + "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", + "fields": null, + "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", + "fields": null, + "index": 23, + "docs": [ + "Commission is too low. Must be at least `MinCommission`." + ] + }, + { + "name": "BoundNotMet", + "fields": null, + "index": 24, + "docs": [ + "Some bound is not met." + ] } ] } }, - "docs": null + "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" + ] }, - "457": { + "556": { "path": [ - "Option" + "sp_staking", + "offence", + "OffenceDetails" ], "params": [ { - "name": "T", - "type": 455 + "name": "Reporter", + "type": 0 + }, + { + "name": "Offender", + "type": 51 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "None", - "fields": null, - "index": 0, + "name": "offender", + "type": 51, + "typeName": "Offender", "docs": null }, { - "name": "Some", - "fields": [ - { - "type": 455, - "typeName": "", - "docs": null - } - ], - "index": 1, + "name": "reporters", + "type": 101, + "typeName": "Vec\u003cReporter\u003e", "docs": null } ] @@ -20684,26 +31915,36 @@ }, "docs": null }, - "458": { + "557": { + "path": null, + "def": { + "Tuple": [ + 40, + 12 + ] + }, + "docs": null + }, + "558": { "path": null, "def": { "Sequence": { - "type": 459 + "type": 559 } }, "docs": null }, - "459": { + "559": { "path": null, "def": { "Tuple": [ 0, - 460 + 108 ] }, "docs": null }, - "46": { + "56": { "path": [ "pallet_democracy", "pallet", @@ -20753,12 +31994,6 @@ "type": 6, "typeName": "BalanceOf\u003cT\u003e", "docs": null - }, - { - "name": "depositors", - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", - "docs": null } ], "index": 1, @@ -20785,7 +32020,7 @@ }, { "name": "threshold", - "type": 48, + "type": 57, "typeName": "VoteThreshold", "docs": null } @@ -20840,27 +32075,6 @@ "A referendum has been cancelled." ] }, - { - "name": "Executed", - "fields": [ - { - "name": "ref_index", - "type": 4, - "typeName": "ReferendumIndex", - "docs": null - }, - { - "name": "result", - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], - "index": 7, - "docs": [ - "A proposal has been enacted." - ] - }, { "name": "Delegated", "fields": [ @@ -20877,7 +32091,7 @@ "docs": null } ], - "index": 8, + "index": 7, "docs": [ "An account has delegated their vote to another account." ] @@ -20892,7 +32106,7 @@ "docs": null } ], - "index": 9, + "index": 8, "docs": [ "An account has cancelled a previous delegation operation." ] @@ -20908,8 +32122,8 @@ }, { "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", + "type": 11, + "typeName": "H256", "docs": null }, { @@ -20919,337 +32133,118 @@ "docs": null } ], - "index": 10, + "index": 9, "docs": [ "An external proposal has been vetoed." ] }, { - "name": "PreimageNoted", + "name": "Blacklisted", "fields": [ { "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 11, + "typeName": "H256", "docs": null } ], - "index": 11, + "index": 10, "docs": [ - "A proposal's preimage was noted, and the deposit taken." + "A proposal_hash has been blacklisted permanently." ] }, { - "name": "PreimageUsed", + "name": "Voted", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "provider", + "name": "voter", "type": 0, "typeName": "T::AccountId", "docs": null }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 12, - "docs": [ - "A proposal preimage was removed and used (the deposit was returned)." - ] - }, - { - "name": "PreimageInvalid", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, { "name": "ref_index", "type": 4, "typeName": "ReferendumIndex", "docs": null - } - ], - "index": 13, - "docs": [ - "A proposal could not be executed because its preimage was invalid." - ] - }, - { - "name": "PreimageMissing", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null }, { - "name": "ref_index", - "type": 4, - "typeName": "ReferendumIndex", + "name": "vote", + "type": 58, + "typeName": "AccountVote\u003cBalanceOf\u003cT\u003e\u003e", "docs": null } ], - "index": 14, + "index": 11, "docs": [ - "A proposal could not be executed because its preimage was missing." + "An account has voted in a referendum" ] }, { - "name": "PreimageReaped", + "name": "Seconded", "fields": [ { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "provider", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "reaper", + "name": "seconder", "type": 0, "typeName": "T::AccountId", "docs": null - } - ], - "index": 15, - "docs": [ - "A registered preimage was removed and the deposit collected by the reaper." - ] - }, - { - "name": "Blacklisted", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - } - ], - "index": 16, - "docs": [ - "A proposal_hash has been blacklisted permanently." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "460": { - "path": [ - "sp_npos_elections", - "Support" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "total", - "type": 6, - "typeName": "ExtendedBalance", - "docs": null - }, - { - "name": "voters", - "type": 55, - "typeName": "Vec\u003c(AccountId, ExtendedBalance)\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "461": { - "path": [ - "pallet_gilt", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "place_bid", - "fields": [ - { - "name": "amount", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null }, { - "name": "duration", + "name": "prop_index", "type": 4, - "typeName": "u32", + "typeName": "PropIndex", "docs": null } ], - "index": 0, + "index": 12, "docs": [ - "Place a bid for a gilt to be issued.", - "", - "Origin must be Signed, and account must have at least `amount` in free balance.", - "", - "- `amount`: The amount of the bid; these funds will be reserved. If the bid is", - "successfully elevated into an issued gilt, then these funds will continue to be", - "reserved until the gilt expires. Must be at least `MinFreeze`.", - "- `duration`: The number of periods for which the funds will be locked if the gilt is", - "issued. It will expire only after this period has elapsed after the point of issuance.", - "Must be greater than 1 and no more than `QueueCount`.", - "", - "Complexities:", - "- `Queues[duration].len()` (just take max)." + "An account has secconded a proposal" ] }, { - "name": "retract_bid", + "name": "ProposalCanceled", "fields": [ { - "name": "amount", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "duration", + "name": "prop_index", "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 1, - "docs": [ - "Retract a previously placed bid.", - "", - "Origin must be Signed, and the account should have previously issued a still-active bid", - "of `amount` for `duration`.", - "", - "- `amount`: The amount of the previous bid.", - "- `duration`: The duration of the previous bid." - ] - }, - { - "name": "set_target", - "fields": [ - { - "name": "target", - "type": 462, - "typeName": "Perquintill", - "docs": null - } - ], - "index": 2, - "docs": [ - "Set target proportion of gilt-funds.", - "", - "Origin must be `AdminOrigin`.", - "", - "- `target`: The target proportion of effective issued funds that should be under gilts", - "at any one time." - ] - }, - { - "name": "thaw", - "fields": [ - { - "name": "index", - "type": 112, - "typeName": "ActiveIndex", + "typeName": "PropIndex", "docs": null } ], - "index": 3, + "index": 13, "docs": [ - "Remove an active but expired gilt. Reserved funds under gilt are freed and balance is", - "adjusted to ensure that the funds grow or shrink to maintain the equivalent proportion", - "of effective total issued funds.", - "", - "Origin must be Signed and the account must be the owner of the gilt of the given index.", - "", - "- `index`: The index of the gilt to be thawed." + "A proposal got canceled." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "462": { + "560": { "path": null, "def": { - "Compact": { - "type": 463 - } + "Tuple": [ + 561, + 12 + ] }, "docs": null }, - "463": { + "561": { "path": [ - "sp_arithmetic", - "per_things", - "Perquintill" + "sp_core", + "crypto", + "KeyTypeId" ], "def": { "Composite": { "fields": [ { - "type": 8, - "typeName": "u64", + "type": 16, + "typeName": "[u8; 4]", "docs": null } ] @@ -21257,56 +32252,11 @@ }, "docs": null }, - "464": { - "path": [ - "pallet_bags_list", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "rebag", - "fields": [ - { - "name": "dislocated", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 0, - "docs": [ - "Declare that some `dislocated` account has, through rewards or penalties, sufficiently", - "changed its weight that it should properly fall into a different bag than its current", - "one.", - "", - "Anyone can call this function about any potentially dislocated account.", - "", - "Will never return an error; if `dislocated` does not exist or doesn't need a rebag, then", - "it is a noop and fees are still collected from `origin`." - ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "465": { + "562": { "path": [ - "polkadot_runtime_parachains", - "configuration", + "pallet_session", "pallet", - "Call" + "Error" ], "params": [ { @@ -21314,687 +32264,854 @@ "type": 0 } ], - "def": { - "Variant": { - "variants": [ - { - "name": "set_validation_upgrade_frequency", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 0, - "docs": [ - "Set the validation upgrade frequency." - ] - }, - { - "name": "set_validation_upgrade_delay", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 1, - "docs": [ - "Set the validation upgrade delay." - ] - }, - { - "name": "set_code_retention_period", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 2, - "docs": [ - "Set the acceptance period for an included candidate." - ] - }, - { - "name": "set_max_code_size", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 3, - "docs": [ - "Set the max validation code size for incoming upgrades." - ] - }, - { - "name": "set_max_pov_size", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "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", - "docs": null - } - ], - "index": 5, - "docs": [ - "Set the max head data size for paras." - ] - }, - { - "name": "set_parathread_cores", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 6, - "docs": [ - "Set the number of parathread execution cores." - ] - }, - { - "name": "set_parathread_retries", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "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", - "docs": null - } - ], - "index": 8, - "docs": [ - "Set the parachain validator-group rotation frequency" - ] - }, + "def": { + "Variant": { + "variants": [ { - "name": "set_chain_availability_period", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 9, + "name": "InvalidProof", + "fields": null, + "index": 0, "docs": [ - "Set the availability period for parachains." + "Invalid ownership proof." ] }, { - "name": "set_thread_availability_period", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 10, + "name": "NoAssociatedValidatorId", + "fields": null, + "index": 1, "docs": [ - "Set the availability period for parathreads." + "No associated validator ID for account." ] }, { - "name": "set_scheduling_lookahead", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 11, + "name": "DuplicatedKey", + "fields": null, + "index": 2, "docs": [ - "Set the scheduling lookahead, in expected number of blocks at peak throughput." + "Registered duplicate key." ] }, { - "name": "set_max_validators_per_core", - "fields": [ - { - "name": "new", - "type": 235, - "typeName": "Option\u003cu32\u003e", - "docs": null - } - ], - "index": 12, + "name": "NoKeys", + "fields": null, + "index": 3, "docs": [ - "Set the maximum number of validators to assign to any core." + "No keys are associated with this account." ] }, { - "name": "set_max_validators", - "fields": [ - { - "name": "new", - "type": 235, - "typeName": "Option\u003cu32\u003e", - "docs": null - } - ], - "index": 13, + "name": "NoAccount", + "fields": null, + "index": 4, "docs": [ - "Set the maximum number of validators to use in parachain consensus." + "Key setting account is not live, so it's impossible to associate keys." ] + } + ] + } + }, + "docs": [ + "Error for the session pallet." + ] + }, + "563": { + "path": [ + "pallet_grandpa", + "StoredState" + ], + "params": [ + { + "name": "N", + "type": 4 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Live", + "fields": null, + "index": 0, + "docs": null }, { - "name": "set_dispute_period", + "name": "PendingPause", "fields": [ { - "name": "new", + "name": "scheduled_at", "type": 4, - "typeName": "SessionIndex", + "typeName": "N", "docs": null - } - ], - "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", + "name": "delay", "type": 4, - "typeName": "T::BlockNumber", + "typeName": "N", "docs": null } ], - "index": 15, - "docs": [ - "Set the dispute post conclusion acceptance period." - ] + "index": 1, + "docs": null + }, + { + "name": "Paused", + "fields": null, + "index": 2, + "docs": null }, { - "name": "set_dispute_max_spam_slots", + "name": "PendingResume", "fields": [ { - "name": "new", + "name": "scheduled_at", "type": 4, - "typeName": "u32", + "typeName": "N", "docs": null - } - ], - "index": 16, - "docs": [ - "Set the maximum number of dispute spam slots." - ] - }, - { - "name": "set_dispute_conclusion_by_time_out_period", - "fields": [ + }, { - "name": "new", + "name": "delay", "type": 4, - "typeName": "T::BlockNumber", + "typeName": "N", "docs": null } ], - "index": 17, + "index": 3, + "docs": null + } + ] + } + }, + "docs": null + }, + "564": { + "path": [ + "pallet_grandpa", + "StoredPendingChange" + ], + "params": [ + { + "name": "N", + "type": 4 + }, + { + "name": "Limit", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "scheduled_at", + "type": 4, + "typeName": "N", + "docs": null + }, + { + "name": "delay", + "type": 4, + "typeName": "N", + "docs": null + }, + { + "name": "next_authorities", + "type": 565, + "typeName": "BoundedAuthorityList\u003cLimit\u003e", + "docs": null + }, + { + "name": "forced", + "type": 134, + "typeName": "Option\u003cN\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "565": { + "path": [ + "sp_core", + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 44 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 43, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "566": { + "path": [ + "pallet_grandpa", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "PauseFailed", + "fields": null, + "index": 0, "docs": [ - "Set the dispute conclusion by time out period." + "Attempt to signal GRANDPA pause when the authority set isn't live", + "(either paused or already pending pause)." ] }, { - "name": "set_no_show_slots", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 18, + "name": "ResumeFailed", + "fields": null, + "index": 1, "docs": [ - "Set the no show slots, in number of number of consensus slots.", - "Must be at least 1." + "Attempt to signal GRANDPA resume when the authority set isn't paused", + "(either live or already pending resume)." ] }, { - "name": "set_n_delay_tranches", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 19, + "name": "ChangePending", + "fields": null, + "index": 2, "docs": [ - "Set the total number of delay tranches." + "Attempt to signal GRANDPA change with one already pending." ] }, { - "name": "set_zeroth_delay_tranche_width", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 20, + "name": "TooSoon", + "fields": null, + "index": 3, "docs": [ - "Set the zeroth delay tranche width." + "Cannot signal forced change so soon after last." ] }, { - "name": "set_needed_approvals", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 21, + "name": "InvalidKeyOwnershipProof", + "fields": null, + "index": 4, "docs": [ - "Set the number of validators needed to approve a block." + "A key ownership proof provided as part of an equivocation report is invalid." ] }, { - "name": "set_relay_vrf_modulo_samples", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 22, + "name": "InvalidEquivocationProof", + "fields": null, + "index": 5, "docs": [ - "Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion." + "An equivocation proof provided as part of an equivocation report is invalid." ] }, { - "name": "set_max_upward_queue_count", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 23, + "name": "DuplicateOffenceReport", + "fields": null, + "index": 6, "docs": [ - "Sets the maximum items that can present in a upward dispatch queue at once." + "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" + ] + }, + "567": { + "path": [ + "sp_core", + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 48 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 568, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "568": { + "path": null, + "def": { + "Sequence": { + "type": 48 + } + }, + "docs": null + }, + "569": { + "path": [ + "frame_support", + "traits", + "misc", + "WrapperOpaque" + ], + "params": [ + { + "name": "T", + "type": 570 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 82, + "typeName": "", + "docs": null + }, + { + "type": 570, + "typeName": "T", + "docs": null + } + ] + } + }, + "docs": null + }, + "57": { + "path": [ + "pallet_democracy", + "vote_threshold", + "VoteThreshold" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "SuperMajorityApprove", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "SuperMajorityAgainst", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "SimpleMajority", + "fields": null, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "570": { + "path": [ + "pallet_im_online", + "BoundedOpaqueNetworkState" + ], + "params": [ + { + "name": "PeerIdEncodingLimit", + "type": 0 + }, + { + "name": "MultiAddrEncodingLimit", + "type": 0 + }, + { + "name": "AddressesLimit", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "peer_id", + "type": 571, + "typeName": "WeakBoundedVec\u003cu8, PeerIdEncodingLimit\u003e", + "docs": null }, { - "name": "set_max_upward_queue_size", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 24, - "docs": [ - "Sets the maximum total size of items that can present in a upward dispatch queue at once." - ] - }, + "name": "external_addresses", + "type": 572, + "typeName": "WeakBoundedVec\u003cWeakBoundedVec\u003cu8, MultiAddrEncodingLimit\u003e, AddressesLimit\n\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "571": { + "path": [ + "sp_core", + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 12, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "572": { + "path": [ + "sp_core", + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "params": [ + { + "name": "T", + "type": 571 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 573, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "573": { + "path": null, + "def": { + "Sequence": { + "type": 571 + } + }, + "docs": null + }, + "574": { + "path": [ + "pallet_im_online", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "set_max_downward_message_size", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 25, + "name": "InvalidKey", + "fields": null, + "index": 0, "docs": [ - "Set the critical downward message size." + "Non existent public key." ] }, { - "name": "set_ump_service_total_weight", - "fields": [ - { - "name": "new", - "type": 8, - "typeName": "Weight", - "docs": null - } - ], - "index": 26, + "name": "DuplicatedHeartbeat", + "fields": null, + "index": 1, "docs": [ - "Sets the soft limit for the phase of dispatching dispatchable upward messages." + "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" + ] + }, + "575": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 576 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "set_max_upward_message_size", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 27, - "docs": [ - "Sets the maximum size of an upward message that can be sent by a candidate." - ] - }, + "type": 577, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "576": { + "path": null, + "def": { + "Tuple": [ + 4, + 72, + 0 + ] + }, + "docs": null + }, + "577": { + "path": null, + "def": { + "Sequence": { + "type": 576 + } + }, + "docs": null + }, + "578": { + "path": null, + "def": { + "Tuple": [ + 579, + 6 + ] + }, + "docs": null + }, + "579": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "set_max_upward_message_num_per_candidate", - "fields": [ - { - "name": "new", - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 28, - "docs": [ - "Sets the maximum number of messages that a candidate can contain." - ] - }, + "type": 101, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "58": { + "path": [ + "pallet_democracy", + "vote", + "AccountVote" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "set_hrmp_open_request_ttl", + "name": "Standard", "fields": [ { - "name": "new", - "type": 4, - "typeName": "u32", + "name": "vote", + "type": 59, + "typeName": "Vote", "docs": null - } - ], - "index": 29, - "docs": [ - "Sets the number of sessions after which an HRMP open channel request expires." - ] - }, - { - "name": "set_hrmp_sender_deposit", - "fields": [ + }, { - "name": "new", + "name": "balance", "type": 6, "typeName": "Balance", "docs": null } ], - "index": 30, - "docs": [ - "Sets the amount of funds that the sender should provide for opening an HRMP channel." - ] + "index": 0, + "docs": null }, { - "name": "set_hrmp_recipient_deposit", + "name": "Split", "fields": [ { - "name": "new", + "name": "aye", "type": 6, "typeName": "Balance", "docs": null - } - ], - "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", - "docs": null - } - ], - "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", - "docs": null - } - ], - "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", - "docs": null - } - ], - "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", - "docs": null - } - ], - "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", + "name": "nay", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 36, - "docs": [ - "Sets the maximum size of a message that could ever be put into an HRMP channel." - ] - }, + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "580": { + "path": [ + "pallet_democracy", + "types", + "ReferendumInfo" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Proposal", + "type": 72 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "set_hrmp_max_parachain_outbound_channels", + "name": "Ongoing", "fields": [ { - "name": "new", - "type": 4, - "typeName": "u32", + "type": 581, + "typeName": "ReferendumStatus\u003cBlockNumber, Proposal, Balance\u003e", "docs": null } ], - "index": 37, - "docs": [ - "Sets the maximum number of outbound HRMP channels a parachain is allowed to open." - ] + "index": 0, + "docs": null }, { - "name": "set_hrmp_max_parathread_outbound_channels", + "name": "Finished", "fields": [ { - "name": "new", - "type": 4, - "typeName": "u32", + "name": "approved", + "type": 37, + "typeName": "bool", "docs": null - } - ], - "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", + "name": "end", "type": 4, - "typeName": "u32", - "docs": null - } - ], - "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": 8, - "typeName": "Weight", + "typeName": "BlockNumber", "docs": null } ], - "index": 40, - "docs": [ - "Sets the maximum amount of weight any individual upward message may consume." - ] + "index": 1, + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "466": { + "581": { "path": [ - "polkadot_runtime_parachains", - "shared", - "pallet", - "Call" + "pallet_democracy", + "types", + "ReferendumStatus" ], "params": [ { - "name": "T", - "type": 0 + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Proposal", + "type": 72 + }, + { + "name": "Balance", + "type": 6 } ], "def": { - "Variant": { - "variants": null + "Composite": { + "fields": [ + { + "name": "end", + "type": 4, + "typeName": "BlockNumber", + "docs": null + }, + { + "name": "proposal", + "type": 72, + "typeName": "Proposal", + "docs": null + }, + { + "name": "threshold", + "type": 57, + "typeName": "VoteThreshold", + "docs": null + }, + { + "name": "delay", + "type": 4, + "typeName": "BlockNumber", + "docs": null + }, + { + "name": "tally", + "type": 582, + "typeName": "Tally\u003cBalance\u003e", + "docs": null + } + ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "467": { + "582": { "path": [ - "polkadot_runtime_parachains", - "inclusion", - "pallet", - "Call" + "pallet_democracy", + "types", + "Tally" ], "params": [ { - "name": "T", - "type": 0 + "name": "Balance", + "type": 6 } ], "def": { - "Variant": { - "variants": null + "Composite": { + "fields": [ + { + "name": "ayes", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "nays", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "turnout", + "type": 6, + "typeName": "Balance", + "docs": null + } + ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "468": { + "583": { "path": [ - "polkadot_runtime_parachains", - "paras_inherent", - "pallet", - "Call" + "pallet_democracy", + "vote", + "Voting" ], "params": [ { - "name": "T", + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "MaxVotes", "type": 0 } ], @@ -22002,64 +33119,95 @@ "Variant": { "variants": [ { - "name": "enter", + "name": "Direct", "fields": [ { - "name": "data", - "type": 469, - "typeName": "ParachainsInherentData\u003cT::Header\u003e", + "name": "votes", + "type": 584, + "typeName": "BoundedVec\u003c(ReferendumIndex, AccountVote\u003cBalance\u003e), MaxVotes\u003e", + "docs": null + }, + { + "name": "delegations", + "type": 587, + "typeName": "Delegations\u003cBalance\u003e", + "docs": null + }, + { + "name": "prior", + "type": 588, + "typeName": "PriorLock\u003cBlockNumber, Balance\u003e", "docs": null } ], "index": 0, - "docs": [ - "Enter the paras inherent. This will process bitfields and backed candidates." - ] + "docs": null + }, + { + "name": "Delegating", + "fields": [ + { + "name": "balance", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "target", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "conviction", + "type": 133, + "typeName": "Conviction", + "docs": null + }, + { + "name": "delegations", + "type": 587, + "typeName": "Delegations\u003cBalance\u003e", + "docs": null + }, + { + "name": "prior", + "type": 588, + "typeName": "PriorLock\u003cBlockNumber, Balance\u003e", + "docs": null + } + ], + "index": 1, + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "469": { + "584": { "path": [ - "polkadot_primitives", - "v1", - "InherentData" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "HDR", - "type": 179 + "name": "T", + "type": 585 + }, + { + "name": "S", + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "bitfields", - "type": 470, - "typeName": "UncheckedSignedAvailabilityBitfields", - "docs": null - }, - { - "name": "backed_candidates", - "type": 477, - "typeName": "Vec\u003cBackedCandidate\u003cHDR::Hash\u003e\u003e", - "docs": null - }, - { - "name": "disputes", - "type": 487, - "typeName": "MultiDisputeStatementSet", - "docs": null - }, - { - "name": "parent_header", - "type": 179, - "typeName": "HDR", + "type": 586, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -22067,60 +33215,50 @@ }, "docs": null }, - "47": { + "585": { "path": null, "def": { - "Sequence": { - "type": 0 - } + "Tuple": [ + 4, + 58 + ] }, "docs": null }, - "470": { + "586": { "path": null, "def": { "Sequence": { - "type": 471 + "type": 585 } }, "docs": null }, - "471": { + "587": { "path": [ - "polkadot_primitives", - "v1", - "signed", - "UncheckedSigned" + "pallet_democracy", + "types", + "Delegations" ], "params": [ { - "name": "Payload", - "type": 472 - }, - { - "name": "RealPayload", - "type": 472 + "name": "Balance", + "type": 6 } ], "def": { "Composite": { "fields": [ { - "name": "payload", - "type": 472, - "typeName": "Payload", - "docs": null - }, - { - "name": "validator_index", - "type": 475, - "typeName": "ValidatorIndex", + "name": "votes", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "signature", - "type": 476, - "typeName": "ValidatorSignature", + "name": "capital", + "type": 6, + "typeName": "Balance", "docs": null } ] @@ -22128,18 +33266,33 @@ }, "docs": null }, - "472": { + "588": { "path": [ - "polkadot_primitives", - "v1", - "AvailabilityBitfield" + "pallet_democracy", + "vote", + "PriorLock" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + } ], "def": { "Composite": { "fields": [ { - "type": 473, - "typeName": "BitVec\u003cbitvec::order::Lsb0, u8\u003e", + "type": 4, + "typeName": "BlockNumber", + "docs": null + }, + { + "type": 6, + "typeName": "Balance", "docs": null } ] @@ -22147,61 +33300,28 @@ }, "docs": null }, - "473": { + "589": { "path": null, "def": { - "BitSequence": { - "bitStoreType": 2, - "bitOrderType": 474 - } - }, - "docs": null - }, - "474": { - "path": [ - "bitvec", - "order", - "Lsb0" - ], - "def": { - "Composite": { - "fields": null - } - }, - "docs": null - }, - "475": { - "path": [ - "polkadot_primitives", - "v0", - "ValidatorIndex" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 4, - "typeName": "u32", - "docs": null - } - ] - } + "Tuple": [ + 72, + 57 + ] }, "docs": null }, - "476": { + "59": { "path": [ - "polkadot_primitives", - "v0", - "validator_app", - "Signature" + "pallet_democracy", + "vote", + "Vote" ], "def": { "Composite": { "fields": [ { - "type": 88, - "typeName": "sr25519::Signature", + "type": 2, + "typeName": "", "docs": null } ] @@ -22209,110 +33329,246 @@ }, "docs": null }, - "477": { + "590": { "path": null, "def": { - "Sequence": { - "type": 478 - } + "Tuple": [ + 4, + 579 + ] }, "docs": null }, - "478": { + "591": { "path": [ - "polkadot_primitives", - "v1", - "BackedCandidate" + "pallet_democracy", + "pallet", + "Error" ], "params": [ { - "name": "H", - "type": 9 + "name": "T", + "type": 0 } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "candidate", - "type": 479, - "typeName": "CommittedCandidateReceipt\u003cH\u003e", - "docs": null + "name": "ValueLow", + "fields": null, + "index": 0, + "docs": [ + "Value too low" + ] }, { - "name": "validity_votes", - "type": 485, - "typeName": "Vec\u003cValidityAttestation\u003e", - "docs": null + "name": "ProposalMissing", + "fields": null, + "index": 1, + "docs": [ + "Proposal does not exist" + ] }, { - "name": "validator_indices", - "type": 473, - "typeName": "BitVec\u003cbitvec::order::Lsb0, u8\u003e", - "docs": null + "name": "AlreadyCanceled", + "fields": null, + "index": 2, + "docs": [ + "Cannot cancel the same proposal twice" + ] + }, + { + "name": "DuplicateProposal", + "fields": null, + "index": 3, + "docs": [ + "Proposal already made" + ] + }, + { + "name": "ProposalBlacklisted", + "fields": null, + "index": 4, + "docs": [ + "Proposal still blacklisted" + ] + }, + { + "name": "NotSimpleMajority", + "fields": null, + "index": 5, + "docs": [ + "Next external proposal not simple majority" + ] + }, + { + "name": "InvalidHash", + "fields": null, + "index": 6, + "docs": [ + "Invalid hash" + ] + }, + { + "name": "NoProposal", + "fields": null, + "index": 7, + "docs": [ + "No external proposal" + ] + }, + { + "name": "AlreadyVetoed", + "fields": null, + "index": 8, + "docs": [ + "Identity may not veto a proposal twice" + ] + }, + { + "name": "ReferendumInvalid", + "fields": null, + "index": 9, + "docs": [ + "Vote given for invalid referendum" + ] + }, + { + "name": "NoneWaiting", + "fields": null, + "index": 10, + "docs": [ + "No proposals waiting" + ] + }, + { + "name": "NotVoter", + "fields": null, + "index": 11, + "docs": [ + "The given account did not vote on the referendum." + ] + }, + { + "name": "NoPermission", + "fields": null, + "index": 12, + "docs": [ + "The actor has no permission to conduct the action." + ] + }, + { + "name": "AlreadyDelegating", + "fields": null, + "index": 13, + "docs": [ + "The account is already delegating." + ] + }, + { + "name": "InsufficientFunds", + "fields": null, + "index": 14, + "docs": [ + "Too high a balance was provided that the account cannot afford." + ] + }, + { + "name": "NotDelegating", + "fields": null, + "index": 15, + "docs": [ + "The account is not currently delegating." + ] + }, + { + "name": "VotesExist", + "fields": null, + "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", + "fields": null, + "index": 17, + "docs": [ + "The instant referendum origin is currently disallowed." + ] + }, + { + "name": "Nonsense", + "fields": null, + "index": 18, + "docs": [ + "Delegation to oneself makes no sense." + ] + }, + { + "name": "WrongUpperBound", + "fields": null, + "index": 19, + "docs": [ + "Invalid upper bound." + ] + }, + { + "name": "MaxVotesReached", + "fields": null, + "index": 20, + "docs": [ + "Maximum number of votes reached." + ] + }, + { + "name": "TooMany", + "fields": null, + "index": 21, + "docs": [ + "Maximum number of items reached." + ] + }, + { + "name": "VotingPeriodLow", + "fields": null, + "index": 22, + "docs": [ + "Voting period too low" + ] } ] } }, - "docs": null + "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" + ] }, - "479": { + "592": { "path": [ - "polkadot_primitives", - "v1", - "CommittedCandidateReceipt" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "H", - "type": 9 + "name": "T", + "type": 11 + }, + { + "name": "S", + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "descriptor", - "type": 84, - "typeName": "CandidateDescriptor\u003cH\u003e", - "docs": null - }, - { - "name": "commitments", - "type": 480, - "typeName": "CandidateCommitments", - "docs": null - } - ] - } - }, - "docs": null - }, - "48": { - "path": [ - "pallet_democracy", - "vote_threshold", - "VoteThreshold" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "SuperMajorityApprove", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "SuperMajorityAgainst", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "SimpleMajority", - "fields": null, - "index": 2, + "type": 491, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -22320,15 +33576,18 @@ }, "docs": null }, - "480": { + "593": { "path": [ - "polkadot_primitives", - "v1", - "CandidateCommitments" + "pallet_collective", + "Votes" ], "params": [ { - "name": "N", + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", "type": 4 } ], @@ -22336,79 +33595,33 @@ "Composite": { "fields": [ { - "name": "upward_messages", - "type": 152, - "typeName": "Vec\u003cUpwardMessage\u003e", - "docs": null - }, - { - "name": "horizontal_messages", - "type": 481, - "typeName": "Vec\u003cOutboundHrmpMessage\u003cId\u003e\u003e", + "name": "index", + "type": 4, + "typeName": "ProposalIndex", "docs": null }, { - "name": "new_validation_code", - "type": 483, - "typeName": "Option\u003cValidationCode\u003e", + "name": "threshold", + "type": 4, + "typeName": "MemberCount", "docs": null }, { - "name": "head_data", - "type": 91, - "typeName": "HeadData", + "name": "ayes", + "type": 101, + "typeName": "Vec\u003cAccountId\u003e", "docs": null }, { - "name": "processed_downward_messages", - "type": 4, - "typeName": "u32", + "name": "nays", + "type": 101, + "typeName": "Vec\u003cAccountId\u003e", "docs": null }, { - "name": "hrmp_watermark", + "name": "end", "type": 4, - "typeName": "N", - "docs": null - } - ] - } - }, - "docs": null - }, - "481": { - "path": null, - "def": { - "Sequence": { - "type": 482 - } - }, - "docs": null - }, - "482": { - "path": [ - "polkadot_core_primitives", - "OutboundHrmpMessage" - ], - "params": [ - { - "name": "Id", - "type": 85 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "recipient", - "type": 85, - "typeName": "Id", - "docs": null - }, - { - "name": "data", - "type": 10, - "typeName": "sp_std::vec::Vec\u003cu8\u003e", + "typeName": "BlockNumber", "docs": null } ] @@ -22416,54 +33629,135 @@ }, "docs": null }, - "483": { + "594": { "path": [ - "Option" + "pallet_collective", + "pallet", + "Error" ], "params": [ { "name": "T", - "type": 484 + "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "None", + "name": "NotMember", "fields": null, "index": 0, - "docs": null + "docs": [ + "Account is not a member" + ] }, { - "name": "Some", - "fields": [ - { - "type": 484, - "typeName": "", - "docs": null - } - ], + "name": "DuplicateProposal", + "fields": null, "index": 1, - "docs": null + "docs": [ + "Duplicate proposals not allowed" + ] + }, + { + "name": "ProposalMissing", + "fields": null, + "index": 2, + "docs": [ + "Proposal must exist" + ] + }, + { + "name": "WrongIndex", + "fields": null, + "index": 3, + "docs": [ + "Mismatched index" + ] + }, + { + "name": "DuplicateVote", + "fields": null, + "index": 4, + "docs": [ + "Duplicate vote ignored" + ] + }, + { + "name": "AlreadyInitialized", + "fields": null, + "index": 5, + "docs": [ + "Members are already initialized!" + ] + }, + { + "name": "TooEarly", + "fields": null, + "index": 6, + "docs": [ + "The close call was made too early, before the end of the voting." + ] + }, + { + "name": "TooManyProposals", + "fields": null, + "index": 7, + "docs": [ + "There can only be a maximum of `MaxProposals` active proposals." + ] + }, + { + "name": "WrongProposalWeight", + "fields": null, + "index": 8, + "docs": [ + "The given weight bound for the proposal was too low." + ] + }, + { + "name": "WrongProposalLength", + "fields": null, + "index": 9, + "docs": [ + "The given length bound for the proposal was too low." + ] } ] } }, - "docs": null + "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" + ] }, - "484": { + "595": { "path": [ - "polkadot_parachain", - "primitives", - "ValidationCode" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 11 + }, + { + "name": "S", + "type": 0 + } ], "def": { "Composite": { "fields": [ { - "type": 10, - "typeName": "Vec\u003cu8\u003e", + "type": 491, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -22471,191 +33765,155 @@ }, "docs": null }, - "485": { - "path": null, - "def": { - "Sequence": { - "type": 486 - } - }, - "docs": null - }, - "486": { + "596": { "path": [ - "polkadot_primitives", - "v0", - "ValidityAttestation" + "pallet_collective", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "Implicit", - "fields": [ - { - "type": 476, - "typeName": "ValidatorSignature", - "docs": null - } - ], + "name": "NotMember", + "fields": null, + "index": 0, + "docs": [ + "Account is not a member" + ] + }, + { + "name": "DuplicateProposal", + "fields": null, "index": 1, - "docs": null + "docs": [ + "Duplicate proposals not allowed" + ] }, { - "name": "Explicit", - "fields": [ - { - "type": 476, - "typeName": "ValidatorSignature", - "docs": null - } - ], + "name": "ProposalMissing", + "fields": null, "index": 2, - "docs": null - } - ] - } - }, - "docs": null - }, - "487": { - "path": null, - "def": { - "Sequence": { - "type": 488 - } - }, - "docs": null - }, - "488": { - "path": [ - "polkadot_primitives", - "v1", - "DisputeStatementSet" - ], - "def": { - "Composite": { - "fields": [ + "docs": [ + "Proposal must exist" + ] + }, { - "name": "candidate_hash", - "type": 101, - "typeName": "CandidateHash", - "docs": null + "name": "WrongIndex", + "fields": null, + "index": 3, + "docs": [ + "Mismatched index" + ] }, { - "name": "session", - "type": 4, - "typeName": "SessionIndex", - "docs": null + "name": "DuplicateVote", + "fields": null, + "index": 4, + "docs": [ + "Duplicate vote ignored" + ] }, { - "name": "statements", - "type": 489, - "typeName": "Vec\u003c(DisputeStatement, ValidatorIndex, ValidatorSignature)\u003e", - "docs": null + "name": "AlreadyInitialized", + "fields": null, + "index": 5, + "docs": [ + "Members are already initialized!" + ] + }, + { + "name": "TooEarly", + "fields": null, + "index": 6, + "docs": [ + "The close call was made too early, before the end of the voting." + ] + }, + { + "name": "TooManyProposals", + "fields": null, + "index": 7, + "docs": [ + "There can only be a maximum of `MaxProposals` active proposals." + ] + }, + { + "name": "WrongProposalWeight", + "fields": null, + "index": 8, + "docs": [ + "The given weight bound for the proposal was too low." + ] + }, + { + "name": "WrongProposalLength", + "fields": null, + "index": 9, + "docs": [ + "The given length bound for the proposal was too low." + ] } ] } }, - "docs": null + "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" + ] }, - "489": { + "597": { "path": null, "def": { "Sequence": { - "type": 490 + "type": 598 } }, "docs": null }, - "49": { + "598": { "path": [ - "Result" + "pallet_elections_phragmen", + "SeatHolder" ], "params": [ { - "name": "T", - "type": 50 + "name": "AccountId", + "type": 0 }, { - "name": "E", - "type": 22 + "name": "Balance", + "type": 6 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Ok", - "fields": [ - { - "type": 50, - "typeName": "", - "docs": null - } - ], - "index": 0, + "name": "who", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "Err", - "fields": [ - { - "type": 22, - "typeName": "", - "docs": null - } - ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "490": { - "path": null, - "def": { - "Tuple": [ - 491, - 475, - 476 - ] - }, - "docs": null - }, - "491": { - "path": [ - "polkadot_primitives", - "v1", - "DisputeStatement" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Valid", - "fields": [ - { - "type": 492, - "typeName": "ValidDisputeStatementKind", - "docs": null - } - ], - "index": 0, + "name": "stake", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "Invalid", - "fields": [ - { - "type": 493, - "typeName": "InvalidDisputeStatementKind", - "docs": null - } - ], - "index": 1, + "name": "deposit", + "type": 6, + "typeName": "Balance", "docs": null } ] @@ -22663,69 +33921,40 @@ }, "docs": null }, - "492": { + "599": { "path": [ - "polkadot_primitives", - "v1", - "ValidDisputeStatementKind" + "pallet_elections_phragmen", + "Voter" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } ], "def": { - "Variant": { - "variants": [ - { - "name": "Explicit", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "BackingSeconded", - "fields": [ - { - "type": 9, - "typeName": "Hash", - "docs": null - } - ], - "index": 1, - "docs": null - }, + "Composite": { + "fields": [ { - "name": "BackingValid", - "fields": [ - { - "type": 9, - "typeName": "Hash", - "docs": null - } - ], - "index": 2, + "name": "votes", + "type": 101, + "typeName": "Vec\u003cAccountId\u003e", "docs": null }, { - "name": "ApprovalChecking", - "fields": null, - "index": 3, + "name": "stake", + "type": 6, + "typeName": "Balance", "docs": null - } - ] - } - }, - "docs": null - }, - "493": { - "path": [ - "polkadot_primitives", - "v1", - "InvalidDisputeStatementKind" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Explicit", - "fields": null, - "index": 0, + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance", "docs": null } ] @@ -22733,259 +33962,217 @@ }, "docs": null }, - "494": { + "6": { + "path": null, + "def": { + "Primitive": "U128" + }, + "docs": null + }, + "60": { "path": [ - "polkadot_runtime_parachains", - "paras", + "pallet_collective", "pallet", - "Call" + "Event" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "force_set_current_code", + "name": "Proposed", "fields": [ { - "name": "para", - "type": 85, - "typeName": "ParaId", + "name": "account", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "new_code", - "type": 484, - "typeName": "ValidationCode", + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex", + "docs": null + }, + { + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "threshold", + "type": 4, + "typeName": "MemberCount", "docs": null } ], "index": 0, "docs": [ - "Set the storage for the parachain validation code immediately." + "A motion (given hash) has been proposed (by given account) with a threshold (given", + "`MemberCount`)." ] }, { - "name": "force_set_current_head", + "name": "Voted", "fields": [ { - "name": "para", - "type": 85, - "typeName": "ParaId", + "name": "account", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "new_head", - "type": 91, - "typeName": "HeadData", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null - } - ], - "index": 1, - "docs": [ - "Set the storage for the current parachain head data immediately." - ] - }, - { - "name": "force_schedule_code_upgrade", - "fields": [ + }, { - "name": "para", - "type": 85, - "typeName": "ParaId", + "name": "voted", + "type": 37, + "typeName": "bool", "docs": null }, { - "name": "new_code", - "type": 484, - "typeName": "ValidationCode", + "name": "yes", + "type": 4, + "typeName": "MemberCount", "docs": null }, { - "name": "relay_parent_number", + "name": "no", "type": 4, - "typeName": "T::BlockNumber", + "typeName": "MemberCount", "docs": null } ], - "index": 2, + "index": 1, "docs": [ - "Schedule an upgrade as if it was scheduled in the given relay parent block." + "A motion (given hash) has been voted on by given account, leaving", + "a tally (yes votes and no votes given respectively as `MemberCount`)." ] }, { - "name": "force_note_new_head", + "name": "Approved", "fields": [ { - "name": "para", - "type": 85, - "typeName": "ParaId", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null - }, + } + ], + "index": 2, + "docs": [ + "A motion was approved by the required threshold." + ] + }, + { + "name": "Disapproved", + "fields": [ { - "name": "new_head", - "type": 91, - "typeName": "HeadData", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null } ], "index": 3, "docs": [ - "Note a new block head for para within the context of the current block." + "A motion was not approved by the required threshold." ] }, { - "name": "force_queue_action", + "name": "Executed", "fields": [ { - "name": "para", - "type": 85, - "typeName": "ParaId", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", "docs": null } ], "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..." + "A motion was executed; result will be `Ok` if it returned without error." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "495": { - "path": [ - "polkadot_runtime_parachains", - "initializer", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "force_approve", + "name": "MemberExecuted", "fields": [ { - "name": "up_to", - "type": 4, - "typeName": "BlockNumber", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", "docs": null } ], - "index": 0, + "index": 5, "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." + "A single member did some action; result will be `Ok` if it returned without error." ] - } - ] - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "496": { - "path": [ - "polkadot_runtime_parachains", - "dmp", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": null - } - }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] - }, - "497": { - "path": [ - "polkadot_runtime_parachains", - "ump", - "pallet", - "Call" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "service_overweight", + "name": "Closed", "fields": [ { - "name": "index", - "type": 8, - "typeName": "OverweightIndex", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "name": "weight_limit", - "type": 8, - "typeName": "Weight", + "name": "yes", + "type": 4, + "typeName": "MemberCount", + "docs": null + }, + { + "name": "no", + "type": 4, + "typeName": "MemberCount", "docs": null } ], - "index": 0, + "index": 6, "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." + "A proposal was closed because its threshold was reached or after its duration was up." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "498": { + "600": { "path": [ - "polkadot_runtime_parachains", - "hrmp", + "pallet_elections_phragmen", "pallet", - "Call" + "Error" ], "params": [ { @@ -22997,178 +34184,238 @@ "Variant": { "variants": [ { - "name": "hrmp_init_open_channel", - "fields": [ - { - "name": "recipient", - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "name": "proposed_max_capacity", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "proposed_max_message_size", - "type": 4, - "typeName": "u32", - "docs": null - } - ], + "name": "UnableToVote", + "fields": null, "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." + "Cannot vote when no candidates or members exist." ] }, { - "name": "hrmp_accept_open_channel", - "fields": [ - { - "name": "sender", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], + "name": "NoVotes", + "fields": null, "index": 1, "docs": [ - "Accept a pending open channel request from the given sender.", - "", - "The channel will be opened only on the next session boundary." + "Must vote for at least one candidate." ] }, { - "name": "hrmp_close_channel", - "fields": [ - { - "name": "channel_id", - "type": 99, - "typeName": "HrmpChannelId", - "docs": null - } - ], + "name": "TooManyVotes", + "fields": null, "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." + "Cannot vote more than candidates." ] }, { - "name": "force_clean_hrmp", - "fields": [ - { - "name": "para", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], + "name": "MaximumVotesExceeded", + "fields": null, "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." + "Cannot vote more than maximum allowed." ] }, { - "name": "force_process_hrmp_open", + "name": "LowBalance", "fields": null, "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." + "Cannot vote with stake less than minimum balance." ] }, { - "name": "force_process_hrmp_close", + "name": "UnableToPayBond", "fields": null, "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." + "Voter can not pay voting bond." ] }, { - "name": "hrmp_cancel_open_request", - "fields": [ - { - "name": "channel_id", - "type": 99, - "typeName": "HrmpChannelId", - "docs": null - } - ], + "name": "MustBeVoter", + "fields": null, "index": 6, "docs": [ - "This cancels a pending open channel request. It can be canceled be 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." + "Must be a voter." + ] + }, + { + "name": "DuplicatedCandidate", + "fields": null, + "index": 7, + "docs": [ + "Duplicated candidate submission." + ] + }, + { + "name": "TooManyCandidates", + "fields": null, + "index": 8, + "docs": [ + "Too many candidates have been created." + ] + }, + { + "name": "MemberSubmit", + "fields": null, + "index": 9, + "docs": [ + "Member cannot re-submit candidacy." + ] + }, + { + "name": "RunnerUpSubmit", + "fields": null, + "index": 10, + "docs": [ + "Runner cannot re-submit candidacy." + ] + }, + { + "name": "InsufficientCandidateFunds", + "fields": null, + "index": 11, + "docs": [ + "Candidate does not have enough funds." + ] + }, + { + "name": "NotMember", + "fields": null, + "index": 12, + "docs": [ + "Not a member." + ] + }, + { + "name": "InvalidWitnessData", + "fields": null, + "index": 13, + "docs": [ + "The provided count of number of candidates is incorrect." + ] + }, + { + "name": "InvalidVoteCount", + "fields": null, + "index": 14, + "docs": [ + "The provided count of number of votes is incorrect." + ] + }, + { + "name": "InvalidRenouncing", + "fields": null, + "index": 15, + "docs": [ + "The renouncing origin presented a wrong `Renouncing` parameter." + ] + }, + { + "name": "InvalidReplacement", + "fields": null, + "index": 16, + "docs": [ + "Prediction regarding replacement after member removal is wrong." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "499": { + "601": { "path": [ - "polkadot_runtime_parachains", - "disputes", + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 101, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "602": { + "path": [ + "pallet_membership", "pallet", - "Call" + "Error" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "force_unfreeze", + "name": "AlreadyMember", + "fields": null, + "index": 0, + "docs": [ + "Already a member." + ] + }, + { + "name": "NotMember", + "fields": null, + "index": 1, + "docs": [ + "Not a member." + ] + }, + { + "name": "TooManyMembers", "fields": null, - "index": 0, - "docs": null + "index": 2, + "docs": [ + "Too many members." + ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "5": { + "603": { "path": [ - "pallet_balances", - "AccountData" + "pallet_treasury", + "Proposal" ], "params": [ + { + "name": "AccountId", + "type": 0 + }, { "name": "Balance", "type": 6 @@ -23178,25 +34425,25 @@ "Composite": { "fields": [ { - "name": "free", - "type": 6, - "typeName": "Balance", + "name": "proposer", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "reserved", + "name": "value", "type": 6, "typeName": "Balance", "docs": null }, { - "name": "misc_frozen", - "type": 6, - "typeName": "Balance", + "name": "beneficiary", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "fee_frozen", + "name": "bond", "type": 6, "typeName": "Balance", "docs": null @@ -23206,215 +34453,175 @@ }, "docs": null }, - "50": { - "path": null, - "def": {}, + "604": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 102, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, "docs": null }, - "500": { + "605": { "path": [ - "polkadot_runtime_common", - "paras_registrar", + "sp_arithmetic", + "per_things", + "Permill" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 4, + "typeName": "u32", + "docs": null + } + ] + } + }, + "docs": null + }, + "606": { + "path": [ + "frame_support", + "PalletId" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 192, + "typeName": "[u8; 8]", + "docs": null + } + ] + } + }, + "docs": null + }, + "607": { + "path": [ + "pallet_treasury", "pallet", - "Call" + "Error" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "register", - "fields": [ - { - "name": "id", - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "name": "genesis_head", - "type": 91, - "typeName": "HeadData", - "docs": null - }, - { - "name": "validation_code", - "type": 484, - "typeName": "ValidationCode", - "docs": null - } - ], + "name": "InsufficientProposersBalance", + "fields": null, "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." + "Proposer's balance is too low." ] }, { - "name": "force_register", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "id", - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "name": "genesis_head", - "type": 91, - "typeName": "HeadData", - "docs": null - }, - { - "name": "validation_code", - "type": 484, - "typeName": "ValidationCode", - "docs": null - } - ], + "name": "InvalidIndex", + "fields": null, "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." + "No proposal or bounty at that index." ] }, { - "name": "deregister", - "fields": [ - { - "name": "id", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], + "name": "TooManyApprovals", + "fields": null, "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." + "Too many approvals in the queue." ] }, { - "name": "swap", - "fields": [ - { - "name": "id", - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "name": "other", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], + "name": "InsufficientPermission", + "fields": null, "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": "force_remove_lock", - "fields": [ - { - "name": "para", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "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." + "The spend origin is valid but the amount it is allowed to spend is lower than the", + "amount to be spent." ] }, { - "name": "reserve", + "name": "ProposalNotApproved", "fields": null, - "index": 5, + "index": 4, "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." + "Proposal has not been approved." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "Error for the treasury pallet." ] }, - "501": { + "608": { + "path": null, + "def": { + "Tuple": [ + 0, + 71 + ] + }, + "docs": null + }, + "609": { "path": [ - "polkadot_runtime_common", - "slots", - "pallet", - "Call" + "pallet_conviction_voting", + "vote", + "Voting" ], "params": [ { - "name": "T", + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "PollIndex", + "type": 4 + }, + { + "name": "MaxVotes", "type": 0 } ], @@ -23422,548 +34629,633 @@ "Variant": { "variants": [ { - "name": "force_lease", + "name": "Casting", "fields": [ { - "name": "para", - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "name": "leaser", - "type": 0, - "typeName": "T::AccountId", + "type": 610, + "typeName": "Casting\u003cBalance, BlockNumber, PollIndex, MaxVotes\u003e", "docs": null - }, + } + ], + "index": 0, + "docs": null + }, + { + "name": "Delegating", + "fields": [ { - "name": "amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 616, + "typeName": "Delegating\u003cBalance, AccountId, BlockNumber\u003e", "docs": null - }, + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "61": { + "path": [ + "Result" + ], + "params": [ + { + "name": "T", + "type": 62 + }, + { + "name": "E", + "type": 24 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Ok", + "fields": [ { - "name": "period_begin", - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", + "type": 62, + "typeName": "", "docs": null - }, + } + ], + "index": 0, + "docs": null + }, + { + "name": "Err", + "fields": [ { - "name": "period_count", - "type": 4, - "typeName": "LeasePeriodOf\u003cT\u003e", + "type": 24, + "typeName": "", "docs": null } ], - "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.", - "", - "Can only be called by the Root origin." - ] + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "610": { + "path": [ + "pallet_conviction_voting", + "vote", + "Casting" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "PollIndex", + "type": 4 + }, + { + "name": "MaxVotes", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "votes", + "type": 611, + "typeName": "BoundedVec\u003c(PollIndex, AccountVote\u003cBalance\u003e), MaxVotes\u003e", + "docs": null + }, + { + "name": "delegations", + "type": 614, + "typeName": "Delegations\u003cBalance\u003e", + "docs": null + }, + { + "name": "prior", + "type": 615, + "typeName": "PriorLock\u003cBlockNumber, Balance\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "611": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 612 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 613, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "612": { + "path": null, + "def": { + "Tuple": [ + 4, + 145 + ] + }, + "docs": null + }, + "613": { + "path": null, + "def": { + "Sequence": { + "type": 612 + } + }, + "docs": null + }, + "614": { + "path": [ + "pallet_conviction_voting", + "types", + "Delegations" + ], + "params": [ + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "votes", + "type": 6, + "typeName": "Balance", + "docs": null }, { - "name": "clear_all_leases", - "fields": [ - { - "name": "para", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "index": 1, - "docs": [ - "Clear all leases for a Para Id, refunding any deposits back to the original owners.", - "", - "Can only be called by the Root origin." - ] + "name": "capital", + "type": 6, + "typeName": "Balance", + "docs": null + } + ] + } + }, + "docs": null + }, + "615": { + "path": [ + "pallet_conviction_voting", + "vote", + "PriorLock" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 4, + "typeName": "BlockNumber", + "docs": null }, { - "name": "trigger_onboard", - "fields": [ - { - "name": "para", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "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." - ] + "type": 6, + "typeName": "Balance", + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "502": { + "616": { "path": [ - "polkadot_runtime_common", - "auctions", - "pallet", - "Call" + "pallet_conviction_voting", + "vote", + "Delegating" ], "params": [ { - "name": "T", + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "new_auction", - "fields": [ - { - "name": "duration", - "type": 112, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "name": "lease_period_index", - "type": 112, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - } - ], - "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": "balance", + "type": 6, + "typeName": "Balance", + "docs": null }, { - "name": "bid", - "fields": [ - { - "name": "para", - "type": 503, - "typeName": "ParaId", - "docs": null - }, - { - "name": "auction_index", - "type": 112, - "typeName": "AuctionIndex", - "docs": null - }, - { - "name": "first_slot", - "type": 112, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "name": "last_slot", - "type": 112, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "name": "amount", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "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": "target", + "type": 0, + "typeName": "AccountId", + "docs": null }, { - "name": "cancel_auction", - "fields": null, - "index": 2, - "docs": [ - "Cancel an in-progress auction.", - "", - "Can only be called by Root origin." - ] + "name": "conviction", + "type": 147, + "typeName": "Conviction", + "docs": null + }, + { + "name": "delegations", + "type": 614, + "typeName": "Delegations\u003cBalance\u003e", + "docs": null + }, + { + "name": "prior", + "type": 615, + "typeName": "PriorLock\u003cBlockNumber, Balance\u003e", + "docs": null } ] } }, - "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." - ] + "docs": null }, - "503": { + "617": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 618 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 619, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "618": { "path": null, "def": { - "Compact": { - "type": 85 + "Tuple": [ + 71, + 6 + ] + }, + "docs": null + }, + "619": { + "path": null, + "def": { + "Sequence": { + "type": 618 } }, "docs": null }, - "504": { + "62": { + "path": null, + "def": {}, + "docs": null + }, + "620": { "path": [ - "polkadot_runtime_common", - "crowdloan", + "pallet_conviction_voting", "pallet", - "Call" + "Error" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "create", - "fields": [ - { - "name": "index", - "type": 503, - "typeName": "ParaId", - "docs": null - }, - { - "name": "cap", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "first_period", - "type": 112, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "name": "last_period", - "type": 112, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "name": "end", - "type": 112, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "name": "verifier", - "type": 505, - "typeName": "Option\u003cMultiSigner\u003e", - "docs": null - } - ], + "name": "NotOngoing", + "fields": null, "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." + "Poll is not ongoing." ] }, { - "name": "contribute", - "fields": [ - { - "name": "index", - "type": 503, - "typeName": "ParaId", - "docs": null - }, - { - "name": "value", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "signature", - "type": 509, - "typeName": "Option\u003cMultiSignature\u003e", - "docs": null - } - ], + "name": "NotVoter", + "fields": null, "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." + "The given account did not vote on the poll." ] }, { - "name": "withdraw", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "index", - "type": 503, - "typeName": "ParaId", - "docs": null - } - ], + "name": "NoPermission", + "fields": null, "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." + "The actor has no permission to conduct the action." ] }, { - "name": "refund", - "fields": [ - { - "name": "index", - "type": 503, - "typeName": "ParaId", - "docs": null - } - ], + "name": "NoPermissionYet", + "fields": null, "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." + "The actor has no permission to conduct the action right now but will do in the future." ] }, { - "name": "dissolve", - "fields": [ - { - "name": "index", - "type": 503, - "typeName": "ParaId", - "docs": null - } - ], + "name": "AlreadyDelegating", + "fields": null, "index": 4, "docs": [ - "Remove a fund after the retirement period has ended and all funds have been returned." + "The account is already delegating." ] }, { - "name": "edit", - "fields": [ - { - "name": "index", - "type": 503, - "typeName": "ParaId", - "docs": null - }, - { - "name": "cap", - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "first_period", - "type": 112, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "name": "last_period", - "type": 112, - "typeName": "LeasePeriodOf\u003cT\u003e", - "docs": null - }, - { - "name": "end", - "type": 112, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "name": "verifier", - "type": 505, - "typeName": "Option\u003cMultiSigner\u003e", - "docs": null - } - ], + "name": "AlreadyVoting", + "fields": null, "index": 5, "docs": [ - "Edit the configuration for an in-progress crowdloan.", - "", - "Can only be called by Root origin." + "The account currently has votes attached to it and the operation cannot succeed until", + "these are removed, either through `unvote` or `reap_vote`." ] }, { - "name": "add_memo", - "fields": [ - { - "name": "index", - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "name": "memo", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - } - ], + "name": "InsufficientFunds", + "fields": null, "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." + "Too high a balance was provided that the account cannot afford." ] }, { - "name": "poke", - "fields": [ - { - "name": "index", - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], + "name": "NotDelegating", + "fields": null, "index": 7, "docs": [ - "Poke the fund into `NewRaise`", - "", - "Origin must be Signed, and the fund has non-zero raise." + "The account is not currently delegating." + ] + }, + { + "name": "Nonsense", + "fields": null, + "index": 8, + "docs": [ + "Delegation to oneself makes no sense." + ] + }, + { + "name": "MaxVotesReached", + "fields": null, + "index": 9, + "docs": [ + "Maximum number of votes reached." + ] + }, + { + "name": "ClassNeeded", + "fields": null, + "index": 10, + "docs": [ + "The class must be supplied since it is not easily determinable from the state." + ] + }, + { + "name": "BadClass", + "fields": null, + "index": 11, + "docs": [ + "The class ID supplied is invalid." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "505": { + "621": { "path": [ - "Option" + "pallet_referenda", + "types", + "ReferendumInfo" ], "params": [ { - "name": "T", - "type": 506 + "name": "TrackId", + "type": 71 + }, + { + "name": "RuntimeOrigin", + "type": 150 + }, + { + "name": "Moment", + "type": 4 + }, + { + "name": "Call", + "type": 72 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Tally", + "type": 439 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ScheduleAddress", + "type": 228 } ], "def": { "Variant": { "variants": [ { - "name": "None", - "fields": null, + "name": "Ongoing", + "fields": [ + { + "type": 622, + "typeName": "ReferendumStatus\u003cTrackId, RuntimeOrigin, Moment, Call, Balance, Tally,\nAccountId, ScheduleAddress,\u003e", + "docs": null + } + ], "index": 0, "docs": null }, { - "name": "Some", + "name": "Approved", + "fields": [ + { + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + }, + { + "name": "Rejected", "fields": [ { - "type": 506, - "typeName": "", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null } ], - "index": 1, + "index": 2, "docs": null - } - ] - } - }, - "docs": null - }, - "506": { - "path": [ - "sp_runtime", - "MultiSigner" - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "Ed25519", + "name": "Cancelled", "fields": [ { - "type": 36, - "typeName": "ed25519::Public", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null } ], - "index": 0, + "index": 3, "docs": null }, { - "name": "Sr25519", + "name": "TimedOut", "fields": [ { - "type": 39, - "typeName": "sr25519::Public", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", + "docs": null + }, + { + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null } ], - "index": 1, + "index": 4, "docs": null }, { - "name": "Ecdsa", + "name": "Killed", "fields": [ { - "type": 507, - "typeName": "ecdsa::Public", + "type": 4, + "typeName": "Moment", "docs": null } ], - "index": 2, + "index": 5, "docs": null } ] @@ -23971,18 +35263,113 @@ }, "docs": null }, - "507": { + "622": { "path": [ - "sp_core", - "ecdsa", - "Public" + "pallet_referenda", + "types", + "ReferendumStatus" + ], + "params": [ + { + "name": "TrackId", + "type": 71 + }, + { + "name": "RuntimeOrigin", + "type": 150 + }, + { + "name": "Moment", + "type": 4 + }, + { + "name": "Call", + "type": 72 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Tally", + "type": 439 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ScheduleAddress", + "type": 228 + } ], "def": { "Composite": { "fields": [ { - "type": 508, - "typeName": "[u8; 33]", + "name": "track", + "type": 71, + "typeName": "TrackId", + "docs": null + }, + { + "name": "origin", + "type": 150, + "typeName": "RuntimeOrigin", + "docs": null + }, + { + "name": "proposal", + "type": 72, + "typeName": "Call", + "docs": null + }, + { + "name": "enactment", + "type": 166, + "typeName": "DispatchTime\u003cMoment\u003e", + "docs": null + }, + { + "name": "submitted", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "name": "submission_deposit", + "type": 623, + "typeName": "Deposit\u003cAccountId, Balance\u003e", + "docs": null + }, + { + "name": "decision_deposit", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", + "docs": null + }, + { + "name": "deciding", + "type": 625, + "typeName": "Option\u003cDecidingStatus\u003cMoment\u003e\u003e", + "docs": null + }, + { + "name": "tally", + "type": 439, + "typeName": "Tally", + "docs": null + }, + { + "name": "in_queue", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "alarm", + "type": 627, + "typeName": "Option\u003c(Moment, ScheduleAddress)\u003e", "docs": null } ] @@ -23990,24 +35377,50 @@ }, "docs": null }, - "508": { - "path": null, + "623": { + "path": [ + "pallet_referenda", + "types", + "Deposit" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], "def": { - "Array": { - "len": 33, - "type": 2 + "Composite": { + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "amount", + "type": 6, + "typeName": "Balance", + "docs": null + } + ] } }, "docs": null }, - "509": { + "624": { "path": [ "Option" ], "params": [ { "name": "T", - "type": 510 + "type": 623 } ], "def": { @@ -24023,7 +35436,7 @@ "name": "Some", "fields": [ { - "type": 510, + "type": 623, "typeName": "", "docs": null } @@ -24036,266 +35449,143 @@ }, "docs": null }, - "51": { + "625": { "path": [ - "pallet_collective", - "pallet", - "Event" + "Option" ], "params": [ { "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 + "type": 626 } ], "def": { "Variant": { "variants": [ { - "name": "Proposed", - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "proposal_index", - "type": 4, - "typeName": "ProposalIndex", - "docs": null - }, - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "threshold", - "type": 4, - "typeName": "MemberCount", - "docs": null - } - ], + "name": "None", + "fields": null, "index": 0, - "docs": [ - "A motion (given hash) has been proposed (by given account) with a threshold (given", - "`MemberCount`)." - ] + "docs": null }, { - "name": "Voted", + "name": "Some", "fields": [ { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "voted", - "type": 52, - "typeName": "bool", - "docs": null - }, - { - "name": "yes", - "type": 4, - "typeName": "MemberCount", - "docs": null - }, - { - "name": "no", - "type": 4, - "typeName": "MemberCount", + "type": 626, + "typeName": "", "docs": null } ], "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": 9, - "typeName": "T::Hash", - "docs": null - } - ], - "index": 2, - "docs": [ - "A motion was approved by the required threshold." - ] - }, - { - "name": "Disapproved", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - } - ], - "index": 3, - "docs": [ - "A motion was not approved by the required threshold." - ] - }, - { - "name": "Executed", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "result", - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], - "index": 4, - "docs": [ - "A motion was executed; result will be `Ok` if it returned without error." - ] - }, + "docs": null + } + ] + } + }, + "docs": null + }, + "626": { + "path": [ + "pallet_referenda", + "types", + "DecidingStatus" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "MemberExecuted", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "result", - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], - "index": 5, - "docs": [ - "A single member did some action; result will be `Ok` if it returned without error." - ] + "name": "since", + "type": 4, + "typeName": "BlockNumber", + "docs": null }, { - "name": "Closed", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "yes", - "type": 4, - "typeName": "MemberCount", - "docs": null - }, - { - "name": "no", - "type": 4, - "typeName": "MemberCount", - "docs": null - } - ], - "index": 6, - "docs": [ - "A proposal was closed because its threshold was reached or after its duration was up." - ] + "name": "confirming", + "type": 134, + "typeName": "Option\u003cBlockNumber\u003e", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "510": { + "627": { "path": [ - "sp_runtime", - "MultiSignature" + "Option" + ], + "params": [ + { + "name": "T", + "type": 628 + } ], "def": { "Variant": { "variants": [ { - "name": "Ed25519", - "fields": [ - { - "type": 259, - "typeName": "ed25519::Signature", - "docs": null - } - ], + "name": "None", + "fields": null, "index": 0, "docs": null }, { - "name": "Sr25519", + "name": "Some", "fields": [ { - "type": 88, - "typeName": "sr25519::Signature", + "type": 628, + "typeName": "", "docs": null } ], "index": 1, "docs": null - }, - { - "name": "Ecdsa", - "fields": [ - { - "type": 511, - "typeName": "ecdsa::Signature", - "docs": null - } - ], - "index": 2, - "docs": null } ] } }, "docs": null }, - "511": { + "628": { + "path": null, + "def": { + "Tuple": [ + 4, + 228 + ] + }, + "docs": null + }, + "629": { "path": [ "sp_core", - "ecdsa", - "Signature" + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 630 + }, + { + "name": "S", + "type": 0 + } ], "def": { "Composite": { "fields": [ { - "type": 310, - "typeName": "[u8; 65]", + "type": 631, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -24303,409 +35593,314 @@ }, "docs": null }, - "512": { + "63": { "path": [ - "pallet_xcm", + "pallet_collective", "pallet", - "Call" + "Event" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "send", - "fields": [ - { - "name": "dest", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "message", - "type": 513, - "typeName": "Box\u003cVersionedXcm\u003c()\u003e\u003e", - "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "teleport_assets", + "name": "Proposed", "fields": [ { - "name": "dest", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "beneficiary", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "assets", - "type": 137, - "typeName": "Box\u003cVersionedMultiAssets\u003e", + "name": "account", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "fee_asset_item", + "name": "proposal_index", "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 1, - "docs": [ - "Teleport some assets from the local chain to some destination chain.", - "", - "Fee payment on the destination side is made from the first asset listed in the `assets` vector and", - "fee-weight is calculated locally and thus remote weights are assumed to be equal to", - "local weights.", - "", - "- `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.", - "- `dest_weight`: Equal to the total weight on `dest` of the XCM message", - " `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`." - ] - }, - { - "name": "reserve_transfer_assets", - "fields": [ - { - "name": "dest", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "beneficiary", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", + "typeName": "ProposalIndex", "docs": null }, { - "name": "assets", - "type": 137, - "typeName": "Box\u003cVersionedMultiAssets\u003e", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "name": "fee_asset_item", + "name": "threshold", "type": 4, - "typeName": "u32", + "typeName": "MemberCount", "docs": null } ], - "index": 2, + "index": 0, "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 first asset listed in the `assets` vector and", - "fee-weight is calculated locally and thus remote weights are assumed to be equal to", - "local weights.", - "", - "- `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." + "A motion (given hash) has been proposed (by given account) with a threshold (given", + "`MemberCount`)." ] }, { - "name": "execute", + "name": "Voted", "fields": [ { - "name": "message", - "type": 524, - "typeName": "Box\u003cVersionedXcm\u003c\u003cT as SysConfig\u003e::Call\u003e\u003e", + "name": "account", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "name": "max_weight", - "type": 8, - "typeName": "Weight", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null - } - ], - "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": 109, - "typeName": "Box\u003cMultiLocation\u003e", + "name": "voted", + "type": 37, + "typeName": "bool", "docs": null }, { - "name": "xcm_version", + "name": "yes", "type": 4, - "typeName": "XcmVersion", + "typeName": "MemberCount", + "docs": null + }, + { + "name": "no", + "type": 4, + "typeName": "MemberCount", "docs": null } ], - "index": 4, + "index": 1, "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." + "A motion (given hash) has been voted on by given account, leaving", + "a tally (yes votes and no votes given respectively as `MemberCount`)." ] }, { - "name": "force_default_xcm_version", + "name": "Approved", "fields": [ { - "name": "maybe_xcm_version", - "type": 235, - "typeName": "Option\u003cXcmVersion\u003e", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null } ], - "index": 5, + "index": 2, "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." + "A motion was approved by the required threshold." ] }, { - "name": "force_subscribe_version_notify", + "name": "Disapproved", "fields": [ { - "name": "location", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null } ], - "index": 6, + "index": 3, "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." + "A motion was not approved by the required threshold." ] }, { - "name": "force_unsubscribe_version_notify", + "name": "Executed", "fields": [ { - "name": "location", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", + "docs": null + }, + { + "name": "result", + "type": 61, + "typeName": "DispatchResult", "docs": null } ], - "index": 7, + "index": 4, "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." + "A motion was executed; result will be `Ok` if it returned without error." ] }, { - "name": "limited_reserve_transfer_assets", + "name": "MemberExecuted", "fields": [ { - "name": "dest", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "beneficiary", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "assets", - "type": 137, - "typeName": "Box\u003cVersionedMultiAssets\u003e", - "docs": null - }, - { - "name": "fee_asset_item", - "type": 4, - "typeName": "u32", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "name": "weight_limit", - "type": 135, - "typeName": "WeightLimit", + "name": "result", + "type": 61, + "typeName": "DispatchResult", "docs": null } ], - "index": 8, + "index": 5, "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 first asset listed in the `assets` vector.", - "", - "- `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." + "A single member did some action; result will be `Ok` if it returned without error." ] }, { - "name": "limited_teleport_assets", + "name": "Closed", "fields": [ { - "name": "dest", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "beneficiary", - "type": 142, - "typeName": "Box\u003cVersionedMultiLocation\u003e", - "docs": null - }, - { - "name": "assets", - "type": 137, - "typeName": "Box\u003cVersionedMultiAssets\u003e", + "name": "proposal_hash", + "type": 11, + "typeName": "T::Hash", "docs": null }, { - "name": "fee_asset_item", + "name": "yes", "type": 4, - "typeName": "u32", + "typeName": "MemberCount", "docs": null }, { - "name": "weight_limit", - "type": 135, - "typeName": "WeightLimit", + "name": "no", + "type": 4, + "typeName": "MemberCount", "docs": null } ], - "index": 9, + "index": 6, "docs": [ - "Teleport some assets from the local chain to some destination chain.", - "", - "Fee payment on the destination side is made from the first asset listed in the `assets` vector.", - "", - "- `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.", - "- `dest_weight`: Equal to the total weight on `dest` of the XCM message", - " `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.", - "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase." + "A proposal was closed because its threshold was reached or after its duration was up." ] } ] } }, "docs": [ - "Contains one variant per dispatchable that can be called by an extrinsic." + "\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" ] }, - "513": { + "630": { + "path": null, + "def": { + "Tuple": [ + 4, + 6 + ] + }, + "docs": null + }, + "631": { + "path": null, + "def": { + "Sequence": { + "type": 630 + } + }, + "docs": null + }, + "632": { + "path": null, + "def": { + "Sequence": { + "type": 633 + } + }, + "docs": null + }, + "633": { + "path": null, + "def": { + "Tuple": [ + 71, + 634 + ] + }, + "docs": null + }, + "634": { "path": [ - "xcm", - "VersionedXcm" + "pallet_referenda", + "types", + "TrackInfo" ], "params": [ { - "name": "Call", - "type": 0 + "name": "Balance", + "type": 6 + }, + { + "name": "Moment", + "type": 4 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "V0", - "fields": [ - { - "type": 514, - "typeName": "v0::Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 0, + "name": "name", + "type": 494, + "typeName": "\u0026'static str", "docs": null }, { - "name": "V1", - "fields": [ - { - "type": 519, - "typeName": "v1::Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 1, + "name": "max_deciding", + "type": 4, + "typeName": "u32", "docs": null }, { - "name": "V2", - "fields": [ - { - "type": 117, - "typeName": "v2::Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 2, + "name": "decision_deposit", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "prepare_period", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "name": "decision_period", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "name": "confirm_period", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "name": "min_enactment_period", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "name": "min_approval", + "type": 635, + "typeName": "Curve", + "docs": null + }, + { + "name": "min_support", + "type": 635, + "typeName": "Curve", "docs": null } ] @@ -24713,272 +35908,277 @@ }, "docs": null }, - "514": { + "635": { "path": [ - "xcm", - "v0", - "Xcm" - ], - "params": [ - { - "name": "Call", - "type": 0 - } + "pallet_referenda", + "types", + "Curve" ], "def": { "Variant": { "variants": [ { - "name": "WithdrawAsset", + "name": "LinearDecreasing", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", + "name": "length", + "type": 34, + "typeName": "Perbill", "docs": null }, { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "ReserveAssetDeposit", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", + "name": "floor", + "type": 34, + "typeName": "Perbill", "docs": null }, { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", + "name": "ceil", + "type": 34, + "typeName": "Perbill", "docs": null } ], - "index": 1, + "index": 0, "docs": null }, { - "name": "TeleportAsset", + "name": "SteppedDecreasing", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", + "name": "begin", + "type": 34, + "typeName": "Perbill", "docs": null }, { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 2, - "docs": null - }, - { - "name": "QueryResponse", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", + "name": "end", + "type": 34, + "typeName": "Perbill", "docs": null }, { - "name": "response", - "type": 518, - "typeName": "Response", - "docs": null - } - ], - "index": 3, - "docs": null - }, - { - "name": "TransferAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", + "name": "step", + "type": 34, + "typeName": "Perbill", "docs": null }, { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", + "name": "period", + "type": 34, + "typeName": "Perbill", "docs": null } ], - "index": 4, + "index": 1, "docs": null }, { - "name": "TransferReserveAsset", + "name": "Reciprocal", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", + "name": "factor", + "type": 636, + "typeName": "FixedI64", "docs": null }, { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", + "name": "x_offset", + "type": 636, + "typeName": "FixedI64", "docs": null }, { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "name": "y_offset", + "type": 636, + "typeName": "FixedI64", "docs": null } ], - "index": 5, + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "636": { + "path": [ + "sp_arithmetic", + "fixed_point", + "FixedI64" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 637, + "typeName": "i64", "docs": null + } + ] + } + }, + "docs": null + }, + "637": { + "path": null, + "def": { + "Primitive": "I64" + }, + "docs": null + }, + "638": { + "path": [ + "pallet_referenda", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "NotOngoing", + "fields": null, + "index": 0, + "docs": [ + "Referendum is not ongoing." + ] }, { - "name": "Transact", - "fields": [ - { - "name": "origin_type", - "type": 130, - "typeName": "OriginKind", - "docs": null - }, - { - "name": "require_weight_at_most", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "call", - "type": 131, - "typeName": "DoubleEncoded\u003cCall\u003e", - "docs": null - } - ], + "name": "HasDeposit", + "fields": null, + "index": 1, + "docs": [ + "Referendum's decision deposit is already paid." + ] + }, + { + "name": "BadTrack", + "fields": null, + "index": 2, + "docs": [ + "The track identifier given was invalid." + ] + }, + { + "name": "Full", + "fields": null, + "index": 3, + "docs": [ + "There are already a full complement of referenda in progress for this track." + ] + }, + { + "name": "QueueEmpty", + "fields": null, + "index": 4, + "docs": [ + "The queue of the track is empty." + ] + }, + { + "name": "BadReferendum", + "fields": null, + "index": 5, + "docs": [ + "The referendum index provided is invalid in this context." + ] + }, + { + "name": "NothingToDo", + "fields": null, "index": 6, - "docs": null + "docs": [ + "There was nothing to do in the advancement." + ] }, { - "name": "HrmpNewChannelOpenRequest", - "fields": [ - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_message_size", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_capacity", - "type": 112, - "typeName": "u32", - "docs": null - } - ], + "name": "NoTrack", + "fields": null, "index": 7, - "docs": null + "docs": [ + "No track exists for the proposal origin." + ] }, { - "name": "HrmpChannelAccepted", - "fields": [ - { - "name": "recipient", - "type": 112, - "typeName": "u32", - "docs": null - } - ], + "name": "Unfinished", + "fields": null, "index": 8, - "docs": null + "docs": [ + "Any deposit cannot be refunded until after the decision is over." + ] }, { - "name": "HrmpChannelClosing", - "fields": [ - { - "name": "initiator", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "recipient", - "type": 112, - "typeName": "u32", - "docs": null - } - ], + "name": "NoPermission", + "fields": null, "index": 9, - "docs": null + "docs": [ + "The deposit refunder is not the depositor." + ] }, { - "name": "RelayedFrom", - "fields": [ - { - "name": "who", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "message", - "type": 514, - "typeName": "alloc::boxed::Box\u003cXcm\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "NoDeposit", + "fields": null, "index": 10, - "docs": null + "docs": [ + "The deposit cannot be refunded since none was made." + ] + }, + { + "name": "BadStatus", + "fields": null, + "index": 11, + "docs": [ + "The referendum status is invalid for this operation." + ] } ] } }, - "docs": null + "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" + ] }, - "515": { - "path": null, + "639": { + "path": [ + "pallet_ranked_collective", + "MemberRecord" + ], "def": { - "Sequence": { - "type": 516 + "Composite": { + "fields": [ + { + "name": "rank", + "type": 71, + "typeName": "Rank", + "docs": null + } + ] } }, "docs": null }, - "516": { + "64": { "path": [ - "xcm", - "v0", - "order", - "Order" + "pallet_elections_phragmen", + "pallet", + "Event" ], "params": [ { - "name": "Call", + "name": "T", "type": 0 } ], @@ -24986,219 +36186,167 @@ "Variant": { "variants": [ { - "name": "Null", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "DepositAsset", + "name": "NewTerm", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", + "name": "new_members", + "type": 65, + "typeName": "Vec\u003c(\u003cT as frame_system::Config\u003e::AccountId, BalanceOf\u003cT\u003e)\u003e", "docs": null } ], + "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", + "fields": null, "index": 1, - "docs": null + "docs": [ + "No (or not enough) candidates existed for this round. This is different from", + "`NewTerm(\\[\\])`. See the description of `NewTerm`." + ] }, { - "name": "DepositReserveAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], + "name": "ElectionError", + "fields": null, "index": 2, - "docs": null + "docs": [ + "Internal error happened while trying to perform election." + ] }, { - "name": "ExchangeAsset", + "name": "MemberKicked", "fields": [ { - "name": "give", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "receive", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", + "name": "member", + "type": 0, + "typeName": "\u003cT as frame_system::Config\u003e::AccountId", "docs": null } ], "index": 3, - "docs": null + "docs": [ + "A member has been removed. This should always be followed by either `NewTerm` or", + "`EmptyTerm`." + ] }, { - "name": "InitiateReserveWithdraw", + "name": "Renounced", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "reserve", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "name": "candidate", + "type": 0, + "typeName": "\u003cT as frame_system::Config\u003e::AccountId", "docs": null } ], "index": 4, - "docs": null + "docs": [ + "Someone has renounced their candidacy." + ] }, { - "name": "InitiateTeleport", + "name": "CandidateSlashed", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", + "name": "candidate", + "type": 0, + "typeName": "\u003cT as frame_system::Config\u003e::AccountId", "docs": null }, { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], "index": 5, - "docs": null + "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": "QueryHolding", + "name": "SeatHolderSlashed", "fields": [ { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", + "name": "seat_holder", + "type": 0, + "typeName": "\u003cT as frame_system::Config\u003e::AccountId", "docs": null }, { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], "index": 6, - "docs": null - }, - { - "name": "BuyExecution", - "fields": [ - { - "name": "fees", - "type": 139, - "typeName": "MultiAsset", - "docs": null - }, - { - "name": "weight", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "debt", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "halt_on_error", - "type": 52, - "typeName": "bool", - "docs": null - }, - { - "name": "xcm", - "type": 517, - "typeName": "Vec\u003cXcm\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 7, - "docs": null + "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" + ] + }, + "640": { + "path": null, + "def": { + "Tuple": [ + 71, + 0 + ] + }, "docs": null }, - "517": { + "641": { "path": null, "def": { - "Sequence": { - "type": 514 - } + "Tuple": [ + 71, + 4 + ] }, "docs": null }, - "518": { + "642": { "path": [ - "xcm", - "v0", - "Response" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": 0 + } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Assets", - "fields": [ - { - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - } - ], - "index": 0, + "type": 12, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -25206,15 +36354,19 @@ }, "docs": null }, - "519": { + "643": { "path": [ - "xcm", - "v1", - "Xcm" + "pallet_ranked_collective", + "pallet", + "Error" ], "params": [ { - "name": "Call", + "name": "T", + "type": 0 + }, + { + "name": "I", "type": 0 } ], @@ -25222,255 +36374,752 @@ "Variant": { "variants": [ { - "name": "WithdrawAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "AlreadyMember", + "fields": null, "index": 0, - "docs": null + "docs": [ + "Account is already a member." + ] }, { - "name": "ReserveAssetDeposited", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "NotMember", + "fields": null, "index": 1, - "docs": null + "docs": [ + "Account is not a member." + ] }, { - "name": "ReceiveTeleportedAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "NotPolling", + "fields": null, "index": 2, - "docs": null + "docs": [ + "The given poll index is unknown or has closed." + ] }, { - "name": "QueryResponse", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "response", - "type": 523, - "typeName": "Response", - "docs": null - } - ], + "name": "Ongoing", + "fields": null, "index": 3, - "docs": null + "docs": [ + "The given poll is still ongoing." + ] }, { - "name": "TransferAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, + "name": "NoneRemaining", + "fields": null, + "index": 4, + "docs": [ + "There are no further records to be removed." + ] + }, + { + "name": "Corruption", + "fields": null, + "index": 5, + "docs": [ + "Unexpected error in state." + ] + }, + { + "name": "RankTooLow", + "fields": null, + "index": 6, + "docs": [ + "The member's rank is too low to vote." + ] + }, + { + "name": "InvalidWitness", + "fields": null, + "index": 7, + "docs": [ + "The information provided is incorrect." + ] + }, + { + "name": "NoPermission", + "fields": null, + "index": 8, + "docs": [ + "The origin is not sufficiently privileged to do the operation." + ] + } + ] + } + }, + "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" + ] + }, + "644": { + "path": [ + "pallet_referenda", + "types", + "ReferendumInfo" + ], + "params": [ + { + "name": "TrackId", + "type": 71 + }, + { + "name": "RuntimeOrigin", + "type": 150 + }, + { + "name": "Moment", + "type": 4 + }, + { + "name": "Call", + "type": 72 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Tally", + "type": 442 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ScheduleAddress", + "type": 228 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Ongoing", + "fields": [ { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", + "type": 645, + "typeName": "ReferendumStatus\u003cTrackId, RuntimeOrigin, Moment, Call, Balance, Tally,\nAccountId, ScheduleAddress,\u003e", "docs": null } ], - "index": 4, + "index": 0, "docs": null }, { - "name": "TransferReserveAsset", + "name": "Approved", "fields": [ { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", + "type": 4, + "typeName": "Moment", "docs": null }, { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null }, { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null } ], - "index": 5, + "index": 1, "docs": null }, { - "name": "Transact", + "name": "Rejected", "fields": [ { - "name": "origin_type", - "type": 130, - "typeName": "OriginKind", + "type": 4, + "typeName": "Moment", "docs": null }, { - "name": "require_weight_at_most", - "type": 8, - "typeName": "u64", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null }, { - "name": "call", - "type": 131, - "typeName": "DoubleEncoded\u003cCall\u003e", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null } ], - "index": 6, + "index": 2, "docs": null }, { - "name": "HrmpNewChannelOpenRequest", + "name": "Cancelled", "fields": [ { - "name": "sender", - "type": 112, - "typeName": "u32", + "type": 4, + "typeName": "Moment", "docs": null }, { - "name": "max_message_size", - "type": 112, - "typeName": "u32", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null }, { - "name": "max_capacity", - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 7, - "docs": null - }, - { - "name": "HrmpChannelAccepted", - "fields": [ - { - "name": "recipient", - "type": 112, - "typeName": "u32", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null } ], - "index": 8, + "index": 3, "docs": null }, { - "name": "HrmpChannelClosing", + "name": "TimedOut", "fields": [ { - "name": "initiator", - "type": 112, - "typeName": "u32", + "type": 4, + "typeName": "Moment", "docs": null }, { - "name": "sender", - "type": 112, - "typeName": "u32", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null }, { - "name": "recipient", - "type": 112, - "typeName": "u32", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", "docs": null } ], - "index": 9, + "index": 4, "docs": null }, { - "name": "RelayedFrom", + "name": "Killed", "fields": [ { - "name": "who", - "type": 110, - "typeName": "InteriorMultiLocation", - "docs": null - }, - { - "name": "message", - "type": 519, - "typeName": "alloc::boxed::Box\u003cXcm\u003cCall\u003e\u003e", + "type": 4, + "typeName": "Moment", "docs": null } ], - "index": 10, + "index": 5, + "docs": null + } + ] + } + }, + "docs": null + }, + "645": { + "path": [ + "pallet_referenda", + "types", + "ReferendumStatus" + ], + "params": [ + { + "name": "TrackId", + "type": 71 + }, + { + "name": "RuntimeOrigin", + "type": 150 + }, + { + "name": "Moment", + "type": 4 + }, + { + "name": "Call", + "type": 72 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Tally", + "type": 442 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ScheduleAddress", + "type": 228 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "track", + "type": 71, + "typeName": "TrackId", "docs": null }, { - "name": "SubscribeVersion", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", - "docs": null - } - ], + "name": "origin", + "type": 150, + "typeName": "RuntimeOrigin", + "docs": null + }, + { + "name": "proposal", + "type": 72, + "typeName": "Call", + "docs": null + }, + { + "name": "enactment", + "type": 166, + "typeName": "DispatchTime\u003cMoment\u003e", + "docs": null + }, + { + "name": "submitted", + "type": 4, + "typeName": "Moment", + "docs": null + }, + { + "name": "submission_deposit", + "type": 623, + "typeName": "Deposit\u003cAccountId, Balance\u003e", + "docs": null + }, + { + "name": "decision_deposit", + "type": 624, + "typeName": "Option\u003cDeposit\u003cAccountId, Balance\u003e\u003e", + "docs": null + }, + { + "name": "deciding", + "type": 625, + "typeName": "Option\u003cDecidingStatus\u003cMoment\u003e\u003e", + "docs": null + }, + { + "name": "tally", + "type": 442, + "typeName": "Tally", + "docs": null + }, + { + "name": "in_queue", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "alarm", + "type": 627, + "typeName": "Option\u003c(Moment, ScheduleAddress)\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "646": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 228 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 492, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "647": { + "path": [ + "pallet_referenda", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "NotOngoing", + "fields": null, + "index": 0, + "docs": [ + "Referendum is not ongoing." + ] + }, + { + "name": "HasDeposit", + "fields": null, + "index": 1, + "docs": [ + "Referendum's decision deposit is already paid." + ] + }, + { + "name": "BadTrack", + "fields": null, + "index": 2, + "docs": [ + "The track identifier given was invalid." + ] + }, + { + "name": "Full", + "fields": null, + "index": 3, + "docs": [ + "There are already a full complement of referenda in progress for this track." + ] + }, + { + "name": "QueueEmpty", + "fields": null, + "index": 4, + "docs": [ + "The queue of the track is empty." + ] + }, + { + "name": "BadReferendum", + "fields": null, + "index": 5, + "docs": [ + "The referendum index provided is invalid in this context." + ] + }, + { + "name": "NothingToDo", + "fields": null, + "index": 6, + "docs": [ + "There was nothing to do in the advancement." + ] + }, + { + "name": "NoTrack", + "fields": null, + "index": 7, + "docs": [ + "No track exists for the proposal origin." + ] + }, + { + "name": "Unfinished", + "fields": null, + "index": 8, + "docs": [ + "Any deposit cannot be refunded until after the decision is over." + ] + }, + { + "name": "NoPermission", + "fields": null, + "index": 9, + "docs": [ + "The deposit refunder is not the depositor." + ] + }, + { + "name": "NoDeposit", + "fields": null, + "index": 10, + "docs": [ + "The deposit cannot be refunded since none was made." + ] + }, + { + "name": "BadStatus", + "fields": null, "index": 11, + "docs": [ + "The referendum status is invalid for this operation." + ] + } + ] + } + }, + "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" + ] + }, + "648": { + "path": [ + "pallet_whitelist", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "UnavailablePreImage", + "fields": null, + "index": 0, + "docs": [ + "The preimage of the call hash could not be loaded." + ] + }, + { + "name": "UndecodableCall", + "fields": null, + "index": 1, + "docs": [ + "The call could not be decoded." + ] + }, + { + "name": "InvalidCallWeightWitness", + "fields": null, + "index": 2, + "docs": [ + "The weight of the decoded call was higher than the witness." + ] + }, + { + "name": "CallIsNotWhitelisted", + "fields": null, + "index": 3, + "docs": [ + "The call was not whitelisted." + ] + }, + { + "name": "CallAlreadyWhitelisted", + "fields": null, + "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" + ] + }, + "649": { + "path": [ + "polkadot_runtime_common", + "claims", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "InvalidEthereumSignature", + "fields": null, + "index": 0, + "docs": [ + "Invalid Ethereum signature." + ] + }, + { + "name": "SignerHasNoClaim", + "fields": null, + "index": 1, + "docs": [ + "Ethereum address has no claim." + ] + }, + { + "name": "SenderHasNoClaim", + "fields": null, + "index": 2, + "docs": [ + "Account ID sending transaction has no claim." + ] + }, + { + "name": "PotUnderflow", + "fields": null, + "index": 3, + "docs": [ + "There's not enough in the pot to pay out some unvested amount. Generally implies a logic", + "error." + ] + }, + { + "name": "InvalidStatement", + "fields": null, + "index": 4, + "docs": [ + "A needed statement was not included." + ] + }, + { + "name": "VestedBalanceExists", + "fields": null, + "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" + ] + }, + "65": { + "path": null, + "def": { + "Sequence": { + "type": 66 + } + }, + "docs": null + }, + "650": { + "path": [ + "pallet_utility", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "TooManyCalls", + "fields": null, + "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" + ] + }, + "651": { + "path": [ + "pallet_identity", + "types", + "Registration" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "MaxJudgements", + "type": 0 + }, + { + "name": "MaxAdditionalFields", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "judgements", + "type": 652, + "typeName": "BoundedVec\u003c(RegistrarIndex, Judgement\u003cBalance\u003e), MaxJudgements\u003e", + "docs": null + }, + { + "name": "deposit", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "UnsubscribeVersion", - "fields": null, - "index": 12, + "name": "info", + "type": 181, + "typeName": "IdentityInfo\u003cMaxAdditionalFields\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "652": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 653 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 654, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -25478,229 +37127,58 @@ }, "docs": null }, - "52": { + "653": { "path": null, "def": { - "Primitive": "Bool" + "Tuple": [ + 4, + 220 + ] }, "docs": null }, - "520": { + "654": { "path": null, "def": { "Sequence": { - "type": 521 + "type": 653 } }, "docs": null }, - "521": { + "655": { + "path": null, + "def": { + "Tuple": [ + 6, + 656 + ] + }, + "docs": null + }, + "656": { "path": [ - "xcm", - "v1", - "order", - "Order" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "Call", + "name": "T", + "type": 0 + }, + { + "name": "S", "type": 0 } ], "def": { - "Variant": { - "variants": [ - { - "name": "Noop", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "DepositAsset", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "max_assets", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], - "index": 1, - "docs": null - }, - { - "name": "DepositReserveAsset", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "max_assets", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], - "index": 2, - "docs": null - }, - { - "name": "ExchangeAsset", - "fields": [ - { - "name": "give", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "receive", - "type": 120, - "typeName": "MultiAssets", - "docs": null - } - ], - "index": 3, - "docs": null - }, - { - "name": "InitiateReserveWithdraw", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "reserve", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], - "index": 4, - "docs": null - }, - { - "name": "InitiateTeleport", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], - "index": 5, - "docs": null - }, - { - "name": "QueryHolding", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - } - ], - "index": 6, - "docs": null - }, + "Composite": { + "fields": [ { - "name": "BuyExecution", - "fields": [ - { - "name": "fees", - "type": 122, - "typeName": "MultiAsset", - "docs": null - }, - { - "name": "weight", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "debt", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "halt_on_error", - "type": 52, - "typeName": "bool", - "docs": null - }, - { - "name": "instructions", - "type": 522, - "typeName": "Vec\u003cXcm\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 7, + "type": 101, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -25708,42 +37186,61 @@ }, "docs": null }, - "522": { - "path": null, + "657": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 658 + }, + { + "name": "S", + "type": 0 + } + ], "def": { - "Sequence": { - "type": 519 + "Composite": { + "fields": [ + { + "type": 660, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] } }, "docs": null }, - "523": { + "658": { "path": [ - "xcm", - "v1", - "Response" + "Option" + ], + "params": [ + { + "name": "T", + "type": 659 + } ], "def": { "Variant": { "variants": [ { - "name": "Assets", - "fields": [ - { - "type": 120, - "typeName": "MultiAssets", - "docs": null - } - ], + "name": "None", + "fields": null, "index": 0, "docs": null }, { - "name": "Version", + "name": "Some", "fields": [ { - "type": 4, - "typeName": "super::Version", + "type": 659, + "typeName": "", "docs": null } ], @@ -25755,54 +37252,41 @@ }, "docs": null }, - "524": { + "659": { "path": [ - "xcm", - "VersionedXcm" + "pallet_identity", + "types", + "RegistrarInfo" ], "params": [ { - "name": "Call", + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", "type": 0 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "V0", - "fields": [ - { - "type": 525, - "typeName": "v0::Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 0, + "name": "account", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "V1", - "fields": [ - { - "type": 530, - "typeName": "v1::Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 1, + "name": "fee", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "V2", - "fields": [ - { - "type": 534, - "typeName": "v2::Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 2, + "name": "fields", + "type": 218, + "typeName": "IdentityFields", "docs": null } ] @@ -25810,15 +37294,34 @@ }, "docs": null }, - "525": { + "66": { + "path": null, + "def": { + "Tuple": [ + 0, + 6 + ] + }, + "docs": null + }, + "660": { + "path": null, + "def": { + "Sequence": { + "type": 658 + } + }, + "docs": null + }, + "661": { "path": [ - "xcm", - "v0", - "Xcm" + "pallet_identity", + "pallet", + "Error" ], "params": [ { - "name": "Call", + "name": "T", "type": 0 } ], @@ -25826,441 +37329,286 @@ "Variant": { "variants": [ { - "name": "WithdrawAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "effects", - "type": 526, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "TooManySubAccounts", + "fields": null, "index": 0, - "docs": null + "docs": [ + "Too many subs-accounts." + ] }, { - "name": "ReserveAssetDeposit", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "effects", - "type": 526, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "NotFound", + "fields": null, "index": 1, - "docs": null + "docs": [ + "Account isn't found." + ] }, { - "name": "TeleportAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "effects", - "type": 526, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "NotNamed", + "fields": null, "index": 2, - "docs": null + "docs": [ + "Account isn't named." + ] }, { - "name": "QueryResponse", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "response", - "type": 518, - "typeName": "Response", - "docs": null - } - ], + "name": "EmptyIndex", + "fields": null, "index": 3, - "docs": null + "docs": [ + "Empty index." + ] }, { - "name": "TransferAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", - "docs": null - } - ], + "name": "FeeChanged", + "fields": null, "index": 4, - "docs": null - }, - { - "name": "TransferReserveAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], - "index": 5, - "docs": null - }, - { - "name": "Transact", - "fields": [ - { - "name": "origin_type", - "type": 130, - "typeName": "OriginKind", - "docs": null - }, - { - "name": "require_weight_at_most", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "call", - "type": 529, - "typeName": "DoubleEncoded\u003cCall\u003e", - "docs": null - } - ], - "index": 6, - "docs": null + "docs": [ + "Fee is changed." + ] }, { - "name": "HrmpNewChannelOpenRequest", - "fields": [ - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_message_size", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_capacity", - "type": 112, - "typeName": "u32", - "docs": null - } - ], + "name": "NoIdentity", + "fields": null, + "index": 5, + "docs": [ + "No identity found." + ] + }, + { + "name": "StickyJudgement", + "fields": null, + "index": 6, + "docs": [ + "Sticky judgement." + ] + }, + { + "name": "JudgementGiven", + "fields": null, "index": 7, - "docs": null + "docs": [ + "Judgement given." + ] }, { - "name": "HrmpChannelAccepted", - "fields": [ - { - "name": "recipient", - "type": 112, - "typeName": "u32", - "docs": null - } - ], + "name": "InvalidJudgement", + "fields": null, "index": 8, - "docs": null + "docs": [ + "Invalid judgement." + ] }, { - "name": "HrmpChannelClosing", - "fields": [ - { - "name": "initiator", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "recipient", - "type": 112, - "typeName": "u32", - "docs": null - } - ], + "name": "InvalidIndex", + "fields": null, "index": 9, - "docs": null + "docs": [ + "The index is invalid." + ] }, { - "name": "RelayedFrom", - "fields": [ - { - "name": "who", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "message", - "type": 525, - "typeName": "alloc::boxed::Box\u003cXcm\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "InvalidTarget", + "fields": null, "index": 10, - "docs": null + "docs": [ + "The target is invalid." + ] + }, + { + "name": "TooManyFields", + "fields": null, + "index": 11, + "docs": [ + "Too many additional fields." + ] + }, + { + "name": "TooManyRegistrars", + "fields": null, + "index": 12, + "docs": [ + "Maximum amount of registrars reached. Cannot add any more." + ] + }, + { + "name": "AlreadyClaimed", + "fields": null, + "index": 13, + "docs": [ + "Account ID is already named." + ] + }, + { + "name": "NotSub", + "fields": null, + "index": 14, + "docs": [ + "Sender is not a sub-account." + ] + }, + { + "name": "NotOwned", + "fields": null, + "index": 15, + "docs": [ + "Sub-account isn't owned by sender." + ] + }, + { + "name": "JudgementForDifferentIdentity", + "fields": null, + "index": 16, + "docs": [ + "The provided judgement was for a different identity." + ] + }, + { + "name": "JudgementPaymentFailed", + "fields": null, + "index": 17, + "docs": [ + "Error that occurs when there is an issue paying for judgement." + ] } ] } }, - "docs": null + "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" + ] }, - "526": { + "662": { "path": null, "def": { "Sequence": { - "type": 527 + "type": 663 } }, "docs": null }, - "527": { + "663": { "path": [ - "xcm", - "v0", - "order", - "Order" + "pallet_society", + "Bid" ], "params": [ { - "name": "Call", + "name": "AccountId", "type": 0 + }, + { + "name": "Balance", + "type": 6 } ], "def": { - "Variant": { - "variants": [ - { - "name": "Null", - "fields": null, - "index": 0, - "docs": null - }, + "Composite": { + "fields": [ { - "name": "DepositAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", - "docs": null - } - ], - "index": 1, + "name": "who", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "DepositReserveAsset", - "fields": [ - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], - "index": 2, + "name": "kind", + "type": 664, + "typeName": "BidKind\u003cAccountId, Balance\u003e", "docs": null }, { - "name": "ExchangeAsset", - "fields": [ - { - "name": "give", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "receive", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - } - ], - "index": 3, + "name": "value", + "type": 6, + "typeName": "Balance", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "664": { + "path": [ + "pallet_society", + "BidKind" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "InitiateReserveWithdraw", + "name": "Deposit", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "reserve", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 4, + "index": 0, "docs": null }, { - "name": "InitiateTeleport", + "name": "Vouch", "fields": [ { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "effects", - "type": 515, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", + "type": 6, + "typeName": "Balance", "docs": null } ], - "index": 5, + "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "665": { + "path": null, + "def": { + "Tuple": [ + 6, + 664 + ] + }, + "docs": null + }, + "666": { + "path": [ + "pallet_society", + "VouchingStatus" + ], + "def": { + "Variant": { + "variants": [ { - "name": "QueryHolding", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "dest", - "type": 140, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "assets", - "type": 138, - "typeName": "Vec\u003cMultiAsset\u003e", - "docs": null - } - ], - "index": 6, + "name": "Vouching", + "fields": null, + "index": 0, "docs": null }, { - "name": "BuyExecution", - "fields": [ - { - "name": "fees", - "type": 139, - "typeName": "MultiAsset", - "docs": null - }, - { - "name": "weight", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "debt", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "halt_on_error", - "type": 52, - "typeName": "bool", - "docs": null - }, - { - "name": "xcm", - "type": 528, - "typeName": "Vec\u003cXcm\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 7, + "name": "Banned", + "fields": null, + "index": 1, "docs": null } ] @@ -26268,44 +37616,220 @@ }, "docs": null }, - "528": { + "667": { "path": null, "def": { - "Sequence": { - "type": 525 + "Tuple": [ + 0, + 0 + ] + }, + "docs": null + }, + "668": { + "path": [ + "pallet_society", + "Vote" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Skeptic", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Reject", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Approve", + "fields": null, + "index": 2, + "docs": null + } + ] } }, "docs": null }, - "529": { + "669": { "path": [ - "xcm", - "double_encoded", - "DoubleEncoded" + "pallet_society", + "pallet", + "Error" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ + { + "name": "BadPosition", + "fields": null, + "index": 0, + "docs": [ + "An incorrect position was provided." + ] + }, + { + "name": "NotMember", + "fields": null, + "index": 1, + "docs": [ + "User is not a member." + ] + }, + { + "name": "AlreadyMember", + "fields": null, + "index": 2, + "docs": [ + "User is already a member." + ] + }, + { + "name": "Suspended", + "fields": null, + "index": 3, + "docs": [ + "User is suspended." + ] + }, + { + "name": "NotSuspended", + "fields": null, + "index": 4, + "docs": [ + "User is not suspended." + ] + }, + { + "name": "NoPayout", + "fields": null, + "index": 5, + "docs": [ + "Nothing to payout." + ] + }, + { + "name": "AlreadyFounded", + "fields": null, + "index": 6, + "docs": [ + "Society already founded." + ] + }, + { + "name": "InsufficientPot", + "fields": null, + "index": 7, + "docs": [ + "Not enough in pot to accept candidate." + ] + }, + { + "name": "AlreadyVouching", + "fields": null, + "index": 8, + "docs": [ + "Member is already vouching or banned from vouching again." + ] + }, + { + "name": "NotVouching", + "fields": null, + "index": 9, + "docs": [ + "Member is not vouching." + ] + }, + { + "name": "Head", + "fields": null, + "index": 10, + "docs": [ + "Cannot remove the head of the chain." + ] + }, + { + "name": "Founder", + "fields": null, + "index": 11, + "docs": [ + "Cannot remove the founder." + ] + }, { - "name": "encoded", - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null + "name": "AlreadyBid", + "fields": null, + "index": 12, + "docs": [ + "User has already made a bid." + ] + }, + { + "name": "AlreadyCandidate", + "fields": null, + "index": 13, + "docs": [ + "User is already a candidate." + ] + }, + { + "name": "NotCandidate", + "fields": null, + "index": 14, + "docs": [ + "User is not a candidate." + ] + }, + { + "name": "MaxMembers", + "fields": null, + "index": 15, + "docs": [ + "Too many members in the society." + ] + }, + { + "name": "NotFounder", + "fields": null, + "index": 16, + "docs": [ + "The caller is not the founder." + ] + }, + { + "name": "NotHead", + "fields": null, + "index": 17, + "docs": [ + "The caller is not the head." + ] } ] } }, - "docs": null + "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" + ] }, - "53": { + "67": { "path": [ - "pallet_collective", + "pallet_membership", "pallet", "Event" ], @@ -26323,450 +37847,179 @@ "Variant": { "variants": [ { - "name": "Proposed", - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "proposal_index", - "type": 4, - "typeName": "ProposalIndex", - "docs": null - }, - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "threshold", - "type": 4, - "typeName": "MemberCount", - "docs": null - } - ], + "name": "MemberAdded", + "fields": null, "index": 0, "docs": [ - "A motion (given hash) has been proposed (by given account) with a threshold (given", - "`MemberCount`)." + "The given member was added; see the transaction for who." ] }, { - "name": "Voted", - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "voted", - "type": 52, - "typeName": "bool", - "docs": null - }, - { - "name": "yes", - "type": 4, - "typeName": "MemberCount", - "docs": null - }, - { - "name": "no", - "type": 4, - "typeName": "MemberCount", - "docs": null - } - ], + "name": "MemberRemoved", + "fields": null, "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`)." + "The given member was removed; see the transaction for who." ] }, { - "name": "Approved", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - } - ], + "name": "MembersSwapped", + "fields": null, "index": 2, "docs": [ - "A motion was approved by the required threshold." + "Two members were swapped; see the transaction for who." ] }, { - "name": "Disapproved", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - } - ], + "name": "MembersReset", + "fields": null, "index": 3, "docs": [ - "A motion was not approved by the required threshold." + "The membership was reset; see the transaction for who the new set is." ] }, { - "name": "Executed", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "result", - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], + "name": "KeyChanged", + "fields": null, "index": 4, "docs": [ - "A motion was executed; result will be `Ok` if it returned without error." + "One of the members' keys changed." ] }, { - "name": "MemberExecuted", - "fields": [ - { - "name": "proposal_hash", - "type": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "result", - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], + "name": "Dummy", + "fields": null, "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": 9, - "typeName": "T::Hash", - "docs": null - }, - { - "name": "yes", - "type": 4, - "typeName": "MemberCount", - "docs": null - }, - { - "name": "no", - "type": 4, - "typeName": "MemberCount", - "docs": null - } - ], - "index": 6, - "docs": [ - "A proposal was closed because its threshold was reached or after its duration was up." + "Phantom member, never used." ] } ] } }, "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "\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" ] }, - "530": { + "670": { "path": [ - "xcm", - "v1", - "Xcm" + "pallet_recovery", + "RecoveryConfig" ], "params": [ { - "name": "Call", - "type": 0 + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Friends", + "type": 671 } ], "def": { - "Variant": { - "variants": [ - { - "name": "WithdrawAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "effects", - "type": 531, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 0, - "docs": null - }, - { - "name": "ReserveAssetDeposited", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "effects", - "type": 531, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 1, - "docs": null - }, - { - "name": "ReceiveTeleportedAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "effects", - "type": 531, - "typeName": "Vec\u003cOrder\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 2, - "docs": null - }, - { - "name": "QueryResponse", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "response", - "type": 523, - "typeName": "Response", - "docs": null - } - ], - "index": 3, - "docs": null - }, - { - "name": "TransferAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], - "index": 4, - "docs": null - }, - { - "name": "TransferReserveAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], - "index": 5, - "docs": null - }, + "Composite": { + "fields": [ { - "name": "Transact", - "fields": [ - { - "name": "origin_type", - "type": 130, - "typeName": "OriginKind", - "docs": null - }, - { - "name": "require_weight_at_most", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "call", - "type": 529, - "typeName": "DoubleEncoded\u003cCall\u003e", - "docs": null - } - ], - "index": 6, + "name": "delay_period", + "type": 4, + "typeName": "BlockNumber", "docs": null }, { - "name": "HrmpNewChannelOpenRequest", - "fields": [ - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_message_size", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_capacity", - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 7, + "name": "deposit", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "HrmpChannelAccepted", - "fields": [ - { - "name": "recipient", - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 8, + "name": "friends", + "type": 671, + "typeName": "Friends", "docs": null }, { - "name": "HrmpChannelClosing", - "fields": [ - { - "name": "initiator", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "recipient", - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 9, + "name": "threshold", + "type": 71, + "typeName": "u16", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "671": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "RelayedFrom", - "fields": [ - { - "name": "who", - "type": 110, - "typeName": "InteriorMultiLocation", - "docs": null - }, - { - "name": "message", - "type": 530, - "typeName": "alloc::boxed::Box\u003cXcm\u003cCall\u003e\u003e", - "docs": null - } - ], - "index": 10, + "type": 101, + "typeName": "Vec\u003cT\u003e", "docs": null - }, - { - "name": "SubscribeVersion", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", - "docs": null - } - ], - "index": 11, + } + ] + } + }, + "docs": null + }, + "672": { + "path": [ + "pallet_recovery", + "ActiveRecovery" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Friends", + "type": 671 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "created", + "type": 4, + "typeName": "BlockNumber", "docs": null }, { - "name": "UnsubscribeVersion", - "fields": null, - "index": 12, + "name": "deposit", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "friends", + "type": 671, + "typeName": "Friends", "docs": null } ] @@ -26774,25 +38027,15 @@ }, "docs": null }, - "531": { - "path": null, - "def": { - "Sequence": { - "type": 532 - } - }, - "docs": null - }, - "532": { + "673": { "path": [ - "xcm", - "v1", - "order", - "Order" + "pallet_recovery", + "pallet", + "Error" ], "params": [ { - "name": "Call", + "name": "T", "type": 0 } ], @@ -26800,221 +38043,154 @@ "Variant": { "variants": [ { - "name": "Noop", + "name": "NotAllowed", "fields": null, "index": 0, - "docs": null + "docs": [ + "User is not allowed to make a call on behalf of this account" + ] }, { - "name": "DepositAsset", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "max_assets", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], + "name": "ZeroThreshold", + "fields": null, "index": 1, - "docs": null + "docs": [ + "Threshold must be greater than zero" + ] }, { - "name": "DepositReserveAsset", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "max_assets", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], + "name": "NotEnoughFriends", + "fields": null, "index": 2, - "docs": null + "docs": [ + "Friends list must be greater than zero and threshold" + ] }, { - "name": "ExchangeAsset", - "fields": [ - { - "name": "give", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "receive", - "type": 120, - "typeName": "MultiAssets", - "docs": null - } - ], + "name": "MaxFriends", + "fields": null, "index": 3, - "docs": null + "docs": [ + "Friends list must be less than max friends" + ] }, { - "name": "InitiateReserveWithdraw", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "reserve", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], + "name": "NotSorted", + "fields": null, "index": 4, - "docs": null + "docs": [ + "Friends list must be sorted and free of duplicates" + ] }, { - "name": "InitiateTeleport", - "fields": [ - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "effects", - "type": 520, - "typeName": "Vec\u003cOrder\u003c()\u003e\u003e", - "docs": null - } - ], + "name": "NotRecoverable", + "fields": null, "index": 5, - "docs": null + "docs": [ + "This account is not set up for recovery" + ] }, { - "name": "QueryHolding", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - } - ], + "name": "AlreadyRecoverable", + "fields": null, "index": 6, - "docs": null + "docs": [ + "This account is already set up for recovery" + ] }, { - "name": "BuyExecution", - "fields": [ - { - "name": "fees", - "type": 122, - "typeName": "MultiAsset", - "docs": null - }, - { - "name": "weight", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "debt", - "type": 8, - "typeName": "u64", - "docs": null - }, - { - "name": "halt_on_error", - "type": 52, - "typeName": "bool", - "docs": null - }, - { - "name": "instructions", - "type": 533, - "typeName": "Vec\u003cXcm\u003cCall\u003e\u003e", - "docs": null - } - ], + "name": "AlreadyStarted", + "fields": null, "index": 7, - "docs": null + "docs": [ + "A recovery process has already started for this account" + ] + }, + { + "name": "NotStarted", + "fields": null, + "index": 8, + "docs": [ + "A recovery process has not started for this rescuer" + ] + }, + { + "name": "NotFriend", + "fields": null, + "index": 9, + "docs": [ + "This account is not a friend who can vouch" + ] + }, + { + "name": "DelayPeriod", + "fields": null, + "index": 10, + "docs": [ + "The friend must wait until the delay period to vouch for this recovery" + ] + }, + { + "name": "AlreadyVouched", + "fields": null, + "index": 11, + "docs": [ + "This user has already vouched for this recovery" + ] + }, + { + "name": "Threshold", + "fields": null, + "index": 12, + "docs": [ + "The threshold for recovering this account has not been met" + ] + }, + { + "name": "StillActive", + "fields": null, + "index": 13, + "docs": [ + "There are still active recovery attempts that need to be closed" + ] + }, + { + "name": "AlreadyProxy", + "fields": null, + "index": 14, + "docs": [ + "This account is already set up for recovery" + ] + }, + { + "name": "BadState", + "fields": null, + "index": 15, + "docs": [ + "Some internal state is broken." + ] } ] } }, - "docs": null - }, - "533": { - "path": null, - "def": { - "Sequence": { - "type": 530 - } - }, - "docs": null + "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" + ] }, - "534": { + "674": { "path": [ - "xcm", - "v2", - "Xcm" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "Call", + "name": "T", + "type": 225 + }, + { + "name": "S", "type": 0 } ], @@ -27022,8 +38198,8 @@ "Composite": { "fields": [ { - "type": 535, - "typeName": "Vec\u003cInstruction\u003cCall\u003e\u003e", + "type": 675, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -27031,24 +38207,49 @@ }, "docs": null }, - "535": { + "675": { "path": null, "def": { "Sequence": { - "type": 536 + "type": 225 } }, "docs": null }, - "536": { + "676": { "path": [ - "xcm", - "v2", - "Instruction" + "pallet_vesting", + "Releases" + ], + "def": { + "Variant": { + "variants": [ + { + "name": "V0", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "V1", + "fields": null, + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "677": { + "path": [ + "pallet_vesting", + "pallet", + "Error" ], "params": [ { - "name": "Call", + "name": "T", "type": 0 } ], @@ -27056,506 +38257,530 @@ "Variant": { "variants": [ { - "name": "WithdrawAsset", - "fields": [ - { - "type": 120, - "typeName": "MultiAssets", - "docs": null - } - ], + "name": "NotVesting", + "fields": null, "index": 0, - "docs": null + "docs": [ + "The account given is not vesting." + ] }, { - "name": "ReserveAssetDeposited", - "fields": [ - { - "type": 120, - "typeName": "MultiAssets", - "docs": null - } - ], + "name": "AtMaxVestingSchedules", + "fields": null, "index": 1, - "docs": null + "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": "ReceiveTeleportedAsset", - "fields": [ - { - "type": 120, - "typeName": "MultiAssets", - "docs": null - } - ], + "name": "AmountLow", + "fields": null, "index": 2, - "docs": null + "docs": [ + "Amount being transferred is too low to create a vesting schedule." + ] }, { - "name": "QueryResponse", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "QueryId", - "docs": null - }, - { - "name": "response", - "type": 127, - "typeName": "Response", - "docs": null - }, - { - "name": "max_weight", - "type": 114, - "typeName": "u64", - "docs": null - } - ], + "name": "ScheduleIndexOutOfBounds", + "fields": null, "index": 3, - "docs": null + "docs": [ + "An index was out of bounds of the vesting schedules." + ] }, { - "name": "TransferAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], + "name": "InvalidScheduleParams", + "fields": null, "index": 4, + "docs": [ + "Failed to create a new schedule because some parameter was invalid." + ] + } + ] + } + }, + "docs": [ + "Error for the vesting pallet." + ] + }, + "678": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 679 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 681, + "typeName": "Vec\u003cT\u003e", "docs": null - }, - { - "name": "TransferReserveAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", - "docs": null - } - ], - "index": 5, - "docs": null - }, - { - "name": "Transact", - "fields": [ - { - "name": "origin_type", - "type": 130, - "typeName": "OriginKind", - "docs": null - }, - { - "name": "require_weight_at_most", - "type": 114, - "typeName": "u64", - "docs": null - }, - { - "name": "call", - "type": 529, - "typeName": "DoubleEncoded\u003cCall\u003e", - "docs": null - } - ], - "index": 6, - "docs": null - }, + } + ] + } + }, + "docs": null + }, + "679": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 680 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "HrmpNewChannelOpenRequest", - "fields": [ - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_message_size", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "max_capacity", - "type": 112, - "typeName": "u32", - "docs": null - } - ], - "index": 7, + "name": "None", + "fields": null, + "index": 0, "docs": null }, { - "name": "HrmpChannelAccepted", + "name": "Some", "fields": [ { - "name": "recipient", - "type": 112, - "typeName": "u32", + "type": 680, + "typeName": "", "docs": null } ], - "index": 8, + "index": 1, "docs": null - }, + } + ] + } + }, + "docs": null + }, + "68": { + "path": [ + "pallet_treasury", + "pallet", + "Event" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "HrmpChannelClosing", + "name": "Proposed", "fields": [ { - "name": "initiator", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "sender", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "recipient", - "type": 112, - "typeName": "u32", + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex", "docs": null } ], - "index": 9, - "docs": null - }, - { - "name": "ClearOrigin", - "fields": null, - "index": 10, - "docs": null + "index": 0, + "docs": [ + "New proposal." + ] }, { - "name": "DescendOrigin", + "name": "Spending", "fields": [ { - "type": 110, - "typeName": "InteriorMultiLocation", + "name": "budget_remaining", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], - "index": 11, - "docs": null + "index": 1, + "docs": [ + "We have ended a spend period and will now allocate funds." + ] }, { - "name": "ReportError", + "name": "Awarded", "fields": [ { - "name": "query_id", - "type": 114, - "typeName": "QueryId", + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex", "docs": null }, { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", + "name": "award", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null }, { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", + "name": "account", + "type": 0, + "typeName": "T::AccountId", "docs": null } ], - "index": 12, - "docs": null + "index": 2, + "docs": [ + "Some funds have been allocated." + ] }, { - "name": "DepositAsset", + "name": "Rejected", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "max_assets", - "type": 112, - "typeName": "u32", + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex", "docs": null }, { - "name": "beneficiary", - "type": 109, - "typeName": "MultiLocation", + "name": "slashed", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], - "index": 13, - "docs": null + "index": 3, + "docs": [ + "A proposal was rejected; funds were slashed." + ] }, { - "name": "DepositReserveAsset", + "name": "Burnt", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "max_assets", - "type": 112, - "typeName": "u32", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "burnt_funds", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], - "index": 14, - "docs": null + "index": 4, + "docs": [ + "Some of our funds have been burnt." + ] }, { - "name": "ExchangeAsset", + "name": "Rollover", "fields": [ { - "name": "give", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "receive", - "type": 120, - "typeName": "MultiAssets", + "name": "rollover_balance", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], - "index": 15, - "docs": null + "index": 5, + "docs": [ + "Spending has finished; this is the amount that rolls over until next spend." + ] }, { - "name": "InitiateReserveWithdraw", + "name": "Deposit", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", - "docs": null - }, - { - "name": "reserve", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "value", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], - "index": 16, - "docs": null + "index": 6, + "docs": [ + "Some funds have been deposited." + ] }, { - "name": "InitiateTeleport", + "name": "SpendApproved", "fields": [ { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", + "name": "proposal_index", + "type": 4, + "typeName": "ProposalIndex", "docs": null }, { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null }, { - "name": "xcm", - "type": 117, - "typeName": "Xcm\u003c()\u003e", + "name": "beneficiary", + "type": 0, + "typeName": "T::AccountId", "docs": null } ], - "index": 17, - "docs": null + "index": 7, + "docs": [ + "A new spend proposal has been approved." + ] }, { - "name": "QueryHolding", + "name": "UpdatedInactive", "fields": [ { - "name": "query_id", - "type": 114, - "typeName": "QueryId", - "docs": null - }, - { - "name": "dest", - "type": 109, - "typeName": "MultiLocation", - "docs": null - }, - { - "name": "assets", - "type": 132, - "typeName": "MultiAssetFilter", + "name": "reactivated", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null }, { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", + "name": "deactivated", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", "docs": null } ], - "index": 18, + "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" + ] + }, + "680": { + "path": [ + "pallet_scheduler", + "Scheduled" + ], + "params": [ + { + "name": "Name", + "type": 1 + }, + { + "name": "Call", + "type": 72 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "PalletsOrigin", + "type": 150 + }, + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "maybe_id", + "type": 456, + "typeName": "Option\u003cName\u003e", "docs": null }, { - "name": "BuyExecution", - "fields": [ - { - "name": "fees", - "type": 122, - "typeName": "MultiAsset", - "docs": null - }, - { - "name": "weight_limit", - "type": 135, - "typeName": "WeightLimit", - "docs": null - } - ], - "index": 19, + "name": "priority", + "type": 2, + "typeName": "schedule::Priority", "docs": null }, { - "name": "RefundSurplus", - "fields": null, - "index": 20, + "name": "call", + "type": 72, + "typeName": "Call", "docs": null }, { - "name": "SetErrorHandler", - "fields": [ - { - "type": 534, - "typeName": "Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 21, + "name": "maybe_periodic", + "type": 227, + "typeName": "Option\u003cschedule::Period\u003cBlockNumber\u003e\u003e", "docs": null }, { - "name": "SetAppendix", - "fields": [ - { - "type": 534, - "typeName": "Xcm\u003cCall\u003e", - "docs": null - } - ], - "index": 22, + "name": "origin", + "type": 150, + "typeName": "PalletsOrigin", "docs": null + } + ] + } + }, + "docs": null + }, + "681": { + "path": null, + "def": { + "Sequence": { + "type": 679 + } + }, + "docs": null + }, + "682": { + "path": [ + "pallet_scheduler", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "FailedToSchedule", + "fields": null, + "index": 0, + "docs": [ + "Failed to schedule a call" + ] }, { - "name": "ClearError", + "name": "NotFound", "fields": null, - "index": 23, - "docs": null + "index": 1, + "docs": [ + "Cannot find the scheduled call." + ] }, { - "name": "ClaimAsset", - "fields": [ - { - "name": "assets", - "type": 120, - "typeName": "MultiAssets", - "docs": null - }, - { - "name": "ticket", - "type": 109, - "typeName": "MultiLocation", - "docs": null - } - ], - "index": 24, - "docs": null + "name": "TargetBlockNumberInPast", + "fields": null, + "index": 2, + "docs": [ + "Given target block number is in the past." + ] }, { - "name": "Trap", - "fields": [ - { - "type": 114, - "typeName": "u64", - "docs": null - } - ], - "index": 25, + "name": "RescheduleNoChange", + "fields": null, + "index": 3, + "docs": [ + "Reschedule failed because it does not change scheduled time." + ] + }, + { + "name": "Named", + "fields": null, + "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" + ] + }, + "683": { + "path": null, + "def": { + "Tuple": [ + 684, + 6 + ] + }, + "docs": null + }, + "684": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 685 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 686, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "685": { + "path": [ + "pallet_proxy", + "ProxyDefinition" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "ProxyType", + "type": 231 + }, + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "delegate", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "SubscribeVersion", - "fields": [ - { - "name": "query_id", - "type": 114, - "typeName": "QueryId", - "docs": null - }, - { - "name": "max_response_weight", - "type": 114, - "typeName": "u64", - "docs": null - } - ], - "index": 26, + "name": "proxy_type", + "type": 231, + "typeName": "ProxyType", "docs": null }, { - "name": "UnsubscribeVersion", - "fields": null, - "index": 27, + "name": "delay", + "type": 4, + "typeName": "BlockNumber", "docs": null } ] @@ -27563,16 +38788,69 @@ }, "docs": null }, - "537": { + "686": { + "path": null, + "def": { + "Sequence": { + "type": 685 + } + }, + "docs": null + }, + "687": { + "path": null, + "def": { + "Tuple": [ + 688, + 6 + ] + }, + "docs": null + }, + "688": { "path": [ - "pallet_collective", - "Votes" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 689 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 690, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "689": { + "path": [ + "pallet_proxy", + "Announcement" ], "params": [ { "name": "AccountId", "type": 0 }, + { + "name": "Hash", + "type": 11 + }, { "name": "BlockNumber", "type": 4 @@ -27582,31 +38860,19 @@ "Composite": { "fields": [ { - "name": "index", - "type": 4, - "typeName": "ProposalIndex", - "docs": null - }, - { - "name": "threshold", - "type": 4, - "typeName": "MemberCount", - "docs": null - }, - { - "name": "ayes", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", + "name": "real", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "nays", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", + "name": "call_hash", + "type": 11, + "typeName": "Hash", "docs": null }, { - "name": "end", + "name": "height", "type": 4, "typeName": "BlockNumber", "docs": null @@ -27616,11 +38882,11 @@ }, "docs": null }, - "538": { + "69": { "path": [ - "pallet_collective", + "pallet_conviction_voting", "pallet", - "Error" + "Event" ], "params": [ { @@ -27636,103 +38902,216 @@ "Variant": { "variants": [ { - "name": "NotMember", + "name": "Delegated", + "fields": [ + { + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "index": 0, + "docs": [ + "An account has delegated their vote to another account. \\[who, target\\]" + ] + }, + { + "name": "Undelegated", + "fields": [ + { + "type": 0, + "typeName": "T::AccountId", + "docs": null + } + ], + "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" + ] + }, + "690": { + "path": null, + "def": { + "Sequence": { + "type": 689 + } + }, + "docs": null + }, + "691": { + "path": [ + "pallet_proxy", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "TooMany", "fields": null, "index": 0, "docs": [ - "Account is not a member" + "There are too many proxies registered or too many announcements pending." ] }, { - "name": "DuplicateProposal", + "name": "NotFound", "fields": null, "index": 1, "docs": [ - "Duplicate proposals not allowed" + "Proxy registration not found." ] }, { - "name": "ProposalMissing", + "name": "NotProxy", "fields": null, "index": 2, "docs": [ - "Proposal must exist" + "Sender is not a proxy of the account to be proxied." ] }, { - "name": "WrongIndex", + "name": "Unproxyable", "fields": null, "index": 3, "docs": [ - "Mismatched index" + "A call which is incompatible with the proxy type's filter was attempted." ] }, { - "name": "DuplicateVote", + "name": "Duplicate", "fields": null, "index": 4, "docs": [ - "Duplicate vote ignored" + "Account is already a proxy." ] }, { - "name": "AlreadyInitialized", + "name": "NoPermission", "fields": null, "index": 5, "docs": [ - "Members are already initialized!" + "Call may not be made by proxy because it may escalate its privileges." ] }, { - "name": "TooEarly", + "name": "Unannounced", "fields": null, "index": 6, "docs": [ - "The close call was made too early, before the end of the voting." + "Announcement, if made at all, was made too recently." ] }, { - "name": "TooManyProposals", + "name": "NoSelfProxy", "fields": null, "index": 7, "docs": [ - "There can only be a maximum of `MaxProposals` active proposals." + "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" + ] + }, + "692": { + "path": null, + "def": { + "Tuple": [ + 0, + 1 + ] + }, + "docs": null + }, + "693": { + "path": [ + "pallet_multisig", + "Multisig" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + }, + { + "name": "MaxApprovals", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "when", + "type": 234, + "typeName": "Timepoint\u003cBlockNumber\u003e", + "docs": null }, { - "name": "WrongProposalWeight", - "fields": null, - "index": 8, - "docs": [ - "The given weight bound for the proposal was too low." - ] + "name": "deposit", + "type": 6, + "typeName": "Balance", + "docs": null }, { - "name": "WrongProposalLength", - "fields": null, - "index": 9, - "docs": [ - "The given length bound for the proposal was too low." - ] + "name": "depositor", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "approvals", + "type": 694, + "typeName": "BoundedVec\u003cAccountId, MaxApprovals\u003e", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] + "docs": null }, - "539": { + "694": { "path": [ - "frame_support", - "storage", + "sp_core", + "bounded", "bounded_vec", "BoundedVec" ], "params": [ { "name": "T", - "type": 9 + "type": 0 }, { "name": "S", @@ -27743,7 +39122,7 @@ "Composite": { "fields": [ { - "type": 144, + "type": 101, "typeName": "Vec\u003cT\u003e", "docs": null } @@ -27752,11 +39131,11 @@ }, "docs": null }, - "54": { + "695": { "path": [ - "pallet_elections_phragmen", + "pallet_multisig", "pallet", - "Event" + "Error" ], "params": [ { @@ -27768,273 +39147,260 @@ "Variant": { "variants": [ { - "name": "NewTerm", - "fields": [ - { - "name": "new_members", - "type": 55, - "typeName": "Vec\u003c(\u003cT as frame_system::Config\u003e::AccountId, BalanceOf\u003cT\u003e)\u003e", - "docs": null - } - ], + "name": "MinimumThreshold", + "fields": null, "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." + "Threshold must be 2 or greater." ] }, { - "name": "EmptyTerm", + "name": "AlreadyApproved", "fields": null, "index": 1, "docs": [ - "No (or not enough) candidates existed for this round. This is different from", - "`NewTerm(\\[\\])`. See the description of `NewTerm`." + "Call is already approved by this signatory." ] }, { - "name": "ElectionError", + "name": "NoApprovalsNeeded", "fields": null, "index": 2, "docs": [ - "Internal error happened while trying to perform election." + "Call doesn't need any (more) approvals." ] }, { - "name": "MemberKicked", - "fields": [ - { - "name": "member", - "type": 0, - "typeName": "\u003cT as frame_system::Config\u003e::AccountId", - "docs": null - } - ], + "name": "TooFewSignatories", + "fields": null, "index": 3, "docs": [ - "A member has been removed. This should always be followed by either `NewTerm` or", - "`EmptyTerm`." + "There are too few signatories in the list." ] }, { - "name": "Renounced", - "fields": [ - { - "name": "candidate", - "type": 0, - "typeName": "\u003cT as frame_system::Config\u003e::AccountId", - "docs": null - } - ], + "name": "TooManySignatories", + "fields": null, "index": 4, "docs": [ - "Someone has renounced their candidacy." + "There are too many signatories in the list." ] }, { - "name": "CandidateSlashed", - "fields": [ - { - "name": "candidate", - "type": 0, - "typeName": "\u003cT as frame_system::Config\u003e::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], + "name": "SignatoriesOutOfOrder", + "fields": null, "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." + "The signatories were provided out of order; they should be ordered." ] }, { - "name": "SeatHolderSlashed", - "fields": [ - { - "name": "seat_holder", - "type": 0, - "typeName": "\u003cT as frame_system::Config\u003e::AccountId", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "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/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "540": { - "path": [ - "pallet_collective", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "NotMember", + "name": "SenderInSignatories", "fields": null, - "index": 0, + "index": 6, "docs": [ - "Account is not a member" + "The sender was contained in the other signatories; it shouldn't be." ] }, { - "name": "DuplicateProposal", + "name": "NotFound", "fields": null, - "index": 1, + "index": 7, "docs": [ - "Duplicate proposals not allowed" + "Multisig operation not found when attempting to cancel." ] }, { - "name": "ProposalMissing", + "name": "NotOwner", "fields": null, - "index": 2, + "index": 8, "docs": [ - "Proposal must exist" + "Only the account that originally created the multisig is able to cancel it." ] }, { - "name": "WrongIndex", + "name": "NoTimepoint", "fields": null, - "index": 3, + "index": 9, "docs": [ - "Mismatched index" + "No timepoint was given, yet the multisig operation is already underway." ] }, { - "name": "DuplicateVote", + "name": "WrongTimepoint", "fields": null, - "index": 4, + "index": 10, "docs": [ - "Duplicate vote ignored" + "A different timepoint was given to the multisig operation that is underway." ] }, { - "name": "AlreadyInitialized", + "name": "UnexpectedTimepoint", "fields": null, - "index": 5, + "index": 11, "docs": [ - "Members are already initialized!" + "A timepoint was given, yet no multisig operation is underway." ] }, { - "name": "TooEarly", + "name": "MaxWeightTooLow", "fields": null, - "index": 6, + "index": 12, "docs": [ - "The close call was made too early, before the end of the voting." + "The maximum weight information provided was too low." ] }, { - "name": "TooManyProposals", + "name": "AlreadyStored", "fields": null, - "index": 7, + "index": 13, "docs": [ - "There can only be a maximum of `MaxProposals` active proposals." + "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" + ] + }, + "696": { + "path": [ + "pallet_preimage", + "RequestStatus" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Unrequested", + "fields": [ + { + "name": "deposit", + "type": 66, + "typeName": "(AccountId, Balance)", + "docs": null + }, + { + "name": "len", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 0, + "docs": null }, { - "name": "WrongProposalWeight", + "name": "Requested", + "fields": [ + { + "name": "deposit", + "type": 697, + "typeName": "Option\u003c(AccountId, Balance)\u003e", + "docs": null + }, + { + "name": "count", + "type": 4, + "typeName": "u32", + "docs": null + }, + { + "name": "len", + "type": 134, + "typeName": "Option\u003cu32\u003e", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "697": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 66 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", "fields": null, - "index": 8, - "docs": [ - "The given weight bound for the proposal was too low." - ] + "index": 0, + "docs": null }, { - "name": "WrongProposalLength", - "fields": null, - "index": 9, - "docs": [ - "The given length bound for the proposal was too low." - ] + "name": "Some", + "fields": [ + { + "type": 66, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null } ] } }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] + "docs": null }, - "541": { + "698": { "path": null, "def": { - "Sequence": { - "type": 542 - } + "Tuple": [ + 11, + 4 + ] }, "docs": null }, - "542": { + "699": { "path": [ - "pallet_elections_phragmen", - "SeatHolder" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "AccountId", - "type": 0 + "name": "T", + "type": 2 }, { - "name": "Balance", - "type": 6 + "name": "S", + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "who", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "stake", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "Balance", + "type": 12, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -28042,40 +39408,37 @@ }, "docs": null }, - "543": { + "7": { "path": [ - "pallet_elections_phragmen", - "Voter" + "frame_support", + "dispatch", + "PerDispatchClass" ], "params": [ { - "name": "AccountId", - "type": 0 - }, - { - "name": "Balance", - "type": 6 + "name": "T", + "type": 8 } ], "def": { "Composite": { "fields": [ { - "name": "votes", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", + "name": "normal", + "type": 8, + "typeName": "T", "docs": null }, { - "name": "stake", - "type": 6, - "typeName": "Balance", + "name": "operational", + "type": 8, + "typeName": "T", "docs": null }, { - "name": "deposit", - "type": 6, - "typeName": "Balance", + "name": "mandatory", + "type": 8, + "typeName": "T", "docs": null } ] @@ -28083,167 +39446,405 @@ }, "docs": null }, - "544": { + "70": { "path": [ - "pallet_elections_phragmen", + "pallet_referenda", "pallet", - "Error" + "Event" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "UnableToVote", - "fields": null, + "name": "Submitted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "track", + "type": 71, + "typeName": "TrackIdOf\u003cT, I\u003e", + "docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT, I\u003e", + "docs": [ + "The proposal for the referendum." + ] + } + ], "index": 0, "docs": [ - "Cannot vote when no candidates or members exist." + "A referendum has been submitted." ] }, { - "name": "NoVotes", - "fields": null, + "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\u003cT, I\u003e", + "docs": [ + "The amount placed by the account." + ] + } + ], "index": 1, "docs": [ - "Must vote for at least one candidate." + "The decision deposit has been placed." ] }, { - "name": "TooManyVotes", - "fields": null, + "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\u003cT, I\u003e", + "docs": [ + "The amount placed by the account." + ] + } + ], "index": 2, "docs": [ - "Cannot vote more than candidates." + "The decision deposit has been refunded." ] }, { - "name": "MaximumVotesExceeded", - "fields": null, + "name": "DepositSlashed", + "fields": [ + { + "name": "who", + "type": 0, + "typeName": "T::AccountId", + "docs": [ + "The account who placed the deposit." + ] + }, + { + "name": "amount", + "type": 6, + "typeName": "BalanceOf\u003cT, I\u003e", + "docs": [ + "The amount placed by the account." + ] + } + ], "index": 3, "docs": [ - "Cannot vote more than maximum allowed." + "A deposit has been slashaed." ] }, { - "name": "LowBalance", - "fields": null, + "name": "DecisionStarted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "track", + "type": 71, + "typeName": "TrackIdOf\u003cT, I\u003e", + "docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "name": "proposal", + "type": 72, + "typeName": "BoundedCallOf\u003cT, I\u003e", + "docs": [ + "The proposal for the referendum." + ] + }, + { + "name": "tally", + "type": 439, + "typeName": "T::Tally", + "docs": [ + "The current tally of votes in this referendum." + ] + } + ], "index": 4, "docs": [ - "Cannot vote with stake less than minimum balance." + "A referendum has moved into the deciding phase." ] }, { - "name": "UnableToPayBond", - "fields": null, + "name": "ConfirmStarted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + } + ], "index": 5, - "docs": [ - "Voter can not pay voting bond." - ] + "docs": null }, { - "name": "MustBeVoter", - "fields": null, + "name": "ConfirmAborted", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + } + ], "index": 6, - "docs": [ - "Must be a voter." - ] + "docs": null }, { - "name": "ReportSelf", - "fields": null, + "name": "Confirmed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 439, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], "index": 7, "docs": [ - "Cannot report self." + "A referendum has ended its confirmation phase and is ready for approval." ] }, { - "name": "DuplicatedCandidate", - "fields": null, + "name": "Approved", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + } + ], "index": 8, "docs": [ - "Duplicated candidate submission." + "A referendum has been approved and its proposal has been scheduled." ] }, { - "name": "MemberSubmit", - "fields": null, + "name": "Rejected", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 439, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], "index": 9, "docs": [ - "Member cannot re-submit candidacy." + "A proposal has been rejected by referendum." ] }, { - "name": "RunnerUpSubmit", - "fields": null, + "name": "TimedOut", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 439, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], "index": 10, "docs": [ - "Runner cannot re-submit candidacy." + "A referendum has been timed out without being decided." ] }, { - "name": "InsufficientCandidateFunds", - "fields": null, + "name": "Cancelled", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 439, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], "index": 11, "docs": [ - "Candidate does not have enough funds." + "A referendum has been cancelled." ] }, { - "name": "NotMember", - "fields": null, + "name": "Killed", + "fields": [ + { + "name": "index", + "type": 4, + "typeName": "ReferendumIndex", + "docs": [ + "Index of the referendum." + ] + }, + { + "name": "tally", + "type": 439, + "typeName": "T::Tally", + "docs": [ + "The final tally of votes in this referendum." + ] + } + ], "index": 12, "docs": [ - "Not a member." + "A referendum has been killed." ] }, { - "name": "InvalidWitnessData", - "fields": null, + "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\u003cT, I\u003e", + "docs": [ + "The amount placed by the account." + ] + } + ], "index": 13, "docs": [ - "The provided count of number of candidates is incorrect." - ] - }, - { - "name": "InvalidVoteCount", - "fields": null, - "index": 14, - "docs": [ - "The provided count of number of votes is incorrect." - ] - }, - { - "name": "InvalidRenouncing", - "fields": null, - "index": 15, - "docs": [ - "The renouncing origin presented a wrong `Renouncing` parameter." - ] - }, - { - "name": "InvalidReplacement", - "fields": null, - "index": 16, - "docs": [ - "Prediction regarding replacement after member removal is wrong." + "The submission deposit has been refunded." ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "545": { + "700": { "path": [ - "pallet_membership", + "pallet_preimage", "pallet", "Error" ], @@ -28251,42 +39852,70 @@ { "name": "T", "type": 0 - }, - { - "name": "I", - "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "AlreadyMember", + "name": "TooBig", "fields": null, "index": 0, "docs": [ - "Already a member." + "Preimage is too large to store on-chain." ] }, { - "name": "NotMember", + "name": "AlreadyNoted", "fields": null, "index": 1, "docs": [ - "Not a member." + "Preimage has already been noted on-chain." + ] + }, + { + "name": "NotAuthorized", + "fields": null, + "index": 2, + "docs": [ + "The user is not authorized to perform this action." + ] + }, + { + "name": "NotNoted", + "fields": null, + "index": 3, + "docs": [ + "The preimage cannot be removed since it has not yet been noted." + ] + }, + { + "name": "Requested", + "fields": null, + "index": 4, + "docs": [ + "A preimage may not be removed when there are outstanding requests." + ] + }, + { + "name": "NotRequested", + "fields": null, + "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/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "546": { + "701": { "path": [ - "pallet_treasury", - "Proposal" + "pallet_bounties", + "Bounty" ], "params": [ { @@ -28296,6 +39925,10 @@ { "name": "Balance", "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 } ], "def": { @@ -28314,9 +39947,15 @@ "docs": null }, { - "name": "beneficiary", - "type": 0, - "typeName": "AccountId", + "name": "fee", + "type": 6, + "typeName": "Balance", + "docs": null + }, + { + "name": "curator_deposit", + "type": 6, + "typeName": "Balance", "docs": null }, { @@ -28324,35 +39963,109 @@ "type": 6, "typeName": "Balance", "docs": null + }, + { + "name": "status", + "type": 702, + "typeName": "BountyStatus\u003cAccountId, BlockNumber\u003e", + "docs": null } ] } }, "docs": null }, - "547": { + "702": { "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" + "pallet_bounties", + "BountyStatus" ], "params": [ { - "name": "T", - "type": 4 + "name": "AccountId", + "type": 0 }, { - "name": "S", - "type": 0 + "name": "BlockNumber", + "type": 4 } ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "type": 212, - "typeName": "Vec\u003cT\u003e", + "name": "Proposed", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Approved", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "Funded", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "CuratorProposed", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId", + "docs": null + } + ], + "index": 3, + "docs": null + }, + { + "name": "Active", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "update_due", + "type": 4, + "typeName": "BlockNumber", + "docs": null + } + ], + "index": 4, + "docs": null + }, + { + "name": "PendingPayout", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "unlock_at", + "type": 4, + "typeName": "BlockNumber", + "docs": null + } + ], + "index": 5, "docs": null } ] @@ -28360,36 +40073,29 @@ }, "docs": null }, - "548": { + "703": { "path": [ - "sp_arithmetic", - "per_things", - "Permill" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], - "def": { - "Composite": { - "fields": [ - { - "type": 4, - "typeName": "u32", - "docs": null - } - ] + "params": [ + { + "name": "T", + "type": 2 + }, + { + "name": "S", + "type": 0 } - }, - "docs": null - }, - "549": { - "path": [ - "frame_support", - "PalletId" ], "def": { "Composite": { "fields": [ { - "type": 126, - "typeName": "[u8; 8]", + "type": 12, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -28397,18 +40103,9 @@ }, "docs": null }, - "55": { - "path": null, - "def": { - "Sequence": { - "type": 56 - } - }, - "docs": null - }, - "550": { + "704": { "path": [ - "pallet_treasury", + "pallet_bounties", "pallet", "Error" ], @@ -28442,250 +40139,135 @@ ] }, { - "name": "TooManyApprovals", + "name": "ReasonTooBig", "fields": null, "index": 2, "docs": [ - "Too many approvals in the queue." + "The reason given is just too big." ] - } - ] - } - }, - "docs": [ - "Error for the treasury pallet." - ] - }, - "551": { - "path": [ - "polkadot_runtime_common", - "claims", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "InvalidEthereumSignature", + "name": "UnexpectedStatus", "fields": null, - "index": 0, + "index": 3, "docs": [ - "Invalid Ethereum signature." + "The bounty status is unexpected." ] }, { - "name": "SignerHasNoClaim", + "name": "RequireCurator", "fields": null, - "index": 1, + "index": 4, "docs": [ - "Ethereum address has no claim." + "Require bounty curator." ] }, { - "name": "SenderHasNoClaim", + "name": "InvalidValue", "fields": null, - "index": 2, + "index": 5, "docs": [ - "Account ID sending transaction has no claim." + "Invalid bounty value." ] }, { - "name": "PotUnderflow", + "name": "InvalidFee", "fields": null, - "index": 3, + "index": 6, "docs": [ - "There's not enough in the pot to pay out some unvested amount. Generally implies a logic", - "error." + "Invalid bounty fee." ] }, { - "name": "InvalidStatement", + "name": "PendingPayout", "fields": null, - "index": 4, + "index": 7, "docs": [ - "A needed statement was not included." + "A bounty payout is pending.", + "To cancel the bounty, you must unassign and slash the curator." ] }, { - "name": "VestedBalanceExists", + "name": "Premature", "fields": null, - "index": 5, + "index": 8, "docs": [ - "The account already has a vested balance." + "The bounties cannot be claimed/closed because it's still in the countdown period." ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "552": { - "path": [ - "pallet_utility", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "TooManyCalls", + "name": "HasActiveChildBounty", "fields": null, - "index": 0, + "index": 9, "docs": [ - "Too many calls batched." + "The bounty cannot be closed because it has active child bounties." + ] + }, + { + "name": "TooManyQueued", + "fields": null, + "index": 10, + "docs": [ + "Too many approvals are already queued." ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "553": { + "705": { "path": [ - "pallet_identity", - "types", - "Registration" + "pallet_child_bounties", + "ChildBounty" ], "params": [ { - "name": "Balance", - "type": 6 + "name": "AccountId", + "type": 0 }, { - "name": "MaxJudgements", - "type": 0 + "name": "Balance", + "type": 6 }, { - "name": "MaxAdditionalFields", - "type": 0 + "name": "BlockNumber", + "type": 4 } ], "def": { "Composite": { "fields": [ { - "name": "judgements", - "type": 554, - "typeName": "BoundedVec\u003c(RegistrarIndex, Judgement\u003cBalance\u003e), MaxJudgements\u003e", + "name": "parent_bounty", + "type": 4, + "typeName": "BountyIndex", "docs": null }, { - "name": "deposit", + "name": "value", "type": 6, "typeName": "Balance", "docs": null }, { - "name": "info", - "type": 325, - "typeName": "IdentityInfo\u003cMaxAdditionalFields\u003e", + "name": "fee", + "type": 6, + "typeName": "Balance", "docs": null - } - ] - } - }, - "docs": null - }, - "554": { - "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 555 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "type": 556, - "typeName": "Vec\u003cT\u003e", + "name": "curator_deposit", + "type": 6, + "typeName": "Balance", "docs": null - } - ] - } - }, - "docs": null - }, - "555": { - "path": null, - "def": { - "Tuple": [ - 4, - 363 - ] - }, - "docs": null - }, - "556": { - "path": null, - "def": { - "Sequence": { - "type": 555 - } - }, - "docs": null - }, - "557": { - "path": null, - "def": { - "Tuple": [ - 6, - 558 - ] - }, - "docs": null - }, - "558": { - "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "type": 47, - "typeName": "Vec\u003cT\u003e", + "name": "status", + "type": 706, + "typeName": "ChildBountyStatus\u003cAccountId, BlockNumber\u003e", "docs": null } ] @@ -28693,117 +40275,79 @@ }, "docs": null }, - "559": { + "706": { "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" + "pallet_child_bounties", + "ChildBountyStatus" ], "params": [ { - "name": "T", - "type": 560 - }, - { - "name": "S", + "name": "AccountId", "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 562, - "typeName": "Vec\u003cT\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "56": { - "path": null, - "def": { - "Tuple": [ - 0, - 6 - ] - }, - "docs": null - }, - "560": { - "path": [ - "Option" - ], - "params": [ + }, { - "name": "T", - "type": 561 + "name": "BlockNumber", + "type": 4 } ], "def": { "Variant": { "variants": [ { - "name": "None", + "name": "Added", "fields": null, "index": 0, "docs": null }, { - "name": "Some", + "name": "CuratorProposed", "fields": [ { - "type": 561, - "typeName": "", + "name": "curator", + "type": 0, + "typeName": "AccountId", "docs": null } ], "index": 1, "docs": null - } - ] - } - }, - "docs": null - }, - "561": { - "path": [ - "pallet_identity", - "types", - "RegistrarInfo" - ], - "params": [ - { - "name": "Balance", - "type": 6 - }, - { - "name": "AccountId", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "AccountId", - "docs": null }, { - "name": "fee", - "type": 6, - "typeName": "Balance", + "name": "Active", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId", + "docs": null + } + ], + "index": 2, "docs": null }, { - "name": "fields", - "type": 361, - "typeName": "IdentityFields", + "name": "PendingPayout", + "fields": [ + { + "name": "curator", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "beneficiary", + "type": 0, + "typeName": "AccountId", + "docs": null + }, + { + "name": "unlock_at", + "type": 4, + "typeName": "BlockNumber", + "docs": null + } + ], + "index": 3, "docs": null } ] @@ -28811,18 +40355,9 @@ }, "docs": null }, - "562": { - "path": null, - "def": { - "Sequence": { - "type": 560 - } - }, - "docs": null - }, - "563": { + "707": { "path": [ - "pallet_identity", + "pallet_child_bounties", "pallet", "Error" ], @@ -28836,183 +40371,220 @@ "Variant": { "variants": [ { - "name": "TooManySubAccounts", + "name": "ParentBountyNotActive", "fields": null, "index": 0, "docs": [ - "Too many subs-accounts." + "The parent bounty is not in active state." ] }, { - "name": "NotFound", + "name": "InsufficientBountyBalance", "fields": null, "index": 1, "docs": [ - "Account isn't found." + "The bounty balance is not enough to add new child-bounty." ] }, { - "name": "NotNamed", + "name": "TooManyChildBounties", "fields": null, "index": 2, "docs": [ - "Account isn't named." + "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" + ] + }, + "708": { + "path": [ + "pallet_tips", + "OpenTip" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "BlockNumber", + "type": 4 + }, + { + "name": "Hash", + "type": 11 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "EmptyIndex", - "fields": null, - "index": 3, - "docs": [ - "Empty index." - ] + "name": "reason", + "type": 11, + "typeName": "Hash", + "docs": null }, { - "name": "FeeChanged", - "fields": null, - "index": 4, - "docs": [ - "Fee is changed." - ] + "name": "who", + "type": 0, + "typeName": "AccountId", + "docs": null }, { - "name": "NoIdentity", - "fields": null, - "index": 5, - "docs": [ - "No identity found." - ] + "name": "finder", + "type": 0, + "typeName": "AccountId", + "docs": null }, { - "name": "StickyJudgement", - "fields": null, - "index": 6, - "docs": [ - "Sticky judgement." - ] + "name": "deposit", + "type": 6, + "typeName": "Balance", + "docs": null }, { - "name": "JudgementGiven", - "fields": null, - "index": 7, - "docs": [ - "Judgement given." - ] + "name": "closes", + "type": 134, + "typeName": "Option\u003cBlockNumber\u003e", + "docs": null }, { - "name": "InvalidJudgement", - "fields": null, - "index": 8, - "docs": [ - "Invalid judgement." - ] + "name": "tips", + "type": 65, + "typeName": "Vec\u003c(AccountId, Balance)\u003e", + "docs": null }, { - "name": "InvalidIndex", - "fields": null, - "index": 9, - "docs": [ - "The index is invalid." - ] - }, + "name": "finders_fee", + "type": 37, + "typeName": "bool", + "docs": null + } + ] + } + }, + "docs": null + }, + "709": { + "path": [ + "pallet_tips", + "pallet", + "Error" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "InvalidTarget", + "name": "ReasonTooBig", "fields": null, - "index": 10, + "index": 0, "docs": [ - "The target is invalid." + "The reason given is just too big." ] }, { - "name": "TooManyFields", + "name": "AlreadyKnown", "fields": null, - "index": 11, + "index": 1, "docs": [ - "Too many additional fields." + "The tip was already found/started." ] }, { - "name": "TooManyRegistrars", + "name": "UnknownTip", "fields": null, - "index": 12, + "index": 2, "docs": [ - "Maximum amount of registrars reached. Cannot add any more." + "The tip hash is unknown." ] }, { - "name": "AlreadyClaimed", + "name": "NotFinder", "fields": null, - "index": 13, + "index": 3, "docs": [ - "Account ID is already named." + "The account attempting to retract the tip is not the finder of the tip." ] }, { - "name": "NotSub", + "name": "StillOpen", "fields": null, - "index": 14, + "index": 4, "docs": [ - "Sender is not a sub-account." + "The tip cannot be claimed/closed because there are not enough tippers yet." ] }, { - "name": "NotOwned", + "name": "Premature", "fields": null, - "index": 15, + "index": 5, "docs": [ - "Sub-account isn't owned by sender." + "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/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "564": { + "71": { "path": null, "def": { - "Sequence": { - "type": 565 - } + "Primitive": "U16" }, "docs": null }, - "565": { + "710": { "path": [ - "pallet_society", - "Bid" + "pallet_election_provider_multi_phase", + "ReadySolution" ], "params": [ { - "name": "AccountId", + "name": "T", "type": 0 - }, - { - "name": "Balance", - "type": 6 } ], "def": { "Composite": { "fields": [ { - "name": "who", - "type": 0, - "typeName": "AccountId", + "name": "supports", + "type": 711, + "typeName": "BoundedSupports\u003cT::AccountId, T::MaxWinners\u003e", "docs": null }, { - "name": "kind", - "type": 566, - "typeName": "BidKind\u003cAccountId, Balance\u003e", + "name": "score", + "type": 316, + "typeName": "ElectionScore", "docs": null }, { - "name": "value", - "type": 6, - "typeName": "Balance", + "name": "compute", + "type": 464, + "typeName": "ElectionCompute", "docs": null } ] @@ -29020,51 +40592,29 @@ }, "docs": null }, - "566": { + "711": { "path": [ - "pallet_society", - "BidKind" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "AccountId", - "type": 0 + "name": "T", + "type": 320 }, { - "name": "Balance", - "type": 6 + "name": "S", + "type": 0 } ], "def": { - "Variant": { - "variants": [ - { - "name": "Deposit", - "fields": [ - { - "type": 6, - "typeName": "Balance", - "docs": null - } - ], - "index": 0, - "docs": null - }, + "Composite": { + "fields": [ { - "name": "Vouch", - "fields": [ - { - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "Balance", - "docs": null - } - ], - "index": 1, + "type": 319, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -29072,34 +40622,30 @@ }, "docs": null }, - "567": { - "path": null, - "def": { - "Tuple": [ - 6, - 566 - ] - }, - "docs": null - }, - "568": { + "712": { "path": [ - "pallet_society", - "VouchingStatus" + "pallet_election_provider_multi_phase", + "RoundSnapshot" + ], + "params": [ + { + "name": "T", + "type": 0 + } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Vouching", - "fields": null, - "index": 0, + "name": "voters", + "type": 713, + "typeName": "Vec\u003cVoterOf\u003cT\u003e\u003e", "docs": null }, { - "name": "Banned", - "fields": null, - "index": 1, + "name": "targets", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", "docs": null } ] @@ -29107,133 +40653,121 @@ }, "docs": null }, - "569": { + "713": { "path": null, "def": { "Sequence": { - "type": 570 + "type": 714 } }, "docs": null }, - "57": { + "714": { + "path": null, + "def": { + "Tuple": [ + 0, + 10, + 540 + ] + }, + "docs": null + }, + "715": { "path": [ - "pallet_membership", - "pallet", - "Event" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { "name": "T", - "type": 0 + "type": 716 }, { - "name": "I", + "name": "S", "type": 0 } ], "def": { - "Variant": { - "variants": [ - { - "name": "MemberAdded", - "fields": null, - "index": 0, - "docs": [ - "The given member was added; see the transaction for who." - ] - }, - { - "name": "MemberRemoved", - "fields": null, - "index": 1, - "docs": [ - "The given member was removed; see the transaction for who." - ] - }, - { - "name": "MembersSwapped", - "fields": null, - "index": 2, - "docs": [ - "Two members were swapped; see the transaction for who." - ] - }, - { - "name": "MembersReset", - "fields": null, - "index": 3, - "docs": [ - "The membership was reset; see the transaction for who the new set is." - ] - }, - { - "name": "KeyChanged", - "fields": null, - "index": 4, - "docs": [ - "One of the members' keys changed." - ] - }, + "Composite": { + "fields": [ { - "name": "Dummy", - "fields": null, - "index": 5, - "docs": [ - "Phantom member, never used." - ] + "type": 717, + "typeName": "Vec\u003cT\u003e", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "570": { + "716": { "path": null, "def": { "Tuple": [ + 316, 4, - 6 + 4 ] }, "docs": null }, - "571": { + "717": { "path": null, "def": { - "Tuple": [ - 0, - 0 - ] + "Sequence": { + "type": 716 + } }, "docs": null }, - "572": { + "718": { "path": [ - "pallet_society", - "Vote" + "pallet_election_provider_multi_phase", + "signed", + "SignedSubmission" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "Balance", + "type": 6 + }, + { + "name": "Solution", + "type": 241 + } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Skeptic", - "fields": null, - "index": 0, + "name": "who", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "Reject", - "fields": null, - "index": 1, + "name": "deposit", + "type": 6, + "typeName": "Balance", "docs": null }, { - "name": "Approve", - "fields": null, - "index": 2, + "name": "raw_solution", + "type": 240, + "typeName": "RawSolution\u003cSolution\u003e", + "docs": null + }, + { + "name": "call_fee", + "type": 6, + "typeName": "Balance", "docs": null } ] @@ -29241,9 +40775,9 @@ }, "docs": null }, - "573": { + "719": { "path": [ - "pallet_society", + "pallet_election_provider_multi_phase", "pallet", "Error" ], @@ -29251,210 +40785,337 @@ { "name": "T", "type": 0 - }, - { - "name": "I", - "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "BadPosition", + "name": "PreDispatchEarlySubmission", "fields": null, "index": 0, "docs": [ - "An incorrect position was provided." + "Submission was too early." ] }, { - "name": "NotMember", + "name": "PreDispatchWrongWinnerCount", "fields": null, "index": 1, "docs": [ - "User is not a member." + "Wrong number of winners presented." ] }, { - "name": "AlreadyMember", + "name": "PreDispatchWeakSubmission", "fields": null, "index": 2, "docs": [ - "User is already a member." + "Submission was too weak, score-wise." ] }, { - "name": "Suspended", + "name": "SignedQueueFull", "fields": null, "index": 3, "docs": [ - "User is suspended." + "The queue was full, and the solution was not better than any of the existing ones." ] }, { - "name": "NotSuspended", + "name": "SignedCannotPayDeposit", "fields": null, "index": 4, "docs": [ - "User is not suspended." + "The origin failed to pay the deposit." ] }, { - "name": "NoPayout", + "name": "SignedInvalidWitness", "fields": null, "index": 5, "docs": [ - "Nothing to payout." + "Witness data to dispatchable is invalid." ] }, { - "name": "AlreadyFounded", + "name": "SignedTooMuchWeight", "fields": null, "index": 6, "docs": [ - "Society already founded." + "The signed submission consumes too much weight" ] }, { - "name": "InsufficientPot", + "name": "OcwCallWrongEra", "fields": null, "index": 7, "docs": [ - "Not enough in pot to accept candidate." + "OCW submitted solution for wrong round" ] }, { - "name": "AlreadyVouching", + "name": "MissingSnapshotMetadata", "fields": null, "index": 8, "docs": [ - "Member is already vouching or banned from vouching again." + "Snapshot metadata should exist but didn't." ] }, { - "name": "NotVouching", + "name": "InvalidSubmissionIndex", "fields": null, "index": 9, "docs": [ - "Member is not vouching." + "`Self::insert_submission` returned an invalid index." ] }, { - "name": "Head", + "name": "CallNotAllowed", "fields": null, "index": 10, "docs": [ - "Cannot remove the head of the chain." + "The call is not allowed at this point." ] }, { - "name": "Founder", + "name": "FallbackFailed", "fields": null, "index": 11, "docs": [ - "Cannot remove the founder." + "The fallback failed" ] }, { - "name": "AlreadyBid", + "name": "BoundNotMet", "fields": null, "index": 12, "docs": [ - "User has already made a bid." + "Some bound not met" ] }, { - "name": "AlreadyCandidate", + "name": "TooManyWinners", "fields": null, "index": 13, "docs": [ - "User is already a candidate." + "Submitted solution has too many winners" ] - }, + } + ] + } + }, + "docs": [ + "Error of the pallet that can be returned in response to dispatches." + ] + }, + "72": { + "path": [ + "frame_support", + "traits", + "preimages", + "Bounded" + ], + "params": [ + { + "name": "T", + "type": 73 + } + ], + "def": { + "Variant": { + "variants": [ { - "name": "NotCandidate", - "fields": null, - "index": 14, - "docs": [ - "User is not a candidate." - ] + "name": "Legacy", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "Hash", + "docs": null + } + ], + "index": 0, + "docs": null }, { - "name": "MaxMembers", - "fields": null, - "index": 15, - "docs": [ - "Too many members in the society." - ] + "name": "Inline", + "fields": [ + { + "type": 438, + "typeName": "BoundedInline", + "docs": null + } + ], + "index": 1, + "docs": null }, { - "name": "NotFounder", - "fields": null, - "index": 16, - "docs": [ - "The caller is not the founder." - ] + "name": "Lookup", + "fields": [ + { + "name": "hash", + "type": 11, + "typeName": "Hash", + "docs": null + }, + { + "name": "len", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "index": 2, + "docs": null + } + ] + } + }, + "docs": null + }, + "720": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 630 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 631, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "721": { + "path": [ + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 722 + }, + { + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 723, + "typeName": "Vec\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "722": { + "path": [ + "pallet_nis", + "pallet", + "Bid" + ], + "params": [ + { + "name": "Balance", + "type": 6 + }, + { + "name": "AccountId", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "amount", + "type": 6, + "typeName": "Balance", + "docs": null }, { - "name": "NotHead", - "fields": null, - "index": 17, - "docs": [ - "The caller is not the head." - ] + "name": "who", + "type": 0, + "typeName": "AccountId", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] + "docs": null + }, + "723": { + "path": null, + "def": { + "Sequence": { + "type": 722 + } + }, + "docs": null }, - "574": { + "724": { "path": [ - "pallet_recovery", - "RecoveryConfig" + "pallet_nis", + "pallet", + "SummaryRecord" ], "params": [ { "name": "BlockNumber", "type": 4 - }, - { - "name": "Balance", - "type": 6 - }, - { - "name": "AccountId", - "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "delay_period", - "type": 4, - "typeName": "BlockNumber", + "name": "proportion_owed", + "type": 468, + "typeName": "Perquintill", "docs": null }, { - "name": "deposit", - "type": 6, - "typeName": "Balance", + "name": "index", + "type": 4, + "typeName": "ReceiptIndex", "docs": null }, { - "name": "friends", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", + "name": "thawed", + "type": 468, + "typeName": "Perquintill", "docs": null }, { - "name": "threshold", - "type": 72, - "typeName": "u16", + "name": "last_period", + "type": 4, + "typeName": "BlockNumber", "docs": null } ] @@ -29462,44 +41123,41 @@ }, "docs": null }, - "575": { + "725": { "path": [ - "pallet_recovery", - "ActiveRecovery" + "pallet_nis", + "pallet", + "ReceiptRecord" ], "params": [ - { - "name": "BlockNumber", - "type": 4 - }, - { - "name": "Balance", - "type": 6 - }, { "name": "AccountId", "type": 0 + }, + { + "name": "BlockNumber", + "type": 4 } ], "def": { "Composite": { "fields": [ { - "name": "created", - "type": 4, - "typeName": "BlockNumber", + "name": "proportion", + "type": 468, + "typeName": "Perquintill", "docs": null }, { - "name": "deposit", - "type": 6, - "typeName": "Balance", + "name": "who", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "friends", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", + "name": "expiry", + "type": 4, + "typeName": "BlockNumber", "docs": null } ] @@ -29507,9 +41165,19 @@ }, "docs": null }, - "576": { + "726": { + "path": null, + "def": { + "Tuple": [ + 468, + 4 + ] + }, + "docs": null + }, + "727": { "path": [ - "pallet_recovery", + "pallet_nis", "pallet", "Error" ], @@ -29523,151 +41191,128 @@ "Variant": { "variants": [ { - "name": "NotAllowed", + "name": "DurationTooSmall", "fields": null, "index": 0, "docs": [ - "User is not allowed to make a call on behalf of this account" + "The duration of the bid is less than one." ] }, { - "name": "ZeroThreshold", + "name": "DurationTooBig", "fields": null, "index": 1, "docs": [ - "Threshold must be greater than zero" + "The duration is the bid is greater than the number of queues." ] }, { - "name": "NotEnoughFriends", + "name": "AmountTooSmall", "fields": null, "index": 2, "docs": [ - "Friends list must be greater than zero and threshold" + "The amount of the bid is less than the minimum allowed." ] }, { - "name": "MaxFriends", + "name": "BidTooLow", "fields": null, "index": 3, "docs": [ - "Friends list must be less than max friends" + "The queue for the bid's duration is full and the amount bid is too low to get in", + "through replacing an existing bid." ] }, { - "name": "NotSorted", + "name": "Unknown", "fields": null, "index": 4, "docs": [ - "Friends list must be sorted and free of duplicates" + "Bond index is unknown." ] }, { - "name": "NotRecoverable", + "name": "NotOwner", "fields": null, "index": 5, "docs": [ - "This account is not set up for recovery" + "Not the owner of the receipt." ] }, { - "name": "AlreadyRecoverable", + "name": "NotExpired", "fields": null, "index": 6, "docs": [ - "This account is already set up for recovery" + "Bond not yet at expiry date." ] }, { - "name": "AlreadyStarted", + "name": "NotFound", "fields": null, "index": 7, "docs": [ - "A recovery process has already started for this account" + "The given bid for retraction is not found." ] }, { - "name": "NotStarted", + "name": "TooMuch", "fields": null, "index": 8, "docs": [ - "A recovery process has not started for this rescuer" + "The portion supplied is beyond the value of the receipt." ] }, { - "name": "NotFriend", + "name": "Unfunded", "fields": null, "index": 9, "docs": [ - "This account is not a friend who can vouch" + "Not enough funds are held to pay out." ] }, { - "name": "DelayPeriod", + "name": "Funded", "fields": null, "index": 10, "docs": [ - "The friend must wait until the delay period to vouch for this recovery" + "There are enough funds for what is required." ] }, { - "name": "AlreadyVouched", + "name": "Throttled", "fields": null, "index": 11, "docs": [ - "This user has already vouched for this recovery" + "The thaw throttle has been reached for this period." ] }, { - "name": "Threshold", + "name": "MakesDust", "fields": null, "index": 12, "docs": [ - "The threshold for recovering this account has not been met" - ] - }, - { - "name": "StillActive", - "fields": null, - "index": 13, - "docs": [ - "There are still active recovery attempts that need to be closed" - ] - }, - { - "name": "AlreadyProxy", - "fields": null, - "index": 14, - "docs": [ - "This account is already set up for recovery" - ] - }, - { - "name": "BadState", - "fields": null, - "index": 15, - "docs": [ - "Some internal state is broken." + "The operation would result in a receipt worth an insignficant value." ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "577": { + "728": { "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" + "sp_core", + "bounded", + "weak_bounded_vec", + "WeakBoundedVec" ], "params": [ { "name": "T", - "type": 368 + "type": 521 }, { "name": "S", @@ -29678,7 +41323,7 @@ "Composite": { "fields": [ { - "type": 578, + "type": 523, "typeName": "Vec\u003cT\u003e", "docs": null } @@ -29687,33 +41332,29 @@ }, "docs": null }, - "578": { - "path": null, - "def": { - "Sequence": { - "type": 368 - } - }, - "docs": null - }, - "579": { + "729": { "path": [ - "pallet_vesting", - "Releases" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 525 + }, + { + "name": "S", + "type": 0 + } ], "def": { - "Variant": { - "variants": [ - { - "name": "V0", - "fields": null, - "index": 0, - "docs": null - }, + "Composite": { + "fields": [ { - "name": "V1", - "fields": null, - "index": 1, + "type": 526, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -29721,769 +41362,672 @@ }, "docs": null }, - "58": { + "73": { "path": [ - "pallet_treasury", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 - } + "kusama_runtime", + "RuntimeCall" ], "def": { "Variant": { "variants": [ { - "name": "Proposed", + "name": "System", "fields": [ { - "type": 4, - "typeName": "ProposalIndex", + "type": 74, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSystem, Runtime\u003e", "docs": null } ], "index": 0, - "docs": [ - "New proposal. \\[proposal_index\\]" - ] + "docs": null }, { - "name": "Spending", + "name": "Babe", "fields": [ { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "type": 78, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cBabe, Runtime\u003e", "docs": null } ], "index": 1, - "docs": [ - "We have ended a spend period and will now allocate funds. \\[budget_remaining\\]" - ] + "docs": null }, { - "name": "Awarded", + "name": "Timestamp", "fields": [ { - "type": 4, - "typeName": "ProposalIndex", + "type": 89, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTimestamp, Runtime\u003e", "docs": null - }, + } + ], + "index": 2, + "docs": null + }, + { + "name": "Indices", + "fields": [ { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "type": 90, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cIndices, Runtime\u003e", "docs": null - }, + } + ], + "index": 3, + "docs": null + }, + { + "name": "Balances", + "fields": [ { - "type": 0, - "typeName": "T::AccountId", + "type": 94, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cBalances, Runtime\u003e", "docs": null } ], - "index": 2, - "docs": [ - "Some funds have been allocated. \\[proposal_index, award, beneficiary\\]" - ] + "index": 4, + "docs": null }, { - "name": "Rejected", + "name": "Authorship", "fields": [ { - "type": 4, - "typeName": "ProposalIndex", + "type": 95, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cAuthorship, Runtime\u003e", "docs": null - }, + } + ], + "index": 5, + "docs": null + }, + { + "name": "Staking", + "fields": [ { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "type": 97, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cStaking, Runtime\u003e", "docs": null } ], - "index": 3, - "docs": [ - "A proposal was rejected; funds were slashed. \\[proposal_index, slashed\\]" - ] + "index": 6, + "docs": null }, { - "name": "Burnt", + "name": "Session", "fields": [ { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "type": 107, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSession, Runtime\u003e", "docs": null } ], - "index": 4, - "docs": [ - "Some of our funds have been burnt. \\[burn\\]" - ] + "index": 8, + "docs": null }, { - "name": "Rollover", + "name": "Grandpa", "fields": [ { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "type": 112, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cGrandpa, Runtime\u003e", "docs": null } ], - "index": 5, - "docs": [ - "Spending has finished; this is the amount that rolls over until next spend.", - "\\[budget_remaining\\]" - ] + "index": 10, + "docs": null }, { - "name": "Deposit", + "name": "ImOnline", "fields": [ { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", + "type": 124, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cImOnline, Runtime\u003e", "docs": null } ], - "index": 6, - "docs": [ - "Some funds have been deposited. \\[deposit\\]" - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "580": { - "path": [ - "pallet_vesting", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "index": 11, + "docs": null + }, { - "name": "NotVesting", - "fields": null, - "index": 0, - "docs": [ - "The account given is not vesting." - ] + "name": "Democracy", + "fields": [ + { + "type": 132, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cDemocracy, Runtime\u003e", + "docs": null + } + ], + "index": 13, + "docs": null }, { - "name": "AtMaxVestingSchedules", - "fields": null, - "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": "Council", + "fields": [ + { + "type": 135, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cCouncil, Runtime\u003e", + "docs": null + } + ], + "index": 14, + "docs": null }, { - "name": "AmountLow", - "fields": null, - "index": 2, - "docs": [ - "Amount being transferred is too low to create a vesting schedule." - ] + "name": "TechnicalCommittee", + "fields": [ + { + "type": 139, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTechnicalCommittee, Runtime\u003e", + "docs": null + } + ], + "index": 15, + "docs": null }, { - "name": "ScheduleIndexOutOfBounds", - "fields": null, - "index": 3, - "docs": [ - "An index was out of bounds of the vesting schedules." - ] + "name": "PhragmenElection", + "fields": [ + { + "type": 140, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cPhragmenElection, Runtime\u003e", + "docs": null + } + ], + "index": 16, + "docs": null }, { - "name": "InvalidScheduleParams", - "fields": null, - "index": 4, - "docs": [ - "Failed to create a new schedule because some parameter was invalid." - ] - } - ] - } - }, - "docs": [ - "Error for the vesting pallet." - ] - }, - "581": { - "path": null, - "def": { - "Sequence": { - "type": 582 - } - }, - "docs": null - }, - "582": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 583 - } - ], - "def": { - "Variant": { - "variants": [ + "name": "TechnicalMembership", + "fields": [ + { + "type": 142, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTechnicalMembership, Runtime\u003e", + "docs": null + } + ], + "index": 17, + "docs": null + }, { - "name": "None", - "fields": null, - "index": 0, + "name": "Treasury", + "fields": [ + { + "type": 143, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTreasury, Runtime\u003e", + "docs": null + } + ], + "index": 18, + "docs": null + }, + { + "name": "ConvictionVoting", + "fields": [ + { + "type": 144, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cConvictionVoting, Runtime\u003e", + "docs": null + } + ], + "index": 20, + "docs": null + }, + { + "name": "Referenda", + "fields": [ + { + "type": 149, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cReferenda, Runtime\u003e", + "docs": null + } + ], + "index": 21, + "docs": null + }, + { + "name": "FellowshipCollective", + "fields": [ + { + "type": 167, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cFellowshipCollective, Runtime\u003e", + "docs": null + } + ], + "index": 22, + "docs": null + }, + { + "name": "FellowshipReferenda", + "fields": [ + { + "type": 168, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cFellowshipReferenda, Runtime\u003e", + "docs": null + } + ], + "index": 23, + "docs": null + }, + { + "name": "Whitelist", + "fields": [ + { + "type": 169, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cWhitelist, Runtime\u003e", + "docs": null + } + ], + "index": 44, + "docs": null + }, + { + "name": "Claims", + "fields": [ + { + "type": 170, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cClaims, Runtime\u003e", + "docs": null + } + ], + "index": 19, "docs": null }, { - "name": "Some", + "name": "Utility", "fields": [ { - "type": 583, - "typeName": "", + "type": 178, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cUtility, Runtime\u003e", "docs": null } ], - "index": 1, + "index": 24, "docs": null - } - ] - } - }, - "docs": null - }, - "583": { - "path": [ - "pallet_scheduler", - "ScheduledV2" - ], - "params": [ - { - "name": "Call", - "type": 301 - }, - { - "name": "BlockNumber", - "type": 4 - }, - { - "name": "PalletsOrigin", - "type": 317 - }, - { - "name": "AccountId", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "maybe_id", - "type": 69, - "typeName": "Option\u003cVec\u003cu8\u003e\u003e", + "name": "Identity", + "fields": [ + { + "type": 180, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cIdentity, Runtime\u003e", + "docs": null + } + ], + "index": 25, "docs": null }, { - "name": "priority", - "type": 2, - "typeName": "schedule::Priority", + "name": "Society", + "fields": [ + { + "type": 221, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSociety, Runtime\u003e", + "docs": null + } + ], + "index": 26, "docs": null }, { - "name": "call", - "type": 301, - "typeName": "Call", + "name": "Recovery", + "fields": [ + { + "type": 223, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cRecovery, Runtime\u003e", + "docs": null + } + ], + "index": 27, "docs": null }, { - "name": "maybe_periodic", - "type": 370, - "typeName": "Option\u003cschedule::Period\u003cBlockNumber\u003e\u003e", + "name": "Vesting", + "fields": [ + { + "type": 224, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cVesting, Runtime\u003e", + "docs": null + } + ], + "index": 28, "docs": null }, { - "name": "origin", - "type": 317, - "typeName": "PalletsOrigin", + "name": "Scheduler", + "fields": [ + { + "type": 226, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cScheduler, Runtime\u003e", + "docs": null + } + ], + "index": 29, "docs": null - } - ] - } - }, - "docs": null - }, - "584": { - "path": [ - "pallet_scheduler", - "Releases" - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "V1", - "fields": null, - "index": 0, + "name": "Proxy", + "fields": [ + { + "type": 229, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cProxy, Runtime\u003e", + "docs": null + } + ], + "index": 30, "docs": null }, { - "name": "V2", - "fields": null, - "index": 1, + "name": "Multisig", + "fields": [ + { + "type": 232, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cMultisig, Runtime\u003e", + "docs": null + } + ], + "index": 31, "docs": null - } - ] - } - }, - "docs": null - }, - "585": { - "path": [ - "pallet_scheduler", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "FailedToSchedule", - "fields": null, - "index": 0, - "docs": [ - "Failed to schedule a call" - ] }, { - "name": "NotFound", - "fields": null, - "index": 1, - "docs": [ - "Cannot find the scheduled call." - ] + "name": "Preimage", + "fields": [ + { + "type": 235, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cPreimage, Runtime\u003e", + "docs": null + } + ], + "index": 32, + "docs": null }, { - "name": "TargetBlockNumberInPast", - "fields": null, - "index": 2, - "docs": [ - "Given target block number is in the past." - ] + "name": "Bounties", + "fields": [ + { + "type": 236, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cBounties, Runtime\u003e", + "docs": null + } + ], + "index": 35, + "docs": null }, { - "name": "RescheduleNoChange", - "fields": null, - "index": 3, - "docs": [ - "Reschedule failed because it does not change scheduled time." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "586": { - "path": null, - "def": { - "Tuple": [ - 587, - 6 - ] - }, - "docs": null - }, - "587": { - "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 588 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + "name": "ChildBounties", + "fields": [ + { + "type": 237, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cChildBounties, Runtime\u003e", + "docs": null + } + ], + "index": 40, + "docs": null + }, { - "type": 589, - "typeName": "Vec\u003cT\u003e", + "name": "Tips", + "fields": [ + { + "type": 238, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cTips, Runtime\u003e", + "docs": null + } + ], + "index": 36, "docs": null - } - ] - } - }, - "docs": null - }, - "588": { - "path": [ - "pallet_proxy", - "ProxyDefinition" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - }, - { - "name": "ProxyType", - "type": 71 - }, - { - "name": "BlockNumber", - "type": 4 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "delegate", - "type": 0, - "typeName": "AccountId", + "name": "ElectionProviderMultiPhase", + "fields": [ + { + "type": 239, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cElectionProviderMultiPhase, Runtime\u003e", + "docs": null + } + ], + "index": 37, "docs": null }, { - "name": "proxy_type", - "type": 71, - "typeName": "ProxyType", + "name": "Nis", + "fields": [ + { + "type": 322, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cNis, Runtime\u003e", + "docs": null + } + ], + "index": 38, "docs": null }, { - "name": "delay", - "type": 4, - "typeName": "BlockNumber", + "name": "NisCounterpartBalances", + "fields": [ + { + "type": 324, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cNisCounterpartBalances, Runtime\u003e", + "docs": null + } + ], + "index": 45, "docs": null - } - ] - } - }, - "docs": null - }, - "589": { - "path": null, - "def": { - "Sequence": { - "type": 588 - } - }, - "docs": null - }, - "59": { - "path": [ - "polkadot_runtime_common", - "claims", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "Claimed", + "name": "VoterList", "fields": [ { - "type": 0, - "typeName": "T::AccountId", + "type": 325, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cVoterList, Runtime\u003e", "docs": null - }, + } + ], + "index": 39, + "docs": null + }, + { + "name": "NominationPools", + "fields": [ { - "type": 60, - "typeName": "EthereumAddress", + "type": 326, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cNominationPools, Runtime\u003e", "docs": null - }, + } + ], + "index": 41, + "docs": null + }, + { + "name": "FastUnstake", + "fields": [ { - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 332, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cFastUnstake, Runtime\u003e", "docs": null } ], - "index": 0, - "docs": [ - "Someone claimed some DOTs. `[who, ethereum_address, amount]`" - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "590": { - "path": null, - "def": { - "Tuple": [ - 591, - 6 - ] - }, - "docs": null - }, - "591": { - "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 592 - }, - { - "name": "S", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ + "index": 42, + "docs": null + }, { - "type": 593, - "typeName": "Vec\u003cT\u003e", + "name": "Configuration", + "fields": [ + { + "type": 333, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cConfiguration, Runtime\u003e", + "docs": null + } + ], + "index": 51, "docs": null - } - ] - } - }, - "docs": null - }, - "592": { - "path": [ - "pallet_proxy", - "Announcement" - ], - "params": [ - { - "name": "AccountId", - "type": 0 - }, - { - "name": "Hash", - "type": 9 - }, - { - "name": "BlockNumber", - "type": 4 - } - ], - "def": { - "Composite": { - "fields": [ + }, { - "name": "real", - "type": 0, - "typeName": "AccountId", + "name": "ParasShared", + "fields": [ + { + "type": 334, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParasShared, Runtime\u003e", + "docs": null + } + ], + "index": 52, "docs": null }, { - "name": "call_hash", - "type": 9, - "typeName": "Hash", + "name": "ParaInclusion", + "fields": [ + { + "type": 335, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParaInclusion, Runtime\u003e", + "docs": null + } + ], + "index": 53, "docs": null }, { - "name": "height", - "type": 4, - "typeName": "BlockNumber", + "name": "ParaInherent", + "fields": [ + { + "type": 336, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParaInherent, Runtime\u003e", + "docs": null + } + ], + "index": 54, "docs": null - } - ] - } - }, - "docs": null - }, - "593": { - "path": null, - "def": { - "Sequence": { - "type": 592 - } - }, - "docs": null - }, - "594": { - "path": [ - "pallet_proxy", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "TooMany", - "fields": null, - "index": 0, - "docs": [ - "There are too many proxies registered or too many announcements pending." - ] + "name": "Paras", + "fields": [ + { + "type": 368, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParas, Runtime\u003e", + "docs": null + } + ], + "index": 56, + "docs": null }, { - "name": "NotFound", - "fields": null, - "index": 1, - "docs": [ - "Proxy registration not found." - ] + "name": "Initializer", + "fields": [ + { + "type": 370, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cInitializer, Runtime\u003e", + "docs": null + } + ], + "index": 57, + "docs": null }, { - "name": "NotProxy", - "fields": null, - "index": 2, - "docs": [ - "Sender is not a proxy of the account to be proxied." - ] + "name": "Dmp", + "fields": [ + { + "type": 371, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cDmp, Runtime\u003e", + "docs": null + } + ], + "index": 58, + "docs": null }, { - "name": "Unproxyable", - "fields": null, - "index": 3, - "docs": [ - "A call which is incompatible with the proxy type's filter was attempted." - ] + "name": "Ump", + "fields": [ + { + "type": 372, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cUmp, Runtime\u003e", + "docs": null + } + ], + "index": 59, + "docs": null }, { - "name": "Duplicate", - "fields": null, - "index": 4, - "docs": [ - "Account is already a proxy." - ] + "name": "Hrmp", + "fields": [ + { + "type": 373, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cHrmp, Runtime\u003e", + "docs": null + } + ], + "index": 60, + "docs": null }, { - "name": "NoPermission", - "fields": null, - "index": 5, - "docs": [ - "Call may not be made by proxy because it may escalate its privileges." - ] + "name": "ParasDisputes", + "fields": [ + { + "type": 375, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cParasDisputes, Runtime\u003e", + "docs": null + } + ], + "index": 62, + "docs": null }, { - "name": "Unannounced", - "fields": null, - "index": 6, - "docs": [ - "Announcement, if made at all, was made too recently." - ] + "name": "Registrar", + "fields": [ + { + "type": 376, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cRegistrar, Runtime\u003e", + "docs": null + } + ], + "index": 70, + "docs": null }, { - "name": "NoSelfProxy", - "fields": null, - "index": 7, - "docs": [ - "Cannot add self as proxy." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "595": { - "path": null, - "def": { - "Tuple": [ - 0, - 1 - ] - }, - "docs": null - }, - "596": { - "path": [ - "pallet_multisig", - "Multisig" - ], - "params": [ - { - "name": "BlockNumber", - "type": 4 - }, - { - "name": "Balance", - "type": 6 - }, - { - "name": "AccountId", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "when", - "type": 74, - "typeName": "Timepoint\u003cBlockNumber\u003e", + "name": "Slots", + "fields": [ + { + "type": 377, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cSlots, Runtime\u003e", + "docs": null + } + ], + "index": 71, "docs": null }, { - "name": "deposit", - "type": 6, - "typeName": "Balance", + "name": "Auctions", + "fields": [ + { + "type": 378, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cAuctions, Runtime\u003e", + "docs": null + } + ], + "index": 72, "docs": null }, { - "name": "depositor", - "type": 0, - "typeName": "AccountId", + "name": "Crowdloan", + "fields": [ + { + "type": 380, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cCrowdloan, Runtime\u003e", + "docs": null + } + ], + "index": 73, "docs": null }, { - "name": "approvals", - "type": 47, - "typeName": "Vec\u003cAccountId\u003e", + "name": "XcmPallet", + "fields": [ + { + "type": 388, + "typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor\u003cXcmPallet, Runtime\u003e", + "docs": null + } + ], + "index": 99, "docs": null } ] @@ -30491,20 +42035,9 @@ }, "docs": null }, - "597": { - "path": null, - "def": { - "Tuple": [ - 375, - 0, - 6 - ] - }, - "docs": null - }, - "598": { + "730": { "path": [ - "pallet_multisig", + "pallet_balances", "pallet", "Error" ], @@ -30512,186 +42045,133 @@ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "MinimumThreshold", + "name": "VestingBalance", "fields": null, "index": 0, "docs": [ - "Threshold must be 2 or greater." + "Vesting balance too high to send value" ] }, { - "name": "AlreadyApproved", + "name": "LiquidityRestrictions", "fields": null, "index": 1, "docs": [ - "Call is already approved by this signatory." + "Account liquidity restrictions prevent withdrawal" ] }, { - "name": "NoApprovalsNeeded", + "name": "InsufficientBalance", "fields": null, "index": 2, "docs": [ - "Call doesn't need any (more) approvals." + "Balance too low to send value." ] }, { - "name": "TooFewSignatories", + "name": "ExistentialDeposit", "fields": null, "index": 3, "docs": [ - "There are too few signatories in the list." + "Value too low to create account due to existential deposit" ] }, { - "name": "TooManySignatories", + "name": "KeepAlive", "fields": null, "index": 4, "docs": [ - "There are too many signatories in the list." + "Transfer/payment would kill account" ] }, { - "name": "SignatoriesOutOfOrder", + "name": "ExistingVestingSchedule", "fields": null, "index": 5, "docs": [ - "The signatories were provided out of order; they should be ordered." + "A vesting schedule already exists for this account" ] }, { - "name": "SenderInSignatories", + "name": "DeadAccount", "fields": null, "index": 6, "docs": [ - "The sender was contained in the other signatories; it shouldn't be." + "Beneficiary account must pre-exist" ] }, { - "name": "NotFound", + "name": "TooManyReserves", "fields": null, "index": 7, "docs": [ - "Multisig operation not found when attempting to cancel." - ] - }, - { - "name": "NotOwner", - "fields": null, - "index": 8, - "docs": [ - "Only the account that originally created the multisig is able to cancel it." - ] - }, - { - "name": "NoTimepoint", - "fields": null, - "index": 9, - "docs": [ - "No timepoint was given, yet the multisig operation is already underway." - ] - }, - { - "name": "WrongTimepoint", - "fields": null, - "index": 10, - "docs": [ - "A different timepoint was given to the multisig operation that is underway." - ] - }, - { - "name": "UnexpectedTimepoint", - "fields": null, - "index": 11, - "docs": [ - "A timepoint was given, yet no multisig operation is underway." - ] - }, - { - "name": "MaxWeightTooLow", - "fields": null, - "index": 12, - "docs": [ - "The maximum weight information provided was too low." - ] - }, - { - "name": "AlreadyStored", - "fields": null, - "index": 13, - "docs": [ - "The data to be stored is already stored." + "Number of named reserves exceed MaxReserves" ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "599": { + "731": { "path": [ - "pallet_bounties", - "Bounty" + "pallet_bags_list", + "list", + "Node" ], "params": [ { - "name": "AccountId", + "name": "T", "type": 0 }, { - "name": "Balance", - "type": 6 - }, - { - "name": "BlockNumber", - "type": 4 + "name": "I", + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "proposer", + "name": "id", "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "value", - "type": 6, - "typeName": "Balance", + "typeName": "T::AccountId", "docs": null }, { - "name": "fee", - "type": 6, - "typeName": "Balance", + "name": "prev", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", "docs": null }, { - "name": "curator_deposit", - "type": 6, - "typeName": "Balance", + "name": "next", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", "docs": null }, { - "name": "bond", - "type": 6, - "typeName": "Balance", + "name": "bag_upper", + "type": 10, + "typeName": "T::Score", "docs": null }, { - "name": "status", - "type": 600, - "typeName": "BountyStatus\u003cAccountId, BlockNumber\u003e", + "name": "score", + "type": 10, + "typeName": "T::Score", "docs": null } ] @@ -30699,25 +42179,35 @@ }, "docs": null }, - "6": { - "path": null, - "def": { - "Primitive": "U128" - }, - "docs": null - }, - "60": { + "732": { "path": [ - "polkadot_runtime_common", - "claims", - "EthereumAddress" + "pallet_bags_list", + "list", + "Bag" + ], + "params": [ + { + "name": "T", + "type": 0 + }, + { + "name": "I", + "type": 0 + } ], "def": { "Composite": { "fields": [ { - "type": 61, - "typeName": "[u8; 20]", + "name": "head", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", + "docs": null + }, + { + "name": "tail", + "type": 136, + "typeName": "Option\u003cT::AccountId\u003e", "docs": null } ] @@ -30725,265 +42215,233 @@ }, "docs": null }, - "600": { + "733": { + "path": null, + "def": { + "Sequence": { + "type": 10 + } + }, + "docs": null + }, + "734": { "path": [ - "pallet_bounties", - "BountyStatus" + "pallet_bags_list", + "pallet", + "Error" ], "params": [ { - "name": "AccountId", + "name": "T", "type": 0 }, { - "name": "BlockNumber", - "type": 4 + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "Proposed", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Approved", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "Funded", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "CuratorProposed", - "fields": [ - { - "name": "curator", - "type": 0, - "typeName": "AccountId", - "docs": null - } - ], - "index": 3, - "docs": null - }, - { - "name": "Active", + "name": "List", "fields": [ { - "name": "curator", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "update_due", - "type": 4, - "typeName": "BlockNumber", - "docs": null - } - ], - "index": 4, - "docs": null - }, - { - "name": "PendingPayout", - "fields": [ - { - "name": "curator", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "beneficiary", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "unlock_at", - "type": 4, - "typeName": "BlockNumber", + "type": 735, + "typeName": "ListError", "docs": null } ], - "index": 5, - "docs": null + "index": 0, + "docs": [ + "A error in the list interface implementation." + ] } ] } }, - "docs": null + "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" + ] }, - "601": { + "735": { "path": [ - "pallet_bounties", - "pallet", - "Error" - ], - "params": [ - { - "name": "T", - "type": 0 - } + "pallet_bags_list", + "list", + "ListError" ], "def": { "Variant": { "variants": [ { - "name": "InsufficientProposersBalance", + "name": "Duplicate", "fields": null, "index": 0, - "docs": [ - "Proposer's balance is too low." - ] + "docs": null }, { - "name": "InvalidIndex", + "name": "NotHeavier", "fields": null, "index": 1, - "docs": [ - "No proposal or bounty at that index." - ] + "docs": null }, { - "name": "ReasonTooBig", + "name": "NotInSameBag", "fields": null, "index": 2, - "docs": [ - "The reason given is just too big." - ] + "docs": null }, { - "name": "UnexpectedStatus", + "name": "NodeNotFound", "fields": null, "index": 3, - "docs": [ - "The bounty status is unexpected." - ] - }, - { - "name": "RequireCurator", - "fields": null, - "index": 4, - "docs": [ - "Require bounty curator." - ] - }, + "docs": null + } + ] + } + }, + "docs": null + }, + "736": { + "path": [ + "pallet_nomination_pools", + "PoolMember" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "InvalidValue", - "fields": null, - "index": 5, - "docs": [ - "Invalid bounty value." - ] + "name": "pool_id", + "type": 4, + "typeName": "PoolId", + "docs": null }, { - "name": "InvalidFee", - "fields": null, - "index": 6, - "docs": [ - "Invalid bounty fee." - ] + "name": "points", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null }, { - "name": "PendingPayout", - "fields": null, - "index": 7, - "docs": [ - "A bounty payout is pending.", - "To cancel the bounty, you must unassign and slash the curator." - ] + "name": "last_recorded_reward_counter", + "type": 528, + "typeName": "T::RewardCounter", + "docs": null }, { - "name": "Premature", - "fields": null, - "index": 8, - "docs": [ - "The bounties cannot be claimed/closed because it's still in the countdown period." - ] + "name": "unbonding_eras", + "type": 737, + "typeName": "BoundedBTreeMap\u003cEraIndex, BalanceOf\u003cT\u003e, T::MaxUnbonding\u003e", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] + "docs": null }, - "602": { + "737": { "path": [ - "pallet_tips", - "OpenTip" + "sp_core", + "bounded", + "bounded_btree_map", + "BoundedBTreeMap" ], "params": [ { - "name": "AccountId", - "type": 0 + "name": "K", + "type": 4 }, { - "name": "Balance", + "name": "V", "type": 6 }, { - "name": "BlockNumber", + "name": "S", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 738, + "typeName": "BTreeMap\u003cK, V\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "738": { + "path": [ + "BTreeMap" + ], + "params": [ + { + "name": "K", "type": 4 }, { - "name": "Hash", - "type": 9 + "name": "V", + "type": 6 } ], "def": { "Composite": { "fields": [ { - "name": "reason", - "type": 9, - "typeName": "Hash", - "docs": null - }, - { - "name": "who", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "finder", - "type": 0, - "typeName": "AccountId", + "type": 631, + "typeName": "", "docs": null - }, + } + ] + } + }, + "docs": null + }, + "739": { + "path": [ + "pallet_nomination_pools", + "BondedPoolInner" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ { - "name": "deposit", + "name": "points", "type": 6, - "typeName": "Balance", + "typeName": "BalanceOf\u003cT\u003e", "docs": null }, { - "name": "closes", - "type": 235, - "typeName": "Option\u003cBlockNumber\u003e", + "name": "state", + "type": 328, + "typeName": "PoolState", "docs": null }, { - "name": "tips", - "type": 55, - "typeName": "Vec\u003c(AccountId, Balance)\u003e", + "name": "member_counter", + "type": 4, + "typeName": "u32", "docs": null }, { - "name": "finders_fee", - "type": 52, - "typeName": "bool", + "name": "roles", + "type": 740, + "typeName": "PoolRoles\u003cT::AccountId\u003e", "docs": null } ] @@ -30991,11 +42449,11 @@ }, "docs": null }, - "603": { + "74": { "path": [ - "pallet_tips", + "frame_system", "pallet", - "Error" + "Call" ], "params": [ { @@ -31007,102 +42465,200 @@ "Variant": { "variants": [ { - "name": "ReasonTooBig", - "fields": null, + "name": "remark", + "fields": [ + { + "name": "remark", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], "index": 0, "docs": [ - "The reason given is just too big." + "Make some on-chain remark.", + "", + "# \u003cweight\u003e", + "- `O(1)`", + "# \u003c/weight\u003e" ] }, { - "name": "AlreadyKnown", - "fields": null, + "name": "set_heap_pages", + "fields": [ + { + "name": "pages", + "type": 10, + "typeName": "u64", + "docs": null + } + ], "index": 1, "docs": [ - "The tip was already found/started." + "Set the number of pages in the WebAssembly environment's heap." ] }, { - "name": "UnknownTip", - "fields": null, + "name": "set_code", + "fields": [ + { + "name": "code", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], "index": 2, "docs": [ - "The tip hash is unknown." + "Set the new runtime code.", + "", + "# \u003cweight\u003e", + "- `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`", + "- 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is", + " expensive).", + "- 1 storage write (codec `O(C)`).", + "- 1 digest item.", + "- 1 event.", + "The weight of this function is dependent on the runtime, but generally this is very", + "expensive. We will treat this as a full block.", + "# \u003c/weight\u003e" ] }, { - "name": "NotFinder", - "fields": null, + "name": "set_code_without_checks", + "fields": [ + { + "name": "code", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], "index": 3, "docs": [ - "The account attempting to retract the tip is not the finder of the tip." + "Set the new runtime code without doing any checks of the given `code`.", + "", + "# \u003cweight\u003e", + "- `O(C)` where `C` length of `code`", + "- 1 storage write (codec `O(C)`).", + "- 1 digest item.", + "- 1 event.", + "The weight of this function is dependent on the runtime. We will treat this as a full", + "block. # \u003c/weight\u003e" ] }, { - "name": "StillOpen", - "fields": null, + "name": "set_storage", + "fields": [ + { + "name": "items", + "type": 75, + "typeName": "Vec\u003cKeyValue\u003e", + "docs": null + } + ], "index": 4, "docs": [ - "The tip cannot be claimed/closed because there are not enough tippers yet." + "Set some items of storage." ] }, { - "name": "Premature", - "fields": null, + "name": "kill_storage", + "fields": [ + { + "name": "keys", + "type": 77, + "typeName": "Vec\u003cKey\u003e", + "docs": null + } + ], "index": 5, "docs": [ - "The tip cannot be claimed/closed because it's still in the countdown period." + "Kill some items from storage." + ] + }, + { + "name": "kill_prefix", + "fields": [ + { + "name": "prefix", + "type": 12, + "typeName": "Key", + "docs": null + }, + { + "name": "subkeys", + "type": 4, + "typeName": "u32", + "docs": null + } + ], + "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": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "index": 7, + "docs": [ + "Make some on-chain remark and emit event." ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "604": { + "740": { "path": [ - "pallet_election_provider_multi_phase", - "Phase" + "pallet_nomination_pools", + "PoolRoles" ], "params": [ { - "name": "Bn", - "type": 4 + "name": "AccountId", + "type": 0 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "Off", - "fields": null, - "index": 0, + "name": "depositor", + "type": 0, + "typeName": "AccountId", "docs": null }, { - "name": "Signed", - "fields": null, - "index": 1, + "name": "root", + "type": 136, + "typeName": "Option\u003cAccountId\u003e", "docs": null }, { - "name": "Unsigned", - "fields": [ - { - "type": 605, - "typeName": "(bool, Bn)", - "docs": null - } - ], - "index": 2, + "name": "nominator", + "type": 136, + "typeName": "Option\u003cAccountId\u003e", "docs": null }, { - "name": "Emergency", - "fields": null, - "index": 3, + "name": "state_toggler", + "type": 136, + "typeName": "Option\u003cAccountId\u003e", "docs": null } ] @@ -31110,24 +42666,14 @@ }, "docs": null }, - "605": { - "path": null, - "def": { - "Tuple": [ - 52, - 4 - ] - }, - "docs": null - }, - "606": { + "741": { "path": [ - "pallet_election_provider_multi_phase", - "ReadySolution" + "pallet_nomination_pools", + "RewardPool" ], "params": [ { - "name": "A", + "name": "T", "type": 0 } ], @@ -31135,21 +42681,21 @@ "Composite": { "fields": [ { - "name": "supports", - "type": 458, - "typeName": "Supports\u003cA\u003e", + "name": "last_recorded_reward_counter", + "type": 528, + "typeName": "T::RewardCounter", "docs": null }, { - "name": "score", - "type": 455, - "typeName": "ElectionScore", + "name": "last_recorded_total_payouts", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null }, { - "name": "compute", - "type": 78, - "typeName": "ElectionCompute", + "name": "total_rewards_claimed", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ] @@ -31157,14 +42703,14 @@ }, "docs": null }, - "607": { + "742": { "path": [ - "pallet_election_provider_multi_phase", - "RoundSnapshot" + "pallet_nomination_pools", + "SubPools" ], "params": [ { - "name": "A", + "name": "T", "type": 0 } ], @@ -31172,15 +42718,15 @@ "Composite": { "fields": [ { - "name": "voters", - "type": 608, - "typeName": "Vec\u003c(A, VoteWeight, Vec\u003cA\u003e)\u003e", + "name": "no_era", + "type": 743, + "typeName": "UnbondPool\u003cT\u003e", "docs": null }, { - "name": "targets", - "type": 47, - "typeName": "Vec\u003cA\u003e", + "name": "with_era", + "type": 744, + "typeName": "BoundedBTreeMap\u003cEraIndex, UnbondPool\u003cT\u003e, TotalUnbondingPools\u003cT\u003e\u003e", "docs": null } ] @@ -31188,51 +42734,52 @@ }, "docs": null }, - "608": { - "path": null, - "def": { - "Sequence": { - "type": 609 + "743": { + "path": [ + "pallet_nomination_pools", + "UnbondPool" + ], + "params": [ + { + "name": "T", + "type": 0 } - }, - "docs": null - }, - "609": { - "path": null, - "def": { - "Tuple": [ - 0, - 8, - 47 - ] - }, - "docs": null - }, - "61": { - "path": null, + ], "def": { - "Array": { - "len": 20, - "type": 2 + "Composite": { + "fields": [ + { + "name": "points", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "balance", + "type": 6, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ] } }, "docs": null }, - "610": { + "744": { "path": [ - "frame_support", - "storage", + "sp_core", + "bounded", "bounded_btree_map", "BoundedBTreeMap" ], "params": [ { "name": "K", - "type": 455 + "type": 4 }, { "name": "V", - "type": 4 + "type": 743 }, { "name": "S", @@ -31243,7 +42790,7 @@ "Composite": { "fields": [ { - "type": 611, + "type": 745, "typeName": "BTreeMap\u003cK, V\u003e", "docs": null } @@ -31252,25 +42799,25 @@ }, "docs": null }, - "611": { + "745": { "path": [ "BTreeMap" ], "params": [ { "name": "K", - "type": 455 + "type": 4 }, { "name": "V", - "type": 4 + "type": 743 } ], "def": { "Composite": { "fields": [ { - "type": 612, + "type": 746, "typeName": "", "docs": null } @@ -31279,70 +42826,48 @@ }, "docs": null }, - "612": { + "746": { "path": null, "def": { "Sequence": { - "type": 613 + "type": 747 } }, "docs": null }, - "613": { + "747": { "path": null, "def": { "Tuple": [ - 455, - 4 + 4, + 743 ] }, "docs": null }, - "614": { + "748": { "path": [ - "pallet_election_provider_multi_phase", - "signed", - "SignedSubmission" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "AccountId", - "type": 0 - }, - { - "name": "Balance", - "type": 6 + "name": "T", + "type": 2 }, { - "name": "Solution", - "type": 380 + "name": "S", + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "who", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "raw_solution", - "type": 379, - "typeName": "RawSolution\u003cSolution\u003e", - "docs": null - }, - { - "name": "reward", - "type": 6, - "typeName": "Balance", + "type": 12, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -31350,9 +42875,9 @@ }, "docs": null }, - "615": { + "749": { "path": [ - "pallet_election_provider_multi_phase", + "pallet_nomination_pools", "pallet", "Error" ], @@ -31366,138 +42891,256 @@ "Variant": { "variants": [ { - "name": "PreDispatchEarlySubmission", + "name": "PoolNotFound", "fields": null, "index": 0, "docs": [ - "Submission was too early." + "A (bonded) pool id does not exist." ] }, { - "name": "PreDispatchWrongWinnerCount", + "name": "PoolMemberNotFound", "fields": null, "index": 1, "docs": [ - "Wrong number of winners presented." + "An account is not a member." ] }, { - "name": "PreDispatchWeakSubmission", + "name": "RewardPoolNotFound", "fields": null, "index": 2, "docs": [ - "Submission was too weak, score-wise." + "A reward pool does not exist. In all cases this is a system logic error." ] }, { - "name": "SignedQueueFull", + "name": "SubPoolsNotFound", "fields": null, "index": 3, "docs": [ - "The queue was full, and the solution was not better than any of the existing ones." + "A sub pool does not exist." ] }, { - "name": "SignedCannotPayDeposit", + "name": "AccountBelongsToOtherPool", "fields": null, "index": 4, "docs": [ - "The origin failed to pay the deposit." + "An account is already delegating in another pool. An account may only belong to one", + "pool at a time." ] }, { - "name": "SignedInvalidWitness", + "name": "FullyUnbonding", "fields": null, "index": 5, "docs": [ - "Witness data to dispatchable is invalid." + "The member is fully unbonded (and thus cannot access the bonded and reward pool", + "anymore to, for example, collect rewards)." ] }, { - "name": "SignedTooMuchWeight", + "name": "MaxUnbondingLimit", "fields": null, "index": 6, "docs": [ - "The signed submission consumes too much weight" + "The member cannot unbond further chunks due to reaching the limit." ] }, { - "name": "OcwCallWrongEra", + "name": "CannotWithdrawAny", "fields": null, "index": 7, "docs": [ - "OCW submitted solution for wrong round" + "None of the funds can be withdrawn yet because the bonding duration has not passed." ] }, { - "name": "MissingSnapshotMetadata", + "name": "MinimumBondNotMet", "fields": null, "index": 8, "docs": [ - "Snapshot metadata should exist but didn't." + "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", + "fields": null, + "index": 9, + "docs": [ + "The transaction could not be executed due to overflow risk for the pool." + ] + }, + { + "name": "NotDestroying", + "fields": null, + "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", + "fields": null, + "index": 11, + "docs": [ + "The caller does not have nominating permissions for the pool." + ] + }, + { + "name": "NotKickerOrDestroying", + "fields": null, + "index": 12, + "docs": [ + "Either a) the caller cannot make a valid kick or b) the pool is not destroying." + ] + }, + { + "name": "NotOpen", + "fields": null, + "index": 13, + "docs": [ + "The pool is not open to join" + ] + }, + { + "name": "MaxPools", + "fields": null, + "index": 14, + "docs": [ + "The system is maxed out on pools." + ] + }, + { + "name": "MaxPoolMembers", + "fields": null, + "index": 15, + "docs": [ + "Too many members in the pool or system." + ] + }, + { + "name": "CanNotChangeState", + "fields": null, + "index": 16, + "docs": [ + "The pools state cannot be changed." + ] + }, + { + "name": "DoesNotHavePermission", + "fields": null, + "index": 17, + "docs": [ + "The caller does not have adequate permissions." + ] + }, + { + "name": "MetadataExceedsMaxLen", + "fields": null, + "index": 18, + "docs": [ + "Metadata exceeds [`Config::MaxMetadataLen`]" + ] + }, + { + "name": "Defensive", + "fields": [ + { + "type": 750, + "typeName": "DefensiveError", + "docs": null + } + ], + "index": 19, + "docs": [ + "Some error occurred that should never happen. This should be reported to the", + "maintainers." + ] + }, + { + "name": "PartialUnbondNotAllowedPermissionlessly", + "fields": null, + "index": 20, + "docs": [ + "Partial unbonding now allowed permissionlessly." ] }, { - "name": "InvalidSubmissionIndex", + "name": "PoolIdInUse", "fields": null, - "index": 9, + "index": 21, "docs": [ - "`Self::insert_submission` returned an invalid index." + "Pool id currently in use." ] }, { - "name": "CallNotAllowed", + "name": "InvalidPoolId", "fields": null, - "index": 10, + "index": 22, "docs": [ - "The call is not allowed at this point." + "Pool id provided is not correct/usable." ] } ] } }, "docs": [ - "Error of the pallet that can be returned in response to dispatches." + "\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" ] }, - "616": { + "75": { "path": null, "def": { "Sequence": { - "type": 617 + "type": 76 } }, "docs": null }, - "617": { + "750": { "path": [ - "pallet_gilt", + "pallet_nomination_pools", "pallet", - "GiltBid" - ], - "params": [ - { - "name": "Balance", - "type": 6 - }, - { - "name": "AccountId", - "type": 0 - } + "DefensiveError" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "name": "amount", - "type": 6, - "typeName": "Balance", + "name": "NotEnoughSpaceInUnbondPool", + "fields": null, + "index": 0, "docs": null }, { - "name": "who", - "type": 0, - "typeName": "AccountId", + "name": "PoolNotFound", + "fields": null, + "index": 1, + "docs": null + }, + { + "name": "RewardPoolNotFound", + "fields": null, + "index": 2, + "docs": null + }, + { + "name": "SubPoolsNotFound", + "fields": null, + "index": 3, + "docs": null + }, + { + "name": "BondedStashKilledPrematurely", + "fields": null, + "index": 4, "docs": null } ] @@ -31505,43 +43148,31 @@ }, "docs": null }, - "618": { + "751": { "path": [ - "pallet_gilt", - "pallet", - "ActiveGiltsTotal" + "pallet_fast_unstake", + "types", + "UnstakeRequest" ], "params": [ { - "name": "Balance", - "type": 6 + "name": "T", + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "frozen", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "proportion", - "type": 463, - "typeName": "Perquintill", - "docs": null - }, - { - "name": "index", - "type": 4, - "typeName": "ActiveIndex", + "name": "stashes", + "type": 752, + "typeName": "BoundedVec\u003c(T::AccountId, BalanceOf\u003cT\u003e), T::BatchSize\u003e", "docs": null }, { - "name": "target", - "type": 463, - "typeName": "Perquintill", + "name": "checked", + "type": 753, + "typeName": "BoundedVec\u003cEraIndex, MaxChecking\u003cT\u003e\u003e", "docs": null } ] @@ -31549,51 +43180,29 @@ }, "docs": null }, - "619": { + "752": { "path": [ - "pallet_gilt", - "pallet", - "ActiveGilt" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { - "name": "Balance", - "type": 6 + "name": "T", + "type": 66 }, { - "name": "AccountId", + "name": "S", "type": 0 - }, - { - "name": "BlockNumber", - "type": 4 } ], "def": { "Composite": { "fields": [ { - "name": "proportion", - "type": 463, - "typeName": "Perquintill", - "docs": null - }, - { - "name": "amount", - "type": 6, - "typeName": "Balance", - "docs": null - }, - { - "name": "who", - "type": 0, - "typeName": "AccountId", - "docs": null - }, - { - "name": "expiry", - "type": 4, - "typeName": "BlockNumber", + "type": 65, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -31601,77 +43210,39 @@ }, "docs": null }, - "62": { + "753": { "path": [ - "pallet_utility", - "pallet", - "Event" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" + ], + "params": [ + { + "name": "T", + "type": 4 + }, + { + "name": "S", + "type": 0 + } ], "def": { - "Variant": { - "variants": [ - { - "name": "BatchInterrupted", - "fields": [ - { - "name": "index", - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "name": "error", - "type": 22, - "typeName": "DispatchError", - "docs": null - } - ], - "index": 0, - "docs": [ - "Batch of dispatches did not complete fully. Index of first failing dispatch given, as", - "well as the error." - ] - }, - { - "name": "BatchCompleted", - "fields": null, - "index": 1, - "docs": [ - "Batch of dispatches completed fully with no error." - ] - }, - { - "name": "ItemCompleted", - "fields": null, - "index": 2, - "docs": [ - "A single item within a Batch of dispatches has completed with no error." - ] - }, + "Composite": { + "fields": [ { - "name": "DispatchedAs", - "fields": [ - { - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], - "index": 3, - "docs": [ - "A call was dispatched. \\[result\\]" - ] + "type": 102, + "typeName": "Vec\u003cT\u003e", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "620": { + "754": { "path": [ - "pallet_gilt", + "pallet_fast_unstake", "pallet", "Error" ], @@ -31685,163 +43256,63 @@ "Variant": { "variants": [ { - "name": "DurationTooSmall", + "name": "NotController", "fields": null, "index": 0, "docs": [ - "The duration of the bid is less than one." + "The provided Controller account was not found.", + "", + "This means that the given account is not bonded." ] }, { - "name": "DurationTooBig", + "name": "AlreadyQueued", "fields": null, "index": 1, "docs": [ - "The duration is the bid is greater than the number of queues." + "The bonded account has already been queued." ] }, { - "name": "AmountTooSmall", + "name": "NotFullyBonded", "fields": null, "index": 2, "docs": [ - "The amount of the bid is less than the minimum allowed." + "The bonded account has active unlocking chunks." ] }, { - "name": "BidTooLow", + "name": "NotQueued", "fields": null, "index": 3, "docs": [ - "The queue for the bid's duration is full and the amount bid is too low to get in", - "through replacing an existing bid." + "The provided un-staker is not in the `Queue`." ] }, { - "name": "Unknown", + "name": "AlreadyHead", "fields": null, "index": 4, "docs": [ - "Gilt index is unknown." + "The provided un-staker is already in Head, and cannot deregister." ] }, { - "name": "NotOwner", + "name": "CallNotAllowed", "fields": null, "index": 5, "docs": [ - "Not the owner of the gilt." - ] - }, - { - "name": "NotExpired", - "fields": null, - "index": 6, - "docs": [ - "Gilt not yet at expiry date." - ] - }, - { - "name": "NotFound", - "fields": null, - "index": 7, - "docs": [ - "The given bid for retraction is not found." + "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/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "621": { - "path": [ - "pallet_bags_list", - "list", - "Node" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "id", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "prev", - "type": 205, - "typeName": "Option\u003cT::AccountId\u003e", - "docs": null - }, - { - "name": "next", - "type": 205, - "typeName": "Option\u003cT::AccountId\u003e", - "docs": null - }, - { - "name": "bag_upper", - "type": 8, - "typeName": "VoteWeight", - "docs": null - } - ] - } - }, - "docs": null - }, - "622": { - "path": [ - "pallet_bags_list", - "list", - "Bag" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "head", - "type": 205, - "typeName": "Option\u003cT::AccountId\u003e", - "docs": null - }, - { - "name": "tail", - "type": 205, - "typeName": "Option\u003cT::AccountId\u003e", - "docs": null - } - ] - } - }, - "docs": null - }, - "623": { - "path": null, - "def": { - "Sequence": { - "type": 8 - } - }, - "docs": null - }, - "624": { + "755": { "path": [ "polkadot_runtime_parachains", "configuration", @@ -31899,7 +43370,7 @@ "docs": null }, { - "name": "validation_upgrade_frequency", + "name": "validation_upgrade_cooldown", "type": 4, "typeName": "BlockNumber", "docs": null @@ -32026,13 +43497,13 @@ }, { "name": "max_validators_per_core", - "type": 235, + "type": 134, "typeName": "Option\u003cu32\u003e", "docs": null }, { "name": "max_validators", - "type": 235, + "type": 134, "typeName": "Option\u003cu32\u003e", "docs": null }, @@ -32048,12 +43519,6 @@ "typeName": "BlockNumber", "docs": null }, - { - "name": "dispute_max_spam_slots", - "type": 4, - "typeName": "u32", - "docs": null - }, { "name": "dispute_conclusion_by_time_out_period", "type": 4, @@ -32095,13 +43560,50 @@ "type": 8, "typeName": "Weight", "docs": null + }, + { + "name": "pvf_checking_enabled", + "type": 37, + "typeName": "bool", + "docs": null + }, + { + "name": "pvf_voting_ttl", + "type": 4, + "typeName": "SessionIndex", + "docs": null + }, + { + "name": "minimum_validation_upgrade_delay", + "type": 4, + "typeName": "BlockNumber", + "docs": null } ] } }, "docs": null }, - "625": { + "756": { + "path": null, + "def": { + "Sequence": { + "type": 757 + } + }, + "docs": null + }, + "757": { + "path": null, + "def": { + "Tuple": [ + 4, + 755 + ] + }, + "docs": null + }, + "758": { "path": [ "polkadot_runtime_parachains", "configuration", @@ -32129,28 +43631,38 @@ } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "626": { + "759": { "path": null, "def": { "Sequence": { - "type": 475 + "type": 343 } }, "docs": null }, - "627": { + "76": { + "path": null, + "def": { + "Tuple": [ + 12, + 12 + ] + }, + "docs": null + }, + "760": { "path": null, "def": { "Sequence": { - "type": 243 + "type": 109 } }, "docs": null }, - "628": { + "761": { "path": [ "polkadot_runtime_parachains", "inclusion", @@ -32167,7 +43679,7 @@ "fields": [ { "name": "bitfield", - "type": 472, + "type": 340, "typeName": "AvailabilityBitfield", "docs": null }, @@ -32182,7 +43694,7 @@ }, "docs": null }, - "629": { + "762": { "path": [ "polkadot_runtime_parachains", "inclusion", @@ -32191,7 +43703,7 @@ "params": [ { "name": "H", - "type": 9 + "type": 11 }, { "name": "N", @@ -32203,297 +43715,58 @@ "fields": [ { "name": "core", - "type": 92, + "type": 475, "typeName": "CoreIndex", "docs": null }, { "name": "hash", - "type": 101, + "type": 362, "typeName": "CandidateHash", "docs": null }, { "name": "descriptor", - "type": 84, + "type": 348, "typeName": "CandidateDescriptor\u003cH\u003e", "docs": null }, { - "name": "availability_votes", - "type": 473, - "typeName": "BitVec\u003cBitOrderLsb0, u8\u003e", - "docs": null - }, - { - "name": "backers", - "type": 473, - "typeName": "BitVec\u003cBitOrderLsb0, u8\u003e", - "docs": null - }, - { - "name": "relay_parent_number", - "type": 4, - "typeName": "N", - "docs": null - }, - { - "name": "backed_in_number", - "type": 4, - "typeName": "N", - "docs": null - }, - { - "name": "backing_group", - "type": 93, - "typeName": "GroupIndex", - "docs": null - } - ] - } - }, - "docs": null - }, - "63": { - "path": [ - "pallet_identity", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "IdentitySet", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 0, - "docs": [ - "A name was set or reset (which will remove all judgements)." - ] - }, - { - "name": "IdentityCleared", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 1, - "docs": [ - "A name was cleared, and the given balance returned." - ] - }, - { - "name": "IdentityKilled", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 2, - "docs": [ - "A name was removed and the given balance slashed." - ] - }, - { - "name": "JudgementRequested", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "registrar_index", - "type": 4, - "typeName": "RegistrarIndex", - "docs": null - } - ], - "index": 3, - "docs": [ - "A judgement was asked from a registrar." - ] - }, - { - "name": "JudgementUnrequested", - "fields": [ - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "registrar_index", - "type": 4, - "typeName": "RegistrarIndex", - "docs": null - } - ], - "index": 4, - "docs": [ - "A judgement request was retracted." - ] - }, - { - "name": "JudgementGiven", - "fields": [ - { - "name": "target", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "registrar_index", - "type": 4, - "typeName": "RegistrarIndex", - "docs": null - } - ], - "index": 5, - "docs": [ - "A judgement was given by a registrar." - ] - }, - { - "name": "RegistrarAdded", - "fields": [ - { - "name": "registrar_index", - "type": 4, - "typeName": "RegistrarIndex", - "docs": null - } - ], - "index": 6, - "docs": [ - "A registrar was added." - ] + "name": "availability_votes", + "type": 341, + "typeName": "BitVec\u003cu8, BitOrderLsb0\u003e", + "docs": null }, { - "name": "SubIdentityAdded", - "fields": [ - { - "name": "sub", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "main", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 7, - "docs": [ - "A sub-identity was added to an identity and the deposit paid." - ] + "name": "backers", + "type": 341, + "typeName": "BitVec\u003cu8, BitOrderLsb0\u003e", + "docs": null }, { - "name": "SubIdentityRemoved", - "fields": [ - { - "name": "sub", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "main", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 8, - "docs": [ - "A sub-identity was removed from an identity and the deposit freed." - ] + "name": "relay_parent_number", + "type": 4, + "typeName": "N", + "docs": null }, { - "name": "SubIdentityRevoked", - "fields": [ - { - "name": "sub", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "main", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 9, - "docs": [ - "A sub-identity was cleared, and the given deposit repatriated from the", - "main identity account to the sub-identity account." - ] + "name": "backed_in_number", + "type": 4, + "typeName": "N", + "docs": null + }, + { + "name": "backing_group", + "type": 476, + "typeName": "GroupIndex", + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "630": { + "763": { "path": [ "polkadot_runtime_parachains", "inclusion", @@ -32510,17 +43783,57 @@ "Variant": { "variants": [ { - "name": "WrongBitfieldSize", + "name": "UnsortedOrDuplicateValidatorIndices", "fields": null, "index": 0, + "docs": [ + "Validator indices are out of order or contains duplicates." + ] + }, + { + "name": "UnsortedOrDuplicateDisputeStatementSet", + "fields": null, + "index": 1, + "docs": [ + "Dispute statement sets are out of order or contain duplicates." + ] + }, + { + "name": "UnsortedOrDuplicateBackedCandidates", + "fields": null, + "index": 2, + "docs": [ + "Backed candidates are out of order (core index) or contain duplicates." + ] + }, + { + "name": "UnexpectedRelayParent", + "fields": null, + "index": 3, + "docs": [ + "A different relay parent was provided compared to the on-chain stored one." + ] + }, + { + "name": "WrongBitfieldSize", + "fields": null, + "index": 4, "docs": [ "Availability bitfield has unexpected size." ] }, + { + "name": "BitfieldAllZeros", + "fields": null, + "index": 5, + "docs": [ + "Bitfield consists of zeros only." + ] + }, { "name": "BitfieldDuplicateOrUnordered", "fields": null, - "index": 1, + "index": 6, "docs": [ "Multiple bitfields submitted by same validator or validators out of order by index." ] @@ -32528,7 +43841,7 @@ { "name": "ValidatorIndexOutOfBounds", "fields": null, - "index": 2, + "index": 7, "docs": [ "Validator index out of bounds." ] @@ -32536,7 +43849,7 @@ { "name": "InvalidBitfieldSignature", "fields": null, - "index": 3, + "index": 8, "docs": [ "Invalid signature" ] @@ -32544,7 +43857,7 @@ { "name": "UnscheduledCandidate", "fields": null, - "index": 4, + "index": 9, "docs": [ "Candidate submitted but para not scheduled." ] @@ -32552,7 +43865,7 @@ { "name": "CandidateScheduledBeforeParaFree", "fields": null, - "index": 5, + "index": 10, "docs": [ "Candidate scheduled despite pending candidate already existing for the para." ] @@ -32560,7 +43873,7 @@ { "name": "WrongCollator", "fields": null, - "index": 6, + "index": 11, "docs": [ "Candidate included with the wrong collator." ] @@ -32568,7 +43881,7 @@ { "name": "ScheduledOutOfOrder", "fields": null, - "index": 7, + "index": 12, "docs": [ "Scheduled cores out of order." ] @@ -32576,7 +43889,7 @@ { "name": "HeadDataTooLarge", "fields": null, - "index": 8, + "index": 13, "docs": [ "Head data exceeds the configured maximum." ] @@ -32584,7 +43897,7 @@ { "name": "PrematureCodeUpgrade", "fields": null, - "index": 9, + "index": 14, "docs": [ "Code upgrade prematurely." ] @@ -32592,7 +43905,7 @@ { "name": "NewCodeTooLarge", "fields": null, - "index": 10, + "index": 15, "docs": [ "Output code is too large" ] @@ -32600,7 +43913,7 @@ { "name": "CandidateNotInParentContext", "fields": null, - "index": 11, + "index": 16, "docs": [ "Candidate not in parent context." ] @@ -32608,7 +43921,7 @@ { "name": "InvalidGroupIndex", "fields": null, - "index": 12, + "index": 17, "docs": [ "Invalid group index in core assignment." ] @@ -32616,7 +43929,7 @@ { "name": "InsufficientBacking", "fields": null, - "index": 13, + "index": 18, "docs": [ "Insufficient (non-majority) backing." ] @@ -32624,7 +43937,7 @@ { "name": "InvalidBacking", "fields": null, - "index": 14, + "index": 19, "docs": [ "Invalid (bad signature, unknown validator, etc.) backing." ] @@ -32632,7 +43945,7 @@ { "name": "NotCollatorSigned", "fields": null, - "index": 15, + "index": 20, "docs": [ "Collator did not sign PoV." ] @@ -32640,7 +43953,7 @@ { "name": "ValidationDataHashMismatch", "fields": null, - "index": 16, + "index": 21, "docs": [ "The validation data hash does not match expected." ] @@ -32648,7 +43961,7 @@ { "name": "IncorrectDownwardMessageHandling", "fields": null, - "index": 17, + "index": 22, "docs": [ "The downward message queue is not processed correctly." ] @@ -32656,7 +43969,7 @@ { "name": "InvalidUpwardMessages", "fields": null, - "index": 18, + "index": 23, "docs": [ "At least one upward message sent does not pass the acceptance criteria." ] @@ -32664,7 +43977,7 @@ { "name": "HrmpWatermarkMishandling", "fields": null, - "index": 19, + "index": 24, "docs": [ "The candidate didn't follow the rules of HRMP watermark advancement." ] @@ -32672,7 +43985,7 @@ { "name": "InvalidOutboundHrmp", "fields": null, - "index": 20, + "index": 25, "docs": [ "The HRMP messages sent by the candidate is not valid." ] @@ -32680,7 +43993,7 @@ { "name": "InvalidValidationCodeHash", "fields": null, - "index": 21, + "index": 26, "docs": [ "The validation code hash of the candidate is not valid." ] @@ -32688,7 +44001,7 @@ { "name": "ParaHeadMismatch", "fields": null, - "index": 22, + "index": 27, "docs": [ "The `para_head` hash in the candidate descriptor doesn't match the hash of the actual para head in the", "commitments." @@ -32697,7 +44010,7 @@ { "name": "BitfieldReferencesFreedCore", "fields": null, - "index": 23, + "index": 28, "docs": [ "A bitfield that references a freed core,", "either intentionally or as part of a concluded", @@ -32708,19 +44021,19 @@ } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "631": { + "764": { "path": [ "polkadot_primitives", - "v1", + "v2", "ScrapedOnChainVotes" ], "params": [ { "name": "H", - "type": 9 + "type": 11 } ], "def": { @@ -32734,13 +44047,13 @@ }, { "name": "backing_validators_per_candidate", - "type": 632, + "type": 765, "typeName": "Vec\u003c(CandidateReceipt\u003cH\u003e, Vec\u003c(ValidatorIndex, ValidityAttestation)\u003e)\n\u003e", "docs": null }, { "name": "disputes", - "type": 487, + "type": 360, "typeName": "MultiDisputeStatementSet", "docs": null } @@ -32749,45 +44062,45 @@ }, "docs": null }, - "632": { + "765": { "path": null, "def": { "Sequence": { - "type": 633 + "type": 766 } }, "docs": null }, - "633": { + "766": { "path": null, "def": { "Tuple": [ - 83, - 634 + 474, + 767 ] }, "docs": null }, - "634": { + "767": { "path": null, "def": { "Sequence": { - "type": 635 + "type": 768 } }, "docs": null }, - "635": { + "768": { "path": null, "def": { "Tuple": [ - 475, - 486 + 343, + 359 ] }, "docs": null }, - "636": { + "769": { "path": [ "polkadot_runtime_parachains", "paras_inherent", @@ -32835,24 +44148,49 @@ "docs": [ "The data given to the inherent will result in an overweight block." ] + }, + { + "name": "DisputeStatementsUnsortedOrDuplicates", + "fields": null, + "index": 4, + "docs": [ + "The ordering of dispute statements was invalid." + ] + }, + { + "name": "DisputeInvalid", + "fields": null, + "index": 5, + "docs": [ + "A dispute statement was invalid." + ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "637": { + "77": { "path": null, "def": { "Sequence": { - "type": 626 + "type": 12 } }, "docs": null }, - "638": { + "770": { + "path": null, + "def": { + "Sequence": { + "type": 759 + } + }, + "docs": null + }, + "771": { "path": [ "polkadot_runtime_parachains", "scheduler", @@ -32863,7 +44201,7 @@ "fields": [ { "name": "queue", - "type": 639, + "type": 772, "typeName": "Vec\u003cQueuedParathread\u003e", "docs": null }, @@ -32878,310 +44216,16 @@ }, "docs": null }, - "639": { + "772": { "path": null, "def": { "Sequence": { - "type": 640 + "type": 773 } }, "docs": null }, - "64": { - "path": [ - "pallet_society", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - }, - { - "name": "I", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Founded", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 0, - "docs": [ - "The society is founded by the given identity. \\[founder\\]" - ] - }, - { - "name": "Bid", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", - "docs": null - } - ], - "index": 1, - "docs": [ - "A membership bid just happened. The given account is the candidate's ID and their offer", - "is the second. \\[candidate_id, offer\\]" - ] - }, - { - "name": "Vouch", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 2, - "docs": [ - "A membership bid just happened by vouching. The given account is the candidate's ID and", - "their offer is the second. The vouching party is the third. \\[candidate_id, offer,", - "vouching\\]" - ] - }, - { - "name": "AutoUnbid", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 3, - "docs": [ - "A \\[candidate\\] was dropped (due to an excess of bids in the system)." - ] - }, - { - "name": "Unbid", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 4, - "docs": [ - "A \\[candidate\\] was dropped (by their request)." - ] - }, - { - "name": "Unvouch", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 5, - "docs": [ - "A \\[candidate\\] was dropped (by request of who vouched for them)." - ] - }, - { - "name": "Inducted", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 47, - "typeName": "Vec\u003cT::AccountId\u003e", - "docs": null - } - ], - "index": 6, - "docs": [ - "A group of candidates have been inducted. The batch's primary is the first value, the", - "batch in full is the second. \\[primary, candidates\\]" - ] - }, - { - "name": "SuspendedMemberJudgement", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 52, - "typeName": "bool", - "docs": null - } - ], - "index": 7, - "docs": [ - "A suspended member has been judged. \\[who, judged\\]" - ] - }, - { - "name": "CandidateSuspended", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 8, - "docs": [ - "A \\[candidate\\] has been suspended" - ] - }, - { - "name": "MemberSuspended", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 9, - "docs": [ - "A \\[member\\] has been suspended" - ] - }, - { - "name": "Challenged", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 10, - "docs": [ - "A \\[member\\] has been challenged" - ] - }, - { - "name": "Vote", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 52, - "typeName": "bool", - "docs": null - } - ], - "index": 11, - "docs": [ - "A vote has been placed \\[candidate, voter, vote\\]" - ] - }, - { - "name": "DefenderVote", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "type": 52, - "typeName": "bool", - "docs": null - } - ], - "index": 12, - "docs": [ - "A vote has been placed for a defending member \\[voter, vote\\]" - ] - }, - { - "name": "NewMaxMembers", - "fields": [ - { - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 13, - "docs": [ - "A new \\[max\\] member count has been set" - ] - }, - { - "name": "Unfounded", - "fields": [ - { - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 14, - "docs": [ - "Society is unfounded. \\[founder\\]" - ] - }, - { - "name": "Deposit", - "fields": [ - { - "type": 6, - "typeName": "BalanceOf\u003cT, I\u003e", - "docs": null - } - ], - "index": 15, - "docs": [ - "Some funds were deposited into the society account. \\[value\\]" - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "640": { + "773": { "path": [ "polkadot_runtime_parachains", "scheduler", @@ -33192,7 +44236,7 @@ "fields": [ { "name": "claim", - "type": 641, + "type": 774, "typeName": "ParathreadEntry", "docs": null }, @@ -33207,10 +44251,10 @@ }, "docs": null }, - "641": { + "774": { "path": [ "polkadot_primitives", - "v1", + "v2", "ParathreadEntry" ], "def": { @@ -33218,7 +44262,7 @@ "fields": [ { "name": "claim", - "type": 642, + "type": 775, "typeName": "ParathreadClaim", "docs": null }, @@ -33233,22 +44277,22 @@ }, "docs": null }, - "642": { + "775": { "path": [ "polkadot_primitives", - "v1", + "v2", "ParathreadClaim" ], "def": { "Composite": { "fields": [ { - "type": 85, + "type": 156, "typeName": "Id", "docs": null }, { - "type": 86, + "type": 349, "typeName": "CollatorId", "docs": null } @@ -33257,23 +44301,23 @@ }, "docs": null }, - "643": { + "776": { "path": null, "def": { "Sequence": { - "type": 644 + "type": 777 } }, "docs": null }, - "644": { + "777": { "path": [ "Option" ], "params": [ { "name": "T", - "type": 645 + "type": 778 } ], "def": { @@ -33289,7 +44333,7 @@ "name": "Some", "fields": [ { - "type": 645, + "type": 778, "typeName": "", "docs": null } @@ -33302,10 +44346,10 @@ }, "docs": null }, - "645": { + "778": { "path": [ "polkadot_primitives", - "v1", + "v2", "CoreOccupied" ], "def": { @@ -33315,7 +44359,7 @@ "name": "Parathread", "fields": [ { - "type": 641, + "type": 774, "typeName": "ParathreadEntry", "docs": null } @@ -33334,25 +44378,117 @@ }, "docs": null }, - "646": { + "779": { "path": null, "def": { "Sequence": { - "type": 85 + "type": 156 } }, "docs": null }, - "647": { + "78": { + "path": [ + "pallet_babe", + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "report_equivocation", + "fields": [ + { + "name": "equivocation_proof", + "type": 79, + "typeName": "Box\u003cEquivocationProof\u003cT::Header\u003e\u003e", + "docs": null + }, + { + "name": "key_owner_proof", + "type": 85, + "typeName": "T::KeyOwnerProof", + "docs": null + } + ], + "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": 79, + "typeName": "Box\u003cEquivocationProof\u003cT::Header\u003e\u003e", + "docs": null + }, + { + "name": "key_owner_proof", + "type": 85, + "typeName": "T::KeyOwnerProof", + "docs": null + } + ], + "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": 86, + "typeName": "NextConfigDescriptor", + "docs": null + } + ], + "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." + ] + }, + "780": { "path": null, "def": { "Sequence": { - "type": 648 + "type": 781 } }, "docs": null }, - "648": { + "781": { "path": [ "polkadot_runtime_parachains", "scheduler", @@ -33363,25 +44499,25 @@ "fields": [ { "name": "core", - "type": 92, + "type": 475, "typeName": "CoreIndex", "docs": null }, { "name": "para_id", - "type": 85, + "type": 156, "typeName": "ParaId", "docs": null }, { "name": "kind", - "type": 649, + "type": 782, "typeName": "AssignmentKind", "docs": null }, { "name": "group_idx", - "type": 93, + "type": 476, "typeName": "GroupIndex", "docs": null } @@ -33390,7 +44526,7 @@ }, "docs": null }, - "649": { + "782": { "path": [ "polkadot_runtime_parachains", "scheduler", @@ -33409,7 +44545,7 @@ "name": "Parathread", "fields": [ { - "type": 86, + "type": 349, "typeName": "CollatorId", "docs": null }, @@ -33427,149 +44563,126 @@ }, "docs": null }, - "65": { + "783": { "path": [ - "pallet_recovery", - "pallet", - "Event" + "polkadot_runtime_parachains", + "paras", + "PvfCheckActiveVoteState" ], "params": [ { - "name": "T", - "type": 0 + "name": "BlockNumber", + "type": 4 } ], "def": { - "Variant": { - "variants": [ + "Composite": { + "fields": [ { - "name": "RecoveryCreated", - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 0, - "docs": [ - "A recovery process has been set up for an account." - ] + "name": "votes_accept", + "type": 341, + "typeName": "BitVec\u003cu8, BitOrderLsb0\u003e", + "docs": null }, { - "name": "RecoveryInitiated", - "fields": [ - { - "name": "lost_account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "rescuer_account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 1, - "docs": [ - "A recovery process has been initiated for lost account by rescuer account." - ] + "name": "votes_reject", + "type": 341, + "typeName": "BitVec\u003cu8, BitOrderLsb0\u003e", + "docs": null }, { - "name": "RecoveryVouched", - "fields": [ - { - "name": "lost_account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "rescuer_account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "sender", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 2, - "docs": [ - "A recovery process for lost account by rescuer account has been vouched for by sender." - ] + "name": "age", + "type": 4, + "typeName": "SessionIndex", + "docs": null }, { - "name": "RecoveryClosed", + "name": "created_at", + "type": 4, + "typeName": "BlockNumber", + "docs": null + }, + { + "name": "causes", + "type": 784, + "typeName": "Vec\u003cPvfCheckCause\u003cBlockNumber\u003e\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "784": { + "path": null, + "def": { + "Sequence": { + "type": 785 + } + }, + "docs": null + }, + "785": { + "path": [ + "polkadot_runtime_parachains", + "paras", + "PvfCheckCause" + ], + "params": [ + { + "name": "BlockNumber", + "type": 4 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Onboarding", "fields": [ { - "name": "lost_account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "rescuer_account", - "type": 0, - "typeName": "T::AccountId", + "type": 156, + "typeName": "ParaId", "docs": null } ], - "index": 3, - "docs": [ - "A recovery process for lost account by rescuer account has been closed." - ] + "index": 0, + "docs": null }, { - "name": "AccountRecovered", + "name": "Upgrade", "fields": [ { - "name": "lost_account", - "type": 0, - "typeName": "T::AccountId", + "name": "id", + "type": 156, + "typeName": "ParaId", "docs": null }, { - "name": "rescuer_account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 4, - "docs": [ - "Lost account has been successfully recovered by rescuer account." - ] - }, - { - "name": "RecoveryRemoved", - "fields": [ - { - "name": "lost_account", - "type": 0, - "typeName": "T::AccountId", + "name": "relay_parent_number", + "type": 4, + "typeName": "BlockNumber", "docs": null } ], - "index": 5, - "docs": [ - "A recovery process has been removed for an account." - ] + "index": 1, + "docs": null } ] } }, - "docs": [ - "Events type." - ] + "docs": null }, - "650": { + "786": { + "path": null, + "def": { + "Sequence": { + "type": 351 + } + }, + "docs": null + }, + "787": { "path": [ "polkadot_runtime_parachains", "paras", @@ -33625,17 +44738,17 @@ }, "docs": null }, - "651": { + "788": { "path": null, "def": { "Tuple": [ - 85, + 156, 4 ] }, "docs": null }, - "652": { + "789": { "path": [ "polkadot_runtime_parachains", "paras", @@ -33652,13 +44765,13 @@ "fields": [ { "name": "upgrade_times", - "type": 653, + "type": 790, "typeName": "Vec\u003cReplacementTimes\u003cN\u003e\u003e", "docs": null }, { "name": "last_pruned", - "type": 235, + "type": 134, "typeName": "Option\u003cN\u003e", "docs": null } @@ -33667,16 +44780,63 @@ }, "docs": null }, - "653": { + "79": { + "path": [ + "sp_consensus_slots", + "EquivocationProof" + ], + "params": [ + { + "name": "Header", + "type": 80 + }, + { + "name": "Id", + "type": 83 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "offender", + "type": 83, + "typeName": "Id", + "docs": null + }, + { + "name": "slot", + "type": 84, + "typeName": "Slot", + "docs": null + }, + { + "name": "first_header", + "type": 80, + "typeName": "Header", + "docs": null + }, + { + "name": "second_header", + "type": 80, + "typeName": "Header", + "docs": null + } + ] + } + }, + "docs": null + }, + "790": { "path": null, "def": { "Sequence": { - "type": 654 + "type": 791 } }, "docs": null }, - "654": { + "791": { "path": [ "polkadot_runtime_parachains", "paras", @@ -33708,19 +44868,19 @@ }, "docs": null }, - "655": { + "792": { "path": null, "def": { "Sequence": { - "type": 651 + "type": 788 } }, "docs": null }, - "656": { + "793": { "path": [ "polkadot_primitives", - "v1", + "v2", "UpgradeGoAhead" ], "def": { @@ -33743,10 +44903,10 @@ }, "docs": null }, - "657": { + "794": { "path": [ "polkadot_primitives", - "v1", + "v2", "UpgradeRestriction" ], "def": { @@ -33763,7 +44923,7 @@ }, "docs": null }, - "658": { + "795": { "path": [ "polkadot_runtime_parachains", "paras", @@ -33774,20 +44934,20 @@ "fields": [ { "name": "genesis_head", - "type": 91, + "type": 357, "typeName": "HeadData", "docs": null }, { "name": "validation_code", - "type": 484, + "type": 356, "typeName": "ValidationCode", "docs": null }, { - "name": "parachain", - "type": 52, - "typeName": "bool", + "name": "para_kind", + "type": 37, + "typeName": "ParaKind", "docs": null } ] @@ -33795,7 +44955,7 @@ }, "docs": null }, - "659": { + "796": { "path": [ "polkadot_runtime_parachains", "paras", @@ -33850,83 +45010,89 @@ "docs": [ "Para cannot be downgraded to a parathread." ] - } - ] - } - }, - "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" - ] - }, - "66": { - "path": [ - "pallet_vesting", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "VestingUpdated", - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "unvested", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - } - ], - "index": 0, + "name": "PvfCheckStatementStale", + "fields": null, + "index": 5, "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)." + "The statement for PVF pre-checking is stale." ] }, { - "name": "VestingCompleted", - "fields": [ - { - "name": "account", - "type": 0, - "typeName": "T::AccountId", - "docs": null - } - ], - "index": 1, + "name": "PvfCheckStatementFuture", + "fields": null, + "index": 6, "docs": [ - "An \\[account\\] has become fully vested." + "The statement for PVF pre-checking is for a future session." + ] + }, + { + "name": "PvfCheckValidatorIndexOutOfBounds", + "fields": null, + "index": 7, + "docs": [ + "Claimed validator index is out of bounds." + ] + }, + { + "name": "PvfCheckInvalidSignature", + "fields": null, + "index": 8, + "docs": [ + "The signature for the PVF pre-checking is invalid." + ] + }, + { + "name": "PvfCheckDoubleVote", + "fields": null, + "index": 9, + "docs": [ + "The given validator already has cast a vote." + ] + }, + { + "name": "PvfCheckSubjectInvalid", + "fields": null, + "index": 10, + "docs": [ + "The given PVF does not exist at the moment of process a vote." + ] + }, + { + "name": "PvfCheckDisabled", + "fields": null, + "index": 11, + "docs": [ + "The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism", + "is disabled." + ] + }, + { + "name": "CannotUpgradeCode", + "fields": null, + "index": 12, + "docs": [ + "Parachain cannot currently schedule a code upgrade." ] } ] } }, "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "\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" ] }, - "660": { + "797": { "path": null, "def": { "Sequence": { - "type": 661 + "type": 798 } }, "docs": null }, - "661": { + "798": { "path": [ "polkadot_runtime_parachains", "initializer", @@ -33937,13 +45103,13 @@ "fields": [ { "name": "validators", - "type": 627, + "type": 760, "typeName": "Vec\u003cValidatorId\u003e", "docs": null }, { "name": "queued", - "type": 627, + "type": 760, "typeName": "Vec\u003cValidatorId\u003e", "docs": null }, @@ -33958,16 +45124,97 @@ }, "docs": null }, - "662": { + "799": { "path": null, "def": { "Sequence": { - "type": 663 + "type": 800 } }, "docs": null }, - "663": { + "8": { + "path": [ + "sp_weights", + "weight_v2", + "Weight" + ], + "def": { + "Composite": { + "fields": [ + { + "name": "ref_time", + "type": 9, + "typeName": "u64", + "docs": null + }, + { + "name": "proof_size", + "type": 9, + "typeName": "u64", + "docs": null + } + ] + } + }, + "docs": null + }, + "80": { + "path": [ + "sp_runtime", + "generic", + "header", + "Header" + ], + "params": [ + { + "name": "Number", + "type": 4 + }, + { + "name": "Hash", + "type": 81 + } + ], + "def": { + "Composite": { + "fields": [ + { + "name": "parent_hash", + "type": 11, + "typeName": "Hash::Output", + "docs": null + }, + { + "name": "number", + "type": 82, + "typeName": "Number", + "docs": null + }, + { + "name": "state_root", + "type": 11, + "typeName": "Hash::Output", + "docs": null + }, + { + "name": "extrinsics_root", + "type": 11, + "typeName": "Hash::Output", + "docs": null + }, + { + "name": "digest", + "type": 13, + "typeName": "Digest", + "docs": null + } + ] + } + }, + "docs": null + }, + "800": { "path": [ "polkadot_core_primitives", "InboundDownwardMessage" @@ -33989,7 +45236,7 @@ }, { "name": "msg", - "type": 10, + "type": 12, "typeName": "DownwardMessage", "docs": null } @@ -33998,17 +45245,17 @@ }, "docs": null }, - "664": { + "801": { "path": null, "def": { "Tuple": [ - 85, - 10 + 156, + 12 ] }, "docs": null }, - "665": { + "802": { "path": [ "polkadot_runtime_parachains", "ump", @@ -34044,10 +45291,10 @@ } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "666": { + "803": { "path": [ "polkadot_runtime_parachains", "hrmp", @@ -34058,7 +45305,7 @@ "fields": [ { "name": "confirmed", - "type": 52, + "type": 37, "typeName": "bool", "docs": null }, @@ -34097,16 +45344,16 @@ }, "docs": null }, - "667": { + "804": { "path": null, "def": { "Sequence": { - "type": 99 + "type": 374 } }, "docs": null }, - "668": { + "805": { "path": [ "polkadot_runtime_parachains", "hrmp", @@ -34147,7 +45394,7 @@ }, { "name": "mqc_head", - "type": 669, + "type": 806, "typeName": "Option\u003cHash\u003e", "docs": null }, @@ -34168,14 +45415,14 @@ }, "docs": null }, - "669": { + "806": { "path": [ "Option" ], "params": [ { "name": "T", - "type": 9 + "type": 11 } ], "def": { @@ -34191,7 +45438,7 @@ "name": "Some", "fields": [ { - "type": 9, + "type": 11, "typeName": "", "docs": null } @@ -34204,100 +45451,16 @@ }, "docs": null }, - "67": { - "path": [ - "pallet_scheduler", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Scheduled", - "fields": [ - { - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 0, - "docs": [ - "Scheduled some task. \\[when, index\\]" - ] - }, - { - "name": "Canceled", - "fields": [ - { - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - }, - { - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 1, - "docs": [ - "Canceled some task. \\[when, index\\]" - ] - }, - { - "name": "Dispatched", - "fields": [ - { - "type": 68, - "typeName": "TaskAddress\u003cT::BlockNumber\u003e", - "docs": null - }, - { - "type": 69, - "typeName": "Option\u003cVec\u003cu8\u003e\u003e", - "docs": null - }, - { - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], - "index": 2, - "docs": [ - "Dispatched some task. \\[task, id, result\\]" - ] - } - ] - } - }, - "docs": [ - "Events type." - ] - }, - "670": { + "807": { "path": null, "def": { "Sequence": { - "type": 671 + "type": 808 } }, "docs": null }, - "671": { + "808": { "path": [ "polkadot_core_primitives", "InboundHrmpMessage" @@ -34319,7 +45482,7 @@ }, { "name": "data", - "type": 10, + "type": 12, "typeName": "sp_std::vec::Vec\u003cu8\u003e", "docs": null } @@ -34328,26 +45491,39 @@ }, "docs": null }, - "672": { + "809": { "path": null, "def": { "Sequence": { - "type": 673 + "type": 810 } }, "docs": null }, - "673": { + "81": { + "path": [ + "sp_runtime", + "traits", + "BlakeTwo256" + ], + "def": { + "Composite": { + "fields": null + } + }, + "docs": null + }, + "810": { "path": null, "def": { "Tuple": [ 4, - 646 + 779 ] }, "docs": null }, - "674": { + "811": { "path": [ "polkadot_runtime_parachains", "hrmp", @@ -34506,54 +45682,80 @@ "docs": [ "Cannot cancel an HRMP open channel request because it is already confirmed." ] + }, + { + "name": "WrongWitness", + "fields": null, + "index": 18, + "docs": [ + "The provided witness data is wrong." + ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "675": { + "812": { "path": null, "def": { "Sequence": { - "type": 244 + "type": 110 } }, "docs": null }, - "676": { + "813": { "path": [ "polkadot_primitives", - "v1", + "v2", "SessionInfo" ], "def": { "Composite": { "fields": [ + { + "name": "active_validator_indices", + "type": 759, + "typeName": "Vec\u003cValidatorIndex\u003e", + "docs": null + }, + { + "name": "random_seed", + "type": 1, + "typeName": "[u8; 32]", + "docs": null + }, + { + "name": "dispute_period", + "type": 4, + "typeName": "SessionIndex", + "docs": null + }, { "name": "validators", - "type": 627, - "typeName": "Vec\u003cValidatorId\u003e", + "type": 814, + "typeName": "IndexedVec\u003cValidatorIndex, ValidatorId\u003e", "docs": null }, { "name": "discovery_keys", - "type": 677, + "type": 815, "typeName": "Vec\u003cAuthorityDiscoveryId\u003e", "docs": null }, { "name": "assignment_keys", - "type": 675, + "type": 812, "typeName": "Vec\u003cAssignmentId\u003e", "docs": null }, { "name": "validator_groups", - "type": 637, - "typeName": "Vec\u003cVec\u003cValidatorIndex\u003e\u003e", + "type": 816, + "typeName": "IndexedVec\u003cGroupIndex, Vec\u003cValidatorIndex\u003e\u003e", "docs": null }, { @@ -34597,29 +45799,87 @@ }, "docs": null }, - "677": { + "814": { + "path": [ + "polkadot_primitives", + "v2", + "IndexedVec" + ], + "params": [ + { + "name": "K", + "type": 343 + }, + { + "name": "V", + "type": 109 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 760, + "typeName": "Vec\u003cV\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "815": { "path": null, "def": { "Sequence": { - "type": 245 + "type": 111 } }, "docs": null }, - "678": { + "816": { + "path": [ + "polkadot_primitives", + "v2", + "IndexedVec" + ], + "params": [ + { + "name": "K", + "type": 476 + }, + { + "name": "V", + "type": 759 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 770, + "typeName": "Vec\u003cV\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "817": { "path": null, "def": { "Tuple": [ 4, - 101 + 362 ] }, "docs": null }, - "679": { + "818": { "path": [ "polkadot_primitives", - "v1", + "v2", "DisputeState" ], "params": [ @@ -34633,14 +45893,14 @@ "fields": [ { "name": "validators_for", - "type": 473, - "typeName": "BitVec\u003cbitvec::order::Lsb0, u8\u003e", + "type": 341, + "typeName": "BitVec\u003cu8, bitvec::order::Lsb0\u003e", "docs": null }, { "name": "validators_against", - "type": 473, - "typeName": "BitVec\u003cbitvec::order::Lsb0, u8\u003e", + "type": 341, + "typeName": "BitVec\u003cu8, bitvec::order::Lsb0\u003e", "docs": null }, { @@ -34651,7 +45911,7 @@ }, { "name": "concluded_at", - "type": 235, + "type": 134, "typeName": "Option\u003cN\u003e", "docs": null } @@ -34660,17 +45920,7 @@ }, "docs": null }, - "68": { - "path": null, - "def": { - "Tuple": [ - 4, - 4 - ] - }, - "docs": null - }, - "680": { + "819": { "path": [ "polkadot_runtime_parachains", "disputes", @@ -34727,29 +45977,38 @@ ] }, { - "name": "PotentialSpam", + "name": "SingleSidedDispute", "fields": null, "index": 5, "docs": [ - "Too many spam slots used by some specific validator." + "A dispute where there are only votes on one side." ] }, { - "name": "SingleSidedDispute", + "name": "UnconfirmedDispute", "fields": null, "index": 6, "docs": [ - "A dispute where there are only votes on one side." + "Unconfirmed dispute statement sets provided" ] } ] } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "681": { + "82": { + "path": null, + "def": { + "Compact": { + "type": 4 + } + }, + "docs": null + }, + "820": { "path": [ "polkadot_runtime_common", "paras_registrar", @@ -34782,7 +46041,7 @@ }, { "name": "locked", - "type": 52, + "type": 37, "typeName": "bool", "docs": null } @@ -34791,7 +46050,7 @@ }, "docs": null }, - "682": { + "821": { "path": [ "polkadot_runtime_common", "paras_registrar", @@ -34902,60 +46161,41 @@ "docs": [ "The ID given for registration has not been reserved." ] + }, + { + "name": "EmptyCode", + "fields": null, + "index": 12, + "docs": [ + "Registering parachain with empty code is not allowed." + ] + }, + { + "name": "CannotSwap", + "fields": null, + "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/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "683": { + "822": { "path": null, "def": { "Sequence": { - "type": 684 + "type": 697 } }, "docs": null }, - "684": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 56 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "None", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Some", - "fields": [ - { - "type": 56, - "typeName": "", - "docs": null - } - ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "685": { + "823": { "path": [ "polkadot_runtime_common", "slots", @@ -34991,37 +46231,37 @@ } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "686": { + "824": { "path": null, "def": { "Tuple": [ 0, - 85 + 156 ] }, "docs": null }, - "687": { + "825": { "path": null, "def": { "Array": { "len": 36, - "type": 688 + "type": 826 } }, "docs": null }, - "688": { + "826": { "path": [ "Option" ], "params": [ { "name": "T", - "type": 689 + "type": 827 } ], "def": { @@ -35037,7 +46277,7 @@ "name": "Some", "fields": [ { - "type": 689, + "type": 827, "typeName": "", "docs": null } @@ -35050,54 +46290,18 @@ }, "docs": null }, - "689": { + "827": { "path": null, "def": { "Tuple": [ 0, - 85, + 156, 6 ] }, "docs": null }, - "69": { - "path": [ - "Option" - ], - "params": [ - { - "name": "T", - "type": 10 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "None", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Some", - "fields": [ - { - "type": 10, - "typeName": "", - "docs": null - } - ], - "index": 1, - "docs": null - } - ] - } - }, - "docs": null - }, - "690": { + "828": { "path": [ "polkadot_runtime_common", "auctions", @@ -35173,10 +46377,10 @@ } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "691": { + "829": { "path": [ "polkadot_runtime_common", "crowdloan", @@ -35211,7 +46415,7 @@ }, { "name": "verifier", - "type": 505, + "type": 381, "typeName": "Option\u003cMultiSigner\u003e", "docs": null }, @@ -35241,7 +46445,7 @@ }, { "name": "last_contribution", - "type": 692, + "type": 830, "typeName": "LastContribution\u003cBlockNumber\u003e", "docs": null }, @@ -35258,9 +46462,9 @@ "docs": null }, { - "name": "trie_index", + "name": "fund_index", "type": 4, - "typeName": "TrieIndex", + "typeName": "FundIndex", "docs": null } ] @@ -35268,7 +46472,26 @@ }, "docs": null }, - "692": { + "83": { + "path": [ + "sp_consensus_babe", + "app", + "Public" + ], + "def": { + "Composite": { + "fields": [ + { + "type": 49, + "typeName": "sr25519::Public", + "docs": null + } + ] + } + }, + "docs": null + }, + "830": { "path": [ "polkadot_runtime_common", "crowdloan", @@ -35318,7 +46541,7 @@ }, "docs": null }, - "693": { + "831": { "path": [ "polkadot_runtime_common", "crowdloan", @@ -35522,10 +46745,10 @@ } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "694": { + "832": { "path": [ "pallet_xcm", "pallet", @@ -35545,13 +46768,13 @@ "fields": [ { "name": "responder", - "type": 142, + "type": 389, "typeName": "VersionedMultiLocation", "docs": null }, { "name": "maybe_notify", - "type": 695, + "type": 833, "typeName": "Option\u003c(u8, u8)\u003e", "docs": null }, @@ -35570,13 +46793,13 @@ "fields": [ { "name": "origin", - "type": 142, + "type": 389, "typeName": "VersionedMultiLocation", "docs": null }, { "name": "is_active", - "type": 52, + "type": 37, "typeName": "bool", "docs": null } @@ -35589,7 +46812,7 @@ "fields": [ { "name": "response", - "type": 697, + "type": 835, "typeName": "VersionedResponse", "docs": null }, @@ -35608,14 +46831,14 @@ }, "docs": null }, - "695": { + "833": { "path": [ "Option" ], "params": [ { "name": "T", - "type": 696 + "type": 834 } ], "def": { @@ -35631,7 +46854,7 @@ "name": "Some", "fields": [ { - "type": 696, + "type": 834, "typeName": "", "docs": null } @@ -35644,7 +46867,7 @@ }, "docs": null }, - "696": { + "834": { "path": null, "def": { "Tuple": [ @@ -35654,7 +46877,7 @@ }, "docs": null }, - "697": { + "835": { "path": [ "xcm", "VersionedResponse" @@ -35666,7 +46889,7 @@ "name": "V0", "fields": [ { - "type": 518, + "type": 400, "typeName": "v0::Response", "docs": null } @@ -35678,7 +46901,7 @@ "name": "V1", "fields": [ { - "type": 523, + "type": 415, "typeName": "v1::Response", "docs": null } @@ -35690,7 +46913,7 @@ "name": "V2", "fields": [ { - "type": 127, + "type": 419, "typeName": "v2::Response", "docs": null } @@ -35703,58 +46926,50 @@ }, "docs": null }, - "698": { + "836": { "path": null, "def": { "Tuple": [ 4, - 142 + 389 ] }, "docs": null }, - "699": { + "837": { "path": null, "def": { "Tuple": [ - 8, - 8, + 10, + 10, 4 ] }, "docs": null }, - "7": { + "838": { "path": [ - "frame_support", - "weights", - "PerDispatchClass" + "sp_core", + "bounded", + "bounded_vec", + "BoundedVec" ], "params": [ { "name": "T", - "type": 8 + "type": 839 + }, + { + "name": "S", + "type": 0 } ], "def": { "Composite": { "fields": [ { - "name": "normal", - "type": 8, - "typeName": "T", - "docs": null - }, - { - "name": "operational", - "type": 8, - "typeName": "T", - "docs": null - }, - { - "name": "mandatory", - "type": 8, - "typeName": "T", + "type": 840, + "typeName": "Vec\u003cT\u003e", "docs": null } ] @@ -35762,160 +46977,27 @@ }, "docs": null }, - "70": { - "path": [ - "pallet_proxy", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], + "839": { + "path": null, "def": { - "Variant": { - "variants": [ - { - "name": "ProxyExecuted", - "fields": [ - { - "name": "result", - "type": 49, - "typeName": "DispatchResult", - "docs": null - } - ], - "index": 0, - "docs": [ - "A proxy was executed correctly, with the given." - ] - }, - { - "name": "AnonymousCreated", - "fields": [ - { - "name": "anonymous", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "proxy_type", - "type": 71, - "typeName": "T::ProxyType", - "docs": null - }, - { - "name": "disambiguation_index", - "type": 72, - "typeName": "u16", - "docs": null - } - ], - "index": 1, - "docs": [ - "Anonymous account has been created by new proxy with given", - "disambiguation index and proxy type." - ] - }, - { - "name": "Announced", - "fields": [ - { - "name": "real", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "proxy", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "call_hash", - "type": 9, - "typeName": "CallHashOf\u003cT\u003e", - "docs": null - } - ], - "index": 2, - "docs": [ - "An announcement was placed to make a call in the future." - ] - }, - { - "name": "ProxyAdded", - "fields": [ - { - "name": "delegator", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "delegatee", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "proxy_type", - "type": 71, - "typeName": "T::ProxyType", - "docs": null - }, - { - "name": "delay", - "type": 4, - "typeName": "T::BlockNumber", - "docs": null - } - ], - "index": 3, - "docs": [ - "A proxy was added." - ] - } - ] - } + "Tuple": [ + 389, + 4 + ] }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "700": { + "84": { "path": [ - "frame_support", - "storage", - "bounded_vec", - "BoundedVec" - ], - "params": [ - { - "name": "T", - "type": 701 - }, - { - "name": "S", - "type": 0 - } + "sp_consensus_slots", + "Slot" ], "def": { "Composite": { "fields": [ { - "type": 702, - "typeName": "Vec\u003cT\u003e", + "type": 10, + "typeName": "u64", "docs": null } ] @@ -35923,26 +47005,16 @@ }, "docs": null }, - "701": { - "path": null, - "def": { - "Tuple": [ - 142, - 4 - ] - }, - "docs": null - }, - "702": { + "840": { "path": null, "def": { "Sequence": { - "type": 701 + "type": 839 } }, "docs": null }, - "703": { + "841": { "path": [ "pallet_xcm", "pallet", @@ -35967,7 +47039,7 @@ "name": "NotifyCurrentTargets", "fields": [ { - "type": 69, + "type": 842, "typeName": "Option\u003cVec\u003cu8\u003e\u003e", "docs": null } @@ -35986,7 +47058,43 @@ }, "docs": null }, - "704": { + "842": { + "path": [ + "Option" + ], + "params": [ + { + "name": "T", + "type": 12 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "None", + "fields": null, + "index": 0, + "docs": null + }, + { + "name": "Some", + "fields": [ + { + "type": 12, + "typeName": "", + "docs": null + } + ], + "index": 1, + "docs": null + } + ] + } + }, + "docs": null + }, + "843": { "path": [ "pallet_xcm", "pallet", @@ -36112,10 +47220,10 @@ } }, "docs": [ - "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/v3/runtime/events-and-errors)\n\t\t\tof this pallet.\n\t\t\t" + "\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" ] }, - "705": { + "844": { "path": [ "sp_runtime", "generic", @@ -36125,26 +47233,26 @@ "params": [ { "name": "Address", - "type": 196 + "type": 91 }, { "name": "Call", - "type": 301 + "type": 73 }, { "name": "Signature", - "type": 510 + "type": 386 }, { "name": "Extra", - "type": 706 + "type": 845 } ], "def": { "Composite": { "fields": [ { - "type": 10, + "type": 12, "typeName": "", "docs": null } @@ -36153,22 +47261,43 @@ }, "docs": null }, - "706": { + "845": { "path": null, "def": { "Tuple": [ - 707, - 708, - 709, - 710, - 712, - 713, - 714 + 846, + 847, + 848, + 849, + 850, + 852, + 853, + 854 ] }, "docs": null }, - "707": { + "846": { + "path": [ + "frame_system", + "extensions", + "check_non_zero_sender", + "CheckNonZeroSender" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": null + } + }, + "docs": null + }, + "847": { "path": [ "frame_system", "extensions", @@ -36188,7 +47317,7 @@ }, "docs": null }, - "708": { + "848": { "path": [ "frame_system", "extensions", @@ -36208,7 +47337,7 @@ }, "docs": null }, - "709": { + "849": { "path": [ "frame_system", "extensions", @@ -36228,54 +47357,30 @@ }, "docs": null }, - "71": { + "85": { "path": [ - "kusama_runtime", - "ProxyType" + "sp_session", + "MembershipProof" ], "def": { - "Variant": { - "variants": [ - { - "name": "Any", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "NonTransfer", - "fields": null, - "index": 1, - "docs": null - }, - { - "name": "Governance", - "fields": null, - "index": 2, - "docs": null - }, - { - "name": "Staking", - "fields": null, - "index": 3, - "docs": null - }, + "Composite": { + "fields": [ { - "name": "IdentityJudgement", - "fields": null, - "index": 4, + "name": "session", + "type": 4, + "typeName": "SessionIndex", "docs": null }, { - "name": "CancelProxy", - "fields": null, - "index": 5, + "name": "trie_nodes", + "type": 77, + "typeName": "Vec\u003cVec\u003cu8\u003e\u003e", "docs": null }, { - "name": "Auction", - "fields": null, - "index": 6, + "name": "validator_count", + "type": 4, + "typeName": "ValidatorCount", "docs": null } ] @@ -36283,7 +47388,7 @@ }, "docs": null }, - "710": { + "850": { "path": [ "frame_system", "extensions", @@ -36300,7 +47405,7 @@ "Composite": { "fields": [ { - "type": 711, + "type": 851, "typeName": "Era", "docs": null } @@ -36309,7 +47414,7 @@ }, "docs": null }, - "711": { + "851": { "path": [ "sp_runtime", "generic", @@ -37886,451 +48991,7 @@ "docs": null }, { - "name": "Mortal131", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 131, - "docs": null - }, - { - "name": "Mortal132", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 132, - "docs": null - }, - { - "name": "Mortal133", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 133, - "docs": null - }, - { - "name": "Mortal134", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 134, - "docs": null - }, - { - "name": "Mortal135", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 135, - "docs": null - }, - { - "name": "Mortal136", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 136, - "docs": null - }, - { - "name": "Mortal137", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 137, - "docs": null - }, - { - "name": "Mortal138", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 138, - "docs": null - }, - { - "name": "Mortal139", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 139, - "docs": null - }, - { - "name": "Mortal140", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 140, - "docs": null - }, - { - "name": "Mortal141", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 141, - "docs": null - }, - { - "name": "Mortal142", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 142, - "docs": null - }, - { - "name": "Mortal143", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 143, - "docs": null - }, - { - "name": "Mortal144", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 144, - "docs": null - }, - { - "name": "Mortal145", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 145, - "docs": null - }, - { - "name": "Mortal146", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 146, - "docs": null - }, - { - "name": "Mortal147", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 147, - "docs": null - }, - { - "name": "Mortal148", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 148, - "docs": null - }, - { - "name": "Mortal149", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 149, - "docs": null - }, - { - "name": "Mortal150", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 150, - "docs": null - }, - { - "name": "Mortal151", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 151, - "docs": null - }, - { - "name": "Mortal152", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 152, - "docs": null - }, - { - "name": "Mortal153", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 153, - "docs": null - }, - { - "name": "Mortal154", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 154, - "docs": null - }, - { - "name": "Mortal155", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 155, - "docs": null - }, - { - "name": "Mortal156", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 156, - "docs": null - }, - { - "name": "Mortal157", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 157, - "docs": null - }, - { - "name": "Mortal158", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 158, - "docs": null - }, - { - "name": "Mortal159", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 159, - "docs": null - }, - { - "name": "Mortal160", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 160, - "docs": null - }, - { - "name": "Mortal161", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 161, - "docs": null - }, - { - "name": "Mortal162", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 162, - "docs": null - }, - { - "name": "Mortal163", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 163, - "docs": null - }, - { - "name": "Mortal164", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 164, - "docs": null - }, - { - "name": "Mortal165", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 165, - "docs": null - }, - { - "name": "Mortal166", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 166, - "docs": null - }, - { - "name": "Mortal167", - "fields": [ - { - "type": 2, - "typeName": "", - "docs": null - } - ], - "index": 167, - "docs": null - }, - { - "name": "Mortal168", + "name": "Mortal131", "fields": [ { "type": 2, @@ -38338,11 +48999,11 @@ "docs": null } ], - "index": 168, + "index": 131, "docs": null }, { - "name": "Mortal169", + "name": "Mortal132", "fields": [ { "type": 2, @@ -38350,11 +49011,11 @@ "docs": null } ], - "index": 169, + "index": 132, "docs": null }, { - "name": "Mortal170", + "name": "Mortal133", "fields": [ { "type": 2, @@ -38362,11 +49023,11 @@ "docs": null } ], - "index": 170, + "index": 133, "docs": null }, { - "name": "Mortal171", + "name": "Mortal134", "fields": [ { "type": 2, @@ -38374,11 +49035,11 @@ "docs": null } ], - "index": 171, + "index": 134, "docs": null }, { - "name": "Mortal172", + "name": "Mortal135", "fields": [ { "type": 2, @@ -38386,11 +49047,11 @@ "docs": null } ], - "index": 172, + "index": 135, "docs": null }, { - "name": "Mortal173", + "name": "Mortal136", "fields": [ { "type": 2, @@ -38398,11 +49059,11 @@ "docs": null } ], - "index": 173, + "index": 136, "docs": null }, { - "name": "Mortal174", + "name": "Mortal137", "fields": [ { "type": 2, @@ -38410,11 +49071,11 @@ "docs": null } ], - "index": 174, + "index": 137, "docs": null }, { - "name": "Mortal175", + "name": "Mortal138", "fields": [ { "type": 2, @@ -38422,11 +49083,11 @@ "docs": null } ], - "index": 175, + "index": 138, "docs": null }, { - "name": "Mortal176", + "name": "Mortal139", "fields": [ { "type": 2, @@ -38434,11 +49095,11 @@ "docs": null } ], - "index": 176, + "index": 139, "docs": null }, { - "name": "Mortal177", + "name": "Mortal140", "fields": [ { "type": 2, @@ -38446,11 +49107,11 @@ "docs": null } ], - "index": 177, + "index": 140, "docs": null }, { - "name": "Mortal178", + "name": "Mortal141", "fields": [ { "type": 2, @@ -38458,11 +49119,11 @@ "docs": null } ], - "index": 178, + "index": 141, "docs": null }, { - "name": "Mortal179", + "name": "Mortal142", "fields": [ { "type": 2, @@ -38470,11 +49131,11 @@ "docs": null } ], - "index": 179, + "index": 142, "docs": null }, { - "name": "Mortal180", + "name": "Mortal143", "fields": [ { "type": 2, @@ -38482,11 +49143,11 @@ "docs": null } ], - "index": 180, + "index": 143, "docs": null }, { - "name": "Mortal181", + "name": "Mortal144", "fields": [ { "type": 2, @@ -38494,11 +49155,11 @@ "docs": null } ], - "index": 181, + "index": 144, "docs": null }, { - "name": "Mortal182", + "name": "Mortal145", "fields": [ { "type": 2, @@ -38506,11 +49167,11 @@ "docs": null } ], - "index": 182, + "index": 145, "docs": null }, { - "name": "Mortal183", + "name": "Mortal146", "fields": [ { "type": 2, @@ -38518,11 +49179,11 @@ "docs": null } ], - "index": 183, + "index": 146, "docs": null }, { - "name": "Mortal184", + "name": "Mortal147", "fields": [ { "type": 2, @@ -38530,11 +49191,11 @@ "docs": null } ], - "index": 184, + "index": 147, "docs": null }, { - "name": "Mortal185", + "name": "Mortal148", "fields": [ { "type": 2, @@ -38542,11 +49203,11 @@ "docs": null } ], - "index": 185, + "index": 148, "docs": null }, { - "name": "Mortal186", + "name": "Mortal149", "fields": [ { "type": 2, @@ -38554,11 +49215,11 @@ "docs": null } ], - "index": 186, + "index": 149, "docs": null }, { - "name": "Mortal187", + "name": "Mortal150", "fields": [ { "type": 2, @@ -38566,11 +49227,11 @@ "docs": null } ], - "index": 187, + "index": 150, "docs": null }, { - "name": "Mortal188", + "name": "Mortal151", "fields": [ { "type": 2, @@ -38578,11 +49239,11 @@ "docs": null } ], - "index": 188, + "index": 151, "docs": null }, { - "name": "Mortal189", + "name": "Mortal152", "fields": [ { "type": 2, @@ -38590,11 +49251,11 @@ "docs": null } ], - "index": 189, + "index": 152, "docs": null }, { - "name": "Mortal190", + "name": "Mortal153", "fields": [ { "type": 2, @@ -38602,11 +49263,11 @@ "docs": null } ], - "index": 190, + "index": 153, "docs": null }, { - "name": "Mortal191", + "name": "Mortal154", "fields": [ { "type": 2, @@ -38614,11 +49275,11 @@ "docs": null } ], - "index": 191, + "index": 154, "docs": null }, { - "name": "Mortal192", + "name": "Mortal155", "fields": [ { "type": 2, @@ -38626,11 +49287,11 @@ "docs": null } ], - "index": 192, + "index": 155, "docs": null }, { - "name": "Mortal193", + "name": "Mortal156", "fields": [ { "type": 2, @@ -38638,11 +49299,11 @@ "docs": null } ], - "index": 193, + "index": 156, "docs": null }, { - "name": "Mortal194", + "name": "Mortal157", "fields": [ { "type": 2, @@ -38650,11 +49311,11 @@ "docs": null } ], - "index": 194, + "index": 157, "docs": null }, { - "name": "Mortal195", + "name": "Mortal158", "fields": [ { "type": 2, @@ -38662,11 +49323,11 @@ "docs": null } ], - "index": 195, + "index": 158, "docs": null }, { - "name": "Mortal196", + "name": "Mortal159", "fields": [ { "type": 2, @@ -38674,11 +49335,11 @@ "docs": null } ], - "index": 196, + "index": 159, "docs": null }, { - "name": "Mortal197", + "name": "Mortal160", "fields": [ { "type": 2, @@ -38686,11 +49347,11 @@ "docs": null } ], - "index": 197, + "index": 160, "docs": null }, { - "name": "Mortal198", + "name": "Mortal161", "fields": [ { "type": 2, @@ -38698,11 +49359,11 @@ "docs": null } ], - "index": 198, + "index": 161, "docs": null }, { - "name": "Mortal199", + "name": "Mortal162", "fields": [ { "type": 2, @@ -38710,11 +49371,11 @@ "docs": null } ], - "index": 199, + "index": 162, "docs": null }, { - "name": "Mortal200", + "name": "Mortal163", "fields": [ { "type": 2, @@ -38722,11 +49383,11 @@ "docs": null } ], - "index": 200, + "index": 163, "docs": null }, { - "name": "Mortal201", + "name": "Mortal164", "fields": [ { "type": 2, @@ -38734,11 +49395,11 @@ "docs": null } ], - "index": 201, + "index": 164, "docs": null }, { - "name": "Mortal202", + "name": "Mortal165", "fields": [ { "type": 2, @@ -38746,11 +49407,11 @@ "docs": null } ], - "index": 202, + "index": 165, "docs": null }, { - "name": "Mortal203", + "name": "Mortal166", "fields": [ { "type": 2, @@ -38758,11 +49419,11 @@ "docs": null } ], - "index": 203, + "index": 166, "docs": null }, { - "name": "Mortal204", + "name": "Mortal167", "fields": [ { "type": 2, @@ -38770,11 +49431,11 @@ "docs": null } ], - "index": 204, + "index": 167, "docs": null }, { - "name": "Mortal205", + "name": "Mortal168", "fields": [ { "type": 2, @@ -38782,11 +49443,11 @@ "docs": null } ], - "index": 205, + "index": 168, "docs": null }, { - "name": "Mortal206", + "name": "Mortal169", "fields": [ { "type": 2, @@ -38794,11 +49455,11 @@ "docs": null } ], - "index": 206, + "index": 169, "docs": null }, { - "name": "Mortal207", + "name": "Mortal170", "fields": [ { "type": 2, @@ -38806,11 +49467,11 @@ "docs": null } ], - "index": 207, + "index": 170, "docs": null }, { - "name": "Mortal208", + "name": "Mortal171", "fields": [ { "type": 2, @@ -38818,11 +49479,11 @@ "docs": null } ], - "index": 208, + "index": 171, "docs": null }, { - "name": "Mortal209", + "name": "Mortal172", "fields": [ { "type": 2, @@ -38830,11 +49491,11 @@ "docs": null } ], - "index": 209, + "index": 172, "docs": null }, { - "name": "Mortal210", + "name": "Mortal173", "fields": [ { "type": 2, @@ -38842,11 +49503,11 @@ "docs": null } ], - "index": 210, + "index": 173, "docs": null }, { - "name": "Mortal211", + "name": "Mortal174", "fields": [ { "type": 2, @@ -38854,11 +49515,11 @@ "docs": null } ], - "index": 211, + "index": 174, "docs": null }, { - "name": "Mortal212", + "name": "Mortal175", "fields": [ { "type": 2, @@ -38866,11 +49527,11 @@ "docs": null } ], - "index": 212, + "index": 175, "docs": null }, { - "name": "Mortal213", + "name": "Mortal176", "fields": [ { "type": 2, @@ -38878,11 +49539,11 @@ "docs": null } ], - "index": 213, + "index": 176, "docs": null }, { - "name": "Mortal214", + "name": "Mortal177", "fields": [ { "type": 2, @@ -38890,11 +49551,11 @@ "docs": null } ], - "index": 214, + "index": 177, "docs": null }, { - "name": "Mortal215", + "name": "Mortal178", "fields": [ { "type": 2, @@ -38902,11 +49563,11 @@ "docs": null } ], - "index": 215, + "index": 178, "docs": null }, { - "name": "Mortal216", + "name": "Mortal179", "fields": [ { "type": 2, @@ -38914,11 +49575,11 @@ "docs": null } ], - "index": 216, + "index": 179, "docs": null }, { - "name": "Mortal217", + "name": "Mortal180", "fields": [ { "type": 2, @@ -38926,11 +49587,11 @@ "docs": null } ], - "index": 217, + "index": 180, "docs": null }, { - "name": "Mortal218", + "name": "Mortal181", "fields": [ { "type": 2, @@ -38938,11 +49599,11 @@ "docs": null } ], - "index": 218, + "index": 181, "docs": null }, { - "name": "Mortal219", + "name": "Mortal182", "fields": [ { "type": 2, @@ -38950,11 +49611,11 @@ "docs": null } ], - "index": 219, + "index": 182, "docs": null }, { - "name": "Mortal220", + "name": "Mortal183", "fields": [ { "type": 2, @@ -38962,11 +49623,11 @@ "docs": null } ], - "index": 220, + "index": 183, "docs": null }, { - "name": "Mortal221", + "name": "Mortal184", "fields": [ { "type": 2, @@ -38974,11 +49635,11 @@ "docs": null } ], - "index": 221, + "index": 184, "docs": null }, { - "name": "Mortal222", + "name": "Mortal185", "fields": [ { "type": 2, @@ -38986,11 +49647,11 @@ "docs": null } ], - "index": 222, + "index": 185, "docs": null }, { - "name": "Mortal223", + "name": "Mortal186", "fields": [ { "type": 2, @@ -38998,11 +49659,11 @@ "docs": null } ], - "index": 223, + "index": 186, "docs": null }, { - "name": "Mortal224", + "name": "Mortal187", "fields": [ { "type": 2, @@ -39010,11 +49671,11 @@ "docs": null } ], - "index": 224, + "index": 187, "docs": null }, { - "name": "Mortal225", + "name": "Mortal188", "fields": [ { "type": 2, @@ -39022,11 +49683,11 @@ "docs": null } ], - "index": 225, + "index": 188, "docs": null }, { - "name": "Mortal226", + "name": "Mortal189", "fields": [ { "type": 2, @@ -39034,11 +49695,11 @@ "docs": null } ], - "index": 226, + "index": 189, "docs": null }, { - "name": "Mortal227", + "name": "Mortal190", "fields": [ { "type": 2, @@ -39046,11 +49707,11 @@ "docs": null } ], - "index": 227, + "index": 190, "docs": null }, { - "name": "Mortal228", + "name": "Mortal191", "fields": [ { "type": 2, @@ -39058,11 +49719,11 @@ "docs": null } ], - "index": 228, + "index": 191, "docs": null }, { - "name": "Mortal229", + "name": "Mortal192", "fields": [ { "type": 2, @@ -39070,11 +49731,11 @@ "docs": null } ], - "index": 229, + "index": 192, "docs": null }, { - "name": "Mortal230", + "name": "Mortal193", "fields": [ { "type": 2, @@ -39082,11 +49743,11 @@ "docs": null } ], - "index": 230, + "index": 193, "docs": null }, { - "name": "Mortal231", + "name": "Mortal194", "fields": [ { "type": 2, @@ -39094,11 +49755,11 @@ "docs": null } ], - "index": 231, + "index": 194, "docs": null }, { - "name": "Mortal232", + "name": "Mortal195", "fields": [ { "type": 2, @@ -39106,11 +49767,11 @@ "docs": null } ], - "index": 232, + "index": 195, "docs": null }, { - "name": "Mortal233", + "name": "Mortal196", "fields": [ { "type": 2, @@ -39118,11 +49779,11 @@ "docs": null } ], - "index": 233, + "index": 196, "docs": null }, { - "name": "Mortal234", + "name": "Mortal197", "fields": [ { "type": 2, @@ -39130,11 +49791,11 @@ "docs": null } ], - "index": 234, + "index": 197, "docs": null }, { - "name": "Mortal235", + "name": "Mortal198", "fields": [ { "type": 2, @@ -39142,11 +49803,11 @@ "docs": null } ], - "index": 235, + "index": 198, "docs": null }, { - "name": "Mortal236", + "name": "Mortal199", "fields": [ { "type": 2, @@ -39154,11 +49815,11 @@ "docs": null } ], - "index": 236, + "index": 199, "docs": null }, { - "name": "Mortal237", + "name": "Mortal200", "fields": [ { "type": 2, @@ -39166,11 +49827,11 @@ "docs": null } ], - "index": 237, + "index": 200, "docs": null }, { - "name": "Mortal238", + "name": "Mortal201", "fields": [ { "type": 2, @@ -39178,11 +49839,11 @@ "docs": null } ], - "index": 238, + "index": 201, "docs": null }, { - "name": "Mortal239", + "name": "Mortal202", "fields": [ { "type": 2, @@ -39190,11 +49851,11 @@ "docs": null } ], - "index": 239, + "index": 202, "docs": null }, { - "name": "Mortal240", + "name": "Mortal203", "fields": [ { "type": 2, @@ -39202,11 +49863,11 @@ "docs": null } ], - "index": 240, + "index": 203, "docs": null }, { - "name": "Mortal241", + "name": "Mortal204", "fields": [ { "type": 2, @@ -39214,11 +49875,11 @@ "docs": null } ], - "index": 241, + "index": 204, "docs": null }, { - "name": "Mortal242", + "name": "Mortal205", "fields": [ { "type": 2, @@ -39226,11 +49887,11 @@ "docs": null } ], - "index": 242, + "index": 205, "docs": null }, { - "name": "Mortal243", + "name": "Mortal206", "fields": [ { "type": 2, @@ -39238,11 +49899,11 @@ "docs": null } ], - "index": 243, + "index": 206, "docs": null }, { - "name": "Mortal244", + "name": "Mortal207", "fields": [ { "type": 2, @@ -39250,11 +49911,11 @@ "docs": null } ], - "index": 244, + "index": 207, "docs": null }, { - "name": "Mortal245", + "name": "Mortal208", "fields": [ { "type": 2, @@ -39262,11 +49923,11 @@ "docs": null } ], - "index": 245, + "index": 208, "docs": null }, { - "name": "Mortal246", + "name": "Mortal209", "fields": [ { "type": 2, @@ -39274,11 +49935,11 @@ "docs": null } ], - "index": 246, + "index": 209, "docs": null }, { - "name": "Mortal247", + "name": "Mortal210", "fields": [ { "type": 2, @@ -39286,11 +49947,11 @@ "docs": null } ], - "index": 247, + "index": 210, "docs": null }, { - "name": "Mortal248", + "name": "Mortal211", "fields": [ { "type": 2, @@ -39298,11 +49959,11 @@ "docs": null } ], - "index": 248, + "index": 211, "docs": null }, { - "name": "Mortal249", + "name": "Mortal212", "fields": [ { "type": 2, @@ -39310,11 +49971,11 @@ "docs": null } ], - "index": 249, + "index": 212, "docs": null }, { - "name": "Mortal250", + "name": "Mortal213", "fields": [ { "type": 2, @@ -39322,11 +49983,11 @@ "docs": null } ], - "index": 250, + "index": 213, "docs": null }, { - "name": "Mortal251", + "name": "Mortal214", "fields": [ { "type": 2, @@ -39334,11 +49995,11 @@ "docs": null } ], - "index": 251, + "index": 214, "docs": null }, { - "name": "Mortal252", + "name": "Mortal215", "fields": [ { "type": 2, @@ -39346,11 +50007,11 @@ "docs": null } ], - "index": 252, + "index": 215, "docs": null }, { - "name": "Mortal253", + "name": "Mortal216", "fields": [ { "type": 2, @@ -39358,11 +50019,11 @@ "docs": null } ], - "index": 253, + "index": 216, "docs": null }, { - "name": "Mortal254", + "name": "Mortal217", "fields": [ { "type": 2, @@ -39370,11 +50031,11 @@ "docs": null } ], - "index": 254, + "index": 217, "docs": null }, { - "name": "Mortal255", + "name": "Mortal218", "fields": [ { "type": 2, @@ -39382,787 +50043,680 @@ "docs": null } ], - "index": 255, - "docs": null - } - ] - } - }, - "docs": null - }, - "712": { - "path": [ - "frame_system", - "extensions", - "check_nonce", - "CheckNonce" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 112, - "typeName": "T::Index", - "docs": null - } - ] - } - }, - "docs": null - }, - "713": { - "path": [ - "frame_system", - "extensions", - "check_weight", - "CheckWeight" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": null - } - }, - "docs": null - }, - "714": { - "path": [ - "pallet_transaction_payment", - "ChargeTransactionPayment" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Composite": { - "fields": [ - { - "type": 43, - "typeName": "BalanceOf\u003cT\u003e", + "index": 218, "docs": null - } - ] - } - }, - "docs": null - }, - "715": { - "path": [ - "kusama_runtime", - "Runtime" - ], - "def": { - "Composite": { - "fields": null - } - }, - "docs": null - }, - "72": { - "path": null, - "def": { - "Primitive": "U16" - }, - "docs": null - }, - "73": { - "path": [ - "pallet_multisig", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "NewMultisig", + "name": "Mortal219", "fields": [ { - "name": "approving", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "multisig", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "call_hash", - "type": 1, - "typeName": "CallHash", + "type": 2, + "typeName": "", "docs": null } ], - "index": 0, - "docs": [ - "A new multisig operation has begun." - ] + "index": 219, + "docs": null }, { - "name": "MultisigApproval", - "fields": [ - { - "name": "approving", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "timepoint", - "type": 74, - "typeName": "Timepoint\u003cT::BlockNumber\u003e", - "docs": null - }, - { - "name": "multisig", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "call_hash", - "type": 1, - "typeName": "CallHash", + "name": "Mortal220", + "fields": [ + { + "type": 2, + "typeName": "", "docs": null } ], - "index": 1, - "docs": [ - "A multisig operation has been approved by someone." - ] + "index": 220, + "docs": null }, { - "name": "MultisigExecuted", + "name": "Mortal221", "fields": [ { - "name": "approving", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "timepoint", - "type": 74, - "typeName": "Timepoint\u003cT::BlockNumber\u003e", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 221, + "docs": null + }, + { + "name": "Mortal222", + "fields": [ { - "name": "multisig", - "type": 0, - "typeName": "T::AccountId", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 222, + "docs": null + }, + { + "name": "Mortal223", + "fields": [ { - "name": "call_hash", - "type": 1, - "typeName": "CallHash", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 223, + "docs": null + }, + { + "name": "Mortal224", + "fields": [ { - "name": "result", - "type": 49, - "typeName": "DispatchResult", + "type": 2, + "typeName": "", "docs": null } ], - "index": 2, - "docs": [ - "A multisig operation has been executed." - ] + "index": 224, + "docs": null }, { - "name": "MultisigCancelled", + "name": "Mortal225", "fields": [ { - "name": "cancelling", - "type": 0, - "typeName": "T::AccountId", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 225, + "docs": null + }, + { + "name": "Mortal226", + "fields": [ { - "name": "timepoint", - "type": 74, - "typeName": "Timepoint\u003cT::BlockNumber\u003e", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 226, + "docs": null + }, + { + "name": "Mortal227", + "fields": [ { - "name": "multisig", - "type": 0, - "typeName": "T::AccountId", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 227, + "docs": null + }, + { + "name": "Mortal228", + "fields": [ { - "name": "call_hash", - "type": 1, - "typeName": "CallHash", + "type": 2, + "typeName": "", "docs": null } ], - "index": 3, - "docs": [ - "A multisig operation has been cancelled." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "74": { - "path": [ - "pallet_multisig", - "Timepoint" - ], - "params": [ - { - "name": "BlockNumber", - "type": 4 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "height", - "type": 4, - "typeName": "BlockNumber", + "index": 228, "docs": null }, { - "name": "index", - "type": 4, - "typeName": "u32", + "name": "Mortal229", + "fields": [ + { + "type": 2, + "typeName": "", + "docs": null + } + ], + "index": 229, "docs": null - } - ] - } - }, - "docs": null - }, - "75": { - "path": [ - "pallet_bounties", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "BountyProposed", + "name": "Mortal230", "fields": [ { - "name": "index", - "type": 4, - "typeName": "BountyIndex", + "type": 2, + "typeName": "", "docs": null } ], - "index": 0, - "docs": [ - "New bounty proposal." - ] + "index": 230, + "docs": null }, { - "name": "BountyRejected", + "name": "Mortal231", "fields": [ { - "name": "index", - "type": 4, - "typeName": "BountyIndex", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 231, + "docs": null + }, + { + "name": "Mortal232", + "fields": [ { - "name": "bond", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 2, + "typeName": "", "docs": null } ], - "index": 1, - "docs": [ - "A bounty proposal was rejected; funds were slashed." - ] + "index": 232, + "docs": null }, { - "name": "BountyBecameActive", + "name": "Mortal233", "fields": [ { - "name": "index", - "type": 4, - "typeName": "BountyIndex", + "type": 2, + "typeName": "", "docs": null } ], - "index": 2, - "docs": [ - "A bounty proposal is funded and became active." - ] + "index": 233, + "docs": null }, { - "name": "BountyAwarded", + "name": "Mortal234", "fields": [ { - "name": "index", - "type": 4, - "typeName": "BountyIndex", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 234, + "docs": null + }, + { + "name": "Mortal235", + "fields": [ { - "name": "beneficiary", - "type": 0, - "typeName": "T::AccountId", + "type": 2, + "typeName": "", "docs": null } ], - "index": 3, - "docs": [ - "A bounty is awarded to a beneficiary." - ] + "index": 235, + "docs": null }, { - "name": "BountyClaimed", + "name": "Mortal236", "fields": [ { - "name": "index", - "type": 4, - "typeName": "BountyIndex", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 236, + "docs": null + }, + { + "name": "Mortal237", + "fields": [ { - "name": "payout", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 237, + "docs": null + }, + { + "name": "Mortal238", + "fields": [ { - "name": "beneficiary", - "type": 0, - "typeName": "T::AccountId", + "type": 2, + "typeName": "", "docs": null } ], - "index": 4, - "docs": [ - "A bounty is claimed by beneficiary." - ] + "index": 238, + "docs": null }, { - "name": "BountyCanceled", + "name": "Mortal239", "fields": [ { - "name": "index", - "type": 4, - "typeName": "BountyIndex", + "type": 2, + "typeName": "", "docs": null } ], - "index": 5, - "docs": [ - "A bounty is cancelled." - ] + "index": 239, + "docs": null }, { - "name": "BountyExtended", + "name": "Mortal240", "fields": [ { - "name": "index", - "type": 4, - "typeName": "BountyIndex", + "type": 2, + "typeName": "", "docs": null } ], - "index": 6, - "docs": [ - "A bounty expiry is extended." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "76": { - "path": [ - "pallet_tips", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "index": 240, + "docs": null + }, { - "name": "NewTip", + "name": "Mortal241", "fields": [ { - "name": "tip_hash", - "type": 9, - "typeName": "T::Hash", + "type": 2, + "typeName": "", "docs": null } ], - "index": 0, - "docs": [ - "A new tip suggestion has been opened." - ] + "index": 241, + "docs": null }, { - "name": "TipClosing", + "name": "Mortal242", "fields": [ { - "name": "tip_hash", - "type": 9, - "typeName": "T::Hash", + "type": 2, + "typeName": "", "docs": null } ], - "index": 1, - "docs": [ - "A tip suggestion has reached threshold and is closing." - ] + "index": 242, + "docs": null }, { - "name": "TipClosed", + "name": "Mortal243", "fields": [ { - "name": "tip_hash", - "type": 9, - "typeName": "T::Hash", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 243, + "docs": null + }, + { + "name": "Mortal244", + "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 244, + "docs": null + }, + { + "name": "Mortal245", + "fields": [ { - "name": "payout", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 2, + "typeName": "", "docs": null } ], - "index": 2, - "docs": [ - "A tip suggestion has been closed." - ] + "index": 245, + "docs": null }, { - "name": "TipRetracted", + "name": "Mortal246", "fields": [ { - "name": "tip_hash", - "type": 9, - "typeName": "T::Hash", + "type": 2, + "typeName": "", "docs": null } ], - "index": 3, - "docs": [ - "A tip suggestion has been retracted." - ] + "index": 246, + "docs": null }, { - "name": "TipSlashed", + "name": "Mortal247", "fields": [ { - "name": "tip_hash", - "type": 9, - "typeName": "T::Hash", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 247, + "docs": null + }, + { + "name": "Mortal248", + "fields": [ { - "name": "finder", - "type": 0, - "typeName": "T::AccountId", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 248, + "docs": null + }, + { + "name": "Mortal249", + "fields": [ { - "name": "deposit", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 2, + "typeName": "", "docs": null } ], - "index": 4, - "docs": [ - "A tip suggestion has been slashed." - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "77": { - "path": [ - "pallet_election_provider_multi_phase", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + "index": 249, + "docs": null + }, { - "name": "SolutionStored", + "name": "Mortal250", "fields": [ { - "name": "election_compute", - "type": 78, - "typeName": "ElectionCompute", + "type": 2, + "typeName": "", "docs": null - }, + } + ], + "index": 250, + "docs": null + }, + { + "name": "Mortal251", + "fields": [ { - "name": "prev_ejected", - "type": 52, - "typeName": "bool", + "type": 2, + "typeName": "", "docs": null } ], - "index": 0, - "docs": [ - "A solution was stored with the given compute.", - "", - "If the solution is signed, this means that it hasn't yet been processed. If the", - "solution is unsigned, this means that it has also been processed.", - "", - "The `bool` is `true` when a previous solution was ejected to make room for this one." - ] + "index": 251, + "docs": null }, { - "name": "ElectionFinalized", + "name": "Mortal252", "fields": [ { - "name": "election_compute", - "type": 79, - "typeName": "Option\u003cElectionCompute\u003e", + "type": 2, + "typeName": "", "docs": null } ], - "index": 1, - "docs": [ - "The election has been finalized, with `Some` of the given computation, or else if the", - "election failed, `None`." - ] + "index": 252, + "docs": null }, { - "name": "Rewarded", + "name": "Mortal253", "fields": [ { - "name": "account", - "type": 0, - "typeName": "\u003cT as frame_system::Config\u003e::AccountId", - "docs": null - }, - { - "name": "value", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 2, + "typeName": "", "docs": null } ], - "index": 2, - "docs": [ - "An account has been rewarded for their signed submission being finalized." - ] + "index": 253, + "docs": null }, { - "name": "Slashed", + "name": "Mortal254", "fields": [ { - "name": "account", - "type": 0, - "typeName": "\u003cT as frame_system::Config\u003e::AccountId", - "docs": null - }, - { - "name": "value", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 2, + "typeName": "", "docs": null } ], - "index": 3, - "docs": [ - "An account has been slashed for submitting an invalid signed submission." - ] + "index": 254, + "docs": null }, { - "name": "SignedPhaseStarted", + "name": "Mortal255", "fields": [ { - "name": "round", - "type": 4, - "typeName": "u32", + "type": 2, + "typeName": "", "docs": null } ], - "index": 4, - "docs": [ - "The signed phase of the given round has started." - ] - }, + "index": 255, + "docs": null + } + ] + } + }, + "docs": null + }, + "852": { + "path": [ + "frame_system", + "extensions", + "check_nonce", + "CheckNonce" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 82, + "typeName": "T::Index", + "docs": null + } + ] + } + }, + "docs": null + }, + "853": { + "path": [ + "frame_system", + "extensions", + "check_weight", + "CheckWeight" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": null + } + }, + "docs": null + }, + "854": { + "path": [ + "pallet_transaction_payment", + "ChargeTransactionPayment" + ], + "params": [ + { + "name": "T", + "type": 0 + } + ], + "def": { + "Composite": { + "fields": [ + { + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ] + } + }, + "docs": null + }, + "855": { + "path": [ + "kusama_runtime", + "Runtime" + ], + "def": { + "Composite": { + "fields": null + } + }, + "docs": null + }, + "86": { + "path": [ + "sp_consensus_babe", + "digests", + "NextConfigDescriptor" + ], + "def": { + "Variant": { + "variants": [ { - "name": "UnsignedPhaseStarted", + "name": "V1", "fields": [ { - "name": "round", - "type": 4, - "typeName": "u32", + "name": "c", + "type": 87, + "typeName": "(u64, u64)", + "docs": null + }, + { + "name": "allowed_slots", + "type": 88, + "typeName": "AllowedSlots", "docs": null } ], - "index": 5, - "docs": [ - "The unsigned phase of the given round has started." - ] + "index": 1, + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "78": { + "87": { + "path": null, + "def": { + "Tuple": [ + 10, + 10 + ] + }, + "docs": null + }, + "88": { "path": [ - "pallet_election_provider_multi_phase", - "ElectionCompute" + "sp_consensus_babe", + "AllowedSlots" ], "def": { "Variant": { "variants": [ { - "name": "OnChain", + "name": "PrimarySlots", "fields": null, "index": 0, "docs": null }, { - "name": "Signed", + "name": "PrimaryAndSecondaryPlainSlots", "fields": null, "index": 1, "docs": null }, { - "name": "Unsigned", + "name": "PrimaryAndSecondaryVRFSlots", "fields": null, "index": 2, "docs": null - }, - { - "name": "Fallback", - "fields": null, - "index": 3, - "docs": null - }, - { - "name": "Emergency", - "fields": null, - "index": 4, - "docs": null } ] } }, "docs": null }, - "79": { + "89": { "path": [ - "Option" + "pallet_timestamp", + "pallet", + "Call" ], "params": [ { "name": "T", - "type": 78 + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "None", - "fields": null, - "index": 0, - "docs": null - }, - { - "name": "Some", + "name": "set", "fields": [ { - "type": 78, - "typeName": "", + "name": "now", + "type": 9, + "typeName": "T::Moment", "docs": null } ], - "index": 1, - "docs": null + "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`.", + "", + "# \u003cweight\u003e", + "- `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)`.", + "# \u003c/weight\u003e" + ] } ] } }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "8": { + "9": { "path": null, "def": { - "Primitive": "U64" + "Compact": { + "type": 10 + } }, "docs": null }, - "80": { + "90": { "path": [ - "pallet_gilt", + "pallet_indices", "pallet", - "Event" + "Call" ], "params": [ { @@ -40174,1071 +50728,1343 @@ "Variant": { "variants": [ { - "name": "BidPlaced", + "name": "claim", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 4, + "typeName": "T::AccountIndex", "docs": null - }, + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- `O(1)`.", + "- One storage mutation (codec `O(1)`).", + "- One reserve operation.", + "- One event.", + "-------------------", + "- DB Weight: 1 Read/Write (Accounts)", + "# \u003c/weight\u003e" + ] + }, + { + "name": "transfer", + "fields": [ { - "name": "amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "name": "new", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "duration", + "name": "index", "type": 4, - "typeName": "u32", + "typeName": "T::AccountIndex", "docs": null } ], - "index": 0, + "index": 1, "docs": [ - "A bid was successfully placed." + "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.", + "", + "# \u003cweight\u003e", + "- `O(1)`.", + "- One storage mutation (codec `O(1)`).", + "- One transfer operation.", + "- One event.", + "-------------------", + "- DB Weight:", + " - Reads: Indices Accounts, System Account (recipient)", + " - Writes: Indices Accounts, System Account (recipient)", + "# \u003c/weight\u003e" ] }, { - "name": "BidRetracted", + "name": "free", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "name": "index", + "type": 4, + "typeName": "T::AccountIndex", "docs": null - }, + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- `O(1)`.", + "- One storage mutation (codec `O(1)`).", + "- One reserve operation.", + "- One event.", + "-------------------", + "- DB Weight: 1 Read/Write (Accounts)", + "# \u003c/weight\u003e" + ] + }, + { + "name": "force_transfer", + "fields": [ { - "name": "amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "name": "new", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "duration", + "name": "index", "type": 4, - "typeName": "u32", + "typeName": "T::AccountIndex", + "docs": null + }, + { + "name": "freeze", + "type": 37, + "typeName": "bool", "docs": null } ], - "index": 1, + "index": 3, "docs": [ - "A bid was successfully removed (before being accepted as a gilt)." + "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.", + "", + "# \u003cweight\u003e", + "- `O(1)`.", + "- One storage mutation (codec `O(1)`).", + "- Up to one reserve operation.", + "- One event.", + "-------------------", + "- DB Weight:", + " - Reads: Indices Accounts, System Account (original owner)", + " - Writes: Indices Accounts, System Account (original owner)", + "# \u003c/weight\u003e" ] }, { - "name": "GiltIssued", + "name": "freeze", "fields": [ { "name": "index", "type": 4, - "typeName": "ActiveIndex", + "typeName": "T::AccountIndex", "docs": null - }, + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- `O(1)`.", + "- One storage mutation (codec `O(1)`).", + "- Up to one slash operation.", + "- One event.", + "-------------------", + "- DB Weight: 1 Read/Write (Accounts)", + "# \u003c/weight\u003e" + ] + } + ] + } + }, + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] + }, + "91": { + "path": [ + "sp_runtime", + "multiaddress", + "MultiAddress" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + }, + { + "name": "AccountIndex", + "type": 62 + } + ], + "def": { + "Variant": { + "variants": [ + { + "name": "Id", + "fields": [ { - "name": "expiry", - "type": 4, - "typeName": "T::BlockNumber", + "type": 0, + "typeName": "AccountId", "docs": null - }, + } + ], + "index": 0, + "docs": null + }, + { + "name": "Index", + "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", + "type": 92, + "typeName": "AccountIndex", "docs": null - }, + } + ], + "index": 1, + "docs": null + }, + { + "name": "Raw", + "fields": [ { - "name": "amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 12, + "typeName": "Vec\u003cu8\u003e", + "docs": null + } + ], + "index": 2, + "docs": null + }, + { + "name": "Address32", + "fields": [ + { + "type": 1, + "typeName": "[u8; 32]", "docs": null } ], - "index": 2, - "docs": [ - "A bid was accepted as a gilt. The balance may not be released until expiry." - ] + "index": 3, + "docs": null }, { - "name": "GiltThawed", + "name": "Address20", "fields": [ { - "name": "index", - "type": 4, - "typeName": "ActiveIndex", - "docs": null - }, - { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "original_amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", - "docs": null - }, - { - "name": "additional_amount", - "type": 6, - "typeName": "BalanceOf\u003cT\u003e", + "type": 93, + "typeName": "[u8; 20]", "docs": null } ], - "index": 3, - "docs": [ - "An expired gilt has been thawed." - ] + "index": 4, + "docs": null } ] } }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] + "docs": null }, - "81": { + "92": { + "path": null, + "def": { + "Compact": { + "type": 62 + } + }, + "docs": null + }, + "93": { + "path": null, + "def": { + "Array": { + "len": 20, + "type": 2 + } + }, + "docs": null + }, + "94": { "path": [ - "pallet_bags_list", + "pallet_balances", "pallet", - "Event" + "Call" ], "params": [ { "name": "T", "type": 0 + }, + { + "name": "I", + "type": 0 } ], "def": { "Variant": { "variants": [ { - "name": "Rebagged", + "name": "transfer", "fields": [ { - "name": "who", - "type": 0, - "typeName": "T::AccountId", - "docs": null - }, - { - "name": "from", - "type": 8, - "typeName": "VoteWeight", + "name": "dest", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "name": "to", - "type": 8, - "typeName": "VoteWeight", + "name": "value", + "type": 53, + "typeName": "T::Balance", "docs": null } ], "index": 0, "docs": [ - "Moved an account from one bag to another." + "Transfer some liquid free balance to another account.", + "", + "`transfer` 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.", + "", + "# \u003cweight\u003e", + "- Dependent on arguments but not critical, given proper implementations for input config", + " types. See related functions below.", + "- It contains a limited number of reads and writes internally and no complex", + " computation.", + "", + "Related functions:", + "", + " - `ensure_can_withdraw` is always called internally but has a bounded complexity.", + " - Transferring balances to accounts that did not exist before will cause", + " `T::OnNewAccount::on_new_account` to be called.", + " - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.", + " - `transfer_keep_alive` works the same way as `transfer`, but has an additional check", + " that the transfer will not kill the origin account.", + "---------------------------------", + "- Origin account is already in memory, so no DB operations for them.", + "# \u003c/weight\u003e" ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "82": { - "path": [ - "polkadot_runtime_parachains", - "inclusion", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "CandidateBacked", + "name": "set_balance", "fields": [ { - "type": 83, - "typeName": "CandidateReceipt\u003cT::Hash\u003e", - "docs": null - }, - { + "name": "who", "type": 91, - "typeName": "HeadData", + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "type": 92, - "typeName": "CoreIndex", + "name": "new_free", + "type": 53, + "typeName": "T::Balance", "docs": null }, { - "type": 93, - "typeName": "GroupIndex", + "name": "new_reserved", + "type": 53, + "typeName": "T::Balance", "docs": null } ], - "index": 0, + "index": 1, "docs": [ - "A candidate was backed. `[candidate, head_data]`" + "Set the balances of a given account.", + "", + "This will alter `FreeBalance` and `ReservedBalance` in storage. it will", + "also alter the total issuance of the system (`TotalIssuance`) appropriately.", + "If the new free or reserved balance is below the existential deposit,", + "it will reset the account nonce (`frame_system::AccountNonce`).", + "", + "The dispatch origin for this call is `root`." ] }, { - "name": "CandidateIncluded", + "name": "force_transfer", "fields": [ { - "type": 83, - "typeName": "CandidateReceipt\u003cT::Hash\u003e", + "name": "source", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { + "name": "dest", "type": 91, - "typeName": "HeadData", + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "type": 92, - "typeName": "CoreIndex", + "name": "value", + "type": 53, + "typeName": "T::Balance", + "docs": null + } + ], + "index": 2, + "docs": [ + "Exactly as `transfer`, except the origin must be root and the source account may be", + "specified.", + "# \u003cweight\u003e", + "- Same as transfer, but additional read and write because the source account is not", + " assumed to be in the overlay.", + "# \u003c/weight\u003e" + ] + }, + { + "name": "transfer_keep_alive", + "fields": [ + { + "name": "dest", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "type": 93, - "typeName": "GroupIndex", + "name": "value", + "type": 53, + "typeName": "T::Balance", "docs": null } ], - "index": 1, + "index": 3, "docs": [ - "A candidate was included. `[candidate, head_data]`" + "Same as the [`transfer`] call, but with a check that the transfer will not kill the", + "origin account.", + "", + "99% of the time you want [`transfer`] instead.", + "", + "[`transfer`]: struct.Pallet.html#method.transfer" ] }, { - "name": "CandidateTimedOut", + "name": "transfer_all", "fields": [ { - "type": 83, - "typeName": "CandidateReceipt\u003cT::Hash\u003e", + "name": "dest", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { + "name": "keep_alive", + "type": 37, + "typeName": "bool", + "docs": null + } + ], + "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). # \u003cweight\u003e", + "- O(1). Just like transfer, but reading the user's transferable balance first.", + " #\u003c/weight\u003e" + ] + }, + { + "name": "force_unreserve", + "fields": [ + { + "name": "who", "type": 91, - "typeName": "HeadData", + "typeName": "AccountIdLookupOf\u003cT\u003e", "docs": null }, { - "type": 92, - "typeName": "CoreIndex", + "name": "amount", + "type": 6, + "typeName": "T::Balance", "docs": null } ], - "index": 2, + "index": 5, "docs": [ - "A candidate timed out. `[candidate, head_data]`" + "Unreserve some balance from a user by force.", + "", + "Can only be called by ROOT." ] } ] } }, "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" + "Contains one variant per dispatchable that can be called by an extrinsic." ] }, - "83": { - "path": [ - "polkadot_primitives", - "v1", - "CandidateReceipt" - ], - "params": [ - { - "name": "H", - "type": 9 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "descriptor", - "type": 84, - "typeName": "CandidateDescriptor\u003cH\u003e", - "docs": null - }, - { - "name": "commitments_hash", - "type": 9, - "typeName": "Hash", - "docs": null - } - ] - } - }, - "docs": null - }, - "84": { + "95": { "path": [ - "polkadot_primitives", - "v1", - "CandidateDescriptor" + "pallet_authorship", + "pallet", + "Call" ], "params": [ { - "name": "H", - "type": 9 - } - ], - "def": { - "Composite": { - "fields": [ - { - "name": "para_id", - "type": 85, - "typeName": "Id", - "docs": null - }, - { - "name": "relay_parent", - "type": 9, - "typeName": "H", - "docs": null - }, - { - "name": "collator", - "type": 86, - "typeName": "CollatorId", - "docs": null - }, - { - "name": "persisted_validation_data_hash", - "type": 9, - "typeName": "Hash", - "docs": null - }, - { - "name": "pov_hash", - "type": 9, - "typeName": "Hash", - "docs": null - }, - { - "name": "erasure_root", - "type": 9, - "typeName": "Hash", - "docs": null - }, - { - "name": "signature", - "type": 87, - "typeName": "CollatorSignature", - "docs": null - }, - { - "name": "para_head", - "type": 9, - "typeName": "Hash", - "docs": null - }, - { - "name": "validation_code_hash", - "type": 90, - "typeName": "ValidationCodeHash", - "docs": null - } - ] - } - }, - "docs": null - }, - "85": { - "path": [ - "polkadot_parachain", - "primitives", - "Id" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 4, - "typeName": "u32", - "docs": null - } - ] - } - }, - "docs": null - }, - "86": { - "path": [ - "polkadot_primitives", - "v0", - "collator_app", - "Public" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 39, - "typeName": "sr25519::Public", - "docs": null - } - ] - } - }, - "docs": null - }, - "87": { - "path": [ - "polkadot_primitives", - "v0", - "collator_app", - "Signature" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 88, - "typeName": "sr25519::Signature", - "docs": null - } - ] - } - }, - "docs": null - }, - "88": { - "path": [ - "sp_core", - "sr25519", - "Signature" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 89, - "typeName": "[u8; 64]", - "docs": null - } - ] - } - }, - "docs": null - }, - "89": { - "path": null, - "def": { - "Array": { - "len": 64, - "type": 2 - } - }, - "docs": null - }, - "9": { - "path": [ - "primitive_types", - "H256" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 1, - "typeName": "[u8; 32]", - "docs": null - } - ] - } - }, - "docs": null - }, - "90": { - "path": [ - "polkadot_parachain", - "primitives", - "ValidationCodeHash" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 9, - "typeName": "Hash", - "docs": null - } - ] - } - }, - "docs": null - }, - "91": { - "path": [ - "polkadot_parachain", - "primitives", - "HeadData" - ], - "def": { - "Composite": { - "fields": [ - { - "type": 10, - "typeName": "Vec\u003cu8\u003e", - "docs": null - } - ] + "name": "T", + "type": 0 } - }, - "docs": null - }, - "92": { - "path": [ - "polkadot_primitives", - "v1", - "CoreIndex" ], "def": { - "Composite": { - "fields": [ + "Variant": { + "variants": [ { - "type": 4, - "typeName": "u32", - "docs": null + "name": "set_uncles", + "fields": [ + { + "name": "new_uncles", + "type": 96, + "typeName": "Vec\u003cT::Header\u003e", + "docs": null + } + ], + "index": 0, + "docs": [ + "Provide a set of uncles." + ] } ] } }, - "docs": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "93": { - "path": [ - "polkadot_primitives", - "v1", - "GroupIndex" - ], + "96": { + "path": null, "def": { - "Composite": { - "fields": [ - { - "type": 4, - "typeName": "u32", - "docs": null - } - ] + "Sequence": { + "type": 80 } }, "docs": null }, - "94": { + "97": { "path": [ - "polkadot_runtime_parachains", - "paras", + "pallet_staking", "pallet", - "Event" + "pallet", + "Call" + ], + "params": [ + { + "name": "T", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "CurrentCodeUpdated", + "name": "bond", "fields": [ { - "type": 85, - "typeName": "ParaId", + "name": "controller", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + }, + { + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + }, + { + "name": "payee", + "type": 98, + "typeName": "RewardDestination\u003cT::AccountId\u003e", "docs": null } ], "index": 0, "docs": [ - "Current code has been updated for a Para. `para_id`" + "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`.", + "# \u003cweight\u003e", + "- 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.", + "------------------", + "# \u003c/weight\u003e" ] }, { - "name": "CurrentHeadUpdated", + "name": "bond_extra", "fields": [ { - "type": 85, - "typeName": "ParaId", + "name": "max_additional", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], "index": 1, "docs": [ - "Current head has been updated for a Para. `para_id`" + "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`.", + "", + "# \u003cweight\u003e", + "- Independent of the arguments. Insignificant complexity.", + "- O(1).", + "# \u003c/weight\u003e" ] }, { - "name": "CodeUpgradeScheduled", + "name": "unbond", "fields": [ { - "type": 85, - "typeName": "ParaId", + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", "docs": null } ], "index": 2, "docs": [ - "A code upgrade has been scheduled for a Para. `para_id`" + "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": "NewHeadNoted", + "name": "withdraw_unbonded", "fields": [ { - "type": 85, - "typeName": "ParaId", + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32", "docs": null } ], "index": 3, "docs": [ - "A new head has been noted for a Para. `para_id`" + "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`].", + "", + "# \u003cweight\u003e", + "Complexity O(S) where S is the number of slashing spans to remove", + "NOTE: Weight annotation is the kill scenario, we refund otherwise.", + "# \u003c/weight\u003e" ] }, { - "name": "ActionQueued", + "name": "validate", "fields": [ { - "type": 85, - "typeName": "ParaId", + "name": "prefs", + "type": 35, + "typeName": "ValidatorPrefs", + "docs": null + } + ], + "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": 99, + "typeName": "Vec\u003cAccountIdLookupOf\u003cT\u003e\u003e", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- 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.", + "# \u003c/weight\u003e" + ] + }, + { + "name": "chill", + "fields": null, + "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.", + "", + "# \u003cweight\u003e", + "- Independent of the arguments. Insignificant complexity.", + "- Contains one read.", + "- Writes are limited to the `origin` account key.", + "# \u003c/weight\u003e" + ] + }, + { + "name": "set_payee", + "fields": [ + { + "name": "payee", + "type": 98, + "typeName": "RewardDestination\u003cT::AccountId\u003e", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- Independent of the arguments. Insignificant complexity.", + "- Contains a limited number of reads.", + "- Writes are limited to the `origin` account key.", + "---------", + "- Weight: O(1)", + "- DB Weight:", + " - Read: Ledger", + " - Write: Payee", + "# \u003c/weight\u003e" + ] + }, + { + "name": "set_controller", + "fields": [ + { + "name": "controller", + "type": 91, + "typeName": "AccountIdLookupOf\u003cT\u003e", + "docs": null + } + ], + "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.", + "", + "# \u003cweight\u003e", + "- Independent of the arguments. Insignificant complexity.", + "- Contains a limited number of reads.", + "- Writes are limited to the `origin` account key.", + "----------", + "Weight: O(1)", + "DB Weight:", + "- Read: Bonded, Ledger New Controller, Ledger Old Controller", + "- Write: Bonded, Ledger New Controller, Ledger Old Controller", + "# \u003c/weight\u003e" + ] + }, + { + "name": "set_validator_count", + "fields": [ + { + "name": "new", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 9, + "docs": [ + "Sets the ideal number of validators.", + "", + "The dispatch origin must be Root.", + "", + "# \u003cweight\u003e", + "Weight: O(1)", + "Write: Validator Count", + "# \u003c/weight\u003e" + ] + }, + { + "name": "increase_validator_count", + "fields": [ + { + "name": "additional", + "type": 82, + "typeName": "u32", + "docs": null + } + ], + "index": 10, + "docs": [ + "Increments the ideal number of validators upto maximum of", + "`ElectionProviderBase::MaxWinners`.", + "", + "The dispatch origin must be Root.", + "", + "# \u003cweight\u003e", + "Same as [`Self::set_validator_count`].", + "# \u003c/weight\u003e" + ] + }, + { + "name": "scale_validator_count", + "fields": [ + { + "name": "factor", + "type": 100, + "typeName": "Percent", + "docs": null + } + ], + "index": 11, + "docs": [ + "Scale up the ideal number of validators by a factor upto maximum of", + "`ElectionProviderBase::MaxWinners`.", + "", + "The dispatch origin must be Root.", + "", + "# \u003cweight\u003e", + "Same as [`Self::set_validator_count`].", + "# \u003c/weight\u003e" + ] + }, + { + "name": "force_no_eras", + "fields": null, + "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.", + "", + "# \u003cweight\u003e", + "- No arguments.", + "- Weight: O(1)", + "- Write: ForceEra", + "# \u003c/weight\u003e" + ] + }, + { + "name": "force_new_era", + "fields": null, + "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.", + "", + "# \u003cweight\u003e", + "- No arguments.", + "- Weight: O(1)", + "- Write ForceEra", + "# \u003c/weight\u003e" + ] + }, + { + "name": "set_invulnerables", + "fields": [ + { + "name": "invulnerables", + "type": 101, + "typeName": "Vec\u003cT::AccountId\u003e", + "docs": null + } + ], + "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", "docs": null }, { + "name": "num_slashing_spans", "type": 4, - "typeName": "SessionIndex", + "typeName": "u32", "docs": null } ], - "index": 4, + "index": 15, "docs": [ - "A para has been queued to execute pending actions. `para_id`" + "Force a current staker to become completely unstaked, immediately.", + "", + "The dispatch origin must be Root." ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "95": { - "path": [ - "polkadot_runtime_parachains", - "ump", - "pallet", - "Event" - ], - "def": { - "Variant": { - "variants": [ + }, { - "name": "InvalidFormat", + "name": "force_new_era_always", + "fields": null, + "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": [ { - "type": 1, - "typeName": "MessageId", + "name": "era", + "type": 4, + "typeName": "EraIndex", + "docs": null + }, + { + "name": "slash_indices", + "type": 102, + "typeName": "Vec\u003cu32\u003e", "docs": null } ], - "index": 0, + "index": 17, "docs": [ - "Upward message is invalid XCM.", - "\\[ id \\]" + "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": "UnsupportedVersion", + "name": "payout_stakers", "fields": [ { - "type": 1, - "typeName": "MessageId", + "name": "validator_stash", + "type": 0, + "typeName": "T::AccountId", + "docs": null + }, + { + "name": "era", + "type": 4, + "typeName": "EraIndex", "docs": null } ], - "index": 1, + "index": 18, "docs": [ - "Upward message is unsupported version of XCM.", - "\\[ id \\]" + "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.", + "", + "# \u003cweight\u003e", + "- Time complexity: at most O(MaxNominatorRewardedPerValidator).", + "- Contains a limited number of reads and writes.", + "-----------", + "N is the Number of payouts for the validator (including the validator)", + "Weight:", + "- Reward Destination Staked: O(N)", + "- Reward Destination Controller (Creating): O(N)", + "", + " NOTE: weights are assuming that payouts are made to alive stash account (Staked).", + " Paying even a dead controller is cheaper weight-wise. We don't do any refunds here.", + "# \u003c/weight\u003e" + ] + }, + { + "name": "rebond", + "fields": [ + { + "name": "value", + "type": 53, + "typeName": "BalanceOf\u003cT\u003e", + "docs": null + } + ], + "index": 19, + "docs": [ + "Rebond a portion of the stash scheduled to be unlocked.", + "", + "The dispatch origin must be signed by the controller.", + "", + "# \u003cweight\u003e", + "- Time complexity: O(L), where L is unlocking chunks", + "- Bounded by `MaxUnlockingChunks`.", + "- Storage changes: Can't increase storage, only decrease it.", + "# \u003c/weight\u003e" ] }, { - "name": "ExecutedUpward", + "name": "reap_stash", "fields": [ { - "type": 1, - "typeName": "MessageId", + "name": "stash", + "type": 0, + "typeName": "T::AccountId", "docs": null }, { - "type": 96, - "typeName": "Outcome", + "name": "num_slashing_spans", + "type": 4, + "typeName": "u32", "docs": null } ], - "index": 2, + "index": 20, "docs": [ - "Upward message executed with the given outcome.", - "\\[ id, outcome \\]" + "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": "WeightExhausted", + "name": "kick", "fields": [ { - "type": 1, - "typeName": "MessageId", - "docs": null - }, - { - "type": 8, - "typeName": "Weight", - "docs": null - }, - { - "type": 8, - "typeName": "Weight", + "name": "who", + "type": 99, + "typeName": "Vec\u003cAccountIdLookupOf\u003cT\u003e\u003e", "docs": null } ], - "index": 3, + "index": 21, "docs": [ - "The weight limit for handling upward messages was reached.", - "\\[ id, remaining, required \\]" + "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": "UpwardMessagesReceived", + "name": "set_staking_configs", "fields": [ { - "type": 85, - "typeName": "ParaId", + "name": "min_nominator_bond", + "type": 103, + "typeName": "ConfigOp\u003cBalanceOf\u003cT\u003e\u003e", "docs": null }, { - "type": 4, - "typeName": "u32", + "name": "min_validator_bond", + "type": 103, + "typeName": "ConfigOp\u003cBalanceOf\u003cT\u003e\u003e", "docs": null }, { - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 4, - "docs": [ - "Some upward messages have been received and will be processed.", - "\\[ para, count, size \\]" - ] - }, - { - "name": "OverweightEnqueued", - "fields": [ - { - "type": 85, - "typeName": "ParaId", + "name": "max_nominator_count", + "type": 104, + "typeName": "ConfigOp\u003cu32\u003e", "docs": null }, { - "type": 1, - "typeName": "MessageId", + "name": "max_validator_count", + "type": 104, + "typeName": "ConfigOp\u003cu32\u003e", "docs": null }, { - "type": 8, - "typeName": "OverweightIndex", + "name": "chill_threshold", + "type": 105, + "typeName": "ConfigOp\u003cPercent\u003e", "docs": null }, { - "type": 8, - "typeName": "Weight", + "name": "min_commission", + "type": 106, + "typeName": "ConfigOp\u003cPerbill\u003e", "docs": null } ], - "index": 5, + "index": 22, "docs": [ - "The weight budget was exceeded for an individual upward message.", + "Update the various staking configurations .", "", - "This message can be later dispatched manually using `service_overweight` dispatchable", - "using the assigned `overweight_index`.", + "* `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.", "", - "\\[ para, id, overweight_index, required \\]" + "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": "OverweightServiced", + "name": "chill_other", "fields": [ { - "type": 8, - "typeName": "OverweightIndex", - "docs": null - }, - { - "type": 8, - "typeName": "Weight", + "name": "controller", + "type": 0, + "typeName": "T::AccountId", "docs": null } ], - "index": 6, + "index": 23, "docs": [ - "Upward message from the overweight queue was executed with the given actual weight", - "used.", + "Declare a `controller` to stop participating as either a validator or nominator.", "", - "\\[ overweight_index, used \\]" + "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." ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, - "96": { - "path": [ - "xcm", - "v2", - "traits", - "Outcome" - ], - "def": { - "Variant": { - "variants": [ - { - "name": "Complete", - "fields": [ - { - "type": 8, - "typeName": "Weight", - "docs": null - } - ], - "index": 0, - "docs": null }, { - "name": "Incomplete", + "name": "force_apply_min_commission", "fields": [ { - "type": 8, - "typeName": "Weight", - "docs": null - }, - { - "type": 97, - "typeName": "Error", + "name": "validator_stash", + "type": 0, + "typeName": "T::AccountId", "docs": null } ], - "index": 1, - "docs": null + "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": "Error", + "name": "set_min_commission", "fields": [ { - "type": 97, - "typeName": "Error", + "name": "new", + "type": 34, + "typeName": "Perbill", "docs": null } ], - "index": 2, - "docs": null + "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": null + "docs": [ + "Contains one variant per dispatchable that can be called by an extrinsic." + ] }, - "97": { + "98": { "path": [ - "xcm", - "v2", - "traits", - "Error" + "pallet_staking", + "RewardDestination" + ], + "params": [ + { + "name": "AccountId", + "type": 0 + } ], "def": { "Variant": { "variants": [ { - "name": "Overflow", + "name": "Staked", "fields": null, "index": 0, "docs": null }, { - "name": "Unimplemented", + "name": "Stash", "fields": null, "index": 1, "docs": null }, { - "name": "UntrustedReserveLocation", + "name": "Controller", "fields": null, "index": 2, "docs": null }, { - "name": "UntrustedTeleportLocation", - "fields": null, - "index": 3, - "docs": null - }, - { - "name": "MultiLocationFull", - "fields": null, - "index": 4, - "docs": null - }, - { - "name": "MultiLocationNotInvertible", - "fields": null, - "index": 5, - "docs": null - }, - { - "name": "BadOrigin", - "fields": null, - "index": 6, - "docs": null - }, - { - "name": "InvalidLocation", - "fields": null, - "index": 7, - "docs": null - }, - { - "name": "AssetNotFound", - "fields": null, - "index": 8, - "docs": null - }, - { - "name": "FailedToTransactAsset", - "fields": null, - "index": 9, - "docs": null - }, - { - "name": "NotWithdrawable", - "fields": null, - "index": 10, - "docs": null - }, - { - "name": "LocationCannotHold", - "fields": null, - "index": 11, - "docs": null - }, - { - "name": "ExceedsMaxMessageSize", - "fields": null, - "index": 12, - "docs": null - }, - { - "name": "DestinationUnsupported", - "fields": null, - "index": 13, - "docs": null - }, - { - "name": "Transport", - "fields": null, - "index": 14, - "docs": null - }, - { - "name": "Unroutable", - "fields": null, - "index": 15, - "docs": null - }, - { - "name": "UnknownClaim", - "fields": null, - "index": 16, - "docs": null - }, - { - "name": "FailedToDecode", - "fields": null, - "index": 17, - "docs": null - }, - { - "name": "TooMuchWeightRequired", - "fields": null, - "index": 18, - "docs": null - }, - { - "name": "NotHoldingFees", - "fields": null, - "index": 19, - "docs": null - }, - { - "name": "TooExpensive", - "fields": null, - "index": 20, - "docs": null - }, - { - "name": "Trap", - "fields": [ - { - "type": 8, - "typeName": "u64", - "docs": null - } - ], - "index": 21, - "docs": null - }, - { - "name": "UnhandledXcmVersion", - "fields": null, - "index": 22, - "docs": null - }, - { - "name": "WeightLimitReached", + "name": "Account", "fields": [ { - "type": 8, - "typeName": "Weight", + "type": 0, + "typeName": "AccountId", "docs": null } ], - "index": 23, - "docs": null - }, - { - "name": "Barrier", - "fields": null, - "index": 24, + "index": 3, "docs": null }, { - "name": "WeightNotComputable", + "name": "None", "fields": null, - "index": 25, + "index": 4, "docs": null } ] @@ -41246,139 +52072,11 @@ }, "docs": null }, - "98": { - "path": [ - "polkadot_runtime_parachains", - "hrmp", - "pallet", - "Event" - ], - "params": [ - { - "name": "T", - "type": 0 - } - ], - "def": { - "Variant": { - "variants": [ - { - "name": "OpenChannelRequested", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 4, - "typeName": "u32", - "docs": null - }, - { - "type": 4, - "typeName": "u32", - "docs": null - } - ], - "index": 0, - "docs": [ - "Open HRMP channel requested.", - "`[sender, recipient, proposed_max_capacity, proposed_max_message_size]`" - ] - }, - { - "name": "OpenChannelCanceled", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 99, - "typeName": "HrmpChannelId", - "docs": null - } - ], - "index": 1, - "docs": [ - "An HRMP channel request sent by the receiver was canceled by either party.", - "`[by_parachain, channel_id]`" - ] - }, - { - "name": "OpenChannelAccepted", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 85, - "typeName": "ParaId", - "docs": null - } - ], - "index": 2, - "docs": [ - "Open HRMP channel accepted. `[sender, recipient]`" - ] - }, - { - "name": "ChannelClosed", - "fields": [ - { - "type": 85, - "typeName": "ParaId", - "docs": null - }, - { - "type": 99, - "typeName": "HrmpChannelId", - "docs": null - } - ], - "index": 3, - "docs": [ - "HRMP channel closed. `[by_parachain, channel_id]`" - ] - } - ] - } - }, - "docs": [ - "\n\t\t\tThe [event](https://docs.substrate.io/v3/runtime/events-and-errors) emitted\n\t\t\tby this pallet.\n\t\t\t" - ] - }, "99": { - "path": [ - "polkadot_parachain", - "primitives", - "HrmpChannelId" - ], + "path": null, "def": { - "Composite": { - "fields": [ - { - "name": "sender", - "type": 85, - "typeName": "Id", - "docs": null - }, - { - "name": "recipient", - "type": 85, - "typeName": "Id", - "docs": null - } - ] + "Sequence": { + "type": 91 } }, "docs": null