diff --git a/net/Directory.Packages.props b/net/Directory.Packages.props
index 0830cf0b..55efae1b 100644
--- a/net/Directory.Packages.props
+++ b/net/Directory.Packages.props
@@ -8,7 +8,7 @@
-
+
diff --git a/net/examples/Sails.DemoClient/Sails.DemoClient.csproj b/net/examples/Sails.DemoClient/Sails.DemoClient.csproj
index 3e49ccb2..c7479e29 100644
--- a/net/examples/Sails.DemoClient/Sails.DemoClient.csproj
+++ b/net/examples/Sails.DemoClient/Sails.DemoClient.csproj
@@ -2,15 +2,29 @@
netstandard2.0
+ false
-
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers
+
+
+
+
+
+
diff --git a/net/src/.substrate/metadata.json b/net/src/.substrate/metadata.json
index 117c7ec2..cc81ae2b 100644
--- a/net/src/.substrate/metadata.json
+++ b/net/src/.substrate/metadata.json
@@ -130,21 +130,25 @@
"TypeDef": "Composite"
},
"8": {
+ "Primitive": "Bool",
+ "TypeDef": "Primitive"
+ },
+ "9": {
"TypeFields": [
{
"Name": "normal",
"TypeName": "T",
- "TypeId": 9
+ "TypeId": 10
},
{
"Name": "operational",
"TypeName": "T",
- "TypeId": 9
+ "TypeId": 10
},
{
"Name": "mandatory",
"TypeName": "T",
- "TypeId": 9
+ "TypeId": 10
}
],
"Path": [
@@ -155,22 +159,22 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 9
+ "TypeId": 10
}
],
"TypeDef": "Composite"
},
- "9": {
+ "10": {
"TypeFields": [
{
"Name": "ref_time",
"TypeName": "u64",
- "TypeId": 10
+ "TypeId": 11
},
{
"Name": "proof_size",
"TypeName": "u64",
- "TypeId": 10
+ "TypeId": 11
}
],
"Path": [
@@ -180,15 +184,15 @@
],
"TypeDef": "Composite"
},
- "10": {
- "TypeId": 11,
+ "11": {
+ "TypeId": 12,
"TypeDef": "Compact"
},
- "11": {
+ "12": {
"Primitive": "U64",
"TypeDef": "Primitive"
},
- "12": {
+ "13": {
"TypeFields": [
{
"TypeName": "[u8; 32]",
@@ -201,16 +205,16 @@
],
"TypeDef": "Composite"
},
- "13": {
+ "14": {
"TypeId": 2,
"TypeDef": "Sequence"
},
- "14": {
+ "15": {
"TypeFields": [
{
"Name": "logs",
"TypeName": "Vec",
- "TypeId": 15
+ "TypeId": 16
}
],
"Path": [
@@ -221,22 +225,22 @@
],
"TypeDef": "Composite"
},
- "15": {
- "TypeId": 16,
+ "16": {
+ "TypeId": 17,
"TypeDef": "Sequence"
},
- "16": {
+ "17": {
"Variants": [
{
"Name": "PreRuntime",
"TypeFields": [
{
"TypeName": "ConsensusEngineId",
- "TypeId": 17
+ "TypeId": 18
},
{
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 6
@@ -246,11 +250,11 @@
"TypeFields": [
{
"TypeName": "ConsensusEngineId",
- "TypeId": 17
+ "TypeId": 18
},
{
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 4
@@ -260,11 +264,11 @@
"TypeFields": [
{
"TypeName": "ConsensusEngineId",
- "TypeId": 17
+ "TypeId": 18
},
{
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 5
@@ -274,7 +278,7 @@
"TypeFields": [
{
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 0
@@ -293,31 +297,31 @@
],
"TypeDef": "Variant"
},
- "17": {
+ "18": {
"Length": 4,
"TypeId": 2,
"TypeDef": "Array"
},
- "18": {
- "TypeId": 19,
+ "19": {
+ "TypeId": 20,
"TypeDef": "Sequence"
},
- "19": {
+ "20": {
"TypeFields": [
{
"Name": "phase",
"TypeName": "Phase",
- "TypeId": 335
+ "TypeId": 343
},
{
"Name": "event",
"TypeName": "E",
- "TypeId": 20
+ "TypeId": 21
},
{
"Name": "topics",
"TypeName": "Vec",
- "TypeId": 139
+ "TypeId": 143
}
],
"Path": [
@@ -327,23 +331,23 @@
"TypeParams": [
{
"Name": "E",
- "TypeId": 20
+ "TypeId": 21
},
{
"Name": "T",
- "TypeId": 12
+ "TypeId": 13
}
],
"TypeDef": "Composite"
},
- "20": {
+ "21": {
"Variants": [
{
"Name": "System",
"TypeFields": [
{
"TypeName": "frame_system::Event",
- "TypeId": 21
+ "TypeId": 22
}
],
"Index": 0
@@ -353,7 +357,7 @@
"TypeFields": [
{
"TypeName": "pallet_grandpa::Event",
- "TypeId": 30
+ "TypeId": 31
}
],
"Index": 4
@@ -369,91 +373,91 @@
"Index": 5
},
{
- "Name": "Vesting",
+ "Name": "TransactionPayment",
"TypeFields": [
{
- "TypeName": "pallet_vesting::Event",
+ "TypeName": "pallet_transaction_payment::Event",
"TypeId": 37
}
],
- "Index": 10
+ "Index": 6
},
{
- "Name": "TransactionPayment",
+ "Name": "Session",
"TypeFields": [
{
- "TypeName": "pallet_transaction_payment::Event",
+ "TypeName": "pallet_session::Event",
"TypeId": 38
}
],
- "Index": 6
+ "Index": 7
},
{
- "Name": "BagsList",
+ "Name": "Utility",
"TypeFields": [
{
- "TypeName": "pallet_bags_list::Event",
+ "TypeName": "pallet_utility::Event",
"TypeId": 39
}
],
- "Index": 11
+ "Index": 8
},
{
- "Name": "ImOnline",
+ "Name": "Vesting",
"TypeFields": [
{
- "TypeName": "pallet_im_online::Event",
- "TypeId": 40
+ "TypeName": "pallet_vesting::Event",
+ "TypeId": 42
}
],
- "Index": 12
+ "Index": 10
},
{
- "Name": "Staking",
+ "Name": "BagsList",
"TypeFields": [
{
- "TypeName": "pallet_staking::Event",
- "TypeId": 49
+ "TypeName": "pallet_bags_list::Event",
+ "TypeId": 43
}
],
- "Index": 13
+ "Index": 11
},
{
- "Name": "Session",
+ "Name": "ImOnline",
"TypeFields": [
{
- "TypeName": "pallet_session::Event",
- "TypeId": 56
+ "TypeName": "pallet_im_online::Event",
+ "TypeId": 44
}
],
- "Index": 7
+ "Index": 12
},
{
- "Name": "Treasury",
+ "Name": "Staking",
"TypeFields": [
{
- "TypeName": "pallet_treasury::Event",
- "TypeId": 57
+ "TypeName": "pallet_staking::Event",
+ "TypeId": 52
}
],
- "Index": 14
+ "Index": 13
},
{
- "Name": "Utility",
+ "Name": "Treasury",
"TypeFields": [
{
- "TypeName": "pallet_utility::Event",
- "TypeId": 59
+ "TypeName": "pallet_treasury::Event",
+ "TypeId": 58
}
],
- "Index": 8
+ "Index": 14
},
{
"Name": "ConvictionVoting",
"TypeFields": [
{
"TypeName": "pallet_conviction_voting::Event",
- "TypeId": 61
+ "TypeId": 59
}
],
"Index": 16
@@ -473,7 +477,7 @@
"TypeFields": [
{
"TypeName": "pallet_ranked_collective::Event",
- "TypeId": 280
+ "TypeId": 288
}
],
"Index": 18
@@ -483,7 +487,7 @@
"TypeFields": [
{
"TypeName": "pallet_referenda::Event",
- "TypeId": 283
+ "TypeId": 291
}
],
"Index": 19
@@ -493,7 +497,7 @@
"TypeFields": [
{
"TypeName": "pallet_whitelist::Event",
- "TypeId": 284
+ "TypeId": 292
}
],
"Index": 21
@@ -503,7 +507,7 @@
"TypeFields": [
{
"TypeName": "pallet_scheduler::Event",
- "TypeId": 289
+ "TypeId": 297
}
],
"Index": 22
@@ -513,7 +517,7 @@
"TypeFields": [
{
"TypeName": "pallet_preimage::Event",
- "TypeId": 291
+ "TypeId": 299
}
],
"Index": 23
@@ -523,7 +527,7 @@
"TypeFields": [
{
"TypeName": "pallet_identity::Event",
- "TypeId": 292
+ "TypeId": 300
}
],
"Index": 24
@@ -533,7 +537,7 @@
"TypeFields": [
{
"TypeName": "pallet_proxy::Event",
- "TypeId": 293
+ "TypeId": 301
}
],
"Index": 25
@@ -543,7 +547,7 @@
"TypeFields": [
{
"TypeName": "pallet_multisig::Event",
- "TypeId": 294
+ "TypeId": 302
}
],
"Index": 26
@@ -553,7 +557,7 @@
"TypeFields": [
{
"TypeName": "pallet_election_provider_multi_phase::Event",
- "TypeId": 295
+ "TypeId": 303
}
],
"Index": 27
@@ -563,7 +567,7 @@
"TypeFields": [
{
"TypeName": "pallet_offences::Event",
- "TypeId": 299
+ "TypeId": 307
}
],
"Index": 28
@@ -573,7 +577,7 @@
"TypeFields": [
{
"TypeName": "pallet_bounties::Event",
- "TypeId": 300
+ "TypeId": 308
}
],
"Index": 29
@@ -583,7 +587,7 @@
"TypeFields": [
{
"TypeName": "pallet_child_bounties::Event",
- "TypeId": 301
+ "TypeId": 309
}
],
"Index": 30
@@ -593,7 +597,7 @@
"TypeFields": [
{
"TypeName": "pallet_nomination_pools::Event",
- "TypeId": 302
+ "TypeId": 310
}
],
"Index": 31
@@ -603,7 +607,7 @@
"TypeFields": [
{
"TypeName": "pallet_gear::Event",
- "TypeId": 303
+ "TypeId": 311
}
],
"Index": 104
@@ -613,7 +617,7 @@
"TypeFields": [
{
"TypeName": "pallet_gear_staking_rewards::Event",
- "TypeId": 333
+ "TypeId": 341
}
],
"Index": 106
@@ -623,7 +627,7 @@
"TypeFields": [
{
"TypeName": "pallet_gear_voucher::Event",
- "TypeId": 334
+ "TypeId": 342
}
],
"Index": 107
@@ -635,7 +639,7 @@
],
"TypeDef": "Variant"
},
- "21": {
+ "22": {
"Variants": [
{
"Name": "ExtrinsicSuccess",
@@ -643,7 +647,7 @@
{
"Name": "dispatch_info",
"TypeName": "DispatchInfo",
- "TypeId": 22
+ "TypeId": 23
}
],
"Index": 0,
@@ -657,12 +661,12 @@
{
"Name": "dispatch_error",
"TypeName": "DispatchError",
- "TypeId": 25
+ "TypeId": 26
},
{
"Name": "dispatch_info",
"TypeName": "DispatchInfo",
- "TypeId": 22
+ "TypeId": 23
}
],
"Index": 1,
@@ -717,13 +721,32 @@
{
"Name": "hash",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 5,
"Docs": [
"On on-chain remark happened."
]
+ },
+ {
+ "Name": "UpgradeAuthorized",
+ "TypeFields": [
+ {
+ "Name": "code_hash",
+ "TypeName": "T::Hash",
+ "TypeId": 13
+ },
+ {
+ "Name": "check_version",
+ "TypeName": "bool",
+ "TypeId": 8
+ }
+ ],
+ "Index": 6,
+ "Docs": [
+ "An upgrade was authorized."
+ ]
}
],
"Path": [
@@ -741,22 +764,22 @@
"Event for the System pallet."
]
},
- "22": {
+ "23": {
"TypeFields": [
{
"Name": "weight",
"TypeName": "Weight",
- "TypeId": 9
+ "TypeId": 10
},
{
"Name": "class",
"TypeName": "DispatchClass",
- "TypeId": 23
+ "TypeId": 24
},
{
"Name": "pays_fee",
"TypeName": "Pays",
- "TypeId": 24
+ "TypeId": 25
}
],
"Path": [
@@ -766,7 +789,7 @@
],
"TypeDef": "Composite"
},
- "23": {
+ "24": {
"Variants": [
{
"Name": "Normal",
@@ -791,7 +814,7 @@
],
"TypeDef": "Variant"
},
- "24": {
+ "25": {
"Variants": [
{
"Name": "Yes",
@@ -811,7 +834,7 @@
],
"TypeDef": "Variant"
},
- "25": {
+ "26": {
"Variants": [
{
"Name": "Other",
@@ -833,7 +856,7 @@
"TypeFields": [
{
"TypeName": "ModuleError",
- "TypeId": 26
+ "TypeId": 27
}
],
"Index": 3
@@ -858,7 +881,7 @@
"TypeFields": [
{
"TypeName": "TokenError",
- "TypeId": 27
+ "TypeId": 28
}
],
"Index": 7
@@ -868,7 +891,7 @@
"TypeFields": [
{
"TypeName": "ArithmeticError",
- "TypeId": 28
+ "TypeId": 29
}
],
"Index": 8
@@ -878,7 +901,7 @@
"TypeFields": [
{
"TypeName": "TransactionalError",
- "TypeId": 29
+ "TypeId": 30
}
],
"Index": 9
@@ -910,7 +933,7 @@
],
"TypeDef": "Variant"
},
- "26": {
+ "27": {
"TypeFields": [
{
"Name": "index",
@@ -920,7 +943,7 @@
{
"Name": "error",
"TypeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]",
- "TypeId": 17
+ "TypeId": 18
}
],
"Path": [
@@ -929,7 +952,7 @@
],
"TypeDef": "Composite"
},
- "27": {
+ "28": {
"Variants": [
{
"Name": "FundsUnavailable",
@@ -988,7 +1011,7 @@
],
"TypeDef": "Variant"
},
- "28": {
+ "29": {
"Variants": [
{
"Name": "Underflow",
@@ -1012,7 +1035,7 @@
],
"TypeDef": "Variant"
},
- "29": {
+ "30": {
"Variants": [
{
"Name": "LimitReached",
@@ -1031,7 +1054,7 @@
],
"TypeDef": "Variant"
},
- "30": {
+ "31": {
"Variants": [
{
"Name": "NewAuthorities",
@@ -1039,7 +1062,7 @@
{
"Name": "authority_set",
"TypeName": "AuthorityList",
- "TypeId": 31
+ "TypeId": 32
}
],
"Index": 0,
@@ -1074,22 +1097,22 @@
"The `Event` enum of this pallet"
]
},
- "31": {
- "TypeId": 32,
+ "32": {
+ "TypeId": 33,
"TypeDef": "Sequence"
},
- "32": {
+ "33": {
"TypeIds": [
- 33,
- 11
+ 34,
+ 12
],
"TypeDef": "Tuple"
},
- "33": {
+ "34": {
"TypeFields": [
{
"TypeName": "ed25519::Public",
- "TypeId": 34
+ "TypeId": 1
}
],
"Path": [
@@ -1099,20 +1122,6 @@
],
"TypeDef": "Composite"
},
- "34": {
- "TypeFields": [
- {
- "TypeName": "[u8; 32]",
- "TypeId": 1
- }
- ],
- "Path": [
- "sp_core",
- "ed25519",
- "Public"
- ],
- "TypeDef": "Composite"
- },
"35": {
"Variants": [
{
@@ -1515,6 +1524,25 @@
"Docs": [
"Some balance was thawed."
]
+ },
+ {
+ "Name": "TotalIssuanceForced",
+ "TypeFields": [
+ {
+ "Name": "old",
+ "TypeName": "T::Balance",
+ "TypeId": 6
+ },
+ {
+ "Name": "new",
+ "TypeName": "T::Balance",
+ "TypeId": 6
+ }
+ ],
+ "Index": 21,
+ "Docs": [
+ "The `TotalIssuance` was forcefully changed."
+ ]
}
],
"Path": [
@@ -1558,58 +1586,6 @@
"TypeDef": "Variant"
},
"37": {
- "Variants": [
- {
- "Name": "VestingUpdated",
- "TypeFields": [
- {
- "Name": "account",
- "TypeName": "T::AccountId",
- "TypeId": 0
- },
- {
- "Name": "unvested",
- "TypeName": "BalanceOf",
- "TypeId": 6
- }
- ],
- "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",
- "TypeFields": [
- {
- "Name": "account",
- "TypeName": "T::AccountId",
- "TypeId": 0
- }
- ],
- "Index": 1,
- "Docs": [
- "An \\[account\\] has become fully vested."
- ]
- }
- ],
- "Path": [
- "pallet_vesting",
- "pallet",
- "Event"
- ],
- "TypeParams": [
- {
- "Name": "T"
- }
- ],
- "TypeDef": "Variant",
- "Docs": [
- "The `Event` enum of this pallet"
- ]
- },
- "38": {
"Variants": [
{
"Name": "TransactionFeePaid",
@@ -1652,7 +1628,212 @@
"The `Event` enum of this pallet"
]
},
+ "38": {
+ "Variants": [
+ {
+ "Name": "NewSession",
+ "TypeFields": [
+ {
+ "Name": "session_index",
+ "TypeName": "SessionIndex",
+ "TypeId": 4
+ }
+ ],
+ "Index": 0,
+ "Docs": [
+ "New session has happened. Note that the argument is the session index, not the",
+ "block number as the type might suggest."
+ ]
+ }
+ ],
+ "Path": [
+ "pallet_session",
+ "pallet",
+ "Event"
+ ],
+ "TypeDef": "Variant",
+ "Docs": [
+ "The `Event` enum of this pallet"
+ ]
+ },
"39": {
+ "Variants": [
+ {
+ "Name": "BatchInterrupted",
+ "TypeFields": [
+ {
+ "Name": "index",
+ "TypeName": "u32",
+ "TypeId": 4
+ },
+ {
+ "Name": "error",
+ "TypeName": "DispatchError",
+ "TypeId": 26
+ }
+ ],
+ "Index": 0,
+ "Docs": [
+ "Batch of dispatches did not complete fully. Index of first failing dispatch given, as",
+ "well as the error."
+ ]
+ },
+ {
+ "Name": "BatchCompleted",
+ "TypeFields": null,
+ "Index": 1,
+ "Docs": [
+ "Batch of dispatches completed fully with no error."
+ ]
+ },
+ {
+ "Name": "BatchCompletedWithErrors",
+ "TypeFields": null,
+ "Index": 2,
+ "Docs": [
+ "Batch of dispatches completed but has errors."
+ ]
+ },
+ {
+ "Name": "ItemCompleted",
+ "TypeFields": null,
+ "Index": 3,
+ "Docs": [
+ "A single item within a Batch of dispatches has completed with no error."
+ ]
+ },
+ {
+ "Name": "ItemFailed",
+ "TypeFields": [
+ {
+ "Name": "error",
+ "TypeName": "DispatchError",
+ "TypeId": 26
+ }
+ ],
+ "Index": 4,
+ "Docs": [
+ "A single item within a Batch of dispatches has completed with error."
+ ]
+ },
+ {
+ "Name": "DispatchedAs",
+ "TypeFields": [
+ {
+ "Name": "result",
+ "TypeName": "DispatchResult",
+ "TypeId": 40
+ }
+ ],
+ "Index": 5,
+ "Docs": [
+ "A call was dispatched."
+ ]
+ }
+ ],
+ "Path": [
+ "pallet_utility",
+ "pallet",
+ "Event"
+ ],
+ "TypeDef": "Variant",
+ "Docs": [
+ "The `Event` enum of this pallet"
+ ]
+ },
+ "40": {
+ "Variants": [
+ {
+ "Name": "Ok",
+ "TypeFields": [
+ {
+ "TypeId": 41
+ }
+ ],
+ "Index": 0
+ },
+ {
+ "Name": "Err",
+ "TypeFields": [
+ {
+ "TypeId": 26
+ }
+ ],
+ "Index": 1
+ }
+ ],
+ "Path": [
+ "Result"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T",
+ "TypeId": 41
+ },
+ {
+ "Name": "E",
+ "TypeId": 26
+ }
+ ],
+ "TypeDef": "Variant"
+ },
+ "41": {
+ "TypeIds": [],
+ "TypeDef": "Tuple"
+ },
+ "42": {
+ "Variants": [
+ {
+ "Name": "VestingUpdated",
+ "TypeFields": [
+ {
+ "Name": "account",
+ "TypeName": "T::AccountId",
+ "TypeId": 0
+ },
+ {
+ "Name": "unvested",
+ "TypeName": "BalanceOf",
+ "TypeId": 6
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "account",
+ "TypeName": "T::AccountId",
+ "TypeId": 0
+ }
+ ],
+ "Index": 1,
+ "Docs": [
+ "An \\[account\\] has become fully vested."
+ ]
+ }
+ ],
+ "Path": [
+ "pallet_vesting",
+ "pallet",
+ "Event"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T"
+ }
+ ],
+ "TypeDef": "Variant",
+ "Docs": [
+ "The `Event` enum of this pallet"
+ ]
+ },
+ "43": {
"Variants": [
{
"Name": "Rebagged",
@@ -1665,12 +1846,12 @@
{
"Name": "from",
"TypeName": "T::Score",
- "TypeId": 11
+ "TypeId": 12
},
{
"Name": "to",
"TypeName": "T::Score",
- "TypeId": 11
+ "TypeId": 12
}
],
"Index": 0,
@@ -1689,7 +1870,7 @@
{
"Name": "new_score",
"TypeName": "T::Score",
- "TypeId": 11
+ "TypeId": 12
}
],
"Index": 1,
@@ -1716,7 +1897,7 @@
"The `Event` enum of this pallet"
]
},
- "40": {
+ "44": {
"Variants": [
{
"Name": "HeartbeatReceived",
@@ -1724,7 +1905,7 @@
{
"Name": "authority_id",
"TypeName": "T::AuthorityId",
- "TypeId": 41
+ "TypeId": 45
}
],
"Index": 0,
@@ -1746,7 +1927,7 @@
{
"Name": "offline",
"TypeName": "Vec>",
- "TypeId": 43
+ "TypeId": 46
}
],
"Index": 2,
@@ -1770,11 +1951,11 @@
"The `Event` enum of this pallet"
]
},
- "41": {
+ "45": {
"TypeFields": [
{
"TypeName": "sr25519::Public",
- "TypeId": 42
+ "TypeId": 1
}
],
"Path": [
@@ -1785,47 +1966,33 @@
],
"TypeDef": "Composite"
},
- "42": {
- "TypeFields": [
- {
- "TypeName": "[u8; 32]",
- "TypeId": 1
- }
- ],
- "Path": [
- "sp_core",
- "sr25519",
- "Public"
- ],
- "TypeDef": "Composite"
- },
- "43": {
- "TypeId": 44,
+ "46": {
+ "TypeId": 47,
"TypeDef": "Sequence"
},
- "44": {
+ "47": {
"TypeIds": [
0,
- 45
+ 48
],
"TypeDef": "Tuple"
},
- "45": {
+ "48": {
"TypeFields": [
{
"Name": "total",
"TypeName": "Balance",
- "TypeId": 46
+ "TypeId": 49
},
{
"Name": "own",
"TypeName": "Balance",
- "TypeId": 46
+ "TypeId": 49
},
{
"Name": "others",
"TypeName": "Vec>",
- "TypeId": 47
+ "TypeId": 50
}
],
"Path": [
@@ -1844,15 +2011,15 @@
],
"TypeDef": "Composite"
},
- "46": {
+ "49": {
"TypeId": 6,
"TypeDef": "Compact"
},
- "47": {
- "TypeId": 48,
+ "50": {
+ "TypeId": 51,
"TypeDef": "Sequence"
},
- "48": {
+ "51": {
"TypeFields": [
{
"Name": "who",
@@ -1862,7 +2029,7 @@
{
"Name": "value",
"TypeName": "Balance",
- "TypeId": 46
+ "TypeId": 49
}
],
"Path": [
@@ -1881,7 +2048,7 @@
],
"TypeDef": "Composite"
},
- "49": {
+ "52": {
"Variants": [
{
"Name": "EraPaid",
@@ -1919,7 +2086,7 @@
{
"Name": "dest",
"TypeName": "RewardDestination",
- "TypeId": 50
+ "TypeId": 53
},
{
"Name": "amount",
@@ -1962,7 +2129,7 @@
{
"Name": "fraction",
"TypeName": "Perbill",
- "TypeId": 51
+ "TypeId": 54
},
{
"Name": "slash_era",
@@ -2131,7 +2298,7 @@
{
"Name": "prefs",
"TypeName": "ValidatorPrefs",
- "TypeId": 52
+ "TypeId": 55
}
],
"Index": 13,
@@ -2173,13 +2340,27 @@
{
"Name": "mode",
"TypeName": "Forcing",
- "TypeId": 55
+ "TypeId": 57
}
],
"Index": 16,
"Docs": [
"A new force era mode was set."
]
+ },
+ {
+ "Name": "ControllerBatchDeprecated",
+ "TypeFields": [
+ {
+ "Name": "failures",
+ "TypeName": "u32",
+ "TypeId": 4
+ }
+ ],
+ "Index": 17,
+ "Docs": [
+ "Report of a controller batch deprecation."
+ ]
}
],
"Path": [
@@ -2198,7 +2379,7 @@
"The `Event` enum of this pallet"
]
},
- "50": {
+ "53": {
"Variants": [
{
"Name": "Staked",
@@ -2243,7 +2424,7 @@
],
"TypeDef": "Variant"
},
- "51": {
+ "54": {
"TypeFields": [
{
"TypeName": "u32",
@@ -2257,17 +2438,17 @@
],
"TypeDef": "Composite"
},
- "52": {
+ "55": {
"TypeFields": [
{
"Name": "commission",
"TypeName": "Perbill",
- "TypeId": 53
+ "TypeId": 56
},
{
"Name": "blocked",
"TypeName": "bool",
- "TypeId": 54
+ "TypeId": 8
}
],
"Path": [
@@ -2276,15 +2457,11 @@
],
"TypeDef": "Composite"
},
- "53": {
- "TypeId": 51,
+ "56": {
+ "TypeId": 54,
"TypeDef": "Compact"
},
- "54": {
- "Primitive": "Bool",
- "TypeDef": "Primitive"
- },
- "55": {
+ "57": {
"Variants": [
{
"Name": "NotForcing",
@@ -2313,50 +2490,8 @@
],
"TypeDef": "Variant"
},
- "56": {
- "Variants": [
- {
- "Name": "NewSession",
- "TypeFields": [
- {
- "Name": "session_index",
- "TypeName": "SessionIndex",
- "TypeId": 4
- }
- ],
- "Index": 0,
- "Docs": [
- "New session has happened. Note that the argument is the session index, not the",
- "block number as the type might suggest."
- ]
- }
- ],
- "Path": [
- "pallet_session",
- "pallet",
- "Event"
- ],
- "TypeDef": "Variant",
- "Docs": [
- "The `Event` enum of this pallet"
- ]
- },
- "57": {
+ "58": {
"Variants": [
- {
- "Name": "Proposed",
- "TypeFields": [
- {
- "Name": "proposal_index",
- "TypeName": "ProposalIndex",
- "TypeId": 4
- }
- ],
- "Index": 0,
- "Docs": [
- "New proposal."
- ]
- },
{
"Name": "Spending",
"TypeFields": [
@@ -2366,7 +2501,7 @@
"TypeId": 6
}
],
- "Index": 1,
+ "Index": 0,
"Docs": [
"We have ended a spend period and will now allocate funds."
]
@@ -2390,30 +2525,11 @@
"TypeId": 0
}
],
- "Index": 2,
+ "Index": 1,
"Docs": [
"Some funds have been allocated."
]
},
- {
- "Name": "Rejected",
- "TypeFields": [
- {
- "Name": "proposal_index",
- "TypeName": "ProposalIndex",
- "TypeId": 4
- },
- {
- "Name": "slashed",
- "TypeName": "BalanceOf",
- "TypeId": 6
- }
- ],
- "Index": 3,
- "Docs": [
- "A proposal was rejected; funds were slashed."
- ]
- },
{
"Name": "Burnt",
"TypeFields": [
@@ -2423,7 +2539,7 @@
"TypeId": 6
}
],
- "Index": 4,
+ "Index": 2,
"Docs": [
"Some of our funds have been burnt."
]
@@ -2437,7 +2553,7 @@
"TypeId": 6
}
],
- "Index": 5,
+ "Index": 3,
"Docs": [
"Spending has finished; this is the amount that rolls over until next spend."
]
@@ -2451,7 +2567,7 @@
"TypeId": 6
}
],
- "Index": 6,
+ "Index": 4,
"Docs": [
"Some funds have been deposited."
]
@@ -2475,7 +2591,7 @@
"TypeId": 0
}
],
- "Index": 7,
+ "Index": 5,
"Docs": [
"A new spend proposal has been approved."
]
@@ -2494,7 +2610,7 @@
"TypeId": 6
}
],
- "Index": 8,
+ "Index": 6,
"Docs": [
"The inactive funds of the pallet have been updated."
]
@@ -2510,7 +2626,7 @@
{
"Name": "asset_kind",
"TypeName": "T::AssetKind",
- "TypeId": 58
+ "TypeId": 41
},
{
"Name": "amount",
@@ -2533,7 +2649,7 @@
"TypeId": 4
}
],
- "Index": 9,
+ "Index": 7,
"Docs": [
"A new asset spend proposal has been approved."
]
@@ -2547,7 +2663,7 @@
"TypeId": 4
}
],
- "Index": 10,
+ "Index": 8,
"Docs": [
"An approved spend was voided."
]
@@ -2563,10 +2679,10 @@
{
"Name": "payment_id",
"TypeName": "::Id",
- "TypeId": 58
+ "TypeId": 41
}
],
- "Index": 11,
+ "Index": 9,
"Docs": [
"A payment happened."
]
@@ -2582,10 +2698,10 @@
{
"Name": "payment_id",
"TypeName": "::Id",
- "TypeId": 58
+ "TypeId": 41
}
],
- "Index": 12,
+ "Index": 10,
"Docs": [
"A payment failed and can be retried."
]
@@ -2599,7 +2715,7 @@
"TypeId": 4
}
],
- "Index": 13,
+ "Index": 11,
"Docs": [
"A spend was processed and removed from the storage. It might have been successfully",
"paid or it may have expired."
@@ -2624,90 +2740,90 @@
"The `Event` enum of this pallet"
]
},
- "58": {
- "TypeIds": [],
- "TypeDef": "Tuple"
- },
"59": {
"Variants": [
{
- "Name": "BatchInterrupted",
+ "Name": "Delegated",
"TypeFields": [
{
- "Name": "index",
- "TypeName": "u32",
- "TypeId": 4
+ "TypeName": "T::AccountId",
+ "TypeId": 0
},
{
- "Name": "error",
- "TypeName": "DispatchError",
- "TypeId": 25
+ "TypeName": "T::AccountId",
+ "TypeId": 0
}
],
"Index": 0,
"Docs": [
- "Batch of dispatches did not complete fully. Index of first failing dispatch given, as",
- "well as the error."
+ "An account has delegated their vote to another account. \\[who, target\\]"
]
},
{
- "Name": "BatchCompleted",
- "TypeFields": null,
+ "Name": "Undelegated",
+ "TypeFields": [
+ {
+ "TypeName": "T::AccountId",
+ "TypeId": 0
+ }
+ ],
"Index": 1,
"Docs": [
- "Batch of dispatches completed fully with no error."
- ]
- },
- {
- "Name": "BatchCompletedWithErrors",
- "TypeFields": null,
- "Index": 2,
- "Docs": [
- "Batch of dispatches completed but has errors."
- ]
- },
- {
- "Name": "ItemCompleted",
- "TypeFields": null,
- "Index": 3,
- "Docs": [
- "A single item within a Batch of dispatches has completed with no error."
+ "An \\[account\\] has cancelled a previous delegation operation."
]
},
{
- "Name": "ItemFailed",
+ "Name": "Voted",
"TypeFields": [
{
- "Name": "error",
- "TypeName": "DispatchError",
- "TypeId": 25
+ "Name": "who",
+ "TypeName": "T::AccountId",
+ "TypeId": 0
+ },
+ {
+ "Name": "vote",
+ "TypeName": "AccountVote>",
+ "TypeId": 60
}
],
- "Index": 4,
+ "Index": 2,
"Docs": [
- "A single item within a Batch of dispatches has completed with error."
+ "An account that has voted"
]
},
{
- "Name": "DispatchedAs",
+ "Name": "VoteRemoved",
"TypeFields": [
{
- "Name": "result",
- "TypeName": "DispatchResult",
+ "Name": "who",
+ "TypeName": "T::AccountId",
+ "TypeId": 0
+ },
+ {
+ "Name": "vote",
+ "TypeName": "AccountVote>",
"TypeId": 60
}
],
- "Index": 5,
+ "Index": 3,
"Docs": [
- "A call was dispatched."
+ "A vote that been removed"
]
}
],
"Path": [
- "pallet_utility",
+ "pallet_conviction_voting",
"pallet",
"Event"
],
+ "TypeParams": [
+ {
+ "Name": "T"
+ },
+ {
+ "Name": "I"
+ }
+ ],
"TypeDef": "Variant",
"Docs": [
"The `Event` enum of this pallet"
@@ -2716,89 +2832,84 @@
"60": {
"Variants": [
{
- "Name": "Ok",
+ "Name": "Standard",
"TypeFields": [
{
- "TypeId": 58
+ "Name": "vote",
+ "TypeName": "Vote",
+ "TypeId": 61
+ },
+ {
+ "Name": "balance",
+ "TypeName": "Balance",
+ "TypeId": 6
}
],
"Index": 0
},
{
- "Name": "Err",
+ "Name": "Split",
"TypeFields": [
{
- "TypeId": 25
+ "Name": "aye",
+ "TypeName": "Balance",
+ "TypeId": 6
+ },
+ {
+ "Name": "nay",
+ "TypeName": "Balance",
+ "TypeId": 6
}
],
"Index": 1
- }
- ],
- "Path": [
- "Result"
- ],
- "TypeParams": [
- {
- "Name": "T",
- "TypeId": 58
},
{
- "Name": "E",
- "TypeId": 25
- }
- ],
- "TypeDef": "Variant"
- },
- "61": {
- "Variants": [
- {
- "Name": "Delegated",
+ "Name": "SplitAbstain",
"TypeFields": [
{
- "TypeName": "T::AccountId",
- "TypeId": 0
+ "Name": "aye",
+ "TypeName": "Balance",
+ "TypeId": 6
},
{
- "TypeName": "T::AccountId",
- "TypeId": 0
- }
- ],
- "Index": 0,
- "Docs": [
- "An account has delegated their vote to another account. \\[who, target\\]"
- ]
- },
- {
- "Name": "Undelegated",
- "TypeFields": [
+ "Name": "nay",
+ "TypeName": "Balance",
+ "TypeId": 6
+ },
{
- "TypeName": "T::AccountId",
- "TypeId": 0
+ "Name": "abstain",
+ "TypeName": "Balance",
+ "TypeId": 6
}
],
- "Index": 1,
- "Docs": [
- "An \\[account\\] has cancelled a previous delegation operation."
- ]
+ "Index": 2
}
],
"Path": [
"pallet_conviction_voting",
- "pallet",
- "Event"
+ "vote",
+ "AccountVote"
],
"TypeParams": [
{
- "Name": "T"
- },
+ "Name": "Balance",
+ "TypeId": 6
+ }
+ ],
+ "TypeDef": "Variant"
+ },
+ "61": {
+ "TypeFields": [
{
- "Name": "I"
+ "TypeId": 2
}
],
- "TypeDef": "Variant",
- "Docs": [
- "The `Event` enum of this pallet"
- ]
+ "Path": [
+ "pallet_conviction_voting",
+ "vote",
+ "Vote"
+ ],
+ "TypeDef": "Composite"
},
"62": {
"Variants": [
@@ -2956,7 +3067,7 @@
{
"Name": "tally",
"TypeName": "T::Tally",
- "TypeId": 279,
+ "TypeId": 287,
"Docs": [
"The current tally of votes in this referendum."
]
@@ -3009,7 +3120,7 @@
{
"Name": "tally",
"TypeName": "T::Tally",
- "TypeId": 279,
+ "TypeId": 287,
"Docs": [
"The final tally of votes in this referendum."
]
@@ -3051,7 +3162,7 @@
{
"Name": "tally",
"TypeName": "T::Tally",
- "TypeId": 279,
+ "TypeId": 287,
"Docs": [
"The final tally of votes in this referendum."
]
@@ -3076,7 +3187,7 @@
{
"Name": "tally",
"TypeName": "T::Tally",
- "TypeId": 279,
+ "TypeId": 287,
"Docs": [
"The final tally of votes in this referendum."
]
@@ -3101,7 +3212,7 @@
{
"Name": "tally",
"TypeName": "T::Tally",
- "TypeId": 279,
+ "TypeId": 287,
"Docs": [
"The final tally of votes in this referendum."
]
@@ -3126,7 +3237,7 @@
{
"Name": "tally",
"TypeName": "T::Tally",
- "TypeId": 279,
+ "TypeId": 287,
"Docs": [
"The final tally of votes in this referendum."
]
@@ -3184,7 +3295,7 @@
{
"Name": "hash",
"TypeName": "T::Hash",
- "TypeId": 12,
+ "TypeId": 13,
"Docs": [
"Preimage hash."
]
@@ -3209,7 +3320,7 @@
{
"Name": "hash",
"TypeName": "T::Hash",
- "TypeId": 12,
+ "TypeId": 13,
"Docs": [
"Preimage hash."
]
@@ -3251,7 +3362,7 @@
{
"Name": "hash",
"TypeName": "H::Output",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 0
@@ -3261,7 +3372,7 @@
"TypeFields": [
{
"TypeName": "BoundedInline",
- "TypeId": 278
+ "TypeId": 286
}
],
"Index": 1
@@ -3272,7 +3383,7 @@
{
"Name": "hash",
"TypeName": "H::Output",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "len",
@@ -3296,7 +3407,7 @@
},
{
"Name": "H",
- "TypeId": 277
+ "TypeId": 285
}
],
"TypeDef": "Variant"
@@ -3348,17 +3459,37 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 93
+ "TypeId": 92
}
],
"Index": 5
},
+ {
+ "Name": "Session",
+ "TypeFields": [
+ {
+ "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
+ "TypeId": 98
+ }
+ ],
+ "Index": 7
+ },
+ {
+ "Name": "Utility",
+ "TypeFields": [
+ {
+ "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
+ "TypeId": 101
+ }
+ ],
+ "Index": 8
+ },
{
"Name": "Vesting",
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 98
+ "TypeId": 107
}
],
"Index": 10
@@ -3368,7 +3499,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 100
+ "TypeId": 109
}
],
"Index": 11
@@ -3378,7 +3509,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 101
+ "TypeId": 110
}
],
"Index": 12
@@ -3388,47 +3519,27 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 105
- }
- ],
- "Index": 13
- },
- {
- "Name": "Session",
- "TypeFields": [
- {
- "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
"TypeId": 113
}
],
- "Index": 7
+ "Index": 13
},
{
"Name": "Treasury",
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 116
+ "TypeId": 128
}
],
"Index": 14
},
- {
- "Name": "Utility",
- "TypeFields": [
- {
- "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 118
- }
- ],
- "Index": 8
- },
{
"Name": "ConvictionVoting",
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 124
+ "TypeId": 130
}
],
"Index": 16
@@ -3438,7 +3549,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 129
+ "TypeId": 133
}
],
"Index": 17
@@ -3448,7 +3559,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 132
+ "TypeId": 136
}
],
"Index": 18
@@ -3458,7 +3569,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 133
+ "TypeId": 137
}
],
"Index": 19
@@ -3468,7 +3579,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 134
+ "TypeId": 138
}
],
"Index": 21
@@ -3478,7 +3589,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 135
+ "TypeId": 139
}
],
"Index": 22
@@ -3488,7 +3599,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 138
+ "TypeId": 142
}
],
"Index": 23
@@ -3498,7 +3609,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 140
+ "TypeId": 144
}
],
"Index": 24
@@ -3508,7 +3619,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 180
+ "TypeId": 188
}
],
"Index": 25
@@ -3518,7 +3629,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 183
+ "TypeId": 191
}
],
"Index": 26
@@ -3528,7 +3639,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 186
+ "TypeId": 194
}
],
"Index": 27
@@ -3538,7 +3649,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 247
+ "TypeId": 255
}
],
"Index": 29
@@ -3548,7 +3659,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 248
+ "TypeId": 256
}
],
"Index": 30
@@ -3558,7 +3669,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 249
+ "TypeId": 257
}
],
"Index": 31
@@ -3568,7 +3679,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 260
+ "TypeId": 270
}
],
"Index": 104
@@ -3578,7 +3689,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 266
+ "TypeId": 276
}
],
"Index": 106
@@ -3588,7 +3699,7 @@
"TypeFields": [
{
"TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor",
- "TypeId": 267
+ "TypeId": 277
}
],
"Index": 107
@@ -3608,12 +3719,14 @@
{
"Name": "remark",
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::remark`]."
+ "Make some on-chain remark.",
+ "",
+ "Can be executed by every `origin`."
]
},
{
@@ -3622,12 +3735,12 @@
{
"Name": "pages",
"TypeName": "u64",
- "TypeId": 11
+ "TypeId": 12
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::set_heap_pages`]."
+ "Set the number of pages in the WebAssembly environment's heap."
]
},
{
@@ -3636,12 +3749,12 @@
{
"Name": "code",
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::set_code`]."
+ "Set the new runtime code."
]
},
{
@@ -3650,12 +3763,15 @@
{
"Name": "code",
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 3,
"Docs": [
- "See [`Pallet::set_code_without_checks`]."
+ "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!"
]
},
{
@@ -3669,7 +3785,7 @@
],
"Index": 4,
"Docs": [
- "See [`Pallet::set_storage`]."
+ "Set some items of storage."
]
},
{
@@ -3683,7 +3799,7 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::kill_storage`]."
+ "Kill some items from storage."
]
},
{
@@ -3692,7 +3808,7 @@
{
"Name": "prefix",
"TypeName": "Key",
- "TypeId": 13
+ "TypeId": 14
},
{
"Name": "subkeys",
@@ -3702,7 +3818,10 @@
],
"Index": 6,
"Docs": [
- "See [`Pallet::kill_prefix`]."
+ "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."
]
},
{
@@ -3711,12 +3830,72 @@
{
"Name": "remark",
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 7,
"Docs": [
- "See [`Pallet::remark_with_event`]."
+ "Make some on-chain remark and emit event."
+ ]
+ },
+ {
+ "Name": "authorize_upgrade",
+ "TypeFields": [
+ {
+ "Name": "code_hash",
+ "TypeName": "T::Hash",
+ "TypeId": 13
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "code_hash",
+ "TypeName": "T::Hash",
+ "TypeId": 13
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "code",
+ "TypeName": "Vec",
+ "TypeId": 14
+ }
+ ],
+ "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."
]
}
],
@@ -3741,13 +3920,13 @@
},
"68": {
"TypeIds": [
- 13,
- 13
+ 14,
+ 14
],
"TypeDef": "Tuple"
},
"69": {
- "TypeId": 13,
+ "TypeId": 14,
"TypeDef": "Sequence"
},
"70": {
@@ -3758,12 +3937,30 @@
{
"Name": "now",
"TypeName": "T::Moment",
- "TypeId": 10
+ "TypeId": 11
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::set`]."
+ "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)`."
]
}
],
@@ -3800,7 +3997,10 @@
],
"Index": 0,
"Docs": [
- "See [`Pallet::report_equivocation`]."
+ "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."
]
},
{
@@ -3819,7 +4019,14 @@
],
"Index": 1,
"Docs": [
- "See [`Pallet::report_equivocation_unsigned`]."
+ "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."
]
},
{
@@ -3833,7 +4040,10 @@
],
"Index": 2,
"Docs": [
- "See [`Pallet::plan_config_change`]."
+ "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."
]
}
],
@@ -3896,7 +4106,7 @@
{
"Name": "parent_hash",
"TypeName": "Hash::Output",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "number",
@@ -3906,17 +4116,17 @@
{
"Name": "state_root",
"TypeName": "Hash::Output",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "extrinsics_root",
"TypeName": "Hash::Output",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "digest",
"TypeName": "Digest",
- "TypeId": 14
+ "TypeId": 15
}
],
"Path": [
@@ -3944,7 +4154,7 @@
"TypeFields": [
{
"TypeName": "sr25519::Public",
- "TypeId": 42
+ "TypeId": 1
}
],
"Path": [
@@ -3958,7 +4168,7 @@
"TypeFields": [
{
"TypeName": "u64",
- "TypeId": 11
+ "TypeId": 12
}
],
"Path": [
@@ -4019,8 +4229,8 @@
},
"79": {
"TypeIds": [
- 11,
- 11
+ 12,
+ 12
],
"TypeDef": "Tuple"
},
@@ -4066,7 +4276,10 @@
],
"Index": 0,
"Docs": [
- "See [`Pallet::report_equivocation`]."
+ "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."
]
},
{
@@ -4085,7 +4298,15 @@
],
"Index": 1,
"Docs": [
- "See [`Pallet::report_equivocation_unsigned`]."
+ "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."
]
},
{
@@ -4104,7 +4325,18 @@
],
"Index": 2,
"Docs": [
- "See [`Pallet::note_stalled`]."
+ "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."
]
}
],
@@ -4128,7 +4360,7 @@
{
"Name": "set_id",
"TypeName": "SetId",
- "TypeId": 11
+ "TypeId": 12
},
{
"Name": "equivocation",
@@ -4143,7 +4375,7 @@
"TypeParams": [
{
"Name": "H",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "N",
@@ -4158,7 +4390,7 @@
"Name": "Prevote",
"TypeFields": [
{
- "TypeName": "grandpa::Equivocation,\nAuthoritySignature>",
+ "TypeName": "finality_grandpa::Equivocation, AuthoritySignature,>",
"TypeId": 84
}
],
@@ -4168,8 +4400,8 @@
"Name": "Precommit",
"TypeFields": [
{
- "TypeName": "grandpa::Equivocation,\nAuthoritySignature>",
- "TypeId": 90
+ "TypeName": "finality_grandpa::Equivocation, AuthoritySignature,>",
+ "TypeId": 89
}
],
"Index": 1
@@ -4182,7 +4414,7 @@
"TypeParams": [
{
"Name": "H",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "N",
@@ -4196,22 +4428,22 @@
{
"Name": "round_number",
"TypeName": "u64",
- "TypeId": 11
+ "TypeId": 12
},
{
"Name": "identity",
"TypeName": "Id",
- "TypeId": 33
+ "TypeId": 34
},
{
"Name": "first",
"TypeName": "(V, S)",
- "TypeId": 89
+ "TypeId": 88
},
{
"Name": "second",
"TypeName": "(V, S)",
- "TypeId": 89
+ "TypeId": 88
}
],
"Path": [
@@ -4221,7 +4453,7 @@
"TypeParams": [
{
"Name": "Id",
- "TypeId": 33
+ "TypeId": 34
},
{
"Name": "V",
@@ -4239,7 +4471,7 @@
{
"Name": "target_hash",
"TypeName": "H",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "target_number",
@@ -4254,7 +4486,7 @@
"TypeParams": [
{
"Name": "H",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "N",
@@ -4278,52 +4510,38 @@
"TypeDef": "Composite"
},
"87": {
- "TypeFields": [
- {
- "TypeName": "[u8; 64]",
- "TypeId": 88
- }
- ],
- "Path": [
- "sp_core",
- "ed25519",
- "Signature"
- ],
- "TypeDef": "Composite"
- },
- "88": {
"Length": 64,
"TypeId": 2,
"TypeDef": "Array"
},
- "89": {
+ "88": {
"TypeIds": [
85,
86
],
"TypeDef": "Tuple"
},
- "90": {
+ "89": {
"TypeFields": [
{
"Name": "round_number",
"TypeName": "u64",
- "TypeId": 11
+ "TypeId": 12
},
{
"Name": "identity",
"TypeName": "Id",
- "TypeId": 33
+ "TypeId": 34
},
{
"Name": "first",
"TypeName": "(V, S)",
- "TypeId": 92
+ "TypeId": 91
},
{
"Name": "second",
"TypeName": "(V, S)",
- "TypeId": 92
+ "TypeId": 91
}
],
"Path": [
@@ -4333,11 +4551,11 @@
"TypeParams": [
{
"Name": "Id",
- "TypeId": 33
+ "TypeId": 34
},
{
"Name": "V",
- "TypeId": 91
+ "TypeId": 90
},
{
"Name": "S",
@@ -4346,12 +4564,12 @@
],
"TypeDef": "Composite"
},
- "91": {
+ "90": {
"TypeFields": [
{
"Name": "target_hash",
"TypeName": "H",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "target_number",
@@ -4366,7 +4584,7 @@
"TypeParams": [
{
"Name": "H",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "N",
@@ -4375,14 +4593,14 @@
],
"TypeDef": "Composite"
},
- "92": {
+ "91": {
"TypeIds": [
- 91,
+ 90,
86
],
"TypeDef": "Tuple"
},
- "93": {
+ "92": {
"Variants": [
{
"Name": "transfer_allow_death",
@@ -4390,17 +4608,23 @@
{
"Name": "dest",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "value",
"TypeName": "T::Balance",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::transfer_allow_death`]."
+ "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."
]
},
{
@@ -4409,22 +4633,23 @@
{
"Name": "source",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "dest",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "value",
"TypeName": "T::Balance",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::force_transfer`]."
+ "Exactly as `transfer_allow_death`, except the origin must be root and the source account",
+ "may be specified."
]
},
{
@@ -4433,17 +4658,22 @@
{
"Name": "dest",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "value",
"TypeName": "T::Balance",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 3,
"Docs": [
- "See [`Pallet::transfer_keep_alive`]."
+ "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"
]
},
{
@@ -4452,17 +4682,31 @@
{
"Name": "dest",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "keep_alive",
"TypeName": "bool",
- "TypeId": 54
+ "TypeId": 8
}
],
"Index": 4,
"Docs": [
- "See [`Pallet::transfer_all`]."
+ "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)."
]
},
{
@@ -4471,7 +4715,7 @@
{
"Name": "who",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "amount",
@@ -4481,7 +4725,9 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::force_unreserve`]."
+ "Unreserve some balance from a user by force.",
+ "",
+ "Can only be called by ROOT."
]
},
{
@@ -4490,12 +4736,19 @@
{
"Name": "who",
"TypeName": "Vec",
- "TypeId": 97
+ "TypeId": 96
}
],
"Index": 6,
"Docs": [
- "See [`Pallet::upgrade_accounts`]."
+ "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",
+ "possibility of churn)."
]
},
{
@@ -4504,17 +4757,67 @@
{
"Name": "who",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "new_free",
"TypeName": "T::Balance",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 8,
"Docs": [
- "See [`Pallet::force_set_balance`]."
+ "Set the regular balance of a given account.",
+ "",
+ "The dispatch origin for this call is `root`."
+ ]
+ },
+ {
+ "Name": "force_adjust_total_issuance",
+ "TypeFields": [
+ {
+ "Name": "direction",
+ "TypeName": "AdjustmentDirection",
+ "TypeId": 97
+ },
+ {
+ "Name": "delta",
+ "TypeName": "T::Balance",
+ "TypeId": 49
+ }
+ ],
+ "Index": 9,
+ "Docs": [
+ "Adjust the total issuance in a saturating way.",
+ "",
+ "Can only be called by root and always needs a positive `delta`.",
+ "",
+ "# Example"
+ ]
+ },
+ {
+ "Name": "burn",
+ "TypeFields": [
+ {
+ "Name": "value",
+ "TypeName": "T::Balance",
+ "TypeId": 49
+ },
+ {
+ "Name": "keep_alive",
+ "TypeName": "bool",
+ "TypeId": 8
+ }
+ ],
+ "Index": 10,
+ "Docs": [
+ "Burn the specified liquid free balance from the origin account.",
+ "",
+ "If the origin's account ends up below the existential deposit as a result",
+ "of the burn and `keep_alive` is false, the account will be reaped.",
+ "",
+ "Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,",
+ "this `burn` operation will reduce total issuance by the amount _burned_."
]
}
],
@@ -4536,7 +4839,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "94": {
+ "93": {
"Variants": [
{
"Name": "Id",
@@ -4553,7 +4856,7 @@
"TypeFields": [
{
"TypeName": "AccountIndex",
- "TypeId": 95
+ "TypeId": 94
}
],
"Index": 1
@@ -4563,7 +4866,7 @@
"TypeFields": [
{
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 2
@@ -4583,7 +4886,7 @@
"TypeFields": [
{
"TypeName": "[u8; 20]",
- "TypeId": 96
+ "TypeId": 95
}
],
"Index": 4
@@ -4601,132 +4904,95 @@
},
{
"Name": "AccountIndex",
- "TypeId": 58
+ "TypeId": 41
}
],
"TypeDef": "Variant"
},
- "95": {
- "TypeId": 58,
+ "94": {
+ "TypeId": 41,
"TypeDef": "Compact"
},
- "96": {
+ "95": {
"Length": 20,
"TypeId": 2,
"TypeDef": "Array"
},
- "97": {
+ "96": {
"TypeId": 0,
"TypeDef": "Sequence"
},
- "98": {
+ "97": {
"Variants": [
{
- "Name": "vest",
+ "Name": "Increase",
"TypeFields": null,
- "Index": 0,
- "Docs": [
- "See [`Pallet::vest`]."
- ]
- },
- {
- "Name": "vest_other",
- "TypeFields": [
- {
- "Name": "target",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
- }
- ],
- "Index": 1,
- "Docs": [
- "See [`Pallet::vest_other`]."
- ]
+ "Index": 0
},
{
- "Name": "vested_transfer",
- "TypeFields": [
- {
- "Name": "target",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
- },
- {
- "Name": "schedule",
- "TypeName": "VestingInfo, BlockNumberFor>",
- "TypeId": 99
- }
- ],
- "Index": 2,
- "Docs": [
- "See [`Pallet::vested_transfer`]."
- ]
- },
+ "Name": "Decrease",
+ "TypeFields": null,
+ "Index": 1
+ }
+ ],
+ "Path": [
+ "pallet_balances",
+ "types",
+ "AdjustmentDirection"
+ ],
+ "TypeDef": "Variant"
+ },
+ "98": {
+ "Variants": [
{
- "Name": "force_vested_transfer",
+ "Name": "set_keys",
"TypeFields": [
{
- "Name": "source",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
- },
- {
- "Name": "target",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
- },
- {
- "Name": "schedule",
- "TypeName": "VestingInfo, BlockNumberFor>",
+ "Name": "keys",
+ "TypeName": "T::Keys",
"TypeId": 99
- }
- ],
- "Index": 3,
- "Docs": [
- "See [`Pallet::force_vested_transfer`]."
- ]
- },
- {
- "Name": "merge_schedules",
- "TypeFields": [
- {
- "Name": "schedule1_index",
- "TypeName": "u32",
- "TypeId": 4
},
{
- "Name": "schedule2_index",
- "TypeName": "u32",
- "TypeId": 4
+ "Name": "proof",
+ "TypeName": "Vec",
+ "TypeId": 14
}
],
- "Index": 4,
+ "Index": 0,
"Docs": [
- "See [`Pallet::merge_schedules`]."
+ "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": "force_remove_vesting_schedule",
- "TypeFields": [
- {
- "Name": "target",
- "TypeName": "::Source",
- "TypeId": 94
- },
- {
- "Name": "schedule_index",
- "TypeName": "u32",
- "TypeId": 4
- }
- ],
- "Index": 5,
+ "Name": "purge_keys",
+ "TypeFields": null,
+ "Index": 1,
"Docs": [
- "See [`Pallet::force_remove_vesting_schedule`]."
+ "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."
]
}
],
"Path": [
- "pallet_vesting",
+ "pallet_session",
"pallet",
"Call"
],
@@ -4743,96 +5009,752 @@
"99": {
"TypeFields": [
{
- "Name": "locked",
- "TypeName": "Balance",
- "TypeId": 6
+ "Name": "babe",
+ "TypeName": "::Public",
+ "TypeId": 75
},
{
- "Name": "per_block",
- "TypeName": "Balance",
- "TypeId": 6
+ "Name": "grandpa",
+ "TypeName": "::Public",
+ "TypeId": 34
},
{
- "Name": "starting_block",
- "TypeName": "BlockNumber",
- "TypeId": 4
+ "Name": "im_online",
+ "TypeName": "::Public",
+ "TypeId": 45
+ },
+ {
+ "Name": "authority_discovery",
+ "TypeName": "::Public",
+ "TypeId": 100
}
],
"Path": [
- "pallet_vesting",
- "vesting_info",
- "VestingInfo"
+ "vara_runtime",
+ "SessionKeys"
],
- "TypeParams": [
- {
- "Name": "Balance",
- "TypeId": 6
- },
+ "TypeDef": "Composite"
+ },
+ "100": {
+ "TypeFields": [
{
- "Name": "BlockNumber",
- "TypeId": 4
+ "TypeName": "sr25519::Public",
+ "TypeId": 1
}
],
+ "Path": [
+ "sp_authority_discovery",
+ "app",
+ "Public"
+ ],
"TypeDef": "Composite"
},
- "100": {
+ "101": {
"Variants": [
{
- "Name": "rebag",
+ "Name": "batch",
"TypeFields": [
{
- "Name": "dislocated",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "Name": "calls",
+ "TypeName": "Vec<::RuntimeCall>",
+ "TypeId": 102
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::rebag`]."
+ "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": "put_in_front_of",
+ "Name": "as_derivative",
"TypeFields": [
{
- "Name": "lighter",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "Name": "index",
+ "TypeName": "u16",
+ "TypeId": 63
+ },
+ {
+ "Name": "call",
+ "TypeName": "Box<::RuntimeCall>",
+ "TypeId": 65
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::put_in_front_of`]."
+ "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": "put_in_front_of_other",
+ "Name": "batch_all",
"TypeFields": [
{
- "Name": "heavier",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
- },
- {
- "Name": "lighter",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "Name": "calls",
+ "TypeName": "Vec<::RuntimeCall>",
+ "TypeId": 102
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::put_in_front_of_other`]."
+ "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."
]
- }
- ],
- "Path": [
- "pallet_bags_list",
- "pallet",
- "Call"
- ],
- "TypeParams": [
- {
- "Name": "T"
+ },
+ {
+ "Name": "dispatch_as",
+ "TypeFields": [
+ {
+ "Name": "as_origin",
+ "TypeName": "Box",
+ "TypeId": 103
+ },
+ {
+ "Name": "call",
+ "TypeName": "Box<::RuntimeCall>",
+ "TypeId": 65
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "calls",
+ "TypeName": "Vec<::RuntimeCall>",
+ "TypeId": 102
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "call",
+ "TypeName": "Box<::RuntimeCall>",
+ "TypeId": 65
+ },
+ {
+ "Name": "weight",
+ "TypeName": "Weight",
+ "TypeId": 10
+ }
+ ],
+ "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_."
+ ]
+ }
+ ],
+ "Path": [
+ "pallet_utility",
+ "pallet",
+ "Call"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T"
+ }
+ ],
+ "TypeDef": "Variant",
+ "Docs": [
+ "Contains a variant per dispatchable extrinsic that this pallet has."
+ ]
+ },
+ "102": {
+ "TypeId": 65,
+ "TypeDef": "Sequence"
+ },
+ "103": {
+ "Variants": [
+ {
+ "Name": "system",
+ "TypeFields": [
+ {
+ "TypeName": "frame_system::Origin",
+ "TypeId": 104
+ }
+ ],
+ "Index": 0
+ },
+ {
+ "Name": "Origins",
+ "TypeFields": [
+ {
+ "TypeName": "pallet_custom_origins::Origin",
+ "TypeId": 105
+ }
+ ],
+ "Index": 20
+ },
+ {
+ "Name": "Void",
+ "TypeFields": [
+ {
+ "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::\n__private::Void",
+ "TypeId": 106
+ }
+ ],
+ "Index": 2
+ }
+ ],
+ "Path": [
+ "vara_runtime",
+ "OriginCaller"
+ ],
+ "TypeDef": "Variant"
+ },
+ "104": {
+ "Variants": [
+ {
+ "Name": "Root",
+ "TypeFields": null,
+ "Index": 0
+ },
+ {
+ "Name": "Signed",
+ "TypeFields": [
+ {
+ "TypeName": "AccountId",
+ "TypeId": 0
+ }
+ ],
+ "Index": 1
+ },
+ {
+ "Name": "None",
+ "TypeFields": null,
+ "Index": 2
+ }
+ ],
+ "Path": [
+ "frame_support",
+ "dispatch",
+ "RawOrigin"
+ ],
+ "TypeParams": [
+ {
+ "Name": "AccountId",
+ "TypeId": 0
+ }
+ ],
+ "TypeDef": "Variant"
+ },
+ "105": {
+ "Variants": [
+ {
+ "Name": "StakingAdmin",
+ "TypeFields": null,
+ "Index": 0
+ },
+ {
+ "Name": "Treasurer",
+ "TypeFields": null,
+ "Index": 1
+ },
+ {
+ "Name": "FellowshipAdmin",
+ "TypeFields": null,
+ "Index": 2
+ },
+ {
+ "Name": "GeneralAdmin",
+ "TypeFields": null,
+ "Index": 3
+ },
+ {
+ "Name": "ReferendumCanceller",
+ "TypeFields": null,
+ "Index": 4
+ },
+ {
+ "Name": "ReferendumKiller",
+ "TypeFields": null,
+ "Index": 5
+ },
+ {
+ "Name": "SmallTipper",
+ "TypeFields": null,
+ "Index": 6
+ },
+ {
+ "Name": "BigTipper",
+ "TypeFields": null,
+ "Index": 7
+ },
+ {
+ "Name": "SmallSpender",
+ "TypeFields": null,
+ "Index": 8
+ },
+ {
+ "Name": "MediumSpender",
+ "TypeFields": null,
+ "Index": 9
+ },
+ {
+ "Name": "BigSpender",
+ "TypeFields": null,
+ "Index": 10
+ },
+ {
+ "Name": "WhitelistedCaller",
+ "TypeFields": null,
+ "Index": 11
+ },
+ {
+ "Name": "FellowshipInitiates",
+ "TypeFields": null,
+ "Index": 12
+ },
+ {
+ "Name": "Fellows",
+ "TypeFields": null,
+ "Index": 13
+ },
+ {
+ "Name": "FellowshipExperts",
+ "TypeFields": null,
+ "Index": 14
+ },
+ {
+ "Name": "FellowshipMasters",
+ "TypeFields": null,
+ "Index": 15
+ },
+ {
+ "Name": "Fellowship1Dan",
+ "TypeFields": null,
+ "Index": 16
+ },
+ {
+ "Name": "Fellowship2Dan",
+ "TypeFields": null,
+ "Index": 17
+ },
+ {
+ "Name": "Fellowship3Dan",
+ "TypeFields": null,
+ "Index": 18
+ },
+ {
+ "Name": "Fellowship4Dan",
+ "TypeFields": null,
+ "Index": 19
+ },
+ {
+ "Name": "Fellowship5Dan",
+ "TypeFields": null,
+ "Index": 20
+ },
+ {
+ "Name": "Fellowship6Dan",
+ "TypeFields": null,
+ "Index": 21
+ },
+ {
+ "Name": "Fellowship7Dan",
+ "TypeFields": null,
+ "Index": 22
+ },
+ {
+ "Name": "Fellowship8Dan",
+ "TypeFields": null,
+ "Index": 23
+ },
+ {
+ "Name": "Fellowship9Dan",
+ "TypeFields": null,
+ "Index": 24
+ }
+ ],
+ "Path": [
+ "vara_runtime",
+ "governance",
+ "origins",
+ "pallet_custom_origins",
+ "Origin"
+ ],
+ "TypeDef": "Variant"
+ },
+ "106": {
+ "Variants": null,
+ "Path": [
+ "sp_core",
+ "Void"
+ ],
+ "TypeDef": "Variant"
+ },
+ "107": {
+ "Variants": [
+ {
+ "Name": "vest",
+ "TypeFields": null,
+ "Index": 0,
+ "Docs": [
+ "Unlock any vested funds of the sender account.",
+ "",
+ "The dispatch origin for this call must be _Signed_ and the sender must have funds still",
+ "locked under this pallet.",
+ "",
+ "Emits either `VestingCompleted` or `VestingUpdated`.",
+ "",
+ "## Complexity",
+ "- `O(1)`."
+ ]
+ },
+ {
+ "Name": "vest_other",
+ "TypeFields": [
+ {
+ "Name": "target",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "target",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ },
+ {
+ "Name": "schedule",
+ "TypeName": "VestingInfo, BlockNumberFor>",
+ "TypeId": 108
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "source",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ },
+ {
+ "Name": "target",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ },
+ {
+ "Name": "schedule",
+ "TypeName": "VestingInfo, BlockNumberFor>",
+ "TypeId": 108
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "schedule1_index",
+ "TypeName": "u32",
+ "TypeId": 4
+ },
+ {
+ "Name": "schedule2_index",
+ "TypeName": "u32",
+ "TypeId": 4
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "target",
+ "TypeName": "::Source",
+ "TypeId": 93
+ },
+ {
+ "Name": "schedule_index",
+ "TypeName": "u32",
+ "TypeId": 4
+ }
+ ],
+ "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"
+ ]
+ }
+ ],
+ "Path": [
+ "pallet_vesting",
+ "pallet",
+ "Call"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T"
+ }
+ ],
+ "TypeDef": "Variant",
+ "Docs": [
+ "Contains a variant per dispatchable extrinsic that this pallet has."
+ ]
+ },
+ "108": {
+ "TypeFields": [
+ {
+ "Name": "locked",
+ "TypeName": "Balance",
+ "TypeId": 6
+ },
+ {
+ "Name": "per_block",
+ "TypeName": "Balance",
+ "TypeId": 6
+ },
+ {
+ "Name": "starting_block",
+ "TypeName": "BlockNumber",
+ "TypeId": 4
+ }
+ ],
+ "Path": [
+ "pallet_vesting",
+ "vesting_info",
+ "VestingInfo"
+ ],
+ "TypeParams": [
+ {
+ "Name": "Balance",
+ "TypeId": 6
+ },
+ {
+ "Name": "BlockNumber",
+ "TypeId": 4
+ }
+ ],
+ "TypeDef": "Composite"
+ },
+ "109": {
+ "Variants": [
+ {
+ "Name": "rebag",
+ "TypeFields": [
+ {
+ "Name": "dislocated",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "lighter",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "heavier",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ },
+ {
+ "Name": "lighter",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ }
+ ],
+ "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."
+ ]
+ }
+ ],
+ "Path": [
+ "pallet_bags_list",
+ "pallet",
+ "Call"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T"
},
{
"Name": "I"
@@ -4843,7 +5765,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "101": {
+ "110": {
"Variants": [
{
"Name": "heartbeat",
@@ -4851,17 +5773,19 @@
{
"Name": "heartbeat",
"TypeName": "Heartbeat>",
- "TypeId": 102
+ "TypeId": 111
},
{
"Name": "signature",
"TypeName": "::Signature",
- "TypeId": 103
+ "TypeId": 112
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::heartbeat`]."
+ "## Complexity:",
+ "- `O(K)` where K is length of `Keys` (heartbeat.validators_len)",
+ " - `O(K)`: decoding of length `K`"
]
}
],
@@ -4880,7 +5804,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "102": {
+ "111": {
"TypeFields": [
{
"Name": "block_number",
@@ -4915,11 +5839,11 @@
],
"TypeDef": "Composite"
},
- "103": {
+ "112": {
"TypeFields": [
{
"TypeName": "sr25519::Signature",
- "TypeId": 104
+ "TypeId": 87
}
],
"Path": [
@@ -4930,21 +5854,7 @@
],
"TypeDef": "Composite"
},
- "104": {
- "TypeFields": [
- {
- "TypeName": "[u8; 64]",
- "TypeId": 88
- }
- ],
- "Path": [
- "sp_core",
- "sr25519",
- "Signature"
- ],
- "TypeDef": "Composite"
- },
- "105": {
+ "113": {
"Variants": [
{
"Name": "bond",
@@ -4952,17 +5862,32 @@
{
"Name": "value",
"TypeName": "BalanceOf",
- "TypeId": 46
+ "TypeId": 49
},
{
"Name": "payee",
"TypeName": "RewardDestination",
- "TypeId": 50
+ "TypeId": 53
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::bond`]."
+ "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_ (or equal to 0) and gets removed",
+ "as dust."
]
},
{
@@ -4971,12 +5896,25 @@
{
"Name": "max_additional",
"TypeName": "BalanceOf",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::bond_extra`]."
+ "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)."
]
},
{
@@ -4985,12 +5923,30 @@
{
"Name": "value",
"TypeName": "BalanceOf",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::unbond`]."
+ "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`]."
]
},
{
@@ -5004,7 +5960,29 @@
],
"Index": 3,
"Docs": [
- "See [`Pallet::withdraw_unbonded`]."
+ "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 proportional 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."
]
},
{
@@ -5013,12 +5991,16 @@
{
"Name": "prefs",
"TypeName": "ValidatorPrefs",
- "TypeId": 52
+ "TypeId": 55
}
],
"Index": 4,
"Docs": [
- "See [`Pallet::validate`]."
+ "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."
]
},
{
@@ -5027,12 +6009,21 @@
{
"Name": "targets",
"TypeName": "Vec>",
- "TypeId": 106
+ "TypeId": 114
}
],
"Index": 5,
"Docs": [
- "See [`Pallet::nominate`]."
+ "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."
]
},
{
@@ -5040,7 +6031,16 @@
"TypeFields": null,
"Index": 6,
"Docs": [
- "See [`Pallet::chill`]."
+ "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."
]
},
{
@@ -5049,12 +6049,23 @@
{
"Name": "payee",
"TypeName": "RewardDestination",
- "TypeId": 50
+ "TypeId": 53
}
],
"Index": 7,
"Docs": [
- "See [`Pallet::set_payee`]."
+ "(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.",
+ "---------"
]
},
{
@@ -5062,7 +6073,20 @@
"TypeFields": null,
"Index": 8,
"Docs": [
- "See [`Pallet::set_controller`]."
+ "(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."
]
},
{
@@ -5076,7 +6100,12 @@
],
"Index": 9,
"Docs": [
- "See [`Pallet::set_validator_count`]."
+ "Sets the ideal number of validators.",
+ "",
+ "The dispatch origin must be Root.",
+ "",
+ "## Complexity",
+ "O(1)"
]
},
{
@@ -5090,7 +6119,13 @@
],
"Index": 10,
"Docs": [
- "See [`Pallet::increase_validator_count`]."
+ "Increments the ideal number of validators up to maximum of",
+ "`ElectionProviderBase::MaxWinners`.",
+ "",
+ "The dispatch origin must be Root.",
+ "",
+ "## Complexity",
+ "Same as [`Self::set_validator_count`]."
]
},
{
@@ -5099,12 +6134,18 @@
{
"Name": "factor",
"TypeName": "Percent",
- "TypeId": 107
+ "TypeId": 115
}
],
"Index": 11,
"Docs": [
- "See [`Pallet::scale_validator_count`]."
+ "Scale up the ideal number of validators by a factor up to maximum of",
+ "`ElectionProviderBase::MaxWinners`.",
+ "",
+ "The dispatch origin must be Root.",
+ "",
+ "## Complexity",
+ "Same as [`Self::set_validator_count`]."
]
},
{
@@ -5112,7 +6153,19 @@
"TypeFields": null,
"Index": 12,
"Docs": [
- "See [`Pallet::force_no_eras`]."
+ "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)"
]
},
{
@@ -5120,7 +6173,20 @@
"TypeFields": null,
"Index": 13,
"Docs": [
- "See [`Pallet::force_new_era`]."
+ "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)"
]
},
{
@@ -5129,12 +6195,14 @@
{
"Name": "invulnerables",
"TypeName": "Vec",
- "TypeId": 97
+ "TypeId": 96
}
],
"Index": 14,
"Docs": [
- "See [`Pallet::set_invulnerables`]."
+ "Set the validators who cannot be slashed (if any).",
+ "",
+ "The dispatch origin must be Root."
]
},
{
@@ -5153,7 +6221,14 @@
],
"Index": 15,
"Docs": [
- "See [`Pallet::force_unstake`]."
+ "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."
]
},
{
@@ -5161,7 +6236,15 @@
"TypeFields": null,
"Index": 16,
"Docs": [
- "See [`Pallet::force_new_era_always`]."
+ "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."
]
},
{
@@ -5175,12 +6258,16 @@
{
"Name": "slash_indices",
"TypeName": "Vec",
- "TypeId": 108
+ "TypeId": 116
}
],
"Index": 17,
"Docs": [
- "See [`Pallet::cancel_deferred_slash`]."
+ "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."
]
},
{
@@ -5199,7 +6286,19 @@
],
"Index": 18,
"Docs": [
- "See [`Pallet::payout_stakers`]."
+ "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`."
]
},
{
@@ -5208,12 +6307,18 @@
{
"Name": "value",
"TypeName": "BalanceOf",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 19,
"Docs": [
- "See [`Pallet::rebond`]."
+ "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`."
]
},
{
@@ -5232,7 +6337,24 @@
],
"Index": 20,
"Docs": [
- "See [`Pallet::reap_stash`]."
+ "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.",
+ "3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.",
+ "",
+ "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."
]
},
{
@@ -5241,12 +6363,22 @@
{
"Name": "who",
"TypeName": "Vec>",
- "TypeId": 106
+ "TypeId": 114
}
],
"Index": 21,
"Docs": [
- "See [`Pallet::kick`]."
+ "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."
]
},
{
@@ -5255,51 +6387,97 @@
{
"Name": "min_nominator_bond",
"TypeName": "ConfigOp>",
- "TypeId": 109
+ "TypeId": 117
},
{
"Name": "min_validator_bond",
"TypeName": "ConfigOp>",
- "TypeId": 109
+ "TypeId": 117
},
{
"Name": "max_nominator_count",
"TypeName": "ConfigOp",
- "TypeId": 110
+ "TypeId": 118
},
{
"Name": "max_validator_count",
"TypeName": "ConfigOp",
- "TypeId": 110
+ "TypeId": 118
},
{
"Name": "chill_threshold",
"TypeName": "ConfigOp",
- "TypeId": 111
+ "TypeId": 119
},
{
"Name": "min_commission",
"TypeName": "ConfigOp",
- "TypeId": 112
+ "TypeId": 120
+ },
+ {
+ "Name": "max_staked_rewards",
+ "TypeName": "ConfigOp",
+ "TypeId": 119
}
],
"Index": 22,
"Docs": [
- "See [`Pallet::set_staking_configs`]."
+ "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",
"TypeFields": [
{
- "Name": "controller",
+ "Name": "stash",
"TypeName": "T::AccountId",
"TypeId": 0
}
],
"Index": 23,
"Docs": [
- "See [`Pallet::chill_other`]."
+ "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."
]
},
{
@@ -5313,7 +6491,9 @@
],
"Index": 24,
"Docs": [
- "See [`Pallet::force_apply_min_commission`]."
+ "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."
]
},
{
@@ -5322,12 +6502,15 @@
{
"Name": "new",
"TypeName": "Perbill",
- "TypeId": 51
+ "TypeId": 54
}
],
"Index": 25,
"Docs": [
- "See [`Pallet::set_min_commission`]."
+ "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."
]
},
{
@@ -5351,7 +6534,101 @@
],
"Index": 26,
"Docs": [
- "See [`Pallet::payout_stakers_by_page`]."
+ "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",
+ "TypeFields": [
+ {
+ "Name": "controller",
+ "TypeName": "T::AccountId",
+ "TypeId": 0
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "controllers",
+ "TypeName": "BoundedVec",
+ "TypeId": 121
+ }
+ ],
+ "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`."
+ ]
+ },
+ {
+ "Name": "restore_ledger",
+ "TypeFields": [
+ {
+ "Name": "stash",
+ "TypeName": "T::AccountId",
+ "TypeId": 0
+ },
+ {
+ "Name": "maybe_controller",
+ "TypeName": "Option",
+ "TypeId": 122
+ },
+ {
+ "Name": "maybe_total",
+ "TypeName": "Option>",
+ "TypeId": 123
+ },
+ {
+ "Name": "maybe_unlocking",
+ "TypeName": "Option>, T::\nMaxUnlockingChunks>>",
+ "TypeId": 124
+ }
+ ],
+ "Index": 29,
+ "Docs": [
+ "Restores the state of a ledger which is in an inconsistent state.",
+ "",
+ "The requirements to restore a ledger are the following:",
+ "* The stash is bonded; or",
+ "* The stash is not bonded but it has a staking lock left behind; or",
+ "* If the stash has an associated ledger and its state is inconsistent; or",
+ "* If the ledger is not corrupted *but* its staking lock is out of sync.",
+ "",
+ "The `maybe_*` input parameters will overwrite the corresponding data and metadata of the",
+ "ledger associated with the stash. If the input parameters are not set, the ledger will",
+ "be reset values from on-chain state."
]
}
],
@@ -5371,11 +6648,11 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "106": {
- "TypeId": 94,
+ "114": {
+ "TypeId": 93,
"TypeDef": "Sequence"
},
- "107": {
+ "115": {
"TypeFields": [
{
"TypeName": "u8",
@@ -5389,11 +6666,11 @@
],
"TypeDef": "Composite"
},
- "108": {
+ "116": {
"TypeId": 4,
"TypeDef": "Sequence"
},
- "109": {
+ "117": {
"Variants": [
{
"Name": "Noop",
@@ -5430,7 +6707,7 @@
],
"TypeDef": "Variant"
},
- "110": {
+ "118": {
"Variants": [
{
"Name": "Noop",
@@ -5467,7 +6744,7 @@
],
"TypeDef": "Variant"
},
- "111": {
+ "119": {
"Variants": [
{
"Name": "Noop",
@@ -5479,7 +6756,7 @@
"TypeFields": [
{
"TypeName": "T",
- "TypeId": 107
+ "TypeId": 115
}
],
"Index": 1
@@ -5499,12 +6776,12 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 107
+ "TypeId": 115
}
],
"TypeDef": "Variant"
},
- "112": {
+ "120": {
"Variants": [
{
"Name": "Noop",
@@ -5516,7 +6793,7 @@
"TypeFields": [
{
"TypeName": "T",
- "TypeId": 51
+ "TypeId": 54
}
],
"Index": 1
@@ -5536,165 +6813,205 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 51
+ "TypeId": 54
}
],
"TypeDef": "Variant"
},
- "113": {
+ "121": {
+ "TypeFields": [
+ {
+ "TypeName": "Vec",
+ "TypeId": 96
+ }
+ ],
+ "Path": [
+ "bounded_collections",
+ "bounded_vec",
+ "BoundedVec"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T",
+ "TypeId": 0
+ },
+ {
+ "Name": "S"
+ }
+ ],
+ "TypeDef": "Composite"
+ },
+ "122": {
"Variants": [
{
- "Name": "set_keys",
+ "Name": "None",
+ "TypeFields": null,
+ "Index": 0
+ },
+ {
+ "Name": "Some",
"TypeFields": [
{
- "Name": "keys",
- "TypeName": "T::Keys",
- "TypeId": 114
- },
- {
- "Name": "proof",
- "TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 0
}
],
- "Index": 0,
- "Docs": [
- "See [`Pallet::set_keys`]."
- ]
- },
- {
- "Name": "purge_keys",
- "TypeFields": null,
- "Index": 1,
- "Docs": [
- "See [`Pallet::purge_keys`]."
- ]
+ "Index": 1
}
],
"Path": [
- "pallet_session",
- "pallet",
- "Call"
+ "Option"
],
"TypeParams": [
{
- "Name": "T"
+ "Name": "T",
+ "TypeId": 0
}
],
- "TypeDef": "Variant",
- "Docs": [
- "Contains a variant per dispatchable extrinsic that this pallet has."
- ]
+ "TypeDef": "Variant"
},
- "114": {
- "TypeFields": [
+ "123": {
+ "Variants": [
{
- "Name": "babe",
- "TypeName": "::Public",
- "TypeId": 75
+ "Name": "None",
+ "TypeFields": null,
+ "Index": 0
},
{
- "Name": "grandpa",
- "TypeName": "::Public",
- "TypeId": 33
- },
+ "Name": "Some",
+ "TypeFields": [
+ {
+ "TypeId": 6
+ }
+ ],
+ "Index": 1
+ }
+ ],
+ "Path": [
+ "Option"
+ ],
+ "TypeParams": [
{
- "Name": "im_online",
- "TypeName": "::Public",
- "TypeId": 41
+ "Name": "T",
+ "TypeId": 6
+ }
+ ],
+ "TypeDef": "Variant"
+ },
+ "124": {
+ "Variants": [
+ {
+ "Name": "None",
+ "TypeFields": null,
+ "Index": 0
},
{
- "Name": "authority_discovery",
- "TypeName": "::Public",
- "TypeId": 115
+ "Name": "Some",
+ "TypeFields": [
+ {
+ "TypeId": 125
+ }
+ ],
+ "Index": 1
}
],
"Path": [
- "vara_runtime",
- "SessionKeys"
+ "Option"
],
- "TypeDef": "Composite"
+ "TypeParams": [
+ {
+ "Name": "T",
+ "TypeId": 125
+ }
+ ],
+ "TypeDef": "Variant"
},
- "115": {
+ "125": {
"TypeFields": [
{
- "TypeName": "sr25519::Public",
- "TypeId": 42
+ "TypeName": "Vec",
+ "TypeId": 127
}
],
"Path": [
- "sp_authority_discovery",
- "app",
- "Public"
+ "bounded_collections",
+ "bounded_vec",
+ "BoundedVec"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T",
+ "TypeId": 126
+ },
+ {
+ "Name": "S"
+ }
],
"TypeDef": "Composite"
},
- "116": {
- "Variants": [
+ "126": {
+ "TypeFields": [
{
- "Name": "propose_spend",
- "TypeFields": [
- {
- "Name": "value",
- "TypeName": "BalanceOf",
- "TypeId": 46
- },
- {
- "Name": "beneficiary",
- "TypeName": "AccountIdLookupOf",
- "TypeId": 94
- }
- ],
- "Index": 0,
- "Docs": [
- "See [`Pallet::propose_spend`]."
- ]
+ "Name": "value",
+ "TypeName": "Balance",
+ "TypeId": 49
},
{
- "Name": "reject_proposal",
- "TypeFields": [
- {
- "Name": "proposal_id",
- "TypeName": "ProposalIndex",
- "TypeId": 74
- }
- ],
- "Index": 1,
- "Docs": [
- "See [`Pallet::reject_proposal`]."
- ]
- },
+ "Name": "era",
+ "TypeName": "EraIndex",
+ "TypeId": 74
+ }
+ ],
+ "Path": [
+ "pallet_staking",
+ "UnlockChunk"
+ ],
+ "TypeParams": [
{
- "Name": "approve_proposal",
- "TypeFields": [
- {
- "Name": "proposal_id",
- "TypeName": "ProposalIndex",
- "TypeId": 74
- }
- ],
- "Index": 2,
- "Docs": [
- "See [`Pallet::approve_proposal`]."
- ]
- },
+ "Name": "Balance",
+ "TypeId": 6
+ }
+ ],
+ "TypeDef": "Composite"
+ },
+ "127": {
+ "TypeId": 126,
+ "TypeDef": "Sequence"
+ },
+ "128": {
+ "Variants": [
{
"Name": "spend_local",
"TypeFields": [
{
"Name": "amount",
"TypeName": "BalanceOf",
- "TypeId": 46
+ "TypeId": 49
},
{
"Name": "beneficiary",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 3,
"Docs": [
- "See [`Pallet::spend_local`]."
+ "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."
]
},
{
@@ -5708,7 +7025,27 @@
],
"Index": 4,
"Docs": [
- "See [`Pallet::remove_approval`]."
+ "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."
]
},
{
@@ -5717,12 +7054,12 @@
{
"Name": "asset_kind",
"TypeName": "Box",
- "TypeId": 58
+ "TypeId": 41
},
{
"Name": "amount",
"TypeName": "AssetBalanceOf",
- "TypeId": 46
+ "TypeId": 49
},
{
"Name": "beneficiary",
@@ -5732,12 +7069,37 @@
{
"Name": "valid_from",
"TypeName": "Option>",
- "TypeId": 117
+ "TypeId": 129
}
],
"Index": 5,
"Docs": [
- "See [`Pallet::spend`]."
+ "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."
]
},
{
@@ -5751,194 +7113,100 @@
],
"Index": 6,
"Docs": [
- "See [`Pallet::payout`]."
- ]
- },
- {
- "Name": "check_status",
- "TypeFields": [
- {
- "Name": "index",
- "TypeName": "SpendIndex",
- "TypeId": 4
- }
- ],
- "Index": 7,
- "Docs": [
- "See [`Pallet::check_status`]."
- ]
- },
- {
- "Name": "void_spend",
- "TypeFields": [
- {
- "Name": "index",
- "TypeName": "SpendIndex",
- "TypeId": 4
- }
- ],
- "Index": 8,
- "Docs": [
- "See [`Pallet::void_spend`]."
- ]
- }
- ],
- "Path": [
- "pallet_treasury",
- "pallet",
- "Call"
- ],
- "TypeParams": [
- {
- "Name": "T"
- },
- {
- "Name": "I"
- }
- ],
- "TypeDef": "Variant",
- "Docs": [
- "Contains a variant per dispatchable extrinsic that this pallet has."
- ]
- },
- "117": {
- "Variants": [
- {
- "Name": "None",
- "TypeFields": null,
- "Index": 0
- },
- {
- "Name": "Some",
- "TypeFields": [
- {
- "TypeId": 4
- }
- ],
- "Index": 1
- }
- ],
- "Path": [
- "Option"
- ],
- "TypeParams": [
- {
- "Name": "T",
- "TypeId": 4
- }
- ],
- "TypeDef": "Variant"
- },
- "118": {
- "Variants": [
- {
- "Name": "batch",
- "TypeFields": [
- {
- "Name": "calls",
- "TypeName": "Vec<::RuntimeCall>",
- "TypeId": 119
- }
- ],
- "Index": 0,
- "Docs": [
- "See [`Pallet::batch`]."
- ]
- },
- {
- "Name": "as_derivative",
- "TypeFields": [
- {
- "Name": "index",
- "TypeName": "u16",
- "TypeId": 63
- },
- {
- "Name": "call",
- "TypeName": "Box<::RuntimeCall>",
- "TypeId": 65
- }
- ],
- "Index": 1,
- "Docs": [
- "See [`Pallet::as_derivative`]."
- ]
- },
- {
- "Name": "batch_all",
- "TypeFields": [
- {
- "Name": "calls",
- "TypeName": "Vec<::RuntimeCall>",
- "TypeId": 119
- }
- ],
- "Index": 2,
- "Docs": [
- "See [`Pallet::batch_all`]."
- ]
- },
- {
- "Name": "dispatch_as",
- "TypeFields": [
- {
- "Name": "as_origin",
- "TypeName": "Box",
- "TypeId": 120
- },
- {
- "Name": "call",
- "TypeName": "Box<::RuntimeCall>",
- "TypeId": 65
- }
- ],
- "Index": 3,
- "Docs": [
- "See [`Pallet::dispatch_as`]."
+ "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": "force_batch",
+ "Name": "check_status",
"TypeFields": [
{
- "Name": "calls",
- "TypeName": "Vec<::RuntimeCall>",
- "TypeId": 119
+ "Name": "index",
+ "TypeName": "SpendIndex",
+ "TypeId": 4
}
],
- "Index": 4,
+ "Index": 7,
"Docs": [
- "See [`Pallet::force_batch`]."
+ "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": "with_weight",
+ "Name": "void_spend",
"TypeFields": [
{
- "Name": "call",
- "TypeName": "Box<::RuntimeCall>",
- "TypeId": 65
- },
- {
- "Name": "weight",
- "TypeName": "Weight",
- "TypeId": 9
+ "Name": "index",
+ "TypeName": "SpendIndex",
+ "TypeId": 4
}
],
- "Index": 5,
+ "Index": 8,
"Docs": [
- "See [`Pallet::with_weight`]."
+ "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."
]
}
],
"Path": [
- "pallet_utility",
+ "pallet_treasury",
"pallet",
"Call"
],
"TypeParams": [
{
"Name": "T"
+ },
+ {
+ "Name": "I"
}
],
"TypeDef": "Variant",
@@ -5946,231 +7214,35 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "119": {
- "TypeId": 65,
- "TypeDef": "Sequence"
- },
- "120": {
- "Variants": [
- {
- "Name": "system",
- "TypeFields": [
- {
- "TypeName": "frame_system::Origin",
- "TypeId": 121
- }
- ],
- "Index": 0
- },
- {
- "Name": "Origins",
- "TypeFields": [
- {
- "TypeName": "pallet_custom_origins::Origin",
- "TypeId": 122
- }
- ],
- "Index": 20
- },
- {
- "Name": "Void",
- "TypeFields": [
- {
- "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::\n__private::Void",
- "TypeId": 123
- }
- ],
- "Index": 2
- }
- ],
- "Path": [
- "vara_runtime",
- "OriginCaller"
- ],
- "TypeDef": "Variant"
- },
- "121": {
+ "129": {
"Variants": [
{
- "Name": "Root",
+ "Name": "None",
"TypeFields": null,
"Index": 0
},
{
- "Name": "Signed",
+ "Name": "Some",
"TypeFields": [
{
- "TypeName": "AccountId",
- "TypeId": 0
+ "TypeId": 4
}
],
"Index": 1
- },
- {
- "Name": "None",
- "TypeFields": null,
- "Index": 2
}
],
"Path": [
- "frame_support",
- "dispatch",
- "RawOrigin"
+ "Option"
],
"TypeParams": [
{
- "Name": "AccountId",
- "TypeId": 0
- }
- ],
- "TypeDef": "Variant"
- },
- "122": {
- "Variants": [
- {
- "Name": "StakingAdmin",
- "TypeFields": null,
- "Index": 0
- },
- {
- "Name": "Treasurer",
- "TypeFields": null,
- "Index": 1
- },
- {
- "Name": "FellowshipAdmin",
- "TypeFields": null,
- "Index": 2
- },
- {
- "Name": "GeneralAdmin",
- "TypeFields": null,
- "Index": 3
- },
- {
- "Name": "ReferendumCanceller",
- "TypeFields": null,
- "Index": 4
- },
- {
- "Name": "ReferendumKiller",
- "TypeFields": null,
- "Index": 5
- },
- {
- "Name": "SmallTipper",
- "TypeFields": null,
- "Index": 6
- },
- {
- "Name": "BigTipper",
- "TypeFields": null,
- "Index": 7
- },
- {
- "Name": "SmallSpender",
- "TypeFields": null,
- "Index": 8
- },
- {
- "Name": "MediumSpender",
- "TypeFields": null,
- "Index": 9
- },
- {
- "Name": "BigSpender",
- "TypeFields": null,
- "Index": 10
- },
- {
- "Name": "WhitelistedCaller",
- "TypeFields": null,
- "Index": 11
- },
- {
- "Name": "FellowshipInitiates",
- "TypeFields": null,
- "Index": 12
- },
- {
- "Name": "Fellows",
- "TypeFields": null,
- "Index": 13
- },
- {
- "Name": "FellowshipExperts",
- "TypeFields": null,
- "Index": 14
- },
- {
- "Name": "FellowshipMasters",
- "TypeFields": null,
- "Index": 15
- },
- {
- "Name": "Fellowship1Dan",
- "TypeFields": null,
- "Index": 16
- },
- {
- "Name": "Fellowship2Dan",
- "TypeFields": null,
- "Index": 17
- },
- {
- "Name": "Fellowship3Dan",
- "TypeFields": null,
- "Index": 18
- },
- {
- "Name": "Fellowship4Dan",
- "TypeFields": null,
- "Index": 19
- },
- {
- "Name": "Fellowship5Dan",
- "TypeFields": null,
- "Index": 20
- },
- {
- "Name": "Fellowship6Dan",
- "TypeFields": null,
- "Index": 21
- },
- {
- "Name": "Fellowship7Dan",
- "TypeFields": null,
- "Index": 22
- },
- {
- "Name": "Fellowship8Dan",
- "TypeFields": null,
- "Index": 23
- },
- {
- "Name": "Fellowship9Dan",
- "TypeFields": null,
- "Index": 24
+ "Name": "T",
+ "TypeId": 4
}
],
- "Path": [
- "vara_runtime",
- "governance",
- "origins",
- "pallet_custom_origins",
- "Origin"
- ],
- "TypeDef": "Variant"
- },
- "123": {
- "Variants": null,
- "Path": [
- "sp_core",
- "Void"
- ],
"TypeDef": "Variant"
},
- "124": {
+ "130": {
"Variants": [
{
"Name": "vote",
@@ -6183,12 +7255,20 @@
{
"Name": "vote",
"TypeName": "AccountVote>",
- "TypeId": 125
+ "TypeId": 60
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::vote`]."
+ "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."
]
},
{
@@ -6202,12 +7282,12 @@
{
"Name": "to",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "conviction",
"TypeName": "Conviction",
- "TypeId": 127
+ "TypeId": 131
},
{
"Name": "balance",
@@ -6217,7 +7297,29 @@
],
"Index": 1,
"Docs": [
- "See [`Pallet::delegate`]."
+ "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."
]
},
{
@@ -6231,7 +7333,20 @@
],
"Index": 2,
"Docs": [
- "See [`Pallet::undelegate`]."
+ "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."
]
},
{
@@ -6245,12 +7360,20 @@
{
"Name": "target",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 3,
"Docs": [
- "See [`Pallet::unlock`]."
+ "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."
]
},
{
@@ -6259,7 +7382,7 @@
{
"Name": "class",
"TypeName": "Option>",
- "TypeId": 128
+ "TypeId": 132
},
{
"Name": "index",
@@ -6269,7 +7392,35 @@
],
"Index": 4,
"Docs": [
- "See [`Pallet::remove_vote`]."
+ "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."
]
},
{
@@ -6278,7 +7429,7 @@
{
"Name": "target",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "class",
@@ -6293,7 +7444,22 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::remove_other_vote`]."
+ "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."
]
}
],
@@ -6315,89 +7481,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "125": {
- "Variants": [
- {
- "Name": "Standard",
- "TypeFields": [
- {
- "Name": "vote",
- "TypeName": "Vote",
- "TypeId": 126
- },
- {
- "Name": "balance",
- "TypeName": "Balance",
- "TypeId": 6
- }
- ],
- "Index": 0
- },
- {
- "Name": "Split",
- "TypeFields": [
- {
- "Name": "aye",
- "TypeName": "Balance",
- "TypeId": 6
- },
- {
- "Name": "nay",
- "TypeName": "Balance",
- "TypeId": 6
- }
- ],
- "Index": 1
- },
- {
- "Name": "SplitAbstain",
- "TypeFields": [
- {
- "Name": "aye",
- "TypeName": "Balance",
- "TypeId": 6
- },
- {
- "Name": "nay",
- "TypeName": "Balance",
- "TypeId": 6
- },
- {
- "Name": "abstain",
- "TypeName": "Balance",
- "TypeId": 6
- }
- ],
- "Index": 2
- }
- ],
- "Path": [
- "pallet_conviction_voting",
- "vote",
- "AccountVote"
- ],
- "TypeParams": [
- {
- "Name": "Balance",
- "TypeId": 6
- }
- ],
- "TypeDef": "Variant"
- },
- "126": {
- "TypeFields": [
- {
- "TypeId": 2
- }
- ],
- "Path": [
- "pallet_conviction_voting",
- "vote",
- "Vote"
- ],
- "TypeDef": "Composite"
- },
- "127": {
+ "131": {
"Variants": [
{
"Name": "None",
@@ -6442,7 +7526,7 @@
],
"TypeDef": "Variant"
},
- "128": {
+ "132": {
"Variants": [
{
"Name": "None",
@@ -6470,7 +7554,7 @@
],
"TypeDef": "Variant"
},
- "129": {
+ "133": {
"Variants": [
{
"Name": "submit",
@@ -6478,7 +7562,7 @@
{
"Name": "proposal_origin",
"TypeName": "Box>",
- "TypeId": 120
+ "TypeId": 103
},
{
"Name": "proposal",
@@ -6488,12 +7572,20 @@
{
"Name": "enactment_moment",
"TypeName": "DispatchTime>",
- "TypeId": 130
+ "TypeId": 134
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::submit`]."
+ "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`."
]
},
{
@@ -6507,7 +7599,14 @@
],
"Index": 1,
"Docs": [
- "See [`Pallet::place_decision_deposit`]."
+ "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`."
]
},
{
@@ -6521,7 +7620,13 @@
],
"Index": 2,
"Docs": [
- "See [`Pallet::refund_decision_deposit`]."
+ "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`."
]
},
{
@@ -6535,7 +7640,12 @@
],
"Index": 3,
"Docs": [
- "See [`Pallet::cancel`]."
+ "Cancel an ongoing referendum.",
+ "",
+ "- `origin`: must be the `CancelOrigin`.",
+ "- `index`: The index of the referendum to be cancelled.",
+ "",
+ "Emits `Cancelled`."
]
},
{
@@ -6549,7 +7659,12 @@
],
"Index": 4,
"Docs": [
- "See [`Pallet::kill`]."
+ "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`."
]
},
{
@@ -6563,7 +7678,10 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::nudge_referendum`]."
+ "Advance a referendum onto its next logical state. Only used internally.",
+ "",
+ "- `origin`: must be `Root`.",
+ "- `index`: the referendum to be advanced."
]
},
{
@@ -6577,7 +7695,15 @@
],
"Index": 6,
"Docs": [
- "See [`Pallet::one_fewer_deciding`]."
+ "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`."
]
},
{
@@ -6591,7 +7717,13 @@
],
"Index": 7,
"Docs": [
- "See [`Pallet::refund_submission_deposit`]."
+ "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`."
]
},
{
@@ -6605,12 +7737,18 @@
{
"Name": "maybe_hash",
"TypeName": "Option",
- "TypeId": 131
+ "TypeId": 135
}
],
"Index": 8,
"Docs": [
- "See [`Pallet::set_metadata`]."
+ "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."
]
}
],
@@ -6632,7 +7770,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "130": {
+ "134": {
"Variants": [
{
"Name": "At",
@@ -6669,7 +7807,7 @@
],
"TypeDef": "Variant"
},
- "131": {
+ "135": {
"Variants": [
{
"Name": "None",
@@ -6680,7 +7818,7 @@
"Name": "Some",
"TypeFields": [
{
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 1
@@ -6692,12 +7830,12 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 12
+ "TypeId": 13
}
],
"TypeDef": "Variant"
},
- "132": {
+ "136": {
"Variants": [
{
"Name": "add_member",
@@ -6705,12 +7843,17 @@
{
"Name": "who",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::add_member`]."
+ "Introduce a new member.",
+ "",
+ "- `origin`: Must be the `AddOrigin`.",
+ "- `who`: Account of non-member which will become a member.",
+ "",
+ "Weight: `O(1)`"
]
},
{
@@ -6719,12 +7862,17 @@
{
"Name": "who",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::promote_member`]."
+ "Increment the rank of an existing member by one.",
+ "",
+ "- `origin`: Must be the `PromoteOrigin`.",
+ "- `who`: Account of existing member.",
+ "",
+ "Weight: `O(1)`"
]
},
{
@@ -6733,12 +7881,18 @@
{
"Name": "who",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::demote_member`]."
+ "Decrement the rank of an existing member by one. If the member is already at rank zero,",
+ "then they are removed entirely.",
+ "",
+ "- `origin`: Must be the `DemoteOrigin`.",
+ "- `who`: Account of existing member of rank greater than zero.",
+ "",
+ "Weight: `O(1)`, less if the member's index is highest in its rank."
]
},
{
@@ -6747,7 +7901,7 @@
{
"Name": "who",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "min_rank",
@@ -6757,7 +7911,13 @@
],
"Index": 3,
"Docs": [
- "See [`Pallet::remove_member`]."
+ "Remove the member entirely.",
+ "",
+ "- `origin`: Must be the `RemoveOrigin`.",
+ "- `who`: Account of existing member of rank greater than zero.",
+ "- `min_rank`: The rank of the member or greater.",
+ "",
+ "Weight: `O(min_rank)`."
]
},
{
@@ -6771,12 +7931,22 @@
{
"Name": "aye",
"TypeName": "bool",
- "TypeId": 54
+ "TypeId": 8
}
],
"Index": 4,
"Docs": [
- "See [`Pallet::vote`]."
+ "Add an aye or nay vote for the sender to the given proposal.",
+ "",
+ "- `origin`: Must be `Signed` by a member account.",
+ "- `poll`: Index of a poll which is ongoing.",
+ "- `aye`: `true` if the vote is to approve the proposal, `false` otherwise.",
+ "",
+ "Transaction fees are be waived if the member is voting on any particular proposal",
+ "for the first time and the call is successful. Subsequent vote changes will charge a",
+ "fee.",
+ "",
+ "Weight: `O(1)`, less if there was no previous vote on the poll by the member."
]
},
{
@@ -6795,7 +7965,39 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::cleanup_poll`]."
+ "Remove votes from the given poll. It must have ended.",
+ "",
+ "- `origin`: Must be `Signed` by any account.",
+ "- `poll_index`: Index of a poll which is completed and for which votes continue to",
+ " exist.",
+ "- `max`: Maximum number of vote items from remove in this call.",
+ "",
+ "Transaction fees are waived if the operation is successful.",
+ "",
+ "Weight `O(max)` (less if there are fewer items to remove than `max`)."
+ ]
+ },
+ {
+ "Name": "exchange_member",
+ "TypeFields": [
+ {
+ "Name": "who",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ },
+ {
+ "Name": "new_who",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ }
+ ],
+ "Index": 6,
+ "Docs": [
+ "Exchanges a member with a new account and the same existing rank.",
+ "",
+ "- `origin`: Must be the `ExchangeOrigin`.",
+ "- `who`: Account of existing member of rank greater than zero to be exchanged.",
+ "- `new_who`: New Account of existing member of rank greater than zero to exchanged to."
]
}
],
@@ -6817,7 +8019,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "133": {
+ "137": {
"Variants": [
{
"Name": "submit",
@@ -6825,7 +8027,7 @@
{
"Name": "proposal_origin",
"TypeName": "Box>",
- "TypeId": 120
+ "TypeId": 103
},
{
"Name": "proposal",
@@ -6835,12 +8037,20 @@
{
"Name": "enactment_moment",
"TypeName": "DispatchTime>",
- "TypeId": 130
+ "TypeId": 134
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::submit`]."
+ "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`."
]
},
{
@@ -6854,7 +8064,14 @@
],
"Index": 1,
"Docs": [
- "See [`Pallet::place_decision_deposit`]."
+ "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`."
]
},
{
@@ -6868,7 +8085,13 @@
],
"Index": 2,
"Docs": [
- "See [`Pallet::refund_decision_deposit`]."
+ "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`."
]
},
{
@@ -6882,7 +8105,12 @@
],
"Index": 3,
"Docs": [
- "See [`Pallet::cancel`]."
+ "Cancel an ongoing referendum.",
+ "",
+ "- `origin`: must be the `CancelOrigin`.",
+ "- `index`: The index of the referendum to be cancelled.",
+ "",
+ "Emits `Cancelled`."
]
},
{
@@ -6896,7 +8124,12 @@
],
"Index": 4,
"Docs": [
- "See [`Pallet::kill`]."
+ "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`."
]
},
{
@@ -6910,7 +8143,10 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::nudge_referendum`]."
+ "Advance a referendum onto its next logical state. Only used internally.",
+ "",
+ "- `origin`: must be `Root`.",
+ "- `index`: the referendum to be advanced."
]
},
{
@@ -6924,7 +8160,15 @@
],
"Index": 6,
"Docs": [
- "See [`Pallet::one_fewer_deciding`]."
+ "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`."
]
},
{
@@ -6938,7 +8182,13 @@
],
"Index": 7,
"Docs": [
- "See [`Pallet::refund_submission_deposit`]."
+ "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`."
]
},
{
@@ -6952,12 +8202,18 @@
{
"Name": "maybe_hash",
"TypeName": "Option",
- "TypeId": 131
+ "TypeId": 135
}
],
"Index": 8,
"Docs": [
- "See [`Pallet::set_metadata`]."
+ "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."
]
}
],
@@ -6979,7 +8235,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "134": {
+ "138": {
"Variants": [
{
"Name": "whitelist_call",
@@ -6987,13 +8243,10 @@
{
"Name": "call_hash",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
}
],
- "Index": 0,
- "Docs": [
- "See [`Pallet::whitelist_call`]."
- ]
+ "Index": 0
},
{
"Name": "remove_whitelisted_call",
@@ -7001,13 +8254,10 @@
{
"Name": "call_hash",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
}
],
- "Index": 1,
- "Docs": [
- "See [`Pallet::remove_whitelisted_call`]."
- ]
+ "Index": 1
},
{
"Name": "dispatch_whitelisted_call",
@@ -7015,7 +8265,7 @@
{
"Name": "call_hash",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
},
{
"Name": "call_encoded_len",
@@ -7025,13 +8275,10 @@
{
"Name": "call_weight_witness",
"TypeName": "Weight",
- "TypeId": 9
+ "TypeId": 10
}
],
- "Index": 2,
- "Docs": [
- "See [`Pallet::dispatch_whitelisted_call`]."
- ]
+ "Index": 2
},
{
"Name": "dispatch_whitelisted_call_with_preimage",
@@ -7042,10 +8289,7 @@
"TypeId": 65
}
],
- "Index": 3,
- "Docs": [
- "See [`Pallet::dispatch_whitelisted_call_with_preimage`]."
- ]
+ "Index": 3
}
],
"Path": [
@@ -7063,7 +8307,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "135": {
+ "139": {
"Variants": [
{
"Name": "schedule",
@@ -7076,7 +8320,7 @@
{
"Name": "maybe_periodic",
"TypeName": "Option>>",
- "TypeId": 136
+ "TypeId": 140
},
{
"Name": "priority",
@@ -7091,7 +8335,7 @@
],
"Index": 0,
"Docs": [
- "See [`Pallet::schedule`]."
+ "Anonymously schedule a task."
]
},
{
@@ -7110,7 +8354,7 @@
],
"Index": 1,
"Docs": [
- "See [`Pallet::cancel`]."
+ "Cancel an anonymously scheduled task."
]
},
{
@@ -7129,7 +8373,7 @@
{
"Name": "maybe_periodic",
"TypeName": "Option>>",
- "TypeId": 136
+ "TypeId": 140
},
{
"Name": "priority",
@@ -7144,7 +8388,7 @@
],
"Index": 2,
"Docs": [
- "See [`Pallet::schedule_named`]."
+ "Schedule a named task."
]
},
{
@@ -7158,7 +8402,7 @@
],
"Index": 3,
"Docs": [
- "See [`Pallet::cancel_named`]."
+ "Cancel a named scheduled task."
]
},
{
@@ -7172,7 +8416,7 @@
{
"Name": "maybe_periodic",
"TypeName": "Option>>",
- "TypeId": 136
+ "TypeId": 140
},
{
"Name": "priority",
@@ -7187,7 +8431,7 @@
],
"Index": 4,
"Docs": [
- "See [`Pallet::schedule_after`]."
+ "Anonymously schedule a task after a delay."
]
},
{
@@ -7206,7 +8450,7 @@
{
"Name": "maybe_periodic",
"TypeName": "Option>>",
- "TypeId": 136
+ "TypeId": 140
},
{
"Name": "priority",
@@ -7221,7 +8465,105 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::schedule_named_after`]."
+ "Schedule a named task after a delay."
+ ]
+ },
+ {
+ "Name": "set_retry",
+ "TypeFields": [
+ {
+ "Name": "task",
+ "TypeName": "TaskAddress>",
+ "TypeId": 141
+ },
+ {
+ "Name": "retries",
+ "TypeName": "u8",
+ "TypeId": 2
+ },
+ {
+ "Name": "period",
+ "TypeName": "BlockNumberFor",
+ "TypeId": 4
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "id",
+ "TypeName": "TaskName",
+ "TypeId": 1
+ },
+ {
+ "Name": "retries",
+ "TypeName": "u8",
+ "TypeId": 2
+ },
+ {
+ "Name": "period",
+ "TypeName": "BlockNumberFor",
+ "TypeId": 4
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "task",
+ "TypeName": "TaskAddress>",
+ "TypeId": 141
+ }
+ ],
+ "Index": 8,
+ "Docs": [
+ "Removes the retry configuration of a task."
+ ]
+ },
+ {
+ "Name": "cancel_retry_named",
+ "TypeFields": [
+ {
+ "Name": "id",
+ "TypeName": "TaskName",
+ "TypeId": 1
+ }
+ ],
+ "Index": 9,
+ "Docs": [
+ "Cancel the retry configuration of a named task."
]
}
],
@@ -7240,7 +8582,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "136": {
+ "140": {
"Variants": [
{
"Name": "None",
@@ -7251,7 +8593,7 @@
"Name": "Some",
"TypeFields": [
{
- "TypeId": 137
+ "TypeId": 141
}
],
"Index": 1
@@ -7263,19 +8605,19 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 137
+ "TypeId": 141
}
],
"TypeDef": "Variant"
},
- "137": {
+ "141": {
"TypeIds": [
4,
4
],
"TypeDef": "Tuple"
},
- "138": {
+ "142": {
"Variants": [
{
"Name": "note_preimage",
@@ -7283,12 +8625,15 @@
{
"Name": "bytes",
"TypeName": "Vec",
- "TypeId": 13
+ "TypeId": 14
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::note_preimage`]."
+ "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."
]
},
{
@@ -7297,12 +8642,17 @@
{
"Name": "hash",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::unnote_preimage`]."
+ "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`."
]
},
{
@@ -7311,12 +8661,15 @@
{
"Name": "hash",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::request_preimage`]."
+ "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."
]
},
{
@@ -7325,12 +8678,14 @@
{
"Name": "hash",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 3,
"Docs": [
- "See [`Pallet::unrequest_preimage`]."
+ "Clear a previously made request for a preimage.",
+ "",
+ "NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`."
]
},
{
@@ -7339,12 +8694,14 @@
{
"Name": "hashes",
"TypeName": "Vec",
- "TypeId": 139
+ "TypeId": 143
}
],
"Index": 4,
"Docs": [
- "See [`Pallet::ensure_updated`]."
+ "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."
]
}
],
@@ -7363,11 +8720,11 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "139": {
- "TypeId": 12,
+ "143": {
+ "TypeId": 13,
"TypeDef": "Sequence"
},
- "140": {
+ "144": {
"Variants": [
{
"Name": "add_registrar",
@@ -7375,12 +8732,18 @@
{
"Name": "account",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::add_registrar`]."
+ "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."
]
},
{
@@ -7389,12 +8752,21 @@
{
"Name": "info",
"TypeName": "Box",
- "TypeId": 141
+ "TypeId": 145
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::set_identity`]."
+ "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."
]
},
{
@@ -7403,12 +8775,20 @@
{
"Name": "subs",
"TypeName": "Vec<(T::AccountId, Data)>",
- "TypeId": 177
+ "TypeId": 181
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::set_subs`]."
+ "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."
]
},
{
@@ -7416,7 +8796,14 @@
"TypeFields": null,
"Index": 3,
"Docs": [
- "See [`Pallet::clear_identity`]."
+ "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."
]
},
{
@@ -7430,12 +8817,27 @@
{
"Name": "max_fee",
"TypeName": "BalanceOf",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 4,
"Docs": [
- "See [`Pallet::request_judgement`]."
+ "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",
+ "Registrars::::get().get(reg_index).unwrap().fee",
+ "```",
+ "",
+ "Emits `JudgementRequested` if successful."
]
},
{
@@ -7449,7 +8851,16 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::cancel_request`]."
+ "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."
]
},
{
@@ -7463,12 +8874,18 @@
{
"Name": "fee",
"TypeName": "BalanceOf",
- "TypeId": 46
+ "TypeId": 49
}
],
"Index": 6,
"Docs": [
- "See [`Pallet::set_fee`]."
+ "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."
]
},
{
@@ -7482,12 +8899,18 @@
{
"Name": "new",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 7,
"Docs": [
- "See [`Pallet::set_account_id`]."
+ "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."
]
},
{
@@ -7501,12 +8924,18 @@
{
"Name": "fields",
"TypeName": "::\nFieldsIdentifier",
- "TypeId": 11
+ "TypeId": 12
}
],
"Index": 8,
"Docs": [
- "See [`Pallet::set_fields`]."
+ "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."
]
},
{
@@ -7520,22 +8949,36 @@
{
"Name": "target",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "judgement",
"TypeName": "Judgement>",
- "TypeId": 179
+ "TypeId": 183
},
{
"Name": "identity",
"TypeName": "T::Hash",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 9,
"Docs": [
- "See [`Pallet::provide_judgement`]."
+ "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."
]
},
{
@@ -7544,12 +8987,23 @@
{
"Name": "target",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 10,
"Docs": [
- "See [`Pallet::kill_identity`]."
+ "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."
]
},
{
@@ -7558,17 +9012,23 @@
{
"Name": "sub",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "data",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
}
],
"Index": 11,
"Docs": [
- "See [`Pallet::add_sub`]."
+ "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`."
]
},
{
@@ -7577,17 +9037,20 @@
{
"Name": "sub",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "data",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
}
],
"Index": 12,
"Docs": [
- "See [`Pallet::rename_sub`]."
+ "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`."
]
},
{
@@ -7596,12 +9059,18 @@
{
"Name": "sub",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
}
],
"Index": 13,
"Docs": [
- "See [`Pallet::remove_sub`]."
+ "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`."
]
},
{
@@ -7609,7 +9078,149 @@
"TypeFields": null,
"Index": 14,
"Docs": [
- "See [`Pallet::quit_sub`]."
+ "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",
+ "TypeFields": [
+ {
+ "Name": "authority",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ },
+ {
+ "Name": "suffix",
+ "TypeName": "Vec",
+ "TypeId": 14
+ },
+ {
+ "Name": "allocation",
+ "TypeName": "u32",
+ "TypeId": 4
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "authority",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ }
+ ],
+ "Index": 16,
+ "Docs": [
+ "Remove `authority` from the username authorities."
+ ]
+ },
+ {
+ "Name": "set_username_for",
+ "TypeFields": [
+ {
+ "Name": "who",
+ "TypeName": "AccountIdLookupOf",
+ "TypeId": 93
+ },
+ {
+ "Name": "username",
+ "TypeName": "Vec",
+ "TypeId": 14
+ },
+ {
+ "Name": "signature",
+ "TypeName": "Option",
+ "TypeId": 184
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "username",
+ "TypeName": "Username",
+ "TypeId": 187
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "username",
+ "TypeName": "Username",
+ "TypeId": 187
+ }
+ ],
+ "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",
+ "TypeFields": [
+ {
+ "Name": "username",
+ "TypeName": "Username",
+ "TypeId": 187
+ }
+ ],
+ "Index": 20,
+ "Docs": [
+ "Set a given username as the primary. The username should include the suffix."
+ ]
+ },
+ {
+ "Name": "remove_dangling_username",
+ "TypeFields": [
+ {
+ "Name": "username",
+ "TypeName": "Username",
+ "TypeId": 187
+ }
+ ],
+ "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`."
]
}
],
@@ -7628,52 +9239,52 @@
"Identity pallet declaration."
]
},
- "141": {
+ "145": {
"TypeFields": [
{
"Name": "additional",
"TypeName": "BoundedVec<(Data, Data), FieldLimit>",
- "TypeId": 142
+ "TypeId": 146
},
{
"Name": "display",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
},
{
"Name": "legal",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
},
{
"Name": "web",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
},
{
"Name": "riot",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
},
{
"Name": "email",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
},
{
"Name": "pgp_fingerprint",
"TypeName": "Option<[u8; 20]>",
- "TypeId": 176
+ "TypeId": 180
},
{
"Name": "image",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
},
{
"Name": "twitter",
"TypeName": "Data",
- "TypeId": 144
+ "TypeId": 148
}
],
"Path": [
@@ -7688,11 +9299,11 @@
],
"TypeDef": "Composite"
},
- "142": {
+ "146": {
"TypeFields": [
{
"TypeName": "Vec",
- "TypeId": 175
+ "TypeId": 179
}
],
"Path": [
@@ -7703,7 +9314,7 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 143
+ "TypeId": 147
},
{
"Name": "S"
@@ -7711,14 +9322,14 @@
],
"TypeDef": "Composite"
},
- "143": {
+ "147": {
"TypeIds": [
- 144,
- 144
+ 148,
+ 148
],
"TypeDef": "Tuple"
},
- "144": {
+ "148": {
"Variants": [
{
"Name": "None",
@@ -7729,7 +9340,7 @@
"Name": "Raw0",
"TypeFields": [
{
- "TypeId": 145
+ "TypeId": 149
}
],
"Index": 1
@@ -7738,7 +9349,7 @@
"Name": "Raw1",
"TypeFields": [
{
- "TypeId": 146
+ "TypeId": 150
}
],
"Index": 2
@@ -7747,7 +9358,7 @@
"Name": "Raw2",
"TypeFields": [
{
- "TypeId": 147
+ "TypeId": 151
}
],
"Index": 3
@@ -7756,7 +9367,7 @@
"Name": "Raw3",
"TypeFields": [
{
- "TypeId": 148
+ "TypeId": 152
}
],
"Index": 4
@@ -7765,7 +9376,7 @@
"Name": "Raw4",
"TypeFields": [
{
- "TypeId": 17
+ "TypeId": 18
}
],
"Index": 5
@@ -7774,7 +9385,7 @@
"Name": "Raw5",
"TypeFields": [
{
- "TypeId": 149
+ "TypeId": 153
}
],
"Index": 6
@@ -7783,7 +9394,7 @@
"Name": "Raw6",
"TypeFields": [
{
- "TypeId": 150
+ "TypeId": 154
}
],
"Index": 7
@@ -7792,7 +9403,7 @@
"Name": "Raw7",
"TypeFields": [
{
- "TypeId": 151
+ "TypeId": 155
}
],
"Index": 8
@@ -7801,7 +9412,7 @@
"Name": "Raw8",
"TypeFields": [
{
- "TypeId": 152
+ "TypeId": 156
}
],
"Index": 9
@@ -7810,7 +9421,7 @@
"Name": "Raw9",
"TypeFields": [
{
- "TypeId": 153
+ "TypeId": 157
}
],
"Index": 10
@@ -7819,7 +9430,7 @@
"Name": "Raw10",
"TypeFields": [
{
- "TypeId": 154
+ "TypeId": 158
}
],
"Index": 11
@@ -7828,7 +9439,7 @@
"Name": "Raw11",
"TypeFields": [
{
- "TypeId": 155
+ "TypeId": 159
}
],
"Index": 12
@@ -7837,7 +9448,7 @@
"Name": "Raw12",
"TypeFields": [
{
- "TypeId": 156
+ "TypeId": 160
}
],
"Index": 13
@@ -7846,7 +9457,7 @@
"Name": "Raw13",
"TypeFields": [
{
- "TypeId": 157
+ "TypeId": 161
}
],
"Index": 14
@@ -7855,7 +9466,7 @@
"Name": "Raw14",
"TypeFields": [
{
- "TypeId": 158
+ "TypeId": 162
}
],
"Index": 15
@@ -7864,7 +9475,7 @@
"Name": "Raw15",
"TypeFields": [
{
- "TypeId": 159
+ "TypeId": 163
}
],
"Index": 16
@@ -7873,7 +9484,7 @@
"Name": "Raw16",
"TypeFields": [
{
- "TypeId": 160
+ "TypeId": 164
}
],
"Index": 17
@@ -7882,7 +9493,7 @@
"Name": "Raw17",
"TypeFields": [
{
- "TypeId": 161
+ "TypeId": 165
}
],
"Index": 18
@@ -7891,7 +9502,7 @@
"Name": "Raw18",
"TypeFields": [
{
- "TypeId": 162
+ "TypeId": 166
}
],
"Index": 19
@@ -7900,7 +9511,7 @@
"Name": "Raw19",
"TypeFields": [
{
- "TypeId": 163
+ "TypeId": 167
}
],
"Index": 20
@@ -7909,7 +9520,7 @@
"Name": "Raw20",
"TypeFields": [
{
- "TypeId": 96
+ "TypeId": 95
}
],
"Index": 21
@@ -7918,7 +9529,7 @@
"Name": "Raw21",
"TypeFields": [
{
- "TypeId": 164
+ "TypeId": 168
}
],
"Index": 22
@@ -7927,7 +9538,7 @@
"Name": "Raw22",
"TypeFields": [
{
- "TypeId": 165
+ "TypeId": 169
}
],
"Index": 23
@@ -7936,7 +9547,7 @@
"Name": "Raw23",
"TypeFields": [
{
- "TypeId": 166
+ "TypeId": 170
}
],
"Index": 24
@@ -7945,7 +9556,7 @@
"Name": "Raw24",
"TypeFields": [
{
- "TypeId": 167
+ "TypeId": 171
}
],
"Index": 25
@@ -7954,7 +9565,7 @@
"Name": "Raw25",
"TypeFields": [
{
- "TypeId": 168
+ "TypeId": 172
}
],
"Index": 26
@@ -7963,7 +9574,7 @@
"Name": "Raw26",
"TypeFields": [
{
- "TypeId": 169
+ "TypeId": 173
}
],
"Index": 27
@@ -7972,7 +9583,7 @@
"Name": "Raw27",
"TypeFields": [
{
- "TypeId": 170
+ "TypeId": 174
}
],
"Index": 28
@@ -7981,7 +9592,7 @@
"Name": "Raw28",
"TypeFields": [
{
- "TypeId": 171
+ "TypeId": 175
}
],
"Index": 29
@@ -7990,7 +9601,7 @@
"Name": "Raw29",
"TypeFields": [
{
- "TypeId": 172
+ "TypeId": 176
}
],
"Index": 30
@@ -7999,7 +9610,7 @@
"Name": "Raw30",
"TypeFields": [
{
- "TypeId": 173
+ "TypeId": 177
}
],
"Index": 31
@@ -8008,7 +9619,7 @@
"Name": "Raw31",
"TypeFields": [
{
- "TypeId": 174
+ "TypeId": 178
}
],
"Index": 32
@@ -8066,161 +9677,161 @@
],
"TypeDef": "Variant"
},
- "145": {
+ "149": {
"Length": 0,
"TypeId": 2,
"TypeDef": "Array"
},
- "146": {
+ "150": {
"Length": 1,
"TypeId": 2,
"TypeDef": "Array"
},
- "147": {
+ "151": {
"Length": 2,
"TypeId": 2,
"TypeDef": "Array"
},
- "148": {
+ "152": {
"Length": 3,
"TypeId": 2,
"TypeDef": "Array"
},
- "149": {
+ "153": {
"Length": 5,
"TypeId": 2,
"TypeDef": "Array"
},
- "150": {
+ "154": {
"Length": 6,
"TypeId": 2,
"TypeDef": "Array"
},
- "151": {
+ "155": {
"Length": 7,
"TypeId": 2,
"TypeDef": "Array"
},
- "152": {
+ "156": {
"Length": 8,
"TypeId": 2,
"TypeDef": "Array"
},
- "153": {
+ "157": {
"Length": 9,
"TypeId": 2,
"TypeDef": "Array"
},
- "154": {
+ "158": {
"Length": 10,
"TypeId": 2,
"TypeDef": "Array"
},
- "155": {
+ "159": {
"Length": 11,
"TypeId": 2,
"TypeDef": "Array"
},
- "156": {
+ "160": {
"Length": 12,
"TypeId": 2,
"TypeDef": "Array"
},
- "157": {
+ "161": {
"Length": 13,
"TypeId": 2,
"TypeDef": "Array"
},
- "158": {
+ "162": {
"Length": 14,
"TypeId": 2,
"TypeDef": "Array"
},
- "159": {
+ "163": {
"Length": 15,
"TypeId": 2,
"TypeDef": "Array"
},
- "160": {
+ "164": {
"Length": 16,
"TypeId": 2,
"TypeDef": "Array"
},
- "161": {
+ "165": {
"Length": 17,
"TypeId": 2,
"TypeDef": "Array"
},
- "162": {
+ "166": {
"Length": 18,
"TypeId": 2,
"TypeDef": "Array"
},
- "163": {
+ "167": {
"Length": 19,
"TypeId": 2,
"TypeDef": "Array"
},
- "164": {
+ "168": {
"Length": 21,
"TypeId": 2,
"TypeDef": "Array"
},
- "165": {
+ "169": {
"Length": 22,
"TypeId": 2,
"TypeDef": "Array"
},
- "166": {
+ "170": {
"Length": 23,
"TypeId": 2,
"TypeDef": "Array"
},
- "167": {
+ "171": {
"Length": 24,
"TypeId": 2,
"TypeDef": "Array"
},
- "168": {
+ "172": {
"Length": 25,
"TypeId": 2,
"TypeDef": "Array"
},
- "169": {
+ "173": {
"Length": 26,
"TypeId": 2,
"TypeDef": "Array"
},
- "170": {
+ "174": {
"Length": 27,
"TypeId": 2,
"TypeDef": "Array"
},
- "171": {
+ "175": {
"Length": 28,
"TypeId": 2,
"TypeDef": "Array"
},
- "172": {
+ "176": {
"Length": 29,
"TypeId": 2,
"TypeDef": "Array"
},
- "173": {
+ "177": {
"Length": 30,
"TypeId": 2,
"TypeDef": "Array"
},
- "174": {
+ "178": {
"Length": 31,
"TypeId": 2,
"TypeDef": "Array"
},
- "175": {
- "TypeId": 143,
+ "179": {
+ "TypeId": 147,
"TypeDef": "Sequence"
},
- "176": {
+ "180": {
"Variants": [
{
"Name": "None",
@@ -8231,7 +9842,7 @@
"Name": "Some",
"TypeFields": [
{
- "TypeId": 96
+ "TypeId": 95
}
],
"Index": 1
@@ -8243,23 +9854,23 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 96
+ "TypeId": 95
}
],
"TypeDef": "Variant"
},
- "177": {
- "TypeId": 178,
+ "181": {
+ "TypeId": 182,
"TypeDef": "Sequence"
},
- "178": {
+ "182": {
"TypeIds": [
0,
- 144
+ 148
],
"TypeDef": "Tuple"
},
- "179": {
+ "183": {
"Variants": [
{
"Name": "Unknown",
@@ -8315,7 +9926,102 @@
],
"TypeDef": "Variant"
},
- "180": {
+ "184": {
+ "Variants": [
+ {
+ "Name": "None",
+ "TypeFields": null,
+ "Index": 0
+ },
+ {
+ "Name": "Some",
+ "TypeFields": [
+ {
+ "TypeId": 185
+ }
+ ],
+ "Index": 1
+ }
+ ],
+ "Path": [
+ "Option"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T",
+ "TypeId": 185
+ }
+ ],
+ "TypeDef": "Variant"
+ },
+ "185": {
+ "Variants": [
+ {
+ "Name": "Ed25519",
+ "TypeFields": [
+ {
+ "TypeName": "ed25519::Signature",
+ "TypeId": 87
+ }
+ ],
+ "Index": 0
+ },
+ {
+ "Name": "Sr25519",
+ "TypeFields": [
+ {
+ "TypeName": "sr25519::Signature",
+ "TypeId": 87
+ }
+ ],
+ "Index": 1
+ },
+ {
+ "Name": "Ecdsa",
+ "TypeFields": [
+ {
+ "TypeName": "ecdsa::Signature",
+ "TypeId": 186
+ }
+ ],
+ "Index": 2
+ }
+ ],
+ "Path": [
+ "sp_runtime",
+ "MultiSignature"
+ ],
+ "TypeDef": "Variant"
+ },
+ "186": {
+ "Length": 65,
+ "TypeId": 2,
+ "TypeDef": "Array"
+ },
+ "187": {
+ "TypeFields": [
+ {
+ "TypeName": "Vec",
+ "TypeId": 14
+ }
+ ],
+ "Path": [
+ "bounded_collections",
+ "bounded_vec",
+ "BoundedVec"
+ ],
+ "TypeParams": [
+ {
+ "Name": "T",
+ "TypeId": 2
+ },
+ {
+ "Name": "S"
+ }
+ ],
+ "TypeDef": "Composite"
+ },
+ "188": {
"Variants": [
{
"Name": "proxy",
@@ -8323,12 +10029,12 @@
{
"Name": "real",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "force_proxy_type",
"TypeName": "Option",
- "TypeId": 181
+ "TypeId": 189
},
{
"Name": "call",
@@ -8338,7 +10044,15 @@
],
"Index": 0,
"Docs": [
- "See [`Pallet::proxy`]."
+ "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."
]
},
{
@@ -8347,12 +10061,12 @@
{
"Name": "delegate",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "proxy_type",
"TypeName": "T::ProxyType",
- "TypeId": 182
+ "TypeId": 190
},
{
"Name": "delay",
@@ -8362,7 +10076,15 @@
],
"Index": 1,
"Docs": [
- "See [`Pallet::add_proxy`]."
+ "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."
]
},
{
@@ -8371,12 +10093,12 @@
{
"Name": "delegate",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "proxy_type",
"TypeName": "T::ProxyType",
- "TypeId": 182
+ "TypeId": 190
},
{
"Name": "delay",
@@ -8386,7 +10108,13 @@
],
"Index": 2,
"Docs": [
- "See [`Pallet::remove_proxy`]."
+ "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."
]
},
{
@@ -8394,7 +10122,12 @@
"TypeFields": null,
"Index": 3,
"Docs": [
- "See [`Pallet::remove_proxies`]."
+ "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.**"
]
},
{
@@ -8403,7 +10136,7 @@
{
"Name": "proxy_type",
"TypeName": "T::ProxyType",
- "TypeId": 182
+ "TypeId": 190
},
{
"Name": "delay",
@@ -8418,7 +10151,24 @@
],
"Index": 4,
"Docs": [
- "See [`Pallet::create_pure`]."
+ "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."
]
},
{
@@ -8427,12 +10177,12 @@
{
"Name": "spawner",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "proxy_type",
"TypeName": "T::ProxyType",
- "TypeId": 182
+ "TypeId": 190
},
{
"Name": "index",
@@ -8452,7 +10202,22 @@
],
"Index": 5,
"Docs": [
- "See [`Pallet::kill_pure`]."
+ "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."
]
},
{
@@ -8461,17 +10226,31 @@
{
"Name": "real",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "call_hash",
"TypeName": "CallHashOf",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 6,
"Docs": [
- "See [`Pallet::announce`]."
+ "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."
]
},
{
@@ -8480,17 +10259,26 @@
{
"Name": "real",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "call_hash",
"TypeName": "CallHashOf",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 7,
"Docs": [
- "See [`Pallet::remove_announcement`]."
+ "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."
]
},
{
@@ -8499,17 +10287,26 @@
{
"Name": "delegate",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "call_hash",
"TypeName": "CallHashOf",
- "TypeId": 12
+ "TypeId": 13
}
],
"Index": 8,
"Docs": [
- "See [`Pallet::reject_announcement`]."
+ "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."
]
},
{
@@ -8518,17 +10315,17 @@
{
"Name": "delegate",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "real",
"TypeName": "AccountIdLookupOf",
- "TypeId": 94
+ "TypeId": 93
},
{
"Name": "force_proxy_type",
"TypeName": "Option",
- "TypeId": 181
+ "TypeId": 189
},
{
"Name": "call",
@@ -8538,7 +10335,17 @@
],
"Index": 9,
"Docs": [
- "See [`Pallet::proxy_announced`]."
+ "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."
]
}
],
@@ -8557,7 +10364,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "181": {
+ "189": {
"Variants": [
{
"Name": "None",
@@ -8568,7 +10375,7 @@
"Name": "Some",
"TypeFields": [
{
- "TypeId": 182
+ "TypeId": 190
}
],
"Index": 1
@@ -8580,12 +10387,12 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 182
+ "TypeId": 190
}
],
"TypeDef": "Variant"
},
- "182": {
+ "190": {
"Variants": [
{
"Name": "Any",
@@ -8624,7 +10431,7 @@
],
"TypeDef": "Variant"
},
- "183": {
+ "191": {
"Variants": [
{
"Name": "as_multi_threshold_1",
@@ -8632,7 +10439,7 @@
{
"Name": "other_signatories",
"TypeName": "Vec",
- "TypeId": 97
+ "TypeId": 96
},
{
"Name": "call",
@@ -8642,7 +10449,18 @@
],
"Index": 0,
"Docs": [
- "See [`Pallet::as_multi_threshold_1`]."
+ "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."
]
},
{
@@ -8656,12 +10474,12 @@
{
"Name": "other_signatories",
"TypeName": "Vec",
- "TypeId": 97
+ "TypeId": 96
},
{
"Name": "maybe_timepoint",
"TypeName": "Option>>",
- "TypeId": 184
+ "TypeId": 192
},
{
"Name": "call",
@@ -8671,12 +10489,50 @@
{
"Name": "max_weight",
"TypeName": "Weight",
- "TypeId": 9
+ "TypeId": 10
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::as_multi`]."
+ "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`."
]
},
{
@@ -8690,12 +10546,12 @@
{
"Name": "other_signatories",
"TypeName": "Vec",
- "TypeId": 97
+ "TypeId": 96
},
{
"Name": "maybe_timepoint",
"TypeName": "Option>>",
- "TypeId": 184
+ "TypeId": 192
},
{
"Name": "call_hash",
@@ -8705,12 +10561,41 @@
{
"Name": "max_weight",
"TypeName": "Weight",
- "TypeId": 9
+ "TypeId": 10
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::approve_as_multi`]."
+ "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`."
]
},
{
@@ -8724,12 +10609,12 @@
{
"Name": "other_signatories",
"TypeName": "Vec",
- "TypeId": 97
+ "TypeId": 96
},
{
"Name": "timepoint",
"TypeName": "Timepoint>",
- "TypeId": 185
+ "TypeId": 193
},
{
"Name": "call_hash",
@@ -8739,7 +10624,27 @@
],
"Index": 3,
"Docs": [
- "See [`Pallet::cancel_as_multi`]."
+ "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."
]
}
],
@@ -8758,7 +10663,7 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "184": {
+ "192": {
"Variants": [
{
"Name": "None",
@@ -8769,7 +10674,7 @@
"Name": "Some",
"TypeFields": [
{
- "TypeId": 185
+ "TypeId": 193
}
],
"Index": 1
@@ -8781,12 +10686,12 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 185
+ "TypeId": 193
}
],
"TypeDef": "Variant"
},
- "185": {
+ "193": {
"TypeFields": [
{
"Name": "height",
@@ -8811,7 +10716,7 @@
],
"TypeDef": "Composite"
},
- "186": {
+ "194": {
"Variants": [
{
"Name": "submit_unsigned",
@@ -8819,17 +10724,30 @@
{
"Name": "raw_solution",
"TypeName": "Box>>",
- "TypeId": 187
+ "TypeId": 195
},
{
"Name": "witness",
"TypeName": "SolutionOrSnapshotSize",
- "TypeId": 240
+ "TypeId": 248
}
],
"Index": 0,
"Docs": [
- "See [`Pallet::submit_unsigned`]."
+ "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."
]
},
{
@@ -8838,12 +10756,16 @@
{
"Name": "maybe_next_score",
"TypeName": "Option",
- "TypeId": 241
+ "TypeId": 249
}
],
"Index": 1,
"Docs": [
- "See [`Pallet::set_minimum_untrusted_score`]."
+ "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`."
]
},
{
@@ -8852,12 +10774,19 @@
{
"Name": "supports",
"TypeName": "Supports",
- "TypeId": 242
+ "TypeId": 250
}
],
"Index": 2,
"Docs": [
- "See [`Pallet::set_emergency_election_result`]."
+ "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)."
]
},
{
@@ -8866,12 +10795,20 @@
{
"Name": "raw_solution",
"TypeName": "Box>>",
- "TypeId": 187
+ "TypeId": 195
}
],
"Index": 3,
"Docs": [
- "See [`Pallet::submit`]."
+ "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."
]
},
{
@@ -8880,17 +10817,20 @@
{
"Name": "maybe_max_voters",
"TypeName": "Option",
- "TypeId": 117
+ "TypeId": 129
},
{
"Name": "maybe_max_targets",
"TypeName": "Option",
- "TypeId": 117
+ "TypeId": 129
}
],
"Index": 4,
"Docs": [
- "See [`Pallet::governance_fallback`]."
+ "Trigger the governance fallback.",
+ "",
+ "This can only be called when [`Phase::Emergency`] is enabled, as an alternative to",
+ "calling [`Call::set_emergency_election_result`]."
]
}
],
@@ -8909,17 +10849,17 @@
"Contains a variant per dispatchable extrinsic that this pallet has."
]
},
- "187": {
+ "195": {
"TypeFields": [
{
"Name": "solution",
"TypeName": "S",
- "TypeId": 188
+ "TypeId": 196
},
{
"Name": "score",
"TypeName": "ElectionScore",
- "TypeId": 239
+ "TypeId": 247
},
{
"Name": "round",
@@ -8934,76 +10874,76 @@
"TypeParams": [
{
"Name": "S",
- "TypeId": 188
+ "TypeId": 196
}
],
"TypeDef": "Composite"
},
- "188": {
+ "196": {
"TypeFields": [
{
"Name": "votes1",
- "TypeId": 189
+ "TypeId": 197
},
{
"Name": "votes2",
- "TypeId": 192
+ "TypeId": 200
},
{
"Name": "votes3",
- "TypeId": 197
+ "TypeId": 205
},
{
"Name": "votes4",
- "TypeId": 200
+ "TypeId": 208
},
{
"Name": "votes5",
- "TypeId": 203
+ "TypeId": 211
},
{
"Name": "votes6",
- "TypeId": 206
+ "TypeId": 214
},
{
"Name": "votes7",
- "TypeId": 209
+ "TypeId": 217
},
{
"Name": "votes8",
- "TypeId": 212
+ "TypeId": 220
},
{
"Name": "votes9",
- "TypeId": 215
+ "TypeId": 223
},
{
"Name": "votes10",
- "TypeId": 218
+ "TypeId": 226
},
{
"Name": "votes11",
- "TypeId": 221
+ "TypeId": 229
},
{
"Name": "votes12",
- "TypeId": 224
+ "TypeId": 232
},
{
"Name": "votes13",
- "TypeId": 227
+ "TypeId": 235
},
{
"Name": "votes14",
- "TypeId": 230
+ "TypeId": 238
},
{
"Name": "votes15",
- "TypeId": 233
+ "TypeId": 241
},
{
"Name": "votes16",
- "TypeId": 236
+ "TypeId": 244
}
],
"Path": [
@@ -9012,45 +10952,45 @@
],
"TypeDef": "Composite"
},
- "189": {
- "TypeId": 190,
+ "197": {
+ "TypeId": 198,
"TypeDef": "Sequence"
},
- "190": {
+ "198": {
"TypeIds": [
74,
- 191
+ 199
],
"TypeDef": "Tuple"
},
- "191": {
+ "199": {
"TypeId": 63,
"TypeDef": "Compact"
},
- "192": {
- "TypeId": 193,
+ "200": {
+ "TypeId": 201,
"TypeDef": "Sequence"
},
- "193": {
+ "201": {
"TypeIds": [
74,
- 194,
- 191
+ 202,
+ 199
],
"TypeDef": "Tuple"
},
- "194": {
+ "202": {
"TypeIds": [
- 191,
- 195
+ 199,
+ 203
],
"TypeDef": "Tuple"
},
- "195": {
- "TypeId": 196,
+ "203": {
+ "TypeId": 204,
"TypeDef": "Compact"
},
- "196": {
+ "204": {
"TypeFields": [
{
"TypeName": "u16",
@@ -9064,245 +11004,245 @@
],
"TypeDef": "Composite"
},
- "197": {
- "TypeId": 198,
+ "205": {
+ "TypeId": 206,
"TypeDef": "Sequence"
},
- "198": {
+ "206": {
"TypeIds": [
74,
- 199,
- 191
+ 207,
+ 199
],
"TypeDef": "Tuple"
},
- "199": {
+ "207": {
"Length": 2,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "200": {
- "TypeId": 201,
+ "208": {
+ "TypeId": 209,
"TypeDef": "Sequence"
},
- "201": {
+ "209": {
"TypeIds": [
74,
- 202,
- 191
+ 210,
+ 199
],
"TypeDef": "Tuple"
},
- "202": {
+ "210": {
"Length": 3,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "203": {
- "TypeId": 204,
+ "211": {
+ "TypeId": 212,
"TypeDef": "Sequence"
},
- "204": {
+ "212": {
"TypeIds": [
74,
- 205,
- 191
+ 213,
+ 199
],
"TypeDef": "Tuple"
},
- "205": {
+ "213": {
"Length": 4,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "206": {
- "TypeId": 207,
+ "214": {
+ "TypeId": 215,
"TypeDef": "Sequence"
},
- "207": {
+ "215": {
"TypeIds": [
74,
- 208,
- 191
+ 216,
+ 199
],
"TypeDef": "Tuple"
},
- "208": {
+ "216": {
"Length": 5,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "209": {
- "TypeId": 210,
+ "217": {
+ "TypeId": 218,
"TypeDef": "Sequence"
},
- "210": {
+ "218": {
"TypeIds": [
74,
- 211,
- 191
+ 219,
+ 199
],
"TypeDef": "Tuple"
},
- "211": {
+ "219": {
"Length": 6,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "212": {
- "TypeId": 213,
+ "220": {
+ "TypeId": 221,
"TypeDef": "Sequence"
},
- "213": {
+ "221": {
"TypeIds": [
74,
- 214,
- 191
+ 222,
+ 199
],
"TypeDef": "Tuple"
},
- "214": {
+ "222": {
"Length": 7,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "215": {
- "TypeId": 216,
+ "223": {
+ "TypeId": 224,
"TypeDef": "Sequence"
},
- "216": {
+ "224": {
"TypeIds": [
74,
- 217,
- 191
+ 225,
+ 199
],
"TypeDef": "Tuple"
},
- "217": {
+ "225": {
"Length": 8,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "218": {
- "TypeId": 219,
+ "226": {
+ "TypeId": 227,
"TypeDef": "Sequence"
},
- "219": {
+ "227": {
"TypeIds": [
74,
- 220,
- 191
+ 228,
+ 199
],
"TypeDef": "Tuple"
},
- "220": {
+ "228": {
"Length": 9,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "221": {
- "TypeId": 222,
+ "229": {
+ "TypeId": 230,
"TypeDef": "Sequence"
},
- "222": {
+ "230": {
"TypeIds": [
74,
- 223,
- 191
+ 231,
+ 199
],
"TypeDef": "Tuple"
},
- "223": {
+ "231": {
"Length": 10,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "224": {
- "TypeId": 225,
+ "232": {
+ "TypeId": 233,
"TypeDef": "Sequence"
},
- "225": {
+ "233": {
"TypeIds": [
74,
- 226,
- 191
+ 234,
+ 199
],
"TypeDef": "Tuple"
},
- "226": {
+ "234": {
"Length": 11,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "227": {
- "TypeId": 228,
+ "235": {
+ "TypeId": 236,
"TypeDef": "Sequence"
},
- "228": {
+ "236": {
"TypeIds": [
74,
- 229,
- 191
+ 237,
+ 199
],
"TypeDef": "Tuple"
},
- "229": {
+ "237": {
"Length": 12,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "230": {
- "TypeId": 231,
+ "238": {
+ "TypeId": 239,
"TypeDef": "Sequence"
},
- "231": {
+ "239": {
"TypeIds": [
74,
- 232,
- 191
+ 240,
+ 199
],
"TypeDef": "Tuple"
},
- "232": {
+ "240": {
"Length": 13,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "233": {
- "TypeId": 234,
+ "241": {
+ "TypeId": 242,
"TypeDef": "Sequence"
},
- "234": {
+ "242": {
"TypeIds": [
74,
- 235,
- 191
+ 243,
+ 199
],
"TypeDef": "Tuple"
},
- "235": {
+ "243": {
"Length": 14,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "236": {
- "TypeId": 237,
+ "244": {
+ "TypeId": 245,
"TypeDef": "Sequence"
},
- "237": {
+ "245": {
"TypeIds": [
74,
- 238,
- 191
+ 246,
+ 199
],
"TypeDef": "Tuple"
},
- "238": {
+ "246": {
"Length": 15,
- "TypeId": 194,
+ "TypeId": 202,
"TypeDef": "Array"
},
- "239": {
+ "247": {
"TypeFields": [
{
"Name": "minimal_stake",
@@ -9326,7 +11266,7 @@
],
"TypeDef": "Composite"
},
- "240": {
+ "248": {
"TypeFields": [
{
"Name": "voters",
@@ -9345,7 +11285,7 @@
],
"TypeDef": "Composite"
},
- "241": {
+ "249": {
"Variants": [
{
"Name": "None",
@@ -9356,7 +11296,7 @@
"Name": "Some",
"TypeFields": [
{
- "TypeId": 239
+ "TypeId": 247
}
],
"Index": 1
@@ -9368,23 +11308,23 @@
"TypeParams": [
{
"Name": "T",
- "TypeId": 239
+ "TypeId": 247
}
],
"TypeDef": "Variant"
},
- "242": {
- "TypeId": 243,
+ "250": {
+ "TypeId": 251,
"TypeDef": "Sequence"
},
- "243": {
+ "251": {
"TypeIds": [
0,
- 244
+ 252
],
"TypeDef": "Tuple"
},
- "244": {
+ "252": {
"TypeFields": [
{
"Name": "total",
@@ -9394,7 +11334,7 @@
{
"Name": "voters",
"TypeName": "Vec<(AccountId, ExtendedBalance)>",
- "TypeId": 245
+ "TypeId": 253
}
],
"Path": [
@@ -9409,18 +11349,18 @@
],
"TypeDef": "Composite"
},
- "245": {
- "TypeId": 246,
+ "253": {
+ "TypeId": 254,
"TypeDef": "Sequence"
},
- "246": {
+ "254": {
"TypeIds": [
0,
6
],
"TypeDef": "Tuple"
},
- "247": {
+ "255": {
"Variants": [
{
"Name": "propose_bounty",
@@ -9428,17 +11368,28 @@
{
"Name": "value",
"TypeName": "BalanceOf