Skip to content

Instantly share code, notes, and snippets.

@ryanleecode
Created August 7, 2023 03:34
Show Gist options
  • Save ryanleecode/c0d2b7322f2252378dc50a969bd88772 to your computer and use it in GitHub Desktop.
Save ryanleecode/c0d2b7322f2252378dc50a969bd88772 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
{
"magicNumber": 1635018093,
"metadata": {
"tag": "v14",
"value": {
"lookup": [
{
"id": 0,
"type": {
"path": [
"sp_core",
"crypto",
"AccountId32"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 1,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 32,
"type": 2
}
},
"docs": []
}
},
{
"id": 2,
"type": {
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u8"
}
},
"docs": []
}
},
{
"id": 3,
"type": {
"path": [
"frame_system",
"AccountInfo"
],
"params": [
{
"name": "Index",
"type": 4
},
{
"name": "AccountData",
"type": 5
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "nonce",
"type": 4,
"typeName": "Index",
"docs": []
},
{
"name": "consumers",
"type": 4,
"typeName": "RefCount",
"docs": []
},
{
"name": "providers",
"type": 4,
"typeName": "RefCount",
"docs": []
},
{
"name": "sufficients",
"type": 4,
"typeName": "RefCount",
"docs": []
},
{
"name": "data",
"type": 5,
"typeName": "AccountData",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 4,
"type": {
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u32"
}
},
"docs": []
}
},
{
"id": 5,
"type": {
"path": [
"pallet_balances",
"types",
"AccountData"
],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "free",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "reserved",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "frozen",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "flags",
"type": 7,
"typeName": "ExtraFlags",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 6,
"type": {
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u128"
}
},
"docs": []
}
},
{
"id": 7,
"type": {
"path": [
"pallet_balances",
"types",
"ExtraFlags"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 6,
"typeName": "u128",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 8,
"type": {
"path": [
"frame_support",
"dispatch",
"PerDispatchClass"
],
"params": [
{
"name": "T",
"type": 9
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "normal",
"type": 9,
"typeName": "T",
"docs": []
},
{
"name": "operational",
"type": 9,
"typeName": "T",
"docs": []
},
{
"name": "mandatory",
"type": 9,
"typeName": "T",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 9,
"type": {
"path": [
"sp_weights",
"weight_v2",
"Weight"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "ref_time",
"type": 10,
"typeName": "u64",
"docs": []
},
{
"name": "proof_size",
"type": 10,
"typeName": "u64",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 10,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 11
},
"docs": []
}
},
{
"id": 11,
"type": {
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u64"
}
},
"docs": []
}
},
{
"id": 12,
"type": {
"path": [
"primitive_types",
"H256"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 13,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 2
},
"docs": []
}
},
{
"id": 14,
"type": {
"path": [
"sp_runtime",
"generic",
"digest",
"Digest"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "logs",
"type": 15,
"typeName": "Vec<DigestItem>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 15,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 16
},
"docs": []
}
},
{
"id": 16,
"type": {
"path": [
"sp_runtime",
"generic",
"digest",
"DigestItem"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "PreRuntime",
"fields": [
{
"type": 17,
"typeName": "ConsensusEngineId",
"docs": []
},
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "Consensus",
"fields": [
{
"type": 17,
"typeName": "ConsensusEngineId",
"docs": []
},
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Seal",
"fields": [
{
"type": 17,
"typeName": "ConsensusEngineId",
"docs": []
},
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Other",
"fields": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "RuntimeEnvironmentUpdated",
"fields": [],
"index": 8,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 17,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 4,
"type": 2
}
},
"docs": []
}
},
{
"id": 18,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 19
},
"docs": []
}
},
{
"id": 19,
"type": {
"path": [
"frame_system",
"EventRecord"
],
"params": [
{
"name": "E",
"type": 20
},
{
"name": "T",
"type": 12
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "phase",
"type": 479,
"typeName": "Phase",
"docs": []
},
{
"name": "event",
"type": 20,
"typeName": "E",
"docs": []
},
{
"name": "topics",
"type": 480,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 20,
"type": {
"path": [
"polkadot_runtime",
"RuntimeEvent"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "System",
"fields": [
{
"type": 21,
"typeName": "frame_system::Event<Runtime>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Scheduler",
"fields": [
{
"type": 30,
"typeName": "pallet_scheduler::Event<Runtime>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Preimage",
"fields": [
{
"type": 35,
"typeName": "pallet_preimage::Event<Runtime>",
"docs": []
}
],
"index": 10,
"docs": []
},
{
"name": "Indices",
"fields": [
{
"type": 36,
"typeName": "pallet_indices::Event<Runtime>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Balances",
"fields": [
{
"type": 37,
"typeName": "pallet_balances::Event<Runtime>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "TransactionPayment",
"fields": [
{
"type": 39,
"typeName": "pallet_transaction_payment::Event<Runtime>",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "Staking",
"fields": [
{
"type": 40,
"typeName": "pallet_staking::Event<Runtime>",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "Offences",
"fields": [
{
"type": 46,
"typeName": "pallet_offences::Event",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "Session",
"fields": [
{
"type": 48,
"typeName": "pallet_session::Event",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "Grandpa",
"fields": [
{
"type": 49,
"typeName": "pallet_grandpa::Event",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ImOnline",
"fields": [
{
"type": 54,
"typeName": "pallet_im_online::Event<Runtime>",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "Democracy",
"fields": [
{
"type": 63,
"typeName": "pallet_democracy::Event<Runtime>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "Council",
"fields": [
{
"type": 68,
"typeName": "pallet_collective::Event<Runtime, pallet_collective::Instance1>",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "TechnicalCommittee",
"fields": [
{
"type": 69,
"typeName": "pallet_collective::Event<Runtime, pallet_collective::Instance2>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "PhragmenElection",
"fields": [
{
"type": 70,
"typeName": "pallet_elections_phragmen::Event<Runtime>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "TechnicalMembership",
"fields": [
{
"type": 73,
"typeName": "pallet_membership::Event<Runtime, pallet_membership::Instance1>",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "Treasury",
"fields": [
{
"type": 74,
"typeName": "pallet_treasury::Event<Runtime>",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "ConvictionVoting",
"fields": [
{
"type": 75,
"typeName": "pallet_conviction_voting::Event<Runtime>",
"docs": []
}
],
"index": 20,
"docs": []
},
{
"name": "Referenda",
"fields": [
{
"type": 76,
"typeName": "pallet_referenda::Event<Runtime>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "Whitelist",
"fields": [
{
"type": 441,
"typeName": "pallet_whitelist::Event<Runtime>",
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "Claims",
"fields": [
{
"type": 446,
"typeName": "claims::Event<Runtime>",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Vesting",
"fields": [
{
"type": 447,
"typeName": "pallet_vesting::Event<Runtime>",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "Utility",
"fields": [
{
"type": 448,
"typeName": "pallet_utility::Event",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "Identity",
"fields": [
{
"type": 449,
"typeName": "pallet_identity::Event<Runtime>",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "Proxy",
"fields": [
{
"type": 450,
"typeName": "pallet_proxy::Event<Runtime>",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "Multisig",
"fields": [
{
"type": 451,
"typeName": "pallet_multisig::Event<Runtime>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "Bounties",
"fields": [
{
"type": 452,
"typeName": "pallet_bounties::Event<Runtime>",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ChildBounties",
"fields": [
{
"type": 453,
"typeName": "pallet_child_bounties::Event<Runtime>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "Tips",
"fields": [
{
"type": 454,
"typeName": "pallet_tips::Event<Runtime>",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ElectionProviderMultiPhase",
"fields": [
{
"type": 455,
"typeName": "pallet_election_provider_multi_phase::Event<Runtime>",
"docs": []
}
],
"index": 36,
"docs": []
},
{
"name": "VoterList",
"fields": [
{
"type": 459,
"typeName": "pallet_bags_list::Event<Runtime, pallet_bags_list::Instance1>",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "NominationPools",
"fields": [
{
"type": 460,
"typeName": "pallet_nomination_pools::Event<Runtime>",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "FastUnstake",
"fields": [
{
"type": 461,
"typeName": "pallet_fast_unstake::Event<Runtime>",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "ParaInclusion",
"fields": [
{
"type": 462,
"typeName": "parachains_inclusion::Event<Runtime>",
"docs": []
}
],
"index": 53,
"docs": []
},
{
"name": "Paras",
"fields": [
{
"type": 466,
"typeName": "parachains_paras::Event",
"docs": []
}
],
"index": 56,
"docs": []
},
{
"name": "Hrmp",
"fields": [
{
"type": 467,
"typeName": "parachains_hrmp::Event<Runtime>",
"docs": []
}
],
"index": 60,
"docs": []
},
{
"name": "ParasDisputes",
"fields": [
{
"type": 468,
"typeName": "parachains_disputes::Event<Runtime>",
"docs": []
}
],
"index": 62,
"docs": []
},
{
"name": "Registrar",
"fields": [
{
"type": 471,
"typeName": "paras_registrar::Event<Runtime>",
"docs": []
}
],
"index": 70,
"docs": []
},
{
"name": "Slots",
"fields": [
{
"type": 472,
"typeName": "slots::Event<Runtime>",
"docs": []
}
],
"index": 71,
"docs": []
},
{
"name": "Auctions",
"fields": [
{
"type": 473,
"typeName": "auctions::Event<Runtime>",
"docs": []
}
],
"index": 72,
"docs": []
},
{
"name": "Crowdloan",
"fields": [
{
"type": 474,
"typeName": "crowdloan::Event<Runtime>",
"docs": []
}
],
"index": 73,
"docs": []
},
{
"name": "XcmPallet",
"fields": [
{
"type": 475,
"typeName": "pallet_xcm::Event<Runtime>",
"docs": []
}
],
"index": 99,
"docs": []
},
{
"name": "MessageQueue",
"fields": [
{
"type": 477,
"typeName": "pallet_message_queue::Event<Runtime>",
"docs": []
}
],
"index": 100,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 21,
"type": {
"path": [
"frame_system",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "ExtrinsicSuccess",
"fields": [
{
"name": "dispatch_info",
"type": 22,
"typeName": "DispatchInfo",
"docs": []
}
],
"index": 0,
"docs": [
"An extrinsic completed successfully."
]
},
{
"name": "ExtrinsicFailed",
"fields": [
{
"name": "dispatch_error",
"type": 25,
"typeName": "DispatchError",
"docs": []
},
{
"name": "dispatch_info",
"type": 22,
"typeName": "DispatchInfo",
"docs": []
}
],
"index": 1,
"docs": [
"An extrinsic failed."
]
},
{
"name": "CodeUpdated",
"fields": [],
"index": 2,
"docs": [
"`:code` was updated."
]
},
{
"name": "NewAccount",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 3,
"docs": [
"A new account was created."
]
},
{
"name": "KilledAccount",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 4,
"docs": [
"An account was reaped."
]
},
{
"name": "Remarked",
"fields": [
{
"name": "sender",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 5,
"docs": [
"On on-chain remark happened."
]
}
]
},
"docs": [
"Event for the System pallet."
]
}
},
{
"id": 22,
"type": {
"path": [
"frame_support",
"dispatch",
"DispatchInfo"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "weight",
"type": 9,
"typeName": "Weight",
"docs": []
},
{
"name": "class",
"type": 23,
"typeName": "DispatchClass",
"docs": []
},
{
"name": "pays_fee",
"type": 24,
"typeName": "Pays",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 23,
"type": {
"path": [
"frame_support",
"dispatch",
"DispatchClass"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Normal",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Operational",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Mandatory",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 24,
"type": {
"path": [
"frame_support",
"dispatch",
"Pays"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Yes",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "No",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 25,
"type": {
"path": [
"sp_runtime",
"DispatchError"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Other",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "CannotLookup",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "BadOrigin",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Module",
"fields": [
{
"type": 26,
"typeName": "ModuleError",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "ConsumerRemaining",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "NoProviders",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "TooManyConsumers",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "Token",
"fields": [
{
"type": 27,
"typeName": "TokenError",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "Arithmetic",
"fields": [
{
"type": 28,
"typeName": "ArithmeticError",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "Transactional",
"fields": [
{
"type": 29,
"typeName": "TransactionalError",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "Exhausted",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "Corruption",
"fields": [],
"index": 11,
"docs": []
},
{
"name": "Unavailable",
"fields": [],
"index": 12,
"docs": []
},
{
"name": "RootNotAllowed",
"fields": [],
"index": 13,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 26,
"type": {
"path": [
"sp_runtime",
"ModuleError"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "error",
"type": 17,
"typeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 27,
"type": {
"path": [
"sp_runtime",
"TokenError"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "FundsUnavailable",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "OnlyProvider",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "BelowMinimum",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "CannotCreate",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "UnknownAsset",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "Frozen",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "Unsupported",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "CannotCreateHold",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "NotExpendable",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "Blocked",
"fields": [],
"index": 9,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 28,
"type": {
"path": [
"sp_arithmetic",
"ArithmeticError"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Underflow",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Overflow",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "DivisionByZero",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 29,
"type": {
"path": [
"sp_runtime",
"TransactionalError"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "LimitReached",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NoLayer",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 30,
"type": {
"path": [
"pallet_scheduler",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Scheduled",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": [
"Scheduled some task."
]
},
{
"name": "Canceled",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": [
"Canceled some task."
]
},
{
"name": "Dispatched",
"fields": [
{
"name": "task",
"type": 31,
"typeName": "TaskAddress<T::BlockNumber>",
"docs": []
},
{
"name": "id",
"type": 32,
"typeName": "Option<TaskName>",
"docs": []
},
{
"name": "result",
"type": 33,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 2,
"docs": [
"Dispatched some task."
]
},
{
"name": "CallUnavailable",
"fields": [
{
"name": "task",
"type": 31,
"typeName": "TaskAddress<T::BlockNumber>",
"docs": []
},
{
"name": "id",
"type": 32,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 3,
"docs": [
"The call for the provided hash was not found so the task has been aborted."
]
},
{
"name": "PeriodicFailed",
"fields": [
{
"name": "task",
"type": 31,
"typeName": "TaskAddress<T::BlockNumber>",
"docs": []
},
{
"name": "id",
"type": 32,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 4,
"docs": [
"The given task was unable to be renewed since the agenda is full at that block."
]
},
{
"name": "PermanentlyOverweight",
"fields": [
{
"name": "task",
"type": 31,
"typeName": "TaskAddress<T::BlockNumber>",
"docs": []
},
{
"name": "id",
"type": 32,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 5,
"docs": [
"The given task can never be executed since it is overweight."
]
}
]
},
"docs": [
"Events type."
]
}
},
{
"id": 31,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
4,
4
]
},
"docs": []
}
},
{
"id": 32,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 1
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 1,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 33,
"type": {
"path": [
"Result"
],
"params": [
{
"name": "T",
"type": 34
},
{
"name": "E",
"type": 25
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Ok",
"fields": [
{
"type": 34,
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Err",
"fields": [
{
"type": 25,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 34,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": []
},
"docs": []
}
},
{
"id": 35,
"type": {
"path": [
"pallet_preimage",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noted",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 0,
"docs": [
"A preimage has been noted."
]
},
{
"name": "Requested",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 1,
"docs": [
"A preimage has been requested."
]
},
{
"name": "Cleared",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 2,
"docs": [
"A preimage has ben cleared."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 36,
"type": {
"path": [
"pallet_indices",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "IndexAssigned",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
}
],
"index": 0,
"docs": [
"A account index was assigned."
]
},
{
"name": "IndexFreed",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
}
],
"index": 1,
"docs": [
"A account index has been freed up (unassigned)."
]
},
{
"name": "IndexFrozen",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
},
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 2,
"docs": [
"A account index has been frozen to its current account ID."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 37,
"type": {
"path": [
"pallet_balances",
"pallet",
"Event"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Endowed",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "free_balance",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 0,
"docs": [
"An account was created with some free balance."
]
},
{
"name": "DustLost",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"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": []
},
{
"name": "to",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 2,
"docs": [
"Transfer succeeded."
]
},
{
"name": "BalanceSet",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "free",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 3,
"docs": [
"A balance was set by root."
]
},
{
"name": "Reserved",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 4,
"docs": [
"Some balance was reserved (moved from free to reserved)."
]
},
{
"name": "Unreserved",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 5,
"docs": [
"Some balance was unreserved (moved from reserved to free)."
]
},
{
"name": "ReserveRepatriated",
"fields": [
{
"name": "from",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "to",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
},
{
"name": "destination_status",
"type": 38,
"typeName": "Status",
"docs": []
}
],
"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": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 7,
"docs": [
"Some amount was deposited (e.g. for transaction fees)."
]
},
{
"name": "Withdraw",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"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": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 9,
"docs": [
"Some amount was removed from the account (e.g. for misbehavior)."
]
},
{
"name": "Minted",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 10,
"docs": [
"Some amount was minted into an account."
]
},
{
"name": "Burned",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 11,
"docs": [
"Some amount was burned from an account."
]
},
{
"name": "Suspended",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 12,
"docs": [
"Some amount was suspended from an account (it can be restored later)."
]
},
{
"name": "Restored",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 13,
"docs": [
"Some amount was restored into an account."
]
},
{
"name": "Upgraded",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 14,
"docs": [
"An account was upgraded."
]
},
{
"name": "Issued",
"fields": [
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 15,
"docs": [
"Total issuance was increased by `amount`, creating a credit to be balanced."
]
},
{
"name": "Rescinded",
"fields": [
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 16,
"docs": [
"Total issuance was decreased by `amount`, creating a debt to be balanced."
]
},
{
"name": "Locked",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 17,
"docs": [
"Some balance was locked."
]
},
{
"name": "Unlocked",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 18,
"docs": [
"Some balance was unlocked."
]
},
{
"name": "Frozen",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 19,
"docs": [
"Some balance was frozen."
]
},
{
"name": "Thawed",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 20,
"docs": [
"Some balance was thawed."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 38,
"type": {
"path": [
"frame_support",
"traits",
"tokens",
"misc",
"BalanceStatus"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Free",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Reserved",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 39,
"type": {
"path": [
"pallet_transaction_payment",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "TransactionFeePaid",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "actual_fee",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "tip",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,",
"has been paid by `who`."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 40,
"type": {
"path": [
"pallet_staking",
"pallet",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "EraPaid",
"fields": [
{
"name": "era_index",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "validator_payout",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "remainder",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"The era payout has been set; the first balance is the validator-payout; the second is",
"the remainder from the maximum amount of reward."
]
},
{
"name": "Rewarded",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"The nominator has been rewarded by this amount."
]
},
{
"name": "Slashed",
"fields": [
{
"name": "staker",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 2,
"docs": [
"A staker (validator or nominator) has been slashed by the given amount."
]
},
{
"name": "SlashReported",
"fields": [
{
"name": "validator",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "fraction",
"type": 41,
"typeName": "Perbill",
"docs": []
},
{
"name": "slash_era",
"type": 4,
"typeName": "EraIndex",
"docs": []
}
],
"index": 3,
"docs": [
"A slash for the given validator, for the given percentage of their stake, at the given",
"era as been reported."
]
},
{
"name": "OldSlashingReportDiscarded",
"fields": [
{
"name": "session_index",
"type": 4,
"typeName": "SessionIndex",
"docs": []
}
],
"index": 4,
"docs": [
"An old slashing report from a prior era was discarded because it could",
"not be processed."
]
},
{
"name": "StakersElected",
"fields": [],
"index": 5,
"docs": [
"A new set of stakers was elected."
]
},
{
"name": "Bonded",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 6,
"docs": [
"An account has bonded this amount. \\[stash, amount\\]",
"",
"NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,",
"it will not be emitted for staking rewards when they are added to stake."
]
},
{
"name": "Unbonded",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 7,
"docs": [
"An account has unbonded this amount."
]
},
{
"name": "Withdrawn",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 8,
"docs": [
"An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`",
"from the unlocking queue."
]
},
{
"name": "Kicked",
"fields": [
{
"name": "nominator",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 9,
"docs": [
"A nominator has been kicked from a validator."
]
},
{
"name": "StakingElectionFailed",
"fields": [],
"index": 10,
"docs": [
"The election failed. No new era is planned."
]
},
{
"name": "Chilled",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 11,
"docs": [
"An account has stopped participating as either a validator or nominator."
]
},
{
"name": "PayoutStarted",
"fields": [
{
"name": "era_index",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "validator_stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 12,
"docs": [
"The stakers' rewards are getting paid."
]
},
{
"name": "ValidatorPrefsSet",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "prefs",
"type": 42,
"typeName": "ValidatorPrefs",
"docs": []
}
],
"index": 13,
"docs": [
"A validator has set their preferences."
]
},
{
"name": "ForceEra",
"fields": [
{
"name": "mode",
"type": 45,
"typeName": "Forcing",
"docs": []
}
],
"index": 14,
"docs": [
"A new force era mode was set."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 41,
"type": {
"path": [
"sp_arithmetic",
"per_things",
"Perbill"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 42,
"type": {
"path": [
"pallet_staking",
"ValidatorPrefs"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "commission",
"type": 43,
"typeName": "Perbill",
"docs": []
},
{
"name": "blocked",
"type": 44,
"typeName": "bool",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 43,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 41
},
"docs": []
}
},
{
"id": 44,
"type": {
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "bool"
}
},
"docs": []
}
},
{
"id": 45,
"type": {
"path": [
"pallet_staking",
"Forcing"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "NotForcing",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "ForceNew",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "ForceNone",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "ForceAlways",
"fields": [],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 46,
"type": {
"path": [
"pallet_offences",
"pallet",
"Event"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Offence",
"fields": [
{
"name": "kind",
"type": 47,
"typeName": "Kind",
"docs": []
},
{
"name": "timeslot",
"type": 13,
"typeName": "OpaqueTimeSlot",
"docs": []
}
],
"index": 0,
"docs": [
"There is an offence reported of the given `kind` happened at the `session_index` and",
"(kind-specific) time slot. This event is not deposited for duplicate slashes.",
"\\[kind, timeslot\\]."
]
}
]
},
"docs": [
"Events type."
]
}
},
{
"id": 47,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 16,
"type": 2
}
},
"docs": []
}
},
{
"id": 48,
"type": {
"path": [
"pallet_session",
"pallet",
"Event"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "NewSession",
"fields": [
{
"name": "session_index",
"type": 4,
"typeName": "SessionIndex",
"docs": []
}
],
"index": 0,
"docs": [
"New session has happened. Note that the argument is the session index, not the",
"block number as the type might suggest."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 49,
"type": {
"path": [
"pallet_grandpa",
"pallet",
"Event"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "NewAuthorities",
"fields": [
{
"name": "authority_set",
"type": 50,
"typeName": "AuthorityList",
"docs": []
}
],
"index": 0,
"docs": [
"New authority set has been applied."
]
},
{
"name": "Paused",
"fields": [],
"index": 1,
"docs": [
"Current authority set has been paused."
]
},
{
"name": "Resumed",
"fields": [],
"index": 2,
"docs": [
"Current authority set has been resumed."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 50,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 51
},
"docs": []
}
},
{
"id": 51,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
52,
11
]
},
"docs": []
}
},
{
"id": 52,
"type": {
"path": [
"sp_consensus_grandpa",
"app",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 53,
"typeName": "ed25519::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 53,
"type": {
"path": [
"sp_core",
"ed25519",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 54,
"type": {
"path": [
"pallet_im_online",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "HeartbeatReceived",
"fields": [
{
"name": "authority_id",
"type": 55,
"typeName": "T::AuthorityId",
"docs": []
}
],
"index": 0,
"docs": [
"A new heartbeat was received from `AuthorityId`."
]
},
{
"name": "AllGood",
"fields": [],
"index": 1,
"docs": [
"At the end of the session, no offence was committed."
]
},
{
"name": "SomeOffline",
"fields": [
{
"name": "offline",
"type": 57,
"typeName": "Vec<IdentificationTuple<T>>",
"docs": []
}
],
"index": 2,
"docs": [
"At the end of the session, at least one validator was found to be offline."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 55,
"type": {
"path": [
"pallet_im_online",
"sr25519",
"app_sr25519",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 56,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 56,
"type": {
"path": [
"sp_core",
"sr25519",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 57,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 58
},
"docs": []
}
},
{
"id": 58,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
0,
59
]
},
"docs": []
}
},
{
"id": 59,
"type": {
"path": [
"pallet_staking",
"Exposure"
],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "total",
"type": 60,
"typeName": "Balance",
"docs": []
},
{
"name": "own",
"type": 60,
"typeName": "Balance",
"docs": []
},
{
"name": "others",
"type": 61,
"typeName": "Vec<IndividualExposure<AccountId, Balance>>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 60,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 6
},
"docs": []
}
},
{
"id": 61,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 62
},
"docs": []
}
},
{
"id": 62,
"type": {
"path": [
"pallet_staking",
"IndividualExposure"
],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "who",
"type": 0,
"typeName": "AccountId",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "Balance",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 63,
"type": {
"path": [
"pallet_democracy",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Proposed",
"fields": [
{
"name": "proposal_index",
"type": 4,
"typeName": "PropIndex",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"A motion has been proposed by a public account."
]
},
{
"name": "Tabled",
"fields": [
{
"name": "proposal_index",
"type": 4,
"typeName": "PropIndex",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"A public proposal has been tabled for referendum vote."
]
},
{
"name": "ExternalTabled",
"fields": [],
"index": 2,
"docs": [
"An external proposal has been tabled."
]
},
{
"name": "Started",
"fields": [
{
"name": "ref_index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
},
{
"name": "threshold",
"type": 64,
"typeName": "VoteThreshold",
"docs": []
}
],
"index": 3,
"docs": [
"A referendum has begun."
]
},
{
"name": "Passed",
"fields": [
{
"name": "ref_index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 4,
"docs": [
"A proposal has been approved by referendum."
]
},
{
"name": "NotPassed",
"fields": [
{
"name": "ref_index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 5,
"docs": [
"A proposal has been rejected by referendum."
]
},
{
"name": "Cancelled",
"fields": [
{
"name": "ref_index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 6,
"docs": [
"A referendum has been cancelled."
]
},
{
"name": "Delegated",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "target",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 7,
"docs": [
"An account has delegated their vote to another account."
]
},
{
"name": "Undelegated",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 8,
"docs": [
"An account has cancelled a previous delegation operation."
]
},
{
"name": "Vetoed",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proposal_hash",
"type": 12,
"typeName": "H256",
"docs": []
},
{
"name": "until",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 9,
"docs": [
"An external proposal has been vetoed."
]
},
{
"name": "Blacklisted",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "H256",
"docs": []
}
],
"index": 10,
"docs": [
"A proposal_hash has been blacklisted permanently."
]
},
{
"name": "Voted",
"fields": [
{
"name": "voter",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "ref_index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
},
{
"name": "vote",
"type": 65,
"typeName": "AccountVote<BalanceOf<T>>",
"docs": []
}
],
"index": 11,
"docs": [
"An account has voted in a referendum"
]
},
{
"name": "Seconded",
"fields": [
{
"name": "seconder",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "prop_index",
"type": 4,
"typeName": "PropIndex",
"docs": []
}
],
"index": 12,
"docs": [
"An account has secconded a proposal"
]
},
{
"name": "ProposalCanceled",
"fields": [
{
"name": "prop_index",
"type": 4,
"typeName": "PropIndex",
"docs": []
}
],
"index": 13,
"docs": [
"A proposal got canceled."
]
},
{
"name": "MetadataSet",
"fields": [
{
"name": "owner",
"type": 67,
"typeName": "MetadataOwner",
"docs": [
"Metadata owner."
]
},
{
"name": "hash",
"type": 12,
"typeName": "PreimageHash",
"docs": [
"Preimage hash."
]
}
],
"index": 14,
"docs": [
"Metadata for a proposal or a referendum has been set."
]
},
{
"name": "MetadataCleared",
"fields": [
{
"name": "owner",
"type": 67,
"typeName": "MetadataOwner",
"docs": [
"Metadata owner."
]
},
{
"name": "hash",
"type": 12,
"typeName": "PreimageHash",
"docs": [
"Preimage hash."
]
}
],
"index": 15,
"docs": [
"Metadata for a proposal or a referendum has been cleared."
]
},
{
"name": "MetadataTransferred",
"fields": [
{
"name": "prev_owner",
"type": 67,
"typeName": "MetadataOwner",
"docs": [
"Previous metadata owner."
]
},
{
"name": "owner",
"type": 67,
"typeName": "MetadataOwner",
"docs": [
"New metadata owner."
]
},
{
"name": "hash",
"type": 12,
"typeName": "PreimageHash",
"docs": [
"Preimage hash."
]
}
],
"index": 16,
"docs": [
"Metadata has been transferred to new owner."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 64,
"type": {
"path": [
"pallet_democracy",
"vote_threshold",
"VoteThreshold"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "SuperMajorityApprove",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "SuperMajorityAgainst",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "SimpleMajority",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 65,
"type": {
"path": [
"pallet_democracy",
"vote",
"AccountVote"
],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Standard",
"fields": [
{
"name": "vote",
"type": 66,
"typeName": "Vote",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Split",
"fields": [
{
"name": "aye",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "nay",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 66,
"type": {
"path": [
"pallet_democracy",
"vote",
"Vote"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 67,
"type": {
"path": [
"pallet_democracy",
"types",
"MetadataOwner"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "External",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Proposal",
"fields": [
{
"type": 4,
"typeName": "PropIndex",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Referendum",
"fields": [
{
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 68,
"type": {
"path": [
"pallet_collective",
"pallet",
"Event"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Proposed",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proposal_index",
"type": 4,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "threshold",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 0,
"docs": [
"A motion (given hash) has been proposed (by given account) with a threshold (given",
"`MemberCount`)."
]
},
{
"name": "Voted",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "voted",
"type": 44,
"typeName": "bool",
"docs": []
},
{
"name": "yes",
"type": 4,
"typeName": "MemberCount",
"docs": []
},
{
"name": "no",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 1,
"docs": [
"A motion (given hash) has been voted on by given account, leaving",
"a tally (yes votes and no votes given respectively as `MemberCount`)."
]
},
{
"name": "Approved",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 2,
"docs": [
"A motion was approved by the required threshold."
]
},
{
"name": "Disapproved",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 3,
"docs": [
"A motion was not approved by the required threshold."
]
},
{
"name": "Executed",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "result",
"type": 33,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 4,
"docs": [
"A motion was executed; result will be `Ok` if it returned without error."
]
},
{
"name": "MemberExecuted",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "result",
"type": 33,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 5,
"docs": [
"A single member did some action; result will be `Ok` if it returned without error."
]
},
{
"name": "Closed",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "yes",
"type": 4,
"typeName": "MemberCount",
"docs": []
},
{
"name": "no",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 6,
"docs": [
"A proposal was closed because its threshold was reached or after its duration was up."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 69,
"type": {
"path": [
"pallet_collective",
"pallet",
"Event"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Proposed",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proposal_index",
"type": 4,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "threshold",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 0,
"docs": [
"A motion (given hash) has been proposed (by given account) with a threshold (given",
"`MemberCount`)."
]
},
{
"name": "Voted",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "voted",
"type": 44,
"typeName": "bool",
"docs": []
},
{
"name": "yes",
"type": 4,
"typeName": "MemberCount",
"docs": []
},
{
"name": "no",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 1,
"docs": [
"A motion (given hash) has been voted on by given account, leaving",
"a tally (yes votes and no votes given respectively as `MemberCount`)."
]
},
{
"name": "Approved",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 2,
"docs": [
"A motion was approved by the required threshold."
]
},
{
"name": "Disapproved",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 3,
"docs": [
"A motion was not approved by the required threshold."
]
},
{
"name": "Executed",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "result",
"type": 33,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 4,
"docs": [
"A motion was executed; result will be `Ok` if it returned without error."
]
},
{
"name": "MemberExecuted",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "result",
"type": 33,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 5,
"docs": [
"A single member did some action; result will be `Ok` if it returned without error."
]
},
{
"name": "Closed",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "yes",
"type": 4,
"typeName": "MemberCount",
"docs": []
},
{
"name": "no",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 6,
"docs": [
"A proposal was closed because its threshold was reached or after its duration was up."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 70,
"type": {
"path": [
"pallet_elections_phragmen",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "NewTerm",
"fields": [
{
"name": "new_members",
"type": 71,
"typeName": "Vec<(<T as frame_system::Config>::AccountId, BalanceOf<T>)>",
"docs": []
}
],
"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": [],
"index": 1,
"docs": [
"No (or not enough) candidates existed for this round. This is different from",
"`NewTerm(\\[\\])`. See the description of `NewTerm`."
]
},
{
"name": "ElectionError",
"fields": [],
"index": 2,
"docs": [
"Internal error happened while trying to perform election."
]
},
{
"name": "MemberKicked",
"fields": [
{
"name": "member",
"type": 0,
"typeName": "<T as frame_system::Config>::AccountId",
"docs": []
}
],
"index": 3,
"docs": [
"A member has been removed. This should always be followed by either `NewTerm` or",
"`EmptyTerm`."
]
},
{
"name": "Renounced",
"fields": [
{
"name": "candidate",
"type": 0,
"typeName": "<T as frame_system::Config>::AccountId",
"docs": []
}
],
"index": 4,
"docs": [
"Someone has renounced their candidacy."
]
},
{
"name": "CandidateSlashed",
"fields": [
{
"name": "candidate",
"type": 0,
"typeName": "<T as frame_system::Config>::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 5,
"docs": [
"A candidate was slashed by amount due to failing to obtain a seat as member or",
"runner-up.",
"",
"Note that old members and runners-up are also candidates."
]
},
{
"name": "SeatHolderSlashed",
"fields": [
{
"name": "seat_holder",
"type": 0,
"typeName": "<T as frame_system::Config>::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 6,
"docs": [
"A seat holder was slashed by amount by being forcefully removed from the set."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 71,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 72
},
"docs": []
}
},
{
"id": 72,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
0,
6
]
},
"docs": []
}
},
{
"id": 73,
"type": {
"path": [
"pallet_membership",
"pallet",
"Event"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "MemberAdded",
"fields": [],
"index": 0,
"docs": [
"The given member was added; see the transaction for who."
]
},
{
"name": "MemberRemoved",
"fields": [],
"index": 1,
"docs": [
"The given member was removed; see the transaction for who."
]
},
{
"name": "MembersSwapped",
"fields": [],
"index": 2,
"docs": [
"Two members were swapped; see the transaction for who."
]
},
{
"name": "MembersReset",
"fields": [],
"index": 3,
"docs": [
"The membership was reset; see the transaction for who the new set is."
]
},
{
"name": "KeyChanged",
"fields": [],
"index": 4,
"docs": [
"One of the members' keys changed."
]
},
{
"name": "Dummy",
"fields": [],
"index": 5,
"docs": [
"Phantom member, never used."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 74,
"type": {
"path": [
"pallet_treasury",
"pallet",
"Event"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Proposed",
"fields": [
{
"name": "proposal_index",
"type": 4,
"typeName": "ProposalIndex",
"docs": []
}
],
"index": 0,
"docs": [
"New proposal."
]
},
{
"name": "Spending",
"fields": [
{
"name": "budget_remaining",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 1,
"docs": [
"We have ended a spend period and will now allocate funds."
]
},
{
"name": "Awarded",
"fields": [
{
"name": "proposal_index",
"type": 4,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "award",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 2,
"docs": [
"Some funds have been allocated."
]
},
{
"name": "Rejected",
"fields": [
{
"name": "proposal_index",
"type": 4,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "slashed",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 3,
"docs": [
"A proposal was rejected; funds were slashed."
]
},
{
"name": "Burnt",
"fields": [
{
"name": "burnt_funds",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 4,
"docs": [
"Some of our funds have been burnt."
]
},
{
"name": "Rollover",
"fields": [
{
"name": "rollover_balance",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 5,
"docs": [
"Spending has finished; this is the amount that rolls over until next spend."
]
},
{
"name": "Deposit",
"fields": [
{
"name": "value",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 6,
"docs": [
"Some funds have been deposited."
]
},
{
"name": "SpendApproved",
"fields": [
{
"name": "proposal_index",
"type": 4,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "beneficiary",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 7,
"docs": [
"A new spend proposal has been approved."
]
},
{
"name": "UpdatedInactive",
"fields": [
{
"name": "reactivated",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "deactivated",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 8,
"docs": [
"The inactive funds of the pallet have been updated."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 75,
"type": {
"path": [
"pallet_conviction_voting",
"pallet",
"Event"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Delegated",
"fields": [
{
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 0,
"docs": [
"An account has delegated their vote to another account. \\[who, target\\]"
]
},
{
"name": "Undelegated",
"fields": [
{
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 1,
"docs": [
"An \\[account\\] has cancelled a previous delegation operation."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 76,
"type": {
"path": [
"pallet_referenda",
"pallet",
"Event"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Submitted",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": [
"Index of the referendum."
]
},
{
"name": "track",
"type": 77,
"typeName": "TrackIdOf<T, I>",
"docs": [
"The track (and by extension proposal dispatch origin) of this referendum."
]
},
{
"name": "proposal",
"type": 78,
"typeName": "BoundedCallOf<T, I>",
"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<T, I>",
"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<T, I>",
"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<T, I>",
"docs": [
"The amount placed by the account."
]
}
],
"index": 3,
"docs": [
"A deposit has been slashaed."
]
},
{
"name": "DecisionStarted",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": [
"Index of the referendum."
]
},
{
"name": "track",
"type": 77,
"typeName": "TrackIdOf<T, I>",
"docs": [
"The track (and by extension proposal dispatch origin) of this referendum."
]
},
{
"name": "proposal",
"type": 78,
"typeName": "BoundedCallOf<T, I>",
"docs": [
"The proposal for the referendum."
]
},
{
"name": "tally",
"type": 440,
"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": []
},
{
"name": "ConfirmAborted",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": [
"Index of the referendum."
]
}
],
"index": 6,
"docs": []
},
{
"name": "Confirmed",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": [
"Index of the referendum."
]
},
{
"name": "tally",
"type": 440,
"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": 440,
"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": 440,
"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": 440,
"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": 440,
"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<T, I>",
"docs": [
"The amount placed by the account."
]
}
],
"index": 13,
"docs": [
"The submission deposit has been refunded."
]
},
{
"name": "MetadataSet",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": [
"Index of the referendum."
]
},
{
"name": "hash",
"type": 12,
"typeName": "PreimageHash",
"docs": [
"Preimage hash."
]
}
],
"index": 14,
"docs": [
"Metadata for a referendum has been set."
]
},
{
"name": "MetadataCleared",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": [
"Index of the referendum."
]
},
{
"name": "hash",
"type": 12,
"typeName": "PreimageHash",
"docs": [
"Preimage hash."
]
}
],
"index": 15,
"docs": [
"Metadata for a referendum has been cleared."
]
}
]
},
"docs": [
"\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"
]
}
},
{
"id": 77,
"type": {
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u16"
}
},
"docs": []
}
},
{
"id": 78,
"type": {
"path": [
"frame_support",
"traits",
"preimages",
"Bounded"
],
"params": [
{
"name": "T",
"type": 79
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Legacy",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "Hash",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Inline",
"fields": [
{
"type": 439,
"typeName": "BoundedInline",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Lookup",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "Hash",
"docs": []
},
{
"name": "len",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 79,
"type": {
"path": [
"polkadot_runtime",
"RuntimeCall"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "System",
"fields": [
{
"type": 80,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<System, Runtime>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Scheduler",
"fields": [
{
"type": 84,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Scheduler, Runtime>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Preimage",
"fields": [
{
"type": 86,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Preimage, Runtime>",
"docs": []
}
],
"index": 10,
"docs": []
},
{
"name": "Babe",
"fields": [
{
"type": 87,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Babe, Runtime>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Timestamp",
"fields": [
{
"type": 98,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Timestamp, Runtime>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Indices",
"fields": [
{
"type": 99,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Indices, Runtime>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Balances",
"fields": [
{
"type": 103,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Balances, Runtime>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Staking",
"fields": [
{
"type": 105,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Staking, Runtime>",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "Session",
"fields": [
{
"type": 114,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Session, Runtime>",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "Grandpa",
"fields": [
{
"type": 119,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Grandpa, Runtime>",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ImOnline",
"fields": [
{
"type": 131,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ImOnline, Runtime>",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "Democracy",
"fields": [
{
"type": 139,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Democracy, Runtime>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "Council",
"fields": [
{
"type": 143,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Council, Runtime>",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "TechnicalCommittee",
"fields": [
{
"type": 145,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<TechnicalCommittee, Runtime>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "PhragmenElection",
"fields": [
{
"type": 146,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<PhragmenElection, Runtime>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "TechnicalMembership",
"fields": [
{
"type": 148,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<TechnicalMembership, Runtime>",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "Treasury",
"fields": [
{
"type": 149,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Treasury, Runtime>",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "ConvictionVoting",
"fields": [
{
"type": 150,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ConvictionVoting, Runtime>",
"docs": []
}
],
"index": 20,
"docs": []
},
{
"name": "Referenda",
"fields": [
{
"type": 155,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Referenda, Runtime>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "Whitelist",
"fields": [
{
"type": 173,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Whitelist, Runtime>",
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "Claims",
"fields": [
{
"type": 174,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Claims, Runtime>",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Vesting",
"fields": [
{
"type": 182,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Vesting, Runtime>",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "Utility",
"fields": [
{
"type": 184,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Utility, Runtime>",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "Identity",
"fields": [
{
"type": 186,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Identity, Runtime>",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "Proxy",
"fields": [
{
"type": 227,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Proxy, Runtime>",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "Multisig",
"fields": [
{
"type": 230,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Multisig, Runtime>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "Bounties",
"fields": [
{
"type": 233,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Bounties, Runtime>",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ChildBounties",
"fields": [
{
"type": 234,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ChildBounties, Runtime>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "Tips",
"fields": [
{
"type": 235,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Tips, Runtime>",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ElectionProviderMultiPhase",
"fields": [
{
"type": 236,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ElectionProviderMultiPhase, Runtime>",
"docs": []
}
],
"index": 36,
"docs": []
},
{
"name": "VoterList",
"fields": [
{
"type": 295,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<VoterList, Runtime>",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "NominationPools",
"fields": [
{
"type": 296,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<NominationPools, Runtime>",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "FastUnstake",
"fields": [
{
"type": 307,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<FastUnstake, Runtime>",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "Configuration",
"fields": [
{
"type": 308,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Configuration, Runtime>",
"docs": []
}
],
"index": 51,
"docs": []
},
{
"name": "ParasShared",
"fields": [
{
"type": 315,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParasShared, Runtime>",
"docs": []
}
],
"index": 52,
"docs": []
},
{
"name": "ParaInclusion",
"fields": [
{
"type": 316,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParaInclusion, Runtime>",
"docs": []
}
],
"index": 53,
"docs": []
},
{
"name": "ParaInherent",
"fields": [
{
"type": 317,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParaInherent, Runtime>",
"docs": []
}
],
"index": 54,
"docs": []
},
{
"name": "Paras",
"fields": [
{
"type": 351,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Paras, Runtime>",
"docs": []
}
],
"index": 56,
"docs": []
},
{
"name": "Initializer",
"fields": [
{
"type": 353,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Initializer, Runtime>",
"docs": []
}
],
"index": 57,
"docs": []
},
{
"name": "Hrmp",
"fields": [
{
"type": 354,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Hrmp, Runtime>",
"docs": []
}
],
"index": 60,
"docs": []
},
{
"name": "ParasDisputes",
"fields": [
{
"type": 356,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParasDisputes, Runtime>",
"docs": []
}
],
"index": 62,
"docs": []
},
{
"name": "ParasSlashing",
"fields": [
{
"type": 357,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParasSlashing, Runtime>",
"docs": []
}
],
"index": 63,
"docs": []
},
{
"name": "Registrar",
"fields": [
{
"type": 361,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Registrar, Runtime>",
"docs": []
}
],
"index": 70,
"docs": []
},
{
"name": "Slots",
"fields": [
{
"type": 362,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Slots, Runtime>",
"docs": []
}
],
"index": 71,
"docs": []
},
{
"name": "Auctions",
"fields": [
{
"type": 363,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Auctions, Runtime>",
"docs": []
}
],
"index": 72,
"docs": []
},
{
"name": "Crowdloan",
"fields": [
{
"type": 365,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Crowdloan, Runtime>",
"docs": []
}
],
"index": 73,
"docs": []
},
{
"name": "XcmPallet",
"fields": [
{
"type": 373,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<XcmPallet, Runtime>",
"docs": []
}
],
"index": 99,
"docs": []
},
{
"name": "MessageQueue",
"fields": [
{
"type": 436,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<MessageQueue, Runtime>",
"docs": []
}
],
"index": 100,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 80,
"type": {
"path": [
"frame_system",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "remark",
"fields": [
{
"name": "remark",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": [
"Make some on-chain remark.",
"",
"- `O(1)`"
]
},
{
"name": "set_heap_pages",
"fields": [
{
"name": "pages",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 1,
"docs": [
"Set the number of pages in the WebAssembly environment's heap."
]
},
{
"name": "set_code",
"fields": [
{
"name": "code",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 2,
"docs": [
"Set the new runtime code."
]
},
{
"name": "set_code_without_checks",
"fields": [
{
"name": "code",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 3,
"docs": [
"Set the new runtime code without doing any checks of the given `code`."
]
},
{
"name": "set_storage",
"fields": [
{
"name": "items",
"type": 81,
"typeName": "Vec<KeyValue>",
"docs": []
}
],
"index": 4,
"docs": [
"Set some items of storage."
]
},
{
"name": "kill_storage",
"fields": [
{
"name": "keys",
"type": 83,
"typeName": "Vec<Key>",
"docs": []
}
],
"index": 5,
"docs": [
"Kill some items from storage."
]
},
{
"name": "kill_prefix",
"fields": [
{
"name": "prefix",
"type": 13,
"typeName": "Key",
"docs": []
},
{
"name": "subkeys",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 6,
"docs": [
"Kill all storage items with a key that starts with the given prefix.",
"",
"**NOTE:** We rely on the Root origin to provide us the number of subkeys under",
"the prefix we are removing to accurately calculate the weight of this function."
]
},
{
"name": "remark_with_event",
"fields": [
{
"name": "remark",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 7,
"docs": [
"Make some on-chain remark and emit event."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 81,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 82
},
"docs": []
}
},
{
"id": 82,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
13,
13
]
},
"docs": []
}
},
{
"id": 83,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 13
},
"docs": []
}
},
{
"id": 84,
"type": {
"path": [
"pallet_scheduler",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "schedule",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "maybe_periodic",
"type": 85,
"typeName": "Option<schedule::Period<T::BlockNumber>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 0,
"docs": [
"Anonymously schedule a task."
]
},
{
"name": "cancel",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": [
"Cancel an anonymously scheduled task."
]
},
{
"name": "schedule_named",
"fields": [
{
"name": "id",
"type": 1,
"typeName": "TaskName",
"docs": []
},
{
"name": "when",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "maybe_periodic",
"type": 85,
"typeName": "Option<schedule::Period<T::BlockNumber>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 2,
"docs": [
"Schedule a named task."
]
},
{
"name": "cancel_named",
"fields": [
{
"name": "id",
"type": 1,
"typeName": "TaskName",
"docs": []
}
],
"index": 3,
"docs": [
"Cancel a named scheduled task."
]
},
{
"name": "schedule_after",
"fields": [
{
"name": "after",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "maybe_periodic",
"type": 85,
"typeName": "Option<schedule::Period<T::BlockNumber>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 4,
"docs": [
"Anonymously schedule a task after a delay."
]
},
{
"name": "schedule_named_after",
"fields": [
{
"name": "id",
"type": 1,
"typeName": "TaskName",
"docs": []
},
{
"name": "after",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "maybe_periodic",
"type": 85,
"typeName": "Option<schedule::Period<T::BlockNumber>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 5,
"docs": [
"Schedule a named task after a delay."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 85,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 31
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 31,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 86,
"type": {
"path": [
"pallet_preimage",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "note_preimage",
"fields": [
{
"name": "bytes",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": [
"Register a preimage on-chain.",
"",
"If the preimage was previously requested, no fees or deposits are taken for providing",
"the preimage. Otherwise, a deposit is taken proportional to the size of the preimage."
]
},
{
"name": "unnote_preimage",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 1,
"docs": [
"Clear an unrequested preimage from the runtime storage.",
"",
"If `len` is provided, then it will be a much cheaper operation.",
"",
"- `hash`: The hash of the preimage to be removed from the store.",
"- `len`: The length of the preimage of `hash`."
]
},
{
"name": "request_preimage",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 2,
"docs": [
"Request a preimage be uploaded to the chain without paying any fees or deposits.",
"",
"If the preimage requests has already been provided on-chain, we unreserve any deposit",
"a user may have paid, and take the control of the preimage out of their hands."
]
},
{
"name": "unrequest_preimage",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 3,
"docs": [
"Clear a previously made request for a preimage.",
"",
"NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 87,
"type": {
"path": [
"pallet_babe",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "report_equivocation",
"fields": [
{
"name": "equivocation_proof",
"type": 88,
"typeName": "Box<EquivocationProof<T::Header>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 94,
"typeName": "T::KeyOwnerProof",
"docs": []
}
],
"index": 0,
"docs": [
"Report authority equivocation/misbehavior. This method will verify",
"the equivocation proof and validate the given key ownership proof",
"against the extracted offender. If both are valid, the offence will",
"be reported."
]
},
{
"name": "report_equivocation_unsigned",
"fields": [
{
"name": "equivocation_proof",
"type": 88,
"typeName": "Box<EquivocationProof<T::Header>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 94,
"typeName": "T::KeyOwnerProof",
"docs": []
}
],
"index": 1,
"docs": [
"Report authority equivocation/misbehavior. This method will verify",
"the equivocation proof and validate the given key ownership proof",
"against the extracted offender. If both are valid, the offence will",
"be reported.",
"This extrinsic must be called unsigned and it is expected that only",
"block authors will call it (validated in `ValidateUnsigned`), as such",
"if the block author is defined it will be defined as the equivocation",
"reporter."
]
},
{
"name": "plan_config_change",
"fields": [
{
"name": "config",
"type": 95,
"typeName": "NextConfigDescriptor",
"docs": []
}
],
"index": 2,
"docs": [
"Plan an epoch config change. The epoch config change is recorded and will be enacted on",
"the next call to `enact_epoch_change`. The config will be activated one epoch after.",
"Multiple calls to this method will replace any existing planned config change that had",
"not been enacted yet."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 88,
"type": {
"path": [
"sp_consensus_slots",
"EquivocationProof"
],
"params": [
{
"name": "Header",
"type": 89
},
{
"name": "Id",
"type": 92
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "offender",
"type": 92,
"typeName": "Id",
"docs": []
},
{
"name": "slot",
"type": 93,
"typeName": "Slot",
"docs": []
},
{
"name": "first_header",
"type": 89,
"typeName": "Header",
"docs": []
},
{
"name": "second_header",
"type": 89,
"typeName": "Header",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 89,
"type": {
"path": [
"sp_runtime",
"generic",
"header",
"Header"
],
"params": [
{
"name": "Number",
"type": 4
},
{
"name": "Hash",
"type": 90
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "parent_hash",
"type": 12,
"typeName": "Hash::Output",
"docs": []
},
{
"name": "number",
"type": 91,
"typeName": "Number",
"docs": []
},
{
"name": "state_root",
"type": 12,
"typeName": "Hash::Output",
"docs": []
},
{
"name": "extrinsics_root",
"type": 12,
"typeName": "Hash::Output",
"docs": []
},
{
"name": "digest",
"type": 14,
"typeName": "Digest",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 90,
"type": {
"path": [
"sp_runtime",
"traits",
"BlakeTwo256"
],
"params": [],
"def": {
"tag": "composite",
"value": []
},
"docs": []
}
},
{
"id": 91,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 4
},
"docs": []
}
},
{
"id": 92,
"type": {
"path": [
"sp_consensus_babe",
"app",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 56,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 93,
"type": {
"path": [
"sp_consensus_slots",
"Slot"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 94,
"type": {
"path": [
"sp_session",
"MembershipProof"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "session",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "trie_nodes",
"type": 83,
"typeName": "Vec<Vec<u8>>",
"docs": []
},
{
"name": "validator_count",
"type": 4,
"typeName": "ValidatorCount",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 95,
"type": {
"path": [
"sp_consensus_babe",
"digests",
"NextConfigDescriptor"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V1",
"fields": [
{
"name": "c",
"type": 96,
"typeName": "(u64, u64)",
"docs": []
},
{
"name": "allowed_slots",
"type": 97,
"typeName": "AllowedSlots",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 96,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
11,
11
]
},
"docs": []
}
},
{
"id": 97,
"type": {
"path": [
"sp_consensus_babe",
"AllowedSlots"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "PrimarySlots",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "PrimaryAndSecondaryPlainSlots",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "PrimaryAndSecondaryVRFSlots",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 98,
"type": {
"path": [
"pallet_timestamp",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "set",
"fields": [
{
"name": "now",
"type": 10,
"typeName": "T::Moment",
"docs": []
}
],
"index": 0,
"docs": [
"Set the current time.",
"",
"This call should be invoked exactly once per block. It will panic at the finalization",
"phase, if this call hasn't been invoked by that time.",
"",
"The timestamp should be greater than the previous one by the amount specified by",
"`MinimumPeriod`.",
"",
"The dispatch origin for this call must be `Inherent`.",
"",
"## Complexity",
"- `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)",
"- 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in",
" `on_finalize`)",
"- 1 event handler `on_timestamp_set`. Must be `O(1)`."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 99,
"type": {
"path": [
"pallet_indices",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "claim",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
}
],
"index": 0,
"docs": [
"Assign an previously unassigned index.",
"",
"Payment: `Deposit` is reserved from the sender account.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `index`: the index to be claimed. This must not be in use.",
"",
"Emits `IndexAssigned` if successful.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "transfer",
"fields": [
{
"name": "new",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
}
],
"index": 1,
"docs": [
"Assign an index already owned by the sender to another account. The balance reservation",
"is effectively transferred to the new account.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `index`: the index to be re-assigned. This must be owned by the sender.",
"- `new`: the new owner of the index. This function is a no-op if it is equal to sender.",
"",
"Emits `IndexAssigned` if successful.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "free",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
}
],
"index": 2,
"docs": [
"Free up an index owned by the sender.",
"",
"Payment: Any previous deposit placed for the index is unreserved in the sender account.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must own the index.",
"",
"- `index`: the index to be freed. This must be owned by the sender.",
"",
"Emits `IndexFreed` if successful.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "force_transfer",
"fields": [
{
"name": "new",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
},
{
"name": "freeze",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 3,
"docs": [
"Force an index to an account. This doesn't require a deposit. If the index is already",
"held, then any deposit is reimbursed to its current owner.",
"",
"The dispatch origin for this call must be _Root_.",
"",
"- `index`: the index to be (re-)assigned.",
"- `new`: the new owner of the index. This function is a no-op if it is equal to sender.",
"- `freeze`: if set to `true`, will freeze the index so it cannot be transferred.",
"",
"Emits `IndexAssigned` if successful.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "freeze",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
}
],
"index": 4,
"docs": [
"Freeze an index so it will always point to the sender account. This consumes the",
"deposit.",
"",
"The dispatch origin for this call must be _Signed_ and the signing account must have a",
"non-frozen account `index`.",
"",
"- `index`: the index to be frozen in place.",
"",
"Emits `IndexFrozen` if successful.",
"",
"## Complexity",
"- `O(1)`."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 100,
"type": {
"path": [
"sp_runtime",
"multiaddress",
"MultiAddress"
],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "AccountIndex",
"type": 34
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Id",
"fields": [
{
"type": 0,
"typeName": "AccountId",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 101,
"typeName": "AccountIndex",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Raw",
"fields": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Address32",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Address20",
"fields": [
{
"type": 102,
"typeName": "[u8; 20]",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 101,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 34
},
"docs": []
}
},
{
"id": 102,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 20,
"type": 2
}
},
"docs": []
}
},
{
"id": 103,
"type": {
"path": [
"pallet_balances",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "transfer_allow_death",
"fields": [
{
"name": "dest",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "T::Balance",
"docs": []
}
],
"index": 0,
"docs": [
"Transfer some liquid free balance to another account.",
"",
"`transfer_allow_death` will set the `FreeBalance` of the sender and receiver.",
"If the sender's account is below the existential deposit as a result",
"of the transfer, the account will be reaped.",
"",
"The dispatch origin for this call must be `Signed` by the transactor."
]
},
{
"name": "set_balance_deprecated",
"fields": [
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "new_free",
"type": 60,
"typeName": "T::Balance",
"docs": []
},
{
"name": "old_reserved",
"type": 60,
"typeName": "T::Balance",
"docs": []
}
],
"index": 1,
"docs": [
"Set the regular balance of a given account; it also takes a reserved balance but this",
"must be the same as the account's current reserved balance.",
"",
"The dispatch origin for this call is `root`.",
"",
"WARNING: This call is DEPRECATED! Use `force_set_balance` instead."
]
},
{
"name": "force_transfer",
"fields": [
{
"name": "source",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "dest",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "T::Balance",
"docs": []
}
],
"index": 2,
"docs": [
"Exactly as `transfer_allow_death`, except the origin must be root and the source account",
"may be specified."
]
},
{
"name": "transfer_keep_alive",
"fields": [
{
"name": "dest",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "T::Balance",
"docs": []
}
],
"index": 3,
"docs": [
"Same as the [`transfer_allow_death`] call, but with a check that the transfer will not",
"kill the origin account.",
"",
"99% of the time you want [`transfer_allow_death`] instead.",
"",
"[`transfer_allow_death`]: struct.Pallet.html#method.transfer"
]
},
{
"name": "transfer_all",
"fields": [
{
"name": "dest",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "keep_alive",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 4,
"docs": [
"Transfer the entire transferable balance from the caller account.",
"",
"NOTE: This function only attempts to transfer _transferable_ balances. This means that",
"any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be",
"transferred by this function. To ensure that this function results in a killed account,",
"you might need to prepare the account by removing any reference counters, storage",
"deposits, etc...",
"",
"The dispatch origin of this call must be Signed.",
"",
"- `dest`: The recipient of the transfer.",
"- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all",
" of the funds the account has, causing the sender account to be killed (false), or",
" transfer everything except at least the existential deposit, which will guarantee to",
" keep the sender account alive (true)."
]
},
{
"name": "force_unreserve",
"fields": [
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 5,
"docs": [
"Unreserve some balance from a user by force.",
"",
"Can only be called by ROOT."
]
},
{
"name": "upgrade_accounts",
"fields": [
{
"name": "who",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
}
],
"index": 6,
"docs": [
"Upgrade a specified account.",
"",
"- `origin`: Must be `Signed`.",
"- `who`: The account to be upgraded.",
"",
"This will waive the transaction fee if at least all but 10% of the accounts needed to",
"be upgraded. (We let some not have to be upgraded just in order to allow for the",
"possibililty of churn)."
]
},
{
"name": "transfer",
"fields": [
{
"name": "dest",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "T::Balance",
"docs": []
}
],
"index": 7,
"docs": [
"Alias for `transfer_allow_death`, provided only for name-wise compatibility.",
"",
"WARNING: DEPRECATED! Will be released in approximately 3 months."
]
},
{
"name": "force_set_balance",
"fields": [
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "new_free",
"type": 60,
"typeName": "T::Balance",
"docs": []
}
],
"index": 8,
"docs": [
"Set the regular balance of a given account.",
"",
"The dispatch origin for this call is `root`."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 104,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 0
},
"docs": []
}
},
{
"id": 105,
"type": {
"path": [
"pallet_staking",
"pallet",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "bond",
"fields": [
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "payee",
"type": 106,
"typeName": "RewardDestination<T::AccountId>",
"docs": []
}
],
"index": 0,
"docs": [
"Take the origin account as a stash and lock up `value` of its balance. `controller` will",
"be the account that controls it.",
"",
"`value` must be more than the `minimum_balance` specified by `T::Currency`.",
"",
"The dispatch origin for this call must be _Signed_ by the stash account.",
"",
"Emits `Bonded`.",
"## Complexity",
"- Independent of the arguments. Moderate complexity.",
"- O(1).",
"- Three extra DB entries.",
"",
"NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned",
"unless the `origin` falls below _existential deposit_ and gets removed as dust."
]
},
{
"name": "bond_extra",
"fields": [
{
"name": "max_additional",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"Add some extra amount that have appeared in the stash `free_balance` into the balance up",
"for staking.",
"",
"The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
"",
"Use this if there are additional funds in your stash account that you wish to bond.",
"Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose",
"any limitation on the amount that can be added.",
"",
"Emits `Bonded`.",
"",
"## Complexity",
"- Independent of the arguments. Insignificant complexity.",
"- O(1)."
]
},
{
"name": "unbond",
"fields": [
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 2,
"docs": [
"Schedule a portion of the stash to be unlocked ready for transfer out after the bond",
"period ends. If this leaves an amount actively bonded less than",
"T::Currency::minimum_balance(), then it is increased to the full amount.",
"",
"The dispatch origin for this call must be _Signed_ by the controller, not the stash.",
"",
"Once the unlock period is done, you can call `withdraw_unbonded` to actually move",
"the funds out of management ready for transfer.",
"",
"No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)",
"can co-exists at the same time. If there are no unlocking chunks slots available",
"[`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).",
"",
"If a user encounters the `InsufficientBond` error when calling this extrinsic,",
"they should call `chill` first in order to free up their bonded funds.",
"",
"Emits `Unbonded`.",
"",
"See also [`Call::withdraw_unbonded`]."
]
},
{
"name": "withdraw_unbonded",
"fields": [
{
"name": "num_slashing_spans",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": [
"Remove any unlocked chunks from the `unlocking` queue from our management.",
"",
"This essentially frees up that balance to be used by the stash account to do",
"whatever it wants.",
"",
"The dispatch origin for this call must be _Signed_ by the controller.",
"",
"Emits `Withdrawn`.",
"",
"See also [`Call::unbond`].",
"",
"## Complexity",
"O(S) where S is the number of slashing spans to remove",
"NOTE: Weight annotation is the kill scenario, we refund otherwise."
]
},
{
"name": "validate",
"fields": [
{
"name": "prefs",
"type": 42,
"typeName": "ValidatorPrefs",
"docs": []
}
],
"index": 4,
"docs": [
"Declare the desire to validate for the origin controller.",
"",
"Effects will be felt at the beginning of the next era.",
"",
"The dispatch origin for this call must be _Signed_ by the controller, not the stash."
]
},
{
"name": "nominate",
"fields": [
{
"name": "targets",
"type": 107,
"typeName": "Vec<AccountIdLookupOf<T>>",
"docs": []
}
],
"index": 5,
"docs": [
"Declare the desire to nominate `targets` for the origin controller.",
"",
"Effects will be felt at the beginning of the next era.",
"",
"The dispatch origin for this call must be _Signed_ by the controller, not the stash.",
"",
"## Complexity",
"- The transaction's complexity is proportional to the size of `targets` (N)",
"which is capped at CompactAssignments::LIMIT (T::MaxNominations).",
"- Both the reads and writes follow a similar pattern."
]
},
{
"name": "chill",
"fields": [],
"index": 6,
"docs": [
"Declare no desire to either validate or nominate.",
"",
"Effects will be felt at the beginning of the next era.",
"",
"The dispatch origin for this call must be _Signed_ by the controller, not the stash.",
"",
"## Complexity",
"- Independent of the arguments. Insignificant complexity.",
"- Contains one read.",
"- Writes are limited to the `origin` account key."
]
},
{
"name": "set_payee",
"fields": [
{
"name": "payee",
"type": 106,
"typeName": "RewardDestination<T::AccountId>",
"docs": []
}
],
"index": 7,
"docs": [
"(Re-)set the payment target for a controller.",
"",
"Effects will be felt instantly (as soon as this function is completed successfully).",
"",
"The dispatch origin for this call must be _Signed_ by the controller, not the stash.",
"",
"## Complexity",
"- O(1)",
"- Independent of the arguments. Insignificant complexity.",
"- Contains a limited number of reads.",
"- Writes are limited to the `origin` account key.",
"---------"
]
},
{
"name": "set_controller",
"fields": [],
"index": 8,
"docs": [
"(Re-)sets the controller of a stash to the stash itself. This function previously",
"accepted a `controller` argument to set the controller to an account other than the",
"stash itself. This functionality has now been removed, now only setting the controller",
"to the stash, if it is not already.",
"",
"Effects will be felt instantly (as soon as this function is completed successfully).",
"",
"The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
"",
"## Complexity",
"O(1)",
"- Independent of the arguments. Insignificant complexity.",
"- Contains a limited number of reads.",
"- Writes are limited to the `origin` account key."
]
},
{
"name": "set_validator_count",
"fields": [
{
"name": "new",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": [
"Sets the ideal number of validators.",
"",
"The dispatch origin must be Root.",
"",
"## Complexity",
"O(1)"
]
},
{
"name": "increase_validator_count",
"fields": [
{
"name": "additional",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 10,
"docs": [
"Increments the ideal number of validators upto maximum of",
"`ElectionProviderBase::MaxWinners`.",
"",
"The dispatch origin must be Root.",
"",
"## Complexity",
"Same as [`Self::set_validator_count`]."
]
},
{
"name": "scale_validator_count",
"fields": [
{
"name": "factor",
"type": 108,
"typeName": "Percent",
"docs": []
}
],
"index": 11,
"docs": [
"Scale up the ideal number of validators by a factor upto maximum of",
"`ElectionProviderBase::MaxWinners`.",
"",
"The dispatch origin must be Root.",
"",
"## Complexity",
"Same as [`Self::set_validator_count`]."
]
},
{
"name": "force_no_eras",
"fields": [],
"index": 12,
"docs": [
"Force there to be no new eras indefinitely.",
"",
"The dispatch origin must be Root.",
"",
"# Warning",
"",
"The election process starts multiple blocks before the end of the era.",
"Thus the election process may be ongoing when this is called. In this case the",
"election will continue until the next era is triggered.",
"",
"## Complexity",
"- No arguments.",
"- Weight: O(1)"
]
},
{
"name": "force_new_era",
"fields": [],
"index": 13,
"docs": [
"Force there to be a new era at the end of the next session. After this, it will be",
"reset to normal (non-forced) behaviour.",
"",
"The dispatch origin must be Root.",
"",
"# Warning",
"",
"The election process starts multiple blocks before the end of the era.",
"If this is called just before a new era is triggered, the election process may not",
"have enough blocks to get a result.",
"",
"## Complexity",
"- No arguments.",
"- Weight: O(1)"
]
},
{
"name": "set_invulnerables",
"fields": [
{
"name": "invulnerables",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
}
],
"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": []
},
{
"name": "num_slashing_spans",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 15,
"docs": [
"Force a current staker to become completely unstaked, immediately.",
"",
"The dispatch origin must be Root."
]
},
{
"name": "force_new_era_always",
"fields": [],
"index": 16,
"docs": [
"Force there to be a new era at the end of sessions indefinitely.",
"",
"The dispatch origin must be Root.",
"",
"# Warning",
"",
"The election process starts multiple blocks before the end of the era.",
"If this is called just before a new era is triggered, the election process may not",
"have enough blocks to get a result."
]
},
{
"name": "cancel_deferred_slash",
"fields": [
{
"name": "era",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "slash_indices",
"type": 109,
"typeName": "Vec<u32>",
"docs": []
}
],
"index": 17,
"docs": [
"Cancel enactment of a deferred slash.",
"",
"Can be called by the `T::AdminOrigin`.",
"",
"Parameters: era and indices of the slashes for that era to kill."
]
},
{
"name": "payout_stakers",
"fields": [
{
"name": "validator_stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "era",
"type": 4,
"typeName": "EraIndex",
"docs": []
}
],
"index": 18,
"docs": [
"Pay out all the stakers behind a single validator for a single era.",
"",
"- `validator_stash` is the stash account of the validator. Their nominators, up to",
" `T::MaxNominatorRewardedPerValidator`, will also receive their rewards.",
"- `era` may be any era between `[current_era - history_depth; current_era]`.",
"",
"The origin of this call must be _Signed_. Any account can call this function, even if",
"it is not one of the stakers.",
"",
"## Complexity",
"- At most O(MaxNominatorRewardedPerValidator)."
]
},
{
"name": "rebond",
"fields": [
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 19,
"docs": [
"Rebond a portion of the stash scheduled to be unlocked.",
"",
"The dispatch origin must be signed by the controller.",
"",
"## Complexity",
"- Time complexity: O(L), where L is unlocking chunks",
"- Bounded by `MaxUnlockingChunks`."
]
},
{
"name": "reap_stash",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "num_slashing_spans",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 20,
"docs": [
"Remove all data structures concerning a staker/stash once it is at a state where it can",
"be considered `dust` in the staking system. The requirements are:",
"",
"1. the `total_balance` of the stash is below existential deposit.",
"2. or, the `ledger.total` of the stash is below existential deposit.",
"",
"The former can happen in cases like a slash; the latter when a fully unbonded account",
"is still receiving staking rewards in `RewardDestination::Staked`.",
"",
"It can be called by anyone, as long as `stash` meets the above requirements.",
"",
"Refunds the transaction fees upon successful execution."
]
},
{
"name": "kick",
"fields": [
{
"name": "who",
"type": 107,
"typeName": "Vec<AccountIdLookupOf<T>>",
"docs": []
}
],
"index": 21,
"docs": [
"Remove the given nominations from the calling validator.",
"",
"Effects will be felt at the beginning of the next era.",
"",
"The dispatch origin for this call must be _Signed_ by the controller, not the stash.",
"",
"- `who`: A list of nominator stash accounts who are nominating this validator which",
" should no longer be nominating this validator.",
"",
"Note: Making this call only makes sense if you first set the validator preferences to",
"block any further nominations."
]
},
{
"name": "set_staking_configs",
"fields": [
{
"name": "min_nominator_bond",
"type": 110,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "min_validator_bond",
"type": 110,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "max_nominator_count",
"type": 111,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "max_validator_count",
"type": 111,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "chill_threshold",
"type": 112,
"typeName": "ConfigOp<Percent>",
"docs": []
},
{
"name": "min_commission",
"type": 113,
"typeName": "ConfigOp<Perbill>",
"docs": []
}
],
"index": 22,
"docs": [
"Update the various staking configurations .",
"",
"* `min_nominator_bond`: The minimum active bond needed to be a nominator.",
"* `min_validator_bond`: The minimum active bond needed to be a validator.",
"* `max_nominator_count`: The max number of users who can be a nominator at once. When",
" set to `None`, no limit is enforced.",
"* `max_validator_count`: The max number of users who can be a validator at once. When",
" set to `None`, no limit is enforced.",
"* `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which",
" should be filled in order for the `chill_other` transaction to work.",
"* `min_commission`: The minimum amount of commission that each validators must maintain.",
" This is checked only upon calling `validate`. Existing validators are not affected.",
"",
"RuntimeOrigin must be Root to call this function.",
"",
"NOTE: Existing nominators and validators will not be affected by this update.",
"to kick people under the new limits, `chill_other` should be called."
]
},
{
"name": "chill_other",
"fields": [
{
"name": "controller",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 23,
"docs": [
"Declare a `controller` to stop participating as either a validator or nominator.",
"",
"Effects will be felt at the beginning of the next era.",
"",
"The dispatch origin for this call must be _Signed_, but can be called by anyone.",
"",
"If the caller is the same as the controller being targeted, then no further checks are",
"enforced, and this function behaves just like `chill`.",
"",
"If the caller is different than the controller being targeted, the following conditions",
"must be met:",
"",
"* `controller` must belong to a nominator who has become non-decodable,",
"",
"Or:",
"",
"* A `ChillThreshold` must be set and checked which defines how close to the max",
" nominators or validators we must reach before users can start chilling one-another.",
"* A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine",
" how close we are to the threshold.",
"* A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines",
" if this is a person that should be chilled because they have not met the threshold",
" bond required.",
"",
"This can be helpful if bond requirements are updated, and we need to remove old users",
"who do not satisfy these requirements."
]
},
{
"name": "force_apply_min_commission",
"fields": [
{
"name": "validator_stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 24,
"docs": [
"Force a validator to have at least the minimum commission. This will not affect a",
"validator who already has a commission greater than or equal to the minimum. Any account",
"can call this."
]
},
{
"name": "set_min_commission",
"fields": [
{
"name": "new",
"type": 41,
"typeName": "Perbill",
"docs": []
}
],
"index": 25,
"docs": [
"Sets the minimum amount of commission that each validators must maintain.",
"",
"This call has lower privilege requirements than `set_staking_config` and can be called",
"by the `T::AdminOrigin`. Root can always call this."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 106,
"type": {
"path": [
"pallet_staking",
"RewardDestination"
],
"params": [
{
"name": "AccountId",
"type": 0
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Staked",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Stash",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Controller",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Account",
"fields": [
{
"type": 0,
"typeName": "AccountId",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "None",
"fields": [],
"index": 4,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 107,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 100
},
"docs": []
}
},
{
"id": 108,
"type": {
"path": [
"sp_arithmetic",
"per_things",
"Percent"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 2,
"typeName": "u8",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 109,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 4
},
"docs": []
}
},
{
"id": 110,
"type": {
"path": [
"pallet_staking",
"pallet",
"pallet",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 6
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 6,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 111,
"type": {
"path": [
"pallet_staking",
"pallet",
"pallet",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 4,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 112,
"type": {
"path": [
"pallet_staking",
"pallet",
"pallet",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 108
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 108,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 113,
"type": {
"path": [
"pallet_staking",
"pallet",
"pallet",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 41
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 41,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 114,
"type": {
"path": [
"pallet_session",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "set_keys",
"fields": [
{
"name": "keys",
"type": 115,
"typeName": "T::Keys",
"docs": []
},
{
"name": "proof",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": [
"Sets the session key(s) of the function caller to `keys`.",
"Allows an account to set its session key prior to becoming a validator.",
"This doesn't take effect until the next session.",
"",
"The dispatch origin of this function must be signed.",
"",
"## Complexity",
"- `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is",
" fixed."
]
},
{
"name": "purge_keys",
"fields": [],
"index": 1,
"docs": [
"Removes any session key(s) of the function caller.",
"",
"This doesn't take effect until the next session.",
"",
"The dispatch origin of this function must be Signed and the account must be either be",
"convertible to a validator ID using the chain's typical addressing system (this usually",
"means being a controller account) or directly convertible into a validator ID (which",
"usually means being a stash account).",
"",
"## Complexity",
"- `O(1)` in number of key types. Actual cost depends on the number of length of",
" `T::Keys::key_ids()` which is fixed."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 115,
"type": {
"path": [
"polkadot_runtime",
"SessionKeys"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "grandpa",
"type": 52,
"typeName": "<Grandpa as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "babe",
"type": 92,
"typeName": "<Babe as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "im_online",
"type": 55,
"typeName": "<ImOnline as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "para_validator",
"type": 116,
"typeName": "<Initializer as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "para_assignment",
"type": 117,
"typeName": "<ParaSessionInfo as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "authority_discovery",
"type": 118,
"typeName": "<AuthorityDiscovery as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 116,
"type": {
"path": [
"polkadot_primitives",
"v4",
"validator_app",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 56,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 117,
"type": {
"path": [
"polkadot_primitives",
"v4",
"assignment_app",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 56,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 118,
"type": {
"path": [
"sp_authority_discovery",
"app",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 56,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 119,
"type": {
"path": [
"pallet_grandpa",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "report_equivocation",
"fields": [
{
"name": "equivocation_proof",
"type": 120,
"typeName": "Box<EquivocationProof<T::Hash, T::BlockNumber>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 94,
"typeName": "T::KeyOwnerProof",
"docs": []
}
],
"index": 0,
"docs": [
"Report voter equivocation/misbehavior. This method will verify the",
"equivocation proof and validate the given key ownership proof",
"against the extracted offender. If both are valid, the offence",
"will be reported."
]
},
{
"name": "report_equivocation_unsigned",
"fields": [
{
"name": "equivocation_proof",
"type": 120,
"typeName": "Box<EquivocationProof<T::Hash, T::BlockNumber>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 94,
"typeName": "T::KeyOwnerProof",
"docs": []
}
],
"index": 1,
"docs": [
"Report voter equivocation/misbehavior. This method will verify the",
"equivocation proof and validate the given key ownership proof",
"against the extracted offender. If both are valid, the offence",
"will be reported.",
"",
"This extrinsic must be called unsigned and it is expected that only",
"block authors will call it (validated in `ValidateUnsigned`), as such",
"if the block author is defined it will be defined as the equivocation",
"reporter."
]
},
{
"name": "note_stalled",
"fields": [
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "best_finalized_block_number",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 2,
"docs": [
"Note that the current authority set of the GRANDPA finality gadget has stalled.",
"",
"This will trigger a forced authority set change at the beginning of the next session, to",
"be enacted `delay` blocks after that. The `delay` should be high enough to safely assume",
"that the block signalling the forced change will not be re-orged e.g. 1000 blocks.",
"The block production rate (which may be slowed down because of finality lagging) should",
"be taken into account when choosing the `delay`. The GRANDPA voters based on the new",
"authority will start voting on top of `best_finalized_block_number` for new finalized",
"blocks. `best_finalized_block_number` should be the highest of the latest finalized",
"block of all validators of the new authority set.",
"",
"Only callable by root."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 120,
"type": {
"path": [
"sp_consensus_grandpa",
"EquivocationProof"
],
"params": [
{
"name": "H",
"type": 12
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "set_id",
"type": 11,
"typeName": "SetId",
"docs": []
},
{
"name": "equivocation",
"type": 121,
"typeName": "Equivocation<H, N>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 121,
"type": {
"path": [
"sp_consensus_grandpa",
"Equivocation"
],
"params": [
{
"name": "H",
"type": 12
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Prevote",
"fields": [
{
"type": 122,
"typeName": "grandpa::Equivocation<AuthorityId, grandpa::Prevote<H, N>,\nAuthoritySignature>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Precommit",
"fields": [
{
"type": 128,
"typeName": "grandpa::Equivocation<AuthorityId, grandpa::Precommit<H, N>,\nAuthoritySignature>",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 122,
"type": {
"path": [
"finality_grandpa",
"Equivocation"
],
"params": [
{
"name": "Id",
"type": 52
},
{
"name": "V",
"type": 123
},
{
"name": "S",
"type": 124
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "round_number",
"type": 11,
"typeName": "u64",
"docs": []
},
{
"name": "identity",
"type": 52,
"typeName": "Id",
"docs": []
},
{
"name": "first",
"type": 127,
"typeName": "(V, S)",
"docs": []
},
{
"name": "second",
"type": 127,
"typeName": "(V, S)",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 123,
"type": {
"path": [
"finality_grandpa",
"Prevote"
],
"params": [
{
"name": "H",
"type": 12
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "target_hash",
"type": 12,
"typeName": "H",
"docs": []
},
{
"name": "target_number",
"type": 4,
"typeName": "N",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 124,
"type": {
"path": [
"sp_consensus_grandpa",
"app",
"Signature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 125,
"typeName": "ed25519::Signature",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 125,
"type": {
"path": [
"sp_core",
"ed25519",
"Signature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 126,
"typeName": "[u8; 64]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 126,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 64,
"type": 2
}
},
"docs": []
}
},
{
"id": 127,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
123,
124
]
},
"docs": []
}
},
{
"id": 128,
"type": {
"path": [
"finality_grandpa",
"Equivocation"
],
"params": [
{
"name": "Id",
"type": 52
},
{
"name": "V",
"type": 129
},
{
"name": "S",
"type": 124
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "round_number",
"type": 11,
"typeName": "u64",
"docs": []
},
{
"name": "identity",
"type": 52,
"typeName": "Id",
"docs": []
},
{
"name": "first",
"type": 130,
"typeName": "(V, S)",
"docs": []
},
{
"name": "second",
"type": 130,
"typeName": "(V, S)",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 129,
"type": {
"path": [
"finality_grandpa",
"Precommit"
],
"params": [
{
"name": "H",
"type": 12
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "target_hash",
"type": 12,
"typeName": "H",
"docs": []
},
{
"name": "target_number",
"type": 4,
"typeName": "N",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 130,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
129,
124
]
},
"docs": []
}
},
{
"id": 131,
"type": {
"path": [
"pallet_im_online",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "heartbeat",
"fields": [
{
"name": "heartbeat",
"type": 132,
"typeName": "Heartbeat<T::BlockNumber>",
"docs": []
},
{
"name": "signature",
"type": 137,
"typeName": "<T::AuthorityId as RuntimeAppPublic>::Signature",
"docs": []
}
],
"index": 0,
"docs": [
"## Complexity:",
"- `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of",
" `heartbeat.network_state.external_address`",
" - `O(K)`: decoding of length `K`",
" - `O(E)`: decoding/encoding of length `E`"
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 132,
"type": {
"path": [
"pallet_im_online",
"Heartbeat"
],
"params": [
{
"name": "BlockNumber",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "block_number",
"type": 4,
"typeName": "BlockNumber",
"docs": []
},
{
"name": "network_state",
"type": 133,
"typeName": "OpaqueNetworkState",
"docs": []
},
{
"name": "session_index",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "authority_index",
"type": 4,
"typeName": "AuthIndex",
"docs": []
},
{
"name": "validators_len",
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 133,
"type": {
"path": [
"sp_core",
"offchain",
"OpaqueNetworkState"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "peer_id",
"type": 134,
"typeName": "OpaquePeerId",
"docs": []
},
{
"name": "external_addresses",
"type": 135,
"typeName": "Vec<OpaqueMultiaddr>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 134,
"type": {
"path": [
"sp_core",
"OpaquePeerId"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 135,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 136
},
"docs": []
}
},
{
"id": 136,
"type": {
"path": [
"sp_core",
"offchain",
"OpaqueMultiaddr"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 137,
"type": {
"path": [
"pallet_im_online",
"sr25519",
"app_sr25519",
"Signature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 138,
"typeName": "sr25519::Signature",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 138,
"type": {
"path": [
"sp_core",
"sr25519",
"Signature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 126,
"typeName": "[u8; 64]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 139,
"type": {
"path": [
"pallet_democracy",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "propose",
"fields": [
{
"name": "proposal",
"type": 78,
"typeName": "BoundedCallOf<T>",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Propose a sensitive action to be taken.",
"",
"The dispatch origin of this call must be _Signed_ and the sender must",
"have funds to cover the deposit.",
"",
"- `proposal_hash`: The hash of the proposal preimage.",
"- `value`: The amount of deposit (must be at least `MinimumDeposit`).",
"",
"Emits `Proposed`."
]
},
{
"name": "second",
"fields": [
{
"name": "proposal",
"type": 91,
"typeName": "PropIndex",
"docs": []
}
],
"index": 1,
"docs": [
"Signals agreement with a particular proposal.",
"",
"The dispatch origin of this call must be _Signed_ and the sender",
"must have funds to cover the deposit, equal to the original deposit.",
"",
"- `proposal`: The index of the proposal to second."
]
},
{
"name": "vote",
"fields": [
{
"name": "ref_index",
"type": 91,
"typeName": "ReferendumIndex",
"docs": []
},
{
"name": "vote",
"type": 65,
"typeName": "AccountVote<BalanceOf<T>>",
"docs": []
}
],
"index": 2,
"docs": [
"Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal;",
"otherwise it is a vote to keep the status quo.",
"",
"The dispatch origin of this call must be _Signed_.",
"",
"- `ref_index`: The index of the referendum to vote for.",
"- `vote`: The vote configuration."
]
},
{
"name": "emergency_cancel",
"fields": [
{
"name": "ref_index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 3,
"docs": [
"Schedule an emergency cancellation of a referendum. Cannot happen twice to the same",
"referendum.",
"",
"The dispatch origin of this call must be `CancellationOrigin`.",
"",
"-`ref_index`: The index of the referendum to cancel.",
"",
"Weight: `O(1)`."
]
},
{
"name": "external_propose",
"fields": [
{
"name": "proposal",
"type": 78,
"typeName": "BoundedCallOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"Schedule a referendum to be tabled once it is legal to schedule an external",
"referendum.",
"",
"The dispatch origin of this call must be `ExternalOrigin`.",
"",
"- `proposal_hash`: The preimage hash of the proposal."
]
},
{
"name": "external_propose_majority",
"fields": [
{
"name": "proposal",
"type": 78,
"typeName": "BoundedCallOf<T>",
"docs": []
}
],
"index": 5,
"docs": [
"Schedule a majority-carries referendum to be tabled next once it is legal to schedule",
"an external referendum.",
"",
"The dispatch of this call must be `ExternalMajorityOrigin`.",
"",
"- `proposal_hash`: The preimage hash of the proposal.",
"",
"Unlike `external_propose`, blacklisting has no effect on this and it may replace a",
"pre-scheduled `external_propose` call.",
"",
"Weight: `O(1)`"
]
},
{
"name": "external_propose_default",
"fields": [
{
"name": "proposal",
"type": 78,
"typeName": "BoundedCallOf<T>",
"docs": []
}
],
"index": 6,
"docs": [
"Schedule a negative-turnout-bias referendum to be tabled next once it is legal to",
"schedule an external referendum.",
"",
"The dispatch of this call must be `ExternalDefaultOrigin`.",
"",
"- `proposal_hash`: The preimage hash of the proposal.",
"",
"Unlike `external_propose`, blacklisting has no effect on this and it may replace a",
"pre-scheduled `external_propose` call.",
"",
"Weight: `O(1)`"
]
},
{
"name": "fast_track",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "H256",
"docs": []
},
{
"name": "voting_period",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 7,
"docs": [
"Schedule the currently externally-proposed majority-carries referendum to be tabled",
"immediately. If there is no externally-proposed referendum currently, or if there is one",
"but it is not a majority-carries referendum then it fails.",
"",
"The dispatch of this call must be `FastTrackOrigin`.",
"",
"- `proposal_hash`: The hash of the current external proposal.",
"- `voting_period`: The period that is allowed for voting on this proposal. Increased to",
"\tMust be always greater than zero.",
"\tFor `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`.",
"- `delay`: The number of block after voting has ended in approval and this should be",
" enacted. This doesn't have a minimum amount.",
"",
"Emits `Started`.",
"",
"Weight: `O(1)`"
]
},
{
"name": "veto_external",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "H256",
"docs": []
}
],
"index": 8,
"docs": [
"Veto and blacklist the external proposal hash.",
"",
"The dispatch origin of this call must be `VetoOrigin`.",
"",
"- `proposal_hash`: The preimage hash of the proposal to veto and blacklist.",
"",
"Emits `Vetoed`.",
"",
"Weight: `O(V + log(V))` where V is number of `existing vetoers`"
]
},
{
"name": "cancel_referendum",
"fields": [
{
"name": "ref_index",
"type": 91,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 9,
"docs": [
"Remove a referendum.",
"",
"The dispatch origin of this call must be _Root_.",
"",
"- `ref_index`: The index of the referendum to cancel.",
"",
"# Weight: `O(1)`."
]
},
{
"name": "delegate",
"fields": [
{
"name": "to",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "conviction",
"type": 140,
"typeName": "Conviction",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 10,
"docs": [
"Delegate the voting power (with some given conviction) of the sending account.",
"",
"The balance delegated is locked for as long as it's delegated, and thereafter for the",
"time appropriate for the conviction's lock period.",
"",
"The dispatch origin of this call must be _Signed_, and the signing account must either:",
" - be delegating already; or",
" - have no voting activity (if there is, then it will need to be removed/consolidated",
" through `reap_vote` or `unvote`).",
"",
"- `to`: The account whose voting the `target` account's voting power will follow.",
"- `conviction`: The conviction that will be attached to the delegated votes. When the",
" account is undelegated, the funds will be locked for the corresponding period.",
"- `balance`: The amount of the account's balance to be used in delegating. This must not",
" be more than the account's current balance.",
"",
"Emits `Delegated`.",
"",
"Weight: `O(R)` where R is the number of referendums the voter delegating to has",
" voted on. Weight is charged as if maximum votes."
]
},
{
"name": "undelegate",
"fields": [],
"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": [],
"index": 12,
"docs": [
"Clears all public proposals.",
"",
"The dispatch origin of this call must be _Root_.",
"",
"Weight: `O(1)`."
]
},
{
"name": "unlock",
"fields": [
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 13,
"docs": [
"Unlock tokens that have an expired lock.",
"",
"The dispatch origin of this call must be _Signed_.",
"",
"- `target`: The account to remove the lock on.",
"",
"Weight: `O(R)` with R number of vote of target."
]
},
{
"name": "remove_vote",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 14,
"docs": [
"Remove a vote for a referendum.",
"",
"If:",
"- the referendum was cancelled, or",
"- the referendum is ongoing, or",
"- the referendum has ended such that",
" - the vote of the account was in opposition to the result; or",
" - there was no conviction to the account's vote; or",
" - the account made a split vote",
"...then the vote is removed cleanly and a following call to `unlock` may result in more",
"funds being available.",
"",
"If, however, the referendum has ended and:",
"- it finished corresponding to the vote of the account, and",
"- the account made a standard vote with conviction, and",
"- the lock period of the conviction is not over",
"...then the lock will be aggregated into the overall account's lock, which may involve",
"*overlocking* (where the two locks are combined into a single lock that is the maximum",
"of both the amount locked and the time is it locked for).",
"",
"The dispatch origin of this call must be _Signed_, and the signer must have a vote",
"registered for referendum `index`.",
"",
"- `index`: The index of referendum of the vote to be removed.",
"",
"Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.",
" Weight is calculated for the maximum number of vote."
]
},
{
"name": "remove_other_vote",
"fields": [
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 15,
"docs": [
"Remove a vote for a referendum.",
"",
"If the `target` is equal to the signer, then this function is exactly equivalent to",
"`remove_vote`. If not equal to the signer, then the vote must have expired,",
"either because the referendum was cancelled, because the voter lost the referendum or",
"because the conviction period is over.",
"",
"The dispatch origin of this call must be _Signed_.",
"",
"- `target`: The account of the vote to be removed; this account must have voted for",
" referendum `index`.",
"- `index`: The index of referendum of the vote to be removed.",
"",
"Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.",
" Weight is calculated for the maximum number of vote."
]
},
{
"name": "blacklist",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "H256",
"docs": []
},
{
"name": "maybe_ref_index",
"type": 141,
"typeName": "Option<ReferendumIndex>",
"docs": []
}
],
"index": 16,
"docs": [
"Permanently place a proposal into the blacklist. This prevents it from ever being",
"proposed again.",
"",
"If called on a queued public or external proposal, then this will result in it being",
"removed. If the `ref_index` supplied is an active referendum with the proposal hash,",
"then it will be cancelled.",
"",
"The dispatch origin of this call must be `BlacklistOrigin`.",
"",
"- `proposal_hash`: The proposal hash to blacklist permanently.",
"- `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be",
"cancelled.",
"",
"Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a",
" reasonable value)."
]
},
{
"name": "cancel_proposal",
"fields": [
{
"name": "prop_index",
"type": 91,
"typeName": "PropIndex",
"docs": []
}
],
"index": 17,
"docs": [
"Remove a proposal.",
"",
"The dispatch origin of this call must be `CancelProposalOrigin`.",
"",
"- `prop_index`: The index of the proposal to cancel.",
"",
"Weight: `O(p)` where `p = PublicProps::<T>::decode_len()`"
]
},
{
"name": "set_metadata",
"fields": [
{
"name": "owner",
"type": 67,
"typeName": "MetadataOwner",
"docs": []
},
{
"name": "maybe_hash",
"type": 142,
"typeName": "Option<PreimageHash>",
"docs": []
}
],
"index": 18,
"docs": [
"Set or clear a metadata of a proposal or a referendum.",
"",
"Parameters:",
"- `origin`: Must correspond to the `MetadataOwner`.",
" - `ExternalOrigin` for an external proposal with the `SuperMajorityApprove`",
" threshold.",
" - `ExternalDefaultOrigin` for an external proposal with the `SuperMajorityAgainst`",
" threshold.",
" - `ExternalMajorityOrigin` for an external proposal with the `SimpleMajority`",
" threshold.",
" - `Signed` by a creator for a public proposal.",
" - `Signed` to clear a metadata for a finished referendum.",
" - `Root` to set a metadata for an ongoing referendum.",
"- `owner`: an identifier of a metadata owner.",
"- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 140,
"type": {
"path": [
"pallet_democracy",
"conviction",
"Conviction"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Locked1x",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Locked2x",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Locked3x",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "Locked4x",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "Locked5x",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "Locked6x",
"fields": [],
"index": 6,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 141,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 4,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 142,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 12
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 12,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 143,
"type": {
"path": [
"pallet_collective",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "set_members",
"fields": [
{
"name": "new_members",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "prime",
"type": 144,
"typeName": "Option<T::AccountId>",
"docs": []
},
{
"name": "old_count",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 0,
"docs": [
"Set the collective's membership.",
"",
"- `new_members`: The new member list. Be nice to the chain and provide it sorted.",
"- `prime`: The prime member whose vote sets the default.",
"- `old_count`: The upper bound for the previous number of members in storage. Used for",
" weight estimation.",
"",
"The dispatch of this call must be `SetMembersOrigin`.",
"",
"NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but",
" the weight estimations rely on it to estimate dispatchable weight.",
"",
"# WARNING:",
"",
"The `pallet-collective` can also be managed by logic outside of the pallet through the",
"implementation of the trait [`ChangeMembers`].",
"Any call to `set_members` must be careful that the member set doesn't get out of sync",
"with other logic managing the member set.",
"",
"## Complexity:",
"- `O(MP + N)` where:",
" - `M` old-members-count (code- and governance-bounded)",
" - `N` new-members-count (code- and governance-bounded)",
" - `P` proposals-count (code-bounded)"
]
},
{
"name": "execute",
"fields": [
{
"name": "proposal",
"type": 79,
"typeName": "Box<<T as Config<I>>::Proposal>",
"docs": []
},
{
"name": "length_bound",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": [
"Dispatch a proposal from a member using the `Member` origin.",
"",
"Origin must be a member of the collective.",
"",
"## Complexity:",
"- `O(B + M + P)` where:",
"- `B` is `proposal` size in bytes (length-fee-bounded)",
"- `M` members-count (code-bounded)",
"- `P` complexity of dispatching `proposal`"
]
},
{
"name": "propose",
"fields": [
{
"name": "threshold",
"type": 91,
"typeName": "MemberCount",
"docs": []
},
{
"name": "proposal",
"type": 79,
"typeName": "Box<<T as Config<I>>::Proposal>",
"docs": []
},
{
"name": "length_bound",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": [
"Add a new proposal to either be voted on or executed directly.",
"",
"Requires the sender to be member.",
"",
"`threshold` determines whether `proposal` is executed directly (`threshold < 2`)",
"or put up for voting.",
"",
"## Complexity",
"- `O(B + M + P1)` or `O(B + M + P2)` where:",
" - `B` is `proposal` size in bytes (length-fee-bounded)",
" - `M` is members-count (code- and governance-bounded)",
" - branching is influenced by `threshold` where:",
" - `P1` is proposal execution complexity (`threshold < 2`)",
" - `P2` is proposals-count (code-bounded) (`threshold >= 2`)"
]
},
{
"name": "vote",
"fields": [
{
"name": "proposal",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "index",
"type": 91,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "approve",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 3,
"docs": [
"Add an aye or nay vote for the sender to the given proposal.",
"",
"Requires the sender to be a member.",
"",
"Transaction fees will be waived if the member is voting on any particular proposal",
"for the first time and the call is successful. Subsequent vote changes will charge a",
"fee.",
"## Complexity",
"- `O(M)` where `M` is members-count (code- and governance-bounded)"
]
},
{
"name": "disapprove_proposal",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 5,
"docs": [
"Disapprove a proposal, close, and remove it from the system, regardless of its current",
"state.",
"",
"Must be called by the Root origin.",
"",
"Parameters:",
"* `proposal_hash`: The hash of the proposal that should be disapproved.",
"",
"## Complexity",
"O(P) where P is the number of max proposals"
]
},
{
"name": "close",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "index",
"type": 91,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "proposal_weight_bound",
"type": 9,
"typeName": "Weight",
"docs": []
},
{
"name": "length_bound",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"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::<u32>() == 4` larger than the pure length.",
"",
"## Complexity",
"- `O(B + M + P1 + P2)` where:",
" - `B` is `proposal` size in bytes (length-fee-bounded)",
" - `M` is members-count (code- and governance-bounded)",
" - `P1` is the complexity of `proposal` preimage.",
" - `P2` is proposal-count (code-bounded)"
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 144,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 0
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 0,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 145,
"type": {
"path": [
"pallet_collective",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "set_members",
"fields": [
{
"name": "new_members",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "prime",
"type": 144,
"typeName": "Option<T::AccountId>",
"docs": []
},
{
"name": "old_count",
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 0,
"docs": [
"Set the collective's membership.",
"",
"- `new_members`: The new member list. Be nice to the chain and provide it sorted.",
"- `prime`: The prime member whose vote sets the default.",
"- `old_count`: The upper bound for the previous number of members in storage. Used for",
" weight estimation.",
"",
"The dispatch of this call must be `SetMembersOrigin`.",
"",
"NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but",
" the weight estimations rely on it to estimate dispatchable weight.",
"",
"# WARNING:",
"",
"The `pallet-collective` can also be managed by logic outside of the pallet through the",
"implementation of the trait [`ChangeMembers`].",
"Any call to `set_members` must be careful that the member set doesn't get out of sync",
"with other logic managing the member set.",
"",
"## Complexity:",
"- `O(MP + N)` where:",
" - `M` old-members-count (code- and governance-bounded)",
" - `N` new-members-count (code- and governance-bounded)",
" - `P` proposals-count (code-bounded)"
]
},
{
"name": "execute",
"fields": [
{
"name": "proposal",
"type": 79,
"typeName": "Box<<T as Config<I>>::Proposal>",
"docs": []
},
{
"name": "length_bound",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": [
"Dispatch a proposal from a member using the `Member` origin.",
"",
"Origin must be a member of the collective.",
"",
"## Complexity:",
"- `O(B + M + P)` where:",
"- `B` is `proposal` size in bytes (length-fee-bounded)",
"- `M` members-count (code-bounded)",
"- `P` complexity of dispatching `proposal`"
]
},
{
"name": "propose",
"fields": [
{
"name": "threshold",
"type": 91,
"typeName": "MemberCount",
"docs": []
},
{
"name": "proposal",
"type": 79,
"typeName": "Box<<T as Config<I>>::Proposal>",
"docs": []
},
{
"name": "length_bound",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": [
"Add a new proposal to either be voted on or executed directly.",
"",
"Requires the sender to be member.",
"",
"`threshold` determines whether `proposal` is executed directly (`threshold < 2`)",
"or put up for voting.",
"",
"## Complexity",
"- `O(B + M + P1)` or `O(B + M + P2)` where:",
" - `B` is `proposal` size in bytes (length-fee-bounded)",
" - `M` is members-count (code- and governance-bounded)",
" - branching is influenced by `threshold` where:",
" - `P1` is proposal execution complexity (`threshold < 2`)",
" - `P2` is proposals-count (code-bounded) (`threshold >= 2`)"
]
},
{
"name": "vote",
"fields": [
{
"name": "proposal",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "index",
"type": 91,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "approve",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 3,
"docs": [
"Add an aye or nay vote for the sender to the given proposal.",
"",
"Requires the sender to be a member.",
"",
"Transaction fees will be waived if the member is voting on any particular proposal",
"for the first time and the call is successful. Subsequent vote changes will charge a",
"fee.",
"## Complexity",
"- `O(M)` where `M` is members-count (code- and governance-bounded)"
]
},
{
"name": "disapprove_proposal",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 5,
"docs": [
"Disapprove a proposal, close, and remove it from the system, regardless of its current",
"state.",
"",
"Must be called by the Root origin.",
"",
"Parameters:",
"* `proposal_hash`: The hash of the proposal that should be disapproved.",
"",
"## Complexity",
"O(P) where P is the number of max proposals"
]
},
{
"name": "close",
"fields": [
{
"name": "proposal_hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "index",
"type": 91,
"typeName": "ProposalIndex",
"docs": []
},
{
"name": "proposal_weight_bound",
"type": 9,
"typeName": "Weight",
"docs": []
},
{
"name": "length_bound",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"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::<u32>() == 4` larger than the pure length.",
"",
"## Complexity",
"- `O(B + M + P1 + P2)` where:",
" - `B` is `proposal` size in bytes (length-fee-bounded)",
" - `M` is members-count (code- and governance-bounded)",
" - `P1` is the complexity of `proposal` preimage.",
" - `P2` is proposal-count (code-bounded)"
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 146,
"type": {
"path": [
"pallet_elections_phragmen",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "vote",
"fields": [
{
"name": "votes",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Vote for a set of candidates for the upcoming round of election. This can be called to",
"set the initial votes, or update already existing votes.",
"",
"Upon initial voting, `value` units of `who`'s balance is locked and a deposit amount is",
"reserved. The deposit is based on the number of votes and can be updated over time.",
"",
"The `votes` should:",
" - not be empty.",
" - be less than the number of possible candidates. Note that all current members and",
" runners-up are also automatically candidates for the next round.",
"",
"If `value` is more than `who`'s free balance, then the maximum of the two is used.",
"",
"The dispatch origin of this call must be signed.",
"",
"### Warning",
"",
"It is the responsibility of the caller to **NOT** place all of their balance into the",
"lock and keep some for further operations."
]
},
{
"name": "remove_voter",
"fields": [],
"index": 1,
"docs": [
"Remove `origin` as a voter.",
"",
"This removes the lock and returns the deposit.",
"",
"The dispatch origin of this call must be signed and be a voter."
]
},
{
"name": "submit_candidacy",
"fields": [
{
"name": "candidate_count",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": [
"Submit oneself for candidacy. A fixed amount of deposit is recorded.",
"",
"All candidates are wiped at the end of the term. They either become a member/runner-up,",
"or leave the system while their deposit is slashed.",
"",
"The dispatch origin of this call must be signed.",
"",
"### Warning",
"",
"Even if a candidate ends up being a member, they must call [`Call::renounce_candidacy`]",
"to get their deposit back. Losing the spot in an election will always lead to a slash.",
"",
"The number of current candidates must be provided as witness data.",
"## Complexity",
"O(C + log(C)) where C is candidate_count."
]
},
{
"name": "renounce_candidacy",
"fields": [
{
"name": "renouncing",
"type": 147,
"typeName": "Renouncing",
"docs": []
}
],
"index": 3,
"docs": [
"Renounce one's intention to be a candidate for the next election round. 3 potential",
"outcomes exist:",
"",
"- `origin` is a candidate and not elected in any set. In this case, the deposit is",
" unreserved, returned and origin is removed as a candidate.",
"- `origin` is a current runner-up. In this case, the deposit is unreserved, returned and",
" origin is removed as a runner-up.",
"- `origin` is a current member. In this case, the deposit is unreserved and origin is",
" removed as a member, consequently not being a candidate for the next round anymore.",
" Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they",
" are immediately used. If the prime is renouncing, then no prime will exist until the",
" next round.",
"",
"The dispatch origin of this call must be signed, and have one of the above roles.",
"The type of renouncing must be provided as witness data.",
"",
"## Complexity",
" - Renouncing::Candidate(count): O(count + log(count))",
" - Renouncing::Member: O(1)",
" - Renouncing::RunnerUp: O(1)"
]
},
{
"name": "remove_member",
"fields": [
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "slash_bond",
"type": 44,
"typeName": "bool",
"docs": []
},
{
"name": "rerun_election",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 4,
"docs": [
"Remove a particular member from the set. This is effective immediately and the bond of",
"the outgoing member is slashed.",
"",
"If a runner-up is available, then the best runner-up will be removed and replaces the",
"outgoing member. Otherwise, if `rerun_election` is `true`, a new phragmen election is",
"started, else, nothing happens.",
"",
"If `slash_bond` is set to true, the bond of the member being removed is slashed. Else,",
"it is returned.",
"",
"The dispatch origin of this call must be root.",
"",
"Note that this does not affect the designated block number of the next election.",
"",
"## Complexity",
"- Check details of remove_and_replace_member() and do_phragmen()."
]
},
{
"name": "clean_defunct_voters",
"fields": [
{
"name": "num_voters",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "num_defunct",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 5,
"docs": [
"Clean all voters who are defunct (i.e. they do not serve any purpose at all). The",
"deposit of the removed voters are returned.",
"",
"This is an root function to be used only for cleaning the state.",
"",
"The dispatch origin of this call must be root.",
"",
"## Complexity",
"- Check is_defunct_voter() details."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 147,
"type": {
"path": [
"pallet_elections_phragmen",
"Renouncing"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Member",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "RunnerUp",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Candidate",
"fields": [
{
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 148,
"type": {
"path": [
"pallet_membership",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "add_member",
"fields": [
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Add a member `who` to the set.",
"",
"May only be called from `T::AddOrigin`."
]
},
{
"name": "remove_member",
"fields": [
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"Remove a member `who` from the set.",
"",
"May only be called from `T::RemoveOrigin`."
]
},
{
"name": "swap_member",
"fields": [
{
"name": "remove",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "add",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 2,
"docs": [
"Swap out one member `remove` for another `add`.",
"",
"May only be called from `T::SwapOrigin`.",
"",
"Prime membership is *not* passed from `remove` to `add`, if extant."
]
},
{
"name": "reset_members",
"fields": [
{
"name": "members",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
}
],
"index": 3,
"docs": [
"Change the membership to a new set, disregarding the existing membership. Be nice and",
"pass `members` pre-sorted.",
"",
"May only be called from `T::ResetOrigin`."
]
},
{
"name": "change_key",
"fields": [
{
"name": "new",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"Swap out the sending member for some other key `new`.",
"",
"May only be called from `Signed` origin of a current member.",
"",
"Prime membership is passed from the origin account to `new`, if extant."
]
},
{
"name": "set_prime",
"fields": [
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 5,
"docs": [
"Set the prime member. Must be a current member.",
"",
"May only be called from `T::PrimeOrigin`."
]
},
{
"name": "clear_prime",
"fields": [],
"index": 6,
"docs": [
"Remove the prime member if it exists.",
"",
"May only be called from `T::PrimeOrigin`."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 149,
"type": {
"path": [
"pallet_treasury",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "propose_spend",
"fields": [
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "beneficiary",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Put forward a suggestion for spending. A deposit proportional to the value",
"is reserved and slashed if the proposal is rejected. It is returned once the",
"proposal is awarded.",
"",
"## Complexity",
"- O(1)"
]
},
{
"name": "reject_proposal",
"fields": [
{
"name": "proposal_id",
"type": 91,
"typeName": "ProposalIndex",
"docs": []
}
],
"index": 1,
"docs": [
"Reject a proposed spend. The original deposit will be slashed.",
"",
"May only be called from `T::RejectOrigin`.",
"",
"## Complexity",
"- O(1)"
]
},
{
"name": "approve_proposal",
"fields": [
{
"name": "proposal_id",
"type": 91,
"typeName": "ProposalIndex",
"docs": []
}
],
"index": 2,
"docs": [
"Approve a proposal. At a later time, the proposal will be allocated to the beneficiary",
"and the original deposit will be returned.",
"",
"May only be called from `T::ApproveOrigin`.",
"",
"## Complexity",
" - O(1)."
]
},
{
"name": "spend",
"fields": [
{
"name": "amount",
"type": 60,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "beneficiary",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 3,
"docs": [
"Propose and approve a spend of treasury funds.",
"",
"- `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.",
"- `amount`: The amount to be transferred from the treasury to the `beneficiary`.",
"- `beneficiary`: The destination account for the transfer.",
"",
"NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the",
"beneficiary."
]
},
{
"name": "remove_approval",
"fields": [
{
"name": "proposal_id",
"type": 91,
"typeName": "ProposalIndex",
"docs": []
}
],
"index": 4,
"docs": [
"Force a previously approved proposal to be removed from the approval queue.",
"The original deposit will no longer be returned.",
"",
"May only be called from `T::RejectOrigin`.",
"- `proposal_id`: The index of a proposal",
"",
"## Complexity",
"- O(A) where `A` is the number of approvals",
"",
"Errors:",
"- `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,",
"i.e., the proposal has not been approved. This could also mean the proposal does not",
"exist altogether, thus there is no way it would have been approved in the first place."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 150,
"type": {
"path": [
"pallet_conviction_voting",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "vote",
"fields": [
{
"name": "poll_index",
"type": 91,
"typeName": "PollIndexOf<T, I>",
"docs": []
},
{
"name": "vote",
"type": 151,
"typeName": "AccountVote<BalanceOf<T, I>>",
"docs": []
}
],
"index": 0,
"docs": [
"Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;",
"otherwise it is a vote to keep the status quo.",
"",
"The dispatch origin of this call must be _Signed_.",
"",
"- `poll_index`: The index of the poll to vote for.",
"- `vote`: The vote configuration.",
"",
"Weight: `O(R)` where R is the number of polls the voter has voted on."
]
},
{
"name": "delegate",
"fields": [
{
"name": "class",
"type": 77,
"typeName": "ClassOf<T, I>",
"docs": []
},
{
"name": "to",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "conviction",
"type": 153,
"typeName": "Conviction",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 1,
"docs": [
"Delegate the voting power (with some given conviction) of the sending account for a",
"particular class of polls.",
"",
"The balance delegated is locked for as long as it's delegated, and thereafter for the",
"time appropriate for the conviction's lock period.",
"",
"The dispatch origin of this call must be _Signed_, and the signing account must either:",
" - be delegating already; or",
" - have no voting activity (if there is, then it will need to be removed/consolidated",
" through `reap_vote` or `unvote`).",
"",
"- `to`: The account whose voting the `target` account's voting power will follow.",
"- `class`: The class of polls to delegate. To delegate multiple classes, multiple calls",
" to this function are required.",
"- `conviction`: The conviction that will be attached to the delegated votes. When the",
" account is undelegated, the funds will be locked for the corresponding period.",
"- `balance`: The amount of the account's balance to be used in delegating. This must not",
" be more than the account's current balance.",
"",
"Emits `Delegated`.",
"",
"Weight: `O(R)` where R is the number of polls the voter delegating to has",
" voted on. Weight is initially charged as if maximum votes, but is refunded later."
]
},
{
"name": "undelegate",
"fields": [
{
"name": "class",
"type": 77,
"typeName": "ClassOf<T, I>",
"docs": []
}
],
"index": 2,
"docs": [
"Undelegate the voting power of the sending account for a particular class of polls.",
"",
"Tokens may be unlocked following once an amount of time consistent with the lock period",
"of the conviction with which the delegation was issued has passed.",
"",
"The dispatch origin of this call must be _Signed_ and the signing account must be",
"currently delegating.",
"",
"- `class`: The class of polls to remove the delegation from.",
"",
"Emits `Undelegated`.",
"",
"Weight: `O(R)` where R is the number of polls the voter delegating to has",
" voted on. Weight is initially charged as if maximum votes, but is refunded later."
]
},
{
"name": "unlock",
"fields": [
{
"name": "class",
"type": 77,
"typeName": "ClassOf<T, I>",
"docs": []
},
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 3,
"docs": [
"Remove the lock caused by prior voting/delegating which has expired within a particular",
"class.",
"",
"The dispatch origin of this call must be _Signed_.",
"",
"- `class`: The class of polls to unlock.",
"- `target`: The account to remove the lock on.",
"",
"Weight: `O(R)` with R number of vote of target."
]
},
{
"name": "remove_vote",
"fields": [
{
"name": "class",
"type": 154,
"typeName": "Option<ClassOf<T, I>>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "PollIndexOf<T, I>",
"docs": []
}
],
"index": 4,
"docs": [
"Remove a vote for a poll.",
"",
"If:",
"- the poll was cancelled, or",
"- the poll is ongoing, or",
"- the poll has ended such that",
" - the vote of the account was in opposition to the result; or",
" - there was no conviction to the account's vote; or",
" - the account made a split vote",
"...then the vote is removed cleanly and a following call to `unlock` may result in more",
"funds being available.",
"",
"If, however, the poll has ended and:",
"- it finished corresponding to the vote of the account, and",
"- the account made a standard vote with conviction, and",
"- the lock period of the conviction is not over",
"...then the lock will be aggregated into the overall account's lock, which may involve",
"*overlocking* (where the two locks are combined into a single lock that is the maximum",
"of both the amount locked and the time is it locked for).",
"",
"The dispatch origin of this call must be _Signed_, and the signer must have a vote",
"registered for poll `index`.",
"",
"- `index`: The index of poll of the vote to be removed.",
"- `class`: Optional parameter, if given it indicates the class of the poll. For polls",
" which have finished or are cancelled, this must be `Some`.",
"",
"Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.",
" Weight is calculated for the maximum number of vote."
]
},
{
"name": "remove_other_vote",
"fields": [
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "class",
"type": 77,
"typeName": "ClassOf<T, I>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "PollIndexOf<T, I>",
"docs": []
}
],
"index": 5,
"docs": [
"Remove a vote for a poll.",
"",
"If the `target` is equal to the signer, then this function is exactly equivalent to",
"`remove_vote`. If not equal to the signer, then the vote must have expired,",
"either because the poll was cancelled, because the voter lost the poll or",
"because the conviction period is over.",
"",
"The dispatch origin of this call must be _Signed_.",
"",
"- `target`: The account of the vote to be removed; this account must have voted for poll",
" `index`.",
"- `index`: The index of poll of the vote to be removed.",
"- `class`: The class of the poll.",
"",
"Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.",
" Weight is calculated for the maximum number of vote."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 151,
"type": {
"path": [
"pallet_conviction_voting",
"vote",
"AccountVote"
],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Standard",
"fields": [
{
"name": "vote",
"type": 152,
"typeName": "Vote",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Split",
"fields": [
{
"name": "aye",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "nay",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "SplitAbstain",
"fields": [
{
"name": "aye",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "nay",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "abstain",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 152,
"type": {
"path": [
"pallet_conviction_voting",
"vote",
"Vote"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 153,
"type": {
"path": [
"pallet_conviction_voting",
"conviction",
"Conviction"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Locked1x",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Locked2x",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Locked3x",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "Locked4x",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "Locked5x",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "Locked6x",
"fields": [],
"index": 6,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 154,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 77
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 77,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 155,
"type": {
"path": [
"pallet_referenda",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "submit",
"fields": [
{
"name": "proposal_origin",
"type": 156,
"typeName": "Box<PalletsOriginOf<T>>",
"docs": []
},
{
"name": "proposal",
"type": 78,
"typeName": "BoundedCallOf<T, I>",
"docs": []
},
{
"name": "enactment_moment",
"type": 172,
"typeName": "DispatchTime<T::BlockNumber>",
"docs": []
}
],
"index": 0,
"docs": [
"Propose a referendum on a privileged action.",
"",
"- `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds",
" available.",
"- `proposal_origin`: The origin from which the proposal should be executed.",
"- `proposal`: The proposal.",
"- `enactment_moment`: The moment that the proposal should be enacted.",
"",
"Emits `Submitted`."
]
},
{
"name": "place_decision_deposit",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 1,
"docs": [
"Post the Decision Deposit for a referendum.",
"",
"- `origin`: must be `Signed` and the account must have funds available for the",
" referendum's track's Decision Deposit.",
"- `index`: The index of the submitted referendum whose Decision Deposit is yet to be",
" posted.",
"",
"Emits `DecisionDepositPlaced`."
]
},
{
"name": "refund_decision_deposit",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 2,
"docs": [
"Refund the Decision Deposit for a closed referendum back to the depositor.",
"",
"- `origin`: must be `Signed` or `Root`.",
"- `index`: The index of a closed referendum whose Decision Deposit has not yet been",
" refunded.",
"",
"Emits `DecisionDepositRefunded`."
]
},
{
"name": "cancel",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 3,
"docs": [
"Cancel an ongoing referendum.",
"",
"- `origin`: must be the `CancelOrigin`.",
"- `index`: The index of the referendum to be cancelled.",
"",
"Emits `Cancelled`."
]
},
{
"name": "kill",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 4,
"docs": [
"Cancel an ongoing referendum and slash the deposits.",
"",
"- `origin`: must be the `KillOrigin`.",
"- `index`: The index of the referendum to be cancelled.",
"",
"Emits `Killed` and `DepositSlashed`."
]
},
{
"name": "nudge_referendum",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
}
],
"index": 5,
"docs": [
"Advance a referendum onto its next logical state. Only used internally.",
"",
"- `origin`: must be `Root`.",
"- `index`: the referendum to be advanced."
]
},
{
"name": "one_fewer_deciding",
"fields": [
{
"name": "track",
"type": 77,
"typeName": "TrackIdOf<T, I>",
"docs": []
}
],
"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": []
}
],
"index": 7,
"docs": [
"Refund the Submission Deposit for a closed referendum back to the depositor.",
"",
"- `origin`: must be `Signed` or `Root`.",
"- `index`: The index of a closed referendum whose Submission Deposit has not yet been",
" refunded.",
"",
"Emits `SubmissionDepositRefunded`."
]
},
{
"name": "set_metadata",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": []
},
{
"name": "maybe_hash",
"type": 142,
"typeName": "Option<PreimageHash>",
"docs": []
}
],
"index": 8,
"docs": [
"Set or clear metadata of a referendum.",
"",
"Parameters:",
"- `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a",
" metadata of a finished referendum.",
"- `index`: The index of a referendum to set or clear metadata for.",
"- `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 156,
"type": {
"path": [
"polkadot_runtime",
"OriginCaller"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "system",
"fields": [
{
"type": 157,
"typeName": "frame_system::Origin<Runtime>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Council",
"fields": [
{
"type": 158,
"typeName": "pallet_collective::Origin<Runtime, pallet_collective::Instance1>",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "TechnicalCommittee",
"fields": [
{
"type": 159,
"typeName": "pallet_collective::Origin<Runtime, pallet_collective::Instance2>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "Origins",
"fields": [
{
"type": 160,
"typeName": "pallet_custom_origins::Origin",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ParachainsOrigin",
"fields": [
{
"type": 161,
"typeName": "parachains_origin::Origin",
"docs": []
}
],
"index": 50,
"docs": []
},
{
"name": "XcmPallet",
"fields": [
{
"type": 163,
"typeName": "pallet_xcm::Origin",
"docs": []
}
],
"index": 99,
"docs": []
},
{
"name": "Void",
"fields": [
{
"type": 171,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::Void",
"docs": []
}
],
"index": 6,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 157,
"type": {
"path": [
"frame_support",
"dispatch",
"RawOrigin"
],
"params": [
{
"name": "AccountId",
"type": 0
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Root",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Signed",
"fields": [
{
"type": 0,
"typeName": "AccountId",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "None",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 158,
"type": {
"path": [
"pallet_collective",
"RawOrigin"
],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Members",
"fields": [
{
"type": 4,
"typeName": "MemberCount",
"docs": []
},
{
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Member",
"fields": [
{
"type": 0,
"typeName": "AccountId",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "_Phantom",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 159,
"type": {
"path": [
"pallet_collective",
"RawOrigin"
],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Members",
"fields": [
{
"type": 4,
"typeName": "MemberCount",
"docs": []
},
{
"type": 4,
"typeName": "MemberCount",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Member",
"fields": [
{
"type": 0,
"typeName": "AccountId",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "_Phantom",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 160,
"type": {
"path": [
"polkadot_runtime",
"governance",
"origins",
"pallet_custom_origins",
"Origin"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "StakingAdmin",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Treasurer",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "FellowshipAdmin",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "GeneralAdmin",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "AuctionAdmin",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "LeaseAdmin",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "ReferendumCanceller",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "ReferendumKiller",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "SmallTipper",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "BigTipper",
"fields": [],
"index": 9,
"docs": []
},
{
"name": "SmallSpender",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "MediumSpender",
"fields": [],
"index": 11,
"docs": []
},
{
"name": "BigSpender",
"fields": [],
"index": 12,
"docs": []
},
{
"name": "WhitelistedCaller",
"fields": [],
"index": 13,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 161,
"type": {
"path": [
"polkadot_runtime_parachains",
"origin",
"pallet",
"Origin"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Parachain",
"fields": [
{
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 162,
"type": {
"path": [
"polkadot_parachain",
"primitives",
"Id"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 163,
"type": {
"path": [
"pallet_xcm",
"pallet",
"Origin"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Xcm",
"fields": [
{
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Response",
"fields": [
{
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 164,
"type": {
"path": [
"xcm",
"v3",
"multilocation",
"MultiLocation"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "parents",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "interior",
"type": 165,
"typeName": "Junctions",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 165,
"type": {
"path": [
"xcm",
"v3",
"junctions",
"Junctions"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Here",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "X1",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "X2",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "X3",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "X4",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "X5",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "X6",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "X7",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "X8",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
},
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 8,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 166,
"type": {
"path": [
"xcm",
"v3",
"junction",
"Junction"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Parachain",
"fields": [
{
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "AccountId32",
"fields": [
{
"name": "network",
"type": 167,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "id",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AccountIndex64",
"fields": [
{
"name": "network",
"type": 167,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "index",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AccountKey20",
"fields": [
{
"name": "network",
"type": 167,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "key",
"type": 102,
"typeName": "[u8; 20]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletInstance",
"fields": [
{
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "GeneralIndex",
"fields": [
{
"type": 60,
"typeName": "u128",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "GeneralKey",
"fields": [
{
"name": "length",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "data",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "OnlyChild",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "Plurality",
"fields": [
{
"name": "id",
"type": 169,
"typeName": "BodyId",
"docs": []
},
{
"name": "part",
"type": 170,
"typeName": "BodyPart",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "GlobalConsensus",
"fields": [
{
"type": 168,
"typeName": "NetworkId",
"docs": []
}
],
"index": 9,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 167,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 168
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 168,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 168,
"type": {
"path": [
"xcm",
"v3",
"junction",
"NetworkId"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "ByGenesis",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ByFork",
"fields": [
{
"name": "block_number",
"type": 11,
"typeName": "u64",
"docs": []
},
{
"name": "block_hash",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Polkadot",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Kusama",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "Westend",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "Rococo",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "Wococo",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "Ethereum",
"fields": [
{
"name": "chain_id",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "BitcoinCore",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "BitcoinCash",
"fields": [],
"index": 9,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 169,
"type": {
"path": [
"xcm",
"v3",
"junction",
"BodyId"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unit",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Moniker",
"fields": [
{
"type": 17,
"typeName": "[u8; 4]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Executive",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "Technical",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "Legislative",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "Judicial",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "Defense",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "Administration",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "Treasury",
"fields": [],
"index": 9,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 170,
"type": {
"path": [
"xcm",
"v3",
"junction",
"BodyPart"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Voice",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Members",
"fields": [
{
"name": "count",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Fraction",
"fields": [
{
"name": "nom",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AtLeastProportion",
"fields": [
{
"name": "nom",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "MoreThanProportion",
"fields": [
{
"name": "nom",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 171,
"type": {
"path": [
"sp_core",
"Void"
],
"params": [],
"def": {
"tag": "variant",
"value": []
},
"docs": []
}
},
{
"id": 172,
"type": {
"path": [
"frame_support",
"traits",
"schedule",
"DispatchTime"
],
"params": [
{
"name": "BlockNumber",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "At",
"fields": [
{
"type": 4,
"typeName": "BlockNumber",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "After",
"fields": [
{
"type": 4,
"typeName": "BlockNumber",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 173,
"type": {
"path": [
"pallet_whitelist",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "whitelist_call",
"fields": [
{
"name": "call_hash",
"type": 12,
"typeName": "PreimageHash",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "remove_whitelisted_call",
"fields": [
{
"name": "call_hash",
"type": 12,
"typeName": "PreimageHash",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "dispatch_whitelisted_call",
"fields": [
{
"name": "call_hash",
"type": 12,
"typeName": "PreimageHash",
"docs": []
},
{
"name": "call_encoded_len",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "call_weight_witness",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "dispatch_whitelisted_call_with_preimage",
"fields": [
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 174,
"type": {
"path": [
"polkadot_runtime_common",
"claims",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "claim",
"fields": [
{
"name": "dest",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "ethereum_signature",
"type": 175,
"typeName": "EcdsaSignature",
"docs": []
}
],
"index": 0,
"docs": [
"Make a claim to collect your DOTs.",
"",
"The dispatch origin for this call must be _None_.",
"",
"Unsigned Validation:",
"A call to claim is deemed valid if the signature provided matches",
"the expected signed message of:",
"",
"> Ethereum Signed Message:",
"> (configured prefix string)(address)",
"",
"and `address` matches the `dest` account.",
"",
"Parameters:",
"- `dest`: The destination account to payout the claim.",
"- `ethereum_signature`: The signature of an ethereum signed message",
" matching the format described above.",
"",
"<weight>",
"The weight of this call is invariant over the input parameters.",
"Weight includes logic to validate unsigned `claim` call.",
"",
"Total Complexity: O(1)",
"</weight>"
]
},
{
"name": "mint_claim",
"fields": [
{
"name": "who",
"type": 177,
"typeName": "EthereumAddress",
"docs": []
},
{
"name": "value",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "vesting_schedule",
"type": 178,
"typeName": "Option<(BalanceOf<T>, BalanceOf<T>, T::BlockNumber)>",
"docs": []
},
{
"name": "statement",
"type": 180,
"typeName": "Option<StatementKind>",
"docs": []
}
],
"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.",
"",
"<weight>",
"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)",
"</weight>"
]
},
{
"name": "claim_attest",
"fields": [
{
"name": "dest",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "ethereum_signature",
"type": 175,
"typeName": "EcdsaSignature",
"docs": []
},
{
"name": "statement",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 2,
"docs": [
"Make a claim to collect your DOTs by signing a statement.",
"",
"The dispatch origin for this call must be _None_.",
"",
"Unsigned Validation:",
"A call to `claim_attest` is deemed valid if the signature provided matches",
"the expected signed message of:",
"",
"> Ethereum Signed Message:",
"> (configured prefix string)(address)(statement)",
"",
"and `address` matches the `dest` account; the `statement` must match that which is",
"expected according to your purchase arrangement.",
"",
"Parameters:",
"- `dest`: The destination account to payout the claim.",
"- `ethereum_signature`: The signature of an ethereum signed message",
" matching the format described above.",
"- `statement`: The identity of the statement which is being attested to in the signature.",
"",
"<weight>",
"The weight of this call is invariant over the input parameters.",
"Weight includes logic to validate unsigned `claim_attest` call.",
"",
"Total Complexity: O(1)",
"</weight>"
]
},
{
"name": "attest",
"fields": [
{
"name": "statement",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"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.",
"",
"<weight>",
"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)",
"</weight>"
]
},
{
"name": "move_claim",
"fields": [
{
"name": "old",
"type": 177,
"typeName": "EthereumAddress",
"docs": []
},
{
"name": "new",
"type": 177,
"typeName": "EthereumAddress",
"docs": []
},
{
"name": "maybe_preclaim",
"type": 144,
"typeName": "Option<T::AccountId>",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 175,
"type": {
"path": [
"polkadot_runtime_common",
"claims",
"EcdsaSignature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 176,
"typeName": "[u8; 65]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 176,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 65,
"type": 2
}
},
"docs": []
}
},
{
"id": 177,
"type": {
"path": [
"polkadot_runtime_common",
"claims",
"EthereumAddress"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 102,
"typeName": "[u8; 20]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 178,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 179
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 179,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 179,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
6,
6,
4
]
},
"docs": []
}
},
{
"id": 180,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 181
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 181,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 181,
"type": {
"path": [
"polkadot_runtime_common",
"claims",
"StatementKind"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Regular",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Saft",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 182,
"type": {
"path": [
"pallet_vesting",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "vest",
"fields": [],
"index": 0,
"docs": [
"Unlock any vested funds of the sender account.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have funds still",
"locked under this pallet.",
"",
"Emits either `VestingCompleted` or `VestingUpdated`.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "vest_other",
"fields": [
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"Unlock any vested funds of a `target` account.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `target`: The account whose vested funds should be unlocked. Must have funds still",
"locked under this pallet.",
"",
"Emits either `VestingCompleted` or `VestingUpdated`.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "vested_transfer",
"fields": [
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "schedule",
"type": 183,
"typeName": "VestingInfo<BalanceOf<T>, T::BlockNumber>",
"docs": []
}
],
"index": 2,
"docs": [
"Create a vested transfer.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `target`: The account receiving the vested funds.",
"- `schedule`: The vesting schedule attached to the transfer.",
"",
"Emits `VestingCreated`.",
"",
"NOTE: This will unlock all schedules through the current block.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "force_vested_transfer",
"fields": [
{
"name": "source",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "schedule",
"type": 183,
"typeName": "VestingInfo<BalanceOf<T>, T::BlockNumber>",
"docs": []
}
],
"index": 3,
"docs": [
"Force a vested transfer.",
"",
"The dispatch origin for this call must be _Root_.",
"",
"- `source`: The account whose funds should be transferred.",
"- `target`: The account that should be transferred the vested funds.",
"- `schedule`: The vesting schedule attached to the transfer.",
"",
"Emits `VestingCreated`.",
"",
"NOTE: This will unlock all schedules through the current block.",
"",
"## Complexity",
"- `O(1)`."
]
},
{
"name": "merge_schedules",
"fields": [
{
"name": "schedule1_index",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "schedule2_index",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": [
"Merge two vesting schedules together, creating a new vesting schedule that unlocks over",
"the highest possible start and end blocks. If both schedules have already started the",
"current block will be used as the schedule start; with the caveat that if one schedule",
"is finished by the current block, the other will be treated as the new merged schedule,",
"unmodified.",
"",
"NOTE: If `schedule1_index == schedule2_index` this is a no-op.",
"NOTE: This will unlock all schedules through the current block prior to merging.",
"NOTE: If both schedules have ended by the current block, no new schedule will be created",
"and both will be removed.",
"",
"Merged schedule attributes:",
"- `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,",
" current_block)`.",
"- `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.",
"- `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `schedule1_index`: index of the first schedule to merge.",
"- `schedule2_index`: index of the second schedule to merge."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 183,
"type": {
"path": [
"pallet_vesting",
"vesting_info",
"VestingInfo"
],
"params": [
{
"name": "Balance",
"type": 6
},
{
"name": "BlockNumber",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "locked",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "per_block",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "starting_block",
"type": 4,
"typeName": "BlockNumber",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 184,
"type": {
"path": [
"pallet_utility",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "batch",
"fields": [
{
"name": "calls",
"type": 185,
"typeName": "Vec<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 0,
"docs": [
"Send a batch of dispatch calls.",
"",
"May be called from any origin except `None`.",
"",
"- `calls`: The calls to be dispatched from the same origin. The number of call must not",
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
"",
"If origin is root then the calls are dispatched without checking origin filter. (This",
"includes bypassing `frame_system::Config::BaseCallFilter`).",
"",
"## Complexity",
"- O(C) where C is the number of calls to be batched.",
"",
"This will return `Ok` in all circumstances. To determine the success of the batch, an",
"event is deposited. If a call failed and the batch was interrupted, then the",
"`BatchInterrupted` event is deposited, along with the number of successful calls made",
"and the error of the failed call. If all were successful, then the `BatchCompleted`",
"event is deposited."
]
},
{
"name": "as_derivative",
"fields": [
{
"name": "index",
"type": 77,
"typeName": "u16",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 1,
"docs": [
"Send a call through an indexed pseudonym of the sender.",
"",
"Filter from origin are passed along. The call will be dispatched with an origin which",
"use the same filter as the origin of this call.",
"",
"NOTE: If you need to ensure that any account-based filtering is not honored (i.e.",
"because you expect `proxy` to have been used prior in the call stack and you do not want",
"the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`",
"in the Multisig pallet instead.",
"",
"NOTE: Prior to version *12, this was called `as_limited_sub`.",
"",
"The dispatch origin for this call must be _Signed_."
]
},
{
"name": "batch_all",
"fields": [
{
"name": "calls",
"type": 185,
"typeName": "Vec<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 2,
"docs": [
"Send a batch of dispatch calls and atomically execute them.",
"The whole transaction will rollback and fail if any of the calls failed.",
"",
"May be called from any origin except `None`.",
"",
"- `calls`: The calls to be dispatched from the same origin. The number of call must not",
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
"",
"If origin is root then the calls are dispatched without checking origin filter. (This",
"includes bypassing `frame_system::Config::BaseCallFilter`).",
"",
"## Complexity",
"- O(C) where C is the number of calls to be batched."
]
},
{
"name": "dispatch_as",
"fields": [
{
"name": "as_origin",
"type": 156,
"typeName": "Box<T::PalletsOrigin>",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": [
"Dispatches a function call with a provided origin.",
"",
"The dispatch origin for this call must be _Root_.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "force_batch",
"fields": [
{
"name": "calls",
"type": 185,
"typeName": "Vec<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 4,
"docs": [
"Send a batch of dispatch calls.",
"Unlike `batch`, it allows errors and won't interrupt.",
"",
"May be called from any origin except `None`.",
"",
"- `calls`: The calls to be dispatched from the same origin. The number of call must not",
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
"",
"If origin is root then the calls are dispatch without checking origin filter. (This",
"includes bypassing `frame_system::Config::BaseCallFilter`).",
"",
"## Complexity",
"- O(C) where C is the number of calls to be batched."
]
},
{
"name": "with_weight",
"fields": [
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
},
{
"name": "weight",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 5,
"docs": [
"Dispatch a function call with a specified weight.",
"",
"This function does not check the weight of the call, and instead allows the",
"Root origin to specify the weight of the call.",
"",
"The dispatch origin for this call must be _Root_."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 185,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 79
},
"docs": []
}
},
{
"id": 186,
"type": {
"path": [
"pallet_identity",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "add_registrar",
"fields": [
{
"name": "account",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Add a registrar to the system.",
"",
"The dispatch origin for this call must be `T::RegistrarOrigin`.",
"",
"- `account`: the account of the registrar.",
"",
"Emits `RegistrarAdded` if successful.",
"",
"## Complexity",
"- `O(R)` where `R` registrar-count (governance-bounded and code-bounded)."
]
},
{
"name": "set_identity",
"fields": [
{
"name": "info",
"type": 187,
"typeName": "Box<IdentityInfo<T::MaxAdditionalFields>>",
"docs": []
}
],
"index": 1,
"docs": [
"Set an account's identity information and reserve the appropriate deposit.",
"",
"If the account already has identity information, the deposit is taken as part payment",
"for the new deposit.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `info`: The identity information.",
"",
"Emits `IdentitySet` if successful.",
"",
"## Complexity",
"- `O(X + X' + R)`",
" - where `X` additional-field-count (deposit-bounded and code-bounded)",
" - where `R` judgements-count (registrar-count-bounded)"
]
},
{
"name": "set_subs",
"fields": [
{
"name": "subs",
"type": 222,
"typeName": "Vec<(T::AccountId, Data)>",
"docs": []
}
],
"index": 2,
"docs": [
"Set the sub-accounts of the sender.",
"",
"Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned",
"and an amount `SubAccountDeposit` will be reserved for each item in `subs`.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have a registered",
"identity.",
"",
"- `subs`: The identity's (new) sub-accounts.",
"",
"## Complexity",
"- `O(P + S)`",
" - where `P` old-subs-count (hard- and deposit-bounded).",
" - where `S` subs-count (hard- and deposit-bounded)."
]
},
{
"name": "clear_identity",
"fields": [],
"index": 3,
"docs": [
"Clear an account's identity info and all sub-accounts and return all deposits.",
"",
"Payment: All reserved balances on the account are returned.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have a registered",
"identity.",
"",
"Emits `IdentityCleared` if successful.",
"",
"## Complexity",
"- `O(R + S + X)`",
" - where `R` registrar-count (governance-bounded).",
" - where `S` subs-count (hard- and deposit-bounded).",
" - where `X` additional-field-count (deposit-bounded and code-bounded)."
]
},
{
"name": "request_judgement",
"fields": [
{
"name": "reg_index",
"type": 91,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "max_fee",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"Request a judgement from a registrar.",
"",
"Payment: At most `max_fee` will be reserved for payment to the registrar if judgement",
"given.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have a",
"registered identity.",
"",
"- `reg_index`: The index of the registrar whose judgement is requested.",
"- `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:",
"",
"```nocompile",
"Self::registrars().get(reg_index).unwrap().fee",
"```",
"",
"Emits `JudgementRequested` if successful.",
"",
"## Complexity",
"- `O(R + X)`.",
" - where `R` registrar-count (governance-bounded).",
" - where `X` additional-field-count (deposit-bounded and code-bounded)."
]
},
{
"name": "cancel_request",
"fields": [
{
"name": "reg_index",
"type": 4,
"typeName": "RegistrarIndex",
"docs": []
}
],
"index": 5,
"docs": [
"Cancel a previous request.",
"",
"Payment: A previously reserved deposit is returned on success.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have a",
"registered identity.",
"",
"- `reg_index`: The index of the registrar whose judgement is no longer requested.",
"",
"Emits `JudgementUnrequested` if successful.",
"",
"## Complexity",
"- `O(R + X)`.",
" - where `R` registrar-count (governance-bounded).",
" - where `X` additional-field-count (deposit-bounded and code-bounded)."
]
},
{
"name": "set_fee",
"fields": [
{
"name": "index",
"type": 91,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "fee",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 6,
"docs": [
"Set the fee required for a judgement to be requested from a registrar.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must be the account",
"of the registrar whose index is `index`.",
"",
"- `index`: the index of the registrar whose fee is to be set.",
"- `fee`: the new fee.",
"",
"## Complexity",
"- `O(R)`.",
" - where `R` registrar-count (governance-bounded)."
]
},
{
"name": "set_account_id",
"fields": [
{
"name": "index",
"type": 91,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "new",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 7,
"docs": [
"Change the account associated with a registrar.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must be the account",
"of the registrar whose index is `index`.",
"",
"- `index`: the index of the registrar whose fee is to be set.",
"- `new`: the new account ID.",
"",
"## Complexity",
"- `O(R)`.",
" - where `R` registrar-count (governance-bounded)."
]
},
{
"name": "set_fields",
"fields": [
{
"name": "index",
"type": 91,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "fields",
"type": 224,
"typeName": "IdentityFields",
"docs": []
}
],
"index": 8,
"docs": [
"Set the field information for a registrar.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must be the account",
"of the registrar whose index is `index`.",
"",
"- `index`: the index of the registrar whose fee is to be set.",
"- `fields`: the fields that the registrar concerns themselves with.",
"",
"## Complexity",
"- `O(R)`.",
" - where `R` registrar-count (governance-bounded)."
]
},
{
"name": "provide_judgement",
"fields": [
{
"name": "reg_index",
"type": 91,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "judgement",
"type": 226,
"typeName": "Judgement<BalanceOf<T>>",
"docs": []
},
{
"name": "identity",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 9,
"docs": [
"Provide a judgement for an account's identity.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must be the account",
"of the registrar whose index is `reg_index`.",
"",
"- `reg_index`: the index of the registrar whose judgement is being made.",
"- `target`: the account whose identity the judgement is upon. This must be an account",
" with a registered identity.",
"- `judgement`: the judgement of the registrar of index `reg_index` about `target`.",
"- `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.",
"",
"Emits `JudgementGiven` if successful.",
"",
"## Complexity",
"- `O(R + X)`.",
" - where `R` registrar-count (governance-bounded).",
" - where `X` additional-field-count (deposit-bounded and code-bounded)."
]
},
{
"name": "kill_identity",
"fields": [
{
"name": "target",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 10,
"docs": [
"Remove an account's identity and sub-account information and slash the deposits.",
"",
"Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by",
"`Slash`. Verification request deposits are not returned; they should be cancelled",
"manually using `cancel_request`.",
"",
"The dispatch origin for this call must match `T::ForceOrigin`.",
"",
"- `target`: the account whose identity the judgement is upon. This must be an account",
" with a registered identity.",
"",
"Emits `IdentityKilled` if successful.",
"",
"## Complexity",
"- `O(R + S + X)`",
" - where `R` registrar-count (governance-bounded).",
" - where `S` subs-count (hard- and deposit-bounded).",
" - where `X` additional-field-count (deposit-bounded and code-bounded)."
]
},
{
"name": "add_sub",
"fields": [
{
"name": "sub",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "data",
"type": 190,
"typeName": "Data",
"docs": []
}
],
"index": 11,
"docs": [
"Add the given account to the sender's subs.",
"",
"Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated",
"to the sender.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have a registered",
"sub identity of `sub`."
]
},
{
"name": "rename_sub",
"fields": [
{
"name": "sub",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "data",
"type": 190,
"typeName": "Data",
"docs": []
}
],
"index": 12,
"docs": [
"Alter the associated name of the given sub-account.",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have a registered",
"sub identity of `sub`."
]
},
{
"name": "remove_sub",
"fields": [
{
"name": "sub",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"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": [],
"index": 14,
"docs": [
"Remove the sender as a sub-account.",
"",
"Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated",
"to the sender (*not* the original depositor).",
"",
"The dispatch origin for this call must be _Signed_ and the sender must have a registered",
"super-identity.",
"",
"NOTE: This should not normally be used, but is provided in the case that the non-",
"controller of an account is maliciously registered as a sub-account."
]
}
]
},
"docs": [
"Identity pallet declaration."
]
}
},
{
"id": 187,
"type": {
"path": [
"pallet_identity",
"types",
"IdentityInfo"
],
"params": [
{
"name": "FieldLimit"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "additional",
"type": 188,
"typeName": "BoundedVec<(Data, Data), FieldLimit>",
"docs": []
},
{
"name": "display",
"type": 190,
"typeName": "Data",
"docs": []
},
{
"name": "legal",
"type": 190,
"typeName": "Data",
"docs": []
},
{
"name": "web",
"type": 190,
"typeName": "Data",
"docs": []
},
{
"name": "riot",
"type": 190,
"typeName": "Data",
"docs": []
},
{
"name": "email",
"type": 190,
"typeName": "Data",
"docs": []
},
{
"name": "pgp_fingerprint",
"type": 221,
"typeName": "Option<[u8; 20]>",
"docs": []
},
{
"name": "image",
"type": 190,
"typeName": "Data",
"docs": []
},
{
"name": "twitter",
"type": 190,
"typeName": "Data",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 188,
"type": {
"path": [
"bounded_collections",
"bounded_vec",
"BoundedVec"
],
"params": [
{
"name": "T",
"type": 189
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 220,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 189,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
190,
190
]
},
"docs": []
}
},
{
"id": 190,
"type": {
"path": [
"pallet_identity",
"types",
"Data"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Raw0",
"fields": [
{
"type": 191,
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Raw1",
"fields": [
{
"type": 192,
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Raw2",
"fields": [
{
"type": 193,
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Raw3",
"fields": [
{
"type": 194,
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Raw4",
"fields": [
{
"type": 17,
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Raw5",
"fields": [
{
"type": 195,
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "Raw6",
"fields": [
{
"type": 196,
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "Raw7",
"fields": [
{
"type": 197,
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "Raw8",
"fields": [
{
"type": 198,
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "Raw9",
"fields": [
{
"type": 199,
"docs": []
}
],
"index": 10,
"docs": []
},
{
"name": "Raw10",
"fields": [
{
"type": 200,
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "Raw11",
"fields": [
{
"type": 201,
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "Raw12",
"fields": [
{
"type": 202,
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "Raw13",
"fields": [
{
"type": 203,
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "Raw14",
"fields": [
{
"type": 204,
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "Raw15",
"fields": [
{
"type": 205,
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "Raw16",
"fields": [
{
"type": 47,
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "Raw17",
"fields": [
{
"type": 206,
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "Raw18",
"fields": [
{
"type": 207,
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "Raw19",
"fields": [
{
"type": 208,
"docs": []
}
],
"index": 20,
"docs": []
},
{
"name": "Raw20",
"fields": [
{
"type": 102,
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "Raw21",
"fields": [
{
"type": 209,
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "Raw22",
"fields": [
{
"type": 210,
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "Raw23",
"fields": [
{
"type": 211,
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Raw24",
"fields": [
{
"type": 212,
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "Raw25",
"fields": [
{
"type": 213,
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "Raw26",
"fields": [
{
"type": 214,
"docs": []
}
],
"index": 27,
"docs": []
},
{
"name": "Raw27",
"fields": [
{
"type": 215,
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "Raw28",
"fields": [
{
"type": 216,
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "Raw29",
"fields": [
{
"type": 217,
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "Raw30",
"fields": [
{
"type": 218,
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "Raw31",
"fields": [
{
"type": 219,
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "Raw32",
"fields": [
{
"type": 1,
"docs": []
}
],
"index": 33,
"docs": []
},
{
"name": "BlakeTwo256",
"fields": [
{
"type": 1,
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "Sha256",
"fields": [
{
"type": 1,
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "Keccak256",
"fields": [
{
"type": 1,
"docs": []
}
],
"index": 36,
"docs": []
},
{
"name": "ShaThree256",
"fields": [
{
"type": 1,
"docs": []
}
],
"index": 37,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 191,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 0,
"type": 2
}
},
"docs": []
}
},
{
"id": 192,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 1,
"type": 2
}
},
"docs": []
}
},
{
"id": 193,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 2,
"type": 2
}
},
"docs": []
}
},
{
"id": 194,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 3,
"type": 2
}
},
"docs": []
}
},
{
"id": 195,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 5,
"type": 2
}
},
"docs": []
}
},
{
"id": 196,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 6,
"type": 2
}
},
"docs": []
}
},
{
"id": 197,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 7,
"type": 2
}
},
"docs": []
}
},
{
"id": 198,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 8,
"type": 2
}
},
"docs": []
}
},
{
"id": 199,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 9,
"type": 2
}
},
"docs": []
}
},
{
"id": 200,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 10,
"type": 2
}
},
"docs": []
}
},
{
"id": 201,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 11,
"type": 2
}
},
"docs": []
}
},
{
"id": 202,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 12,
"type": 2
}
},
"docs": []
}
},
{
"id": 203,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 13,
"type": 2
}
},
"docs": []
}
},
{
"id": 204,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 14,
"type": 2
}
},
"docs": []
}
},
{
"id": 205,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 15,
"type": 2
}
},
"docs": []
}
},
{
"id": 206,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 17,
"type": 2
}
},
"docs": []
}
},
{
"id": 207,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 18,
"type": 2
}
},
"docs": []
}
},
{
"id": 208,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 19,
"type": 2
}
},
"docs": []
}
},
{
"id": 209,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 21,
"type": 2
}
},
"docs": []
}
},
{
"id": 210,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 22,
"type": 2
}
},
"docs": []
}
},
{
"id": 211,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 23,
"type": 2
}
},
"docs": []
}
},
{
"id": 212,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 24,
"type": 2
}
},
"docs": []
}
},
{
"id": 213,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 25,
"type": 2
}
},
"docs": []
}
},
{
"id": 214,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 26,
"type": 2
}
},
"docs": []
}
},
{
"id": 215,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 27,
"type": 2
}
},
"docs": []
}
},
{
"id": 216,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 28,
"type": 2
}
},
"docs": []
}
},
{
"id": 217,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 29,
"type": 2
}
},
"docs": []
}
},
{
"id": 218,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 30,
"type": 2
}
},
"docs": []
}
},
{
"id": 219,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 31,
"type": 2
}
},
"docs": []
}
},
{
"id": 220,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 189
},
"docs": []
}
},
{
"id": 221,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 102
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 102,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 222,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 223
},
"docs": []
}
},
{
"id": 223,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
0,
190
]
},
"docs": []
}
},
{
"id": 224,
"type": {
"path": [
"pallet_identity",
"types",
"BitFlags"
],
"params": [
{
"name": "T",
"type": 225
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 11,
"typeName": "IdentityField",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 225,
"type": {
"path": [
"pallet_identity",
"types",
"IdentityField"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Display",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Legal",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Web",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "Riot",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "Email",
"fields": [],
"index": 16,
"docs": []
},
{
"name": "PgpFingerprint",
"fields": [],
"index": 32,
"docs": []
},
{
"name": "Image",
"fields": [],
"index": 64,
"docs": []
},
{
"name": "Twitter",
"fields": [],
"index": 128,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 226,
"type": {
"path": [
"pallet_identity",
"types",
"Judgement"
],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Unknown",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "FeePaid",
"fields": [
{
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Reasonable",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "KnownGood",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "OutOfDate",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "LowQuality",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "Erroneous",
"fields": [],
"index": 6,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 227,
"type": {
"path": [
"pallet_proxy",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "proxy",
"fields": [
{
"name": "real",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "force_proxy_type",
"type": 228,
"typeName": "Option<T::ProxyType>",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 0,
"docs": [
"Dispatch the given `call` from an account that the sender is authorised for through",
"`add_proxy`.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `real`: The account that the proxy will make a call on behalf of.",
"- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.",
"- `call`: The call to be made by the `real` account."
]
},
{
"name": "add_proxy",
"fields": [
{
"name": "delegate",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "proxy_type",
"type": 229,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 1,
"docs": [
"Register a proxy account for the sender that is able to make calls on its behalf.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `proxy`: The account that the `caller` would like to make a proxy.",
"- `proxy_type`: The permissions allowed for this proxy account.",
"- `delay`: The announcement period required of the initial proxy. Will generally be",
"zero."
]
},
{
"name": "remove_proxy",
"fields": [
{
"name": "delegate",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "proxy_type",
"type": 229,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 2,
"docs": [
"Unregister a proxy account for the sender.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `proxy`: The account that the `caller` would like to remove as a proxy.",
"- `proxy_type`: The permissions currently enabled for the removed proxy account."
]
},
{
"name": "remove_proxies",
"fields": [],
"index": 3,
"docs": [
"Unregister all proxy accounts for the sender.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"WARNING: This may be called on accounts created by `pure`, however if done, then",
"the unreserved fees will be inaccessible. **All access to this account will be lost.**"
]
},
{
"name": "create_pure",
"fields": [
{
"name": "proxy_type",
"type": 229,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "index",
"type": 77,
"typeName": "u16",
"docs": []
}
],
"index": 4,
"docs": [
"Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and",
"initialize it with a proxy of `proxy_type` for `origin` sender.",
"",
"Requires a `Signed` origin.",
"",
"- `proxy_type`: The type of the proxy that the sender will be registered as over the",
"new account. This will almost always be the most permissive `ProxyType` possible to",
"allow for maximum flexibility.",
"- `index`: A disambiguation index, in case this is called multiple times in the same",
"transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just",
"want to use `0`.",
"- `delay`: The announcement period required of the initial proxy. Will generally be",
"zero.",
"",
"Fails with `Duplicate` if this has already been called in this transaction, from the",
"same sender, with the same parameters.",
"",
"Fails if there are insufficient funds to pay for deposit."
]
},
{
"name": "kill_pure",
"fields": [
{
"name": "spawner",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "proxy_type",
"type": 229,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "index",
"type": 77,
"typeName": "u16",
"docs": []
},
{
"name": "height",
"type": 91,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "ext_index",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 5,
"docs": [
"Removes a previously spawned pure proxy.",
"",
"WARNING: **All access to this account will be lost.** Any funds held in it will be",
"inaccessible.",
"",
"Requires a `Signed` origin, and the sender account must have been created by a call to",
"`pure` with corresponding parameters.",
"",
"- `spawner`: The account that originally called `pure` to create this account.",
"- `index`: The disambiguation index originally passed to `pure`. Probably `0`.",
"- `proxy_type`: The proxy type originally passed to `pure`.",
"- `height`: The height of the chain when the call to `pure` was processed.",
"- `ext_index`: The extrinsic index in which the call to `pure` was processed.",
"",
"Fails with `NoPermission` in case the caller is not a previously created pure",
"account whose `pure` call has corresponding parameters."
]
},
{
"name": "announce",
"fields": [
{
"name": "real",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call_hash",
"type": 12,
"typeName": "CallHashOf<T>",
"docs": []
}
],
"index": 6,
"docs": [
"Publish the hash of a proxy-call that will be made in the future.",
"",
"This must be called some number of blocks before the corresponding `proxy` is attempted",
"if the delay associated with the proxy relationship is greater than zero.",
"",
"No more than `MaxPending` announcements may be made at any one time.",
"",
"This will take a deposit of `AnnouncementDepositFactor` as well as",
"`AnnouncementDepositBase` if there are no other pending announcements.",
"",
"The dispatch origin for this call must be _Signed_ and a proxy of `real`.",
"",
"Parameters:",
"- `real`: The account that the proxy will make a call on behalf of.",
"- `call_hash`: The hash of the call to be made by the `real` account."
]
},
{
"name": "remove_announcement",
"fields": [
{
"name": "real",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call_hash",
"type": 12,
"typeName": "CallHashOf<T>",
"docs": []
}
],
"index": 7,
"docs": [
"Remove a given announcement.",
"",
"May be called by a proxy account to remove a call they previously announced and return",
"the deposit.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `real`: The account that the proxy will make a call on behalf of.",
"- `call_hash`: The hash of the call to be made by the `real` account."
]
},
{
"name": "reject_announcement",
"fields": [
{
"name": "delegate",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call_hash",
"type": 12,
"typeName": "CallHashOf<T>",
"docs": []
}
],
"index": 8,
"docs": [
"Remove the given announcement of a delegate.",
"",
"May be called by a target (proxied) account to remove a call that one of their delegates",
"(`delegate`) has announced they want to execute. The deposit is returned.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `delegate`: The account that previously announced the call.",
"- `call_hash`: The hash of the call to be made."
]
},
{
"name": "proxy_announced",
"fields": [
{
"name": "delegate",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "real",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "force_proxy_type",
"type": 228,
"typeName": "Option<T::ProxyType>",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 9,
"docs": [
"Dispatch the given `call` from an account that the sender is authorized for through",
"`add_proxy`.",
"",
"Removes any corresponding announcement(s).",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `real`: The account that the proxy will make a call on behalf of.",
"- `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.",
"- `call`: The call to be made by the `real` account."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 228,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 229
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 229,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 229,
"type": {
"path": [
"polkadot_runtime",
"ProxyType"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Any",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NonTransfer",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Governance",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Staking",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "IdentityJudgement",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "CancelProxy",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "Auction",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "NominationPools",
"fields": [],
"index": 8,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 230,
"type": {
"path": [
"pallet_multisig",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "as_multi_threshold_1",
"fields": [
{
"name": "other_signatories",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 0,
"docs": [
"Immediately dispatch a multi-signature call using a single approval from the caller.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `other_signatories`: The accounts (other than the sender) who are part of the",
"multi-signature, but do not participate in the approval process.",
"- `call`: The call to be executed.",
"",
"Result is equivalent to the dispatched result.",
"",
"## Complexity",
"O(Z + C) where Z is the length of the call and C its execution weight."
]
},
{
"name": "as_multi",
"fields": [
{
"name": "threshold",
"type": 77,
"typeName": "u16",
"docs": []
},
{
"name": "other_signatories",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "maybe_timepoint",
"type": 231,
"typeName": "Option<Timepoint<T::BlockNumber>>",
"docs": []
},
{
"name": "call",
"type": 79,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
},
{
"name": "max_weight",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 1,
"docs": [
"Register approval for a dispatch to be made from a deterministic composite account if",
"approved by a total of `threshold - 1` of `other_signatories`.",
"",
"If there are enough, then dispatch the call.",
"",
"Payment: `DepositBase` will be reserved if this is the first approval, plus",
"`threshold` times `DepositFactor`. It is returned once this dispatch happens or",
"is cancelled.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `threshold`: The total number of approvals for this dispatch before it is executed.",
"- `other_signatories`: The accounts (other than the sender) who can approve this",
"dispatch. May not be empty.",
"- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is",
"not the first approval, then it must be `Some`, with the timepoint (block number and",
"transaction index) of the first approval transaction.",
"- `call`: The call to be executed.",
"",
"NOTE: Unless this is the final approval, you will generally want to use",
"`approve_as_multi` instead, since it only requires a hash of the call.",
"",
"Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise",
"on success, result is `Ok` and the result from the interior call, if it was executed,",
"may be found in the deposited `MultisigExecuted` event.",
"",
"## Complexity",
"- `O(S + Z + Call)`.",
"- Up to one balance-reserve or unreserve operation.",
"- One passthrough operation, one insert, both `O(S)` where `S` is the number of",
" signatories. `S` is capped by `MaxSignatories`, with weight being proportional.",
"- One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.",
"- One encode & hash, both of complexity `O(S)`.",
"- Up to one binary search and insert (`O(logS + S)`).",
"- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
"- One event.",
"- The weight of the `call`.",
"- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
" taken for its lifetime of `DepositBase + threshold * DepositFactor`."
]
},
{
"name": "approve_as_multi",
"fields": [
{
"name": "threshold",
"type": 77,
"typeName": "u16",
"docs": []
},
{
"name": "other_signatories",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "maybe_timepoint",
"type": 231,
"typeName": "Option<Timepoint<T::BlockNumber>>",
"docs": []
},
{
"name": "call_hash",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
},
{
"name": "max_weight",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 2,
"docs": [
"Register approval for a dispatch to be made from a deterministic composite account if",
"approved by a total of `threshold - 1` of `other_signatories`.",
"",
"Payment: `DepositBase` will be reserved if this is the first approval, plus",
"`threshold` times `DepositFactor`. It is returned once this dispatch happens or",
"is cancelled.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `threshold`: The total number of approvals for this dispatch before it is executed.",
"- `other_signatories`: The accounts (other than the sender) who can approve this",
"dispatch. May not be empty.",
"- `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is",
"not the first approval, then it must be `Some`, with the timepoint (block number and",
"transaction index) of the first approval transaction.",
"- `call_hash`: The hash of the call to be executed.",
"",
"NOTE: If this is the final approval, you will want to use `as_multi` instead.",
"",
"## Complexity",
"- `O(S)`.",
"- Up to one balance-reserve or unreserve operation.",
"- One passthrough operation, one insert, both `O(S)` where `S` is the number of",
" signatories. `S` is capped by `MaxSignatories`, with weight being proportional.",
"- One encode & hash, both of complexity `O(S)`.",
"- Up to one binary search and insert (`O(logS + S)`).",
"- I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
"- One event.",
"- Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
" taken for its lifetime of `DepositBase + threshold * DepositFactor`."
]
},
{
"name": "cancel_as_multi",
"fields": [
{
"name": "threshold",
"type": 77,
"typeName": "u16",
"docs": []
},
{
"name": "other_signatories",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "timepoint",
"type": 232,
"typeName": "Timepoint<T::BlockNumber>",
"docs": []
},
{
"name": "call_hash",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 3,
"docs": [
"Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously",
"for this operation will be unreserved on success.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"- `threshold`: The total number of approvals for this dispatch before it is executed.",
"- `other_signatories`: The accounts (other than the sender) who can approve this",
"dispatch. May not be empty.",
"- `timepoint`: The timepoint (block number and transaction index) of the first approval",
"transaction for this dispatch.",
"- `call_hash`: The hash of the call to be executed.",
"",
"## Complexity",
"- `O(S)`.",
"- Up to one balance-reserve or unreserve operation.",
"- One passthrough operation, one insert, both `O(S)` where `S` is the number of",
" signatories. `S` is capped by `MaxSignatories`, with weight being proportional.",
"- One encode & hash, both of complexity `O(S)`.",
"- One event.",
"- I/O: 1 read `O(S)`, one remove.",
"- Storage: removes one item."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 231,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 232
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 232,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 232,
"type": {
"path": [
"pallet_multisig",
"Timepoint"
],
"params": [
{
"name": "BlockNumber",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "height",
"type": 4,
"typeName": "BlockNumber",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 233,
"type": {
"path": [
"pallet_bounties",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "propose_bounty",
"fields": [
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "description",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": [
"Propose a new bounty.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Payment: `TipReportDepositBase` will be reserved from the origin account, as well as",
"`DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,",
"or slashed when rejected.",
"",
"- `curator`: The curator account whom will manage this bounty.",
"- `fee`: The curator fee.",
"- `value`: The total payment amount of this bounty, curator fee included.",
"- `description`: The description of this bounty."
]
},
{
"name": "approve_bounty",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 1,
"docs": [
"Approve a bounty proposal. At a later time, the bounty will be funded and become active",
"and the original deposit will be returned.",
"",
"May only be called from `T::SpendOrigin`.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "propose_curator",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "curator",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "fee",
"type": 60,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 2,
"docs": [
"Assign a curator to a funded bounty.",
"",
"May only be called from `T::SpendOrigin`.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "unassign_curator",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 3,
"docs": [
"Unassign curator from a bounty.",
"",
"This function can only be called by the `RejectOrigin` a signed origin.",
"",
"If this function is called by the `RejectOrigin`, we assume that the curator is",
"malicious or inactive. As a result, we will slash the curator when possible.",
"",
"If the origin is the curator, we take this as a sign they are unable to do their job and",
"they willingly give up. We could slash them, but for now we allow them to recover their",
"deposit and exit without issue. (We may want to change this if it is abused.)",
"",
"Finally, the origin can be anyone if and only if the curator is \"inactive\". This allows",
"anyone in the community to call out that a curator is not doing their due diligence, and",
"we should pick a new curator. In this case the curator should also be slashed.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "accept_curator",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 4,
"docs": [
"Accept the curator role for a bounty.",
"A deposit will be reserved from curator and refund upon successful payout.",
"",
"May only be called from the curator.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "award_bounty",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "beneficiary",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 5,
"docs": [
"Award bounty to a beneficiary account. The beneficiary will be able to claim the funds",
"after a delay.",
"",
"The dispatch origin for this call must be the curator of this bounty.",
"",
"- `bounty_id`: Bounty ID to award.",
"- `beneficiary`: The beneficiary account whom will receive the payout.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "claim_bounty",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 6,
"docs": [
"Claim the payout from an awarded bounty after payout delay.",
"",
"The dispatch origin for this call must be the beneficiary of this bounty.",
"",
"- `bounty_id`: Bounty ID to claim.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "close_bounty",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 7,
"docs": [
"Cancel a proposed or active bounty. All the funds will be sent to treasury and",
"the curator deposit will be unreserved if possible.",
"",
"Only `T::RejectOrigin` is able to cancel a bounty.",
"",
"- `bounty_id`: Bounty ID to cancel.",
"",
"## Complexity",
"- O(1)."
]
},
{
"name": "extend_bounty_expiry",
"fields": [
{
"name": "bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "remark",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 8,
"docs": [
"Extend the expiry time of an active bounty.",
"",
"The dispatch origin for this call must be the curator of this bounty.",
"",
"- `bounty_id`: Bounty ID to extend.",
"- `remark`: additional information.",
"",
"## Complexity",
"- O(1)."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 234,
"type": {
"path": [
"pallet_child_bounties",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "add_child_bounty",
"fields": [
{
"name": "parent_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "description",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": [
"Add a new child-bounty.",
"",
"The dispatch origin for this call must be the curator of parent",
"bounty and the parent bounty must be in \"active\" state.",
"",
"Child-bounty gets added successfully & fund gets transferred from",
"parent bounty to child-bounty account, if parent bounty has enough",
"funds, else the call fails.",
"",
"Upper bound to maximum number of active child bounties that can be",
"added are managed via runtime trait config",
"[`Config::MaxActiveChildBountyCount`].",
"",
"If the call is success, the status of child-bounty is updated to",
"\"Added\".",
"",
"- `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.",
"- `value`: Value for executing the proposal.",
"- `description`: Text description for the child-bounty."
]
},
{
"name": "propose_curator",
"fields": [
{
"name": "parent_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "child_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "curator",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "fee",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"Propose curator for funded child-bounty.",
"",
"The dispatch origin for this call must be curator of parent bounty.",
"",
"Parent bounty must be in active state, for this child-bounty call to",
"work.",
"",
"Child-bounty must be in \"Added\" state, for processing the call. And",
"state of child-bounty is moved to \"CuratorProposed\" on successful",
"call completion.",
"",
"- `parent_bounty_id`: Index of parent bounty.",
"- `child_bounty_id`: Index of child bounty.",
"- `curator`: Address of child-bounty curator.",
"- `fee`: payment fee to child-bounty curator for execution."
]
},
{
"name": "accept_curator",
"fields": [
{
"name": "parent_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "child_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 2,
"docs": [
"Accept the curator role for the child-bounty.",
"",
"The dispatch origin for this call must be the curator of this",
"child-bounty.",
"",
"A deposit will be reserved from the curator and refund upon",
"successful payout or cancellation.",
"",
"Fee for curator is deducted from curator fee of parent bounty.",
"",
"Parent bounty must be in active state, for this child-bounty call to",
"work.",
"",
"Child-bounty must be in \"CuratorProposed\" state, for processing the",
"call. And state of child-bounty is moved to \"Active\" on successful",
"call completion.",
"",
"- `parent_bounty_id`: Index of parent bounty.",
"- `child_bounty_id`: Index of child bounty."
]
},
{
"name": "unassign_curator",
"fields": [
{
"name": "parent_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "child_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 3,
"docs": [
"Unassign curator from a child-bounty.",
"",
"The dispatch origin for this call can be either `RejectOrigin`, or",
"the curator of the parent bounty, or any signed origin.",
"",
"For the origin other than T::RejectOrigin and the child-bounty",
"curator, parent bounty must be in active state, for this call to",
"work. We allow child-bounty curator and T::RejectOrigin to execute",
"this call irrespective of the parent bounty state.",
"",
"If this function is called by the `RejectOrigin` or the",
"parent bounty curator, we assume that the child-bounty curator is",
"malicious or inactive. As a result, child-bounty curator deposit is",
"slashed.",
"",
"If the origin is the child-bounty curator, we take this as a sign",
"that they are unable to do their job, and are willingly giving up.",
"We could slash the deposit, but for now we allow them to unreserve",
"their deposit and exit without issue. (We may want to change this if",
"it is abused.)",
"",
"Finally, the origin can be anyone iff the child-bounty curator is",
"\"inactive\". Expiry update due of parent bounty is used to estimate",
"inactive state of child-bounty curator.",
"",
"This allows anyone in the community to call out that a child-bounty",
"curator is not doing their due diligence, and we should pick a new",
"one. In this case the child-bounty curator deposit is slashed.",
"",
"State of child-bounty is moved to Added state on successful call",
"completion.",
"",
"- `parent_bounty_id`: Index of parent bounty.",
"- `child_bounty_id`: Index of child bounty."
]
},
{
"name": "award_child_bounty",
"fields": [
{
"name": "parent_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "child_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "beneficiary",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"Award child-bounty to a beneficiary.",
"",
"The beneficiary will be able to claim the funds after a delay.",
"",
"The dispatch origin for this call must be the parent curator or",
"curator of this child-bounty.",
"",
"Parent bounty must be in active state, for this child-bounty call to",
"work.",
"",
"Child-bounty must be in active state, for processing the call. And",
"state of child-bounty is moved to \"PendingPayout\" on successful call",
"completion.",
"",
"- `parent_bounty_id`: Index of parent bounty.",
"- `child_bounty_id`: Index of child bounty.",
"- `beneficiary`: Beneficiary account."
]
},
{
"name": "claim_child_bounty",
"fields": [
{
"name": "parent_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "child_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 5,
"docs": [
"Claim the payout from an awarded child-bounty after payout delay.",
"",
"The dispatch origin for this call may be any signed origin.",
"",
"Call works independent of parent bounty state, No need for parent",
"bounty to be in active state.",
"",
"The Beneficiary is paid out with agreed bounty value. Curator fee is",
"paid & curator deposit is unreserved.",
"",
"Child-bounty must be in \"PendingPayout\" state, for processing the",
"call. And instance of child-bounty is removed from the state on",
"successful call completion.",
"",
"- `parent_bounty_id`: Index of parent bounty.",
"- `child_bounty_id`: Index of child bounty."
]
},
{
"name": "close_child_bounty",
"fields": [
{
"name": "parent_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
},
{
"name": "child_bounty_id",
"type": 91,
"typeName": "BountyIndex",
"docs": []
}
],
"index": 6,
"docs": [
"Cancel a proposed or active child-bounty. Child-bounty account funds",
"are transferred to parent bounty account. The child-bounty curator",
"deposit may be unreserved if possible.",
"",
"The dispatch origin for this call must be either parent curator or",
"`T::RejectOrigin`.",
"",
"If the state of child-bounty is `Active`, curator deposit is",
"unreserved.",
"",
"If the state of child-bounty is `PendingPayout`, call fails &",
"returns `PendingPayout` error.",
"",
"For the origin other than T::RejectOrigin, parent bounty must be in",
"active state, for this child-bounty call to work. For origin",
"T::RejectOrigin execution is forced.",
"",
"Instance of child-bounty is removed from the state on successful",
"call completion.",
"",
"- `parent_bounty_id`: Index of parent bounty.",
"- `child_bounty_id`: Index of child bounty."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 235,
"type": {
"path": [
"pallet_tips",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "report_awesome",
"fields": [
{
"name": "reason",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Report something `reason` that deserves a tip and claim any eventual the finder's fee.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Payment: `TipReportDepositBase` will be reserved from the origin account, as well as",
"`DataDepositPerByte` for each byte in `reason`.",
"",
"- `reason`: The reason for, or the thing that deserves, the tip; generally this will be",
" a UTF-8-encoded URL.",
"- `who`: The account which should be credited for the tip.",
"",
"Emits `NewTip` if successful.",
"",
"## Complexity",
"- `O(R)` where `R` length of `reason`.",
" - encoding and hashing of 'reason'"
]
},
{
"name": "retract_tip",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 1,
"docs": [
"Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.",
"",
"If successful, the original deposit will be unreserved.",
"",
"The dispatch origin for this call must be _Signed_ and the tip identified by `hash`",
"must have been reported by the signing account through `report_awesome` (and not",
"through `tip_new`).",
"",
"- `hash`: The identity of the open tip for which a tip value is declared. This is formed",
" as the hash of the tuple of the original tip `reason` and the beneficiary account ID.",
"",
"Emits `TipRetracted` if successful.",
"",
"## Complexity",
"- `O(1)`",
" - Depends on the length of `T::Hash` which is fixed."
]
},
{
"name": "tip_new",
"fields": [
{
"name": "reason",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "who",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "tip_value",
"type": 60,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 2,
"docs": [
"Give a tip for something new; no finder's fee will be taken.",
"",
"The dispatch origin for this call must be _Signed_ and the signing account must be a",
"member of the `Tippers` set.",
"",
"- `reason`: The reason for, or the thing that deserves, the tip; generally this will be",
" a UTF-8-encoded URL.",
"- `who`: The account which should be credited for the tip.",
"- `tip_value`: The amount of tip that the sender would like to give. The median tip",
" value of active tippers will be given to the `who`.",
"",
"Emits `NewTip` if successful.",
"",
"## Complexity",
"- `O(R + T)` where `R` length of `reason`, `T` is the number of tippers.",
" - `O(T)`: decoding `Tipper` vec of length `T`. `T` is charged as upper bound given by",
" `ContainsLengthBound`. The actual cost depends on the implementation of",
" `T::Tippers`.",
" - `O(R)`: hashing and encoding of reason of length `R`"
]
},
{
"name": "tip",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
},
{
"name": "tip_value",
"type": 60,
"typeName": "BalanceOf<T, I>",
"docs": []
}
],
"index": 3,
"docs": [
"Declare a tip value for an already-open tip.",
"",
"The dispatch origin for this call must be _Signed_ and the signing account must be a",
"member of the `Tippers` set.",
"",
"- `hash`: The identity of the open tip for which a tip value is declared. This is formed",
" as the hash of the tuple of the hash of the original tip `reason` and the beneficiary",
" account ID.",
"- `tip_value`: The amount of tip that the sender would like to give. The median tip",
" value of active tippers will be given to the `who`.",
"",
"Emits `TipClosing` if the threshold of tippers has been reached and the countdown period",
"has started.",
"",
"## Complexity",
"- `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`, insert",
" tip and check closing, `T` is charged as upper bound given by `ContainsLengthBound`.",
" The actual cost depends on the implementation of `T::Tippers`.",
"",
" Actually weight could be lower as it depends on how many tips are in `OpenTip` but it",
" is weighted as if almost full i.e of length `T-1`."
]
},
{
"name": "close_tip",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 4,
"docs": [
"Close and payout a tip.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"The tip identified by `hash` must have finished its countdown period.",
"",
"- `hash`: The identity of the open tip for which a tip value is declared. This is formed",
" as the hash of the tuple of the original tip `reason` and the beneficiary account ID.",
"",
"## Complexity",
"- : `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`. `T`",
" is charged as upper bound given by `ContainsLengthBound`. The actual cost depends on",
" the implementation of `T::Tippers`."
]
},
{
"name": "slash_tip",
"fields": [
{
"name": "hash",
"type": 12,
"typeName": "T::Hash",
"docs": []
}
],
"index": 5,
"docs": [
"Remove and slash an already-open tip.",
"",
"May only be called from `T::RejectOrigin`.",
"",
"As a result, the finder is slashed and the deposits are lost.",
"",
"Emits `TipSlashed` if successful.",
"",
"## Complexity",
"- O(1)."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 236,
"type": {
"path": [
"pallet_election_provider_multi_phase",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "submit_unsigned",
"fields": [
{
"name": "raw_solution",
"type": 237,
"typeName": "Box<RawSolution<SolutionOf<T::MinerConfig>>>",
"docs": []
},
{
"name": "witness",
"type": 290,
"typeName": "SolutionOrSnapshotSize",
"docs": []
}
],
"index": 0,
"docs": [
"Submit a solution for the unsigned phase.",
"",
"The dispatch origin fo this call must be __none__.",
"",
"This submission is checked on the fly. Moreover, this unsigned solution is only",
"validated when submitted to the pool from the **local** node. Effectively, this means",
"that only active validators can submit this transaction when authoring a block (similar",
"to an inherent).",
"",
"To prevent any incorrect solution (and thus wasted time/weight), this transaction will",
"panic if the solution submitted by the validator is invalid in any way, effectively",
"putting their authoring reward at risk.",
"",
"No deposit or reward is associated with this submission."
]
},
{
"name": "set_minimum_untrusted_score",
"fields": [
{
"name": "maybe_next_score",
"type": 291,
"typeName": "Option<ElectionScore>",
"docs": []
}
],
"index": 1,
"docs": [
"Set a new value for `MinimumUntrustedScore`.",
"",
"Dispatch origin must be aligned with `T::ForceOrigin`.",
"",
"This check can be turned off by setting the value to `None`."
]
},
{
"name": "set_emergency_election_result",
"fields": [
{
"name": "supports",
"type": 292,
"typeName": "Supports<T::AccountId>",
"docs": []
}
],
"index": 2,
"docs": [
"Set a solution in the queue, to be handed out to the client of this pallet in the next",
"call to `ElectionProvider::elect`.",
"",
"This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`.",
"",
"The solution is not checked for any feasibility and is assumed to be trustworthy, as any",
"feasibility check itself can in principle cause the election process to fail (due to",
"memory/weight constrains)."
]
},
{
"name": "submit",
"fields": [
{
"name": "raw_solution",
"type": 237,
"typeName": "Box<RawSolution<SolutionOf<T::MinerConfig>>>",
"docs": []
}
],
"index": 3,
"docs": [
"Submit a solution for the signed phase.",
"",
"The dispatch origin fo this call must be __signed__.",
"",
"The solution is potentially queued, based on the claimed score and processed at the end",
"of the signed phase.",
"",
"A deposit is reserved and recorded for the solution. Based on the outcome, the solution",
"might be rewarded, slashed, or get all or a part of the deposit back."
]
},
{
"name": "governance_fallback",
"fields": [
{
"name": "maybe_max_voters",
"type": 141,
"typeName": "Option<u32>",
"docs": []
},
{
"name": "maybe_max_targets",
"type": 141,
"typeName": "Option<u32>",
"docs": []
}
],
"index": 4,
"docs": [
"Trigger the governance fallback.",
"",
"This can only be called when [`Phase::Emergency`] is enabled, as an alternative to",
"calling [`Call::set_emergency_election_result`]."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 237,
"type": {
"path": [
"pallet_election_provider_multi_phase",
"RawSolution"
],
"params": [
{
"name": "S",
"type": 238
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "solution",
"type": 238,
"typeName": "S",
"docs": []
},
{
"name": "score",
"type": 289,
"typeName": "ElectionScore",
"docs": []
},
{
"name": "round",
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 238,
"type": {
"path": [
"polkadot_runtime",
"NposCompactSolution16"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "votes1",
"type": 239,
"docs": []
},
{
"name": "votes2",
"type": 242,
"docs": []
},
{
"name": "votes3",
"type": 247,
"docs": []
},
{
"name": "votes4",
"type": 250,
"docs": []
},
{
"name": "votes5",
"type": 253,
"docs": []
},
{
"name": "votes6",
"type": 256,
"docs": []
},
{
"name": "votes7",
"type": 259,
"docs": []
},
{
"name": "votes8",
"type": 262,
"docs": []
},
{
"name": "votes9",
"type": 265,
"docs": []
},
{
"name": "votes10",
"type": 268,
"docs": []
},
{
"name": "votes11",
"type": 271,
"docs": []
},
{
"name": "votes12",
"type": 274,
"docs": []
},
{
"name": "votes13",
"type": 277,
"docs": []
},
{
"name": "votes14",
"type": 280,
"docs": []
},
{
"name": "votes15",
"type": 283,
"docs": []
},
{
"name": "votes16",
"type": 286,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 239,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 240
},
"docs": []
}
},
{
"id": 240,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
241
]
},
"docs": []
}
},
{
"id": 241,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 77
},
"docs": []
}
},
{
"id": 242,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 243
},
"docs": []
}
},
{
"id": 243,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
244,
241
]
},
"docs": []
}
},
{
"id": 244,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
241,
245
]
},
"docs": []
}
},
{
"id": 245,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 246
},
"docs": []
}
},
{
"id": 246,
"type": {
"path": [
"sp_arithmetic",
"per_things",
"PerU16"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 77,
"typeName": "u16",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 247,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 248
},
"docs": []
}
},
{
"id": 248,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
249,
241
]
},
"docs": []
}
},
{
"id": 249,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 2,
"type": 244
}
},
"docs": []
}
},
{
"id": 250,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 251
},
"docs": []
}
},
{
"id": 251,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
252,
241
]
},
"docs": []
}
},
{
"id": 252,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 3,
"type": 244
}
},
"docs": []
}
},
{
"id": 253,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 254
},
"docs": []
}
},
{
"id": 254,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
255,
241
]
},
"docs": []
}
},
{
"id": 255,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 4,
"type": 244
}
},
"docs": []
}
},
{
"id": 256,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 257
},
"docs": []
}
},
{
"id": 257,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
258,
241
]
},
"docs": []
}
},
{
"id": 258,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 5,
"type": 244
}
},
"docs": []
}
},
{
"id": 259,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 260
},
"docs": []
}
},
{
"id": 260,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
261,
241
]
},
"docs": []
}
},
{
"id": 261,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 6,
"type": 244
}
},
"docs": []
}
},
{
"id": 262,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 263
},
"docs": []
}
},
{
"id": 263,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
264,
241
]
},
"docs": []
}
},
{
"id": 264,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 7,
"type": 244
}
},
"docs": []
}
},
{
"id": 265,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 266
},
"docs": []
}
},
{
"id": 266,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
267,
241
]
},
"docs": []
}
},
{
"id": 267,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 8,
"type": 244
}
},
"docs": []
}
},
{
"id": 268,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 269
},
"docs": []
}
},
{
"id": 269,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
270,
241
]
},
"docs": []
}
},
{
"id": 270,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 9,
"type": 244
}
},
"docs": []
}
},
{
"id": 271,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 272
},
"docs": []
}
},
{
"id": 272,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
273,
241
]
},
"docs": []
}
},
{
"id": 273,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 10,
"type": 244
}
},
"docs": []
}
},
{
"id": 274,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 275
},
"docs": []
}
},
{
"id": 275,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
276,
241
]
},
"docs": []
}
},
{
"id": 276,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 11,
"type": 244
}
},
"docs": []
}
},
{
"id": 277,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 278
},
"docs": []
}
},
{
"id": 278,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
279,
241
]
},
"docs": []
}
},
{
"id": 279,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 12,
"type": 244
}
},
"docs": []
}
},
{
"id": 280,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 281
},
"docs": []
}
},
{
"id": 281,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
282,
241
]
},
"docs": []
}
},
{
"id": 282,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 13,
"type": 244
}
},
"docs": []
}
},
{
"id": 283,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 284
},
"docs": []
}
},
{
"id": 284,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
285,
241
]
},
"docs": []
}
},
{
"id": 285,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 14,
"type": 244
}
},
"docs": []
}
},
{
"id": 286,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 287
},
"docs": []
}
},
{
"id": 287,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
91,
288,
241
]
},
"docs": []
}
},
{
"id": 288,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 15,
"type": 244
}
},
"docs": []
}
},
{
"id": 289,
"type": {
"path": [
"sp_npos_elections",
"ElectionScore"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "minimal_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "sum_stake_squared",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 290,
"type": {
"path": [
"pallet_election_provider_multi_phase",
"SolutionOrSnapshotSize"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "voters",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "targets",
"type": 91,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 291,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 289
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 289,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 292,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 293
},
"docs": []
}
},
{
"id": 293,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
0,
294
]
},
"docs": []
}
},
{
"id": 294,
"type": {
"path": [
"sp_npos_elections",
"Support"
],
"params": [
{
"name": "AccountId",
"type": 0
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "total",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "voters",
"type": 71,
"typeName": "Vec<(AccountId, ExtendedBalance)>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 295,
"type": {
"path": [
"pallet_bags_list",
"pallet",
"Call"
],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "rebag",
"fields": [
{
"name": "dislocated",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Declare that some `dislocated` account has, through rewards or penalties, sufficiently",
"changed its score that it should properly fall into a different bag than its current",
"one.",
"",
"Anyone can call this function about any potentially dislocated account.",
"",
"Will always update the stored score of `dislocated` to the correct score, based on",
"`ScoreProvider`.",
"",
"If `dislocated` does not exists, it returns an error."
]
},
{
"name": "put_in_front_of",
"fields": [
{
"name": "lighter",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"Move the caller's Id directly in front of `lighter`.",
"",
"The dispatch origin for this call must be _Signed_ and can only be called by the Id of",
"the account going in front of `lighter`.",
"",
"Only works if",
"- both nodes are within the same bag,",
"- and `origin` has a greater `Score` than `lighter`."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 296,
"type": {
"path": [
"pallet_nomination_pools",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "join",
"fields": [
{
"name": "amount",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
}
],
"index": 0,
"docs": [
"Stake funds with a pool. The amount to bond is transferred from the member to the",
"pools account and immediately increases the pools bond.",
"",
"# Note",
"",
"* An account can only be a member of a single pool.",
"* An account cannot join the same pool multiple times.",
"* This call will *not* dust the member account, so the member must have at least",
" `existential deposit + amount` in their account.",
"* Only a pool with [`PoolState::Open`] can be joined"
]
},
{
"name": "bond_extra",
"fields": [
{
"name": "extra",
"type": 297,
"typeName": "BondExtra<BalanceOf<T>>",
"docs": []
}
],
"index": 1,
"docs": [
"Bond `extra` more funds from `origin` into the pool to which they already belong.",
"",
"Additional funds can come from either the free balance of the account, of from the",
"accumulated rewards, see [`BondExtra`].",
"",
"Bonding extra funds implies an automatic payout of all pending rewards as well.",
"See `bond_extra_other` to bond pending rewards of `other` members."
]
},
{
"name": "claim_payout",
"fields": [],
"index": 2,
"docs": [
"A bonded member can use this to claim their payout based on the rewards that the pool",
"has accumulated since their last claimed payout (OR since joining if this is their first",
"time claiming rewards). The payout will be transferred to the member's account.",
"",
"The member will earn rewards pro rata based on the members stake vs the sum of the",
"members in the pools stake. Rewards do not \"expire\".",
"",
"See `claim_payout_other` to caim rewards on bahalf of some `other` pool member."
]
},
{
"name": "unbond",
"fields": [
{
"name": "member_account",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "unbonding_points",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 3,
"docs": [
"Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It",
"implicitly collects the rewards one last time, since not doing so would mean some",
"rewards would be forfeited.",
"",
"Under certain conditions, this call can be dispatched permissionlessly (i.e. by any",
"account).",
"",
"# Conditions for a permissionless dispatch.",
"",
"* The pool is blocked and the caller is either the root or bouncer. This is refereed to",
" as a kick.",
"* The pool is destroying and the member is not the depositor.",
"* The pool is destroying, the member is the depositor and no other members are in the",
" pool.",
"",
"## Conditions for permissioned dispatch (i.e. the caller is also the",
"`member_account`):",
"",
"* The caller is not the depositor.",
"* The caller is the depositor, the pool is destroying and no other members are in the",
" pool.",
"",
"# Note",
"",
"If there are too many unlocking chunks to unbond with the pool account,",
"[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.",
"The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]",
"to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks",
"are available). However, it may not be possible to release the current unlocking chunks,",
"in which case, the result of this call will likely be the `NoMoreChunks` error from the",
"staking system."
]
},
{
"name": "pool_withdraw_unbonded",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "num_slashing_spans",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": [
"Call `withdraw_unbonded` for the pools account. This call can be made by any account.",
"",
"This is useful if their are too many unlocking chunks to call `unbond`, and some",
"can be cleared by withdrawing. In the case there are too many unlocking chunks, the user",
"would probably see an error like `NoMoreChunks` emitted from the staking system when",
"they attempt to unbond."
]
},
{
"name": "withdraw_unbonded",
"fields": [
{
"name": "member_account",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "num_slashing_spans",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 5,
"docs": [
"Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an",
"error is returned.",
"",
"Under certain conditions, this call can be dispatched permissionlessly (i.e. by any",
"account).",
"",
"# Conditions for a permissionless dispatch",
"",
"* The pool is in destroy mode and the target is not the depositor.",
"* The target is the depositor and they are the only member in the sub pools.",
"* The pool is blocked and the caller is either the root or bouncer.",
"",
"# Conditions for permissioned dispatch",
"",
"* The caller is the target and they are not the depositor.",
"",
"# Note",
"",
"If the target is the depositor, the pool will be destroyed."
]
},
{
"name": "create",
"fields": [
{
"name": "amount",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "root",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "nominator",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "bouncer",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 6,
"docs": [
"Create a new delegation pool.",
"",
"# Arguments",
"",
"* `amount` - The amount of funds to delegate to the pool. This also acts of a sort of",
" deposit since the pools creator cannot fully unbond funds until the pool is being",
" destroyed.",
"* `index` - A disambiguation index for creating the account. Likely only useful when",
" creating multiple pools in the same extrinsic.",
"* `root` - The account to set as [`PoolRoles::root`].",
"* `nominator` - The account to set as the [`PoolRoles::nominator`].",
"* `bouncer` - The account to set as the [`PoolRoles::bouncer`].",
"",
"# Note",
"",
"In addition to `amount`, the caller will transfer the existential deposit; so the caller",
"needs at have at least `amount + existential_deposit` transferrable."
]
},
{
"name": "create_with_pool_id",
"fields": [
{
"name": "amount",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "root",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "nominator",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "bouncer",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
}
],
"index": 7,
"docs": [
"Create a new delegation pool with a previously used pool id",
"",
"# Arguments",
"",
"same as `create` with the inclusion of",
"* `pool_id` - `A valid PoolId."
]
},
{
"name": "nominate",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "validators",
"type": 104,
"typeName": "Vec<T::AccountId>",
"docs": []
}
],
"index": 8,
"docs": [
"Nominate on behalf of the pool.",
"",
"The dispatch origin of this call must be signed by the pool nominator or the pool",
"root role.",
"",
"This directly forward the call to the staking pallet, on behalf of the pool bonded",
"account."
]
},
{
"name": "set_state",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "state",
"type": 298,
"typeName": "PoolState",
"docs": []
}
],
"index": 9,
"docs": [
"Set a new state for the pool.",
"",
"If a pool is already in the `Destroying` state, then under no condition can its state",
"change again.",
"",
"The dispatch origin of this call must be either:",
"",
"1. signed by the bouncer, or the root role of the pool,",
"2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and",
" then the state of the pool can be permissionlessly changed to `Destroying`."
]
},
{
"name": "set_metadata",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "metadata",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 10,
"docs": [
"Set a new metadata for the pool.",
"",
"The dispatch origin of this call must be signed by the bouncer, or the root role of the",
"pool."
]
},
{
"name": "set_configs",
"fields": [
{
"name": "min_join_bond",
"type": 299,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "min_create_bond",
"type": 299,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "max_pools",
"type": 300,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "max_members",
"type": 300,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "max_members_per_pool",
"type": 300,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "global_max_commission",
"type": 301,
"typeName": "ConfigOp<Perbill>",
"docs": []
}
],
"index": 11,
"docs": [
"Update configurations for the nomination pools. The origin for this call must be",
"Root.",
"",
"# Arguments",
"",
"* `min_join_bond` - Set [`MinJoinBond`].",
"* `min_create_bond` - Set [`MinCreateBond`].",
"* `max_pools` - Set [`MaxPools`].",
"* `max_members` - Set [`MaxPoolMembers`].",
"* `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].",
"* `global_max_commission` - Set [`GlobalMaxCommission`]."
]
},
{
"name": "update_roles",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "new_root",
"type": 302,
"typeName": "ConfigOp<T::AccountId>",
"docs": []
},
{
"name": "new_nominator",
"type": 302,
"typeName": "ConfigOp<T::AccountId>",
"docs": []
},
{
"name": "new_bouncer",
"type": 302,
"typeName": "ConfigOp<T::AccountId>",
"docs": []
}
],
"index": 12,
"docs": [
"Update the roles of the pool.",
"",
"The root is the only entity that can change any of the roles, including itself,",
"excluding the depositor, who can never change.",
"",
"It emits an event, notifying UIs of the role change. This event is quite relevant to",
"most pool members and they should be informed of changes to pool roles."
]
},
{
"name": "chill",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
}
],
"index": 13,
"docs": [
"Chill on behalf of the pool.",
"",
"The dispatch origin of this call must be signed by the pool nominator or the pool",
"root role, same as [`Pallet::nominate`].",
"",
"This directly forward the call to the staking pallet, on behalf of the pool bonded",
"account."
]
},
{
"name": "bond_extra_other",
"fields": [
{
"name": "member",
"type": 100,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "extra",
"type": 297,
"typeName": "BondExtra<BalanceOf<T>>",
"docs": []
}
],
"index": 14,
"docs": [
"`origin` bonds funds from `extra` for some pool member `member` into their respective",
"pools.",
"",
"`origin` can bond extra funds from free balance or pending rewards when `origin ==",
"other`.",
"",
"In the case of `origin != other`, `origin` can only bond extra pending rewards of",
"`other` members assuming set_claim_permission for the given member is",
"`PermissionlessAll` or `PermissionlessCompound`."
]
},
{
"name": "set_claim_permission",
"fields": [
{
"name": "permission",
"type": 303,
"typeName": "ClaimPermission",
"docs": []
}
],
"index": 15,
"docs": [
"Allows a pool member to set a claim permission to allow or disallow permissionless",
"bonding and withdrawing.",
"",
"By default, this is `Permissioned`, which implies only the pool member themselves can",
"claim their pending rewards. If a pool member wishes so, they can set this to",
"`PermissionlessAll` to allow any account to claim their rewards and bond extra to the",
"pool.",
"",
"# Arguments",
"",
"* `origin` - Member of a pool.",
"* `actor` - Account to claim reward. // improve this"
]
},
{
"name": "claim_payout_other",
"fields": [
{
"name": "other",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 16,
"docs": [
"`origin` can claim payouts on some pool member `other`'s behalf.",
"",
"Pool member `other` must have a `PermissionlessAll` or `PermissionlessWithdraw` in order",
"for this call to be successful."
]
},
{
"name": "set_commission",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "new_commission",
"type": 304,
"typeName": "Option<(Perbill, T::AccountId)>",
"docs": []
}
],
"index": 17,
"docs": [
"Set the commission of a pool.",
"Both a commission percentage and a commission payee must be provided in the `current`",
"tuple. Where a `current` of `None` is provided, any current commission will be removed.",
"",
"- If a `None` is supplied to `new_commission`, existing commission will be removed."
]
},
{
"name": "set_commission_max",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "max_commission",
"type": 41,
"typeName": "Perbill",
"docs": []
}
],
"index": 18,
"docs": [
"Set the maximum commission of a pool.",
"",
"- Initial max can be set to any `Perbill`, and only smaller values thereafter.",
"- Current commission will be lowered in the event it is higher than a new max",
" commission."
]
},
{
"name": "set_commission_change_rate",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "change_rate",
"type": 306,
"typeName": "CommissionChangeRate<T::BlockNumber>",
"docs": []
}
],
"index": 19,
"docs": [
"Set the commission change rate for a pool.",
"",
"Initial change rate is not bounded, whereas subsequent updates can only be more",
"restrictive than the current."
]
},
{
"name": "claim_commission",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
}
],
"index": 20,
"docs": [
"Claim pending commission.",
"",
"The dispatch origin of this call must be signed by the `root` role of the pool. Pending",
"commission is paid out and added to total claimed commission`. Total pending commission",
"is reset to zero. the current."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 297,
"type": {
"path": [
"pallet_nomination_pools",
"BondExtra"
],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "FreeBalance",
"fields": [
{
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Rewards",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 298,
"type": {
"path": [
"pallet_nomination_pools",
"PoolState"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Open",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Blocked",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Destroying",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 299,
"type": {
"path": [
"pallet_nomination_pools",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 6
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 6,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 300,
"type": {
"path": [
"pallet_nomination_pools",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 4,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 301,
"type": {
"path": [
"pallet_nomination_pools",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 41
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 41,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 302,
"type": {
"path": [
"pallet_nomination_pools",
"ConfigOp"
],
"params": [
{
"name": "T",
"type": 0
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 0,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 303,
"type": {
"path": [
"pallet_nomination_pools",
"ClaimPermission"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Permissioned",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "PermissionlessCompound",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "PermissionlessWithdraw",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "PermissionlessAll",
"fields": [],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 304,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 305
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 305,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 305,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
41,
0
]
},
"docs": []
}
},
{
"id": 306,
"type": {
"path": [
"pallet_nomination_pools",
"CommissionChangeRate"
],
"params": [
{
"name": "BlockNumber",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "max_increase",
"type": 41,
"typeName": "Perbill",
"docs": []
},
{
"name": "min_delay",
"type": 4,
"typeName": "BlockNumber",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 307,
"type": {
"path": [
"pallet_fast_unstake",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "register_fast_unstake",
"fields": [],
"index": 0,
"docs": [
"Register oneself for fast-unstake.",
"",
"The dispatch origin of this call must be signed by the controller account, similar to",
"`staking::unbond`.",
"",
"The stash associated with the origin must have no ongoing unlocking chunks. If",
"successful, this will fully unbond and chill the stash. Then, it will enqueue the stash",
"to be checked in further blocks.",
"",
"If by the time this is called, the stash is actually eligible for fast-unstake, then",
"they are guaranteed to remain eligible, because the call will chill them as well.",
"",
"If the check works, the entire staking data is removed, i.e. the stash is fully",
"unstaked.",
"",
"If the check fails, the stash remains chilled and waiting for being unbonded as in with",
"the normal staking system, but they lose part of their unbonding chunks due to consuming",
"the chain's resources."
]
},
{
"name": "deregister",
"fields": [],
"index": 1,
"docs": [
"Deregister oneself from the fast-unstake.",
"",
"This is useful if one is registered, they are still waiting, and they change their mind.",
"",
"Note that the associated stash is still fully unbonded and chilled as a consequence of",
"calling `register_fast_unstake`. This should probably be followed by a call to",
"`Staking::rebond`."
]
},
{
"name": "control",
"fields": [
{
"name": "eras_to_check",
"type": 4,
"typeName": "EraIndex",
"docs": []
}
],
"index": 2,
"docs": [
"Control the operation of this pallet.",
"",
"Dispatch origin must be signed by the [`Config::ControlOrigin`]."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 308,
"type": {
"path": [
"polkadot_runtime_parachains",
"configuration",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "set_validation_upgrade_cooldown",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 0,
"docs": [
"Set the validation upgrade cooldown."
]
},
{
"name": "set_validation_upgrade_delay",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 1,
"docs": [
"Set the validation upgrade delay."
]
},
{
"name": "set_code_retention_period",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 2,
"docs": [
"Set the acceptance period for an included candidate."
]
},
{
"name": "set_max_code_size",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"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": []
}
],
"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": []
}
],
"index": 5,
"docs": [
"Set the max head data size for paras."
]
},
{
"name": "set_parathread_cores",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 6,
"docs": [
"Set the number of parathread execution cores."
]
},
{
"name": "set_parathread_retries",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"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": []
}
],
"index": 8,
"docs": [
"Set the parachain validator-group rotation frequency"
]
},
{
"name": "set_chain_availability_period",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 9,
"docs": [
"Set the availability period for parachains."
]
},
{
"name": "set_thread_availability_period",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 10,
"docs": [
"Set the availability period for parathreads."
]
},
{
"name": "set_scheduling_lookahead",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 11,
"docs": [
"Set the scheduling lookahead, in expected number of blocks at peak throughput."
]
},
{
"name": "set_max_validators_per_core",
"fields": [
{
"name": "new",
"type": 141,
"typeName": "Option<u32>",
"docs": []
}
],
"index": 12,
"docs": [
"Set the maximum number of validators to assign to any core."
]
},
{
"name": "set_max_validators",
"fields": [
{
"name": "new",
"type": 141,
"typeName": "Option<u32>",
"docs": []
}
],
"index": 13,
"docs": [
"Set the maximum number of validators to use in parachain consensus."
]
},
{
"name": "set_dispute_period",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "SessionIndex",
"docs": []
}
],
"index": 14,
"docs": [
"Set the dispute period, in number of sessions to keep for disputes."
]
},
{
"name": "set_dispute_post_conclusion_acceptance_period",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 15,
"docs": [
"Set the dispute post conclusion acceptance period."
]
},
{
"name": "set_no_show_slots",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 18,
"docs": [
"Set the no show slots, in number of number of consensus slots.",
"Must be at least 1."
]
},
{
"name": "set_n_delay_tranches",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 19,
"docs": [
"Set the total number of delay tranches."
]
},
{
"name": "set_zeroth_delay_tranche_width",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 20,
"docs": [
"Set the zeroth delay tranche width."
]
},
{
"name": "set_needed_approvals",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 21,
"docs": [
"Set the number of validators needed to approve a block."
]
},
{
"name": "set_relay_vrf_modulo_samples",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 22,
"docs": [
"Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion."
]
},
{
"name": "set_max_upward_queue_count",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 23,
"docs": [
"Sets the maximum items that can present in a upward dispatch queue at once."
]
},
{
"name": "set_max_upward_queue_size",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 24,
"docs": [
"Sets the maximum total size of items that can present in a upward dispatch queue at once."
]
},
{
"name": "set_max_downward_message_size",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 25,
"docs": [
"Set the critical downward message size."
]
},
{
"name": "set_max_upward_message_size",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 27,
"docs": [
"Sets the maximum size of an upward message that can be sent by a candidate."
]
},
{
"name": "set_max_upward_message_num_per_candidate",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 28,
"docs": [
"Sets the maximum number of messages that a candidate can contain."
]
},
{
"name": "set_hrmp_open_request_ttl",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 29,
"docs": [
"Sets the number of sessions after which an HRMP open channel request expires."
]
},
{
"name": "set_hrmp_sender_deposit",
"fields": [
{
"name": "new",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 30,
"docs": [
"Sets the amount of funds that the sender should provide for opening an HRMP channel."
]
},
{
"name": "set_hrmp_recipient_deposit",
"fields": [
{
"name": "new",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"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": []
}
],
"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": []
}
],
"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": []
}
],
"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": []
}
],
"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",
"docs": []
}
],
"index": 36,
"docs": [
"Sets the maximum size of a message that could ever be put into an HRMP channel."
]
},
{
"name": "set_hrmp_max_parachain_outbound_channels",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 37,
"docs": [
"Sets the maximum number of outbound HRMP channels a parachain is allowed to open."
]
},
{
"name": "set_hrmp_max_parathread_outbound_channels",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 38,
"docs": [
"Sets the maximum number of outbound HRMP channels a parathread is allowed to open."
]
},
{
"name": "set_hrmp_max_message_num_per_candidate",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 39,
"docs": [
"Sets the maximum number of outbound HRMP messages can be sent by a candidate."
]
},
{
"name": "set_pvf_checking_enabled",
"fields": [
{
"name": "new",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 41,
"docs": [
"Enable or disable PVF pre-checking. Consult the field documentation prior executing."
]
},
{
"name": "set_pvf_voting_ttl",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "SessionIndex",
"docs": []
}
],
"index": 42,
"docs": [
"Set the number of session changes after which a PVF pre-checking voting is rejected."
]
},
{
"name": "set_minimum_validation_upgrade_delay",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 43,
"docs": [
"Sets the minimum delay between announcing the upgrade block for a parachain until the",
"upgrade taking place.",
"",
"See the field documentation for information and constraints for the new value."
]
},
{
"name": "set_bypass_consistency_check",
"fields": [
{
"name": "new",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 44,
"docs": [
"Setting this to true will disable consistency checks for the configuration setters.",
"Use with caution."
]
},
{
"name": "set_async_backing_params",
"fields": [
{
"name": "new",
"type": 309,
"typeName": "AsyncBackingParams",
"docs": []
}
],
"index": 45,
"docs": [
"Set the asynchronous backing parameters."
]
},
{
"name": "set_executor_params",
"fields": [
{
"name": "new",
"type": 310,
"typeName": "ExecutorParams",
"docs": []
}
],
"index": 46,
"docs": [
"Set PVF executor parameters."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 309,
"type": {
"path": [
"polkadot_primitives",
"vstaging",
"AsyncBackingParams"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "max_candidate_depth",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "allowed_ancestry_len",
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 310,
"type": {
"path": [
"polkadot_primitives",
"v4",
"executor_params",
"ExecutorParams"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 311,
"typeName": "Vec<ExecutorParam>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 311,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 312
},
"docs": []
}
},
{
"id": 312,
"type": {
"path": [
"polkadot_primitives",
"v4",
"executor_params",
"ExecutorParam"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "MaxMemoryPages",
"fields": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "StackLogicalMax",
"fields": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "StackNativeMax",
"fields": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PrecheckingMaxMemory",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "PvfPrepTimeout",
"fields": [
{
"type": 313,
"typeName": "PvfPrepTimeoutKind",
"docs": []
},
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "PvfExecTimeout",
"fields": [
{
"type": 314,
"typeName": "PvfExecTimeoutKind",
"docs": []
},
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "WasmExtBulkMemory",
"fields": [],
"index": 7,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 313,
"type": {
"path": [
"polkadot_primitives",
"v4",
"PvfPrepTimeoutKind"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Precheck",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Lenient",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 314,
"type": {
"path": [
"polkadot_primitives",
"v4",
"PvfExecTimeoutKind"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Backing",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Approval",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 315,
"type": {
"path": [
"polkadot_runtime_parachains",
"shared",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": []
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 316,
"type": {
"path": [
"polkadot_runtime_parachains",
"inclusion",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": []
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 317,
"type": {
"path": [
"polkadot_runtime_parachains",
"paras_inherent",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "enter",
"fields": [
{
"name": "data",
"type": 318,
"typeName": "ParachainsInherentData<T::Header>",
"docs": []
}
],
"index": 0,
"docs": [
"Enter the paras inherent. This will process bitfields and backed candidates."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 318,
"type": {
"path": [
"polkadot_primitives",
"v4",
"InherentData"
],
"params": [
{
"name": "HDR",
"type": 89
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "bitfields",
"type": 319,
"typeName": "UncheckedSignedAvailabilityBitfields",
"docs": []
},
{
"name": "backed_candidates",
"type": 326,
"typeName": "Vec<BackedCandidate<HDR::Hash>>",
"docs": []
},
{
"name": "disputes",
"type": 343,
"typeName": "MultiDisputeStatementSet",
"docs": []
},
{
"name": "parent_header",
"type": 89,
"typeName": "HDR",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 319,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 320
},
"docs": []
}
},
{
"id": 320,
"type": {
"path": [
"polkadot_primitives",
"v4",
"signed",
"UncheckedSigned"
],
"params": [
{
"name": "Payload",
"type": 321
},
{
"name": "RealPayload",
"type": 321
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "payload",
"type": 321,
"typeName": "Payload",
"docs": []
},
{
"name": "validator_index",
"type": 324,
"typeName": "ValidatorIndex",
"docs": []
},
{
"name": "signature",
"type": 325,
"typeName": "ValidatorSignature",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 321,
"type": {
"path": [
"polkadot_primitives",
"v4",
"AvailabilityBitfield"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 322,
"typeName": "BitVec<u8, bitvec::order::Lsb0>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 322,
"type": {
"path": [],
"params": [],
"def": {
"tag": "bitSequence",
"value": {
"bitStoreType": 2,
"bitOrderType": 323
}
},
"docs": []
}
},
{
"id": 323,
"type": {
"path": [
"bitvec",
"order",
"Lsb0"
],
"params": [],
"def": {
"tag": "composite",
"value": []
},
"docs": []
}
},
{
"id": 324,
"type": {
"path": [
"polkadot_primitives",
"v4",
"ValidatorIndex"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 325,
"type": {
"path": [
"polkadot_primitives",
"v4",
"validator_app",
"Signature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 138,
"typeName": "sr25519::Signature",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 326,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 327
},
"docs": []
}
},
{
"id": 327,
"type": {
"path": [
"polkadot_primitives",
"v4",
"BackedCandidate"
],
"params": [
{
"name": "H",
"type": 12
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "candidate",
"type": 328,
"typeName": "CommittedCandidateReceipt<H>",
"docs": []
},
{
"name": "validity_votes",
"type": 341,
"typeName": "Vec<ValidityAttestation>",
"docs": []
},
{
"name": "validator_indices",
"type": 322,
"typeName": "BitVec<u8, bitvec::order::Lsb0>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 328,
"type": {
"path": [
"polkadot_primitives",
"v4",
"CommittedCandidateReceipt"
],
"params": [
{
"name": "H",
"type": 12
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "descriptor",
"type": 329,
"typeName": "CandidateDescriptor<H>",
"docs": []
},
{
"name": "commitments",
"type": 333,
"typeName": "CandidateCommitments",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 329,
"type": {
"path": [
"polkadot_primitives",
"v4",
"CandidateDescriptor"
],
"params": [
{
"name": "H",
"type": 12
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "para_id",
"type": 162,
"typeName": "Id",
"docs": []
},
{
"name": "relay_parent",
"type": 12,
"typeName": "H",
"docs": []
},
{
"name": "collator",
"type": 330,
"typeName": "CollatorId",
"docs": []
},
{
"name": "persisted_validation_data_hash",
"type": 12,
"typeName": "Hash",
"docs": []
},
{
"name": "pov_hash",
"type": 12,
"typeName": "Hash",
"docs": []
},
{
"name": "erasure_root",
"type": 12,
"typeName": "Hash",
"docs": []
},
{
"name": "signature",
"type": 331,
"typeName": "CollatorSignature",
"docs": []
},
{
"name": "para_head",
"type": 12,
"typeName": "Hash",
"docs": []
},
{
"name": "validation_code_hash",
"type": 332,
"typeName": "ValidationCodeHash",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 330,
"type": {
"path": [
"polkadot_primitives",
"v4",
"collator_app",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 56,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 331,
"type": {
"path": [
"polkadot_primitives",
"v4",
"collator_app",
"Signature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 138,
"typeName": "sr25519::Signature",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 332,
"type": {
"path": [
"polkadot_parachain",
"primitives",
"ValidationCodeHash"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 12,
"typeName": "Hash",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 333,
"type": {
"path": [
"polkadot_primitives",
"v4",
"CandidateCommitments"
],
"params": [
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "upward_messages",
"type": 334,
"typeName": "UpwardMessages",
"docs": []
},
{
"name": "horizontal_messages",
"type": 335,
"typeName": "HorizontalMessages",
"docs": []
},
{
"name": "new_validation_code",
"type": 338,
"typeName": "Option<ValidationCode>",
"docs": []
},
{
"name": "head_data",
"type": 340,
"typeName": "HeadData",
"docs": []
},
{
"name": "processed_downward_messages",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "hrmp_watermark",
"type": 4,
"typeName": "N",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 334,
"type": {
"path": [
"bounded_collections",
"bounded_vec",
"BoundedVec"
],
"params": [
{
"name": "T",
"type": 13
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 83,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 335,
"type": {
"path": [
"bounded_collections",
"bounded_vec",
"BoundedVec"
],
"params": [
{
"name": "T",
"type": 336
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 337,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 336,
"type": {
"path": [
"polkadot_core_primitives",
"OutboundHrmpMessage"
],
"params": [
{
"name": "Id",
"type": 162
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "recipient",
"type": 162,
"typeName": "Id",
"docs": []
},
{
"name": "data",
"type": 13,
"typeName": "sp_std::vec::Vec<u8>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 337,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 336
},
"docs": []
}
},
{
"id": 338,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 339
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 339,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 339,
"type": {
"path": [
"polkadot_parachain",
"primitives",
"ValidationCode"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 340,
"type": {
"path": [
"polkadot_parachain",
"primitives",
"HeadData"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 341,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 342
},
"docs": []
}
},
{
"id": 342,
"type": {
"path": [
"polkadot_primitives",
"v4",
"ValidityAttestation"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Implicit",
"fields": [
{
"type": 325,
"typeName": "ValidatorSignature",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Explicit",
"fields": [
{
"type": 325,
"typeName": "ValidatorSignature",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 343,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 344
},
"docs": []
}
},
{
"id": 344,
"type": {
"path": [
"polkadot_primitives",
"v4",
"DisputeStatementSet"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "candidate_hash",
"type": 345,
"typeName": "CandidateHash",
"docs": []
},
{
"name": "session",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "statements",
"type": 346,
"typeName": "Vec<(DisputeStatement, ValidatorIndex, ValidatorSignature)>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 345,
"type": {
"path": [
"polkadot_core_primitives",
"CandidateHash"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 12,
"typeName": "Hash",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 346,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 347
},
"docs": []
}
},
{
"id": 347,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
348,
324,
325
]
},
"docs": []
}
},
{
"id": 348,
"type": {
"path": [
"polkadot_primitives",
"v4",
"DisputeStatement"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Valid",
"fields": [
{
"type": 349,
"typeName": "ValidDisputeStatementKind",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Invalid",
"fields": [
{
"type": 350,
"typeName": "InvalidDisputeStatementKind",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 349,
"type": {
"path": [
"polkadot_primitives",
"v4",
"ValidDisputeStatementKind"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Explicit",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "BackingSeconded",
"fields": [
{
"type": 12,
"typeName": "Hash",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "BackingValid",
"fields": [
{
"type": 12,
"typeName": "Hash",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "ApprovalChecking",
"fields": [],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 350,
"type": {
"path": [
"polkadot_primitives",
"v4",
"InvalidDisputeStatementKind"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Explicit",
"fields": [],
"index": 0,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 351,
"type": {
"path": [
"polkadot_runtime_parachains",
"paras",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "force_set_current_code",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_code",
"type": 339,
"typeName": "ValidationCode",
"docs": []
}
],
"index": 0,
"docs": [
"Set the storage for the parachain validation code immediately."
]
},
{
"name": "force_set_current_head",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_head",
"type": 340,
"typeName": "HeadData",
"docs": []
}
],
"index": 1,
"docs": [
"Set the storage for the current parachain head data immediately."
]
},
{
"name": "force_schedule_code_upgrade",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_code",
"type": 339,
"typeName": "ValidationCode",
"docs": []
},
{
"name": "relay_parent_number",
"type": 4,
"typeName": "T::BlockNumber",
"docs": []
}
],
"index": 2,
"docs": [
"Schedule an upgrade as if it was scheduled in the given relay parent block."
]
},
{
"name": "force_note_new_head",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_head",
"type": 340,
"typeName": "HeadData",
"docs": []
}
],
"index": 3,
"docs": [
"Note a new block head for para within the context of the current block."
]
},
{
"name": "force_queue_action",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 4,
"docs": [
"Put a parachain directly into the next session's action queue.",
"We can't queue it any sooner than this without going into the",
"initializer..."
]
},
{
"name": "add_trusted_validation_code",
"fields": [
{
"name": "validation_code",
"type": 339,
"typeName": "ValidationCode",
"docs": []
}
],
"index": 5,
"docs": [
"Adds the validation code to the storage.",
"",
"The code will not be added if it is already present. Additionally, if PVF pre-checking",
"is running for that code, it will be instantly accepted.",
"",
"Otherwise, the code will be added into the storage. Note that the code will be added",
"into storage with reference count 0. This is to account the fact that there are no users",
"for this code yet. The caller will have to make sure that this code eventually gets",
"used by some parachain or removed from the storage to avoid storage leaks. For the latter",
"prefer to use the `poke_unused_validation_code` dispatchable to raw storage manipulation.",
"",
"This function is mainly meant to be used for upgrading parachains that do not follow",
"the go-ahead signal while the PVF pre-checking feature is enabled."
]
},
{
"name": "poke_unused_validation_code",
"fields": [
{
"name": "validation_code_hash",
"type": 332,
"typeName": "ValidationCodeHash",
"docs": []
}
],
"index": 6,
"docs": [
"Remove the validation code from the storage iff the reference count is 0.",
"",
"This is better than removing the storage directly, because it will not remove the code",
"that was suddenly got used by some parachain while this dispatchable was pending",
"dispatching."
]
},
{
"name": "include_pvf_check_statement",
"fields": [
{
"name": "stmt",
"type": 352,
"typeName": "PvfCheckStatement",
"docs": []
},
{
"name": "signature",
"type": 325,
"typeName": "ValidatorSignature",
"docs": []
}
],
"index": 7,
"docs": [
"Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and",
"enacts the results if that was the last vote before achieving the supermajority."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 352,
"type": {
"path": [
"polkadot_primitives",
"v4",
"PvfCheckStatement"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "accept",
"type": 44,
"typeName": "bool",
"docs": []
},
{
"name": "subject",
"type": 332,
"typeName": "ValidationCodeHash",
"docs": []
},
{
"name": "session_index",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "validator_index",
"type": 324,
"typeName": "ValidatorIndex",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 353,
"type": {
"path": [
"polkadot_runtime_parachains",
"initializer",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "force_approve",
"fields": [
{
"name": "up_to",
"type": 4,
"typeName": "BlockNumber",
"docs": []
}
],
"index": 0,
"docs": [
"Issue a signal to the consensus engine to forcibly act as though all parachain",
"blocks in all relay chain blocks up to and including the given number in the current",
"chain are valid and should be finalized."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 354,
"type": {
"path": [
"polkadot_runtime_parachains",
"hrmp",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "hrmp_init_open_channel",
"fields": [
{
"name": "recipient",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "proposed_max_capacity",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "proposed_max_message_size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": [
"Initiate opening a channel from a parachain to a given recipient with given channel",
"parameters.",
"",
"- `proposed_max_capacity` - specifies how many messages can be in the channel at once.",
"- `proposed_max_message_size` - specifies the maximum size of the messages.",
"",
"These numbers are a subject to the relay-chain configuration limits.",
"",
"The channel can be opened only after the recipient confirms it and only on a session",
"change."
]
},
{
"name": "hrmp_accept_open_channel",
"fields": [
{
"name": "sender",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 1,
"docs": [
"Accept a pending open channel request from the given sender.",
"",
"The channel will be opened only on the next session boundary."
]
},
{
"name": "hrmp_close_channel",
"fields": [
{
"name": "channel_id",
"type": 355,
"typeName": "HrmpChannelId",
"docs": []
}
],
"index": 2,
"docs": [
"Initiate unilateral closing of a channel. The origin must be either the sender or the",
"recipient in the channel being closed.",
"",
"The closure can only happen on a session change."
]
},
{
"name": "force_clean_hrmp",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "inbound",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "outbound",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"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": []
}
],
"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": []
}
],
"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": 355,
"typeName": "HrmpChannelId",
"docs": []
},
{
"name": "open_requests",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 6,
"docs": [
"This cancels a pending open channel request. It can be canceled by either of the sender",
"or the recipient for that request. The origin must be either of those.",
"",
"The cancellation happens immediately. It is not possible to cancel the request if it is",
"already accepted.",
"",
"Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as",
"witness data."
]
},
{
"name": "force_open_hrmp_channel",
"fields": [
{
"name": "sender",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "max_capacity",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": [
"Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although",
"opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay",
"Chain's configured limits.",
"",
"Expected use is when one of the `ParaId`s involved in the channel is governed by the",
"Relay Chain, e.g. a common good parachain."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 355,
"type": {
"path": [
"polkadot_parachain",
"primitives",
"HrmpChannelId"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "sender",
"type": 162,
"typeName": "Id",
"docs": []
},
{
"name": "recipient",
"type": 162,
"typeName": "Id",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 356,
"type": {
"path": [
"polkadot_runtime_parachains",
"disputes",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "force_unfreeze",
"fields": [],
"index": 0,
"docs": []
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 357,
"type": {
"path": [
"polkadot_runtime_parachains",
"disputes",
"slashing",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "report_dispute_lost_unsigned",
"fields": [
{
"name": "dispute_proof",
"type": 358,
"typeName": "Box<DisputeProof>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 94,
"typeName": "T::KeyOwnerProof",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 358,
"type": {
"path": [
"polkadot_runtime_parachains",
"disputes",
"slashing",
"DisputeProof"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "time_slot",
"type": 359,
"typeName": "DisputesTimeSlot",
"docs": []
},
{
"name": "kind",
"type": 360,
"typeName": "SlashingOffenceKind",
"docs": []
},
{
"name": "validator_index",
"type": 324,
"typeName": "ValidatorIndex",
"docs": []
},
{
"name": "validator_id",
"type": 116,
"typeName": "ValidatorId",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 359,
"type": {
"path": [
"polkadot_runtime_parachains",
"disputes",
"slashing",
"DisputesTimeSlot"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "session_index",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "candidate_hash",
"type": 345,
"typeName": "CandidateHash",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 360,
"type": {
"path": [
"polkadot_runtime_parachains",
"disputes",
"slashing",
"SlashingOffenceKind"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "ForInvalid",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "AgainstValid",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 361,
"type": {
"path": [
"polkadot_runtime_common",
"paras_registrar",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "register",
"fields": [
{
"name": "id",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "genesis_head",
"type": 340,
"typeName": "HeadData",
"docs": []
},
{
"name": "validation_code",
"type": 339,
"typeName": "ValidationCode",
"docs": []
}
],
"index": 0,
"docs": [
"Register head data and validation code for a reserved Para Id.",
"",
"## Arguments",
"- `origin`: Must be called by a `Signed` origin.",
"- `id`: The para ID. Must be owned/managed by the `origin` signing account.",
"- `genesis_head`: The genesis head data of the parachain/thread.",
"- `validation_code`: The initial validation code of the parachain/thread.",
"",
"## Deposits/Fees",
"The origin signed account must reserve a corresponding deposit for the registration. Anything already",
"reserved previously for this para ID is accounted for.",
"",
"## Events",
"The `Registered` event is emitted in case of success."
]
},
{
"name": "force_register",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "id",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "genesis_head",
"type": 340,
"typeName": "HeadData",
"docs": []
},
{
"name": "validation_code",
"type": 339,
"typeName": "ValidationCode",
"docs": []
}
],
"index": 1,
"docs": [
"Force the registration of a Para Id on the relay chain.",
"",
"This function must be called by a Root origin.",
"",
"The deposit taken can be specified for this registration. Any `ParaId`",
"can be registered, including sub-1000 IDs which are System Parachains."
]
},
{
"name": "deregister",
"fields": [
{
"name": "id",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 2,
"docs": [
"Deregister a Para Id, freeing all data and returning any deposit.",
"",
"The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread."
]
},
{
"name": "swap",
"fields": [
{
"name": "id",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "other",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 3,
"docs": [
"Swap a parachain with another parachain or parathread.",
"",
"The origin must be Root, the `para` owner, or the `para` itself.",
"",
"The swap will happen only if there is already an opposite swap pending. If there is not,",
"the swap will be stored in the pending swaps map, ready for a later confirmatory swap.",
"",
"The `ParaId`s remain mapped to the same head data and code so external code can rely on",
"`ParaId` to be a long-term identifier of a notional \"parachain\". However, their",
"scheduling info (i.e. whether they're a parathread or parachain), auction information",
"and the auction deposit are switched."
]
},
{
"name": "remove_lock",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 4,
"docs": [
"Remove a manager lock from a para. This will allow the manager of a",
"previously locked para to deregister or swap a para without using governance.",
"",
"Can only be called by the Root origin or the parachain."
]
},
{
"name": "reserve",
"fields": [],
"index": 5,
"docs": [
"Reserve a Para Id on the relay chain.",
"",
"This function will reserve a new Para Id to be owned/managed by the origin account.",
"The origin account is able to register head data and validation code using `register` to create",
"a parathread. Using the Slots pallet, a parathread can then be upgraded to get a parachain slot.",
"",
"## Arguments",
"- `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new para ID.",
"",
"## Deposits/Fees",
"The origin must reserve a deposit of `ParaDeposit` for the registration.",
"",
"## Events",
"The `Reserved` event is emitted in case of success, which provides the ID reserved for use."
]
},
{
"name": "add_lock",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 6,
"docs": [
"Add a manager lock from a para. This will prevent the manager of a",
"para to deregister or swap a para.",
"",
"Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."
]
},
{
"name": "schedule_code_upgrade",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_code",
"type": 339,
"typeName": "ValidationCode",
"docs": []
}
],
"index": 7,
"docs": [
"Schedule a parachain upgrade.",
"",
"Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."
]
},
{
"name": "set_current_head",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_head",
"type": 340,
"typeName": "HeadData",
"docs": []
}
],
"index": 8,
"docs": [
"Set the parachain's current head.",
"",
"Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 362,
"type": {
"path": [
"polkadot_runtime_common",
"slots",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "force_lease",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "leaser",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "period_begin",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "period_count",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Just a connect into the `lease_out` call, in case Root wants to force some lease to happen",
"independently of any other on-chain mechanism to use it.",
"",
"The dispatch origin for this call must match `T::ForceOrigin`."
]
},
{
"name": "clear_all_leases",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 1,
"docs": [
"Clear all leases for a Para Id, refunding any deposits back to the original owners.",
"",
"The dispatch origin for this call must match `T::ForceOrigin`."
]
},
{
"name": "trigger_onboard",
"fields": [
{
"name": "para",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 2,
"docs": [
"Try to onboard a parachain that has a lease for the current lease period.",
"",
"This function can be useful if there was some state issue with a para that should",
"have onboarded, but was unable to. As long as they have a lease period, we can",
"let them onboard from here.",
"",
"Origin must be signed, but can be called by anyone."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 363,
"type": {
"path": [
"polkadot_runtime_common",
"auctions",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "new_auction",
"fields": [
{
"name": "duration",
"type": 91,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "lease_period_index",
"type": 91,
"typeName": "LeasePeriodOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Create a new auction.",
"",
"This can only happen when there isn't already an auction in progress and may only be",
"called by the root origin. Accepts the `duration` of this auction and the",
"`lease_period_index` of the initial lease period of the four that are to be auctioned."
]
},
{
"name": "bid",
"fields": [
{
"name": "para",
"type": 364,
"typeName": "ParaId",
"docs": []
},
{
"name": "auction_index",
"type": 91,
"typeName": "AuctionIndex",
"docs": []
},
{
"name": "first_slot",
"type": 91,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "last_slot",
"type": 91,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "amount",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"Make a new bid from an account (including a parachain account) for deploying a new",
"parachain.",
"",
"Multiple simultaneous bids from the same bidder are allowed only as long as all active",
"bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted.",
"",
"- `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and",
"funded by) the same account.",
"- `auction_index` is the index of the auction to bid on. Should just be the present",
"value of `AuctionCounter`.",
"- `first_slot` is the first lease period index of the range to bid on. This is the",
"absolute lease period index value, not an auction-specific offset.",
"- `last_slot` is the last lease period index of the range to bid on. This is the",
"absolute lease period index value, not an auction-specific offset.",
"- `amount` is the amount to bid to be held as deposit for the parachain should the",
"bid win. This amount is held throughout the range."
]
},
{
"name": "cancel_auction",
"fields": [],
"index": 2,
"docs": [
"Cancel an in-progress auction.",
"",
"Can only be called by Root origin."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 364,
"type": {
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 162
},
"docs": []
}
},
{
"id": 365,
"type": {
"path": [
"polkadot_runtime_common",
"crowdloan",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "create",
"fields": [
{
"name": "index",
"type": 364,
"typeName": "ParaId",
"docs": []
},
{
"name": "cap",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "first_period",
"type": 91,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "last_period",
"type": 91,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "end",
"type": 91,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "verifier",
"type": 366,
"typeName": "Option<MultiSigner>",
"docs": []
}
],
"index": 0,
"docs": [
"Create a new crowdloaning campaign for a parachain slot with the given lease period range.",
"",
"This applies a lock to your parachain configuration, ensuring that it cannot be changed",
"by the parachain manager."
]
},
{
"name": "contribute",
"fields": [
{
"name": "index",
"type": 364,
"typeName": "ParaId",
"docs": []
},
{
"name": "value",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "signature",
"type": 370,
"typeName": "Option<MultiSignature>",
"docs": []
}
],
"index": 1,
"docs": [
"Contribute to a crowd sale. This will transfer some balance over to fund a parachain",
"slot. It will be withdrawable when the crowdloan has ended and the funds are unused."
]
},
{
"name": "withdraw",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "index",
"type": 364,
"typeName": "ParaId",
"docs": []
}
],
"index": 2,
"docs": [
"Withdraw full balance of a specific contributor.",
"",
"Origin must be signed, but can come from anyone.",
"",
"The fund must be either in, or ready for, retirement. For a fund to be *in* retirement, then the retirement",
"flag must be set. For a fund to be ready for retirement, then:",
"- it must not already be in retirement;",
"- the amount of raised funds must be bigger than the _free_ balance of the account;",
"- and either:",
" - the block number must be at least `end`; or",
" - the current lease period must be greater than the fund's `last_period`.",
"",
"In this case, the fund's retirement flag is set and its `end` is reset to the current block",
"number.",
"",
"- `who`: The account whose contribution should be withdrawn.",
"- `index`: The parachain to whose crowdloan the contribution was made."
]
},
{
"name": "refund",
"fields": [
{
"name": "index",
"type": 364,
"typeName": "ParaId",
"docs": []
}
],
"index": 3,
"docs": [
"Automatically refund contributors of an ended crowdloan.",
"Due to weight restrictions, this function may need to be called multiple",
"times to fully refund all users. We will refund `RemoveKeysLimit` users at a time.",
"",
"Origin must be signed, but can come from anyone."
]
},
{
"name": "dissolve",
"fields": [
{
"name": "index",
"type": 364,
"typeName": "ParaId",
"docs": []
}
],
"index": 4,
"docs": [
"Remove a fund after the retirement period has ended and all funds have been returned."
]
},
{
"name": "edit",
"fields": [
{
"name": "index",
"type": 364,
"typeName": "ParaId",
"docs": []
},
{
"name": "cap",
"type": 60,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "first_period",
"type": 91,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "last_period",
"type": 91,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "end",
"type": 91,
"typeName": "T::BlockNumber",
"docs": []
},
{
"name": "verifier",
"type": 366,
"typeName": "Option<MultiSigner>",
"docs": []
}
],
"index": 5,
"docs": [
"Edit the configuration for an in-progress crowdloan.",
"",
"Can only be called by Root origin."
]
},
{
"name": "add_memo",
"fields": [
{
"name": "index",
"type": 162,
"typeName": "ParaId",
"docs": []
},
{
"name": "memo",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 6,
"docs": [
"Add an optional memo to an existing crowdloan contribution.",
"",
"Origin must be Signed, and the user must have contributed to the crowdloan."
]
},
{
"name": "poke",
"fields": [
{
"name": "index",
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 7,
"docs": [
"Poke the fund into `NewRaise`",
"",
"Origin must be Signed, and the fund has non-zero raise."
]
},
{
"name": "contribute_all",
"fields": [
{
"name": "index",
"type": 364,
"typeName": "ParaId",
"docs": []
},
{
"name": "signature",
"type": 370,
"typeName": "Option<MultiSignature>",
"docs": []
}
],
"index": 8,
"docs": [
"Contribute your entire balance to a crowd sale. This will transfer the entire balance of a user over to fund a parachain",
"slot. It will be withdrawable when the crowdloan has ended and the funds are unused."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 366,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 367
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 367,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 367,
"type": {
"path": [
"sp_runtime",
"MultiSigner"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Ed25519",
"fields": [
{
"type": 53,
"typeName": "ed25519::Public",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Sr25519",
"fields": [
{
"type": 56,
"typeName": "sr25519::Public",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Ecdsa",
"fields": [
{
"type": 368,
"typeName": "ecdsa::Public",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 368,
"type": {
"path": [
"sp_core",
"ecdsa",
"Public"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 369,
"typeName": "[u8; 33]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 369,
"type": {
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 33,
"type": 2
}
},
"docs": []
}
},
{
"id": 370,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 371
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 371,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 371,
"type": {
"path": [
"sp_runtime",
"MultiSignature"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Ed25519",
"fields": [
{
"type": 125,
"typeName": "ed25519::Signature",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Sr25519",
"fields": [
{
"type": 138,
"typeName": "sr25519::Signature",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Ecdsa",
"fields": [
{
"type": 372,
"typeName": "ecdsa::Signature",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 372,
"type": {
"path": [
"sp_core",
"ecdsa",
"Signature"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 176,
"typeName": "[u8; 65]",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 373,
"type": {
"path": [
"pallet_xcm",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "send",
"fields": [
{
"name": "dest",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "message",
"type": 382,
"typeName": "Box<VersionedXcm<()>>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "teleport_assets",
"fields": [
{
"name": "dest",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "assets",
"type": 427,
"typeName": "Box<VersionedMultiAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": [
"Teleport some assets from the local chain to some destination chain.",
"",
"Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,",
"with all fees taken as needed from the asset.",
"",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
" from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.",
"- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be",
" an `AccountId32` value.",
"- `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the",
" `dest` side. May not be empty.",
"- `fee_asset_item`: The index into `assets` of the item which should be used to pay",
" fees."
]
},
{
"name": "reserve_transfer_assets",
"fields": [
{
"name": "dest",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "assets",
"type": 427,
"typeName": "Box<VersionedMultiAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": [
"Transfer some assets from the local chain to the sovereign account of a destination",
"chain and forward a notification XCM.",
"",
"Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,",
"with all fees taken as needed from the asset.",
"",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
" from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.",
"- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be",
" an `AccountId32` value.",
"- `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the",
" `dest` side.",
"- `fee_asset_item`: The index into `assets` of the item which should be used to pay",
" fees."
]
},
{
"name": "execute",
"fields": [
{
"name": "message",
"type": 428,
"typeName": "Box<VersionedXcm<<T as SysConfig>::RuntimeCall>>",
"docs": []
},
{
"name": "max_weight",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 3,
"docs": [
"Execute an XCM message from a local, signed, origin.",
"",
"An event is deposited indicating whether `msg` could be executed completely or only",
"partially.",
"",
"No more than `max_weight` will be used in its attempted execution. If this is less than the",
"maximum amount of weight that the message could take to be executed, then no execution",
"attempt will be made.",
"",
"NOTE: A successful return to this does *not* imply that the `msg` was executed successfully",
"to completion; only that *some* of it was executed."
]
},
{
"name": "force_xcm_version",
"fields": [
{
"name": "location",
"type": 164,
"typeName": "Box<MultiLocation>",
"docs": []
},
{
"name": "xcm_version",
"type": 4,
"typeName": "XcmVersion",
"docs": []
}
],
"index": 4,
"docs": [
"Extoll that a particular destination can be communicated with through a particular",
"version of XCM.",
"",
"- `origin`: Must be an origin specified by AdminOrigin.",
"- `location`: The destination that is being described.",
"- `xcm_version`: The latest version of XCM that `location` supports."
]
},
{
"name": "force_default_xcm_version",
"fields": [
{
"name": "maybe_xcm_version",
"type": 141,
"typeName": "Option<XcmVersion>",
"docs": []
}
],
"index": 5,
"docs": [
"Set a safe XCM version (the version that XCM should be encoded with if the most recent",
"version a destination can accept is unknown).",
"",
"- `origin`: Must be an origin specified by AdminOrigin.",
"- `maybe_xcm_version`: The default XCM encoding version, or `None` to disable."
]
},
{
"name": "force_subscribe_version_notify",
"fields": [
{
"name": "location",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
}
],
"index": 6,
"docs": [
"Ask a location to notify us regarding their XCM version and any changes to it.",
"",
"- `origin`: Must be an origin specified by AdminOrigin.",
"- `location`: The location to which we should subscribe for XCM version notifications."
]
},
{
"name": "force_unsubscribe_version_notify",
"fields": [
{
"name": "location",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
}
],
"index": 7,
"docs": [
"Require that a particular destination should no longer notify us regarding any XCM",
"version changes.",
"",
"- `origin`: Must be an origin specified by AdminOrigin.",
"- `location`: The location to which we are currently subscribed for XCM version",
" notifications which we no longer desire."
]
},
{
"name": "limited_reserve_transfer_assets",
"fields": [
{
"name": "dest",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "assets",
"type": 427,
"typeName": "Box<VersionedMultiAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "weight_limit",
"type": 426,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 8,
"docs": [
"Transfer some assets from the local chain to the sovereign account of a destination",
"chain and forward a notification XCM.",
"",
"Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight",
"is needed than `weight_limit`, then the operation will fail and the assets send may be",
"at risk.",
"",
"- `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
"- `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
" from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.",
"- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be",
" an `AccountId32` value.",
"- `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the",
" `dest` side.",
"- `fee_asset_item`: The index into `assets` of the item which should be used to pay",
" fees.",
"- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."
]
},
{
"name": "limited_teleport_assets",
"fields": [
{
"name": "dest",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 374,
"typeName": "Box<VersionedMultiLocation>",
"docs": []
},
{
"name": "assets",
"type": 427,
"typeName": "Box<VersionedMultiAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "weight_limit",
"type": 426,
"typeName": "WeightLimit",
"docs": []
}
],
"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."
]
},
{
"name": "force_suspension",
"fields": [
{
"name": "suspended",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 10,
"docs": [
"Set or unset the global suspension state of the XCM executor.",
"",
"- `origin`: Must be an origin specified by AdminOrigin.",
"- `suspended`: `true` to suspend, `false` to resume."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 374,
"type": {
"path": [
"xcm",
"VersionedMultiLocation"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 375,
"typeName": "v2::MultiLocation",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 164,
"typeName": "v3::MultiLocation",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 375,
"type": {
"path": [
"xcm",
"v2",
"multilocation",
"MultiLocation"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "parents",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "interior",
"type": 376,
"typeName": "Junctions",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 376,
"type": {
"path": [
"xcm",
"v2",
"multilocation",
"Junctions"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Here",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "X1",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "X2",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "X3",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "X4",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "X5",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "X6",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "X7",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "X8",
"fields": [
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
},
{
"type": 377,
"typeName": "Junction",
"docs": []
}
],
"index": 8,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 377,
"type": {
"path": [
"xcm",
"v2",
"junction",
"Junction"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Parachain",
"fields": [
{
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "AccountId32",
"fields": [
{
"name": "network",
"type": 378,
"typeName": "NetworkId",
"docs": []
},
{
"name": "id",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AccountIndex64",
"fields": [
{
"name": "network",
"type": 378,
"typeName": "NetworkId",
"docs": []
},
{
"name": "index",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AccountKey20",
"fields": [
{
"name": "network",
"type": 378,
"typeName": "NetworkId",
"docs": []
},
{
"name": "key",
"type": 102,
"typeName": "[u8; 20]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletInstance",
"fields": [
{
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "GeneralIndex",
"fields": [
{
"type": 60,
"typeName": "u128",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "GeneralKey",
"fields": [
{
"type": 379,
"typeName": "WeakBoundedVec<u8, ConstU32<32>>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "OnlyChild",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "Plurality",
"fields": [
{
"name": "id",
"type": 380,
"typeName": "BodyId",
"docs": []
},
{
"name": "part",
"type": 381,
"typeName": "BodyPart",
"docs": []
}
],
"index": 8,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 378,
"type": {
"path": [
"xcm",
"v2",
"NetworkId"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Any",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Named",
"fields": [
{
"type": 379,
"typeName": "WeakBoundedVec<u8, ConstU32<32>>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Polkadot",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Kusama",
"fields": [],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 379,
"type": {
"path": [
"bounded_collections",
"weak_bounded_vec",
"WeakBoundedVec"
],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 380,
"type": {
"path": [
"xcm",
"v2",
"BodyId"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unit",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Named",
"fields": [
{
"type": 379,
"typeName": "WeakBoundedVec<u8, ConstU32<32>>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Executive",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "Technical",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "Legislative",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "Judicial",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "Defense",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "Administration",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "Treasury",
"fields": [],
"index": 9,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 381,
"type": {
"path": [
"xcm",
"v2",
"BodyPart"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Voice",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Members",
"fields": [
{
"name": "count",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Fraction",
"fields": [
{
"name": "nom",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AtLeastProportion",
"fields": [
{
"name": "nom",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "MoreThanProportion",
"fields": [
{
"name": "nom",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 382,
"type": {
"path": [
"xcm",
"VersionedXcm"
],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 383,
"typeName": "v2::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 402,
"typeName": "v3::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 383,
"type": {
"path": [
"xcm",
"v2",
"Xcm"
],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 384,
"typeName": "Vec<Instruction<RuntimeCall>>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 384,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 385
},
"docs": []
}
},
{
"id": 385,
"type": {
"path": [
"xcm",
"v2",
"Instruction"
],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 392,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 386,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 375,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 386,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_type",
"type": 396,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 10,
"typeName": "u64",
"docs": []
},
{
"name": "call",
"type": 397,
"typeName": "DoubleEncoded<RuntimeCall>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 376,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "beneficiary",
"type": 375,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "receive",
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "QueryHolding",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 388,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 401,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 383,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 383,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 386,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 375,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 386,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"MultiAssets"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 387,
"typeName": "Vec<MultiAsset>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 387,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 388
},
"docs": []
}
},
{
"id": 388,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"MultiAsset"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 389,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 390,
"typeName": "Fungibility",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 389,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"AssetId"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Concrete",
"fields": [
{
"type": 375,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Abstract",
"fields": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 390,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"Fungibility"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [
{
"type": 60,
"typeName": "u128",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [
{
"type": 391,
"typeName": "AssetInstance",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 391,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"AssetInstance"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Undefined",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 60,
"typeName": "u128",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Array4",
"fields": [
{
"type": 17,
"typeName": "[u8; 4]",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Array8",
"fields": [
{
"type": 198,
"typeName": "[u8; 8]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Array16",
"fields": [
{
"type": 47,
"typeName": "[u8; 16]",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Array32",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Blob",
"fields": [
{
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 6,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 392,
"type": {
"path": [
"xcm",
"v2",
"Response"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Null",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Assets",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ExecutionResult",
"fields": [
{
"type": 393,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Version",
"fields": [
{
"type": 4,
"typeName": "super::Version",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 393,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 394
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 394,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 394,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
4,
395
]
},
"docs": []
}
},
{
"id": 395,
"type": {
"path": [
"xcm",
"v2",
"traits",
"Error"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Overflow",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Unimplemented",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "UntrustedReserveLocation",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "UntrustedTeleportLocation",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "MultiLocationFull",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "MultiLocationNotInvertible",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "BadOrigin",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "InvalidLocation",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "AssetNotFound",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "FailedToTransactAsset",
"fields": [],
"index": 9,
"docs": []
},
{
"name": "NotWithdrawable",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "LocationCannotHold",
"fields": [],
"index": 11,
"docs": []
},
{
"name": "ExceedsMaxMessageSize",
"fields": [],
"index": 12,
"docs": []
},
{
"name": "DestinationUnsupported",
"fields": [],
"index": 13,
"docs": []
},
{
"name": "Transport",
"fields": [],
"index": 14,
"docs": []
},
{
"name": "Unroutable",
"fields": [],
"index": 15,
"docs": []
},
{
"name": "UnknownClaim",
"fields": [],
"index": 16,
"docs": []
},
{
"name": "FailedToDecode",
"fields": [],
"index": 17,
"docs": []
},
{
"name": "MaxWeightInvalid",
"fields": [],
"index": 18,
"docs": []
},
{
"name": "NotHoldingFees",
"fields": [],
"index": 19,
"docs": []
},
{
"name": "TooExpensive",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "UnhandledXcmVersion",
"fields": [],
"index": 22,
"docs": []
},
{
"name": "WeightLimitReached",
"fields": [
{
"type": 11,
"typeName": "Weight",
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "Barrier",
"fields": [],
"index": 24,
"docs": []
},
{
"name": "WeightNotComputable",
"fields": [],
"index": 25,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 396,
"type": {
"path": [
"xcm",
"v2",
"OriginKind"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Native",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "SovereignAccount",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Superuser",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Xcm",
"fields": [],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 397,
"type": {
"path": [
"xcm",
"double_encoded",
"DoubleEncoded"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "encoded",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 398,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"MultiAssetFilter"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Definite",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Wild",
"fields": [
{
"type": 399,
"typeName": "WildMultiAsset",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 399,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"WildMultiAsset"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "All",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "AllOf",
"fields": [
{
"name": "id",
"type": 389,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 400,
"typeName": "WildFungibility",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 400,
"type": {
"path": [
"xcm",
"v2",
"multiasset",
"WildFungibility"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 401,
"type": {
"path": [
"xcm",
"v2",
"WeightLimit"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unlimited",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Limited",
"fields": [
{
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 402,
"type": {
"path": [
"xcm",
"v3",
"Xcm"
],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 403,
"typeName": "Vec<Instruction<Call>>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 403,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 404
},
"docs": []
}
},
{
"id": 404,
"type": {
"path": [
"xcm",
"v3",
"Instruction"
],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 411,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 9,
"typeName": "Weight",
"docs": []
},
{
"name": "querier",
"type": 421,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_kind",
"type": 396,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 9,
"typeName": "Weight",
"docs": []
},
{
"name": "call",
"type": 397,
"typeName": "DoubleEncoded<Call>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 165,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "beneficiary",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "want",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "maximal",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "ReportHolding",
"fields": [
{
"name": "response_info",
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
},
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 426,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 402,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 402,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
},
{
"name": "BurnAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "ExpectAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "ExpectOrigin",
"fields": [
{
"type": 421,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ExpectError",
"fields": [
{
"type": 412,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "ExpectTransactStatus",
"fields": [
{
"type": 419,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "QueryPallet",
"fields": [
{
"name": "module_name",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "response_info",
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 33,
"docs": []
},
{
"name": "ExpectPallet",
"fields": [
{
"name": "index",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "module_name",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "crate_major",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "min_crate_minor",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ReportTransactStatus",
"fields": [
{
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ClearTransactStatus",
"fields": [],
"index": 36,
"docs": []
},
{
"name": "UniversalOrigin",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "ExportMessage",
"fields": [
{
"name": "network",
"type": 168,
"typeName": "NetworkId",
"docs": []
},
{
"name": "destination",
"type": 165,
"typeName": "InteriorMultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "LockAsset",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "unlocker",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "UnlockAsset",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "target",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "NoteUnlockable",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "owner",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 41,
"docs": []
},
{
"name": "RequestUnlock",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "locker",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 42,
"docs": []
},
{
"name": "SetFeesMode",
"fields": [
{
"name": "jit_withdraw",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 43,
"docs": []
},
{
"name": "SetTopic",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 44,
"docs": []
},
{
"name": "ClearTopic",
"fields": [],
"index": 45,
"docs": []
},
{
"name": "AliasOrigin",
"fields": [
{
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 46,
"docs": []
},
{
"name": "UnpaidExecution",
"fields": [
{
"name": "weight_limit",
"type": 426,
"typeName": "WeightLimit",
"docs": []
},
{
"name": "check_origin",
"type": 421,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 47,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 405,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"MultiAssets"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 406,
"typeName": "Vec<MultiAsset>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 406,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 407
},
"docs": []
}
},
{
"id": 407,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"MultiAsset"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 408,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 409,
"typeName": "Fungibility",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 408,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"AssetId"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Concrete",
"fields": [
{
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Abstract",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 409,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"Fungibility"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [
{
"type": 60,
"typeName": "u128",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [
{
"type": 410,
"typeName": "AssetInstance",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 410,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"AssetInstance"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Undefined",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 60,
"typeName": "u128",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Array4",
"fields": [
{
"type": 17,
"typeName": "[u8; 4]",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Array8",
"fields": [
{
"type": 198,
"typeName": "[u8; 8]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Array16",
"fields": [
{
"type": 47,
"typeName": "[u8; 16]",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Array32",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 5,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 411,
"type": {
"path": [
"xcm",
"v3",
"Response"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Null",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Assets",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ExecutionResult",
"fields": [
{
"type": 412,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Version",
"fields": [
{
"type": 4,
"typeName": "super::Version",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletsInfo",
"fields": [
{
"type": 415,
"typeName": "BoundedVec<PalletInfo, MaxPalletsInfo>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "DispatchResult",
"fields": [
{
"type": 419,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 5,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 412,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 413
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 413,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 413,
"type": {
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [
4,
414
]
},
"docs": []
}
},
{
"id": 414,
"type": {
"path": [
"xcm",
"v3",
"traits",
"Error"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Overflow",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Unimplemented",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "UntrustedReserveLocation",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "UntrustedTeleportLocation",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "LocationFull",
"fields": [],
"index": 4,
"docs": []
},
{
"name": "LocationNotInvertible",
"fields": [],
"index": 5,
"docs": []
},
{
"name": "BadOrigin",
"fields": [],
"index": 6,
"docs": []
},
{
"name": "InvalidLocation",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "AssetNotFound",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "FailedToTransactAsset",
"fields": [],
"index": 9,
"docs": []
},
{
"name": "NotWithdrawable",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "LocationCannotHold",
"fields": [],
"index": 11,
"docs": []
},
{
"name": "ExceedsMaxMessageSize",
"fields": [],
"index": 12,
"docs": []
},
{
"name": "DestinationUnsupported",
"fields": [],
"index": 13,
"docs": []
},
{
"name": "Transport",
"fields": [],
"index": 14,
"docs": []
},
{
"name": "Unroutable",
"fields": [],
"index": 15,
"docs": []
},
{
"name": "UnknownClaim",
"fields": [],
"index": 16,
"docs": []
},
{
"name": "FailedToDecode",
"fields": [],
"index": 17,
"docs": []
},
{
"name": "MaxWeightInvalid",
"fields": [],
"index": 18,
"docs": []
},
{
"name": "NotHoldingFees",
"fields": [],
"index": 19,
"docs": []
},
{
"name": "TooExpensive",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "ExpectationFalse",
"fields": [],
"index": 22,
"docs": []
},
{
"name": "PalletNotFound",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "NameMismatch",
"fields": [],
"index": 24,
"docs": []
},
{
"name": "VersionIncompatible",
"fields": [],
"index": 25,
"docs": []
},
{
"name": "HoldingWouldOverflow",
"fields": [],
"index": 26,
"docs": []
},
{
"name": "ExportError",
"fields": [],
"index": 27,
"docs": []
},
{
"name": "ReanchorFailed",
"fields": [],
"index": 28,
"docs": []
},
{
"name": "NoDeal",
"fields": [],
"index": 29,
"docs": []
},
{
"name": "FeesNotMet",
"fields": [],
"index": 30,
"docs": []
},
{
"name": "LockError",
"fields": [],
"index": 31,
"docs": []
},
{
"name": "NoPermission",
"fields": [],
"index": 32,
"docs": []
},
{
"name": "Unanchored",
"fields": [],
"index": 33,
"docs": []
},
{
"name": "NotDepositable",
"fields": [],
"index": 34,
"docs": []
},
{
"name": "UnhandledXcmVersion",
"fields": [],
"index": 35,
"docs": []
},
{
"name": "WeightLimitReached",
"fields": [
{
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 36,
"docs": []
},
{
"name": "Barrier",
"fields": [],
"index": 37,
"docs": []
},
{
"name": "WeightNotComputable",
"fields": [],
"index": 38,
"docs": []
},
{
"name": "ExceedsStackLimit",
"fields": [],
"index": 39,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 415,
"type": {
"path": [
"bounded_collections",
"bounded_vec",
"BoundedVec"
],
"params": [
{
"name": "T",
"type": 416
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 418,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 416,
"type": {
"path": [
"xcm",
"v3",
"PalletInfo"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "index",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 417,
"typeName": "BoundedVec<u8, MaxPalletNameLen>",
"docs": []
},
{
"name": "module_name",
"type": 417,
"typeName": "BoundedVec<u8, MaxPalletNameLen>",
"docs": []
},
{
"name": "major",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "minor",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "patch",
"type": 91,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 417,
"type": {
"path": [
"bounded_collections",
"bounded_vec",
"BoundedVec"
],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 418,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 416
},
"docs": []
}
},
{
"id": 419,
"type": {
"path": [
"xcm",
"v3",
"MaybeErrorCode"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Success",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Error",
"fields": [
{
"type": 420,
"typeName": "BoundedVec<u8, MaxDispatchErrorLen>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "TruncatedError",
"fields": [
{
"type": 420,
"typeName": "BoundedVec<u8, MaxDispatchErrorLen>",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 420,
"type": {
"path": [
"bounded_collections",
"bounded_vec",
"BoundedVec"
],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 421,
"type": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 164
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 164,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 422,
"type": {
"path": [
"xcm",
"v3",
"QueryResponseInfo"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "destination",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_weight",
"type": 9,
"typeName": "Weight",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 423,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"MultiAssetFilter"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Definite",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Wild",
"fields": [
{
"type": 424,
"typeName": "WildMultiAsset",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 424,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"WildMultiAsset"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "All",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "AllOf",
"fields": [
{
"name": "id",
"type": 408,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 425,
"typeName": "WildFungibility",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AllCounted",
"fields": [
{
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AllOfCounted",
"fields": [
{
"name": "id",
"type": 408,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 425,
"typeName": "WildFungibility",
"docs": []
},
{
"name": "count",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 425,
"type": {
"path": [
"xcm",
"v3",
"multiasset",
"WildFungibility"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 426,
"type": {
"path": [
"xcm",
"v3",
"WeightLimit"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unlimited",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Limited",
"fields": [
{
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 427,
"type": {
"path": [
"xcm",
"VersionedMultiAssets"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 386,
"typeName": "v2::MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 405,
"typeName": "v3::MultiAssets",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 428,
"type": {
"path": [
"xcm",
"VersionedXcm"
],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 429,
"typeName": "v2::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 433,
"typeName": "v3::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 429,
"type": {
"path": [
"xcm",
"v2",
"Xcm"
],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 430,
"typeName": "Vec<Instruction<RuntimeCall>>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 430,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 431
},
"docs": []
}
},
{
"id": 431,
"type": {
"path": [
"xcm",
"v2",
"Instruction"
],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 392,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 386,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 375,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 386,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_type",
"type": 396,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 10,
"typeName": "u64",
"docs": []
},
{
"name": "call",
"type": 432,
"typeName": "DoubleEncoded<RuntimeCall>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 376,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "beneficiary",
"type": 375,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "receive",
"type": 386,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 383,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "QueryHolding",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 375,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "assets",
"type": 398,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 388,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 401,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 429,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 429,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 386,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 375,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 432,
"type": {
"path": [
"xcm",
"double_encoded",
"DoubleEncoded"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "encoded",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 433,
"type": {
"path": [
"xcm",
"v3",
"Xcm"
],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 434,
"typeName": "Vec<Instruction<Call>>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 434,
"type": {
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 435
},
"docs": []
}
},
{
"id": 435,
"type": {
"path": [
"xcm",
"v3",
"Instruction"
],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 411,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 9,
"typeName": "Weight",
"docs": []
},
{
"name": "querier",
"type": 421,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_kind",
"type": 396,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 9,
"typeName": "Weight",
"docs": []
},
{
"name": "call",
"type": 432,
"typeName": "DoubleEncoded<Call>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 165,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "beneficiary",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "want",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "maximal",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 164,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "ReportHolding",
"fields": [
{
"name": "response_info",
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
},
{
"name": "assets",
"type": 423,
"typeName": "MultiAssetFilter",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 426,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 433,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 433,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 405,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 10,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 10,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
},
{
"name": "BurnAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "ExpectAsset",
"fields": [
{
"type": 405,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "ExpectOrigin",
"fields": [
{
"type": 421,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ExpectError",
"fields": [
{
"type": 412,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "ExpectTransactStatus",
"fields": [
{
"type": 419,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "QueryPallet",
"fields": [
{
"name": "module_name",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "response_info",
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 33,
"docs": []
},
{
"name": "ExpectPallet",
"fields": [
{
"name": "index",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "module_name",
"type": 13,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "crate_major",
"type": 91,
"typeName": "u32",
"docs": []
},
{
"name": "min_crate_minor",
"type": 91,
"typeName": "u32",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ReportTransactStatus",
"fields": [
{
"type": 422,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ClearTransactStatus",
"fields": [],
"index": 36,
"docs": []
},
{
"name": "UniversalOrigin",
"fields": [
{
"type": 166,
"typeName": "Junction",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "ExportMessage",
"fields": [
{
"name": "network",
"type": 168,
"typeName": "NetworkId",
"docs": []
},
{
"name": "destination",
"type": 165,
"typeName": "InteriorMultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 402,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "LockAsset",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "unlocker",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "UnlockAsset",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "target",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "NoteUnlockable",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "owner",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 41,
"docs": []
},
{
"name": "RequestUnlock",
"fields": [
{
"name": "asset",
"type": 407,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "locker",
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 42,
"docs": []
},
{
"name": "SetFeesMode",
"fields": [
{
"name": "jit_withdraw",
"type": 44,
"typeName": "bool",
"docs": []
}
],
"index": 43,
"docs": []
},
{
"name": "SetTopic",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 44,
"docs": []
},
{
"name": "ClearTopic",
"fields": [],
"index": 45,
"docs": []
},
{
"name": "AliasOrigin",
"fields": [
{
"type": 164,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 46,
"docs": []
},
{
"name": "UnpaidExecution",
"fields": [
{
"name": "weight_limit",
"type": 426,
"typeName": "WeightLimit",
"docs": []
},
{
"name": "check_origin",
"type": 421,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 47,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 436,
"type": {
"path": [
"pallet_message_queue",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "reap_page",
"fields": [
{
"name": "message_origin",
"type": 437,
"typeName": "MessageOriginOf<T>",
"docs": []
},
{
"name": "page_index",
"type": 4,
"typeName": "PageIndex",
"docs": []
}
],
"index": 0,
"docs": [
"Remove a page which has no more messages remaining to be processed or is stale."
]
},
{
"name": "execute_overweight",
"fields": [
{
"name": "message_origin",
"type": 437,
"typeName": "MessageOriginOf<T>",
"docs": []
},
{
"name": "page",
"type": 4,
"typeName": "PageIndex",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "T::Size",
"docs": []
},
{
"name": "weight_limit",
"type": 9,
"typeName": "Weight",
"docs": []
}
],
"index": 1,
"docs": [
"Execute an overweight message.",
"",
"Temporary processing errors will be propagated whereas permanent errors are treated",
"as success condition.",
"",
"- `origin`: Must be `Signed`.",
"- `message_origin`: The origin from which the message to be executed arrived.",
"- `page`: The page in the queue in which the message to be executed is sitting.",
"- `index`: The index into the queue of the message to be executed.",
"- `weight_limit`: The maximum amount of weight allowed to be consumed in the execution",
" of the message.",
"",
"Benchmark complexity considerations: O(index + weight_limit)."
]
}
]
},
"docs": [
"Contains one variant per dispatchable that can be called by an extrinsic."
]
}
},
{
"id": 437,
"type": {
"path": [
"polkadot_runtime_parachains",
"inclusion",
"AggregateMessageOrigin"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Ump",
"fields": [
{
"type": 438,
"typeName": "UmpQueueId",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 438,
"type": {
"path": [
"polkadot_runtime_parachains",
"inclusion",
"UmpQueueId"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Para",
"fields": [
{
"type": 162,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": []
}
},
{
"id": 439,
"type": {
"path": [
"bounded_collections",
"bounded_vec",
"BoundedVec"
],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
}
},
{
"id": 440,
"type": {
"path": [
"pallet_conviction_voting",
"types",
"Tally"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment