Skip to content

Instantly share code, notes, and snippets.

@josepot
Created March 24, 2024 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josepot/b514fd02adea2c59673e7faeb1e47b77 to your computer and use it in GitHub Desktop.
Save josepot/b514fd02adea2c59673e7faeb1e47b77 to your computer and use it in GitHub Desktop.
Westend V15 metadata
This file has been truncated, but you can view the full file.
{
"lookup": [
{
"id": 0,
"path": ["sp_core", "crypto", "AccountId32"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
},
{
"id": 1,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 32,
"type": 2
}
},
"docs": []
},
{
"id": 2,
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u8"
}
},
"docs": []
},
{
"id": 3,
"path": ["frame_system", "AccountInfo"],
"params": [
{
"name": "Nonce",
"type": 4
},
{
"name": "AccountData",
"type": 5
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "nonce",
"type": 4,
"typeName": "Nonce",
"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,
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u32"
}
},
"docs": []
},
{
"id": 5,
"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,
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u128"
}
},
"docs": []
},
{
"id": 7,
"path": ["pallet_balances", "types", "ExtraFlags"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 6,
"typeName": "u128",
"docs": []
}
]
},
"docs": []
},
{
"id": 8,
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "bool"
}
},
"docs": []
},
{
"id": 9,
"path": ["frame_support", "dispatch", "PerDispatchClass"],
"params": [
{
"name": "T",
"type": 10
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "normal",
"type": 10,
"typeName": "T",
"docs": []
},
{
"name": "operational",
"type": 10,
"typeName": "T",
"docs": []
},
{
"name": "mandatory",
"type": 10,
"typeName": "T",
"docs": []
}
]
},
"docs": []
},
{
"id": 10,
"path": ["sp_weights", "weight_v2", "Weight"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "ref_time",
"type": 11,
"typeName": "u64",
"docs": []
},
{
"name": "proof_size",
"type": 11,
"typeName": "u64",
"docs": []
}
]
},
"docs": []
},
{
"id": 11,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 12
},
"docs": []
},
{
"id": 12,
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u64"
}
},
"docs": []
},
{
"id": 13,
"path": ["primitive_types", "H256"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
},
{
"id": 14,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 2
},
"docs": []
},
{
"id": 15,
"path": ["sp_runtime", "generic", "digest", "Digest"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "logs",
"type": 16,
"typeName": "Vec<DigestItem>",
"docs": []
}
]
},
"docs": []
},
{
"id": 16,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 17
},
"docs": []
},
{
"id": 17,
"path": ["sp_runtime", "generic", "digest", "DigestItem"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "PreRuntime",
"fields": [
{
"type": 18,
"typeName": "ConsensusEngineId",
"docs": []
},
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "Consensus",
"fields": [
{
"type": 18,
"typeName": "ConsensusEngineId",
"docs": []
},
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Seal",
"fields": [
{
"type": 18,
"typeName": "ConsensusEngineId",
"docs": []
},
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Other",
"fields": [
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "RuntimeEnvironmentUpdated",
"fields": [],
"index": 8,
"docs": []
}
]
},
"docs": []
},
{
"id": 18,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 4,
"type": 2
}
},
"docs": []
},
{
"id": 19,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 20
},
"docs": []
},
{
"id": 20,
"path": ["frame_system", "EventRecord"],
"params": [
{
"name": "E",
"type": 21
},
{
"name": "T",
"type": 13
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "phase",
"type": 509,
"typeName": "Phase",
"docs": []
},
{
"name": "event",
"type": 21,
"typeName": "E",
"docs": []
},
{
"name": "topics",
"type": 212,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 21,
"path": ["westend_runtime", "RuntimeEvent"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "System",
"fields": [
{
"type": 22,
"typeName": "frame_system::Event<Runtime>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Indices",
"fields": [
{
"type": 31,
"typeName": "pallet_indices::Event<Runtime>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Balances",
"fields": [
{
"type": 32,
"typeName": "pallet_balances::Event<Runtime>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransactionPayment",
"fields": [
{
"type": 34,
"typeName": "pallet_transaction_payment::Event<Runtime>",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "Staking",
"fields": [
{
"type": 35,
"typeName": "pallet_staking::Event<Runtime>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "Offences",
"fields": [
{
"type": 41,
"typeName": "pallet_offences::Event",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "Session",
"fields": [
{
"type": 43,
"typeName": "pallet_session::Event",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "Grandpa",
"fields": [
{
"type": 44,
"typeName": "pallet_grandpa::Event",
"docs": []
}
],
"index": 10,
"docs": []
},
{
"name": "Utility",
"fields": [
{
"type": 49,
"typeName": "pallet_utility::Event",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "Identity",
"fields": [
{
"type": 52,
"typeName": "pallet_identity::Event<Runtime>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "Recovery",
"fields": [
{
"type": 54,
"typeName": "pallet_recovery::Event<Runtime>",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "Vesting",
"fields": [
{
"type": 55,
"typeName": "pallet_vesting::Event<Runtime>",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "Scheduler",
"fields": [
{
"type": 56,
"typeName": "pallet_scheduler::Event<Runtime>",
"docs": []
}
],
"index": 20,
"docs": []
},
{
"name": "Preimage",
"fields": [
{
"type": 59,
"typeName": "pallet_preimage::Event<Runtime>",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "Sudo",
"fields": [
{
"type": 60,
"typeName": "pallet_sudo::Event<Runtime>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "Proxy",
"fields": [
{
"type": 62,
"typeName": "pallet_proxy::Event<Runtime>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "Multisig",
"fields": [
{
"type": 65,
"typeName": "pallet_multisig::Event<Runtime>",
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "ElectionProviderMultiPhase",
"fields": [
{
"type": 67,
"typeName": "pallet_election_provider_multi_phase::Event<Runtime>",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "VoterList",
"fields": [
{
"type": 72,
"typeName": "pallet_bags_list::Event<Runtime, pallet_bags_list::Instance1>",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "NominationPools",
"fields": [
{
"type": 73,
"typeName": "pallet_nomination_pools::Event<Runtime>",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "FastUnstake",
"fields": [
{
"type": 80,
"typeName": "pallet_fast_unstake::Event<Runtime>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ConvictionVoting",
"fields": [
{
"type": 82,
"typeName": "pallet_conviction_voting::Event<Runtime>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "Referenda",
"fields": [
{
"type": 83,
"typeName": "pallet_referenda::Event<Runtime>",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "Whitelist",
"fields": [
{
"type": 480,
"typeName": "pallet_whitelist::Event<Runtime>",
"docs": []
}
],
"index": 36,
"docs": []
},
{
"name": "Treasury",
"fields": [
{
"type": 485,
"typeName": "pallet_treasury::Event<Runtime>",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "ParaInclusion",
"fields": [
{
"type": 486,
"typeName": "parachains_inclusion::Event<Runtime>",
"docs": []
}
],
"index": 44,
"docs": []
},
{
"name": "Paras",
"fields": [
{
"type": 490,
"typeName": "parachains_paras::Event",
"docs": []
}
],
"index": 47,
"docs": []
},
{
"name": "Hrmp",
"fields": [
{
"type": 491,
"typeName": "parachains_hrmp::Event<Runtime>",
"docs": []
}
],
"index": 51,
"docs": []
},
{
"name": "ParasDisputes",
"fields": [
{
"type": 492,
"typeName": "parachains_disputes::Event<Runtime>",
"docs": []
}
],
"index": 53,
"docs": []
},
{
"name": "OnDemandAssignmentProvider",
"fields": [
{
"type": 495,
"typeName": "parachains_assigner_on_demand::Event<Runtime>",
"docs": []
}
],
"index": 56,
"docs": []
},
{
"name": "Registrar",
"fields": [
{
"type": 496,
"typeName": "paras_registrar::Event<Runtime>",
"docs": []
}
],
"index": 60,
"docs": []
},
{
"name": "Slots",
"fields": [
{
"type": 497,
"typeName": "slots::Event<Runtime>",
"docs": []
}
],
"index": 61,
"docs": []
},
{
"name": "Auctions",
"fields": [
{
"type": 498,
"typeName": "auctions::Event<Runtime>",
"docs": []
}
],
"index": 63,
"docs": []
},
{
"name": "Crowdloan",
"fields": [
{
"type": 499,
"typeName": "crowdloan::Event<Runtime>",
"docs": []
}
],
"index": 64,
"docs": []
},
{
"name": "AssignedSlots",
"fields": [
{
"type": 500,
"typeName": "assigned_slots::Event<Runtime>",
"docs": []
}
],
"index": 65,
"docs": []
},
{
"name": "Coretime",
"fields": [
{
"type": 501,
"typeName": "coretime::Event<Runtime>",
"docs": []
}
],
"index": 66,
"docs": []
},
{
"name": "XcmPallet",
"fields": [
{
"type": 502,
"typeName": "pallet_xcm::Event<Runtime>",
"docs": []
}
],
"index": 99,
"docs": []
},
{
"name": "MessageQueue",
"fields": [
{
"type": 504,
"typeName": "pallet_message_queue::Event<Runtime>",
"docs": []
}
],
"index": 100,
"docs": []
},
{
"name": "AssetRate",
"fields": [
{
"type": 506,
"typeName": "pallet_asset_rate::Event<Runtime>",
"docs": []
}
],
"index": 101,
"docs": []
},
{
"name": "RootTesting",
"fields": [
{
"type": 507,
"typeName": "pallet_root_testing::Event<Runtime>",
"docs": []
}
],
"index": 102,
"docs": []
},
{
"name": "IdentityMigrator",
"fields": [
{
"type": 508,
"typeName": "identity_migrator::Event<Runtime>",
"docs": []
}
],
"index": 248,
"docs": []
}
]
},
"docs": []
},
{
"id": 22,
"path": ["frame_system", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "ExtrinsicSuccess",
"fields": [
{
"name": "dispatch_info",
"type": 23,
"typeName": "DispatchInfo",
"docs": []
}
],
"index": 0,
"docs": ["An extrinsic completed successfully."]
},
{
"name": "ExtrinsicFailed",
"fields": [
{
"name": "dispatch_error",
"type": 26,
"typeName": "DispatchError",
"docs": []
},
{
"name": "dispatch_info",
"type": 23,
"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": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 5,
"docs": ["On on-chain remark happened."]
},
{
"name": "UpgradeAuthorized",
"fields": [
{
"name": "code_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
},
{
"name": "check_version",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 6,
"docs": ["An upgrade was authorized."]
}
]
},
"docs": ["Event for the System pallet."]
},
{
"id": 23,
"path": ["frame_support", "dispatch", "DispatchInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "weight",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "class",
"type": 24,
"typeName": "DispatchClass",
"docs": []
},
{
"name": "pays_fee",
"type": 25,
"typeName": "Pays",
"docs": []
}
]
},
"docs": []
},
{
"id": 24,
"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": 25,
"path": ["frame_support", "dispatch", "Pays"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Yes",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "No",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 26,
"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": 27,
"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": 28,
"typeName": "TokenError",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "Arithmetic",
"fields": [
{
"type": 29,
"typeName": "ArithmeticError",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "Transactional",
"fields": [
{
"type": 30,
"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": 27,
"path": ["sp_runtime", "ModuleError"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "error",
"type": 18,
"typeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]",
"docs": []
}
]
},
"docs": []
},
{
"id": 28,
"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": 29,
"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": 30,
"path": ["sp_runtime", "TransactionalError"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "LimitReached",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NoLayer",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 31,
"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": ["The `Event` enum of this pallet"]
},
{
"id": 32,
"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": 33,
"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."]
},
{
"name": "TotalIssuanceForced",
"fields": [
{
"name": "old",
"type": 6,
"typeName": "T::Balance",
"docs": []
},
{
"name": "new",
"type": 6,
"typeName": "T::Balance",
"docs": []
}
],
"index": 21,
"docs": ["The `TotalIssuance` was forcefully changed."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 33,
"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": 34,
"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": ["The `Event` enum of this pallet"]
},
{
"id": 35,
"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": "dest",
"type": 36,
"typeName": "RewardDestination<T::AccountId>",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"The nominator has been rewarded by this amount to this destination."
]
},
{
"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": 37,
"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": 38,
"typeName": "ValidatorPrefs",
"docs": []
}
],
"index": 13,
"docs": ["A validator has set their preferences."]
},
{
"name": "SnapshotVotersSizeExceeded",
"fields": [
{
"name": "size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 14,
"docs": ["Voters size limit reached."]
},
{
"name": "SnapshotTargetsSizeExceeded",
"fields": [
{
"name": "size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 15,
"docs": ["Targets size limit reached."]
},
{
"name": "ForceEra",
"fields": [
{
"name": "mode",
"type": 40,
"typeName": "Forcing",
"docs": []
}
],
"index": 16,
"docs": ["A new force era mode was set."]
},
{
"name": "ControllerBatchDeprecated",
"fields": [
{
"name": "failures",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 17,
"docs": ["Report of a controller batch deprecation."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 36,
"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": 37,
"path": ["sp_arithmetic", "per_things", "Perbill"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 38,
"path": ["pallet_staking", "ValidatorPrefs"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "commission",
"type": 39,
"typeName": "Perbill",
"docs": []
},
{
"name": "blocked",
"type": 8,
"typeName": "bool",
"docs": []
}
]
},
"docs": []
},
{
"id": 39,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 37
},
"docs": []
},
{
"id": 40,
"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": 41,
"path": ["pallet_offences", "pallet", "Event"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Offence",
"fields": [
{
"name": "kind",
"type": 42,
"typeName": "Kind",
"docs": []
},
{
"name": "timeslot",
"type": 14,
"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": 42,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 16,
"type": 2
}
},
"docs": []
},
{
"id": 43,
"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": ["The `Event` enum of this pallet"]
},
{
"id": 44,
"path": ["pallet_grandpa", "pallet", "Event"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "NewAuthorities",
"fields": [
{
"name": "authority_set",
"type": 45,
"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": ["The `Event` enum of this pallet"]
},
{
"id": 45,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 46
},
"docs": []
},
{
"id": 46,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [47, 12]
},
"docs": []
},
{
"id": 47,
"path": ["sp_consensus_grandpa", "app", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 48,
"typeName": "ed25519::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 48,
"path": ["sp_core", "ed25519", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
},
{
"id": 49,
"path": ["pallet_utility", "pallet", "Event"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "BatchInterrupted",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "error",
"type": 26,
"typeName": "DispatchError",
"docs": []
}
],
"index": 0,
"docs": [
"Batch of dispatches did not complete fully. Index of first failing dispatch given, as",
"well as the error."
]
},
{
"name": "BatchCompleted",
"fields": [],
"index": 1,
"docs": ["Batch of dispatches completed fully with no error."]
},
{
"name": "BatchCompletedWithErrors",
"fields": [],
"index": 2,
"docs": ["Batch of dispatches completed but has errors."]
},
{
"name": "ItemCompleted",
"fields": [],
"index": 3,
"docs": [
"A single item within a Batch of dispatches has completed with no error."
]
},
{
"name": "ItemFailed",
"fields": [
{
"name": "error",
"type": 26,
"typeName": "DispatchError",
"docs": []
}
],
"index": 4,
"docs": [
"A single item within a Batch of dispatches has completed with error."
]
},
{
"name": "DispatchedAs",
"fields": [
{
"name": "result",
"type": 50,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 5,
"docs": ["A call was dispatched."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 50,
"path": ["Result"],
"params": [
{
"name": "T",
"type": 51
},
{
"name": "E",
"type": 26
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Ok",
"fields": [
{
"type": 51,
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Err",
"fields": [
{
"type": 26,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 51,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": []
},
"docs": []
},
{
"id": 52,
"path": ["pallet_identity", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "IdentitySet",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 0,
"docs": [
"A name was set or reset (which will remove all judgements)."
]
},
{
"name": "IdentityCleared",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": ["A name was cleared, and the given balance returned."]
},
{
"name": "IdentityKilled",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 2,
"docs": ["A name was removed and the given balance slashed."]
},
{
"name": "JudgementRequested",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "registrar_index",
"type": 4,
"typeName": "RegistrarIndex",
"docs": []
}
],
"index": 3,
"docs": ["A judgement was asked from a registrar."]
},
{
"name": "JudgementUnrequested",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "registrar_index",
"type": 4,
"typeName": "RegistrarIndex",
"docs": []
}
],
"index": 4,
"docs": ["A judgement request was retracted."]
},
{
"name": "JudgementGiven",
"fields": [
{
"name": "target",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "registrar_index",
"type": 4,
"typeName": "RegistrarIndex",
"docs": []
}
],
"index": 5,
"docs": ["A judgement was given by a registrar."]
},
{
"name": "RegistrarAdded",
"fields": [
{
"name": "registrar_index",
"type": 4,
"typeName": "RegistrarIndex",
"docs": []
}
],
"index": 6,
"docs": ["A registrar was added."]
},
{
"name": "SubIdentityAdded",
"fields": [
{
"name": "sub",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "main",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 7,
"docs": [
"A sub-identity was added to an identity and the deposit paid."
]
},
{
"name": "SubIdentityRemoved",
"fields": [
{
"name": "sub",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "main",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 8,
"docs": [
"A sub-identity was removed from an identity and the deposit freed."
]
},
{
"name": "SubIdentityRevoked",
"fields": [
{
"name": "sub",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "main",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "deposit",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 9,
"docs": [
"A sub-identity was cleared, and the given deposit repatriated from the",
"main identity account to the sub-identity account."
]
},
{
"name": "AuthorityAdded",
"fields": [
{
"name": "authority",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 10,
"docs": ["A username authority was added."]
},
{
"name": "AuthorityRemoved",
"fields": [
{
"name": "authority",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 11,
"docs": ["A username authority was removed."]
},
{
"name": "UsernameSet",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
}
],
"index": 12,
"docs": ["A username was set for `who`."]
},
{
"name": "UsernameQueued",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
},
{
"name": "expiration",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 13,
"docs": [
"A username was queued, but `who` must accept it prior to `expiration`."
]
},
{
"name": "PreapprovalExpired",
"fields": [
{
"name": "whose",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 14,
"docs": [
"A queued username passed its expiration without being claimed and was removed."
]
},
{
"name": "PrimaryUsernameSet",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
}
],
"index": 15,
"docs": [
"A username was set as a primary and can be looked up from `who`."
]
},
{
"name": "DanglingUsernameRemoved",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
}
],
"index": 16,
"docs": [
"A dangling username (as in, a username corresponding to an account that has removed its",
"identity) has been removed."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 53,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 54,
"path": ["pallet_recovery", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "RecoveryCreated",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 0,
"docs": ["A recovery process has been set up for an account."]
},
{
"name": "RecoveryInitiated",
"fields": [
{
"name": "lost_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "rescuer_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 1,
"docs": [
"A recovery process has been initiated for lost account by rescuer account."
]
},
{
"name": "RecoveryVouched",
"fields": [
{
"name": "lost_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "rescuer_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "sender",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 2,
"docs": [
"A recovery process for lost account by rescuer account has been vouched for by sender."
]
},
{
"name": "RecoveryClosed",
"fields": [
{
"name": "lost_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "rescuer_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 3,
"docs": [
"A recovery process for lost account by rescuer account has been closed."
]
},
{
"name": "AccountRecovered",
"fields": [
{
"name": "lost_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "rescuer_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 4,
"docs": [
"Lost account has been successfully recovered by rescuer account."
]
},
{
"name": "RecoveryRemoved",
"fields": [
{
"name": "lost_account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 5,
"docs": ["A recovery process has been removed for an account."]
}
]
},
"docs": ["Events type."]
},
{
"id": 55,
"path": ["pallet_vesting", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "VestingUpdated",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "unvested",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"The amount vested has been updated. This could indicate a change in funds available.",
"The balance given is the amount which is left unvested (and thus locked)."
]
},
{
"name": "VestingCompleted",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 1,
"docs": ["An \\[account\\] has become fully vested."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 56,
"path": ["pallet_scheduler", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Scheduled",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": ["Scheduled some task."]
},
{
"name": "Canceled",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": ["Canceled some task."]
},
{
"name": "Dispatched",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "id",
"type": 58,
"typeName": "Option<TaskName>",
"docs": []
},
{
"name": "result",
"type": 50,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 2,
"docs": ["Dispatched some task."]
},
{
"name": "RetrySet",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "id",
"type": 58,
"typeName": "Option<TaskName>",
"docs": []
},
{
"name": "period",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "retries",
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 3,
"docs": ["Set a retry configuration for some task."]
},
{
"name": "RetryCancelled",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "id",
"type": 58,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 4,
"docs": ["Cancel a retry configuration for some task."]
},
{
"name": "CallUnavailable",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "id",
"type": 58,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 5,
"docs": [
"The call for the provided hash was not found so the task has been aborted."
]
},
{
"name": "PeriodicFailed",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "id",
"type": 58,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 6,
"docs": [
"The given task was unable to be renewed since the agenda is full at that block."
]
},
{
"name": "RetryFailed",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "id",
"type": 58,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 7,
"docs": [
"The given task was unable to be retried since the agenda is full at that block or there",
"was not enough weight to reschedule it."
]
},
{
"name": "PermanentlyOverweight",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "id",
"type": 58,
"typeName": "Option<TaskName>",
"docs": []
}
],
"index": 8,
"docs": [
"The given task can never be executed since it is overweight."
]
}
]
},
"docs": ["Events type."]
},
{
"id": 57,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [4, 4]
},
"docs": []
},
{
"id": 58,
"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": 59,
"path": ["pallet_preimage", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noted",
"fields": [
{
"name": "hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 0,
"docs": ["A preimage has been noted."]
},
{
"name": "Requested",
"fields": [
{
"name": "hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 1,
"docs": ["A preimage has been requested."]
},
{
"name": "Cleared",
"fields": [
{
"name": "hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 2,
"docs": ["A preimage has ben cleared."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 60,
"path": ["pallet_sudo", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Sudid",
"fields": [
{
"name": "sudo_result",
"type": 50,
"typeName": "DispatchResult",
"docs": ["The result of the call made by the sudo user."]
}
],
"index": 0,
"docs": ["A sudo call just took place."]
},
{
"name": "KeyChanged",
"fields": [
{
"name": "old",
"type": 61,
"typeName": "Option<T::AccountId>",
"docs": ["The old sudo key (if one was previously set)."]
},
{
"name": "new",
"type": 0,
"typeName": "T::AccountId",
"docs": ["The new sudo key (if one was set)."]
}
],
"index": 1,
"docs": ["The sudo key has been updated."]
},
{
"name": "KeyRemoved",
"fields": [],
"index": 2,
"docs": ["The key was permanently removed."]
},
{
"name": "SudoAsDone",
"fields": [
{
"name": "sudo_result",
"type": 50,
"typeName": "DispatchResult",
"docs": ["The result of the call made by the sudo user."]
}
],
"index": 3,
"docs": ["A [sudo_as](Pallet::sudo_as) call just took place."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 61,
"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": 62,
"path": ["pallet_proxy", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "ProxyExecuted",
"fields": [
{
"name": "result",
"type": 50,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 0,
"docs": ["A proxy was executed correctly, with the given."]
},
{
"name": "PureCreated",
"fields": [
{
"name": "pure",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proxy_type",
"type": 63,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "disambiguation_index",
"type": 64,
"typeName": "u16",
"docs": []
}
],
"index": 1,
"docs": [
"A pure account has been created by new proxy with given",
"disambiguation index and proxy type."
]
},
{
"name": "Announced",
"fields": [
{
"name": "real",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proxy",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "call_hash",
"type": 13,
"typeName": "CallHashOf<T>",
"docs": []
}
],
"index": 2,
"docs": ["An announcement was placed to make a call in the future."]
},
{
"name": "ProxyAdded",
"fields": [
{
"name": "delegator",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "delegatee",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proxy_type",
"type": 63,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 3,
"docs": ["A proxy was added."]
},
{
"name": "ProxyRemoved",
"fields": [
{
"name": "delegator",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "delegatee",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "proxy_type",
"type": 63,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 4,
"docs": ["A proxy was removed."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 63,
"path": ["westend_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": "SudoBalances",
"fields": [],
"index": 4,
"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": 64,
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "u16"
}
},
"docs": []
},
{
"id": 65,
"path": ["pallet_multisig", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "NewMultisig",
"fields": [
{
"name": "approving",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "multisig",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "call_hash",
"type": 1,
"typeName": "CallHash",
"docs": []
}
],
"index": 0,
"docs": ["A new multisig operation has begun."]
},
{
"name": "MultisigApproval",
"fields": [
{
"name": "approving",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "timepoint",
"type": 66,
"typeName": "Timepoint<BlockNumberFor<T>>",
"docs": []
},
{
"name": "multisig",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "call_hash",
"type": 1,
"typeName": "CallHash",
"docs": []
}
],
"index": 1,
"docs": ["A multisig operation has been approved by someone."]
},
{
"name": "MultisigExecuted",
"fields": [
{
"name": "approving",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "timepoint",
"type": 66,
"typeName": "Timepoint<BlockNumberFor<T>>",
"docs": []
},
{
"name": "multisig",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "call_hash",
"type": 1,
"typeName": "CallHash",
"docs": []
},
{
"name": "result",
"type": 50,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 2,
"docs": ["A multisig operation has been executed."]
},
{
"name": "MultisigCancelled",
"fields": [
{
"name": "cancelling",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "timepoint",
"type": 66,
"typeName": "Timepoint<BlockNumberFor<T>>",
"docs": []
},
{
"name": "multisig",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "call_hash",
"type": 1,
"typeName": "CallHash",
"docs": []
}
],
"index": 3,
"docs": ["A multisig operation has been cancelled."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 66,
"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": 67,
"path": ["pallet_election_provider_multi_phase", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "SolutionStored",
"fields": [
{
"name": "compute",
"type": 68,
"typeName": "ElectionCompute",
"docs": []
},
{
"name": "origin",
"type": 61,
"typeName": "Option<T::AccountId>",
"docs": []
},
{
"name": "prev_ejected",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 0,
"docs": [
"A solution was stored with the given compute.",
"",
"The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,",
"the stored solution was submited in the signed phase by a miner with the `AccountId`.",
"Otherwise, the solution was stored either during the unsigned phase or by",
"`T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make",
"room for this one."
]
},
{
"name": "ElectionFinalized",
"fields": [
{
"name": "compute",
"type": 68,
"typeName": "ElectionCompute",
"docs": []
},
{
"name": "score",
"type": 69,
"typeName": "ElectionScore",
"docs": []
}
],
"index": 1,
"docs": [
"The election has been finalized, with the given computation and score."
]
},
{
"name": "ElectionFailed",
"fields": [],
"index": 2,
"docs": [
"An election failed.",
"",
"Not much can be said about which computes failed in the process."
]
},
{
"name": "Rewarded",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "<T as frame_system::Config>::AccountId",
"docs": []
},
{
"name": "value",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 3,
"docs": [
"An account has been rewarded for their signed submission being finalized."
]
},
{
"name": "Slashed",
"fields": [
{
"name": "account",
"type": 0,
"typeName": "<T as frame_system::Config>::AccountId",
"docs": []
},
{
"name": "value",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"An account has been slashed for submitting an invalid signed submission."
]
},
{
"name": "PhaseTransitioned",
"fields": [
{
"name": "from",
"type": 70,
"typeName": "Phase<BlockNumberFor<T>>",
"docs": []
},
{
"name": "to",
"type": 70,
"typeName": "Phase<BlockNumberFor<T>>",
"docs": []
},
{
"name": "round",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 5,
"docs": ["There was a phase transition in a given round."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 68,
"path": ["pallet_election_provider_multi_phase", "ElectionCompute"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "OnChain",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Signed",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Unsigned",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Fallback",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "Emergency",
"fields": [],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 69,
"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": 70,
"path": ["pallet_election_provider_multi_phase", "Phase"],
"params": [
{
"name": "Bn",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Off",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Signed",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Unsigned",
"fields": [
{
"type": 71,
"typeName": "(bool, Bn)",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Emergency",
"fields": [],
"index": 3,
"docs": []
}
]
},
"docs": []
},
{
"id": 71,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [8, 4]
},
"docs": []
},
{
"id": 72,
"path": ["pallet_bags_list", "pallet", "Event"],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Rebagged",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "from",
"type": 12,
"typeName": "T::Score",
"docs": []
},
{
"name": "to",
"type": 12,
"typeName": "T::Score",
"docs": []
}
],
"index": 0,
"docs": ["Moved an account from one bag to another."]
},
{
"name": "ScoreUpdated",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "new_score",
"type": 12,
"typeName": "T::Score",
"docs": []
}
],
"index": 1,
"docs": ["Updated the score of some account to the given amount."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 73,
"path": ["pallet_nomination_pools", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Created",
"fields": [
{
"name": "depositor",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
}
],
"index": 0,
"docs": ["A pool has been created."]
},
{
"name": "Bonded",
"fields": [
{
"name": "member",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "bonded",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "joined",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 1,
"docs": ["A member has became bonded in a pool."]
},
{
"name": "PaidOut",
"fields": [
{
"name": "member",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "payout",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 2,
"docs": ["A payout has been made to a member."]
},
{
"name": "Unbonded",
"fields": [
{
"name": "member",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "points",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "era",
"type": 4,
"typeName": "EraIndex",
"docs": []
}
],
"index": 3,
"docs": [
"A member has unbonded from their pool.",
"",
"- `balance` is the corresponding balance of the number of points that has been",
" requested to be unbonded (the argument of the `unbond` transaction) from the bonded",
" pool.",
"- `points` is the number of points that are issued as a result of `balance` being",
"dissolved into the corresponding unbonding pool.",
"- `era` is the era in which the balance will be unbonded.",
"In the absence of slashing, these values will match. In the presence of slashing, the",
"number of points that are issued in the unbonding pool will be less than the amount",
"requested to be unbonded."
]
},
{
"name": "Withdrawn",
"fields": [
{
"name": "member",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "points",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"A member has withdrawn from their pool.",
"",
"The given number of `points` have been dissolved in return of `balance`.",
"",
"Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance",
"will be 1."
]
},
{
"name": "Destroyed",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
}
],
"index": 5,
"docs": ["A pool has been destroyed."]
},
{
"name": "StateChanged",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "new_state",
"type": 74,
"typeName": "PoolState",
"docs": []
}
],
"index": 6,
"docs": ["The state of a pool has changed"]
},
{
"name": "MemberRemoved",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "member",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 7,
"docs": [
"A member has been removed from a pool.",
"",
"The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)."
]
},
{
"name": "RolesUpdated",
"fields": [
{
"name": "root",
"type": 61,
"typeName": "Option<T::AccountId>",
"docs": []
},
{
"name": "bouncer",
"type": 61,
"typeName": "Option<T::AccountId>",
"docs": []
},
{
"name": "nominator",
"type": 61,
"typeName": "Option<T::AccountId>",
"docs": []
}
],
"index": 8,
"docs": [
"The roles of a pool have been updated to the given new roles. Note that the depositor",
"can never change."
]
},
{
"name": "PoolSlashed",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 9,
"docs": [
"The active balance of pool `pool_id` has been slashed to `balance`."
]
},
{
"name": "UnbondingPoolSlashed",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "era",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "balance",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 10,
"docs": [
"The unbond pool at `era` of pool `pool_id` has been slashed to `balance`."
]
},
{
"name": "PoolCommissionUpdated",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "current",
"type": 75,
"typeName": "Option<(Perbill, T::AccountId)>",
"docs": []
}
],
"index": 11,
"docs": ["A pool's commission setting has been changed."]
},
{
"name": "PoolMaxCommissionUpdated",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "max_commission",
"type": 37,
"typeName": "Perbill",
"docs": []
}
],
"index": 12,
"docs": ["A pool's maximum commission setting has been changed."]
},
{
"name": "PoolCommissionChangeRateUpdated",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "change_rate",
"type": 77,
"typeName": "CommissionChangeRate<BlockNumberFor<T>>",
"docs": []
}
],
"index": 13,
"docs": ["A pool's commission `change_rate` has been changed."]
},
{
"name": "PoolCommissionClaimPermissionUpdated",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "permission",
"type": 78,
"typeName": "Option<CommissionClaimPermission<T::AccountId>>",
"docs": []
}
],
"index": 14,
"docs": ["Pool commission claim permission has been updated."]
},
{
"name": "PoolCommissionClaimed",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "commission",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 15,
"docs": ["Pool commission has been claimed."]
},
{
"name": "MinBalanceDeficitAdjusted",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 16,
"docs": ["Topped up deficit in frozen ED of the reward pool."]
},
{
"name": "MinBalanceExcessAdjusted",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 17,
"docs": ["Claimed excess frozen ED of af the reward pool."]
}
]
},
"docs": ["Events of this pallet."]
},
{
"id": 74,
"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": 75,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 76
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 76,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 76,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [37, 0]
},
"docs": []
},
{
"id": 77,
"path": ["pallet_nomination_pools", "CommissionChangeRate"],
"params": [
{
"name": "BlockNumber",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "max_increase",
"type": 37,
"typeName": "Perbill",
"docs": []
},
{
"name": "min_delay",
"type": 4,
"typeName": "BlockNumber",
"docs": []
}
]
},
"docs": []
},
{
"id": 78,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 79
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 79,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 79,
"path": ["pallet_nomination_pools", "CommissionClaimPermission"],
"params": [
{
"name": "AccountId",
"type": 0
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Permissionless",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Account",
"fields": [
{
"type": 0,
"typeName": "AccountId",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 80,
"path": ["pallet_fast_unstake", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Unstaked",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "result",
"type": 50,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 0,
"docs": ["A staker was unstaked."]
},
{
"name": "Slashed",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"A staker was slashed for requesting fast-unstake whilst being exposed."
]
},
{
"name": "BatchChecked",
"fields": [
{
"name": "eras",
"type": 81,
"typeName": "Vec<EraIndex>",
"docs": []
}
],
"index": 2,
"docs": [
"A batch was partially checked for the given eras, but the process did not finish."
]
},
{
"name": "BatchFinished",
"fields": [
{
"name": "size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": [
"A batch of a given size was terminated.",
"",
"This is always follows by a number of `Unstaked` or `Slashed` events, marking the end",
"of the batch. A new batch will be created upon next block."
]
},
{
"name": "InternalError",
"fields": [],
"index": 4,
"docs": [
"An internal error happened. Operations will be paused now."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 81,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 4
},
"docs": []
},
{
"id": 82,
"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": ["The `Event` enum of this pallet"]
},
{
"id": 83,
"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": 64,
"typeName": "TrackIdOf<T, I>",
"docs": [
"The track (and by extension proposal dispatch origin) of this referendum."
]
},
{
"name": "proposal",
"type": 84,
"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 slashed."]
},
{
"name": "DecisionStarted",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "ReferendumIndex",
"docs": ["Index of the referendum."]
},
{
"name": "track",
"type": 64,
"typeName": "TrackIdOf<T, I>",
"docs": [
"The track (and by extension proposal dispatch origin) of this referendum."
]
},
{
"name": "proposal",
"type": 84,
"typeName": "BoundedCallOf<T, I>",
"docs": ["The proposal for the referendum."]
},
{
"name": "tally",
"type": 479,
"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": 479,
"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": 479,
"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": 479,
"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": 479,
"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": 479,
"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": 13,
"typeName": "T::Hash",
"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": 13,
"typeName": "T::Hash",
"docs": ["Preimage hash."]
}
],
"index": 15,
"docs": ["Metadata for a referendum has been cleared."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 84,
"path": ["frame_support", "traits", "preimages", "Bounded"],
"params": [
{
"name": "T",
"type": 85
},
{
"name": "H",
"type": 477
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Legacy",
"fields": [
{
"name": "hash",
"type": 13,
"typeName": "H::Output",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Inline",
"fields": [
{
"type": 478,
"typeName": "BoundedInline",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Lookup",
"fields": [
{
"name": "hash",
"type": 13,
"typeName": "H::Output",
"docs": []
},
{
"name": "len",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 85,
"path": ["westend_runtime", "RuntimeCall"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "System",
"fields": [
{
"type": 86,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<System, Runtime>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Babe",
"fields": [
{
"type": 90,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Babe, Runtime>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Timestamp",
"fields": [
{
"type": 101,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Timestamp, Runtime>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Indices",
"fields": [
{
"type": 102,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Indices, Runtime>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Balances",
"fields": [
{
"type": 106,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Balances, Runtime>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Staking",
"fields": [
{
"type": 110,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Staking, Runtime>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "Session",
"fields": [
{
"type": 118,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Session, Runtime>",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "Grandpa",
"fields": [
{
"type": 126,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Grandpa, Runtime>",
"docs": []
}
],
"index": 10,
"docs": []
},
{
"name": "Utility",
"fields": [
{
"type": 138,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Utility, Runtime>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "Identity",
"fields": [
{
"type": 162,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Identity, Runtime>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "Recovery",
"fields": [
{
"type": 206,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Recovery, Runtime>",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "Vesting",
"fields": [
{
"type": 207,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Vesting, Runtime>",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "Scheduler",
"fields": [
{
"type": 209,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Scheduler, Runtime>",
"docs": []
}
],
"index": 20,
"docs": []
},
{
"name": "Preimage",
"fields": [
{
"type": 211,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Preimage, Runtime>",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "Sudo",
"fields": [
{
"type": 213,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Sudo, Runtime>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "Proxy",
"fields": [
{
"type": 214,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Proxy, Runtime>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "Multisig",
"fields": [
{
"type": 216,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Multisig, Runtime>",
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "ElectionProviderMultiPhase",
"fields": [
{
"type": 218,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ElectionProviderMultiPhase, Runtime>",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "VoterList",
"fields": [
{
"type": 279,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<VoterList, Runtime>",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "NominationPools",
"fields": [
{
"type": 280,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<NominationPools, Runtime>",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "FastUnstake",
"fields": [
{
"type": 287,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<FastUnstake, Runtime>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ConvictionVoting",
"fields": [
{
"type": 288,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ConvictionVoting, Runtime>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "Referenda",
"fields": [
{
"type": 293,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Referenda, Runtime>",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "Whitelist",
"fields": [
{
"type": 296,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Whitelist, Runtime>",
"docs": []
}
],
"index": 36,
"docs": []
},
{
"name": "Treasury",
"fields": [
{
"type": 297,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Treasury, Runtime>",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "Configuration",
"fields": [
{
"type": 314,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Configuration, Runtime>",
"docs": []
}
],
"index": 42,
"docs": []
},
{
"name": "ParasShared",
"fields": [
{
"type": 323,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParasShared, Runtime>",
"docs": []
}
],
"index": 43,
"docs": []
},
{
"name": "ParaInclusion",
"fields": [
{
"type": 324,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParaInclusion, Runtime>",
"docs": []
}
],
"index": 44,
"docs": []
},
{
"name": "ParaInherent",
"fields": [
{
"type": 325,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParaInherent, Runtime>",
"docs": []
}
],
"index": 45,
"docs": []
},
{
"name": "Paras",
"fields": [
{
"type": 360,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Paras, Runtime>",
"docs": []
}
],
"index": 47,
"docs": []
},
{
"name": "Initializer",
"fields": [
{
"type": 362,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Initializer, Runtime>",
"docs": []
}
],
"index": 48,
"docs": []
},
{
"name": "Hrmp",
"fields": [
{
"type": 363,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Hrmp, Runtime>",
"docs": []
}
],
"index": 51,
"docs": []
},
{
"name": "ParasDisputes",
"fields": [
{
"type": 365,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParasDisputes, Runtime>",
"docs": []
}
],
"index": 53,
"docs": []
},
{
"name": "ParasSlashing",
"fields": [
{
"type": 366,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParasSlashing, Runtime>",
"docs": []
}
],
"index": 54,
"docs": []
},
{
"name": "OnDemandAssignmentProvider",
"fields": [
{
"type": 370,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<OnDemandAssignmentProvider, Runtime>",
"docs": []
}
],
"index": 56,
"docs": []
},
{
"name": "Registrar",
"fields": [
{
"type": 371,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Registrar, Runtime>",
"docs": []
}
],
"index": 60,
"docs": []
},
{
"name": "Slots",
"fields": [
{
"type": 372,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Slots, Runtime>",
"docs": []
}
],
"index": 61,
"docs": []
},
{
"name": "ParasSudoWrapper",
"fields": [
{
"type": 373,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<ParasSudoWrapper, Runtime>",
"docs": []
}
],
"index": 62,
"docs": []
},
{
"name": "Auctions",
"fields": [
{
"type": 437,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Auctions, Runtime>",
"docs": []
}
],
"index": 63,
"docs": []
},
{
"name": "Crowdloan",
"fields": [
{
"type": 439,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Crowdloan, Runtime>",
"docs": []
}
],
"index": 64,
"docs": []
},
{
"name": "AssignedSlots",
"fields": [
{
"type": 442,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<AssignedSlots, Runtime>",
"docs": []
}
],
"index": 65,
"docs": []
},
{
"name": "Coretime",
"fields": [
{
"type": 444,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Coretime, Runtime>",
"docs": []
}
],
"index": 66,
"docs": []
},
{
"name": "XcmPallet",
"fields": [
{
"type": 449,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<XcmPallet, Runtime>",
"docs": []
}
],
"index": 99,
"docs": []
},
{
"name": "MessageQueue",
"fields": [
{
"type": 462,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<MessageQueue, Runtime>",
"docs": []
}
],
"index": 100,
"docs": []
},
{
"name": "AssetRate",
"fields": [
{
"type": 465,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<AssetRate, Runtime>",
"docs": []
}
],
"index": 101,
"docs": []
},
{
"name": "RootTesting",
"fields": [
{
"type": 467,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<RootTesting, Runtime>",
"docs": []
}
],
"index": 102,
"docs": []
},
{
"name": "Beefy",
"fields": [
{
"type": 468,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<Beefy, Runtime>",
"docs": []
}
],
"index": 200,
"docs": []
},
{
"name": "IdentityMigrator",
"fields": [
{
"type": 476,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor<IdentityMigrator, Runtime>",
"docs": []
}
],
"index": 248,
"docs": []
}
]
},
"docs": []
},
{
"id": 86,
"path": ["frame_system", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "remark",
"fields": [
{
"name": "remark",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 0,
"docs": [
"Make some on-chain remark.",
"",
"Can be executed by every `origin`."
]
},
{
"name": "set_heap_pages",
"fields": [
{
"name": "pages",
"type": 12,
"typeName": "u64",
"docs": []
}
],
"index": 1,
"docs": [
"Set the number of pages in the WebAssembly environment's heap."
]
},
{
"name": "set_code",
"fields": [
{
"name": "code",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 2,
"docs": ["Set the new runtime code."]
},
{
"name": "set_code_without_checks",
"fields": [
{
"name": "code",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 3,
"docs": [
"Set the new runtime code without doing any checks of the given `code`.",
"",
"Note that runtime upgrades will not run if this is called with a not-increasing spec",
"version!"
]
},
{
"name": "set_storage",
"fields": [
{
"name": "items",
"type": 87,
"typeName": "Vec<KeyValue>",
"docs": []
}
],
"index": 4,
"docs": ["Set some items of storage."]
},
{
"name": "kill_storage",
"fields": [
{
"name": "keys",
"type": 89,
"typeName": "Vec<Key>",
"docs": []
}
],
"index": 5,
"docs": ["Kill some items from storage."]
},
{
"name": "kill_prefix",
"fields": [
{
"name": "prefix",
"type": 14,
"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": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 7,
"docs": ["Make some on-chain remark and emit event."]
},
{
"name": "authorize_upgrade",
"fields": [
{
"name": "code_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 9,
"docs": [
"Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied",
"later.",
"",
"This call requires Root origin."
]
},
{
"name": "authorize_upgrade_without_checks",
"fields": [
{
"name": "code_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 10,
"docs": [
"Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied",
"later.",
"",
"WARNING: This authorizes an upgrade that will take place without any safety checks, for",
"example that the spec name remains the same and that the version number increases. Not",
"recommended for normal use. Use `authorize_upgrade` instead.",
"",
"This call requires Root origin."
]
},
{
"name": "apply_authorized_upgrade",
"fields": [
{
"name": "code",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 11,
"docs": [
"Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.",
"",
"If the authorization required a version check, this call will ensure the spec name",
"remains unchanged and that the spec version has increased.",
"",
"Depending on the runtime's `OnSetCode` configuration, this function may directly apply",
"the new `code` in the same block or attempt to schedule the upgrade.",
"",
"All origins are allowed."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 87,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 88
},
"docs": []
},
{
"id": 88,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [14, 14]
},
"docs": []
},
{
"id": 89,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 14
},
"docs": []
},
{
"id": 90,
"path": ["pallet_babe", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "report_equivocation",
"fields": [
{
"name": "equivocation_proof",
"type": 91,
"typeName": "Box<EquivocationProof<HeaderFor<T>>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 97,
"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": 91,
"typeName": "Box<EquivocationProof<HeaderFor<T>>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 97,
"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": 98,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 91,
"path": ["sp_consensus_slots", "EquivocationProof"],
"params": [
{
"name": "Header",
"type": 92
},
{
"name": "Id",
"type": 94
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "offender",
"type": 94,
"typeName": "Id",
"docs": []
},
{
"name": "slot",
"type": 96,
"typeName": "Slot",
"docs": []
},
{
"name": "first_header",
"type": 92,
"typeName": "Header",
"docs": []
},
{
"name": "second_header",
"type": 92,
"typeName": "Header",
"docs": []
}
]
},
"docs": []
},
{
"id": 92,
"path": ["sp_runtime", "generic", "header", "Header"],
"params": [
{
"name": "Number",
"type": 4
},
{
"name": "Hash"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "parent_hash",
"type": 13,
"typeName": "Hash::Output",
"docs": []
},
{
"name": "number",
"type": 93,
"typeName": "Number",
"docs": []
},
{
"name": "state_root",
"type": 13,
"typeName": "Hash::Output",
"docs": []
},
{
"name": "extrinsics_root",
"type": 13,
"typeName": "Hash::Output",
"docs": []
},
{
"name": "digest",
"type": 15,
"typeName": "Digest",
"docs": []
}
]
},
"docs": []
},
{
"id": 93,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 4
},
"docs": []
},
{
"id": 94,
"path": ["sp_consensus_babe", "app", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 95,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 95,
"path": ["sp_core", "sr25519", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
]
},
"docs": []
},
{
"id": 96,
"path": ["sp_consensus_slots", "Slot"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 12,
"typeName": "u64",
"docs": []
}
]
},
"docs": []
},
{
"id": 97,
"path": ["sp_session", "MembershipProof"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "session",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "trie_nodes",
"type": 89,
"typeName": "Vec<Vec<u8>>",
"docs": []
},
{
"name": "validator_count",
"type": 4,
"typeName": "ValidatorCount",
"docs": []
}
]
},
"docs": []
},
{
"id": 98,
"path": ["sp_consensus_babe", "digests", "NextConfigDescriptor"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V1",
"fields": [
{
"name": "c",
"type": 99,
"typeName": "(u64, u64)",
"docs": []
},
{
"name": "allowed_slots",
"type": 100,
"typeName": "AllowedSlots",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 99,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [12, 12]
},
"docs": []
},
{
"id": 100,
"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": 101,
"path": ["pallet_timestamp", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "set",
"fields": [
{
"name": "now",
"type": 11,
"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",
"[`Config::MinimumPeriod`].",
"",
"The dispatch origin for this call must be _None_.",
"",
"This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware",
"that changing the complexity of this call could result exhausting the resources in a",
"block to execute any other calls.",
"",
"## 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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 102,
"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": 103,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "T::AccountIndex",
"docs": []
},
{
"name": "freeze",
"type": 8,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 103,
"path": ["sp_runtime", "multiaddress", "MultiAddress"],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "AccountIndex",
"type": 51
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Id",
"fields": [
{
"type": 0,
"typeName": "AccountId",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 104,
"typeName": "AccountIndex",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Raw",
"fields": [
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Address32",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Address20",
"fields": [
{
"type": 105,
"typeName": "[u8; 20]",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 104,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 51
},
"docs": []
},
{
"id": 105,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 20,
"type": 2
}
},
"docs": []
},
{
"id": 106,
"path": ["pallet_balances", "pallet", "Call"],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "transfer_allow_death",
"fields": [
{
"name": "dest",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "value",
"type": 107,
"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": "force_transfer",
"fields": [
{
"name": "source",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "dest",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "value",
"type": 107,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "value",
"type": 107,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "keep_alive",
"type": 8,
"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": 103,
"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": 108,
"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": "force_set_balance",
"fields": [
{
"name": "who",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "new_free",
"type": 107,
"typeName": "T::Balance",
"docs": []
}
],
"index": 8,
"docs": [
"Set the regular balance of a given account.",
"",
"The dispatch origin for this call is `root`."
]
},
{
"name": "force_adjust_total_issuance",
"fields": [
{
"name": "direction",
"type": 109,
"typeName": "AdjustmentDirection",
"docs": []
},
{
"name": "delta",
"type": 107,
"typeName": "T::Balance",
"docs": []
}
],
"index": 9,
"docs": [
"Adjust the total issuance in a saturating way.",
"",
"Can only be called by root and always needs a positive `delta`.",
"",
"# Example"
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 107,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 6
},
"docs": []
},
{
"id": 108,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 0
},
"docs": []
},
{
"id": 109,
"path": ["pallet_balances", "types", "AdjustmentDirection"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Increase",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Decrease",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 110,
"path": ["pallet_staking", "pallet", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "bond",
"fields": [
{
"name": "value",
"type": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "payee",
"type": 36,
"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": 107,
"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": 107,
"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`].",
"",
"## Parameters",
"",
"- `num_slashing_spans` indicates the number of metadata slashing spans to clear when",
"this call results in a complete removal of all the data related to the stash account.",
"In this case, the `num_slashing_spans` must be larger or equal to the number of",
"slashing spans associated with the stash account in the [`SlashingSpans`] storage type,",
"otherwise the call will fail. The call weight is directly propotional to",
"`num_slashing_spans`.",
"",
"## 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": 38,
"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": 111,
"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": 36,
"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": 93,
"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": 93,
"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": 112,
"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": 108,
"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.",
"",
"## Parameters",
"",
"- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more",
"details."
]
},
{
"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": 81,
"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 next page of the stakers behind a validator for the given era.",
"",
"- `validator_stash` is the stash account of the validator.",
"- `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.",
"",
"The reward payout could be paged in case there are too many nominators backing the",
"`validator_stash`. This call will payout unpaid pages in an ascending order. To claim a",
"specific page, use `payout_stakers_by_page`.`",
"",
"If all pages are claimed, it returns an error `InvalidPage`."
]
},
{
"name": "rebond",
"fields": [
{
"name": "value",
"type": 107,
"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.",
"",
"## Parameters",
"",
"- `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more",
"details."
]
},
{
"name": "kick",
"fields": [
{
"name": "who",
"type": 111,
"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": 113,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "min_validator_bond",
"type": 113,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "max_nominator_count",
"type": 114,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "max_validator_count",
"type": 114,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "chill_threshold",
"type": 115,
"typeName": "ConfigOp<Percent>",
"docs": []
},
{
"name": "min_commission",
"type": 116,
"typeName": "ConfigOp<Perbill>",
"docs": []
},
{
"name": "max_staked_rewards",
"type": 115,
"typeName": "ConfigOp<Percent>",
"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": "stash",
"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": 37,
"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."
]
},
{
"name": "payout_stakers_by_page",
"fields": [
{
"name": "validator_stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "era",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "page",
"type": 4,
"typeName": "Page",
"docs": []
}
],
"index": 26,
"docs": [
"Pay out a page of the stakers behind a validator for the given era and page.",
"",
"- `validator_stash` is the stash account of the validator.",
"- `era` may be any era between `[current_era - history_depth; current_era]`.",
"- `page` is the page index of nominators to pay out with value between 0 and",
" `num_nominators / T::MaxExposurePageSize`.",
"",
"The origin of this call must be _Signed_. Any account can call this function, even if",
"it is not one of the stakers.",
"",
"If a validator has more than [`Config::MaxExposurePageSize`] nominators backing",
"them, then the list of nominators is paged, with each page being capped at",
"[`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,",
"the call needs to be made for each page separately in order for all the nominators",
"backing a validator to receive the reward. The nominators are not sorted across pages",
"and so it should not be assumed the highest staker would be on the topmost page and vice",
"versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost."
]
},
{
"name": "update_payee",
"fields": [
{
"name": "controller",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 27,
"docs": [
"Migrates an account's `RewardDestination::Controller` to",
"`RewardDestination::Account(controller)`.",
"",
"Effects will be felt instantly (as soon as this function is completed successfully).",
"",
"This will waive the transaction fee if the `payee` is successfully migrated."
]
},
{
"name": "deprecate_controller_batch",
"fields": [
{
"name": "controllers",
"type": 117,
"typeName": "BoundedVec<T::AccountId, T::MaxControllersInDeprecationBatch>",
"docs": []
}
],
"index": 28,
"docs": [
"Updates a batch of controller accounts to their corresponding stash account if they are",
"not the same. Ignores any controller accounts that do not exist, and does not operate if",
"the stash and controller are already the same.",
"",
"Effects will be felt instantly (as soon as this function is completed successfully).",
"",
"The dispatch origin must be `T::AdminOrigin`."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 111,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 103
},
"docs": []
},
{
"id": 112,
"path": ["sp_arithmetic", "per_things", "Percent"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 2,
"typeName": "u8",
"docs": []
}
]
},
"docs": []
},
{
"id": 113,
"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": 114,
"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": 115,
"path": ["pallet_staking", "pallet", "pallet", "ConfigOp"],
"params": [
{
"name": "T",
"type": 112
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 112,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 116,
"path": ["pallet_staking", "pallet", "pallet", "ConfigOp"],
"params": [
{
"name": "T",
"type": 37
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 37,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 117,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 0
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 108,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 118,
"path": ["pallet_session", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "set_keys",
"fields": [
{
"name": "keys",
"type": 119,
"typeName": "T::Keys",
"docs": []
},
{
"name": "proof",
"type": 14,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 119,
"path": ["westend_runtime", "SessionKeys"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "grandpa",
"type": 47,
"typeName": "<Grandpa as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "babe",
"type": 94,
"typeName": "<Babe as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "para_validator",
"type": 120,
"typeName": "<Initializer as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "para_assignment",
"type": 121,
"typeName": "<ParaSessionInfo as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "authority_discovery",
"type": 122,
"typeName": "<AuthorityDiscovery as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
},
{
"name": "beefy",
"type": 123,
"typeName": "<Beefy as $crate::BoundToRuntimeAppPublic>::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 120,
"path": ["polkadot_primitives", "v6", "validator_app", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 95,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 121,
"path": ["polkadot_primitives", "v6", "assignment_app", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 95,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 122,
"path": ["sp_authority_discovery", "app", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 95,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 123,
"path": ["sp_consensus_beefy", "ecdsa_crypto", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 124,
"typeName": "ecdsa::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 124,
"path": ["sp_core", "ecdsa", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 125,
"typeName": "[u8; PUBLIC_KEY_SERIALIZED_SIZE]",
"docs": []
}
]
},
"docs": []
},
{
"id": 125,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 33,
"type": 2
}
},
"docs": []
},
{
"id": 126,
"path": ["pallet_grandpa", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "report_equivocation",
"fields": [
{
"name": "equivocation_proof",
"type": 127,
"typeName": "Box<EquivocationProof<T::Hash, BlockNumberFor<T>>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 97,
"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": 127,
"typeName": "Box<EquivocationProof<T::Hash, BlockNumberFor<T>>>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 97,
"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": "BlockNumberFor<T>",
"docs": []
},
{
"name": "best_finalized_block_number",
"type": 4,
"typeName": "BlockNumberFor<T>",
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 127,
"path": ["sp_consensus_grandpa", "EquivocationProof"],
"params": [
{
"name": "H",
"type": 13
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "set_id",
"type": 12,
"typeName": "SetId",
"docs": []
},
{
"name": "equivocation",
"type": 128,
"typeName": "Equivocation<H, N>",
"docs": []
}
]
},
"docs": []
},
{
"id": 128,
"path": ["sp_consensus_grandpa", "Equivocation"],
"params": [
{
"name": "H",
"type": 13
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Prevote",
"fields": [
{
"type": 129,
"typeName": "grandpa::Equivocation<AuthorityId, grandpa::Prevote<H, N>,\nAuthoritySignature>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Precommit",
"fields": [
{
"type": 135,
"typeName": "grandpa::Equivocation<AuthorityId, grandpa::Precommit<H, N>,\nAuthoritySignature>",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 129,
"path": ["finality_grandpa", "Equivocation"],
"params": [
{
"name": "Id",
"type": 47
},
{
"name": "V",
"type": 130
},
{
"name": "S",
"type": 131
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "round_number",
"type": 12,
"typeName": "u64",
"docs": []
},
{
"name": "identity",
"type": 47,
"typeName": "Id",
"docs": []
},
{
"name": "first",
"type": 134,
"typeName": "(V, S)",
"docs": []
},
{
"name": "second",
"type": 134,
"typeName": "(V, S)",
"docs": []
}
]
},
"docs": []
},
{
"id": 130,
"path": ["finality_grandpa", "Prevote"],
"params": [
{
"name": "H",
"type": 13
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "target_hash",
"type": 13,
"typeName": "H",
"docs": []
},
{
"name": "target_number",
"type": 4,
"typeName": "N",
"docs": []
}
]
},
"docs": []
},
{
"id": 131,
"path": ["sp_consensus_grandpa", "app", "Signature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 132,
"typeName": "ed25519::Signature",
"docs": []
}
]
},
"docs": []
},
{
"id": 132,
"path": ["sp_core", "ed25519", "Signature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 133,
"typeName": "[u8; 64]",
"docs": []
}
]
},
"docs": []
},
{
"id": 133,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 64,
"type": 2
}
},
"docs": []
},
{
"id": 134,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [130, 131]
},
"docs": []
},
{
"id": 135,
"path": ["finality_grandpa", "Equivocation"],
"params": [
{
"name": "Id",
"type": 47
},
{
"name": "V",
"type": 136
},
{
"name": "S",
"type": 131
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "round_number",
"type": 12,
"typeName": "u64",
"docs": []
},
{
"name": "identity",
"type": 47,
"typeName": "Id",
"docs": []
},
{
"name": "first",
"type": 137,
"typeName": "(V, S)",
"docs": []
},
{
"name": "second",
"type": 137,
"typeName": "(V, S)",
"docs": []
}
]
},
"docs": []
},
{
"id": 136,
"path": ["finality_grandpa", "Precommit"],
"params": [
{
"name": "H",
"type": 13
},
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "target_hash",
"type": 13,
"typeName": "H",
"docs": []
},
{
"name": "target_number",
"type": 4,
"typeName": "N",
"docs": []
}
]
},
"docs": []
},
{
"id": 137,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [136, 131]
},
"docs": []
},
{
"id": 138,
"path": ["pallet_utility", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "batch",
"fields": [
{
"name": "calls",
"type": 139,
"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": 64,
"typeName": "u16",
"docs": []
},
{
"name": "call",
"type": 85,
"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": 139,
"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": 140,
"typeName": "Box<T::PalletsOrigin>",
"docs": []
},
{
"name": "call",
"type": 85,
"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": 139,
"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": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
},
{
"name": "weight",
"type": 10,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 139,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 85
},
"docs": []
},
{
"id": 140,
"path": ["westend_runtime", "OriginCaller"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "system",
"fields": [
{
"type": 141,
"typeName": "frame_system::Origin<Runtime>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Origins",
"fields": [
{
"type": 142,
"typeName": "pallet_custom_origins::Origin",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ParachainsOrigin",
"fields": [
{
"type": 143,
"typeName": "parachains_origin::Origin",
"docs": []
}
],
"index": 41,
"docs": []
},
{
"name": "XcmPallet",
"fields": [
{
"type": 145,
"typeName": "pallet_xcm::Origin",
"docs": []
}
],
"index": 99,
"docs": []
},
{
"name": "Void",
"fields": [
{
"type": 161,
"typeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::\n__private::Void",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 141,
"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": 142,
"path": [
"westend_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": []
},
{
"name": "FellowshipInitiates",
"fields": [],
"index": 14,
"docs": []
},
{
"name": "Fellows",
"fields": [],
"index": 15,
"docs": []
},
{
"name": "FellowshipExperts",
"fields": [],
"index": 16,
"docs": []
},
{
"name": "FellowshipMasters",
"fields": [],
"index": 17,
"docs": []
},
{
"name": "Fellowship1Dan",
"fields": [],
"index": 18,
"docs": []
},
{
"name": "Fellowship2Dan",
"fields": [],
"index": 19,
"docs": []
},
{
"name": "Fellowship3Dan",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "Fellowship4Dan",
"fields": [],
"index": 21,
"docs": []
},
{
"name": "Fellowship5Dan",
"fields": [],
"index": 22,
"docs": []
},
{
"name": "Fellowship6Dan",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "Fellowship7Dan",
"fields": [],
"index": 24,
"docs": []
},
{
"name": "Fellowship8Dan",
"fields": [],
"index": 25,
"docs": []
},
{
"name": "Fellowship9Dan",
"fields": [],
"index": 26,
"docs": []
}
]
},
"docs": []
},
{
"id": 143,
"path": ["polkadot_runtime_parachains", "origin", "pallet", "Origin"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Parachain",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": []
},
{
"id": 144,
"path": ["polkadot_parachain_primitives", "primitives", "Id"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 145,
"path": ["pallet_xcm", "pallet", "Origin"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Xcm",
"fields": [
{
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Response",
"fields": [
{
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 146,
"path": ["staging_xcm", "v4", "location", "Location"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "parents",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "interior",
"type": 147,
"typeName": "Junctions",
"docs": []
}
]
},
"docs": []
},
{
"id": 147,
"path": ["staging_xcm", "v4", "junctions", "Junctions"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Here",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "X1",
"fields": [
{
"type": 148,
"typeName": "Arc<[Junction; 1]>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "X2",
"fields": [
{
"type": 154,
"typeName": "Arc<[Junction; 2]>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "X3",
"fields": [
{
"type": 155,
"typeName": "Arc<[Junction; 3]>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "X4",
"fields": [
{
"type": 156,
"typeName": "Arc<[Junction; 4]>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "X5",
"fields": [
{
"type": 157,
"typeName": "Arc<[Junction; 5]>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "X6",
"fields": [
{
"type": 158,
"typeName": "Arc<[Junction; 6]>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "X7",
"fields": [
{
"type": 159,
"typeName": "Arc<[Junction; 7]>",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "X8",
"fields": [
{
"type": 160,
"typeName": "Arc<[Junction; 8]>",
"docs": []
}
],
"index": 8,
"docs": []
}
]
},
"docs": []
},
{
"id": 148,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 1,
"type": 149
}
},
"docs": []
},
{
"id": 149,
"path": ["staging_xcm", "v4", "junction", "Junction"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Parachain",
"fields": [
{
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "AccountId32",
"fields": [
{
"name": "network",
"type": 150,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "id",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AccountIndex64",
"fields": [
{
"name": "network",
"type": 150,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "index",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AccountKey20",
"fields": [
{
"name": "network",
"type": 150,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "key",
"type": 105,
"typeName": "[u8; 20]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletInstance",
"fields": [
{
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "GeneralIndex",
"fields": [
{
"type": 107,
"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": 152,
"typeName": "BodyId",
"docs": []
},
{
"name": "part",
"type": 153,
"typeName": "BodyPart",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "GlobalConsensus",
"fields": [
{
"type": 151,
"typeName": "NetworkId",
"docs": []
}
],
"index": 9,
"docs": []
}
]
},
"docs": []
},
{
"id": 150,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 151
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 151,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 151,
"path": ["staging_xcm", "v4", "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": 12,
"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": 11,
"typeName": "u64",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "BitcoinCore",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "BitcoinCash",
"fields": [],
"index": 9,
"docs": []
},
{
"name": "PolkadotBulletin",
"fields": [],
"index": 10,
"docs": []
}
]
},
"docs": []
},
{
"id": 152,
"path": ["xcm", "v3", "junction", "BodyId"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unit",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Moniker",
"fields": [
{
"type": 18,
"typeName": "[u8; 4]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 93,
"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": 153,
"path": ["xcm", "v3", "junction", "BodyPart"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Voice",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Members",
"fields": [
{
"name": "count",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Fraction",
"fields": [
{
"name": "nom",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AtLeastProportion",
"fields": [
{
"name": "nom",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "MoreThanProportion",
"fields": [
{
"name": "nom",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 154,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 2,
"type": 149
}
},
"docs": []
},
{
"id": 155,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 3,
"type": 149
}
},
"docs": []
},
{
"id": 156,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 4,
"type": 149
}
},
"docs": []
},
{
"id": 157,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 5,
"type": 149
}
},
"docs": []
},
{
"id": 158,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 6,
"type": 149
}
},
"docs": []
},
{
"id": 159,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 7,
"type": 149
}
},
"docs": []
},
{
"id": 160,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 8,
"type": 149
}
},
"docs": []
},
{
"id": 161,
"path": ["sp_core", "Void"],
"params": [],
"def": {
"tag": "variant",
"value": []
},
"docs": []
},
{
"id": 162,
"path": ["pallet_identity", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "add_registrar",
"fields": [
{
"name": "account",
"type": 103,
"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."
]
},
{
"name": "set_identity",
"fields": [
{
"name": "info",
"type": 163,
"typeName": "Box<T::IdentityInformation>",
"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."
]
},
{
"name": "set_subs",
"fields": [
{
"name": "subs",
"type": 198,
"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."
]
},
{
"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."
]
},
{
"name": "request_judgement",
"fields": [
{
"name": "reg_index",
"type": 93,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "max_fee",
"type": 107,
"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."
]
},
{
"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."
]
},
{
"name": "set_fee",
"fields": [
{
"name": "index",
"type": 93,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "fee",
"type": 107,
"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."
]
},
{
"name": "set_account_id",
"fields": [
{
"name": "index",
"type": 93,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "new",
"type": 103,
"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."
]
},
{
"name": "set_fields",
"fields": [
{
"name": "index",
"type": 93,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "fields",
"type": 12,
"typeName": "<T::IdentityInformation as IdentityInformationProvider>::\nFieldsIdentifier",
"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."
]
},
{
"name": "provide_judgement",
"fields": [
{
"name": "reg_index",
"type": 93,
"typeName": "RegistrarIndex",
"docs": []
},
{
"name": "target",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "judgement",
"type": 200,
"typeName": "Judgement<BalanceOf<T>>",
"docs": []
},
{
"name": "identity",
"type": 13,
"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 [`IdentityInformationProvider`] for that the judgement is",
" provided.",
"",
"Note: Judgements do not apply to a username.",
"",
"Emits `JudgementGiven` if successful."
]
},
{
"name": "kill_identity",
"fields": [
{
"name": "target",
"type": 103,
"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."
]
},
{
"name": "add_sub",
"fields": [
{
"name": "sub",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "data",
"type": 166,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "data",
"type": 166,
"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": 103,
"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."
]
},
{
"name": "add_username_authority",
"fields": [
{
"name": "authority",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "suffix",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "allocation",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 15,
"docs": [
"Add an `AccountId` with permission to grant usernames with a given `suffix` appended.",
"",
"The authority can grant up to `allocation` usernames. To top up their allocation, they",
"should just issue (or request via governance) a new `add_username_authority` call."
]
},
{
"name": "remove_username_authority",
"fields": [
{
"name": "authority",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 16,
"docs": ["Remove `authority` from the username authorities."]
},
{
"name": "set_username_for",
"fields": [
{
"name": "who",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "username",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "signature",
"type": 201,
"typeName": "Option<T::OffchainSignature>",
"docs": []
}
],
"index": 17,
"docs": [
"Set the username for `who`. Must be called by a username authority.",
"",
"The authority must have an `allocation`. Users can either pre-sign their usernames or",
"accept them later.",
"",
"Usernames must:",
" - Only contain lowercase ASCII characters or digits.",
" - When combined with the suffix of the issuing authority be _less than_ the",
" `MaxUsernameLength`."
]
},
{
"name": "accept_username",
"fields": [
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
}
],
"index": 18,
"docs": [
"Accept a given username that an `authority` granted. The call must include the full",
"username, as in `username.suffix`."
]
},
{
"name": "remove_expired_approval",
"fields": [
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
}
],
"index": 19,
"docs": [
"Remove an expired username approval. The username was approved by an authority but never",
"accepted by the user and must now be beyond its expiration. The call must include the",
"full username, as in `username.suffix`."
]
},
{
"name": "set_primary_username",
"fields": [
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
}
],
"index": 20,
"docs": [
"Set a given username as the primary. The username should include the suffix."
]
},
{
"name": "remove_dangling_username",
"fields": [
{
"name": "username",
"type": 53,
"typeName": "Username<T>",
"docs": []
}
],
"index": 21,
"docs": [
"Remove a username that corresponds to an account with no identity. Exists when a user",
"gets a username but then calls `clear_identity`."
]
}
]
},
"docs": ["Identity pallet declaration."]
},
{
"id": 163,
"path": ["pallet_identity", "legacy", "IdentityInfo"],
"params": [
{
"name": "FieldLimit"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "additional",
"type": 164,
"typeName": "BoundedVec<(Data, Data), FieldLimit>",
"docs": []
},
{
"name": "display",
"type": 166,
"typeName": "Data",
"docs": []
},
{
"name": "legal",
"type": 166,
"typeName": "Data",
"docs": []
},
{
"name": "web",
"type": 166,
"typeName": "Data",
"docs": []
},
{
"name": "riot",
"type": 166,
"typeName": "Data",
"docs": []
},
{
"name": "email",
"type": 166,
"typeName": "Data",
"docs": []
},
{
"name": "pgp_fingerprint",
"type": 197,
"typeName": "Option<[u8; 20]>",
"docs": []
},
{
"name": "image",
"type": 166,
"typeName": "Data",
"docs": []
},
{
"name": "twitter",
"type": 166,
"typeName": "Data",
"docs": []
}
]
},
"docs": []
},
{
"id": 164,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 165
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 196,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 165,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [166, 166]
},
"docs": []
},
{
"id": 166,
"path": ["pallet_identity", "types", "Data"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Raw0",
"fields": [
{
"type": 167,
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Raw1",
"fields": [
{
"type": 168,
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Raw2",
"fields": [
{
"type": 169,
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Raw3",
"fields": [
{
"type": 170,
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Raw4",
"fields": [
{
"type": 18,
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Raw5",
"fields": [
{
"type": 171,
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "Raw6",
"fields": [
{
"type": 172,
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "Raw7",
"fields": [
{
"type": 173,
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "Raw8",
"fields": [
{
"type": 174,
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "Raw9",
"fields": [
{
"type": 175,
"docs": []
}
],
"index": 10,
"docs": []
},
{
"name": "Raw10",
"fields": [
{
"type": 176,
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "Raw11",
"fields": [
{
"type": 177,
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "Raw12",
"fields": [
{
"type": 178,
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "Raw13",
"fields": [
{
"type": 179,
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "Raw14",
"fields": [
{
"type": 180,
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "Raw15",
"fields": [
{
"type": 181,
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "Raw16",
"fields": [
{
"type": 42,
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "Raw17",
"fields": [
{
"type": 182,
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "Raw18",
"fields": [
{
"type": 183,
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "Raw19",
"fields": [
{
"type": 184,
"docs": []
}
],
"index": 20,
"docs": []
},
{
"name": "Raw20",
"fields": [
{
"type": 105,
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "Raw21",
"fields": [
{
"type": 185,
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "Raw22",
"fields": [
{
"type": 186,
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "Raw23",
"fields": [
{
"type": 187,
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Raw24",
"fields": [
{
"type": 188,
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "Raw25",
"fields": [
{
"type": 189,
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "Raw26",
"fields": [
{
"type": 190,
"docs": []
}
],
"index": 27,
"docs": []
},
{
"name": "Raw27",
"fields": [
{
"type": 191,
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "Raw28",
"fields": [
{
"type": 192,
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "Raw29",
"fields": [
{
"type": 193,
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "Raw30",
"fields": [
{
"type": 194,
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "Raw31",
"fields": [
{
"type": 195,
"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": 167,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 0,
"type": 2
}
},
"docs": []
},
{
"id": 168,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 1,
"type": 2
}
},
"docs": []
},
{
"id": 169,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 2,
"type": 2
}
},
"docs": []
},
{
"id": 170,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 3,
"type": 2
}
},
"docs": []
},
{
"id": 171,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 5,
"type": 2
}
},
"docs": []
},
{
"id": 172,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 6,
"type": 2
}
},
"docs": []
},
{
"id": 173,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 7,
"type": 2
}
},
"docs": []
},
{
"id": 174,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 8,
"type": 2
}
},
"docs": []
},
{
"id": 175,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 9,
"type": 2
}
},
"docs": []
},
{
"id": 176,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 10,
"type": 2
}
},
"docs": []
},
{
"id": 177,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 11,
"type": 2
}
},
"docs": []
},
{
"id": 178,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 12,
"type": 2
}
},
"docs": []
},
{
"id": 179,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 13,
"type": 2
}
},
"docs": []
},
{
"id": 180,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 14,
"type": 2
}
},
"docs": []
},
{
"id": 181,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 15,
"type": 2
}
},
"docs": []
},
{
"id": 182,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 17,
"type": 2
}
},
"docs": []
},
{
"id": 183,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 18,
"type": 2
}
},
"docs": []
},
{
"id": 184,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 19,
"type": 2
}
},
"docs": []
},
{
"id": 185,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 21,
"type": 2
}
},
"docs": []
},
{
"id": 186,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 22,
"type": 2
}
},
"docs": []
},
{
"id": 187,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 23,
"type": 2
}
},
"docs": []
},
{
"id": 188,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 24,
"type": 2
}
},
"docs": []
},
{
"id": 189,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 25,
"type": 2
}
},
"docs": []
},
{
"id": 190,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 26,
"type": 2
}
},
"docs": []
},
{
"id": 191,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 27,
"type": 2
}
},
"docs": []
},
{
"id": 192,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 28,
"type": 2
}
},
"docs": []
},
{
"id": 193,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 29,
"type": 2
}
},
"docs": []
},
{
"id": 194,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 30,
"type": 2
}
},
"docs": []
},
{
"id": 195,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 31,
"type": 2
}
},
"docs": []
},
{
"id": 196,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 165
},
"docs": []
},
{
"id": 197,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 105
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 105,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 198,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 199
},
"docs": []
},
{
"id": 199,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [0, 166]
},
"docs": []
},
{
"id": 200,
"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": 201,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 202
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 202,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 202,
"path": ["sp_runtime", "MultiSignature"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Ed25519",
"fields": [
{
"type": 132,
"typeName": "ed25519::Signature",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Sr25519",
"fields": [
{
"type": 203,
"typeName": "sr25519::Signature",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Ecdsa",
"fields": [
{
"type": 204,
"typeName": "ecdsa::Signature",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 203,
"path": ["sp_core", "sr25519", "Signature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 133,
"typeName": "[u8; 64]",
"docs": []
}
]
},
"docs": []
},
{
"id": 204,
"path": ["sp_core", "ecdsa", "Signature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 205,
"typeName": "[u8; SIGNATURE_SERIALIZED_SIZE]",
"docs": []
}
]
},
"docs": []
},
{
"id": 205,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 65,
"type": 2
}
},
"docs": []
},
{
"id": 206,
"path": ["pallet_recovery", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "as_recovered",
"fields": [
{
"name": "account",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 0,
"docs": [
"Send a call through a recovered account.",
"",
"The dispatch origin for this call must be _Signed_ and registered to",
"be able to make calls on behalf of the recovered account.",
"",
"Parameters:",
"- `account`: The recovered account you want to make a call on-behalf-of.",
"- `call`: The call you want to make with the recovered account."
]
},
{
"name": "set_recovered",
"fields": [
{
"name": "lost",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "rescuer",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"Allow ROOT to bypass the recovery process and set an a rescuer account",
"for a lost account directly.",
"",
"The dispatch origin for this call must be _ROOT_.",
"",
"Parameters:",
"- `lost`: The \"lost account\" to be recovered.",
"- `rescuer`: The \"rescuer account\" which can call as the lost account."
]
},
{
"name": "create_recovery",
"fields": [
{
"name": "friends",
"type": 108,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "threshold",
"type": 64,
"typeName": "u16",
"docs": []
},
{
"name": "delay_period",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 2,
"docs": [
"Create a recovery configuration for your account. This makes your account recoverable.",
"",
"Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance",
"will be reserved for storing the recovery configuration. This deposit is returned",
"in full when the user calls `remove_recovery`.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `friends`: A list of friends you trust to vouch for recovery attempts. Should be",
" ordered and contain no duplicate values.",
"- `threshold`: The number of friends that must vouch for a recovery attempt before the",
" account can be recovered. Should be less than or equal to the length of the list of",
" friends.",
"- `delay_period`: The number of blocks after a recovery attempt is initialized that",
" needs to pass before the account can be recovered."
]
},
{
"name": "initiate_recovery",
"fields": [
{
"name": "account",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 3,
"docs": [
"Initiate the process for recovering a recoverable account.",
"",
"Payment: `RecoveryDeposit` balance will be reserved for initiating the",
"recovery process. This deposit will always be repatriated to the account",
"trying to be recovered. See `close_recovery`.",
"",
"The dispatch origin for this call must be _Signed_.",
"",
"Parameters:",
"- `account`: The lost account that you want to recover. This account needs to be",
" recoverable (i.e. have a recovery configuration)."
]
},
{
"name": "vouch_recovery",
"fields": [
{
"name": "lost",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "rescuer",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"Allow a \"friend\" of a recoverable account to vouch for an active recovery",
"process for that account.",
"",
"The dispatch origin for this call must be _Signed_ and must be a \"friend\"",
"for the recoverable account.",
"",
"Parameters:",
"- `lost`: The lost account that you want to recover.",
"- `rescuer`: The account trying to rescue the lost account that you want to vouch for.",
"",
"The combination of these two parameters must point to an active recovery",
"process."
]
},
{
"name": "claim_recovery",
"fields": [
{
"name": "account",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 5,
"docs": [
"Allow a successful rescuer to claim their recovered account.",
"",
"The dispatch origin for this call must be _Signed_ and must be a \"rescuer\"",
"who has successfully completed the account recovery process: collected",
"`threshold` or more vouches, waited `delay_period` blocks since initiation.",
"",
"Parameters:",
"- `account`: The lost account that you want to claim has been successfully recovered by",
" you."
]
},
{
"name": "close_recovery",
"fields": [
{
"name": "rescuer",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 6,
"docs": [
"As the controller of a recoverable account, close an active recovery",
"process for your account.",
"",
"Payment: By calling this function, the recoverable account will receive",
"the recovery deposit `RecoveryDeposit` placed by the rescuer.",
"",
"The dispatch origin for this call must be _Signed_ and must be a",
"recoverable account with an active recovery process for it.",
"",
"Parameters:",
"- `rescuer`: The account trying to rescue this recoverable account."
]
},
{
"name": "remove_recovery",
"fields": [],
"index": 7,
"docs": [
"Remove the recovery process for your account. Recovered accounts are still accessible.",
"",
"NOTE: The user must make sure to call `close_recovery` on all active",
"recovery attempts before calling this function else it will fail.",
"",
"Payment: By calling this function the recoverable account will unreserve",
"their recovery configuration deposit.",
"(`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)",
"",
"The dispatch origin for this call must be _Signed_ and must be a",
"recoverable account (i.e. has a recovery configuration)."
]
},
{
"name": "cancel_recovered",
"fields": [
{
"name": "account",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 8,
"docs": [
"Cancel the ability to use `as_recovered` for `account`.",
"",
"The dispatch origin for this call must be _Signed_ and registered to",
"be able to make calls on behalf of the recovered account.",
"",
"Parameters:",
"- `account`: The recovered account you are able to call on-behalf-of."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 207,
"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": 103,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "schedule",
"type": 208,
"typeName": "VestingInfo<BalanceOf<T>, BlockNumberFor<T>>",
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "target",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "schedule",
"type": 208,
"typeName": "VestingInfo<BalanceOf<T>, BlockNumberFor<T>>",
"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."
]
},
{
"name": "force_remove_vesting_schedule",
"fields": [
{
"name": "target",
"type": 103,
"typeName": "<T::Lookup as StaticLookup>::Source",
"docs": []
},
{
"name": "schedule_index",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 5,
"docs": [
"Force remove a vesting schedule",
"",
"The dispatch origin for this call must be _Root_.",
"",
"- `target`: An account that has a vesting schedule",
"- `schedule_index`: The vesting schedule index that should be removed"
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 208,
"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": 209,
"path": ["pallet_scheduler", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "schedule",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "maybe_periodic",
"type": 210,
"typeName": "Option<schedule::Period<BlockNumberFor<T>>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 0,
"docs": ["Anonymously schedule a task."]
},
{
"name": "cancel",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "BlockNumberFor<T>",
"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": "BlockNumberFor<T>",
"docs": []
},
{
"name": "maybe_periodic",
"type": 210,
"typeName": "Option<schedule::Period<BlockNumberFor<T>>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 85,
"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": "BlockNumberFor<T>",
"docs": []
},
{
"name": "maybe_periodic",
"type": 210,
"typeName": "Option<schedule::Period<BlockNumberFor<T>>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 85,
"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": "BlockNumberFor<T>",
"docs": []
},
{
"name": "maybe_periodic",
"type": 210,
"typeName": "Option<schedule::Period<BlockNumberFor<T>>>",
"docs": []
},
{
"name": "priority",
"type": 2,
"typeName": "schedule::Priority",
"docs": []
},
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 5,
"docs": ["Schedule a named task after a delay."]
},
{
"name": "set_retry",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
},
{
"name": "retries",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "period",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 6,
"docs": [
"Set a retry configuration for a task so that, in case its scheduled run fails, it will",
"be retried after `period` blocks, for a total amount of `retries` retries or until it",
"succeeds.",
"",
"Tasks which need to be scheduled for a retry are still subject to weight metering and",
"agenda space, same as a regular task. If a periodic task fails, it will be scheduled",
"normally while the task is retrying.",
"",
"Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic",
"clones of the original task. Their retry configuration will be derived from the",
"original task's configuration, but will have a lower value for `remaining` than the",
"original `total_retries`."
]
},
{
"name": "set_retry_named",
"fields": [
{
"name": "id",
"type": 1,
"typeName": "TaskName",
"docs": []
},
{
"name": "retries",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "period",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 7,
"docs": [
"Set a retry configuration for a named task so that, in case its scheduled run fails, it",
"will be retried after `period` blocks, for a total amount of `retries` retries or until",
"it succeeds.",
"",
"Tasks which need to be scheduled for a retry are still subject to weight metering and",
"agenda space, same as a regular task. If a periodic task fails, it will be scheduled",
"normally while the task is retrying.",
"",
"Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic",
"clones of the original task. Their retry configuration will be derived from the",
"original task's configuration, but will have a lower value for `remaining` than the",
"original `total_retries`."
]
},
{
"name": "cancel_retry",
"fields": [
{
"name": "task",
"type": 57,
"typeName": "TaskAddress<BlockNumberFor<T>>",
"docs": []
}
],
"index": 8,
"docs": ["Removes the retry configuration of a task."]
},
{
"name": "cancel_retry_named",
"fields": [
{
"name": "id",
"type": 1,
"typeName": "TaskName",
"docs": []
}
],
"index": 9,
"docs": ["Cancel the retry configuration of a named task."]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 210,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 57
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 57,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 211,
"path": ["pallet_preimage", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "note_preimage",
"fields": [
{
"name": "bytes",
"type": 14,
"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": 13,
"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": 13,
"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": 13,
"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`."
]
},
{
"name": "ensure_updated",
"fields": [
{
"name": "hashes",
"type": 212,
"typeName": "Vec<T::Hash>",
"docs": []
}
],
"index": 4,
"docs": [
"Ensure that the a bulk of pre-images is upgraded.",
"",
"The caller pays no fee if at least 90% of pre-images were successfully updated."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 212,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 13
},
"docs": []
},
{
"id": 213,
"path": ["pallet_sudo", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "sudo",
"fields": [
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 0,
"docs": [
"Authenticates the sudo key and dispatches a function call with `Root` origin."
]
},
{
"name": "sudo_unchecked_weight",
"fields": [
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
},
{
"name": "weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 1,
"docs": [
"Authenticates the sudo key and dispatches a function call with `Root` origin.",
"This function does not check the weight of the call, and instead allows the",
"Sudo user to specify the weight of the call.",
"",
"The dispatch origin for this call must be _Signed_."
]
},
{
"name": "set_key",
"fields": [
{
"name": "new",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 2,
"docs": [
"Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo",
"key."
]
},
{
"name": "sudo_as",
"fields": [
{
"name": "who",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": [
"Authenticates the sudo key and dispatches a function call with `Signed` origin from",
"a given account.",
"",
"The dispatch origin for this call must be _Signed_."
]
},
{
"name": "remove_key",
"fields": [],
"index": 4,
"docs": [
"Permanently removes the sudo key.",
"",
"**This cannot be un-done.**"
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 214,
"path": ["pallet_proxy", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "proxy",
"fields": [
{
"name": "real",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "force_proxy_type",
"type": 215,
"typeName": "Option<T::ProxyType>",
"docs": []
},
{
"name": "call",
"type": 85,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "proxy_type",
"type": 63,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "BlockNumberFor<T>",
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "proxy_type",
"type": 63,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "BlockNumberFor<T>",
"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": 63,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "index",
"type": 64,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "proxy_type",
"type": 63,
"typeName": "T::ProxyType",
"docs": []
},
{
"name": "index",
"type": 64,
"typeName": "u16",
"docs": []
},
{
"name": "height",
"type": 93,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "ext_index",
"type": 93,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call_hash",
"type": 13,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call_hash",
"type": 13,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "call_hash",
"type": 13,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "real",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "force_proxy_type",
"type": 215,
"typeName": "Option<T::ProxyType>",
"docs": []
},
{
"name": "call",
"type": 85,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 215,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 63
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 63,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 216,
"path": ["pallet_multisig", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "as_multi_threshold_1",
"fields": [
{
"name": "other_signatories",
"type": 108,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "call",
"type": 85,
"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": 64,
"typeName": "u16",
"docs": []
},
{
"name": "other_signatories",
"type": 108,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "maybe_timepoint",
"type": 217,
"typeName": "Option<Timepoint<BlockNumberFor<T>>>",
"docs": []
},
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"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": 64,
"typeName": "u16",
"docs": []
},
{
"name": "other_signatories",
"type": 108,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "maybe_timepoint",
"type": 217,
"typeName": "Option<Timepoint<BlockNumberFor<T>>>",
"docs": []
},
{
"name": "call_hash",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"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": 64,
"typeName": "u16",
"docs": []
},
{
"name": "other_signatories",
"type": 108,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "timepoint",
"type": 66,
"typeName": "Timepoint<BlockNumberFor<T>>",
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 217,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 66
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 66,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 218,
"path": ["pallet_election_provider_multi_phase", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "submit_unsigned",
"fields": [
{
"name": "raw_solution",
"type": 219,
"typeName": "Box<RawSolution<SolutionOf<T::MinerConfig>>>",
"docs": []
},
{
"name": "witness",
"type": 271,
"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": 272,
"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": 273,
"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": 219,
"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": 278,
"typeName": "Option<u32>",
"docs": []
},
{
"name": "maybe_max_targets",
"type": 278,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 219,
"path": ["pallet_election_provider_multi_phase", "RawSolution"],
"params": [
{
"name": "S",
"type": 220
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "solution",
"type": 220,
"typeName": "S",
"docs": []
},
{
"name": "score",
"type": 69,
"typeName": "ElectionScore",
"docs": []
},
{
"name": "round",
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 220,
"path": ["westend_runtime", "NposCompactSolution16"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "votes1",
"type": 221,
"docs": []
},
{
"name": "votes2",
"type": 224,
"docs": []
},
{
"name": "votes3",
"type": 229,
"docs": []
},
{
"name": "votes4",
"type": 232,
"docs": []
},
{
"name": "votes5",
"type": 235,
"docs": []
},
{
"name": "votes6",
"type": 238,
"docs": []
},
{
"name": "votes7",
"type": 241,
"docs": []
},
{
"name": "votes8",
"type": 244,
"docs": []
},
{
"name": "votes9",
"type": 247,
"docs": []
},
{
"name": "votes10",
"type": 250,
"docs": []
},
{
"name": "votes11",
"type": 253,
"docs": []
},
{
"name": "votes12",
"type": 256,
"docs": []
},
{
"name": "votes13",
"type": 259,
"docs": []
},
{
"name": "votes14",
"type": 262,
"docs": []
},
{
"name": "votes15",
"type": 265,
"docs": []
},
{
"name": "votes16",
"type": 268,
"docs": []
}
]
},
"docs": []
},
{
"id": 221,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 222
},
"docs": []
},
{
"id": 222,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 223]
},
"docs": []
},
{
"id": 223,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 64
},
"docs": []
},
{
"id": 224,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 225
},
"docs": []
},
{
"id": 225,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 226, 223]
},
"docs": []
},
{
"id": 226,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [223, 227]
},
"docs": []
},
{
"id": 227,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 228
},
"docs": []
},
{
"id": 228,
"path": ["sp_arithmetic", "per_things", "PerU16"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 64,
"typeName": "u16",
"docs": []
}
]
},
"docs": []
},
{
"id": 229,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 230
},
"docs": []
},
{
"id": 230,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 231, 223]
},
"docs": []
},
{
"id": 231,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 2,
"type": 226
}
},
"docs": []
},
{
"id": 232,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 233
},
"docs": []
},
{
"id": 233,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 234, 223]
},
"docs": []
},
{
"id": 234,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 3,
"type": 226
}
},
"docs": []
},
{
"id": 235,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 236
},
"docs": []
},
{
"id": 236,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 237, 223]
},
"docs": []
},
{
"id": 237,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 4,
"type": 226
}
},
"docs": []
},
{
"id": 238,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 239
},
"docs": []
},
{
"id": 239,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 240, 223]
},
"docs": []
},
{
"id": 240,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 5,
"type": 226
}
},
"docs": []
},
{
"id": 241,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 242
},
"docs": []
},
{
"id": 242,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 243, 223]
},
"docs": []
},
{
"id": 243,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 6,
"type": 226
}
},
"docs": []
},
{
"id": 244,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 245
},
"docs": []
},
{
"id": 245,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 246, 223]
},
"docs": []
},
{
"id": 246,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 7,
"type": 226
}
},
"docs": []
},
{
"id": 247,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 248
},
"docs": []
},
{
"id": 248,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 249, 223]
},
"docs": []
},
{
"id": 249,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 8,
"type": 226
}
},
"docs": []
},
{
"id": 250,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 251
},
"docs": []
},
{
"id": 251,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 252, 223]
},
"docs": []
},
{
"id": 252,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 9,
"type": 226
}
},
"docs": []
},
{
"id": 253,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 254
},
"docs": []
},
{
"id": 254,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 255, 223]
},
"docs": []
},
{
"id": 255,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 10,
"type": 226
}
},
"docs": []
},
{
"id": 256,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 257
},
"docs": []
},
{
"id": 257,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 258, 223]
},
"docs": []
},
{
"id": 258,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 11,
"type": 226
}
},
"docs": []
},
{
"id": 259,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 260
},
"docs": []
},
{
"id": 260,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 261, 223]
},
"docs": []
},
{
"id": 261,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 12,
"type": 226
}
},
"docs": []
},
{
"id": 262,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 263
},
"docs": []
},
{
"id": 263,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 264, 223]
},
"docs": []
},
{
"id": 264,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 13,
"type": 226
}
},
"docs": []
},
{
"id": 265,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 266
},
"docs": []
},
{
"id": 266,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 267, 223]
},
"docs": []
},
{
"id": 267,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 14,
"type": 226
}
},
"docs": []
},
{
"id": 268,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 269
},
"docs": []
},
{
"id": 269,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [93, 270, 223]
},
"docs": []
},
{
"id": 270,
"path": [],
"params": [],
"def": {
"tag": "array",
"value": {
"len": 15,
"type": 226
}
},
"docs": []
},
{
"id": 271,
"path": [
"pallet_election_provider_multi_phase",
"SolutionOrSnapshotSize"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "voters",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "targets",
"type": 93,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 272,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 69
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 69,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 273,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 274
},
"docs": []
},
{
"id": 274,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [0, 275]
},
"docs": []
},
{
"id": 275,
"path": ["sp_npos_elections", "Support"],
"params": [
{
"name": "AccountId",
"type": 0
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "total",
"type": 6,
"typeName": "ExtendedBalance",
"docs": []
},
{
"name": "voters",
"type": 276,
"typeName": "Vec<(AccountId, ExtendedBalance)>",
"docs": []
}
]
},
"docs": []
},
{
"id": 276,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 277
},
"docs": []
},
{
"id": 277,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [0, 6]
},
"docs": []
},
{
"id": 278,
"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": 279,
"path": ["pallet_bags_list", "pallet", "Call"],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "rebag",
"fields": [
{
"name": "dislocated",
"type": 103,
"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": 103,
"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`. Fee is payed by the origin under all",
"circumstances.",
"",
"Only works if:",
"",
"- both nodes are within the same bag,",
"- and `origin` has a greater `Score` than `lighter`."
]
},
{
"name": "put_in_front_of_other",
"fields": [
{
"name": "heavier",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "lighter",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 2,
"docs": [
"Same as [`Pallet::put_in_front_of`], but it can be called by anyone.",
"",
"Fee is paid by the origin under all circumstances."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 280,
"path": ["pallet_nomination_pools", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "join",
"fields": [
{
"name": "amount",
"type": 107,
"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": 281,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "unbonding_points",
"type": 107,
"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 there 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": 103,
"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": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "root",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "nominator",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "bouncer",
"type": 103,
"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` transferable."
]
},
{
"name": "create_with_pool_id",
"fields": [
{
"name": "amount",
"type": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "root",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "nominator",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "bouncer",
"type": 103,
"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": 108,
"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.",
"",
"# Note",
"",
"In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have",
"at least `depositor_min_bond` in the pool to start nominating."
]
},
{
"name": "set_state",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "state",
"type": 74,
"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": 14,
"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": 282,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "min_create_bond",
"type": 282,
"typeName": "ConfigOp<BalanceOf<T>>",
"docs": []
},
{
"name": "max_pools",
"type": 283,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "max_members",
"type": 283,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "max_members_per_pool",
"type": 283,
"typeName": "ConfigOp<u32>",
"docs": []
},
{
"name": "global_max_commission",
"type": 284,
"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": 285,
"typeName": "ConfigOp<T::AccountId>",
"docs": []
},
{
"name": "new_nominator",
"type": 285,
"typeName": "ConfigOp<T::AccountId>",
"docs": []
},
{
"name": "new_bouncer",
"type": 285,
"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 can be signed by the pool nominator or the pool",
"root role, same as [`Pallet::nominate`].",
"",
"Under certain conditions, this call can be dispatched permissionlessly (i.e. by any",
"account).",
"",
"# Conditions for a permissionless dispatch:",
"* When pool depositor has less than `MinNominatorBond` staked, otherwise pool members",
" are unable to unbond.",
"",
"# Conditions for permissioned dispatch:",
"* The caller has a nominator or root role of the pool.",
"This directly forward the call to the staking pallet, on behalf of the pool bonded",
"account."
]
},
{
"name": "bond_extra_other",
"fields": [
{
"name": "member",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "extra",
"type": 281,
"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": 286,
"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": 75,
"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": 37,
"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": 77,
"typeName": "CommissionChangeRate<BlockNumberFor<T>>",
"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."
]
},
{
"name": "adjust_pool_deposit",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
}
],
"index": 21,
"docs": [
"Top up the deficit or withdraw the excess ED from the pool.",
"",
"When a pool is created, the pool depositor transfers ED to the reward account of the",
"pool. ED is subject to change and over time, the deposit in the reward account may be",
"insufficient to cover the ED deficit of the pool or vice-versa where there is excess",
"deposit to the pool. This call allows anyone to adjust the ED deposit of the",
"pool by either topping up the deficit or claiming the excess."
]
},
{
"name": "set_commission_claim_permission",
"fields": [
{
"name": "pool_id",
"type": 4,
"typeName": "PoolId",
"docs": []
},
{
"name": "permission",
"type": 78,
"typeName": "Option<CommissionClaimPermission<T::AccountId>>",
"docs": []
}
],
"index": 22,
"docs": [
"Set or remove a pool's commission claim permission.",
"",
"Determines who can claim the pool's pending commission. Only the `Root` role of the pool",
"is able to conifigure commission claim permissions."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 281,
"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": 282,
"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": 283,
"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": 284,
"path": ["pallet_nomination_pools", "ConfigOp"],
"params": [
{
"name": "T",
"type": 37
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Noop",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Set",
"fields": [
{
"type": 37,
"typeName": "T",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Remove",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 285,
"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": 286,
"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": 287,
"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.",
"",
"## Dispatch Origin",
"",
"The dispatch origin of this call must be *signed* by whoever is permitted to call",
"unbond funds by the staking system. See [`Config::Staking`].",
"",
"## Details",
"",
"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.",
"",
"## Events",
"",
"Some events from the staking and currency system might be emitted."
]
},
{
"name": "deregister",
"fields": [],
"index": 1,
"docs": [
"Deregister oneself from the fast-unstake.",
"",
"## Dispatch Origin",
"",
"The dispatch origin of this call must be *signed* by whoever is permitted to call",
"unbond funds by the staking system. See [`Config::Staking`].",
"",
"## Details",
"",
"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 [`Pallet::register_fast_unstake`]. Therefore, this should probably be followed",
"by a call to `rebond` in the staking system.",
"",
"## Events",
"",
"Some events from the staking and currency system might be emitted."
]
},
{
"name": "control",
"fields": [
{
"name": "eras_to_check",
"type": 4,
"typeName": "EraIndex",
"docs": []
}
],
"index": 2,
"docs": [
"Control the operation of this pallet.",
"",
"## Dispatch Origin",
"",
"The dispatch origin of this call must be [`Config::ControlOrigin`].",
"",
"## Details",
"",
"Can set the number of eras to check per block, and potentially other admin work.",
"",
"## Events",
"",
"No events are emitted from this dispatch."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 288,
"path": ["pallet_conviction_voting", "pallet", "Call"],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "vote",
"fields": [
{
"name": "poll_index",
"type": 93,
"typeName": "PollIndexOf<T, I>",
"docs": []
},
{
"name": "vote",
"type": 289,
"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": 64,
"typeName": "ClassOf<T, I>",
"docs": []
},
{
"name": "to",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "conviction",
"type": 291,
"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 through",
" `remove_vote`).",
"",
"- `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": 64,
"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": 64,
"typeName": "ClassOf<T, I>",
"docs": []
},
{
"name": "target",
"type": 103,
"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": 292,
"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": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
},
{
"name": "class",
"type": 64,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 289,
"path": ["pallet_conviction_voting", "vote", "AccountVote"],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Standard",
"fields": [
{
"name": "vote",
"type": 290,
"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": 290,
"path": ["pallet_conviction_voting", "vote", "Vote"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 291,
"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": 292,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 64
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 64,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 293,
"path": ["pallet_referenda", "pallet", "Call"],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "submit",
"fields": [
{
"name": "proposal_origin",
"type": 140,
"typeName": "Box<PalletsOriginOf<T>>",
"docs": []
},
{
"name": "proposal",
"type": 84,
"typeName": "BoundedCallOf<T, I>",
"docs": []
},
{
"name": "enactment_moment",
"type": 294,
"typeName": "DispatchTime<BlockNumberFor<T>>",
"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": 64,
"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": 295,
"typeName": "Option<T::Hash>",
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 294,
"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": 295,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 13
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 13,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 296,
"path": ["pallet_whitelist", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "whitelist_call",
"fields": [
{
"name": "call_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "remove_whitelisted_call",
"fields": [
{
"name": "call_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "dispatch_whitelisted_call",
"fields": [
{
"name": "call_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
},
{
"name": "call_encoded_len",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "call_weight_witness",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "dispatch_whitelisted_call_with_preimage",
"fields": [
{
"name": "call",
"type": 85,
"typeName": "Box<<T as Config>::RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 297,
"path": ["pallet_treasury", "pallet", "Call"],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "propose_spend",
"fields": [
{
"name": "value",
"type": 107,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "beneficiary",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 0,
"docs": [
"Put forward a suggestion for spending.",
"",
"## Dispatch Origin",
"",
"Must be signed.",
"",
"## Details",
"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)",
"",
"## Events",
"",
"Emits [`Event::Proposed`] if successful."
]
},
{
"name": "reject_proposal",
"fields": [
{
"name": "proposal_id",
"type": 93,
"typeName": "ProposalIndex",
"docs": []
}
],
"index": 1,
"docs": [
"Reject a proposed spend.",
"",
"## Dispatch Origin",
"",
"Must be [`Config::RejectOrigin`].",
"",
"## Details",
"The original deposit will be slashed.",
"",
"### Complexity",
"- O(1)",
"",
"## Events",
"",
"Emits [`Event::Rejected`] if successful."
]
},
{
"name": "approve_proposal",
"fields": [
{
"name": "proposal_id",
"type": 93,
"typeName": "ProposalIndex",
"docs": []
}
],
"index": 2,
"docs": [
"Approve a proposal.",
"",
"## Dispatch Origin",
"",
"Must be [`Config::ApproveOrigin`].",
"",
"## Details",
"",
"At a later time, the proposal will be allocated to the beneficiary and the original",
"deposit will be returned.",
"",
"### Complexity",
" - O(1).",
"",
"## Events",
"",
"No events are emitted from this dispatch."
]
},
{
"name": "spend_local",
"fields": [
{
"name": "amount",
"type": 107,
"typeName": "BalanceOf<T, I>",
"docs": []
},
{
"name": "beneficiary",
"type": 103,
"typeName": "AccountIdLookupOf<T>",
"docs": []
}
],
"index": 3,
"docs": [
"Propose and approve a spend of treasury funds.",
"",
"## Dispatch Origin",
"",
"Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`.",
"",
"### Details",
"NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the",
"beneficiary.",
"",
"### Parameters",
"- `amount`: The amount to be transferred from the treasury to the `beneficiary`.",
"- `beneficiary`: The destination account for the transfer.",
"",
"## Events",
"",
"Emits [`Event::SpendApproved`] if successful."
]
},
{
"name": "remove_approval",
"fields": [
{
"name": "proposal_id",
"type": 93,
"typeName": "ProposalIndex",
"docs": []
}
],
"index": 4,
"docs": [
"Force a previously approved proposal to be removed from the approval queue.",
"",
"## Dispatch Origin",
"",
"Must be [`Config::RejectOrigin`].",
"",
"## Details",
"",
"The original deposit will no longer be returned.",
"",
"### Parameters",
"- `proposal_id`: The index of a proposal",
"",
"### Complexity",
"- O(A) where `A` is the number of approvals",
"",
"### Errors",
"- [`Error::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."
]
},
{
"name": "spend",
"fields": [
{
"name": "asset_kind",
"type": 298,
"typeName": "Box<T::AssetKind>",
"docs": []
},
{
"name": "amount",
"type": 107,
"typeName": "AssetBalanceOf<T, I>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "Box<BeneficiaryLookupOf<T, I>>",
"docs": []
},
{
"name": "valid_from",
"type": 278,
"typeName": "Option<BlockNumberFor<T>>",
"docs": []
}
],
"index": 5,
"docs": [
"Propose and approve a spend of treasury funds.",
"",
"## Dispatch Origin",
"",
"Must be [`Config::SpendOrigin`] with the `Success` value being at least",
"`amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted",
"for assertion using the [`Config::BalanceConverter`].",
"",
"## Details",
"",
"Create an approved spend for transferring a specific `amount` of `asset_kind` to a",
"designated beneficiary. The spend must be claimed using the `payout` dispatchable within",
"the [`Config::PayoutPeriod`].",
"",
"### Parameters",
"- `asset_kind`: An indicator of the specific asset class to be spent.",
"- `amount`: The amount to be transferred from the treasury to the `beneficiary`.",
"- `beneficiary`: The beneficiary of the spend.",
"- `valid_from`: The block number from which the spend can be claimed. It can refer to",
" the past if the resulting spend has not yet expired according to the",
" [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after",
" approval.",
"",
"## Events",
"",
"Emits [`Event::AssetSpendApproved`] if successful."
]
},
{
"name": "payout",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
}
],
"index": 6,
"docs": [
"Claim a spend.",
"",
"## Dispatch Origin",
"",
"Must be signed.",
"",
"## Details",
"",
"Spends must be claimed within some temporal bounds. A spend may be claimed within one",
"[`Config::PayoutPeriod`] from the `valid_from` block.",
"In case of a payout failure, the spend status must be updated with the `check_status`",
"dispatchable before retrying with the current function.",
"",
"### Parameters",
"- `index`: The spend index.",
"",
"## Events",
"",
"Emits [`Event::Paid`] if successful."
]
},
{
"name": "check_status",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
}
],
"index": 7,
"docs": [
"Check the status of the spend and remove it from the storage if processed.",
"",
"## Dispatch Origin",
"",
"Must be signed.",
"",
"## Details",
"",
"The status check is a prerequisite for retrying a failed payout.",
"If a spend has either succeeded or expired, it is removed from the storage by this",
"function. In such instances, transaction fees are refunded.",
"",
"### Parameters",
"- `index`: The spend index.",
"",
"## Events",
"",
"Emits [`Event::PaymentFailed`] if the spend payout has failed.",
"Emits [`Event::SpendProcessed`] if the spend payout has succeed."
]
},
{
"name": "void_spend",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
}
],
"index": 8,
"docs": [
"Void previously approved spend.",
"",
"## Dispatch Origin",
"",
"Must be [`Config::RejectOrigin`].",
"",
"## Details",
"",
"A spend void is only possible if the payout has not been attempted yet.",
"",
"### Parameters",
"- `index`: The spend index.",
"",
"## Events",
"",
"Emits [`Event::AssetSpendVoided`] if successful."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 298,
"path": ["polkadot_runtime_common", "impls", "VersionedLocatableAsset"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V3",
"fields": [
{
"name": "location",
"type": 299,
"typeName": "xcm::v3::Location",
"docs": []
},
{
"name": "asset_id",
"type": 304,
"typeName": "xcm::v3::AssetId",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "V4",
"fields": [
{
"name": "location",
"type": 146,
"typeName": "xcm::v4::Location",
"docs": []
},
{
"name": "asset_id",
"type": 305,
"typeName": "xcm::v4::AssetId",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 299,
"path": ["staging_xcm", "v3", "multilocation", "MultiLocation"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "parents",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "interior",
"type": 300,
"typeName": "Junctions",
"docs": []
}
]
},
"docs": []
},
{
"id": 300,
"path": ["xcm", "v3", "junctions", "Junctions"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Here",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "X1",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "X2",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "X3",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "X4",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "X5",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "X6",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "X7",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "X8",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
},
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 8,
"docs": []
}
]
},
"docs": []
},
{
"id": 301,
"path": ["xcm", "v3", "junction", "Junction"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Parachain",
"fields": [
{
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "AccountId32",
"fields": [
{
"name": "network",
"type": 302,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "id",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AccountIndex64",
"fields": [
{
"name": "network",
"type": 302,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "index",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AccountKey20",
"fields": [
{
"name": "network",
"type": 302,
"typeName": "Option<NetworkId>",
"docs": []
},
{
"name": "key",
"type": 105,
"typeName": "[u8; 20]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletInstance",
"fields": [
{
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "GeneralIndex",
"fields": [
{
"type": 107,
"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": 152,
"typeName": "BodyId",
"docs": []
},
{
"name": "part",
"type": 153,
"typeName": "BodyPart",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "GlobalConsensus",
"fields": [
{
"type": 303,
"typeName": "NetworkId",
"docs": []
}
],
"index": 9,
"docs": []
}
]
},
"docs": []
},
{
"id": 302,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 303
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 303,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 303,
"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": 12,
"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": 11,
"typeName": "u64",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "BitcoinCore",
"fields": [],
"index": 8,
"docs": []
},
{
"name": "BitcoinCash",
"fields": [],
"index": 9,
"docs": []
},
{
"name": "PolkadotBulletin",
"fields": [],
"index": 10,
"docs": []
}
]
},
"docs": []
},
{
"id": 304,
"path": ["xcm", "v3", "multiasset", "AssetId"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Concrete",
"fields": [
{
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Abstract",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 305,
"path": ["staging_xcm", "v4", "asset", "AssetId"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 146,
"typeName": "Location",
"docs": []
}
]
},
"docs": []
},
{
"id": 306,
"path": ["xcm", "VersionedLocation"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 307,
"typeName": "v2::MultiLocation",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 299,
"typeName": "v3::MultiLocation",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "V4",
"fields": [
{
"type": 146,
"typeName": "v4::Location",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 307,
"path": ["xcm", "v2", "multilocation", "MultiLocation"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "parents",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "interior",
"type": 308,
"typeName": "Junctions",
"docs": []
}
]
},
"docs": []
},
{
"id": 308,
"path": ["xcm", "v2", "multilocation", "Junctions"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Here",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "X1",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "X2",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "X3",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "X4",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "X5",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "X6",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "X7",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "X8",
"fields": [
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
},
{
"type": 309,
"typeName": "Junction",
"docs": []
}
],
"index": 8,
"docs": []
}
]
},
"docs": []
},
{
"id": 309,
"path": ["xcm", "v2", "junction", "Junction"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Parachain",
"fields": [
{
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "AccountId32",
"fields": [
{
"name": "network",
"type": 310,
"typeName": "NetworkId",
"docs": []
},
{
"name": "id",
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AccountIndex64",
"fields": [
{
"name": "network",
"type": 310,
"typeName": "NetworkId",
"docs": []
},
{
"name": "index",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AccountKey20",
"fields": [
{
"name": "network",
"type": 310,
"typeName": "NetworkId",
"docs": []
},
{
"name": "key",
"type": 105,
"typeName": "[u8; 20]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletInstance",
"fields": [
{
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "GeneralIndex",
"fields": [
{
"type": 107,
"typeName": "u128",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "GeneralKey",
"fields": [
{
"type": 311,
"typeName": "WeakBoundedVec<u8, ConstU32<32>>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "OnlyChild",
"fields": [],
"index": 7,
"docs": []
},
{
"name": "Plurality",
"fields": [
{
"name": "id",
"type": 312,
"typeName": "BodyId",
"docs": []
},
{
"name": "part",
"type": 313,
"typeName": "BodyPart",
"docs": []
}
],
"index": 8,
"docs": []
}
]
},
"docs": []
},
{
"id": 310,
"path": ["xcm", "v2", "NetworkId"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Any",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Named",
"fields": [
{
"type": 311,
"typeName": "WeakBoundedVec<u8, ConstU32<32>>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Polkadot",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Kusama",
"fields": [],
"index": 3,
"docs": []
}
]
},
"docs": []
},
{
"id": 311,
"path": ["bounded_collections", "weak_bounded_vec", "WeakBoundedVec"],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 312,
"path": ["xcm", "v2", "BodyId"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unit",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Named",
"fields": [
{
"type": 311,
"typeName": "WeakBoundedVec<u8, ConstU32<32>>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 93,
"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": 313,
"path": ["xcm", "v2", "BodyPart"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Voice",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Members",
"fields": [
{
"name": "count",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Fraction",
"fields": [
{
"name": "nom",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AtLeastProportion",
"fields": [
{
"name": "nom",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "MoreThanProportion",
"fields": [
{
"name": "nom",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "denom",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 314,
"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": "BlockNumberFor<T>",
"docs": []
}
],
"index": 0,
"docs": ["Set the validation upgrade cooldown."]
},
{
"name": "set_validation_upgrade_delay",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 1,
"docs": ["Set the validation upgrade delay."]
},
{
"name": "set_code_retention_period",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "BlockNumberFor<T>",
"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_coretime_cores",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 6,
"docs": [
"Set the number of coretime execution cores.",
"",
"Note that this configuration is managed by the coretime chain. Only manually change",
"this, if you really know what you are doing!"
]
},
{
"name": "set_max_availability_timeouts",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": [
"Set the max number of times a claim may timeout on a core before it is abandoned"
]
},
{
"name": "set_group_rotation_frequency",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 8,
"docs": ["Set the parachain validator-group rotation frequency"]
},
{
"name": "set_paras_availability_period",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 9,
"docs": ["Set the availability period for paras."]
},
{
"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": 278,
"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": 278,
"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": "BlockNumberFor<T>",
"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_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_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_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": "BlockNumberFor<T>",
"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": 8,
"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": 315,
"typeName": "AsyncBackingParams",
"docs": []
}
],
"index": 45,
"docs": ["Set the asynchronous backing parameters."]
},
{
"name": "set_executor_params",
"fields": [
{
"name": "new",
"type": 316,
"typeName": "ExecutorParams",
"docs": []
}
],
"index": 46,
"docs": ["Set PVF executor parameters."]
},
{
"name": "set_on_demand_base_fee",
"fields": [
{
"name": "new",
"type": 6,
"typeName": "Balance",
"docs": []
}
],
"index": 47,
"docs": ["Set the on demand (parathreads) base fee."]
},
{
"name": "set_on_demand_fee_variability",
"fields": [
{
"name": "new",
"type": 37,
"typeName": "Perbill",
"docs": []
}
],
"index": 48,
"docs": ["Set the on demand (parathreads) fee variability."]
},
{
"name": "set_on_demand_queue_max_size",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 49,
"docs": ["Set the on demand (parathreads) queue max size."]
},
{
"name": "set_on_demand_target_queue_utilization",
"fields": [
{
"name": "new",
"type": 37,
"typeName": "Perbill",
"docs": []
}
],
"index": 50,
"docs": ["Set the on demand (parathreads) fee variability."]
},
{
"name": "set_on_demand_ttl",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 51,
"docs": ["Set the on demand (parathreads) ttl in the claimqueue."]
},
{
"name": "set_minimum_backing_votes",
"fields": [
{
"name": "new",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 52,
"docs": ["Set the minimum backing votes threshold."]
},
{
"name": "set_node_feature",
"fields": [
{
"name": "index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "value",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 53,
"docs": ["Set/Unset a node feature."]
},
{
"name": "set_approval_voting_params",
"fields": [
{
"name": "new",
"type": 321,
"typeName": "ApprovalVotingParams",
"docs": []
}
],
"index": 54,
"docs": ["Set approval-voting-params."]
},
{
"name": "set_scheduler_params",
"fields": [
{
"name": "new",
"type": 322,
"typeName": "SchedulerParams<BlockNumberFor<T>>",
"docs": []
}
],
"index": 55,
"docs": ["Set scheduler-params."]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 315,
"path": [
"polkadot_primitives",
"v6",
"async_backing",
"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": 316,
"path": [
"polkadot_primitives",
"v6",
"executor_params",
"ExecutorParams"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 317,
"typeName": "Vec<ExecutorParam>",
"docs": []
}
]
},
"docs": []
},
{
"id": 317,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 318
},
"docs": []
},
{
"id": 318,
"path": ["polkadot_primitives", "v6", "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": 12,
"typeName": "u64",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "PvfPrepTimeout",
"fields": [
{
"type": 319,
"typeName": "PvfPrepKind",
"docs": []
},
{
"type": 12,
"typeName": "u64",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "PvfExecTimeout",
"fields": [
{
"type": 320,
"typeName": "PvfExecKind",
"docs": []
},
{
"type": 12,
"typeName": "u64",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "WasmExtBulkMemory",
"fields": [],
"index": 7,
"docs": []
}
]
},
"docs": []
},
{
"id": 319,
"path": ["polkadot_primitives", "v6", "PvfPrepKind"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Precheck",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Prepare",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 320,
"path": ["polkadot_primitives", "v6", "PvfExecKind"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Backing",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Approval",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 321,
"path": ["polkadot_primitives", "vstaging", "ApprovalVotingParams"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "max_approval_coalesce_count",
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 322,
"path": ["polkadot_primitives", "vstaging", "SchedulerParams"],
"params": [
{
"name": "BlockNumber",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "group_rotation_frequency",
"type": 4,
"typeName": "BlockNumber",
"docs": []
},
{
"name": "paras_availability_period",
"type": 4,
"typeName": "BlockNumber",
"docs": []
},
{
"name": "max_validators_per_core",
"type": 278,
"typeName": "Option<u32>",
"docs": []
},
{
"name": "lookahead",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "num_cores",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "max_availability_timeouts",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "on_demand_queue_max_size",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "on_demand_target_queue_utilization",
"type": 37,
"typeName": "Perbill",
"docs": []
},
{
"name": "on_demand_fee_variability",
"type": 37,
"typeName": "Perbill",
"docs": []
},
{
"name": "on_demand_base_fee",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "ttl",
"type": 4,
"typeName": "BlockNumber",
"docs": []
}
]
},
"docs": []
},
{
"id": 323,
"path": ["polkadot_runtime_parachains", "shared", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": []
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 324,
"path": ["polkadot_runtime_parachains", "inclusion", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": []
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 325,
"path": [
"polkadot_runtime_parachains",
"paras_inherent",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "enter",
"fields": [
{
"name": "data",
"type": 326,
"typeName": "ParachainsInherentData<HeaderFor<T>>",
"docs": []
}
],
"index": 0,
"docs": [
"Enter the paras inherent. This will process bitfields and backed candidates."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 326,
"path": ["polkadot_primitives", "v6", "InherentData"],
"params": [
{
"name": "HDR",
"type": 92
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "bitfields",
"type": 327,
"typeName": "UncheckedSignedAvailabilityBitfields",
"docs": []
},
{
"name": "backed_candidates",
"type": 334,
"typeName": "Vec<BackedCandidate<HDR::Hash>>",
"docs": []
},
{
"name": "disputes",
"type": 351,
"typeName": "MultiDisputeStatementSet",
"docs": []
},
{
"name": "parent_header",
"type": 92,
"typeName": "HDR",
"docs": []
}
]
},
"docs": []
},
{
"id": 327,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 328
},
"docs": []
},
{
"id": 328,
"path": ["polkadot_primitives", "v6", "signed", "UncheckedSigned"],
"params": [
{
"name": "Payload",
"type": 329
},
{
"name": "RealPayload",
"type": 329
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "payload",
"type": 329,
"typeName": "Payload",
"docs": []
},
{
"name": "validator_index",
"type": 332,
"typeName": "ValidatorIndex",
"docs": []
},
{
"name": "signature",
"type": 333,
"typeName": "ValidatorSignature",
"docs": []
}
]
},
"docs": []
},
{
"id": 329,
"path": ["polkadot_primitives", "v6", "AvailabilityBitfield"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 330,
"typeName": "BitVec<u8, bitvec::order::Lsb0>",
"docs": []
}
]
},
"docs": []
},
{
"id": 330,
"path": [],
"params": [],
"def": {
"tag": "bitSequence",
"value": {
"bitStoreType": 2,
"bitOrderType": 331
}
},
"docs": []
},
{
"id": 331,
"path": ["bitvec", "order", "Lsb0"],
"params": [],
"def": {
"tag": "composite",
"value": []
},
"docs": []
},
{
"id": 332,
"path": ["polkadot_primitives", "v6", "ValidatorIndex"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 333,
"path": ["polkadot_primitives", "v6", "validator_app", "Signature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 203,
"typeName": "sr25519::Signature",
"docs": []
}
]
},
"docs": []
},
{
"id": 334,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 335
},
"docs": []
},
{
"id": 335,
"path": ["polkadot_primitives", "v6", "BackedCandidate"],
"params": [
{
"name": "H",
"type": 13
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "candidate",
"type": 336,
"typeName": "CommittedCandidateReceipt<H>",
"docs": []
},
{
"name": "validity_votes",
"type": 349,
"typeName": "Vec<ValidityAttestation>",
"docs": []
},
{
"name": "validator_indices",
"type": 330,
"typeName": "BitVec<u8, bitvec::order::Lsb0>",
"docs": []
}
]
},
"docs": []
},
{
"id": 336,
"path": ["polkadot_primitives", "v6", "CommittedCandidateReceipt"],
"params": [
{
"name": "H",
"type": 13
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "descriptor",
"type": 337,
"typeName": "CandidateDescriptor<H>",
"docs": []
},
{
"name": "commitments",
"type": 341,
"typeName": "CandidateCommitments",
"docs": []
}
]
},
"docs": []
},
{
"id": 337,
"path": ["polkadot_primitives", "v6", "CandidateDescriptor"],
"params": [
{
"name": "H",
"type": 13
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "para_id",
"type": 144,
"typeName": "Id",
"docs": []
},
{
"name": "relay_parent",
"type": 13,
"typeName": "H",
"docs": []
},
{
"name": "collator",
"type": 338,
"typeName": "CollatorId",
"docs": []
},
{
"name": "persisted_validation_data_hash",
"type": 13,
"typeName": "Hash",
"docs": []
},
{
"name": "pov_hash",
"type": 13,
"typeName": "Hash",
"docs": []
},
{
"name": "erasure_root",
"type": 13,
"typeName": "Hash",
"docs": []
},
{
"name": "signature",
"type": 339,
"typeName": "CollatorSignature",
"docs": []
},
{
"name": "para_head",
"type": 13,
"typeName": "Hash",
"docs": []
},
{
"name": "validation_code_hash",
"type": 340,
"typeName": "ValidationCodeHash",
"docs": []
}
]
},
"docs": []
},
{
"id": 338,
"path": ["polkadot_primitives", "v6", "collator_app", "Public"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 95,
"typeName": "sr25519::Public",
"docs": []
}
]
},
"docs": []
},
{
"id": 339,
"path": ["polkadot_primitives", "v6", "collator_app", "Signature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 203,
"typeName": "sr25519::Signature",
"docs": []
}
]
},
"docs": []
},
{
"id": 340,
"path": [
"polkadot_parachain_primitives",
"primitives",
"ValidationCodeHash"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Hash",
"docs": []
}
]
},
"docs": []
},
{
"id": 341,
"path": ["polkadot_primitives", "v6", "CandidateCommitments"],
"params": [
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "upward_messages",
"type": 342,
"typeName": "UpwardMessages",
"docs": []
},
{
"name": "horizontal_messages",
"type": 343,
"typeName": "HorizontalMessages",
"docs": []
},
{
"name": "new_validation_code",
"type": 346,
"typeName": "Option<ValidationCode>",
"docs": []
},
{
"name": "head_data",
"type": 348,
"typeName": "HeadData",
"docs": []
},
{
"name": "processed_downward_messages",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "hrmp_watermark",
"type": 4,
"typeName": "N",
"docs": []
}
]
},
"docs": []
},
{
"id": 342,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 14
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 89,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 343,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 344
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 345,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 344,
"path": ["polkadot_core_primitives", "OutboundHrmpMessage"],
"params": [
{
"name": "Id",
"type": 144
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "recipient",
"type": 144,
"typeName": "Id",
"docs": []
},
{
"name": "data",
"type": 14,
"typeName": "sp_std::vec::Vec<u8>",
"docs": []
}
]
},
"docs": []
},
{
"id": 345,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 344
},
"docs": []
},
{
"id": 346,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 347
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 347,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 347,
"path": ["polkadot_parachain_primitives", "primitives", "ValidationCode"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
},
{
"id": 348,
"path": ["polkadot_parachain_primitives", "primitives", "HeadData"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
},
{
"id": 349,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 350
},
"docs": []
},
{
"id": 350,
"path": ["polkadot_primitives", "v6", "ValidityAttestation"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Implicit",
"fields": [
{
"type": 333,
"typeName": "ValidatorSignature",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Explicit",
"fields": [
{
"type": 333,
"typeName": "ValidatorSignature",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 351,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 352
},
"docs": []
},
{
"id": 352,
"path": ["polkadot_primitives", "v6", "DisputeStatementSet"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "candidate_hash",
"type": 353,
"typeName": "CandidateHash",
"docs": []
},
{
"name": "session",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "statements",
"type": 354,
"typeName": "Vec<(DisputeStatement, ValidatorIndex, ValidatorSignature)>",
"docs": []
}
]
},
"docs": []
},
{
"id": 353,
"path": ["polkadot_core_primitives", "CandidateHash"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 13,
"typeName": "Hash",
"docs": []
}
]
},
"docs": []
},
{
"id": 354,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 355
},
"docs": []
},
{
"id": 355,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [356, 332, 333]
},
"docs": []
},
{
"id": 356,
"path": ["polkadot_primitives", "v6", "DisputeStatement"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Valid",
"fields": [
{
"type": 357,
"typeName": "ValidDisputeStatementKind",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Invalid",
"fields": [
{
"type": 359,
"typeName": "InvalidDisputeStatementKind",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 357,
"path": ["polkadot_primitives", "v6", "ValidDisputeStatementKind"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Explicit",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "BackingSeconded",
"fields": [
{
"type": 13,
"typeName": "Hash",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "BackingValid",
"fields": [
{
"type": 13,
"typeName": "Hash",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "ApprovalChecking",
"fields": [],
"index": 3,
"docs": []
},
{
"name": "ApprovalCheckingMultipleCandidates",
"fields": [
{
"type": 358,
"typeName": "Vec<CandidateHash>",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 358,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 353
},
"docs": []
},
{
"id": 359,
"path": ["polkadot_primitives", "v6", "InvalidDisputeStatementKind"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Explicit",
"fields": [],
"index": 0,
"docs": []
}
]
},
"docs": []
},
{
"id": 360,
"path": ["polkadot_runtime_parachains", "paras", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "force_set_current_code",
"fields": [
{
"name": "para",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_code",
"type": 347,
"typeName": "ValidationCode",
"docs": []
}
],
"index": 0,
"docs": [
"Set the storage for the parachain validation code immediately."
]
},
{
"name": "force_set_current_head",
"fields": [
{
"name": "para",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_head",
"type": 348,
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_code",
"type": 347,
"typeName": "ValidationCode",
"docs": []
},
{
"name": "relay_parent_number",
"type": 4,
"typeName": "BlockNumberFor<T>",
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_head",
"type": 348,
"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": 144,
"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": 347,
"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": 340,
"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": 361,
"typeName": "PvfCheckStatement",
"docs": []
},
{
"name": "signature",
"type": 333,
"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."
]
},
{
"name": "force_set_most_recent_context",
"fields": [
{
"name": "para",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "context",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 8,
"docs": [
"Set the storage for the current parachain head data immediately."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 361,
"path": ["polkadot_primitives", "v6", "PvfCheckStatement"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "accept",
"type": 8,
"typeName": "bool",
"docs": []
},
{
"name": "subject",
"type": 340,
"typeName": "ValidationCodeHash",
"docs": []
},
{
"name": "session_index",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "validator_index",
"type": 332,
"typeName": "ValidatorIndex",
"docs": []
}
]
},
"docs": []
},
{
"id": 362,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 363,
"path": ["polkadot_runtime_parachains", "hrmp", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "hrmp_init_open_channel",
"fields": [
{
"name": "recipient",
"type": 144,
"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": 144,
"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": 364,
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "num_inbound",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "num_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.",
"",
"Number of inbound and outbound channels for `para` must be provided as witness data.",
"",
"Origin must be the `ChannelManager`."
]
},
{
"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 to process",
"all of those requests immediately.",
"",
"Total number of opening channels must be provided as witness data.",
"",
"Origin must be the `ChannelManager`."
]
},
{
"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 to process",
"all of those requests immediately.",
"",
"Total number of closing channels must be provided as witness data.",
"",
"Origin must be the `ChannelManager`."
]
},
{
"name": "hrmp_cancel_open_request",
"fields": [
{
"name": "channel_id",
"type": 364,
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"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`. Although opened by governance,",
"the `max_capacity` and `max_message_size` are still subject to the Relay Chain's",
"configured limits.",
"",
"Expected use is when one (and only one) of the `ParaId`s involved in the channel is",
"governed by the system, e.g. a system parachain.",
"",
"Origin must be the `ChannelManager`."
]
},
{
"name": "establish_system_channel",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 8,
"docs": [
"Establish an HRMP channel between two system chains. If the channel does not already",
"exist, the transaction fees will be refunded to the caller. The system does not take",
"deposits for channels between system chains, and automatically sets the message number",
"and size limits to the maximum allowed by the network's configuration.",
"",
"Arguments:",
"",
"- `sender`: A system chain, `ParaId`.",
"- `recipient`: A system chain, `ParaId`.",
"",
"Any signed origin can call this function, but _both_ inputs MUST be system chains. If",
"the channel does not exist yet, there is no fee."
]
},
{
"name": "poke_channel_deposits",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 9,
"docs": [
"Update the deposits held for an HRMP channel to the latest `Configuration`. Channels",
"with system chains do not require a deposit.",
"",
"Arguments:",
"",
"- `sender`: A chain, `ParaId`.",
"- `recipient`: A chain, `ParaId`.",
"",
"Any signed origin can call this function."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 364,
"path": ["polkadot_parachain_primitives", "primitives", "HrmpChannelId"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "sender",
"type": 144,
"typeName": "Id",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "Id",
"docs": []
}
]
},
"docs": []
},
{
"id": 365,
"path": ["polkadot_runtime_parachains", "disputes", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "force_unfreeze",
"fields": [],
"index": 0,
"docs": []
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 366,
"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": 367,
"typeName": "Box<DisputeProof>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 97,
"typeName": "T::KeyOwnerProof",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 367,
"path": ["polkadot_primitives", "v6", "slashing", "DisputeProof"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "time_slot",
"type": 368,
"typeName": "DisputesTimeSlot",
"docs": []
},
{
"name": "kind",
"type": 369,
"typeName": "SlashingOffenceKind",
"docs": []
},
{
"name": "validator_index",
"type": 332,
"typeName": "ValidatorIndex",
"docs": []
},
{
"name": "validator_id",
"type": 120,
"typeName": "ValidatorId",
"docs": []
}
]
},
"docs": []
},
{
"id": 368,
"path": ["polkadot_primitives", "v6", "slashing", "DisputesTimeSlot"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "session_index",
"type": 4,
"typeName": "SessionIndex",
"docs": []
},
{
"name": "candidate_hash",
"type": 353,
"typeName": "CandidateHash",
"docs": []
}
]
},
"docs": []
},
{
"id": 369,
"path": ["polkadot_primitives", "v6", "slashing", "SlashingOffenceKind"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "ForInvalid",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "AgainstValid",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 370,
"path": [
"polkadot_runtime_parachains",
"assigner_on_demand",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "place_order_allow_death",
"fields": [
{
"name": "max_amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": [
"Create a single on demand core order.",
"Will use the spot price for the current block and will reap the account if needed.",
"",
"Parameters:",
"- `origin`: The sender of the call, funds will be withdrawn from this account.",
"- `max_amount`: The maximum balance to withdraw from the origin to place an order.",
"- `para_id`: A `ParaId` the origin wants to provide blockspace for.",
"",
"Errors:",
"- `InsufficientBalance`: from the Currency implementation",
"- `InvalidParaId`",
"- `QueueFull`",
"- `SpotPriceHigherThanMaxAmount`",
"",
"Events:",
"- `SpotOrderPlaced`"
]
},
{
"name": "place_order_keep_alive",
"fields": [
{
"name": "max_amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 1,
"docs": [
"Same as the [`place_order_allow_death`](Self::place_order_allow_death) call , but with a",
"check that placing the order will not reap the account.",
"",
"Parameters:",
"- `origin`: The sender of the call, funds will be withdrawn from this account.",
"- `max_amount`: The maximum balance to withdraw from the origin to place an order.",
"- `para_id`: A `ParaId` the origin wants to provide blockspace for.",
"",
"Errors:",
"- `InsufficientBalance`: from the Currency implementation",
"- `InvalidParaId`",
"- `QueueFull`",
"- `SpotPriceHigherThanMaxAmount`",
"",
"Events:",
"- `SpotOrderPlaced`"
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 371,
"path": ["polkadot_runtime_common", "paras_registrar", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "register",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "genesis_head",
"type": 348,
"typeName": "HeadData",
"docs": []
},
{
"name": "validation_code",
"type": 347,
"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 account with the originating signature must reserve a deposit.",
"",
"The deposit is required to cover the costs associated with storing the genesis head",
"data and the validation code.",
"This accounts for the potential to store validation code of a size up to the",
"`max_code_size`, as defined in the configuration pallet",
"",
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "genesis_head",
"type": 348,
"typeName": "HeadData",
"docs": []
},
{
"name": "validation_code",
"type": 347,
"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": 144,
"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 an",
"on-demand parachain."
]
},
{
"name": "swap",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "other",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 3,
"docs": [
"Swap a lease holding parachain with another parachain, either on-demand or lease",
"holding.",
"",
"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 an on-demand parachain or lease holding",
"parachain), auction information and the auction deposit are switched."
]
},
{
"name": "remove_lock",
"fields": [
{
"name": "para",
"type": 144,
"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 an on-demand parachain. Using the Slots pallet, an on-demand parachain can then",
"be upgraded to a lease holding parachain.",
"",
"## 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": 144,
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_code",
"type": 347,
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "new_head",
"type": 348,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 372,
"path": ["polkadot_runtime_common", "slots", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "force_lease",
"fields": [
{
"name": "para",
"type": 144,
"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": 144,
"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": 144,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 373,
"path": [
"polkadot_runtime_common",
"paras_sudo_wrapper",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "sudo_schedule_para_initialize",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "genesis",
"type": 374,
"typeName": "ParaGenesisArgs",
"docs": []
}
],
"index": 0,
"docs": [
"Schedule a para to be initialized at the start of the next session.",
"",
"This should only be used for TESTING and not on PRODUCTION chains. It automatically",
"assigns Coretime to the chain and increases the number of cores. Thus, there is no",
"running coretime chain required."
]
},
{
"name": "sudo_schedule_para_cleanup",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 1,
"docs": [
"Schedule a para to be cleaned up at the start of the next session."
]
},
{
"name": "sudo_schedule_parathread_upgrade",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 2,
"docs": [
"Upgrade a parathread (on-demand parachain) to a lease holding parachain"
]
},
{
"name": "sudo_schedule_parachain_downgrade",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 3,
"docs": [
"Downgrade a lease holding parachain to an on-demand parachain"
]
},
{
"name": "sudo_queue_downward_xcm",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "xcm",
"type": 375,
"typeName": "Box<xcm::opaque::VersionedXcm>",
"docs": []
}
],
"index": 4,
"docs": [
"Send a downward XCM to the given para.",
"",
"The given parachain should exist and the payload should not exceed the preconfigured",
"size `config.max_downward_message_size`."
]
},
{
"name": "sudo_establish_hrmp_channel",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "max_capacity",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 5,
"docs": [
"Forcefully establish a channel from the sender to the recipient.",
"",
"This is equivalent to sending an `Hrmp::hrmp_init_open_channel` extrinsic followed by",
"`Hrmp::hrmp_accept_open_channel`."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 374,
"path": ["polkadot_runtime_parachains", "paras", "ParaGenesisArgs"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "genesis_head",
"type": 348,
"typeName": "HeadData",
"docs": []
},
{
"name": "validation_code",
"type": 347,
"typeName": "ValidationCode",
"docs": []
},
{
"name": "para_kind",
"type": 8,
"typeName": "ParaKind",
"docs": []
}
]
},
"docs": []
},
{
"id": 375,
"path": ["xcm", "VersionedXcm"],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 376,
"typeName": "v2::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 395,
"typeName": "v3::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "V4",
"fields": [
{
"type": 419,
"typeName": "v4::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 376,
"path": ["xcm", "v2", "Xcm"],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 377,
"typeName": "Vec<Instruction<RuntimeCall>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 377,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 378
},
"docs": []
},
{
"id": 378,
"path": ["xcm", "v2", "Instruction"],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 385,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 379,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 307,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 379,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_type",
"type": 389,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 11,
"typeName": "u64",
"docs": []
},
{
"name": "call",
"type": 390,
"typeName": "DoubleEncoded<RuntimeCall>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 308,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "max_response_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "beneficiary",
"type": 307,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "receive",
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "QueryHolding",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_response_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 381,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 394,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 376,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 376,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 379,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 307,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
}
]
},
"docs": []
},
{
"id": 379,
"path": ["xcm", "v2", "multiasset", "MultiAssets"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 380,
"typeName": "Vec<MultiAsset>",
"docs": []
}
]
},
"docs": []
},
{
"id": 380,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 381
},
"docs": []
},
{
"id": 381,
"path": ["xcm", "v2", "multiasset", "MultiAsset"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 382,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 383,
"typeName": "Fungibility",
"docs": []
}
]
},
"docs": []
},
{
"id": 382,
"path": ["xcm", "v2", "multiasset", "AssetId"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Concrete",
"fields": [
{
"type": 307,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Abstract",
"fields": [
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 383,
"path": ["xcm", "v2", "multiasset", "Fungibility"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [
{
"type": 107,
"typeName": "u128",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [
{
"type": 384,
"typeName": "AssetInstance",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 384,
"path": ["xcm", "v2", "multiasset", "AssetInstance"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Undefined",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 107,
"typeName": "u128",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Array4",
"fields": [
{
"type": 18,
"typeName": "[u8; 4]",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Array8",
"fields": [
{
"type": 174,
"typeName": "[u8; 8]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Array16",
"fields": [
{
"type": 42,
"typeName": "[u8; 16]",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Array32",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Blob",
"fields": [
{
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 6,
"docs": []
}
]
},
"docs": []
},
{
"id": 385,
"path": ["xcm", "v2", "Response"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Null",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Assets",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ExecutionResult",
"fields": [
{
"type": 386,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Version",
"fields": [
{
"type": 4,
"typeName": "super::Version",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
},
{
"id": 386,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 387
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 387,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 387,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [4, 388]
},
"docs": []
},
{
"id": 388,
"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": 12,
"typeName": "u64",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "UnhandledXcmVersion",
"fields": [],
"index": 22,
"docs": []
},
{
"name": "WeightLimitReached",
"fields": [
{
"type": 12,
"typeName": "Weight",
"docs": []
}
],
"index": 23,
"docs": []
},
{
"name": "Barrier",
"fields": [],
"index": 24,
"docs": []
},
{
"name": "WeightNotComputable",
"fields": [],
"index": 25,
"docs": []
}
]
},
"docs": []
},
{
"id": 389,
"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": 390,
"path": ["xcm", "double_encoded", "DoubleEncoded"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "encoded",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
},
{
"id": 391,
"path": ["xcm", "v2", "multiasset", "MultiAssetFilter"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Definite",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Wild",
"fields": [
{
"type": 392,
"typeName": "WildMultiAsset",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 392,
"path": ["xcm", "v2", "multiasset", "WildMultiAsset"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "All",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "AllOf",
"fields": [
{
"name": "id",
"type": 382,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 393,
"typeName": "WildFungibility",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 393,
"path": ["xcm", "v2", "multiasset", "WildFungibility"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 394,
"path": ["xcm", "v2", "WeightLimit"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unlimited",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Limited",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 395,
"path": ["xcm", "v3", "Xcm"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 396,
"typeName": "Vec<Instruction<Call>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 396,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 397
},
"docs": []
},
{
"id": 397,
"path": ["xcm", "v3", "Instruction"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 403,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "querier",
"type": 413,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_kind",
"type": 389,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "call",
"type": 390,
"typeName": "DoubleEncoded<Call>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 300,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "beneficiary",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "want",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "maximal",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "ReportHolding",
"fields": [
{
"name": "response_info",
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
},
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 395,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 395,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
},
{
"name": "BurnAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "ExpectAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "ExpectOrigin",
"fields": [
{
"type": 413,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ExpectError",
"fields": [
{
"type": 404,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "ExpectTransactStatus",
"fields": [
{
"type": 411,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "QueryPallet",
"fields": [
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "response_info",
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 33,
"docs": []
},
{
"name": "ExpectPallet",
"fields": [
{
"name": "index",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "crate_major",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "min_crate_minor",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ReportTransactStatus",
"fields": [
{
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ClearTransactStatus",
"fields": [],
"index": 36,
"docs": []
},
{
"name": "UniversalOrigin",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "ExportMessage",
"fields": [
{
"name": "network",
"type": 303,
"typeName": "NetworkId",
"docs": []
},
{
"name": "destination",
"type": 300,
"typeName": "InteriorMultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "LockAsset",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "unlocker",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "UnlockAsset",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "target",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "NoteUnlockable",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "owner",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 41,
"docs": []
},
{
"name": "RequestUnlock",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "locker",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 42,
"docs": []
},
{
"name": "SetFeesMode",
"fields": [
{
"name": "jit_withdraw",
"type": 8,
"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": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 46,
"docs": []
},
{
"name": "UnpaidExecution",
"fields": [
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
},
{
"name": "check_origin",
"type": 413,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 47,
"docs": []
}
]
},
"docs": []
},
{
"id": 398,
"path": ["xcm", "v3", "multiasset", "MultiAssets"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 399,
"typeName": "Vec<MultiAsset>",
"docs": []
}
]
},
"docs": []
},
{
"id": 399,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 400
},
"docs": []
},
{
"id": 400,
"path": ["xcm", "v3", "multiasset", "MultiAsset"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 304,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 401,
"typeName": "Fungibility",
"docs": []
}
]
},
"docs": []
},
{
"id": 401,
"path": ["xcm", "v3", "multiasset", "Fungibility"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [
{
"type": 107,
"typeName": "u128",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [
{
"type": 402,
"typeName": "AssetInstance",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 402,
"path": ["xcm", "v3", "multiasset", "AssetInstance"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Undefined",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 107,
"typeName": "u128",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Array4",
"fields": [
{
"type": 18,
"typeName": "[u8; 4]",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Array8",
"fields": [
{
"type": 174,
"typeName": "[u8; 8]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Array16",
"fields": [
{
"type": 42,
"typeName": "[u8; 16]",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Array32",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 5,
"docs": []
}
]
},
"docs": []
},
{
"id": 403,
"path": ["xcm", "v3", "Response"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Null",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Assets",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ExecutionResult",
"fields": [
{
"type": 404,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Version",
"fields": [
{
"type": 4,
"typeName": "super::Version",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletsInfo",
"fields": [
{
"type": 407,
"typeName": "BoundedVec<PalletInfo, MaxPalletsInfo>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "DispatchResult",
"fields": [
{
"type": 411,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 5,
"docs": []
}
]
},
"docs": []
},
{
"id": 404,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 405
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 405,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 405,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [4, 406]
},
"docs": []
},
{
"id": 406,
"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": 12,
"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": 10,
"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": 407,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 408
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 410,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 408,
"path": ["xcm", "v3", "PalletInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "index",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 409,
"typeName": "BoundedVec<u8, MaxPalletNameLen>",
"docs": []
},
{
"name": "module_name",
"type": 409,
"typeName": "BoundedVec<u8, MaxPalletNameLen>",
"docs": []
},
{
"name": "major",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "minor",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "patch",
"type": 93,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 409,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 410,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 408
},
"docs": []
},
{
"id": 411,
"path": ["xcm", "v3", "MaybeErrorCode"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Success",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Error",
"fields": [
{
"type": 412,
"typeName": "BoundedVec<u8, MaxDispatchErrorLen>",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "TruncatedError",
"fields": [
{
"type": 412,
"typeName": "BoundedVec<u8, MaxDispatchErrorLen>",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 412,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 413,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 299
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 299,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 414,
"path": ["xcm", "v3", "QueryResponseInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "destination",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
]
},
"docs": []
},
{
"id": 415,
"path": ["xcm", "v3", "multiasset", "MultiAssetFilter"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Definite",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Wild",
"fields": [
{
"type": 416,
"typeName": "WildMultiAsset",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 416,
"path": ["xcm", "v3", "multiasset", "WildMultiAsset"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "All",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "AllOf",
"fields": [
{
"name": "id",
"type": 304,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 417,
"typeName": "WildFungibility",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AllCounted",
"fields": [
{
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AllOfCounted",
"fields": [
{
"name": "id",
"type": 304,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 417,
"typeName": "WildFungibility",
"docs": []
},
{
"name": "count",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
},
{
"id": 417,
"path": ["xcm", "v3", "multiasset", "WildFungibility"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 418,
"path": ["xcm", "v3", "WeightLimit"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Unlimited",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Limited",
"fields": [
{
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 419,
"path": ["staging_xcm", "v4", "Xcm"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 420,
"typeName": "Vec<Instruction<Call>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 420,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 421
},
"docs": []
},
{
"id": 421,
"path": ["staging_xcm", "v4", "Instruction"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 427,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "querier",
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "beneficiary",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "dest",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_kind",
"type": 389,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "call",
"type": 390,
"typeName": "DoubleEncoded<Call>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 147,
"typeName": "InteriorLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "beneficiary",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "dest",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "want",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "maximal",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "dest",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "ReportHolding",
"fields": [
{
"name": "response_info",
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
},
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 419,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 419,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "ticket",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
},
{
"name": "BurnAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "ExpectAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "ExpectOrigin",
"fields": [
{
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ExpectError",
"fields": [
{
"type": 404,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "ExpectTransactStatus",
"fields": [
{
"type": 411,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "QueryPallet",
"fields": [
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "response_info",
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 33,
"docs": []
},
{
"name": "ExpectPallet",
"fields": [
{
"name": "index",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "crate_major",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "min_crate_minor",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ReportTransactStatus",
"fields": [
{
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ClearTransactStatus",
"fields": [],
"index": 36,
"docs": []
},
{
"name": "UniversalOrigin",
"fields": [
{
"type": 149,
"typeName": "Junction",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "ExportMessage",
"fields": [
{
"name": "network",
"type": 151,
"typeName": "NetworkId",
"docs": []
},
{
"name": "destination",
"type": 147,
"typeName": "InteriorLocation",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "LockAsset",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "unlocker",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "UnlockAsset",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "target",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "NoteUnlockable",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "owner",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 41,
"docs": []
},
{
"name": "RequestUnlock",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "locker",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 42,
"docs": []
},
{
"name": "SetFeesMode",
"fields": [
{
"name": "jit_withdraw",
"type": 8,
"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": 146,
"typeName": "Location",
"docs": []
}
],
"index": 46,
"docs": []
},
{
"name": "UnpaidExecution",
"fields": [
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
},
{
"name": "check_origin",
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 47,
"docs": []
}
]
},
"docs": []
},
{
"id": 422,
"path": ["staging_xcm", "v4", "asset", "Assets"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 423,
"typeName": "Vec<Asset>",
"docs": []
}
]
},
"docs": []
},
{
"id": 423,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 424
},
"docs": []
},
{
"id": 424,
"path": ["staging_xcm", "v4", "asset", "Asset"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 305,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 425,
"typeName": "Fungibility",
"docs": []
}
]
},
"docs": []
},
{
"id": 425,
"path": ["staging_xcm", "v4", "asset", "Fungibility"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [
{
"type": 107,
"typeName": "u128",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [
{
"type": 426,
"typeName": "AssetInstance",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 426,
"path": ["staging_xcm", "v4", "asset", "AssetInstance"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Undefined",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Index",
"fields": [
{
"type": 107,
"typeName": "u128",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Array4",
"fields": [
{
"type": 18,
"typeName": "[u8; 4]",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Array8",
"fields": [
{
"type": 174,
"typeName": "[u8; 8]",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Array16",
"fields": [
{
"type": 42,
"typeName": "[u8; 16]",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "Array32",
"fields": [
{
"type": 1,
"typeName": "[u8; 32]",
"docs": []
}
],
"index": 5,
"docs": []
}
]
},
"docs": []
},
{
"id": 427,
"path": ["staging_xcm", "v4", "Response"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Null",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Assets",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ExecutionResult",
"fields": [
{
"type": 404,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Version",
"fields": [
{
"type": 4,
"typeName": "super::Version",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "PalletsInfo",
"fields": [
{
"type": 428,
"typeName": "BoundedVec<PalletInfo, MaxPalletsInfo>",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "DispatchResult",
"fields": [
{
"type": 411,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 5,
"docs": []
}
]
},
"docs": []
},
{
"id": 428,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 429
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 431,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 429,
"path": ["staging_xcm", "v4", "PalletInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "index",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 430,
"typeName": "BoundedVec<u8, MaxPalletNameLen>",
"docs": []
},
{
"name": "module_name",
"type": 430,
"typeName": "BoundedVec<u8, MaxPalletNameLen>",
"docs": []
},
{
"name": "major",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "minor",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "patch",
"type": 93,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 430,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 431,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 429
},
"docs": []
},
{
"id": 432,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 146
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 146,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 433,
"path": ["staging_xcm", "v4", "QueryResponseInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "destination",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
]
},
"docs": []
},
{
"id": 434,
"path": ["staging_xcm", "v4", "asset", "AssetFilter"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Definite",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Wild",
"fields": [
{
"type": 435,
"typeName": "WildAsset",
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 435,
"path": ["staging_xcm", "v4", "asset", "WildAsset"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "All",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "AllOf",
"fields": [
{
"name": "id",
"type": 305,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 436,
"typeName": "WildFungibility",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AllCounted",
"fields": [
{
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "AllOfCounted",
"fields": [
{
"name": "id",
"type": 305,
"typeName": "AssetId",
"docs": []
},
{
"name": "fun",
"type": 436,
"typeName": "WildFungibility",
"docs": []
},
{
"name": "count",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
},
{
"id": 436,
"path": ["staging_xcm", "v4", "asset", "WildFungibility"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fungible",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "NonFungible",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 437,
"path": ["polkadot_runtime_common", "auctions", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "new_auction",
"fields": [
{
"name": "duration",
"type": 93,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "lease_period_index",
"type": 93,
"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": 438,
"typeName": "ParaId",
"docs": []
},
{
"name": "auction_index",
"type": 93,
"typeName": "AuctionIndex",
"docs": []
},
{
"name": "first_slot",
"type": 93,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "last_slot",
"type": 93,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "amount",
"type": 107,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 438,
"path": [],
"params": [],
"def": {
"tag": "compact",
"value": 144
},
"docs": []
},
{
"id": 439,
"path": ["polkadot_runtime_common", "crowdloan", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "create",
"fields": [
{
"name": "index",
"type": 438,
"typeName": "ParaId",
"docs": []
},
{
"name": "cap",
"type": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "first_period",
"type": 93,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "last_period",
"type": 93,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "end",
"type": 93,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "verifier",
"type": 440,
"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": 438,
"typeName": "ParaId",
"docs": []
},
{
"name": "value",
"type": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "signature",
"type": 201,
"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": 438,
"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": 438,
"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": 438,
"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": 438,
"typeName": "ParaId",
"docs": []
},
{
"name": "cap",
"type": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "first_period",
"type": 93,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "last_period",
"type": 93,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "end",
"type": 93,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "verifier",
"type": 440,
"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": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "memo",
"type": 14,
"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": 144,
"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": 438,
"typeName": "ParaId",
"docs": []
},
{
"name": "signature",
"type": 201,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 440,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 441
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 441,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 441,
"path": ["sp_runtime", "MultiSigner"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Ed25519",
"fields": [
{
"type": 48,
"typeName": "ed25519::Public",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Sr25519",
"fields": [
{
"type": 95,
"typeName": "sr25519::Public",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Ecdsa",
"fields": [
{
"type": 124,
"typeName": "ecdsa::Public",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 442,
"path": ["polkadot_runtime_common", "assigned_slots", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "assign_perm_parachain_slot",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": [
"Assign a permanent parachain slot and immediately create a lease for it."
]
},
{
"name": "assign_temp_parachain_slot",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "lease_period_start",
"type": 443,
"typeName": "SlotLeasePeriodStart",
"docs": []
}
],
"index": 1,
"docs": [
"Assign a temporary parachain slot. The function tries to create a lease for it",
"immediately if `SlotLeasePeriodStart::Current` is specified, and if the number",
"of currently active temporary slots is below `MaxTemporarySlotPerLeasePeriod`."
]
},
{
"name": "unassign_parachain_slot",
"fields": [
{
"name": "id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 2,
"docs": ["Unassign a permanent or temporary parachain slot"]
},
{
"name": "set_max_permanent_slots",
"fields": [
{
"name": "slots",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": ["Sets the storage value [`MaxPermanentSlots`]."]
},
{
"name": "set_max_temporary_slots",
"fields": [
{
"name": "slots",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": ["Sets the storage value [`MaxTemporarySlots`]."]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 443,
"path": [
"polkadot_runtime_common",
"assigned_slots",
"SlotLeasePeriodStart"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Current",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Next",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 444,
"path": ["polkadot_runtime_parachains", "coretime", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "request_core_count",
"fields": [
{
"name": "count",
"type": 64,
"typeName": "u16",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "assign_core",
"fields": [
{
"name": "core",
"type": 64,
"typeName": "BrokerCoreIndex",
"docs": []
},
{
"name": "begin",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "assignment",
"type": 445,
"typeName": "Vec<(CoreAssignment, PartsOf57600)>",
"docs": []
},
{
"name": "end_hint",
"type": 278,
"typeName": "Option<BlockNumberFor<T>>",
"docs": []
}
],
"index": 4,
"docs": [
"Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is",
"to be used.",
"",
"Parameters:",
"-`origin`: The `ExternalBrokerOrigin`, assumed to be the Broker system parachain.",
"-`core`: The core that should be scheduled.",
"-`begin`: The starting blockheight of the instruction.",
"-`assignment`: How the blockspace should be utilised.",
"-`end_hint`: An optional hint as to when this particular set of instructions will end."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 445,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 446
},
"docs": []
},
{
"id": 446,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [447, 448]
},
"docs": []
},
{
"id": 447,
"path": ["pallet_broker", "coretime_interface", "CoreAssignment"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Idle",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Pool",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Task",
"fields": [
{
"type": 4,
"typeName": "TaskId",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 448,
"path": [
"polkadot_runtime_parachains",
"assigner_coretime",
"PartsOf57600"
],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 64,
"typeName": "u16",
"docs": []
}
]
},
"docs": []
},
{
"id": 449,
"path": ["pallet_xcm", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "send",
"fields": [
{
"name": "dest",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "message",
"type": 375,
"typeName": "Box<VersionedXcm<()>>",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "teleport_assets",
"fields": [
{
"name": "dest",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "assets",
"type": 450,
"typeName": "Box<VersionedAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 1,
"docs": [
"Teleport some assets from the local chain to some destination chain.",
"",
"**This function is deprecated: Use `limited_teleport_assets` instead.**",
"",
"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 `[Parent,",
" Parachain(..)]` to send from parachain to parachain, or `[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` chain.",
"- `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": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "assets",
"type": 450,
"typeName": "Box<VersionedAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": [
"Transfer some assets from the local chain to the destination chain through their local,",
"destination or remote reserve.",
"",
"`assets` must have same reserve location and may not be teleportable to `dest`.",
" - `assets` have local reserve: transfer assets to sovereign account of destination",
" chain and forward a notification XCM to `dest` to mint and deposit reserve-based",
" assets to `beneficiary`.",
" - `assets` have destination reserve: burn local assets and forward a notification to",
" `dest` chain to withdraw the reserve assets from this chain's sovereign account and",
" deposit them to `beneficiary`.",
" - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move",
" reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`",
" to mint and deposit reserve-based assets to `beneficiary`.",
"",
"**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**",
"",
"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 `[Parent,",
" Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains.",
"- `fee_asset_item`: The index into `assets` of the item which should be used to pay",
" fees."
]
},
{
"name": "execute",
"fields": [
{
"name": "message",
"type": 451,
"typeName": "Box<VersionedXcm<<T as Config>::RuntimeCall>>",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"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."
]
},
{
"name": "force_xcm_version",
"fields": [
{
"name": "location",
"type": 146,
"typeName": "Box<Location>",
"docs": []
},
{
"name": "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": 278,
"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": 306,
"typeName": "Box<VersionedLocation>",
"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": 306,
"typeName": "Box<VersionedLocation>",
"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": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "assets",
"type": 450,
"typeName": "Box<VersionedAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 8,
"docs": [
"Transfer some assets from the local chain to the destination chain through their local,",
"destination or remote reserve.",
"",
"`assets` must have same reserve location and may not be teleportable to `dest`.",
" - `assets` have local reserve: transfer assets to sovereign account of destination",
" chain and forward a notification XCM to `dest` to mint and deposit reserve-based",
" assets to `beneficiary`.",
" - `assets` have destination reserve: burn local assets and forward a notification to",
" `dest` chain to withdraw the reserve assets from this chain's sovereign account and",
" deposit them to `beneficiary`.",
" - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move",
" reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`",
" to mint and deposit reserve-based assets to `beneficiary`.",
"",
"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 `[Parent,",
" Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains.",
"- `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": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "assets",
"type": 450,
"typeName": "Box<VersionedAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "weight_limit",
"type": 418,
"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 `[Parent,",
" Parachain(..)]` to send from parachain to parachain, or `[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` chain.",
"- `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": 8,
"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."
]
},
{
"name": "transfer_assets",
"fields": [
{
"name": "dest",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
},
{
"name": "assets",
"type": 450,
"typeName": "Box<VersionedAssets>",
"docs": []
},
{
"name": "fee_asset_item",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 11,
"docs": [
"Transfer some assets from the local chain to the destination chain through their local,",
"destination or remote reserve, or through teleports.",
"",
"Fee payment on the destination side is made from the asset in the `assets` vector of",
"index `fee_asset_item` (hence referred to as `fees`), 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 sent may be at risk.",
"",
"`assets` (excluding `fees`) must have same reserve location or otherwise be teleportable",
"to `dest`, no limitations imposed on `fees`.",
" - for local reserve: transfer assets to sovereign account of destination chain and",
" forward a notification XCM to `dest` to mint and deposit reserve-based assets to",
" `beneficiary`.",
" - for destination reserve: burn local assets and forward a notification to `dest` chain",
" to withdraw the reserve assets from this chain's sovereign account and deposit them",
" to `beneficiary`.",
" - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves",
" from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint",
" and deposit reserve-based assets to `beneficiary`.",
" - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport",
" assets and deposit them to `beneficiary`.",
"",
"- `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` (and possibly reserve) chains.",
"- `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": "claim_assets",
"fields": [
{
"name": "assets",
"type": 450,
"typeName": "Box<VersionedAssets>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "Box<VersionedLocation>",
"docs": []
}
],
"index": 12,
"docs": [
"Claims assets trapped on this pallet because of leftover assets during XCM execution.",
"",
"- `origin`: Anyone can call this extrinsic.",
"- `assets`: The exact assets that were trapped. Use the version to specify what version",
"was the latest when they were trapped.",
"- `beneficiary`: The location/account where the claimed assets will be deposited."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 450,
"path": ["xcm", "VersionedAssets"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 379,
"typeName": "v2::MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 398,
"typeName": "v3::MultiAssets",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "V4",
"fields": [
{
"type": 422,
"typeName": "v4::Assets",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 451,
"path": ["xcm", "VersionedXcm"],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "V2",
"fields": [
{
"type": 452,
"typeName": "v2::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "V3",
"fields": [
{
"type": 456,
"typeName": "v3::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "V4",
"fields": [
{
"type": 459,
"typeName": "v4::Xcm<RuntimeCall>",
"docs": []
}
],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 452,
"path": ["xcm", "v2", "Xcm"],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 453,
"typeName": "Vec<Instruction<RuntimeCall>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 453,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 454
},
"docs": []
},
{
"id": 454,
"path": ["xcm", "v2", "Instruction"],
"params": [
{
"name": "RuntimeCall"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 385,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 379,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 307,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 379,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_type",
"type": 389,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 11,
"typeName": "u64",
"docs": []
},
{
"name": "call",
"type": 455,
"typeName": "DoubleEncoded<RuntimeCall>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 308,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "max_response_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "beneficiary",
"type": 307,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_assets",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "receive",
"type": 379,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 376,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "QueryHolding",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "dest",
"type": 307,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "assets",
"type": 391,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "max_response_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 381,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 394,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 452,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 452,
"typeName": "Xcm<RuntimeCall>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 379,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 307,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
}
]
},
"docs": []
},
{
"id": 455,
"path": ["xcm", "double_encoded", "DoubleEncoded"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "encoded",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
]
},
"docs": []
},
{
"id": 456,
"path": ["xcm", "v3", "Xcm"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 457,
"typeName": "Vec<Instruction<Call>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 457,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 458
},
"docs": []
},
{
"id": 458,
"path": ["xcm", "v3", "Instruction"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 403,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "querier",
"type": 413,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "beneficiary",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "dest",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_kind",
"type": 389,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "call",
"type": 455,
"typeName": "DoubleEncoded<Call>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 300,
"typeName": "InteriorMultiLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "beneficiary",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "want",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "maximal",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
},
{
"name": "dest",
"type": 299,
"typeName": "MultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "ReportHolding",
"fields": [
{
"name": "response_info",
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
},
{
"name": "assets",
"type": 415,
"typeName": "MultiAssetFilter",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 456,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 456,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 398,
"typeName": "MultiAssets",
"docs": []
},
{
"name": "ticket",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
},
{
"name": "BurnAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "ExpectAsset",
"fields": [
{
"type": 398,
"typeName": "MultiAssets",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "ExpectOrigin",
"fields": [
{
"type": 413,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ExpectError",
"fields": [
{
"type": 404,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "ExpectTransactStatus",
"fields": [
{
"type": 411,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "QueryPallet",
"fields": [
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "response_info",
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 33,
"docs": []
},
{
"name": "ExpectPallet",
"fields": [
{
"name": "index",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "crate_major",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "min_crate_minor",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ReportTransactStatus",
"fields": [
{
"type": 414,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ClearTransactStatus",
"fields": [],
"index": 36,
"docs": []
},
{
"name": "UniversalOrigin",
"fields": [
{
"type": 301,
"typeName": "Junction",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "ExportMessage",
"fields": [
{
"name": "network",
"type": 303,
"typeName": "NetworkId",
"docs": []
},
{
"name": "destination",
"type": 300,
"typeName": "InteriorMultiLocation",
"docs": []
},
{
"name": "xcm",
"type": 395,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "LockAsset",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "unlocker",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "UnlockAsset",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "target",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "NoteUnlockable",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "owner",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 41,
"docs": []
},
{
"name": "RequestUnlock",
"fields": [
{
"name": "asset",
"type": 400,
"typeName": "MultiAsset",
"docs": []
},
{
"name": "locker",
"type": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 42,
"docs": []
},
{
"name": "SetFeesMode",
"fields": [
{
"name": "jit_withdraw",
"type": 8,
"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": 299,
"typeName": "MultiLocation",
"docs": []
}
],
"index": 46,
"docs": []
},
{
"name": "UnpaidExecution",
"fields": [
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
},
{
"name": "check_origin",
"type": 413,
"typeName": "Option<MultiLocation>",
"docs": []
}
],
"index": 47,
"docs": []
}
]
},
"docs": []
},
{
"id": 459,
"path": ["staging_xcm", "v4", "Xcm"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 460,
"typeName": "Vec<Instruction<Call>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 460,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 461
},
"docs": []
},
{
"id": 461,
"path": ["staging_xcm", "v4", "Instruction"],
"params": [
{
"name": "Call"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "WithdrawAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "ReserveAssetDeposited",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "ReceiveTeleportedAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "QueryResponse",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 427,
"typeName": "Response",
"docs": []
},
{
"name": "max_weight",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "querier",
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "TransferAsset",
"fields": [
{
"name": "assets",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "beneficiary",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 4,
"docs": []
},
{
"name": "TransferReserveAsset",
"fields": [
{
"name": "assets",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "dest",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 5,
"docs": []
},
{
"name": "Transact",
"fields": [
{
"name": "origin_kind",
"type": 389,
"typeName": "OriginKind",
"docs": []
},
{
"name": "require_weight_at_most",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "call",
"type": 455,
"typeName": "DoubleEncoded<Call>",
"docs": []
}
],
"index": 6,
"docs": []
},
{
"name": "HrmpNewChannelOpenRequest",
"fields": [
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_message_size",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "max_capacity",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 7,
"docs": []
},
{
"name": "HrmpChannelAccepted",
"fields": [
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 8,
"docs": []
},
{
"name": "HrmpChannelClosing",
"fields": [
{
"name": "initiator",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "sender",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "recipient",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 9,
"docs": []
},
{
"name": "ClearOrigin",
"fields": [],
"index": 10,
"docs": []
},
{
"name": "DescendOrigin",
"fields": [
{
"type": 147,
"typeName": "InteriorLocation",
"docs": []
}
],
"index": 11,
"docs": []
},
{
"name": "ReportError",
"fields": [
{
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 12,
"docs": []
},
{
"name": "DepositAsset",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "beneficiary",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 13,
"docs": []
},
{
"name": "DepositReserveAsset",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "dest",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 14,
"docs": []
},
{
"name": "ExchangeAsset",
"fields": [
{
"name": "give",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "want",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "maximal",
"type": 8,
"typeName": "bool",
"docs": []
}
],
"index": 15,
"docs": []
},
{
"name": "InitiateReserveWithdraw",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "reserve",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 16,
"docs": []
},
{
"name": "InitiateTeleport",
"fields": [
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
},
{
"name": "dest",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 17,
"docs": []
},
{
"name": "ReportHolding",
"fields": [
{
"name": "response_info",
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
},
{
"name": "assets",
"type": 434,
"typeName": "AssetFilter",
"docs": []
}
],
"index": 18,
"docs": []
},
{
"name": "BuyExecution",
"fields": [
{
"name": "fees",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
}
],
"index": 19,
"docs": []
},
{
"name": "RefundSurplus",
"fields": [],
"index": 20,
"docs": []
},
{
"name": "SetErrorHandler",
"fields": [
{
"type": 459,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 21,
"docs": []
},
{
"name": "SetAppendix",
"fields": [
{
"type": 459,
"typeName": "Xcm<Call>",
"docs": []
}
],
"index": 22,
"docs": []
},
{
"name": "ClearError",
"fields": [],
"index": 23,
"docs": []
},
{
"name": "ClaimAsset",
"fields": [
{
"name": "assets",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "ticket",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 24,
"docs": []
},
{
"name": "Trap",
"fields": [
{
"type": 11,
"typeName": "u64",
"docs": []
}
],
"index": 25,
"docs": []
},
{
"name": "SubscribeVersion",
"fields": [
{
"name": "query_id",
"type": 11,
"typeName": "QueryId",
"docs": []
},
{
"name": "max_response_weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 26,
"docs": []
},
{
"name": "UnsubscribeVersion",
"fields": [],
"index": 27,
"docs": []
},
{
"name": "BurnAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 28,
"docs": []
},
{
"name": "ExpectAsset",
"fields": [
{
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 29,
"docs": []
},
{
"name": "ExpectOrigin",
"fields": [
{
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 30,
"docs": []
},
{
"name": "ExpectError",
"fields": [
{
"type": 404,
"typeName": "Option<(u32, Error)>",
"docs": []
}
],
"index": 31,
"docs": []
},
{
"name": "ExpectTransactStatus",
"fields": [
{
"type": 411,
"typeName": "MaybeErrorCode",
"docs": []
}
],
"index": 32,
"docs": []
},
{
"name": "QueryPallet",
"fields": [
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "response_info",
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 33,
"docs": []
},
{
"name": "ExpectPallet",
"fields": [
{
"name": "index",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "module_name",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
},
{
"name": "crate_major",
"type": 93,
"typeName": "u32",
"docs": []
},
{
"name": "min_crate_minor",
"type": 93,
"typeName": "u32",
"docs": []
}
],
"index": 34,
"docs": []
},
{
"name": "ReportTransactStatus",
"fields": [
{
"type": 433,
"typeName": "QueryResponseInfo",
"docs": []
}
],
"index": 35,
"docs": []
},
{
"name": "ClearTransactStatus",
"fields": [],
"index": 36,
"docs": []
},
{
"name": "UniversalOrigin",
"fields": [
{
"type": 149,
"typeName": "Junction",
"docs": []
}
],
"index": 37,
"docs": []
},
{
"name": "ExportMessage",
"fields": [
{
"name": "network",
"type": 151,
"typeName": "NetworkId",
"docs": []
},
{
"name": "destination",
"type": 147,
"typeName": "InteriorLocation",
"docs": []
},
{
"name": "xcm",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
}
],
"index": 38,
"docs": []
},
{
"name": "LockAsset",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "unlocker",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 39,
"docs": []
},
{
"name": "UnlockAsset",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "target",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 40,
"docs": []
},
{
"name": "NoteUnlockable",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "owner",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 41,
"docs": []
},
{
"name": "RequestUnlock",
"fields": [
{
"name": "asset",
"type": 424,
"typeName": "Asset",
"docs": []
},
{
"name": "locker",
"type": 146,
"typeName": "Location",
"docs": []
}
],
"index": 42,
"docs": []
},
{
"name": "SetFeesMode",
"fields": [
{
"name": "jit_withdraw",
"type": 8,
"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": 146,
"typeName": "Location",
"docs": []
}
],
"index": 46,
"docs": []
},
{
"name": "UnpaidExecution",
"fields": [
{
"name": "weight_limit",
"type": 418,
"typeName": "WeightLimit",
"docs": []
},
{
"name": "check_origin",
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 47,
"docs": []
}
]
},
"docs": []
},
{
"id": 462,
"path": ["pallet_message_queue", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "reap_page",
"fields": [
{
"name": "message_origin",
"type": 463,
"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": 463,
"typeName": "MessageOriginOf<T>",
"docs": []
},
{
"name": "page",
"type": 4,
"typeName": "PageIndex",
"docs": []
},
{
"name": "index",
"type": 4,
"typeName": "T::Size",
"docs": []
},
{
"name": "weight_limit",
"type": 10,
"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 a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 463,
"path": [
"polkadot_runtime_parachains",
"inclusion",
"AggregateMessageOrigin"
],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Ump",
"fields": [
{
"type": 464,
"typeName": "UmpQueueId",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": []
},
{
"id": 464,
"path": ["polkadot_runtime_parachains", "inclusion", "UmpQueueId"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Para",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": []
}
]
},
"docs": []
},
{
"id": 465,
"path": ["pallet_asset_rate", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "create",
"fields": [
{
"name": "asset_kind",
"type": 298,
"typeName": "Box<T::AssetKind>",
"docs": []
},
{
"name": "rate",
"type": 466,
"typeName": "FixedU128",
"docs": []
}
],
"index": 0,
"docs": [
"Initialize a conversion rate to native balance for the given asset.",
"",
"## Complexity",
"- O(1)"
]
},
{
"name": "update",
"fields": [
{
"name": "asset_kind",
"type": 298,
"typeName": "Box<T::AssetKind>",
"docs": []
},
{
"name": "rate",
"type": 466,
"typeName": "FixedU128",
"docs": []
}
],
"index": 1,
"docs": [
"Update the conversion rate to native balance for the given asset.",
"",
"## Complexity",
"- O(1)"
]
},
{
"name": "remove",
"fields": [
{
"name": "asset_kind",
"type": 298,
"typeName": "Box<T::AssetKind>",
"docs": []
}
],
"index": 2,
"docs": [
"Remove an existing conversion rate to native balance for the given asset.",
"",
"## Complexity",
"- O(1)"
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 466,
"path": ["sp_arithmetic", "fixed_point", "FixedU128"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 6,
"typeName": "u128",
"docs": []
}
]
},
"docs": []
},
{
"id": 467,
"path": ["pallet_root_testing", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "fill_block",
"fields": [
{
"name": "ratio",
"type": 37,
"typeName": "Perbill",
"docs": []
}
],
"index": 0,
"docs": [
"A dispatch that will fill the block weight up to the given ratio."
]
},
{
"name": "trigger_defensive",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 468,
"path": ["pallet_beefy", "pallet", "Call"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "report_equivocation",
"fields": [
{
"name": "equivocation_proof",
"type": 469,
"typeName": "Box<EquivocationProof<BlockNumberFor<T>, T::BeefyId,<T::BeefyId\nas RuntimeAppPublic>::Signature,>,>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 97,
"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": 469,
"typeName": "Box<EquivocationProof<BlockNumberFor<T>, T::BeefyId,<T::BeefyId\nas RuntimeAppPublic>::Signature,>,>",
"docs": []
},
{
"name": "key_owner_proof",
"type": 97,
"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": "set_new_genesis",
"fields": [
{
"name": "delay_in_blocks",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 2,
"docs": [
"Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the",
"future.",
"",
"Note: `delay_in_blocks` has to be at least 1."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 469,
"path": ["sp_consensus_beefy", "EquivocationProof"],
"params": [
{
"name": "Number",
"type": 4
},
{
"name": "Id",
"type": 123
},
{
"name": "Signature",
"type": 470
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "first",
"type": 471,
"typeName": "VoteMessage<Number, Id, Signature>",
"docs": []
},
{
"name": "second",
"type": 471,
"typeName": "VoteMessage<Number, Id, Signature>",
"docs": []
}
]
},
"docs": []
},
{
"id": 470,
"path": ["sp_consensus_beefy", "ecdsa_crypto", "Signature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 204,
"typeName": "ecdsa::Signature",
"docs": []
}
]
},
"docs": []
},
{
"id": 471,
"path": ["sp_consensus_beefy", "VoteMessage"],
"params": [
{
"name": "Number",
"type": 4
},
{
"name": "Id",
"type": 123
},
{
"name": "Signature",
"type": 470
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "commitment",
"type": 472,
"typeName": "Commitment<Number>",
"docs": []
},
{
"name": "id",
"type": 123,
"typeName": "Id",
"docs": []
},
{
"name": "signature",
"type": 470,
"typeName": "Signature",
"docs": []
}
]
},
"docs": []
},
{
"id": 472,
"path": ["sp_consensus_beefy", "commitment", "Commitment"],
"params": [
{
"name": "TBlockNumber",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "payload",
"type": 473,
"typeName": "Payload",
"docs": []
},
{
"name": "block_number",
"type": 4,
"typeName": "TBlockNumber",
"docs": []
},
{
"name": "validator_set_id",
"type": 12,
"typeName": "ValidatorSetId",
"docs": []
}
]
},
"docs": []
},
{
"id": 473,
"path": ["sp_consensus_beefy", "payload", "Payload"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 474,
"typeName": "Vec<(BeefyPayloadId, Vec<u8>)>",
"docs": []
}
]
},
"docs": []
},
{
"id": 474,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 475
},
"docs": []
},
{
"id": 475,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [169, 14]
},
"docs": []
},
{
"id": 476,
"path": [
"polkadot_runtime_common",
"identity_migrator",
"pallet",
"Call"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "reap_identity",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 0,
"docs": [
"Reap the `IdentityInfo` of `who` from the Identity pallet of `T`, unreserving any",
"deposits held and removing storage items associated with `who`."
]
},
{
"name": "poke_deposit",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 1,
"docs": [
"Update the deposit of `who`. Meant to be called by the system with an XCM `Transact`",
"Instruction."
]
}
]
},
"docs": [
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
{
"id": 477,
"path": ["sp_runtime", "traits", "BlakeTwo256"],
"params": [],
"def": {
"tag": "composite",
"value": []
},
"docs": []
},
{
"id": 478,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 2
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 14,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 479,
"path": ["pallet_conviction_voting", "types", "Tally"],
"params": [
{
"name": "Votes",
"type": 6
},
{
"name": "Total"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "ayes",
"type": 6,
"typeName": "Votes",
"docs": []
},
{
"name": "nays",
"type": 6,
"typeName": "Votes",
"docs": []
},
{
"name": "support",
"type": 6,
"typeName": "Votes",
"docs": []
}
]
},
"docs": []
},
{
"id": 480,
"path": ["pallet_whitelist", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "CallWhitelisted",
"fields": [
{
"name": "call_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "WhitelistedCallRemoved",
"fields": [
{
"name": "call_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "WhitelistedCallDispatched",
"fields": [
{
"name": "call_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
},
{
"name": "result",
"type": 481,
"typeName": "DispatchResultWithPostInfo",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 481,
"path": ["Result"],
"params": [
{
"name": "T",
"type": 482
},
{
"name": "E",
"type": 484
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Ok",
"fields": [
{
"type": 482,
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Err",
"fields": [
{
"type": 484,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 482,
"path": ["frame_support", "dispatch", "PostDispatchInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "actual_weight",
"type": 483,
"typeName": "Option<Weight>",
"docs": []
},
{
"name": "pays_fee",
"type": 25,
"typeName": "Pays",
"docs": []
}
]
},
"docs": []
},
{
"id": 483,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 10
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 10,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 484,
"path": ["sp_runtime", "DispatchErrorWithPostInfo"],
"params": [
{
"name": "Info",
"type": 482
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "post_info",
"type": 482,
"typeName": "Info",
"docs": []
},
{
"name": "error",
"type": 26,
"typeName": "DispatchError",
"docs": []
}
]
},
"docs": []
},
{
"id": 485,
"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."]
},
{
"name": "AssetSpendApproved",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
},
{
"name": "asset_kind",
"type": 298,
"typeName": "T::AssetKind",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "AssetBalanceOf<T, I>",
"docs": []
},
{
"name": "beneficiary",
"type": 306,
"typeName": "T::Beneficiary",
"docs": []
},
{
"name": "valid_from",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
},
{
"name": "expire_at",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 9,
"docs": ["A new asset spend proposal has been approved."]
},
{
"name": "AssetSpendVoided",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
}
],
"index": 10,
"docs": ["An approved spend was voided."]
},
{
"name": "Paid",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
},
{
"name": "payment_id",
"type": 12,
"typeName": "<T::Paymaster as Pay>::Id",
"docs": []
}
],
"index": 11,
"docs": ["A payment happened."]
},
{
"name": "PaymentFailed",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
},
{
"name": "payment_id",
"type": 12,
"typeName": "<T::Paymaster as Pay>::Id",
"docs": []
}
],
"index": 12,
"docs": ["A payment failed and can be retried."]
},
{
"name": "SpendProcessed",
"fields": [
{
"name": "index",
"type": 4,
"typeName": "SpendIndex",
"docs": []
}
],
"index": 13,
"docs": [
"A spend was processed and removed from the storage. It might have been successfully",
"paid or it may have expired."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 486,
"path": ["polkadot_runtime_parachains", "inclusion", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "CandidateBacked",
"fields": [
{
"type": 487,
"typeName": "CandidateReceipt<T::Hash>",
"docs": []
},
{
"type": 348,
"typeName": "HeadData",
"docs": []
},
{
"type": 488,
"typeName": "CoreIndex",
"docs": []
},
{
"type": 489,
"typeName": "GroupIndex",
"docs": []
}
],
"index": 0,
"docs": ["A candidate was backed. `[candidate, head_data]`"]
},
{
"name": "CandidateIncluded",
"fields": [
{
"type": 487,
"typeName": "CandidateReceipt<T::Hash>",
"docs": []
},
{
"type": 348,
"typeName": "HeadData",
"docs": []
},
{
"type": 488,
"typeName": "CoreIndex",
"docs": []
},
{
"type": 489,
"typeName": "GroupIndex",
"docs": []
}
],
"index": 1,
"docs": ["A candidate was included. `[candidate, head_data]`"]
},
{
"name": "CandidateTimedOut",
"fields": [
{
"type": 487,
"typeName": "CandidateReceipt<T::Hash>",
"docs": []
},
{
"type": 348,
"typeName": "HeadData",
"docs": []
},
{
"type": 488,
"typeName": "CoreIndex",
"docs": []
}
],
"index": 2,
"docs": ["A candidate timed out. `[candidate, head_data]`"]
},
{
"name": "UpwardMessagesReceived",
"fields": [
{
"name": "from",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "count",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": [
"Some upward messages have been received and will be processed."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 487,
"path": ["polkadot_primitives", "v6", "CandidateReceipt"],
"params": [
{
"name": "H",
"type": 13
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "descriptor",
"type": 337,
"typeName": "CandidateDescriptor<H>",
"docs": []
},
{
"name": "commitments_hash",
"type": 13,
"typeName": "Hash",
"docs": []
}
]
},
"docs": []
},
{
"id": 488,
"path": ["polkadot_primitives", "v6", "CoreIndex"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 489,
"path": ["polkadot_primitives", "v6", "GroupIndex"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
]
},
"docs": []
},
{
"id": 490,
"path": ["polkadot_runtime_parachains", "paras", "pallet", "Event"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "CurrentCodeUpdated",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": ["Current code has been updated for a Para. `para_id`"]
},
{
"name": "CurrentHeadUpdated",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 1,
"docs": ["Current head has been updated for a Para. `para_id`"]
},
{
"name": "CodeUpgradeScheduled",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 2,
"docs": ["A code upgrade has been scheduled for a Para. `para_id`"]
},
{
"name": "NewHeadNoted",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 3,
"docs": ["A new head has been noted for a Para. `para_id`"]
},
{
"name": "ActionQueued",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"type": 4,
"typeName": "SessionIndex",
"docs": []
}
],
"index": 4,
"docs": [
"A para has been queued to execute pending actions. `para_id`"
]
},
{
"name": "PvfCheckStarted",
"fields": [
{
"type": 340,
"typeName": "ValidationCodeHash",
"docs": []
},
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 5,
"docs": [
"The given para either initiated or subscribed to a PVF check for the given validation",
"code. `code_hash` `para_id`"
]
},
{
"name": "PvfCheckAccepted",
"fields": [
{
"type": 340,
"typeName": "ValidationCodeHash",
"docs": []
},
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 6,
"docs": [
"The given validation code was accepted by the PVF pre-checking vote.",
"`code_hash` `para_id`"
]
},
{
"name": "PvfCheckRejected",
"fields": [
{
"type": 340,
"typeName": "ValidationCodeHash",
"docs": []
},
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 7,
"docs": [
"The given validation code was rejected by the PVF pre-checking vote.",
"`code_hash` `para_id`"
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 491,
"path": ["polkadot_runtime_parachains", "hrmp", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "OpenChannelRequested",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"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": ["Open HRMP channel requested."]
},
{
"name": "OpenChannelCanceled",
"fields": [
{
"name": "by_parachain",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "channel_id",
"type": 364,
"typeName": "HrmpChannelId",
"docs": []
}
],
"index": 1,
"docs": [
"An HRMP channel request sent by the receiver was canceled by either party."
]
},
{
"name": "OpenChannelAccepted",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 2,
"docs": ["Open HRMP channel accepted."]
},
{
"name": "ChannelClosed",
"fields": [
{
"name": "by_parachain",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "channel_id",
"type": 364,
"typeName": "HrmpChannelId",
"docs": []
}
],
"index": 3,
"docs": ["HRMP channel closed."]
},
{
"name": "HrmpChannelForceOpened",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "proposed_max_capacity",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "proposed_max_message_size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 4,
"docs": ["An HRMP channel was opened via Root origin."]
},
{
"name": "HrmpSystemChannelOpened",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "proposed_max_capacity",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "proposed_max_message_size",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 5,
"docs": ["An HRMP channel was opened between two system chains."]
},
{
"name": "OpenChannelDepositsUpdated",
"fields": [
{
"name": "sender",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "recipient",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 6,
"docs": ["An HRMP channel's deposits were updated."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 492,
"path": ["polkadot_runtime_parachains", "disputes", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "DisputeInitiated",
"fields": [
{
"type": 353,
"typeName": "CandidateHash",
"docs": []
},
{
"type": 493,
"typeName": "DisputeLocation",
"docs": []
}
],
"index": 0,
"docs": [
"A dispute has been initiated. \\[candidate hash, dispute location\\]"
]
},
{
"name": "DisputeConcluded",
"fields": [
{
"type": 353,
"typeName": "CandidateHash",
"docs": []
},
{
"type": 494,
"typeName": "DisputeResult",
"docs": []
}
],
"index": 1,
"docs": [
"A dispute has concluded for or against a candidate.",
"`\\[para id, candidate hash, dispute result\\]`"
]
},
{
"name": "Revert",
"fields": [
{
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 2,
"docs": [
"A dispute has concluded with supermajority against a candidate.",
"Block authors should no longer build on top of this head and should",
"instead revert the block at the given height. This should be the",
"number of the child of the last known valid block in the chain."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 493,
"path": ["polkadot_runtime_parachains", "disputes", "DisputeLocation"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Local",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Remote",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 494,
"path": ["polkadot_runtime_parachains", "disputes", "DisputeResult"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Valid",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Invalid",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 495,
"path": [
"polkadot_runtime_parachains",
"assigner_on_demand",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "OnDemandOrderPlaced",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "spot_price",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 0,
"docs": ["An order was placed at some spot price amount."]
},
{
"name": "SpotTrafficSet",
"fields": [
{
"name": "traffic",
"type": 466,
"typeName": "FixedU128",
"docs": []
}
],
"index": 1,
"docs": ["The value of the spot traffic multiplier changed."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 496,
"path": ["polkadot_runtime_common", "paras_registrar", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Registered",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "manager",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Deregistered",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Reserved",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "Swapped",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "other_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 497,
"path": ["polkadot_runtime_common", "slots", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "NewLeasePeriod",
"fields": [
{
"name": "lease_period",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
}
],
"index": 0,
"docs": ["A new `[lease_period]` is beginning."]
},
{
"name": "Leased",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "leaser",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "period_begin",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "period_count",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "extra_reserved",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "total_amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"A para has won the right to a continuous set of lease periods as a parachain.",
"First balance is any extra amount reserved on top of the para's existing deposit.",
"Second balance is the total amount reserved."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 498,
"path": ["polkadot_runtime_common", "auctions", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "AuctionStarted",
"fields": [
{
"name": "auction_index",
"type": 4,
"typeName": "AuctionIndex",
"docs": []
},
{
"name": "lease_period",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "ending",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 0,
"docs": [
"An auction started. Provides its index and the block number where it will begin to",
"close and the first lease period of the quadruplet that is auctioned."
]
},
{
"name": "AuctionClosed",
"fields": [
{
"name": "auction_index",
"type": 4,
"typeName": "AuctionIndex",
"docs": []
}
],
"index": 1,
"docs": ["An auction ended. All funds become unreserved."]
},
{
"name": "Reserved",
"fields": [
{
"name": "bidder",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "extra_reserved",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "total_amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 2,
"docs": [
"Funds were reserved for a winning bid. First balance is the extra amount reserved.",
"Second is the total."
]
},
{
"name": "Unreserved",
"fields": [
{
"name": "bidder",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 3,
"docs": [
"Funds were unreserved since bidder is no longer active. `[bidder, amount]`"
]
},
{
"name": "ReserveConfiscated",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "leaser",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 4,
"docs": [
"Someone attempted to lease the same slot twice for a parachain. The amount is held in",
"reserve but no parachain slot has been leased."
]
},
{
"name": "BidAccepted",
"fields": [
{
"name": "bidder",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "first_slot",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
},
{
"name": "last_slot",
"type": 4,
"typeName": "LeasePeriodOf<T>",
"docs": []
}
],
"index": 5,
"docs": ["A new bid has been accepted as the current winner."]
},
{
"name": "WinningOffset",
"fields": [
{
"name": "auction_index",
"type": 4,
"typeName": "AuctionIndex",
"docs": []
},
{
"name": "block_number",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 6,
"docs": [
"The winning offset was chosen for an auction. This will map into the `Winning` storage",
"map."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 499,
"path": ["polkadot_runtime_common", "crowdloan", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Created",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": ["Create a new crowdloaning campaign."]
},
{
"name": "Contributed",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "fund_index",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": ["Contributed to a crowd sale."]
},
{
"name": "Withdrew",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "fund_index",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 2,
"docs": ["Withdrew full balance of a contributor."]
},
{
"name": "PartiallyRefunded",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 3,
"docs": [
"The loans in a fund have been partially dissolved, i.e. there are some left",
"over child keys that still need to be killed."
]
},
{
"name": "AllRefunded",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 4,
"docs": ["All loans in a fund have been refunded."]
},
{
"name": "Dissolved",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 5,
"docs": ["Fund is dissolved."]
},
{
"name": "HandleBidResult",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "result",
"type": 50,
"typeName": "DispatchResult",
"docs": []
}
],
"index": 6,
"docs": [
"The result of trying to submit a new bid to the Slots pallet."
]
},
{
"name": "Edited",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 7,
"docs": ["The configuration to a crowdloan has been edited."]
},
{
"name": "MemoUpdated",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
},
{
"name": "memo",
"type": 14,
"typeName": "Vec<u8>",
"docs": []
}
],
"index": 8,
"docs": ["A memo has been updated."]
},
{
"name": "AddedToNewRaise",
"fields": [
{
"name": "para_id",
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 9,
"docs": ["A parachain has been moved to `NewRaise`"]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 500,
"path": ["polkadot_runtime_common", "assigned_slots", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "PermanentSlotAssigned",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 0,
"docs": ["A parachain was assigned a permanent parachain slot"]
},
{
"name": "TemporarySlotAssigned",
"fields": [
{
"type": 144,
"typeName": "ParaId",
"docs": []
}
],
"index": 1,
"docs": ["A parachain was assigned a temporary parachain slot"]
},
{
"name": "MaxPermanentSlotsChanged",
"fields": [
{
"name": "slots",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 2,
"docs": ["The maximum number of permanent slots has been changed"]
},
{
"name": "MaxTemporarySlotsChanged",
"fields": [
{
"name": "slots",
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 3,
"docs": ["The maximum number of temporary slots has been changed"]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 501,
"path": ["polkadot_runtime_parachains", "coretime", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "RevenueInfoRequested",
"fields": [
{
"name": "when",
"type": 4,
"typeName": "BlockNumberFor<T>",
"docs": []
}
],
"index": 0,
"docs": [
"The broker chain has asked for revenue information for a specific block."
]
},
{
"name": "CoreAssigned",
"fields": [
{
"name": "core",
"type": 488,
"typeName": "CoreIndex",
"docs": []
}
],
"index": 1,
"docs": [
"A core has received a new assignment from the broker chain."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 502,
"path": ["pallet_xcm", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Attempted",
"fields": [
{
"name": "outcome",
"type": 503,
"typeName": "xcm::latest::Outcome",
"docs": []
}
],
"index": 0,
"docs": ["Execution of an XCM message was attempted."]
},
{
"name": "Sent",
"fields": [
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "destination",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "message",
"type": 419,
"typeName": "Xcm<()>",
"docs": []
},
{
"name": "message_id",
"type": 1,
"typeName": "XcmHash",
"docs": []
}
],
"index": 1,
"docs": ["A XCM message was sent."]
},
{
"name": "UnexpectedResponse",
"fields": [
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
}
],
"index": 2,
"docs": [
"Query response received which does not match a registered query. This may be because a",
"matching query was never registered, it may be because it is a duplicate response, or",
"because the query timed out."
]
},
{
"name": "ResponseReady",
"fields": [
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "response",
"type": 427,
"typeName": "Response",
"docs": []
}
],
"index": 3,
"docs": [
"Query response has been received and is ready for taking with `take_response`. There is",
"no registered notification call."
]
},
{
"name": "Notified",
"fields": [
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "pallet_index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "call_index",
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 4,
"docs": [
"Query response has been received and query is removed. The registered notification has",
"been dispatched and executed successfully."
]
},
{
"name": "NotifyOverweight",
"fields": [
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "pallet_index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "call_index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "actual_weight",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "max_budgeted_weight",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 5,
"docs": [
"Query response has been received and query is removed. The registered notification",
"could not be dispatched because the dispatch weight is greater than the maximum weight",
"originally budgeted by this runtime for the query result."
]
},
{
"name": "NotifyDispatchError",
"fields": [
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "pallet_index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "call_index",
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 6,
"docs": [
"Query response has been received and query is removed. There was a general error with",
"dispatching the notification call."
]
},
{
"name": "NotifyDecodeFailed",
"fields": [
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "pallet_index",
"type": 2,
"typeName": "u8",
"docs": []
},
{
"name": "call_index",
"type": 2,
"typeName": "u8",
"docs": []
}
],
"index": 7,
"docs": [
"Query response has been received and query is removed. The dispatch was unable to be",
"decoded into a `Call`; this might be due to dispatch function having a signature which",
"is not `(origin, QueryId, Response)`."
]
},
{
"name": "InvalidResponder",
"fields": [
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "expected_location",
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 8,
"docs": [
"Expected query response has been received but the origin location of the response does",
"not match that expected. The query remains registered for a later, valid, response to",
"be received and acted upon."
]
},
{
"name": "InvalidResponderVersion",
"fields": [
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
}
],
"index": 9,
"docs": [
"Expected query response has been received but the expected origin location placed in",
"storage by this runtime previously cannot be decoded. The query remains registered.",
"",
"This is unexpected (since a location placed in storage in a previously executing",
"runtime should be readable prior to query timeout) and dangerous since the possibly",
"valid response will be dropped. Manual governance intervention is probably going to be",
"needed."
]
},
{
"name": "ResponseTaken",
"fields": [
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
}
],
"index": 10,
"docs": ["Received query response has been read and removed."]
},
{
"name": "AssetsTrapped",
"fields": [
{
"name": "hash",
"type": 13,
"typeName": "H256",
"docs": []
},
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "assets",
"type": 450,
"typeName": "VersionedAssets",
"docs": []
}
],
"index": 11,
"docs": ["Some assets have been placed in an asset trap."]
},
{
"name": "VersionChangeNotified",
"fields": [
{
"name": "destination",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "result",
"type": 4,
"typeName": "XcmVersion",
"docs": []
},
{
"name": "cost",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "message_id",
"type": 1,
"typeName": "XcmHash",
"docs": []
}
],
"index": 12,
"docs": [
"An XCM version change notification message has been attempted to be sent.",
"",
"The cost of sending it (borne by the chain) is included."
]
},
{
"name": "SupportedVersionChanged",
"fields": [
{
"name": "location",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "version",
"type": 4,
"typeName": "XcmVersion",
"docs": []
}
],
"index": 13,
"docs": [
"The supported version of a location has been changed. This might be through an",
"automatic notification or a manual intervention."
]
},
{
"name": "NotifyTargetSendFail",
"fields": [
{
"name": "location",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "error",
"type": 406,
"typeName": "XcmError",
"docs": []
}
],
"index": 14,
"docs": [
"A given location which had a version change subscription was dropped owing to an error",
"sending the notification to it."
]
},
{
"name": "NotifyTargetMigrationFail",
"fields": [
{
"name": "location",
"type": 306,
"typeName": "VersionedLocation",
"docs": []
},
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
}
],
"index": 15,
"docs": [
"A given location which had a version change subscription was dropped owing to an error",
"migrating the location to our new XCM format."
]
},
{
"name": "InvalidQuerierVersion",
"fields": [
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
}
],
"index": 16,
"docs": [
"Expected query response has been received but the expected querier location placed in",
"storage by this runtime previously cannot be decoded. The query remains registered.",
"",
"This is unexpected (since a location placed in storage in a previously executing",
"runtime should be readable prior to query timeout) and dangerous since the possibly",
"valid response will be dropped. Manual governance intervention is probably going to be",
"needed."
]
},
{
"name": "InvalidQuerier",
"fields": [
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "query_id",
"type": 12,
"typeName": "QueryId",
"docs": []
},
{
"name": "expected_querier",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "maybe_actual_querier",
"type": 432,
"typeName": "Option<Location>",
"docs": []
}
],
"index": 17,
"docs": [
"Expected query response has been received but the querier location of the response does",
"not match the expected. The query remains registered for a later, valid, response to",
"be received and acted upon."
]
},
{
"name": "VersionNotifyStarted",
"fields": [
{
"name": "destination",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "cost",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "message_id",
"type": 1,
"typeName": "XcmHash",
"docs": []
}
],
"index": 18,
"docs": [
"A remote has requested XCM version change notification from us and we have honored it.",
"A version information message is sent to them and its cost is included."
]
},
{
"name": "VersionNotifyRequested",
"fields": [
{
"name": "destination",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "cost",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "message_id",
"type": 1,
"typeName": "XcmHash",
"docs": []
}
],
"index": 19,
"docs": [
"We have requested that a remote chain send us XCM version change notifications."
]
},
{
"name": "VersionNotifyUnrequested",
"fields": [
{
"name": "destination",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "cost",
"type": 422,
"typeName": "Assets",
"docs": []
},
{
"name": "message_id",
"type": 1,
"typeName": "XcmHash",
"docs": []
}
],
"index": 20,
"docs": [
"We have requested that a remote chain stops sending us XCM version change",
"notifications."
]
},
{
"name": "FeesPaid",
"fields": [
{
"name": "paying",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "fees",
"type": 422,
"typeName": "Assets",
"docs": []
}
],
"index": 21,
"docs": [
"Fees were paid from a location for an operation (often for using `SendXcm`)."
]
},
{
"name": "AssetsClaimed",
"fields": [
{
"name": "hash",
"type": 13,
"typeName": "H256",
"docs": []
},
{
"name": "origin",
"type": 146,
"typeName": "Location",
"docs": []
},
{
"name": "assets",
"type": 450,
"typeName": "VersionedAssets",
"docs": []
}
],
"index": 22,
"docs": ["Some assets have been claimed from an asset trap"]
},
{
"name": "VersionMigrationFinished",
"fields": [
{
"name": "version",
"type": 4,
"typeName": "XcmVersion",
"docs": []
}
],
"index": 23,
"docs": ["A XCM version migration finished."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 503,
"path": ["staging_xcm", "v4", "traits", "Outcome"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Complete",
"fields": [
{
"name": "used",
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Incomplete",
"fields": [
{
"name": "used",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "error",
"type": 406,
"typeName": "Error",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Error",
"fields": [
{
"name": "error",
"type": 406,
"typeName": "Error",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 504,
"path": ["pallet_message_queue", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "ProcessingFailed",
"fields": [
{
"name": "id",
"type": 13,
"typeName": "H256",
"docs": ["The `blake2_256` hash of the message."]
},
{
"name": "origin",
"type": 463,
"typeName": "MessageOriginOf<T>",
"docs": ["The queue of the message."]
},
{
"name": "error",
"type": 505,
"typeName": "ProcessMessageError",
"docs": [
"The error that occurred.",
"",
"This error is pretty opaque. More fine-grained errors need to be emitted as events",
"by the `MessageProcessor`."
]
}
],
"index": 0,
"docs": [
"Message discarded due to an error in the `MessageProcessor` (usually a format error)."
]
},
{
"name": "Processed",
"fields": [
{
"name": "id",
"type": 13,
"typeName": "H256",
"docs": ["The `blake2_256` hash of the message."]
},
{
"name": "origin",
"type": 463,
"typeName": "MessageOriginOf<T>",
"docs": ["The queue of the message."]
},
{
"name": "weight_used",
"type": 10,
"typeName": "Weight",
"docs": ["How much weight was used to process the message."]
},
{
"name": "success",
"type": 8,
"typeName": "bool",
"docs": [
"Whether the message was processed.",
"",
"Note that this does not mean that the underlying `MessageProcessor` was internally",
"successful. It *solely* means that the MQ pallet will treat this as a success",
"condition and discard the message. Any internal error needs to be emitted as events",
"by the `MessageProcessor`."
]
}
],
"index": 1,
"docs": ["Message is processed."]
},
{
"name": "OverweightEnqueued",
"fields": [
{
"name": "id",
"type": 1,
"typeName": "[u8; 32]",
"docs": ["The `blake2_256` hash of the message."]
},
{
"name": "origin",
"type": 463,
"typeName": "MessageOriginOf<T>",
"docs": ["The queue of the message."]
},
{
"name": "page_index",
"type": 4,
"typeName": "PageIndex",
"docs": ["The page of the message."]
},
{
"name": "message_index",
"type": 4,
"typeName": "T::Size",
"docs": ["The index of the message within the page."]
}
],
"index": 2,
"docs": ["Message placed in overweight queue."]
},
{
"name": "PageReaped",
"fields": [
{
"name": "origin",
"type": 463,
"typeName": "MessageOriginOf<T>",
"docs": ["The queue of the page."]
},
{
"name": "index",
"type": 4,
"typeName": "PageIndex",
"docs": ["The index of the page."]
}
],
"index": 3,
"docs": ["This page was reaped."]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 505,
"path": ["frame_support", "traits", "messages", "ProcessMessageError"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "BadFormat",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Corrupt",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Unsupported",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Overweight",
"fields": [
{
"type": 10,
"typeName": "Weight",
"docs": []
}
],
"index": 3,
"docs": []
},
{
"name": "Yield",
"fields": [],
"index": 4,
"docs": []
}
]
},
"docs": []
},
{
"id": 506,
"path": ["pallet_asset_rate", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "AssetRateCreated",
"fields": [
{
"name": "asset_kind",
"type": 298,
"typeName": "T::AssetKind",
"docs": []
},
{
"name": "rate",
"type": 466,
"typeName": "FixedU128",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "AssetRateRemoved",
"fields": [
{
"name": "asset_kind",
"type": 298,
"typeName": "T::AssetKind",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "AssetRateUpdated",
"fields": [
{
"name": "asset_kind",
"type": 298,
"typeName": "T::AssetKind",
"docs": []
},
{
"name": "old",
"type": 466,
"typeName": "FixedU128",
"docs": []
},
{
"name": "new",
"type": 466,
"typeName": "FixedU128",
"docs": []
}
],
"index": 2,
"docs": []
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 507,
"path": ["pallet_root_testing", "pallet", "Event"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "DefensiveTestCall",
"fields": [],
"index": 0,
"docs": [
"Event dispatched when the trigger_defensive extrinsic is called."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 508,
"path": [
"polkadot_runtime_common",
"identity_migrator",
"pallet",
"Event"
],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "IdentityReaped",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 0,
"docs": ["The identity and all sub accounts were reaped for `who`."]
},
{
"name": "DepositUpdated",
"fields": [
{
"name": "who",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "identity",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "subs",
"type": 6,
"typeName": "BalanceOf<T>",
"docs": []
}
],
"index": 1,
"docs": [
"The deposits held for `who` were updated. `identity` is the new deposit held for",
"identity info, and `subs` is the new deposit held for the sub-accounts."
]
}
]
},
"docs": ["The `Event` enum of this pallet"]
},
{
"id": 509,
"path": ["frame_system", "Phase"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "ApplyExtrinsic",
"fields": [
{
"type": 4,
"typeName": "u32",
"docs": []
}
],
"index": 0,
"docs": []
},
{
"name": "Finalization",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Initialization",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 510,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 57
},
"docs": []
},
{
"id": 511,
"path": ["frame_system", "LastRuntimeUpgradeInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "spec_version",
"type": 93,
"typeName": "codec::Compact<u32>",
"docs": []
},
{
"name": "spec_name",
"type": 512,
"typeName": "sp_runtime::RuntimeString",
"docs": []
}
]
},
"docs": []
},
{
"id": 512,
"path": [],
"params": [],
"def": {
"tag": "primitive",
"value": {
"tag": "str"
}
},
"docs": []
},
{
"id": 513,
"path": ["frame_system", "CodeUpgradeAuthorization"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "code_hash",
"type": 13,
"typeName": "T::Hash",
"docs": []
},
{
"name": "check_version",
"type": 8,
"typeName": "bool",
"docs": []
}
]
},
"docs": []
},
{
"id": 514,
"path": ["frame_system", "limits", "BlockWeights"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "base_block",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "max_block",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "per_class",
"type": 515,
"typeName": "PerDispatchClass<WeightsPerClass>",
"docs": []
}
]
},
"docs": []
},
{
"id": 515,
"path": ["frame_support", "dispatch", "PerDispatchClass"],
"params": [
{
"name": "T",
"type": 516
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "normal",
"type": 516,
"typeName": "T",
"docs": []
},
{
"name": "operational",
"type": 516,
"typeName": "T",
"docs": []
},
{
"name": "mandatory",
"type": 516,
"typeName": "T",
"docs": []
}
]
},
"docs": []
},
{
"id": 516,
"path": ["frame_system", "limits", "WeightsPerClass"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "base_extrinsic",
"type": 10,
"typeName": "Weight",
"docs": []
},
{
"name": "max_extrinsic",
"type": 483,
"typeName": "Option<Weight>",
"docs": []
},
{
"name": "max_total",
"type": 483,
"typeName": "Option<Weight>",
"docs": []
},
{
"name": "reserved",
"type": 483,
"typeName": "Option<Weight>",
"docs": []
}
]
},
"docs": []
},
{
"id": 517,
"path": ["frame_system", "limits", "BlockLength"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "max",
"type": 518,
"typeName": "PerDispatchClass<u32>",
"docs": []
}
]
},
"docs": []
},
{
"id": 518,
"path": ["frame_support", "dispatch", "PerDispatchClass"],
"params": [
{
"name": "T",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "normal",
"type": 4,
"typeName": "T",
"docs": []
},
{
"name": "operational",
"type": 4,
"typeName": "T",
"docs": []
},
{
"name": "mandatory",
"type": 4,
"typeName": "T",
"docs": []
}
]
},
"docs": []
},
{
"id": 519,
"path": ["sp_weights", "RuntimeDbWeight"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "read",
"type": 12,
"typeName": "u64",
"docs": []
},
{
"name": "write",
"type": 12,
"typeName": "u64",
"docs": []
}
]
},
"docs": []
},
{
"id": 520,
"path": ["sp_version", "RuntimeVersion"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "spec_name",
"type": 512,
"typeName": "RuntimeString",
"docs": []
},
{
"name": "impl_name",
"type": 512,
"typeName": "RuntimeString",
"docs": []
},
{
"name": "authoring_version",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "spec_version",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "impl_version",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "apis",
"type": 521,
"typeName": "ApisVec",
"docs": []
},
{
"name": "transaction_version",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "state_version",
"type": 2,
"typeName": "u8",
"docs": []
}
]
},
"docs": []
},
{
"id": 521,
"path": ["Cow"],
"params": [
{
"name": "T",
"type": 522
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 522,
"docs": []
}
]
},
"docs": []
},
{
"id": 522,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 523
},
"docs": []
},
{
"id": 523,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [174, 4]
},
"docs": []
},
{
"id": 524,
"path": ["frame_system", "pallet", "Error"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "InvalidSpecName",
"fields": [],
"index": 0,
"docs": [
"The name of specification does not match between the current runtime",
"and the new runtime."
]
},
{
"name": "SpecVersionNeedsToIncrease",
"fields": [],
"index": 1,
"docs": [
"The specification version is not allowed to decrease between the current runtime",
"and the new runtime."
]
},
{
"name": "FailedToExtractRuntimeVersion",
"fields": [],
"index": 2,
"docs": [
"Failed to extract the runtime version from the new runtime.",
"",
"Either calling `Core_version` or decoding `RuntimeVersion` failed."
]
},
{
"name": "NonDefaultComposite",
"fields": [],
"index": 3,
"docs": [
"Suicide called when the account has non-default composite data."
]
},
{
"name": "NonZeroRefCount",
"fields": [],
"index": 4,
"docs": [
"There is a non-zero reference count preventing the account from being purged."
]
},
{
"name": "CallFiltered",
"fields": [],
"index": 5,
"docs": ["The origin filter prevent the call to be dispatched."]
},
{
"name": "MultiBlockMigrationsOngoing",
"fields": [],
"index": 6,
"docs": [
"A multi-block migration is ongoing and prevents the current code from being replaced."
]
},
{
"name": "NothingAuthorized",
"fields": [],
"index": 7,
"docs": ["No upgrade authorized."]
},
{
"name": "Unauthorized",
"fields": [],
"index": 8,
"docs": ["The submitted code is not authorized."]
}
]
},
"docs": ["Error for the System pallet"]
},
{
"id": 525,
"path": ["bounded_collections", "weak_bounded_vec", "WeakBoundedVec"],
"params": [
{
"name": "T",
"type": 526
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 527,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 526,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [94, 12]
},
"docs": []
},
{
"id": 527,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 526
},
"docs": []
},
{
"id": 528,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 1
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 529,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 529,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 1
},
"docs": []
},
{
"id": 530,
"path": ["Option"],
"params": [
{
"name": "T",
"type": 531
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"type": 531,
"docs": []
}
],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 531,
"path": ["sp_consensus_babe", "digests", "PreDigest"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Primary",
"fields": [
{
"type": 532,
"typeName": "PrimaryPreDigest",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "SecondaryPlain",
"fields": [
{
"type": 534,
"typeName": "SecondaryPlainPreDigest",
"docs": []
}
],
"index": 2,
"docs": []
},
{
"name": "SecondaryVRF",
"fields": [
{
"type": 535,
"typeName": "SecondaryVRFPreDigest",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
},
{
"id": 532,
"path": ["sp_consensus_babe", "digests", "PrimaryPreDigest"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "authority_index",
"type": 4,
"typeName": "super::AuthorityIndex",
"docs": []
},
{
"name": "slot",
"type": 96,
"typeName": "Slot",
"docs": []
},
{
"name": "vrf_signature",
"type": 533,
"typeName": "VrfSignature",
"docs": []
}
]
},
"docs": []
},
{
"id": 533,
"path": ["sp_core", "sr25519", "vrf", "VrfSignature"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "pre_output",
"type": 1,
"typeName": "VrfPreOutput",
"docs": []
},
{
"name": "proof",
"type": 133,
"typeName": "VrfProof",
"docs": []
}
]
},
"docs": []
},
{
"id": 534,
"path": ["sp_consensus_babe", "digests", "SecondaryPlainPreDigest"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "authority_index",
"type": 4,
"typeName": "super::AuthorityIndex",
"docs": []
},
{
"name": "slot",
"type": 96,
"typeName": "Slot",
"docs": []
}
]
},
"docs": []
},
{
"id": 535,
"path": ["sp_consensus_babe", "digests", "SecondaryVRFPreDigest"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "authority_index",
"type": 4,
"typeName": "super::AuthorityIndex",
"docs": []
},
{
"name": "slot",
"type": 96,
"typeName": "Slot",
"docs": []
},
{
"name": "vrf_signature",
"type": 533,
"typeName": "VrfSignature",
"docs": []
}
]
},
"docs": []
},
{
"id": 536,
"path": ["sp_consensus_babe", "BabeEpochConfiguration"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "c",
"type": 99,
"typeName": "(u64, u64)",
"docs": []
},
{
"name": "allowed_slots",
"type": 100,
"typeName": "AllowedSlots",
"docs": []
}
]
},
"docs": []
},
{
"id": 537,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 538
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 539,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 538,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [12, 4]
},
"docs": []
},
{
"id": 539,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 538
},
"docs": []
},
{
"id": 540,
"path": ["pallet_babe", "pallet", "Error"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "InvalidEquivocationProof",
"fields": [],
"index": 0,
"docs": [
"An equivocation proof provided as part of an equivocation report is invalid."
]
},
{
"name": "InvalidKeyOwnershipProof",
"fields": [],
"index": 1,
"docs": [
"A key ownership proof provided as part of an equivocation report is invalid."
]
},
{
"name": "DuplicateOffenceReport",
"fields": [],
"index": 2,
"docs": [
"A given equivocation report is valid but already previously reported."
]
},
{
"name": "InvalidConfiguration",
"fields": [],
"index": 3,
"docs": ["Submitted configuration is invalid."]
}
]
},
"docs": ["The `Error` enum of this pallet."]
},
{
"id": 541,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [0, 6, 8]
},
"docs": []
},
{
"id": 542,
"path": ["pallet_indices", "pallet", "Error"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "NotAssigned",
"fields": [],
"index": 0,
"docs": ["The index was not already assigned."]
},
{
"name": "NotOwner",
"fields": [],
"index": 1,
"docs": ["The index is assigned to another account."]
},
{
"name": "InUse",
"fields": [],
"index": 2,
"docs": ["The index was not available."]
},
{
"name": "NotTransfer",
"fields": [],
"index": 3,
"docs": ["The source and destination accounts are identical."]
},
{
"name": "Permanent",
"fields": [],
"index": 4,
"docs": ["The index is permanent and may not be freed/changed."]
}
]
},
"docs": ["The `Error` enum of this pallet."]
},
{
"id": 543,
"path": ["bounded_collections", "weak_bounded_vec", "WeakBoundedVec"],
"params": [
{
"name": "T",
"type": 544
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 546,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 544,
"path": ["pallet_balances", "types", "BalanceLock"],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 174,
"typeName": "LockIdentifier",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "reasons",
"type": 545,
"typeName": "Reasons",
"docs": []
}
]
},
"docs": []
},
{
"id": 545,
"path": ["pallet_balances", "types", "Reasons"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Fee",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Misc",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "All",
"fields": [],
"index": 2,
"docs": []
}
]
},
"docs": []
},
{
"id": 546,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 544
},
"docs": []
},
{
"id": 547,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 548
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 549,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 548,
"path": ["pallet_balances", "types", "ReserveData"],
"params": [
{
"name": "ReserveIdentifier",
"type": 174
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 174,
"typeName": "ReserveIdentifier",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "Balance",
"docs": []
}
]
},
"docs": []
},
{
"id": 549,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 548
},
"docs": []
},
{
"id": 550,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 551
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 554,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 551,
"path": ["pallet_balances", "types", "IdAmount"],
"params": [
{
"name": "Id",
"type": 552
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 552,
"typeName": "Id",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "Balance",
"docs": []
}
]
},
"docs": []
},
{
"id": 552,
"path": ["westend_runtime", "RuntimeHoldReason"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Preimage",
"fields": [
{
"type": 553,
"typeName": "pallet_preimage::HoldReason",
"docs": []
}
],
"index": 28,
"docs": []
}
]
},
"docs": []
},
{
"id": 553,
"path": ["pallet_preimage", "pallet", "HoldReason"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "Preimage",
"fields": [],
"index": 0,
"docs": []
}
]
},
"docs": []
},
{
"id": 554,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 551
},
"docs": []
},
{
"id": 555,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 556
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 559,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 556,
"path": ["pallet_balances", "types", "IdAmount"],
"params": [
{
"name": "Id",
"type": 557
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "id",
"type": 557,
"typeName": "Id",
"docs": []
},
{
"name": "amount",
"type": 6,
"typeName": "Balance",
"docs": []
}
]
},
"docs": []
},
{
"id": 557,
"path": ["westend_runtime", "RuntimeFreezeReason"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "NominationPools",
"fields": [
{
"type": 558,
"typeName": "pallet_nomination_pools::FreezeReason",
"docs": []
}
],
"index": 29,
"docs": []
}
]
},
"docs": []
},
{
"id": 558,
"path": ["pallet_nomination_pools", "pallet", "FreezeReason"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "PoolMinBalance",
"fields": [],
"index": 0,
"docs": []
}
]
},
"docs": []
},
{
"id": 559,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 556
},
"docs": []
},
{
"id": 560,
"path": ["pallet_balances", "pallet", "Error"],
"params": [
{
"name": "T"
},
{
"name": "I"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "VestingBalance",
"fields": [],
"index": 0,
"docs": ["Vesting balance too high to send value."]
},
{
"name": "LiquidityRestrictions",
"fields": [],
"index": 1,
"docs": ["Account liquidity restrictions prevent withdrawal."]
},
{
"name": "InsufficientBalance",
"fields": [],
"index": 2,
"docs": ["Balance too low to send value."]
},
{
"name": "ExistentialDeposit",
"fields": [],
"index": 3,
"docs": [
"Value too low to create account due to existential deposit."
]
},
{
"name": "Expendability",
"fields": [],
"index": 4,
"docs": ["Transfer/payment would kill account."]
},
{
"name": "ExistingVestingSchedule",
"fields": [],
"index": 5,
"docs": ["A vesting schedule already exists for this account."]
},
{
"name": "DeadAccount",
"fields": [],
"index": 6,
"docs": ["Beneficiary account must pre-exist."]
},
{
"name": "TooManyReserves",
"fields": [],
"index": 7,
"docs": ["Number of named reserves exceed `MaxReserves`."]
},
{
"name": "TooManyHolds",
"fields": [],
"index": 8,
"docs": [
"Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`."
]
},
{
"name": "TooManyFreezes",
"fields": [],
"index": 9,
"docs": ["Number of freezes exceed `MaxFreezes`."]
},
{
"name": "IssuanceDeactivated",
"fields": [],
"index": 10,
"docs": [
"The issuance cannot be modified since it is already deactivated."
]
},
{
"name": "DeltaZero",
"fields": [],
"index": 11,
"docs": ["The delta cannot be zero."]
}
]
},
"docs": ["The `Error` enum of this pallet."]
},
{
"id": 561,
"path": ["pallet_transaction_payment", "Releases"],
"params": [],
"def": {
"tag": "variant",
"value": [
{
"name": "V1Ancient",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "V2",
"fields": [],
"index": 1,
"docs": []
}
]
},
"docs": []
},
{
"id": 562,
"path": ["pallet_staking", "StakingLedger"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
},
{
"name": "total",
"type": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "active",
"type": 107,
"typeName": "BalanceOf<T>",
"docs": []
},
{
"name": "unlocking",
"type": 563,
"typeName": "BoundedVec<UnlockChunk<BalanceOf<T>>, T::MaxUnlockingChunks>",
"docs": []
},
{
"name": "legacy_claimed_rewards",
"type": 566,
"typeName": "BoundedVec<EraIndex, T::HistoryDepth>",
"docs": []
}
]
},
"docs": []
},
{
"id": 563,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 564
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 565,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 564,
"path": ["pallet_staking", "UnlockChunk"],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "value",
"type": 107,
"typeName": "Balance",
"docs": []
},
{
"name": "era",
"type": 93,
"typeName": "EraIndex",
"docs": []
}
]
},
"docs": []
},
{
"id": 565,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 564
},
"docs": []
},
{
"id": 566,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 4
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 81,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 567,
"path": ["pallet_staking", "Nominations"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "targets",
"type": 568,
"typeName": "BoundedVec<T::AccountId, MaxNominationsOf<T>>",
"docs": []
},
{
"name": "submitted_in",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "suppressed",
"type": 8,
"typeName": "bool",
"docs": []
}
]
},
"docs": []
},
{
"id": 568,
"path": ["bounded_collections", "bounded_vec", "BoundedVec"],
"params": [
{
"name": "T",
"type": 0
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 108,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 569,
"path": ["pallet_staking", "ActiveEraInfo"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "index",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "start",
"type": 570,
"typeName": "Option<u64>",
"docs": []
}
]
},
"docs": []
},
{
"id": 570,
"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": 571,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [4, 0]
},
"docs": []
},
{
"id": 572,
"path": ["sp_staking", "Exposure"],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "total",
"type": 107,
"typeName": "Balance",
"docs": []
},
{
"name": "own",
"type": 107,
"typeName": "Balance",
"docs": []
},
{
"name": "others",
"type": 573,
"typeName": "Vec<IndividualExposure<AccountId, Balance>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 573,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 574
},
"docs": []
},
{
"id": 574,
"path": ["sp_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": 107,
"typeName": "Balance",
"docs": []
}
]
},
"docs": []
},
{
"id": 575,
"path": ["sp_staking", "PagedExposureMetadata"],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "total",
"type": 107,
"typeName": "Balance",
"docs": []
},
{
"name": "own",
"type": 107,
"typeName": "Balance",
"docs": []
},
{
"name": "nominator_count",
"type": 4,
"typeName": "u32",
"docs": []
},
{
"name": "page_count",
"type": 4,
"typeName": "Page",
"docs": []
}
]
},
"docs": []
},
{
"id": 576,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [4, 0, 4]
},
"docs": []
},
{
"id": 577,
"path": ["sp_staking", "ExposurePage"],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "page_total",
"type": 107,
"typeName": "Balance",
"docs": []
},
{
"name": "others",
"type": 573,
"typeName": "Vec<IndividualExposure<AccountId, Balance>>",
"docs": []
}
]
},
"docs": []
},
{
"id": 578,
"path": ["pallet_staking", "EraRewardPoints"],
"params": [
{
"name": "AccountId",
"type": 0
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "total",
"type": 4,
"typeName": "RewardPoint",
"docs": []
},
{
"name": "individual",
"type": 579,
"typeName": "BTreeMap<AccountId, RewardPoint>",
"docs": []
}
]
},
"docs": []
},
{
"id": 579,
"path": ["BTreeMap"],
"params": [
{
"name": "K",
"type": 0
},
{
"name": "V",
"type": 4
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 580,
"docs": []
}
]
},
"docs": []
},
{
"id": 580,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 581
},
"docs": []
},
{
"id": 581,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [0, 4]
},
"docs": []
},
{
"id": 582,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 583
},
"docs": []
},
{
"id": 583,
"path": ["pallet_staking", "UnappliedSlash"],
"params": [
{
"name": "AccountId",
"type": 0
},
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "validator",
"type": 0,
"typeName": "AccountId",
"docs": []
},
{
"name": "own",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "others",
"type": 276,
"typeName": "Vec<(AccountId, Balance)>",
"docs": []
},
{
"name": "reporters",
"type": 108,
"typeName": "Vec<AccountId>",
"docs": []
},
{
"name": "payout",
"type": 6,
"typeName": "Balance",
"docs": []
}
]
},
"docs": []
},
{
"id": 584,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [37, 6]
},
"docs": []
},
{
"id": 585,
"path": ["pallet_staking", "slashing", "SlashingSpans"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"name": "span_index",
"type": 4,
"typeName": "SpanIndex",
"docs": []
},
{
"name": "last_start",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "last_nonzero_slash",
"type": 4,
"typeName": "EraIndex",
"docs": []
},
{
"name": "prior",
"type": 81,
"typeName": "Vec<EraIndex>",
"docs": []
}
]
},
"docs": []
},
{
"id": 586,
"path": ["pallet_staking", "slashing", "SpanRecord"],
"params": [
{
"name": "Balance",
"type": 6
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "slashed",
"type": 6,
"typeName": "Balance",
"docs": []
},
{
"name": "paid_out",
"type": 6,
"typeName": "Balance",
"docs": []
}
]
},
"docs": []
},
{
"id": 587,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 588
},
"docs": []
},
{
"id": 588,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [4, 8]
},
"docs": []
},
{
"id": 589,
"path": ["pallet_staking", "pallet", "pallet", "Error"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "NotController",
"fields": [],
"index": 0,
"docs": ["Not a controller account."]
},
{
"name": "NotStash",
"fields": [],
"index": 1,
"docs": ["Not a stash account."]
},
{
"name": "AlreadyBonded",
"fields": [],
"index": 2,
"docs": ["Stash is already bonded."]
},
{
"name": "AlreadyPaired",
"fields": [],
"index": 3,
"docs": ["Controller is already paired."]
},
{
"name": "EmptyTargets",
"fields": [],
"index": 4,
"docs": ["Targets cannot be empty."]
},
{
"name": "DuplicateIndex",
"fields": [],
"index": 5,
"docs": ["Duplicate index."]
},
{
"name": "InvalidSlashIndex",
"fields": [],
"index": 6,
"docs": ["Slash record index out of bounds."]
},
{
"name": "InsufficientBond",
"fields": [],
"index": 7,
"docs": [
"Cannot have a validator or nominator role, with value less than the minimum defined by",
"governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the",
"intention, `chill` first to remove one's role as validator/nominator."
]
},
{
"name": "NoMoreChunks",
"fields": [],
"index": 8,
"docs": ["Can not schedule more unlock chunks."]
},
{
"name": "NoUnlockChunk",
"fields": [],
"index": 9,
"docs": ["Can not rebond without unlocking chunks."]
},
{
"name": "FundedTarget",
"fields": [],
"index": 10,
"docs": ["Attempting to target a stash that still has funds."]
},
{
"name": "InvalidEraToReward",
"fields": [],
"index": 11,
"docs": ["Invalid era to reward."]
},
{
"name": "InvalidNumberOfNominations",
"fields": [],
"index": 12,
"docs": ["Invalid number of nominations."]
},
{
"name": "NotSortedAndUnique",
"fields": [],
"index": 13,
"docs": ["Items are not sorted and unique."]
},
{
"name": "AlreadyClaimed",
"fields": [],
"index": 14,
"docs": [
"Rewards for this era have already been claimed for this validator."
]
},
{
"name": "InvalidPage",
"fields": [],
"index": 15,
"docs": ["No nominators exist on this page."]
},
{
"name": "IncorrectHistoryDepth",
"fields": [],
"index": 16,
"docs": ["Incorrect previous history depth input provided."]
},
{
"name": "IncorrectSlashingSpans",
"fields": [],
"index": 17,
"docs": ["Incorrect number of slashing spans provided."]
},
{
"name": "BadState",
"fields": [],
"index": 18,
"docs": [
"Internal state has become somehow corrupted and the operation cannot continue."
]
},
{
"name": "TooManyTargets",
"fields": [],
"index": 19,
"docs": ["Too many nomination targets supplied."]
},
{
"name": "BadTarget",
"fields": [],
"index": 20,
"docs": [
"A nomination target was supplied that was blocked or otherwise not a validator."
]
},
{
"name": "CannotChillOther",
"fields": [],
"index": 21,
"docs": [
"The user has enough bond and thus cannot be chilled forcefully by an external person."
]
},
{
"name": "TooManyNominators",
"fields": [],
"index": 22,
"docs": [
"There are too many nominators in the system. Governance needs to adjust the staking",
"settings to keep things safe for the runtime."
]
},
{
"name": "TooManyValidators",
"fields": [],
"index": 23,
"docs": [
"There are too many validator candidates in the system. Governance needs to adjust the",
"staking settings to keep things safe for the runtime."
]
},
{
"name": "CommissionTooLow",
"fields": [],
"index": 24,
"docs": ["Commission is too low. Must be at least `MinCommission`."]
},
{
"name": "BoundNotMet",
"fields": [],
"index": 25,
"docs": ["Some bound is not met."]
},
{
"name": "ControllerDeprecated",
"fields": [],
"index": 26,
"docs": [
"Used when attempting to use deprecated controller account logic."
]
}
]
},
"docs": ["The `Error` enum of this pallet."]
},
{
"id": 590,
"path": ["sp_staking", "offence", "OffenceDetails"],
"params": [
{
"name": "Reporter",
"type": 0
},
{
"name": "Offender",
"type": 591
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "offender",
"type": 591,
"typeName": "Offender",
"docs": []
},
{
"name": "reporters",
"type": 108,
"typeName": "Vec<Reporter>",
"docs": []
}
]
},
"docs": []
},
{
"id": 591,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [0, 572]
},
"docs": []
},
{
"id": 592,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [42, 14]
},
"docs": []
},
{
"id": 593,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [13, 4]
},
"docs": []
},
{
"id": 594,
"path": [],
"params": [],
"def": {
"tag": "sequence",
"value": 595
},
"docs": []
},
{
"id": 595,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [0, 119]
},
"docs": []
},
{
"id": 596,
"path": [],
"params": [],
"def": {
"tag": "tuple",
"value": [597, 14]
},
"docs": []
},
{
"id": 597,
"path": ["sp_core", "crypto", "KeyTypeId"],
"params": [],
"def": {
"tag": "composite",
"value": [
{
"type": 18,
"typeName": "[u8; 4]",
"docs": []
}
]
},
"docs": []
},
{
"id": 598,
"path": ["pallet_session", "pallet", "Error"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "InvalidProof",
"fields": [],
"index": 0,
"docs": ["Invalid ownership proof."]
},
{
"name": "NoAssociatedValidatorId",
"fields": [],
"index": 1,
"docs": ["No associated validator ID for account."]
},
{
"name": "DuplicatedKey",
"fields": [],
"index": 2,
"docs": ["Registered duplicate key."]
},
{
"name": "NoKeys",
"fields": [],
"index": 3,
"docs": ["No keys are associated with this account."]
},
{
"name": "NoAccount",
"fields": [],
"index": 4,
"docs": [
"Key setting account is not live, so it's impossible to associate keys."
]
}
]
},
"docs": ["Error for the session pallet."]
},
{
"id": 599,
"path": ["pallet_grandpa", "StoredState"],
"params": [
{
"name": "N",
"type": 4
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "Live",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "PendingPause",
"fields": [
{
"name": "scheduled_at",
"type": 4,
"typeName": "N",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "N",
"docs": []
}
],
"index": 1,
"docs": []
},
{
"name": "Paused",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "PendingResume",
"fields": [
{
"name": "scheduled_at",
"type": 4,
"typeName": "N",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "N",
"docs": []
}
],
"index": 3,
"docs": []
}
]
},
"docs": []
},
{
"id": 600,
"path": ["pallet_grandpa", "StoredPendingChange"],
"params": [
{
"name": "N",
"type": 4
},
{
"name": "Limit"
}
],
"def": {
"tag": "composite",
"value": [
{
"name": "scheduled_at",
"type": 4,
"typeName": "N",
"docs": []
},
{
"name": "delay",
"type": 4,
"typeName": "N",
"docs": []
},
{
"name": "next_authorities",
"type": 601,
"typeName": "BoundedAuthorityList<Limit>",
"docs": []
},
{
"name": "forced",
"type": 278,
"typeName": "Option<N>",
"docs": []
}
]
},
"docs": []
},
{
"id": 601,
"path": ["bounded_collections", "weak_bounded_vec", "WeakBoundedVec"],
"params": [
{
"name": "T",
"type": 46
},
{
"name": "S"
}
],
"def": {
"tag": "composite",
"value": [
{
"type": 45,
"typeName": "Vec<T>",
"docs": []
}
]
},
"docs": []
},
{
"id": 602,
"path": ["pallet_grandpa", "pallet", "Error"],
"params": [
{
"name": "T"
}
],
"def": {
"tag": "variant",
"value": [
{
"name": "PauseFailed",
"fields": [],
"index": 0,
"docs": [
"Attempt to signal GRANDPA pause when the authority set isn't live",
"(either paused or already pending pause)."
]
},
{
"name": "ResumeFailed",
"fields": [],
"index": 1,
"docs": [
"Attempt to signal GRANDPA resume when the authority set isn't paused",
"(either live or already pending resume)."
]
},
{
"name": "ChangePending",
"fields": [],
"index": 2,
"docs": [
"Attempt to signal GRANDPA change with one already pending."
]
},
{
"name": "TooSoon",
"fields": [],
"index": 3,
"docs": ["Cannot si
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment