@d9-network/spec 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/node_modules/@polkadot-api/descriptors/dist/chunk-7P6ASYW6.mjs +9 -0
  2. package/node_modules/@polkadot-api/descriptors/dist/common-types.d.ts +3371 -0
  3. package/node_modules/@polkadot-api/descriptors/dist/common.d.ts +1 -0
  4. package/node_modules/@polkadot-api/descriptors/dist/contracts/burnManager.d.ts +183 -0
  5. package/node_modules/@polkadot-api/descriptors/dist/contracts/burnMining.d.ts +184 -0
  6. package/node_modules/@polkadot-api/descriptors/dist/contracts/crossChainTransfer.d.ts +249 -0
  7. package/node_modules/@polkadot-api/descriptors/dist/contracts/index.d.ts +8 -0
  8. package/node_modules/@polkadot-api/descriptors/dist/contracts/marketMaker.d.ts +209 -0
  9. package/node_modules/@polkadot-api/descriptors/dist/contracts/merchantMining.d.ts +263 -0
  10. package/node_modules/@polkadot-api/descriptors/dist/contracts/miningPool.d.ts +159 -0
  11. package/node_modules/@polkadot-api/descriptors/dist/contracts/nodeReward.d.ts +172 -0
  12. package/node_modules/@polkadot-api/descriptors/dist/contracts/usdt.d.ts +145 -0
  13. package/node_modules/@polkadot-api/descriptors/dist/d9.d.ts +3346 -0
  14. package/node_modules/@polkadot-api/descriptors/dist/d9_metadata-EHIEZLL5.mjs +8 -0
  15. package/node_modules/@polkadot-api/descriptors/dist/d9_metadata.d.ts +2 -0
  16. package/node_modules/@polkadot-api/descriptors/dist/descriptors-JQ4ZJQ4V.mjs +29 -0
  17. package/node_modules/@polkadot-api/descriptors/dist/descriptors.d.ts +1 -0
  18. package/node_modules/@polkadot-api/descriptors/dist/index.d.ts +11 -0
  19. package/node_modules/@polkadot-api/descriptors/dist/index.js +200 -0
  20. package/node_modules/@polkadot-api/descriptors/dist/index.mjs +115 -0
  21. package/node_modules/@polkadot-api/descriptors/dist/metadataTypes-32V7BYUB.mjs +8 -0
  22. package/node_modules/@polkadot-api/descriptors/dist/metadataTypes.d.ts +2 -0
  23. package/node_modules/@polkadot-api/descriptors/generated.json +1 -0
  24. package/node_modules/@polkadot-api/descriptors/package.json +24 -0
  25. package/package.json +5 -2
@@ -0,0 +1,3346 @@
1
+ import { StorageDescriptor, PlainDescriptor, TxDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, FixedSizeBinary, Binary, FixedSizeArray } from "polkadot-api";
2
+ import { Ic5m5lp1oioo8r, Ihfphjolmsqq1, Idrurqd6ddlmr3, I2na29tt2afp0j, Ia2lhg7l2hilo3, I9ft3qmrv5je1f, I8oim79f1d4kf0, I1q8tnt1cluu5j, I8ds64oj6581v0, I9bin2jc70qt6q, GrandpaStoredState, I7pe2me3i3vtn9, I9jd27rnpm8ttv, I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2, I4mkleqnhi2c9f, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, TransactionPaymentReleases, I3qklfjubrljqh, Ifpr2ehamqbtpn, I7svnfko10tq2e, I4s6jkha20aoh0, I2brm5b9jij1st, I78s05f59eoi8b, Idbc6j12l47q6u, I99bb69usss9gs, Iba6d6esmudd4l, Iajr55k07398gt, I4cu6usuqp8s16, I8t4pajubp34g3, I4pact7n2e9a0i, Icgdc6619k0j8h, I3jnic9t7c9s12, Icgljjb6j82uhn, Ibi8anou2vv8ko, I82jm9g7pufuel, Iegmj7n48sc3am, I6asvuaa371pho, Iahe10507jfnjb, I1sg558l3j27vd, I4qtcfejrn68ub, I633kkio6e6dvg, Iertf1uspcjckm, In7a38730s6qs, If15el53dd76v9, I9s0ave7t0vnrk, Ic6nglu2db2c36, I4q39t5hn830vp, I1q6j2f64t5q87, I35p85j063s0il, Iatgdi2kcv135n, I9v2pl8dvist4n, I99b0kdiutrec0, Ieue63tv8cm6fj, Ifngtmog63ju60, Idq1r98dclp264, I7j6vt4ra6khhv, I37gkv4ibak4u6, I29iqhd70jua80, Iddf3ptb5cr131, Iam7af3p82h77u, I4ktuaksf5i1gk, I2vudfeo4jg9um, I9bqtpv2ii35mp, I9j7pagd6d4bda, I2h9pmio37r7fb, Ibmr18suc9ikh9, I9iq22t0burs89, I3a5kuu5t5jj3g, I2hviml3snvhhn, I5ieg0uffm6362, Icnilucsdvt9dl, I8k3rnvpeeh4hv, Iducklp98fr36e, I8ofcg5rbj0g2c, I4adgbll7gku4i, I6pjjpfvhvcfru, I9pj91mj79qekl, I39uah9nss64h9, Ik64dknsq7k08, Idcr6u6361oad9, Ic357tcepuvo5c, I2rnoam876ruhj, Ic5b47dj4coa3r, Ib3qnc19gu633c, Ifira6u9hi7cu1, I72tqocvdoqfff, I2i27f3sfmvc05, I1nlrtd1epki2d, I3abtumcmempjs, Id81m8flopt8ha, I8hff7chabggkd, I49i39mtj1ivbs, Ifkr2kcak2vto1, I1ju6r8q0cs9jt, I4kpeq6j7cd5bu, I5na1ka76k6811, I59mhdb9omdqfa, I9vl5kpk0fpakt, I717jt61hu19b4, I38jfk5li8iang, I81bepctomm169, Ib8e4i1c3merv7, I2dtrijkm5601t, I2ev73t79f46tb, Ib2obgji960euh, Ia2rnh5pfua40a, I3otc7e9a35k1k, I89ier5tb9ne0s, Im2f0numhevg3, Ib51vk42m1po4n, I2agkcpojhkk43, I32rvg545edabm, I83fv0vi59md7i, I5tjjqcdd4tae0, I8lba6g6is07ov, I7e25ln6niqtfu, Iffcutbjvs7mcv, Icm9m0qeemu66d, Icnrv1mfbd3in1, I4fpsonn5j8ai1, Ie2ucfidi90b0e, I9khdgpnnuth59, I4g2n89k9snq80, Icrf0bc54q02cm, I2nufb64tt01st, Icaemmvog4s1bf, I95cgc2lf0oi91, I73402qtagb1c2, I7v7r0cihtaupi, Ibl4potoitj8d4, Ibvn4b8lrtppoe, I3015mdrqab6c7, Icv68aq8841478, Ic262ibdoec56a, Iflcfm9b6nlmdd, Ijrsf4mnp3eka, Id5fm4p8lj5qgi, I8tjvj9uq4b7hi, I4cbvqmqadhrea, I3qt1hgg4djhgb, I5768ac424h061, I34ij139cfkd29, I4sdl4mafpdt24, Ia82mnkmeo2rhc, Ik28h8117tnle, Icbccs0ug47ilf, I855j4i3kr8ko1, Ier2cke86dqbr2, I88ff3u4dpivk, I33cp947glv1ks, Ic9om1gmmqu7rq, I5hfov2b68ppb6, Ibthhb2m9vneds, Iaitn5bqfacj7k, If4ebvclj2ugvi, Ia5le7udkgbaq9, Ieduc1e6frq8rb, I9h6gbtabovtm4, Ifnsa0dkkpf465, I65dtqr2egjbc3, Ibqj3vg5s5lk0c, I6l73u513p8rna, Iefqmt2htu1dlu, Ift6f10887nk72, I7qc53b1tvqjg2, I8ugagfge33cr6, Iak7fhrgb9jnnq, Ie5222qfrr24ek, I28g8sphdu312k, I853aigjva3f0t, I7q5qk4uoanhof, I33ec4tl0gpobd, Idht9upmipvd4j, I6niuoceqveh04, I6qlgjcdbigsr7, I2hq50pu2kdjpo, I44hc4lgsn4o1j, I8iksqi3eani0a, I16enopmju1p0q, Ifgqhle2413de7, I43kq8qudg7pq9, I76riseemre533, Ie5v6njpckr05b, I38bmcrmh852rk, I4hcillge8de5f, I95l2k9b1re95f, I2evmoek0livio, Ifi8hei4mra7b1, I8uo3fpd3bcc6f, I6ouflveob4eli } from "./common-types";
3
+ type AnonymousEnum<T extends {}> = T & {
4
+ __anonymous: true;
5
+ };
6
+ type MyTuple<T> = [T, ...T[]];
7
+ type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
8
+ type Anonymize<T> = SeparateUndefined<T extends FixedSizeBinary<infer L> ? number extends L ? Binary : FixedSizeBinary<L> : T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
9
+ [K in keyof T]: T[K];
10
+ } : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
11
+ [K in keyof T & string]: T[K];
12
+ }>;
13
+ type IStorage = {
14
+ Aura: {
15
+ /**
16
+ * The current authority set.
17
+ */
18
+ Authorities: StorageDescriptor<[], Anonymize<Ic5m5lp1oioo8r>, false, never>;
19
+ /**
20
+ * The current slot of this block.
21
+ *
22
+ * This will be set in `on_initialize`.
23
+ */
24
+ CurrentSlot: StorageDescriptor<[], bigint, false, never>;
25
+ };
26
+ D9Referral: {
27
+ /**
28
+ * from the perspective of a node in the referral tree,
29
+ * the MaxReferralDepth is the largest Nth ancestor node
30
+ * This associated type is only necessary for first run of
31
+ * the chain as it will define the default value for the
32
+ * MaxReferralDepth storage item. This value can be changed during runtime
33
+ * through an extrinsic call.
34
+ */
35
+ MaxReferralDepth: StorageDescriptor<[], number, false, never>;
36
+ /**
37
+ * (child -> parent) referral relationship AccountId -> AccountId
38
+ */
39
+ ReferralRelationships: StorageDescriptor<[Key: SS58String], SS58String, true, never>;
40
+ /**
41
+
42
+ */
43
+ DirectReferralsCount: StorageDescriptor<[Key: SS58String], number, false, never>;
44
+ };
45
+ D9Treasury: {
46
+ /**
47
+ * Number of proposals that have been made.
48
+ */
49
+ Treasurer: StorageDescriptor<[], Anonymize<Ihfphjolmsqq1>, true, never>;
50
+ };
51
+ D9NodeVoting: {
52
+ /**
53
+ * defines the voting power of a user
54
+ */
55
+ UsersVotingInterests: StorageDescriptor<[Key: SS58String], Anonymize<Idrurqd6ddlmr3>, true, never>;
56
+ /**
57
+ * defines the vote distribution of a user to some candidate
58
+ *
59
+ * user -> candidate -> votes
60
+ * UserToNodeVotesTotals == NodeToUserVotesTotals
61
+ */
62
+ UserToNodeVotesTotals: StorageDescriptor<Anonymize<I2na29tt2afp0j>, bigint, false, never>;
63
+ /**
64
+ * defines the supporters of a candidate
65
+ *
66
+ * candidate -> supporter -> votes
67
+ * UserToNodeVotesTotals == NodeToUserVotesTotals
68
+ */
69
+ NodeToUserVotesTotals: StorageDescriptor<Anonymize<I2na29tt2afp0j>, bigint, false, never>;
70
+ /**
71
+ * grand total of votes for a candidate
72
+ *
73
+ * this Map can be no larger than MaxCandidates
74
+ */
75
+ NodeAccumulativeVotes: StorageDescriptor<[Key: SS58String], bigint, true, never>;
76
+ /**
77
+
78
+ */
79
+ CurrentNumberOfCandidatesNodes: StorageDescriptor<[], number, false, never>;
80
+ /**
81
+
82
+ */
83
+ SessionNodeList: StorageDescriptor<[Key: number], Anonymize<Ia2lhg7l2hilo3>, true, never>;
84
+ /**
85
+
86
+ */
87
+ CurrentSessionIndex: StorageDescriptor<[], number, false, never>;
88
+ /**
89
+
90
+ */
91
+ CurrentValidatorVoteStats: StorageDescriptor<[Key: SS58String], Anonymize<I9ft3qmrv5je1f>, true, never>;
92
+ /**
93
+
94
+ */
95
+ NodeMetadata: StorageDescriptor<[Key: SS58String], Anonymize<I8oim79f1d4kf0>, true, never>;
96
+ /**
97
+
98
+ */
99
+ PalletAdmin: StorageDescriptor<[], SS58String, true, never>;
100
+ };
101
+ D9NodeRewards: {
102
+ /**
103
+
104
+ */
105
+ NodeRewardContract: StorageDescriptor<[], SS58String, true, never>;
106
+ /**
107
+
108
+ */
109
+ PalletAdmin: StorageDescriptor<[], SS58String, true, never>;
110
+ };
111
+ Balances: {
112
+ /**
113
+ * The total units issued in the system.
114
+ */
115
+ TotalIssuance: StorageDescriptor<[], bigint, false, never>;
116
+ /**
117
+ * The total units of outstanding deactivated balance in the system.
118
+ */
119
+ InactiveIssuance: StorageDescriptor<[], bigint, false, never>;
120
+ /**
121
+ * The Balances pallet example of storing the balance of an account.
122
+ *
123
+ * # Example
124
+ *
125
+ * ```nocompile
126
+ * impl pallet_balances::Config for Runtime {
127
+ * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
128
+ * }
129
+ * ```
130
+ *
131
+ * You can also store the balance of an account in the `System` pallet.
132
+ *
133
+ * # Example
134
+ *
135
+ * ```nocompile
136
+ * impl pallet_balances::Config for Runtime {
137
+ * type AccountStore = System
138
+ * }
139
+ * ```
140
+ *
141
+ * But this comes with tradeoffs, storing account balances in the system pallet stores
142
+ * `frame_system` data alongside the account data contrary to storing account balances in the
143
+ * `Balances` pallet, which uses a `StorageMap` to store balances data only.
144
+ * NOTE: This is only used in the case that this pallet is used to store balances.
145
+ */
146
+ Account: StorageDescriptor<[Key: SS58String], Anonymize<I1q8tnt1cluu5j>, false, never>;
147
+ /**
148
+ * Any liquidity locks on some account balances.
149
+ * NOTE: Should only be accessed when setting, changing and freeing a lock.
150
+ */
151
+ Locks: StorageDescriptor<[Key: SS58String], Anonymize<I8ds64oj6581v0>, false, never>;
152
+ /**
153
+ * Named reserves on some account balances.
154
+ */
155
+ Reserves: StorageDescriptor<[Key: SS58String], Anonymize<I9bin2jc70qt6q>, false, never>;
156
+ /**
157
+ * Holds on account balances.
158
+ */
159
+ Holds: StorageDescriptor<[Key: SS58String], Anonymize<I9bin2jc70qt6q>, false, never>;
160
+ /**
161
+ * Freeze locks on account balances.
162
+ */
163
+ Freezes: StorageDescriptor<[Key: SS58String], Anonymize<I9bin2jc70qt6q>, false, never>;
164
+ };
165
+ Grandpa: {
166
+ /**
167
+ * State of the current authority set.
168
+ */
169
+ State: StorageDescriptor<[], GrandpaStoredState, false, never>;
170
+ /**
171
+ * Pending change: (signaled at, scheduled change).
172
+ */
173
+ PendingChange: StorageDescriptor<[], Anonymize<I7pe2me3i3vtn9>, true, never>;
174
+ /**
175
+ * next block number where we can force a change.
176
+ */
177
+ NextForced: StorageDescriptor<[], number, true, never>;
178
+ /**
179
+ * `true` if we are currently stalled.
180
+ */
181
+ Stalled: StorageDescriptor<[], Anonymize<I9jd27rnpm8ttv>, true, never>;
182
+ /**
183
+ * The number of changes (both in terms of keys and underlying economic responsibilities)
184
+ * in the "set" of Grandpa validators from genesis.
185
+ */
186
+ CurrentSetId: StorageDescriptor<[], bigint, false, never>;
187
+ /**
188
+ * A mapping from grandpa set ID to the index of the *most recent* session for which its
189
+ * members were responsible.
190
+ *
191
+ * This is only used for validating equivocation proofs. An equivocation proof must
192
+ * contains a key-ownership proof for a given session, therefore we need a way to tie
193
+ * together sessions and GRANDPA set ids, i.e. we need to validate that a validator
194
+ * was the owner of a given key on a given session, and what the active set ID was
195
+ * during that session.
196
+ *
197
+ * TWOX-NOTE: `SetId` is not under user control.
198
+ */
199
+ SetIdSession: StorageDescriptor<[Key: bigint], number, true, never>;
200
+ };
201
+ Sudo: {
202
+ /**
203
+ * The `AccountId` of the sudo key.
204
+ */
205
+ Key: StorageDescriptor<[], SS58String, true, never>;
206
+ };
207
+ System: {
208
+ /**
209
+ * The full account information for a particular account ID.
210
+ */
211
+ Account: StorageDescriptor<[Key: SS58String], Anonymize<I5sesotjlssv2d>, false, never>;
212
+ /**
213
+ * Total extrinsics count for the current block.
214
+ */
215
+ ExtrinsicCount: StorageDescriptor<[], number, true, never>;
216
+ /**
217
+ * The current weight for the block.
218
+ */
219
+ BlockWeight: StorageDescriptor<[], Anonymize<Iffmde3ekjedi9>, false, never>;
220
+ /**
221
+ * Total length (in bytes) for all extrinsics put together, for the current block.
222
+ */
223
+ AllExtrinsicsLen: StorageDescriptor<[], number, true, never>;
224
+ /**
225
+ * Map of block numbers to block hashes.
226
+ */
227
+ BlockHash: StorageDescriptor<[Key: number], FixedSizeBinary<32>, false, never>;
228
+ /**
229
+ * Extrinsics data for the current block (maps an extrinsic's index to its data).
230
+ */
231
+ ExtrinsicData: StorageDescriptor<[Key: number], Binary, false, never>;
232
+ /**
233
+ * The current block number being processed. Set by `execute_block`.
234
+ */
235
+ Number: StorageDescriptor<[], number, false, never>;
236
+ /**
237
+ * Hash of the previous block.
238
+ */
239
+ ParentHash: StorageDescriptor<[], FixedSizeBinary<32>, false, never>;
240
+ /**
241
+ * Digest of the current block, also part of the block header.
242
+ */
243
+ Digest: StorageDescriptor<[], Anonymize<I4mddgoa69c0a2>, false, never>;
244
+ /**
245
+ * Events deposited for the current block.
246
+ *
247
+ * NOTE: The item is unbound and should therefore never be read on chain.
248
+ * It could otherwise inflate the PoV size of a block.
249
+ *
250
+ * Events have a large in-memory size. Box the events to not go out-of-memory
251
+ * just in case someone still reads them from within the runtime.
252
+ */
253
+ Events: StorageDescriptor<[], Anonymize<I4mkleqnhi2c9f>, false, never>;
254
+ /**
255
+ * The number of events in the `Events<T>` list.
256
+ */
257
+ EventCount: StorageDescriptor<[], number, false, never>;
258
+ /**
259
+ * Mapping between a topic (represented by T::Hash) and a vector of indexes
260
+ * of events in the `<Events<T>>` list.
261
+ *
262
+ * All topic vectors have deterministic storage locations depending on the topic. This
263
+ * allows light-clients to leverage the changes trie storage tracking mechanism and
264
+ * in case of changes fetch the list of events of interest.
265
+ *
266
+ * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just
267
+ * the `EventIndex` then in case if the topic has the same contents on the next block
268
+ * no notification will be triggered thus the event might be lost.
269
+ */
270
+ EventTopics: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<I95g6i7ilua7lq>, false, never>;
271
+ /**
272
+ * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
273
+ */
274
+ LastRuntimeUpgrade: StorageDescriptor<[], Anonymize<Ieniouoqkq4icf>, true, never>;
275
+ /**
276
+ * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
277
+ */
278
+ UpgradedToU32RefCount: StorageDescriptor<[], boolean, false, never>;
279
+ /**
280
+ * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
281
+ * (default) if not.
282
+ */
283
+ UpgradedToTripleRefCount: StorageDescriptor<[], boolean, false, never>;
284
+ /**
285
+ * The execution phase of the block.
286
+ */
287
+ ExecutionPhase: StorageDescriptor<[], Phase, true, never>;
288
+ };
289
+ Timestamp: {
290
+ /**
291
+ * Current time for the current block.
292
+ */
293
+ Now: StorageDescriptor<[], bigint, false, never>;
294
+ /**
295
+ * Did the timestamp get updated in this block?
296
+ */
297
+ DidUpdate: StorageDescriptor<[], boolean, false, never>;
298
+ };
299
+ TransactionPayment: {
300
+ /**
301
+
302
+ */
303
+ NextFeeMultiplier: StorageDescriptor<[], bigint, false, never>;
304
+ /**
305
+
306
+ */
307
+ StorageVersion: StorageDescriptor<[], TransactionPaymentReleases, false, never>;
308
+ };
309
+ Assets: {
310
+ /**
311
+ * Details of an asset.
312
+ */
313
+ Asset: StorageDescriptor<[Key: number], Anonymize<I3qklfjubrljqh>, true, never>;
314
+ /**
315
+ * The holdings of a specific account for a specific asset.
316
+ */
317
+ Account: StorageDescriptor<Anonymize<I7svnfko10tq2e>, Anonymize<Ifpr2ehamqbtpn>, true, never>;
318
+ /**
319
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
320
+ * is the amount of `T::Currency` reserved for storing this.
321
+ * First key is the asset ID, second key is the owner and third key is the delegate.
322
+ */
323
+ Approvals: StorageDescriptor<Anonymize<I2brm5b9jij1st>, Anonymize<I4s6jkha20aoh0>, true, never>;
324
+ /**
325
+ * Metadata of an asset.
326
+ */
327
+ Metadata: StorageDescriptor<[Key: number], Anonymize<I78s05f59eoi8b>, false, never>;
328
+ };
329
+ AuthorityDiscovery: {
330
+ /**
331
+ * Keys of the current authority set.
332
+ */
333
+ Keys: StorageDescriptor<[], Anonymize<Ic5m5lp1oioo8r>, false, never>;
334
+ /**
335
+ * Keys of the next authority set.
336
+ */
337
+ NextKeys: StorageDescriptor<[], Anonymize<Ic5m5lp1oioo8r>, false, never>;
338
+ };
339
+ Collective: {
340
+ /**
341
+ * The hashes of the active proposals.
342
+ */
343
+ Proposals: StorageDescriptor<[], Anonymize<Ic5m5lp1oioo8r>, false, never>;
344
+ /**
345
+ * Actual proposal for a given hash, if it's current.
346
+ */
347
+ ProposalOf: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<Idbc6j12l47q6u>, true, never>;
348
+ /**
349
+ * Votes on a given proposal, if it is ongoing.
350
+ */
351
+ Voting: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<I99bb69usss9gs>, true, never>;
352
+ /**
353
+ * Proposals so far.
354
+ */
355
+ ProposalCount: StorageDescriptor<[], number, false, never>;
356
+ /**
357
+ * The current members of the collective. This is stored sorted (just by value).
358
+ */
359
+ Members: StorageDescriptor<[], Anonymize<Ia2lhg7l2hilo3>, false, never>;
360
+ /**
361
+ * The prime member that helps determine the default vote behavior in case of absentations.
362
+ */
363
+ Prime: StorageDescriptor<[], SS58String, true, never>;
364
+ };
365
+ Contracts: {
366
+ /**
367
+ * A mapping from an original code hash to the original code, untouched by instrumentation.
368
+ */
369
+ PristineCode: StorageDescriptor<[Key: FixedSizeBinary<32>], Binary, true, never>;
370
+ /**
371
+ * A mapping between an original code hash and instrumented wasm code, ready for execution.
372
+ */
373
+ CodeStorage: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<Iba6d6esmudd4l>, true, never>;
374
+ /**
375
+ * A mapping between an original code hash and its owner information.
376
+ */
377
+ OwnerInfoOf: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<Iajr55k07398gt>, true, never>;
378
+ /**
379
+ * This is a **monotonic** counter incremented on contract instantiation.
380
+ *
381
+ * This is used in order to generate unique trie ids for contracts.
382
+ * The trie id of a new contract is calculated from hash(account_id, nonce).
383
+ * The nonce is required because otherwise the following sequence would lead to
384
+ * a possible collision of storage:
385
+ *
386
+ * 1. Create a new contract.
387
+ * 2. Terminate the contract.
388
+ * 3. Immediately recreate the contract with the same account_id.
389
+ *
390
+ * This is bad because the contents of a trie are deleted lazily and there might be
391
+ * storage of the old instantiation still in it when the new contract is created. Please
392
+ * note that we can't replace the counter by the block number because the sequence above
393
+ * can happen in the same block. We also can't keep the account counter in memory only
394
+ * because storage is the only way to communicate across different extrinsics in the
395
+ * same block.
396
+ *
397
+ * # Note
398
+ *
399
+ * Do not use it to determine the number of contracts. It won't be decremented if
400
+ * a contract is destroyed.
401
+ */
402
+ Nonce: StorageDescriptor<[], bigint, false, never>;
403
+ /**
404
+ * The code associated with a given account.
405
+ *
406
+ * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
407
+ */
408
+ ContractInfoOf: StorageDescriptor<[Key: SS58String], Anonymize<I4cu6usuqp8s16>, true, never>;
409
+ /**
410
+ * Evicted contracts that await child trie deletion.
411
+ *
412
+ * Child trie deletion is a heavy operation depending on the amount of storage items
413
+ * stored in said trie. Therefore this operation is performed lazily in `on_idle`.
414
+ */
415
+ DeletionQueue: StorageDescriptor<[Key: number], Binary, true, never>;
416
+ /**
417
+ * A pair of monotonic counters used to track the latest contract marked for deletion
418
+ * and the latest deleted contract in queue.
419
+ */
420
+ DeletionQueueCounter: StorageDescriptor<[], Anonymize<I8t4pajubp34g3>, false, never>;
421
+ };
422
+ Historical: {
423
+ /**
424
+ * Mapping from historical session indices to session-data root hash and validator count.
425
+ */
426
+ HistoricalSessions: StorageDescriptor<[Key: number], Anonymize<I4pact7n2e9a0i>, true, never>;
427
+ /**
428
+ * The range of historical sessions we store. [first, last)
429
+ */
430
+ StoredRange: StorageDescriptor<[], Anonymize<I9jd27rnpm8ttv>, true, never>;
431
+ };
432
+ ImOnline: {
433
+ /**
434
+ * The block number after which it's ok to send heartbeats in the current
435
+ * session.
436
+ *
437
+ * At the beginning of each session we set this to a value that should fall
438
+ * roughly in the middle of the session duration. The idea is to first wait for
439
+ * the validators to produce a block in the current session, so that the
440
+ * heartbeat later on will not be necessary.
441
+ *
442
+ * This value will only be used as a fallback if we fail to get a proper session
443
+ * progress estimate from `NextSessionRotation`, as those estimates should be
444
+ * more accurate then the value we calculate for `HeartbeatAfter`.
445
+ */
446
+ HeartbeatAfter: StorageDescriptor<[], number, false, never>;
447
+ /**
448
+ * The current set of keys that may issue a heartbeat.
449
+ */
450
+ Keys: StorageDescriptor<[], Anonymize<Ic5m5lp1oioo8r>, false, never>;
451
+ /**
452
+ * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to
453
+ * `WrapperOpaque<BoundedOpaqueNetworkState>`.
454
+ */
455
+ ReceivedHeartbeats: StorageDescriptor<Anonymize<I9jd27rnpm8ttv>, Anonymize<Icgdc6619k0j8h>, true, never>;
456
+ /**
457
+ * For each session index, we keep a mapping of `ValidatorId<T>` to the
458
+ * number of blocks authored by the given authority.
459
+ */
460
+ AuthoredBlocks: StorageDescriptor<Anonymize<I7svnfko10tq2e>, number, false, never>;
461
+ };
462
+ RandomnessCollectiveFlip: {
463
+ /**
464
+ * Series of block headers from the last 81 blocks that acts as random seed material. This
465
+ * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of
466
+ * the oldest hash.
467
+ */
468
+ RandomMaterial: StorageDescriptor<[], Anonymize<Ic5m5lp1oioo8r>, false, never>;
469
+ };
470
+ Session: {
471
+ /**
472
+ * The current set of validators.
473
+ */
474
+ Validators: StorageDescriptor<[], Anonymize<Ia2lhg7l2hilo3>, false, never>;
475
+ /**
476
+ * Current index of the session.
477
+ */
478
+ CurrentIndex: StorageDescriptor<[], number, false, never>;
479
+ /**
480
+ * True if the underlying economic identities or weighting behind the validators
481
+ * has changed in the queued validator set.
482
+ */
483
+ QueuedChanged: StorageDescriptor<[], boolean, false, never>;
484
+ /**
485
+ * The queued keys for the next session. When the next session begins, these keys
486
+ * will be used to determine the validator's session keys.
487
+ */
488
+ QueuedKeys: StorageDescriptor<[], Anonymize<I3jnic9t7c9s12>, false, never>;
489
+ /**
490
+ * Indices of disabled validators.
491
+ *
492
+ * The vec is always kept sorted so that we can find whether a given validator is
493
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
494
+ * a new set of identities.
495
+ */
496
+ DisabledValidators: StorageDescriptor<[], Anonymize<Icgljjb6j82uhn>, false, never>;
497
+ /**
498
+ * The next session keys for a validator.
499
+ */
500
+ NextKeys: StorageDescriptor<[Key: SS58String], Anonymize<Ibi8anou2vv8ko>, true, never>;
501
+ /**
502
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
503
+ */
504
+ KeyOwner: StorageDescriptor<[Key: Anonymize<I82jm9g7pufuel>], SS58String, true, never>;
505
+ };
506
+ Treasury: {
507
+ /**
508
+ * Number of proposals that have been made.
509
+ */
510
+ ProposalCount: StorageDescriptor<[], number, false, never>;
511
+ /**
512
+ * Proposals that have been made.
513
+ */
514
+ Proposals: StorageDescriptor<[Key: number], Anonymize<Iegmj7n48sc3am>, true, never>;
515
+ /**
516
+ * The amount which has been reported as inactive to Currency.
517
+ */
518
+ Deactivated: StorageDescriptor<[], bigint, false, never>;
519
+ /**
520
+ * Proposal indices that have been approved but not yet awarded.
521
+ */
522
+ Approvals: StorageDescriptor<[], Anonymize<Icgljjb6j82uhn>, false, never>;
523
+ };
524
+ CouncilLock: {
525
+ /**
526
+
527
+ */
528
+ PalletAdmin: StorageDescriptor<[], SS58String, true, never>;
529
+ /**
530
+ * fee to proposal a lock on an account. paid by the proposer
531
+ */
532
+ ProposalFee: StorageDescriptor<[], bigint, false, never>;
533
+ /**
534
+
535
+ */
536
+ MiningPoolContract: StorageDescriptor<[], SS58String, true, never>;
537
+ /**
538
+
539
+ */
540
+ Proposals: StorageDescriptor<[Key: SS58String], Anonymize<I6asvuaa371pho>, true, never>;
541
+ /**
542
+
543
+ */
544
+ Referendums: StorageDescriptor<[Key: SS58String], Anonymize<Iahe10507jfnjb>, true, never>;
545
+ /**
546
+
547
+ */
548
+ Resolutions: StorageDescriptor<Anonymize<I7svnfko10tq2e>, Anonymize<I1sg558l3j27vd>, true, never>;
549
+ /**
550
+
551
+ */
552
+ LockedAccounts: StorageDescriptor<[Key: SS58String], Anonymize<I4qtcfejrn68ub>, true, never>;
553
+ };
554
+ D9MultiSig: {
555
+ /**
556
+ * the existent multi signature accounts
557
+ *
558
+ * key: multi signature account address value: multi signature account
559
+ */
560
+ MultiSignatureAccounts: StorageDescriptor<[Key: SS58String], Anonymize<I633kkio6e6dvg>, true, never>;
561
+ /**
562
+ * key: normal accounts value: vec of multi signature account ids that user is a member of
563
+ */
564
+ UserMultiSigAccounts: StorageDescriptor<[Key: SS58String], Anonymize<Ia2lhg7l2hilo3>, true, never>;
565
+ /**
566
+ * (msa_address, proposal)
567
+ */
568
+ MinApprovalProposals: StorageDescriptor<[Key: SS58String], Anonymize<Iertf1uspcjckm>, true, never>;
569
+ };
570
+ };
571
+ type ICalls = {
572
+ D9Referral: {
573
+ /**
574
+
575
+ */
576
+ change_referral_depth: TxDescriptor<Anonymize<Iatgdi2kcv135n>>;
577
+ };
578
+ D9Treasury: {
579
+ /**
580
+
581
+ */
582
+ new_treasurer: TxDescriptor<Anonymize<I9v2pl8dvist4n>>;
583
+ };
584
+ D9NodeVoting: {
585
+ /**
586
+
587
+ */
588
+ submit_candidacy: TxDescriptor<Anonymize<I99b0kdiutrec0>>;
589
+ /**
590
+
591
+ */
592
+ add_voting_interest: TxDescriptor<Anonymize<Ieue63tv8cm6fj>>;
593
+ /**
594
+
595
+ */
596
+ delegate_votes: TxDescriptor<Anonymize<Ifngtmog63ju60>>;
597
+ /**
598
+
599
+ */
600
+ remove_candidacy: TxDescriptor<undefined>;
601
+ /**
602
+
603
+ */
604
+ try_remove_votes_from_candidate: TxDescriptor<Anonymize<Idq1r98dclp264>>;
605
+ /**
606
+
607
+ */
608
+ redistribute_votes: TxDescriptor<Anonymize<I7j6vt4ra6khhv>>;
609
+ /**
610
+
611
+ */
612
+ change_candidate_name: TxDescriptor<Anonymize<I37gkv4ibak4u6>>;
613
+ /**
614
+
615
+ */
616
+ change_candidate_supporter_share: TxDescriptor<Anonymize<I29iqhd70jua80>>;
617
+ /**
618
+
619
+ */
620
+ set_pallet_admin: TxDescriptor<Anonymize<Iddf3ptb5cr131>>;
621
+ };
622
+ D9NodeRewards: {
623
+ /**
624
+
625
+ */
626
+ set_pallet_admin: TxDescriptor<Anonymize<Iddf3ptb5cr131>>;
627
+ /**
628
+
629
+ */
630
+ set_node_reward_contract: TxDescriptor<Anonymize<Iam7af3p82h77u>>;
631
+ };
632
+ Balances: {
633
+ /**
634
+ * Transfer some liquid free balance to another account.
635
+ *
636
+ * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
637
+ * If the sender's account is below the existential deposit as a result
638
+ * of the transfer, the account will be reaped.
639
+ *
640
+ * The dispatch origin for this call must be `Signed` by the transactor.
641
+ */
642
+ transfer_allow_death: TxDescriptor<Anonymize<I4ktuaksf5i1gk>>;
643
+ /**
644
+ * Set the regular balance of a given account; it also takes a reserved balance but this
645
+ * must be the same as the account's current reserved balance.
646
+ *
647
+ * The dispatch origin for this call is `root`.
648
+ *
649
+ * WARNING: This call is DEPRECATED! Use `force_set_balance` instead.
650
+ */
651
+ set_balance_deprecated: TxDescriptor<Anonymize<I2vudfeo4jg9um>>;
652
+ /**
653
+ * Exactly as `transfer_allow_death`, except the origin must be root and the source account
654
+ * may be specified.
655
+ */
656
+ force_transfer: TxDescriptor<Anonymize<I9bqtpv2ii35mp>>;
657
+ /**
658
+ * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
659
+ * kill the origin account.
660
+ *
661
+ * 99% of the time you want [`transfer_allow_death`] instead.
662
+ *
663
+ * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
664
+ */
665
+ transfer_keep_alive: TxDescriptor<Anonymize<I4ktuaksf5i1gk>>;
666
+ /**
667
+ * Transfer the entire transferable balance from the caller account.
668
+ *
669
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
670
+ * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
671
+ * transferred by this function. To ensure that this function results in a killed account,
672
+ * you might need to prepare the account by removing any reference counters, storage
673
+ * deposits, etc...
674
+ *
675
+ * The dispatch origin of this call must be Signed.
676
+ *
677
+ * - `dest`: The recipient of the transfer.
678
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
679
+ * of the funds the account has, causing the sender account to be killed (false), or
680
+ * transfer everything except at least the existential deposit, which will guarantee to
681
+ * keep the sender account alive (true).
682
+ */
683
+ transfer_all: TxDescriptor<Anonymize<I9j7pagd6d4bda>>;
684
+ /**
685
+ * Unreserve some balance from a user by force.
686
+ *
687
+ * Can only be called by ROOT.
688
+ */
689
+ force_unreserve: TxDescriptor<Anonymize<I2h9pmio37r7fb>>;
690
+ /**
691
+ * Upgrade a specified account.
692
+ *
693
+ * - `origin`: Must be `Signed`.
694
+ * - `who`: The account to be upgraded.
695
+ *
696
+ * This will waive the transaction fee if at least all but 10% of the accounts needed to
697
+ * be upgraded. (We let some not have to be upgraded just in order to allow for the
698
+ * possibililty of churn).
699
+ */
700
+ upgrade_accounts: TxDescriptor<Anonymize<Ibmr18suc9ikh9>>;
701
+ /**
702
+ * Alias for `transfer_allow_death`, provided only for name-wise compatibility.
703
+ *
704
+ * WARNING: DEPRECATED! Will be released in approximately 3 months.
705
+ */
706
+ transfer: TxDescriptor<Anonymize<I4ktuaksf5i1gk>>;
707
+ /**
708
+ * Set the regular balance of a given account.
709
+ *
710
+ * The dispatch origin for this call is `root`.
711
+ */
712
+ force_set_balance: TxDescriptor<Anonymize<I9iq22t0burs89>>;
713
+ };
714
+ Grandpa: {
715
+ /**
716
+ * Report voter equivocation/misbehavior. This method will verify the
717
+ * equivocation proof and validate the given key ownership proof
718
+ * against the extracted offender. If both are valid, the offence
719
+ * will be reported.
720
+ */
721
+ report_equivocation: TxDescriptor<Anonymize<I3a5kuu5t5jj3g>>;
722
+ /**
723
+ * Report voter equivocation/misbehavior. This method will verify the
724
+ * equivocation proof and validate the given key ownership proof
725
+ * against the extracted offender. If both are valid, the offence
726
+ * will be reported.
727
+ *
728
+ * This extrinsic must be called unsigned and it is expected that only
729
+ * block authors will call it (validated in `ValidateUnsigned`), as such
730
+ * if the block author is defined it will be defined as the equivocation
731
+ * reporter.
732
+ */
733
+ report_equivocation_unsigned: TxDescriptor<Anonymize<I3a5kuu5t5jj3g>>;
734
+ /**
735
+ * Note that the current authority set of the GRANDPA finality gadget has stalled.
736
+ *
737
+ * This will trigger a forced authority set change at the beginning of the next session, to
738
+ * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
739
+ * that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
740
+ * The block production rate (which may be slowed down because of finality lagging) should
741
+ * be taken into account when choosing the `delay`. The GRANDPA voters based on the new
742
+ * authority will start voting on top of `best_finalized_block_number` for new finalized
743
+ * blocks. `best_finalized_block_number` should be the highest of the latest finalized
744
+ * block of all validators of the new authority set.
745
+ *
746
+ * Only callable by root.
747
+ */
748
+ note_stalled: TxDescriptor<Anonymize<I2hviml3snvhhn>>;
749
+ };
750
+ Sudo: {
751
+ /**
752
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
753
+ *
754
+ * The dispatch origin for this call must be _Signed_.
755
+ *
756
+ * ## Complexity
757
+ * - O(1).
758
+ */
759
+ sudo: TxDescriptor<Anonymize<I5ieg0uffm6362>>;
760
+ /**
761
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
762
+ * This function does not check the weight of the call, and instead allows the
763
+ * Sudo user to specify the weight of the call.
764
+ *
765
+ * The dispatch origin for this call must be _Signed_.
766
+ *
767
+ * ## Complexity
768
+ * - O(1).
769
+ */
770
+ sudo_unchecked_weight: TxDescriptor<Anonymize<Icnilucsdvt9dl>>;
771
+ /**
772
+ * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
773
+ * key.
774
+ *
775
+ * The dispatch origin for this call must be _Signed_.
776
+ *
777
+ * ## Complexity
778
+ * - O(1).
779
+ */
780
+ set_key: TxDescriptor<Anonymize<I8k3rnvpeeh4hv>>;
781
+ /**
782
+ * Authenticates the sudo key and dispatches a function call with `Signed` origin from
783
+ * a given account.
784
+ *
785
+ * The dispatch origin for this call must be _Signed_.
786
+ *
787
+ * ## Complexity
788
+ * - O(1).
789
+ */
790
+ sudo_as: TxDescriptor<Anonymize<Iducklp98fr36e>>;
791
+ };
792
+ System: {
793
+ /**
794
+ * Make some on-chain remark.
795
+ *
796
+ * ## Complexity
797
+ * - `O(1)`
798
+ */
799
+ remark: TxDescriptor<Anonymize<I8ofcg5rbj0g2c>>;
800
+ /**
801
+ * Set the number of pages in the WebAssembly environment's heap.
802
+ */
803
+ set_heap_pages: TxDescriptor<Anonymize<I4adgbll7gku4i>>;
804
+ /**
805
+ * Set the new runtime code.
806
+ *
807
+ * ## Complexity
808
+ * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
809
+ */
810
+ set_code: TxDescriptor<Anonymize<I6pjjpfvhvcfru>>;
811
+ /**
812
+ * Set the new runtime code without doing any checks of the given `code`.
813
+ *
814
+ * ## Complexity
815
+ * - `O(C)` where `C` length of `code`
816
+ */
817
+ set_code_without_checks: TxDescriptor<Anonymize<I6pjjpfvhvcfru>>;
818
+ /**
819
+ * Set some items of storage.
820
+ */
821
+ set_storage: TxDescriptor<Anonymize<I9pj91mj79qekl>>;
822
+ /**
823
+ * Kill some items from storage.
824
+ */
825
+ kill_storage: TxDescriptor<Anonymize<I39uah9nss64h9>>;
826
+ /**
827
+ * Kill all storage items with a key that starts with the given prefix.
828
+ *
829
+ * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
830
+ * the prefix we are removing to accurately calculate the weight of this function.
831
+ */
832
+ kill_prefix: TxDescriptor<Anonymize<Ik64dknsq7k08>>;
833
+ /**
834
+ * Make some on-chain remark and emit event.
835
+ */
836
+ remark_with_event: TxDescriptor<Anonymize<I8ofcg5rbj0g2c>>;
837
+ };
838
+ Timestamp: {
839
+ /**
840
+ * Set the current time.
841
+ *
842
+ * This call should be invoked exactly once per block. It will panic at the finalization
843
+ * phase, if this call hasn't been invoked by that time.
844
+ *
845
+ * The timestamp should be greater than the previous one by the amount specified by
846
+ * `MinimumPeriod`.
847
+ *
848
+ * The dispatch origin for this call must be `Inherent`.
849
+ *
850
+ * ## Complexity
851
+ * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
852
+ * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
853
+ * `on_finalize`)
854
+ * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
855
+ */
856
+ set: TxDescriptor<Anonymize<Idcr6u6361oad9>>;
857
+ };
858
+ Assets: {
859
+ /**
860
+ * Issue a new class of fungible assets from a public origin.
861
+ *
862
+ * This new asset class has no assets initially and its owner is the origin.
863
+ *
864
+ * The origin must conform to the configured `CreateOrigin` and have sufficient funds free.
865
+ *
866
+ * Funds of sender are reserved by `AssetDeposit`.
867
+ *
868
+ * Parameters:
869
+ * - `id`: The identifier of the new asset. This must not be currently in use to identify
870
+ * an existing asset.
871
+ * - `admin`: The admin of this class of assets. The admin is the initial address of each
872
+ * member of the asset class's admin team.
873
+ * - `min_balance`: The minimum balance of this new asset that any single account must
874
+ * have. If an account's balance is reduced below this, then it collapses to zero.
875
+ *
876
+ * Emits `Created` event when successful.
877
+ *
878
+ * Weight: `O(1)`
879
+ */
880
+ create: TxDescriptor<Anonymize<Ic357tcepuvo5c>>;
881
+ /**
882
+ * Issue a new class of fungible assets from a privileged origin.
883
+ *
884
+ * This new asset class has no assets initially.
885
+ *
886
+ * The origin must conform to `ForceOrigin`.
887
+ *
888
+ * Unlike `create`, no funds are reserved.
889
+ *
890
+ * - `id`: The identifier of the new asset. This must not be currently in use to identify
891
+ * an existing asset.
892
+ * - `owner`: The owner of this class of assets. The owner has full superuser permissions
893
+ * over this asset, but may later change and configure the permissions using
894
+ * `transfer_ownership` and `set_team`.
895
+ * - `min_balance`: The minimum balance of this new asset that any single account must
896
+ * have. If an account's balance is reduced below this, then it collapses to zero.
897
+ *
898
+ * Emits `ForceCreated` event when successful.
899
+ *
900
+ * Weight: `O(1)`
901
+ */
902
+ force_create: TxDescriptor<Anonymize<I2rnoam876ruhj>>;
903
+ /**
904
+ * Start the process of destroying a fungible asset class.
905
+ *
906
+ * `start_destroy` is the first in a series of extrinsics that should be called, to allow
907
+ * destruction of an asset class.
908
+ *
909
+ * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`.
910
+ *
911
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
912
+ * asset.
913
+ *
914
+ * The asset class must be frozen before calling `start_destroy`.
915
+ */
916
+ start_destroy: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
917
+ /**
918
+ * Destroy all accounts associated with a given asset.
919
+ *
920
+ * `destroy_accounts` should only be called after `start_destroy` has been called, and the
921
+ * asset is in a `Destroying` state.
922
+ *
923
+ * Due to weight restrictions, this function may need to be called multiple times to fully
924
+ * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time.
925
+ *
926
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
927
+ * asset.
928
+ *
929
+ * Each call emits the `Event::DestroyedAccounts` event.
930
+ */
931
+ destroy_accounts: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
932
+ /**
933
+ * Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
934
+ *
935
+ * `destroy_approvals` should only be called after `start_destroy` has been called, and the
936
+ * asset is in a `Destroying` state.
937
+ *
938
+ * Due to weight restrictions, this function may need to be called multiple times to fully
939
+ * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time.
940
+ *
941
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
942
+ * asset.
943
+ *
944
+ * Each call emits the `Event::DestroyedApprovals` event.
945
+ */
946
+ destroy_approvals: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
947
+ /**
948
+ * Complete destroying asset and unreserve currency.
949
+ *
950
+ * `finish_destroy` should only be called after `start_destroy` has been called, and the
951
+ * asset is in a `Destroying` state. All accounts or approvals should be destroyed before
952
+ * hand.
953
+ *
954
+ * - `id`: The identifier of the asset to be destroyed. This must identify an existing
955
+ * asset.
956
+ *
957
+ * Each successful call emits the `Event::Destroyed` event.
958
+ */
959
+ finish_destroy: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
960
+ /**
961
+ * Mint assets of a particular class.
962
+ *
963
+ * The origin must be Signed and the sender must be the Issuer of the asset `id`.
964
+ *
965
+ * - `id`: The identifier of the asset to have some amount minted.
966
+ * - `beneficiary`: The account to be credited with the minted assets.
967
+ * - `amount`: The amount of the asset to be minted.
968
+ *
969
+ * Emits `Issued` event when successful.
970
+ *
971
+ * Weight: `O(1)`
972
+ * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
973
+ */
974
+ mint: TxDescriptor<Anonymize<Ib3qnc19gu633c>>;
975
+ /**
976
+ * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
977
+ *
978
+ * Origin must be Signed and the sender should be the Manager of the asset `id`.
979
+ *
980
+ * Bails with `NoAccount` if the `who` is already dead.
981
+ *
982
+ * - `id`: The identifier of the asset to have some amount burned.
983
+ * - `who`: The account to be debited from.
984
+ * - `amount`: The maximum amount by which `who`'s balance should be reduced.
985
+ *
986
+ * Emits `Burned` with the actual amount burned. If this takes the balance to below the
987
+ * minimum for the asset, then the amount burned is increased to take it to zero.
988
+ *
989
+ * Weight: `O(1)`
990
+ * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
991
+ */
992
+ burn: TxDescriptor<Anonymize<Ifira6u9hi7cu1>>;
993
+ /**
994
+ * Move some assets from the sender account to another.
995
+ *
996
+ * Origin must be Signed.
997
+ *
998
+ * - `id`: The identifier of the asset to have some amount transferred.
999
+ * - `target`: The account to be credited.
1000
+ * - `amount`: The amount by which the sender's balance of assets should be reduced and
1001
+ * `target`'s balance increased. The amount actually transferred may be slightly greater in
1002
+ * the case that the transfer would otherwise take the sender balance above zero but below
1003
+ * the minimum balance. Must be greater than zero.
1004
+ *
1005
+ * Emits `Transferred` with the actual amount transferred. If this takes the source balance
1006
+ * to below the minimum for the asset, then the amount transferred is increased to take it
1007
+ * to zero.
1008
+ *
1009
+ * Weight: `O(1)`
1010
+ * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
1011
+ * `target`.
1012
+ */
1013
+ transfer: TxDescriptor<Anonymize<I72tqocvdoqfff>>;
1014
+ /**
1015
+ * Move some assets from the sender account to another, keeping the sender account alive.
1016
+ *
1017
+ * Origin must be Signed.
1018
+ *
1019
+ * - `id`: The identifier of the asset to have some amount transferred.
1020
+ * - `target`: The account to be credited.
1021
+ * - `amount`: The amount by which the sender's balance of assets should be reduced and
1022
+ * `target`'s balance increased. The amount actually transferred may be slightly greater in
1023
+ * the case that the transfer would otherwise take the sender balance above zero but below
1024
+ * the minimum balance. Must be greater than zero.
1025
+ *
1026
+ * Emits `Transferred` with the actual amount transferred. If this takes the source balance
1027
+ * to below the minimum for the asset, then the amount transferred is increased to take it
1028
+ * to zero.
1029
+ *
1030
+ * Weight: `O(1)`
1031
+ * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
1032
+ * `target`.
1033
+ */
1034
+ transfer_keep_alive: TxDescriptor<Anonymize<I72tqocvdoqfff>>;
1035
+ /**
1036
+ * Move some assets from one account to another.
1037
+ *
1038
+ * Origin must be Signed and the sender should be the Admin of the asset `id`.
1039
+ *
1040
+ * - `id`: The identifier of the asset to have some amount transferred.
1041
+ * - `source`: The account to be debited.
1042
+ * - `dest`: The account to be credited.
1043
+ * - `amount`: The amount by which the `source`'s balance of assets should be reduced and
1044
+ * `dest`'s balance increased. The amount actually transferred may be slightly greater in
1045
+ * the case that the transfer would otherwise take the `source` balance above zero but
1046
+ * below the minimum balance. Must be greater than zero.
1047
+ *
1048
+ * Emits `Transferred` with the actual amount transferred. If this takes the source balance
1049
+ * to below the minimum for the asset, then the amount transferred is increased to take it
1050
+ * to zero.
1051
+ *
1052
+ * Weight: `O(1)`
1053
+ * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
1054
+ * `dest`.
1055
+ */
1056
+ force_transfer: TxDescriptor<Anonymize<I2i27f3sfmvc05>>;
1057
+ /**
1058
+ * Disallow further unprivileged transfers from an account.
1059
+ *
1060
+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
1061
+ *
1062
+ * - `id`: The identifier of the asset to be frozen.
1063
+ * - `who`: The account to be frozen.
1064
+ *
1065
+ * Emits `Frozen`.
1066
+ *
1067
+ * Weight: `O(1)`
1068
+ */
1069
+ freeze: TxDescriptor<Anonymize<I1nlrtd1epki2d>>;
1070
+ /**
1071
+ * Allow unprivileged transfers from an account again.
1072
+ *
1073
+ * Origin must be Signed and the sender should be the Admin of the asset `id`.
1074
+ *
1075
+ * - `id`: The identifier of the asset to be frozen.
1076
+ * - `who`: The account to be unfrozen.
1077
+ *
1078
+ * Emits `Thawed`.
1079
+ *
1080
+ * Weight: `O(1)`
1081
+ */
1082
+ thaw: TxDescriptor<Anonymize<I1nlrtd1epki2d>>;
1083
+ /**
1084
+ * Disallow further unprivileged transfers for the asset class.
1085
+ *
1086
+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
1087
+ *
1088
+ * - `id`: The identifier of the asset to be frozen.
1089
+ *
1090
+ * Emits `Frozen`.
1091
+ *
1092
+ * Weight: `O(1)`
1093
+ */
1094
+ freeze_asset: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
1095
+ /**
1096
+ * Allow unprivileged transfers for the asset again.
1097
+ *
1098
+ * Origin must be Signed and the sender should be the Admin of the asset `id`.
1099
+ *
1100
+ * - `id`: The identifier of the asset to be thawed.
1101
+ *
1102
+ * Emits `Thawed`.
1103
+ *
1104
+ * Weight: `O(1)`
1105
+ */
1106
+ thaw_asset: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
1107
+ /**
1108
+ * Change the Owner of an asset.
1109
+ *
1110
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1111
+ *
1112
+ * - `id`: The identifier of the asset.
1113
+ * - `owner`: The new Owner of this asset.
1114
+ *
1115
+ * Emits `OwnerChanged`.
1116
+ *
1117
+ * Weight: `O(1)`
1118
+ */
1119
+ transfer_ownership: TxDescriptor<Anonymize<I3abtumcmempjs>>;
1120
+ /**
1121
+ * Change the Issuer, Admin and Freezer of an asset.
1122
+ *
1123
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1124
+ *
1125
+ * - `id`: The identifier of the asset to be frozen.
1126
+ * - `issuer`: The new Issuer of this asset.
1127
+ * - `admin`: The new Admin of this asset.
1128
+ * - `freezer`: The new Freezer of this asset.
1129
+ *
1130
+ * Emits `TeamChanged`.
1131
+ *
1132
+ * Weight: `O(1)`
1133
+ */
1134
+ set_team: TxDescriptor<Anonymize<Id81m8flopt8ha>>;
1135
+ /**
1136
+ * Set the metadata for an asset.
1137
+ *
1138
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1139
+ *
1140
+ * Funds of sender are reserved according to the formula:
1141
+ * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into
1142
+ * account any already reserved funds.
1143
+ *
1144
+ * - `id`: The identifier of the asset to update.
1145
+ * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
1146
+ * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
1147
+ * - `decimals`: The number of decimals this asset uses to represent one unit.
1148
+ *
1149
+ * Emits `MetadataSet`.
1150
+ *
1151
+ * Weight: `O(1)`
1152
+ */
1153
+ set_metadata: TxDescriptor<Anonymize<I8hff7chabggkd>>;
1154
+ /**
1155
+ * Clear the metadata for an asset.
1156
+ *
1157
+ * Origin must be Signed and the sender should be the Owner of the asset `id`.
1158
+ *
1159
+ * Any deposit is freed for the asset owner.
1160
+ *
1161
+ * - `id`: The identifier of the asset to clear.
1162
+ *
1163
+ * Emits `MetadataCleared`.
1164
+ *
1165
+ * Weight: `O(1)`
1166
+ */
1167
+ clear_metadata: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
1168
+ /**
1169
+ * Force the metadata for an asset to some value.
1170
+ *
1171
+ * Origin must be ForceOrigin.
1172
+ *
1173
+ * Any deposit is left alone.
1174
+ *
1175
+ * - `id`: The identifier of the asset to update.
1176
+ * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
1177
+ * - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
1178
+ * - `decimals`: The number of decimals this asset uses to represent one unit.
1179
+ *
1180
+ * Emits `MetadataSet`.
1181
+ *
1182
+ * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
1183
+ */
1184
+ force_set_metadata: TxDescriptor<Anonymize<I49i39mtj1ivbs>>;
1185
+ /**
1186
+ * Clear the metadata for an asset.
1187
+ *
1188
+ * Origin must be ForceOrigin.
1189
+ *
1190
+ * Any deposit is returned.
1191
+ *
1192
+ * - `id`: The identifier of the asset to clear.
1193
+ *
1194
+ * Emits `MetadataCleared`.
1195
+ *
1196
+ * Weight: `O(1)`
1197
+ */
1198
+ force_clear_metadata: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
1199
+ /**
1200
+ * Alter the attributes of a given asset.
1201
+ *
1202
+ * Origin must be `ForceOrigin`.
1203
+ *
1204
+ * - `id`: The identifier of the asset.
1205
+ * - `owner`: The new Owner of this asset.
1206
+ * - `issuer`: The new Issuer of this asset.
1207
+ * - `admin`: The new Admin of this asset.
1208
+ * - `freezer`: The new Freezer of this asset.
1209
+ * - `min_balance`: The minimum balance of this new asset that any single account must
1210
+ * have. If an account's balance is reduced below this, then it collapses to zero.
1211
+ * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient
1212
+ * value to account for the state bloat associated with its balance storage. If set to
1213
+ * `true`, then non-zero balances may be stored without a `consumer` reference (and thus
1214
+ * an ED in the Balances pallet or whatever else is used to control user-account state
1215
+ * growth).
1216
+ * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin
1217
+ * instructions.
1218
+ *
1219
+ * Emits `AssetStatusChanged` with the identity of the asset.
1220
+ *
1221
+ * Weight: `O(1)`
1222
+ */
1223
+ force_asset_status: TxDescriptor<Anonymize<Ifkr2kcak2vto1>>;
1224
+ /**
1225
+ * Approve an amount of asset for transfer by a delegated third-party account.
1226
+ *
1227
+ * Origin must be Signed.
1228
+ *
1229
+ * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account
1230
+ * for the purpose of holding the approval. If some non-zero amount of assets is already
1231
+ * approved from signing account to `delegate`, then it is topped up or unreserved to
1232
+ * meet the right value.
1233
+ *
1234
+ * NOTE: The signing account does not need to own `amount` of assets at the point of
1235
+ * making this call.
1236
+ *
1237
+ * - `id`: The identifier of the asset.
1238
+ * - `delegate`: The account to delegate permission to transfer asset.
1239
+ * - `amount`: The amount of asset that may be transferred by `delegate`. If there is
1240
+ * already an approval in place, then this acts additively.
1241
+ *
1242
+ * Emits `ApprovedTransfer` on success.
1243
+ *
1244
+ * Weight: `O(1)`
1245
+ */
1246
+ approve_transfer: TxDescriptor<Anonymize<I1ju6r8q0cs9jt>>;
1247
+ /**
1248
+ * Cancel all of some asset approved for delegated transfer by a third-party account.
1249
+ *
1250
+ * Origin must be Signed and there must be an approval in place between signer and
1251
+ * `delegate`.
1252
+ *
1253
+ * Unreserves any deposit previously reserved by `approve_transfer` for the approval.
1254
+ *
1255
+ * - `id`: The identifier of the asset.
1256
+ * - `delegate`: The account delegated permission to transfer asset.
1257
+ *
1258
+ * Emits `ApprovalCancelled` on success.
1259
+ *
1260
+ * Weight: `O(1)`
1261
+ */
1262
+ cancel_approval: TxDescriptor<Anonymize<I4kpeq6j7cd5bu>>;
1263
+ /**
1264
+ * Cancel all of some asset approved for delegated transfer by a third-party account.
1265
+ *
1266
+ * Origin must be either ForceOrigin or Signed origin with the signer being the Admin
1267
+ * account of the asset `id`.
1268
+ *
1269
+ * Unreserves any deposit previously reserved by `approve_transfer` for the approval.
1270
+ *
1271
+ * - `id`: The identifier of the asset.
1272
+ * - `delegate`: The account delegated permission to transfer asset.
1273
+ *
1274
+ * Emits `ApprovalCancelled` on success.
1275
+ *
1276
+ * Weight: `O(1)`
1277
+ */
1278
+ force_cancel_approval: TxDescriptor<Anonymize<I5na1ka76k6811>>;
1279
+ /**
1280
+ * Transfer some asset balance from a previously delegated account to some third-party
1281
+ * account.
1282
+ *
1283
+ * Origin must be Signed and there must be an approval in place by the `owner` to the
1284
+ * signer.
1285
+ *
1286
+ * If the entire amount approved for transfer is transferred, then any deposit previously
1287
+ * reserved by `approve_transfer` is unreserved.
1288
+ *
1289
+ * - `id`: The identifier of the asset.
1290
+ * - `owner`: The account which previously approved for a transfer of at least `amount` and
1291
+ * from which the asset balance will be withdrawn.
1292
+ * - `destination`: The account to which the asset balance of `amount` will be transferred.
1293
+ * - `amount`: The amount of assets to transfer.
1294
+ *
1295
+ * Emits `TransferredApproved` on success.
1296
+ *
1297
+ * Weight: `O(1)`
1298
+ */
1299
+ transfer_approved: TxDescriptor<Anonymize<I59mhdb9omdqfa>>;
1300
+ /**
1301
+ * Create an asset account for non-provider assets.
1302
+ *
1303
+ * A deposit will be taken from the signer account.
1304
+ *
1305
+ * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
1306
+ * to be taken.
1307
+ * - `id`: The identifier of the asset for the account to be created.
1308
+ *
1309
+ * Emits `Touched` event when successful.
1310
+ */
1311
+ touch: TxDescriptor<Anonymize<Ic5b47dj4coa3r>>;
1312
+ /**
1313
+ * Return the deposit (if any) of an asset account.
1314
+ *
1315
+ * The origin must be Signed.
1316
+ *
1317
+ * - `id`: The identifier of the asset for the account to be created.
1318
+ * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
1319
+ *
1320
+ * Emits `Refunded` event when successful.
1321
+ */
1322
+ refund: TxDescriptor<Anonymize<I9vl5kpk0fpakt>>;
1323
+ /**
1324
+ * Sets the minimum balance of an asset.
1325
+ *
1326
+ * Only works if there aren't any accounts that are holding the asset or if
1327
+ * the new value of `min_balance` is less than the old one.
1328
+ *
1329
+ * Origin must be Signed and the sender has to be the Owner of the
1330
+ * asset `id`.
1331
+ *
1332
+ * - `id`: The identifier of the asset.
1333
+ * - `min_balance`: The new value of `min_balance`.
1334
+ *
1335
+ * Emits `AssetMinBalanceChanged` event when successful.
1336
+ */
1337
+ set_min_balance: TxDescriptor<Anonymize<I717jt61hu19b4>>;
1338
+ };
1339
+ Collective: {
1340
+ /**
1341
+ * Set the collective's membership.
1342
+ *
1343
+ * - `new_members`: The new member list. Be nice to the chain and provide it sorted.
1344
+ * - `prime`: The prime member whose vote sets the default.
1345
+ * - `old_count`: The upper bound for the previous number of members in storage. Used for
1346
+ * weight estimation.
1347
+ *
1348
+ * The dispatch of this call must be `SetMembersOrigin`.
1349
+ *
1350
+ * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
1351
+ * the weight estimations rely on it to estimate dispatchable weight.
1352
+ *
1353
+ * # WARNING:
1354
+ *
1355
+ * The `pallet-collective` can also be managed by logic outside of the pallet through the
1356
+ * implementation of the trait [`ChangeMembers`].
1357
+ * Any call to `set_members` must be careful that the member set doesn't get out of sync
1358
+ * with other logic managing the member set.
1359
+ *
1360
+ * ## Complexity:
1361
+ * - `O(MP + N)` where:
1362
+ * - `M` old-members-count (code- and governance-bounded)
1363
+ * - `N` new-members-count (code- and governance-bounded)
1364
+ * - `P` proposals-count (code-bounded)
1365
+ */
1366
+ set_members: TxDescriptor<Anonymize<I38jfk5li8iang>>;
1367
+ /**
1368
+ * Dispatch a proposal from a member using the `Member` origin.
1369
+ *
1370
+ * Origin must be a member of the collective.
1371
+ *
1372
+ * ## Complexity:
1373
+ * - `O(B + M + P)` where:
1374
+ * - `B` is `proposal` size in bytes (length-fee-bounded)
1375
+ * - `M` members-count (code-bounded)
1376
+ * - `P` complexity of dispatching `proposal`
1377
+ */
1378
+ execute: TxDescriptor<Anonymize<I81bepctomm169>>;
1379
+ /**
1380
+ * Add a new proposal to either be voted on or executed directly.
1381
+ *
1382
+ * Requires the sender to be member.
1383
+ *
1384
+ * `threshold` determines whether `proposal` is executed directly (`threshold < 2`)
1385
+ * or put up for voting.
1386
+ *
1387
+ * ## Complexity
1388
+ * - `O(B + M + P1)` or `O(B + M + P2)` where:
1389
+ * - `B` is `proposal` size in bytes (length-fee-bounded)
1390
+ * - `M` is members-count (code- and governance-bounded)
1391
+ * - branching is influenced by `threshold` where:
1392
+ * - `P1` is proposal execution complexity (`threshold < 2`)
1393
+ * - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
1394
+ */
1395
+ propose: TxDescriptor<Anonymize<Ib8e4i1c3merv7>>;
1396
+ /**
1397
+ * Add an aye or nay vote for the sender to the given proposal.
1398
+ *
1399
+ * Requires the sender to be a member.
1400
+ *
1401
+ * Transaction fees will be waived if the member is voting on any particular proposal
1402
+ * for the first time and the call is successful. Subsequent vote changes will charge a
1403
+ * fee.
1404
+ * ## Complexity
1405
+ * - `O(M)` where `M` is members-count (code- and governance-bounded)
1406
+ */
1407
+ vote: TxDescriptor<Anonymize<I2dtrijkm5601t>>;
1408
+ /**
1409
+ * Disapprove a proposal, close, and remove it from the system, regardless of its current
1410
+ * state.
1411
+ *
1412
+ * Must be called by the Root origin.
1413
+ *
1414
+ * Parameters:
1415
+ * * `proposal_hash`: The hash of the proposal that should be disapproved.
1416
+ *
1417
+ * ## Complexity
1418
+ * O(P) where P is the number of max proposals
1419
+ */
1420
+ disapprove_proposal: TxDescriptor<Anonymize<I2ev73t79f46tb>>;
1421
+ /**
1422
+ * Close a vote that is either approved, disapproved or whose voting period has ended.
1423
+ *
1424
+ * May be called by any signed account in order to finish voting and close the proposal.
1425
+ *
1426
+ * If called before the end of the voting period it will only close the vote if it is
1427
+ * has enough votes to be approved or disapproved.
1428
+ *
1429
+ * If called after the end of the voting period abstentions are counted as rejections
1430
+ * unless there is a prime member set and the prime member cast an approval.
1431
+ *
1432
+ * If the close operation completes successfully with disapproval, the transaction fee will
1433
+ * be waived. Otherwise execution of the approved operation will be charged to the caller.
1434
+ *
1435
+ * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
1436
+ * proposal.
1437
+ * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
1438
+ * `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
1439
+ *
1440
+ * ## Complexity
1441
+ * - `O(B + M + P1 + P2)` where:
1442
+ * - `B` is `proposal` size in bytes (length-fee-bounded)
1443
+ * - `M` is members-count (code- and governance-bounded)
1444
+ * - `P1` is the complexity of `proposal` preimage.
1445
+ * - `P2` is proposal-count (code-bounded)
1446
+ */
1447
+ close: TxDescriptor<Anonymize<Ib2obgji960euh>>;
1448
+ };
1449
+ Contracts: {
1450
+ /**
1451
+ * Deprecated version if [`Self::call`] for use in an in-storage `Call`.
1452
+ */
1453
+ call_old_weight: TxDescriptor<Anonymize<Ia2rnh5pfua40a>>;
1454
+ /**
1455
+ * Deprecated version if [`Self::instantiate_with_code`] for use in an in-storage `Call`.
1456
+ */
1457
+ instantiate_with_code_old_weight: TxDescriptor<Anonymize<I3otc7e9a35k1k>>;
1458
+ /**
1459
+ * Deprecated version if [`Self::instantiate`] for use in an in-storage `Call`.
1460
+ */
1461
+ instantiate_old_weight: TxDescriptor<Anonymize<I89ier5tb9ne0s>>;
1462
+ /**
1463
+ * Upload new `code` without instantiating a contract from it.
1464
+ *
1465
+ * If the code does not already exist a deposit is reserved from the caller
1466
+ * and unreserved only when [`Self::remove_code`] is called. The size of the reserve
1467
+ * depends on the instrumented size of the the supplied `code`.
1468
+ *
1469
+ * If the code already exists in storage it will still return `Ok` and upgrades
1470
+ * the in storage version to the current
1471
+ * [`InstructionWeights::version`](InstructionWeights).
1472
+ *
1473
+ * - `determinism`: If this is set to any other value but [`Determinism::Enforced`] then
1474
+ * the only way to use this code is to delegate call into it from an offchain execution.
1475
+ * Set to [`Determinism::Enforced`] if in doubt.
1476
+ *
1477
+ * # Note
1478
+ *
1479
+ * Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
1480
+ * To avoid this situation a constructor could employ access control so that it can
1481
+ * only be instantiated by permissioned entities. The same is true when uploading
1482
+ * through [`Self::instantiate_with_code`].
1483
+ */
1484
+ upload_code: TxDescriptor<Anonymize<Im2f0numhevg3>>;
1485
+ /**
1486
+ * Remove the code stored under `code_hash` and refund the deposit to its owner.
1487
+ *
1488
+ * A code can only be removed by its original uploader (its owner) and only if it is
1489
+ * not used by any contract.
1490
+ */
1491
+ remove_code: TxDescriptor<Anonymize<Ib51vk42m1po4n>>;
1492
+ /**
1493
+ * Privileged function that changes the code of an existing contract.
1494
+ *
1495
+ * This takes care of updating refcounts and all other necessary operations. Returns
1496
+ * an error if either the `code_hash` or `dest` do not exist.
1497
+ *
1498
+ * # Note
1499
+ *
1500
+ * This does **not** change the address of the contract in question. This means
1501
+ * that the contract address is no longer derived from its code hash after calling
1502
+ * this dispatchable.
1503
+ */
1504
+ set_code: TxDescriptor<Anonymize<I2agkcpojhkk43>>;
1505
+ /**
1506
+ * Makes a call to an account, optionally transferring some balance.
1507
+ *
1508
+ * # Parameters
1509
+ *
1510
+ * * `dest`: Address of the contract to call.
1511
+ * * `value`: The balance to transfer from the `origin` to `dest`.
1512
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
1513
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
1514
+ * caller to pay for the storage consumed.
1515
+ * * `data`: The input data to pass to the contract.
1516
+ *
1517
+ * * If the account is a smart-contract account, the associated code will be
1518
+ * executed and any value will be transferred.
1519
+ * * If the account is a regular account, any value will be transferred.
1520
+ * * If no account exists and the call value is not less than `existential_deposit`,
1521
+ * a regular account will be created and any value will be transferred.
1522
+ */
1523
+ call: TxDescriptor<Anonymize<I32rvg545edabm>>;
1524
+ /**
1525
+ * Instantiates a new contract from the supplied `code` optionally transferring
1526
+ * some balance.
1527
+ *
1528
+ * This dispatchable has the same effect as calling [`Self::upload_code`] +
1529
+ * [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
1530
+ * also check the documentation of [`Self::upload_code`].
1531
+ *
1532
+ * # Parameters
1533
+ *
1534
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
1535
+ * * `gas_limit`: The gas limit enforced when executing the constructor.
1536
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
1537
+ * from the caller to pay for the storage consumed.
1538
+ * * `code`: The contract code to deploy in raw bytes.
1539
+ * * `data`: The input data to pass to the contract constructor.
1540
+ * * `salt`: Used for the address derivation. See [`Pallet::contract_address`].
1541
+ *
1542
+ * Instantiation is executed as follows:
1543
+ *
1544
+ * - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that
1545
+ * code.
1546
+ * - If the `code_hash` already exists on the chain the underlying `code` will be shared.
1547
+ * - The destination address is computed based on the sender, code_hash and the salt.
1548
+ * - The smart-contract account is created at the computed address.
1549
+ * - The `value` is transferred to the new account.
1550
+ * - The `deploy` function is executed in the context of the newly-created account.
1551
+ */
1552
+ instantiate_with_code: TxDescriptor<Anonymize<I83fv0vi59md7i>>;
1553
+ /**
1554
+ * Instantiates a contract from a previously deployed wasm binary.
1555
+ *
1556
+ * This function is identical to [`Self::instantiate_with_code`] but without the
1557
+ * code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
1558
+ * must be supplied.
1559
+ */
1560
+ instantiate: TxDescriptor<Anonymize<I5tjjqcdd4tae0>>;
1561
+ };
1562
+ ImOnline: {
1563
+ /**
1564
+ * ## Complexity:
1565
+ * - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of
1566
+ * `heartbeat.network_state.external_address`
1567
+ * - `O(K)`: decoding of length `K`
1568
+ * - `O(E)`: decoding/encoding of length `E`
1569
+ */
1570
+ heartbeat: TxDescriptor<Anonymize<I8lba6g6is07ov>>;
1571
+ };
1572
+ Session: {
1573
+ /**
1574
+ * Sets the session key(s) of the function caller to `keys`.
1575
+ * Allows an account to set its session key prior to becoming a validator.
1576
+ * This doesn't take effect until the next session.
1577
+ *
1578
+ * The dispatch origin of this function must be signed.
1579
+ *
1580
+ * ## Complexity
1581
+ * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
1582
+ * fixed.
1583
+ */
1584
+ set_keys: TxDescriptor<Anonymize<I7e25ln6niqtfu>>;
1585
+ /**
1586
+ * Removes any session key(s) of the function caller.
1587
+ *
1588
+ * This doesn't take effect until the next session.
1589
+ *
1590
+ * The dispatch origin of this function must be Signed and the account must be either be
1591
+ * convertible to a validator ID using the chain's typical addressing system (this usually
1592
+ * means being a controller account) or directly convertible into a validator ID (which
1593
+ * usually means being a stash account).
1594
+ *
1595
+ * ## Complexity
1596
+ * - `O(1)` in number of key types. Actual cost depends on the number of length of
1597
+ * `T::Keys::key_ids()` which is fixed.
1598
+ */
1599
+ purge_keys: TxDescriptor<undefined>;
1600
+ };
1601
+ Treasury: {
1602
+ /**
1603
+ * Put forward a suggestion for spending. A deposit proportional to the value
1604
+ * is reserved and slashed if the proposal is rejected. It is returned once the
1605
+ * proposal is awarded.
1606
+ *
1607
+ * ## Complexity
1608
+ * - O(1)
1609
+ */
1610
+ propose_spend: TxDescriptor<Anonymize<Iffcutbjvs7mcv>>;
1611
+ /**
1612
+ * Reject a proposed spend. The original deposit will be slashed.
1613
+ *
1614
+ * May only be called from `T::RejectOrigin`.
1615
+ *
1616
+ * ## Complexity
1617
+ * - O(1)
1618
+ */
1619
+ reject_proposal: TxDescriptor<Anonymize<Icm9m0qeemu66d>>;
1620
+ /**
1621
+ * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary
1622
+ * and the original deposit will be returned.
1623
+ *
1624
+ * May only be called from `T::ApproveOrigin`.
1625
+ *
1626
+ * ## Complexity
1627
+ * - O(1).
1628
+ */
1629
+ approve_proposal: TxDescriptor<Anonymize<Icm9m0qeemu66d>>;
1630
+ /**
1631
+ * Propose and approve a spend of treasury funds.
1632
+ *
1633
+ * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.
1634
+ * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
1635
+ * - `beneficiary`: The destination account for the transfer.
1636
+ *
1637
+ * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
1638
+ * beneficiary.
1639
+ */
1640
+ spend: TxDescriptor<Anonymize<Icnrv1mfbd3in1>>;
1641
+ /**
1642
+ * Force a previously approved proposal to be removed from the approval queue.
1643
+ * The original deposit will no longer be returned.
1644
+ *
1645
+ * May only be called from `T::RejectOrigin`.
1646
+ * - `proposal_id`: The index of a proposal
1647
+ *
1648
+ * ## Complexity
1649
+ * - O(A) where `A` is the number of approvals
1650
+ *
1651
+ * Errors:
1652
+ * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,
1653
+ * i.e., the proposal has not been approved. This could also mean the proposal does not
1654
+ * exist altogether, thus there is no way it would have been approved in the first place.
1655
+ */
1656
+ remove_approval: TxDescriptor<Anonymize<Icm9m0qeemu66d>>;
1657
+ };
1658
+ CouncilLock: {
1659
+ /**
1660
+
1661
+ */
1662
+ set_pallet_admin: TxDescriptor<Anonymize<Iddf3ptb5cr131>>;
1663
+ /**
1664
+
1665
+ */
1666
+ set_mining_pool_contract: TxDescriptor<Anonymize<Iam7af3p82h77u>>;
1667
+ /**
1668
+
1669
+ */
1670
+ propose_lock: TxDescriptor<Anonymize<I4fpsonn5j8ai1>>;
1671
+ /**
1672
+
1673
+ */
1674
+ propose_unlock: TxDescriptor<Anonymize<Ie2ucfidi90b0e>>;
1675
+ /**
1676
+
1677
+ */
1678
+ vote_in_referendum: TxDescriptor<Anonymize<I9khdgpnnuth59>>;
1679
+ /**
1680
+
1681
+ */
1682
+ set_proposal_fee: TxDescriptor<Anonymize<I4g2n89k9snq80>>;
1683
+ /**
1684
+
1685
+ */
1686
+ admin_lock_accounts: TxDescriptor<Anonymize<Icrf0bc54q02cm>>;
1687
+ /**
1688
+
1689
+ */
1690
+ admin_unlock_accounts: TxDescriptor<Anonymize<I2nufb64tt01st>>;
1691
+ /**
1692
+
1693
+ */
1694
+ admin_remove_proposal: TxDescriptor<Anonymize<Icaemmvog4s1bf>>;
1695
+ };
1696
+ D9MultiSig: {
1697
+ /**
1698
+ * create a new multi signature account
1699
+ *
1700
+ * signatories must have cardinality of at least 2 and
1701
+ * less than T::MaxSignatories, with all unique elements.
1702
+ * origin must be an element of signatories and authors a
1703
+ * subset of signatories.
1704
+ * Parameters:
1705
+ * - `signatories`: the list of signatories
1706
+ * - `authors_opt`: the list of authors, if None all signatories are authors
1707
+ * - `min_approving_signatories`: the minimum number of signatories required to approve a call
1708
+ */
1709
+ create_multi_sig_account: TxDescriptor<Anonymize<I95cgc2lf0oi91>>;
1710
+ /**
1711
+ * create a call for a msa
1712
+ *
1713
+ * only authors can create calls
1714
+ * Parameters:
1715
+ * - `multi_sig_account`: the multi signature account
1716
+ * - `call`: the call to be executed (runtime call. the js polkadot can help create it)
1717
+ */
1718
+ author_a_call: TxDescriptor<Anonymize<I73402qtagb1c2>>;
1719
+ /**
1720
+ * signatories approve a call
1721
+ *
1722
+ * Parameters:
1723
+ * - `multi_sig_account`: the multi signature account
1724
+ * - `call_id`: the call to be approved
1725
+ */
1726
+ add_call_approval: TxDescriptor<Anonymize<I7v7r0cihtaupi>>;
1727
+ /**
1728
+ * remove approval for a call
1729
+ *
1730
+ * Parameters:
1731
+ * - `multi_sig_account`: the multi signature account
1732
+ * - `call_id`: the call to be approved
1733
+ */
1734
+ remove_call_approval: TxDescriptor<Anonymize<I7v7r0cihtaupi>>;
1735
+ /**
1736
+ * propose a new minimum approvals for a multi signature account
1737
+ *
1738
+ * Parameters:
1739
+ * - `msa_address`: the multi signature account
1740
+ * - `new_min_approvals`: the new minimum approvals
1741
+ */
1742
+ proposal_msa_new_minimum: TxDescriptor<Anonymize<Ibl4potoitj8d4>>;
1743
+ /**
1744
+
1745
+ */
1746
+ approve_msa_new_minimum: TxDescriptor<Anonymize<Ibvn4b8lrtppoe>>;
1747
+ /**
1748
+
1749
+ */
1750
+ revoke_approval_for_msa_new_minimum: TxDescriptor<Anonymize<Ibvn4b8lrtppoe>>;
1751
+ /**
1752
+
1753
+ */
1754
+ remove_call: TxDescriptor<Anonymize<I7v7r0cihtaupi>>;
1755
+ };
1756
+ };
1757
+ type IEvent = {
1758
+ D9Referral: {
1759
+ /**
1760
+
1761
+ */
1762
+ NewReferralRelationshipCreated: PlainDescriptor<Anonymize<I2na29tt2afp0j>>;
1763
+ /**
1764
+
1765
+ */
1766
+ NewReferralDepthSet: PlainDescriptor<number>;
1767
+ /**
1768
+
1769
+ */
1770
+ NewDefaultParentSet: PlainDescriptor<SS58String>;
1771
+ };
1772
+ D9Treasury: {
1773
+ /**
1774
+
1775
+ */
1776
+ NewTreasurer: PlainDescriptor<SS58String>;
1777
+ };
1778
+ D9NodeVoting: {
1779
+ /**
1780
+
1781
+ */
1782
+ CandidacySubmitted: PlainDescriptor<SS58String>;
1783
+ /**
1784
+
1785
+ */
1786
+ VotesDelegatedBy: PlainDescriptor<SS58String>;
1787
+ /**
1788
+
1789
+ */
1790
+ CandidacyRemoved: PlainDescriptor<SS58String>;
1791
+ };
1792
+ D9NodeRewards: {
1793
+ /**
1794
+
1795
+ */
1796
+ ErrorIssuingRewards: PlainDescriptor<undefined>;
1797
+ /**
1798
+
1799
+ */
1800
+ ContractError: PlainDescriptor<Anonymize<I3015mdrqab6c7>>;
1801
+ };
1802
+ Balances: {
1803
+ /**
1804
+ * An account was created with some free balance.
1805
+ */
1806
+ Endowed: PlainDescriptor<Anonymize<Icv68aq8841478>>;
1807
+ /**
1808
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
1809
+ * resulting in an outright loss.
1810
+ */
1811
+ DustLost: PlainDescriptor<Anonymize<Ic262ibdoec56a>>;
1812
+ /**
1813
+ * Transfer succeeded.
1814
+ */
1815
+ Transfer: PlainDescriptor<Anonymize<Iflcfm9b6nlmdd>>;
1816
+ /**
1817
+ * A balance was set by root.
1818
+ */
1819
+ BalanceSet: PlainDescriptor<Anonymize<Ijrsf4mnp3eka>>;
1820
+ /**
1821
+ * Some balance was reserved (moved from free to reserved).
1822
+ */
1823
+ Reserved: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1824
+ /**
1825
+ * Some balance was unreserved (moved from reserved to free).
1826
+ */
1827
+ Unreserved: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1828
+ /**
1829
+ * Some balance was moved from the reserve of the first account to the second account.
1830
+ * Final argument indicates the destination balance type.
1831
+ */
1832
+ ReserveRepatriated: PlainDescriptor<Anonymize<I8tjvj9uq4b7hi>>;
1833
+ /**
1834
+ * Some amount was deposited (e.g. for transaction fees).
1835
+ */
1836
+ Deposit: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1837
+ /**
1838
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
1839
+ */
1840
+ Withdraw: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1841
+ /**
1842
+ * Some amount was removed from the account (e.g. for misbehavior).
1843
+ */
1844
+ Slashed: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1845
+ /**
1846
+ * Some amount was minted into an account.
1847
+ */
1848
+ Minted: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1849
+ /**
1850
+ * Some amount was burned from an account.
1851
+ */
1852
+ Burned: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1853
+ /**
1854
+ * Some amount was suspended from an account (it can be restored later).
1855
+ */
1856
+ Suspended: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1857
+ /**
1858
+ * Some amount was restored into an account.
1859
+ */
1860
+ Restored: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1861
+ /**
1862
+ * An account was upgraded.
1863
+ */
1864
+ Upgraded: PlainDescriptor<Anonymize<I4cbvqmqadhrea>>;
1865
+ /**
1866
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
1867
+ */
1868
+ Issued: PlainDescriptor<Anonymize<I3qt1hgg4djhgb>>;
1869
+ /**
1870
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
1871
+ */
1872
+ Rescinded: PlainDescriptor<Anonymize<I3qt1hgg4djhgb>>;
1873
+ /**
1874
+ * Some balance was locked.
1875
+ */
1876
+ Locked: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1877
+ /**
1878
+ * Some balance was unlocked.
1879
+ */
1880
+ Unlocked: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1881
+ /**
1882
+ * Some balance was frozen.
1883
+ */
1884
+ Frozen: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1885
+ /**
1886
+ * Some balance was thawed.
1887
+ */
1888
+ Thawed: PlainDescriptor<Anonymize<Id5fm4p8lj5qgi>>;
1889
+ };
1890
+ Grandpa: {
1891
+ /**
1892
+ * New authority set has been applied.
1893
+ */
1894
+ NewAuthorities: PlainDescriptor<Anonymize<I5768ac424h061>>;
1895
+ /**
1896
+ * Current authority set has been paused.
1897
+ */
1898
+ Paused: PlainDescriptor<undefined>;
1899
+ /**
1900
+ * Current authority set has been resumed.
1901
+ */
1902
+ Resumed: PlainDescriptor<undefined>;
1903
+ };
1904
+ Sudo: {
1905
+ /**
1906
+ * A sudo just took place. \[result\]
1907
+ */
1908
+ Sudid: PlainDescriptor<Anonymize<I34ij139cfkd29>>;
1909
+ /**
1910
+ * The \[sudoer\] just switched identity; the old key is supplied if one existed.
1911
+ */
1912
+ KeyChanged: PlainDescriptor<Anonymize<I4sdl4mafpdt24>>;
1913
+ /**
1914
+ * A sudo just took place. \[result\]
1915
+ */
1916
+ SudoAsDone: PlainDescriptor<Anonymize<I34ij139cfkd29>>;
1917
+ };
1918
+ System: {
1919
+ /**
1920
+ * An extrinsic completed successfully.
1921
+ */
1922
+ ExtrinsicSuccess: PlainDescriptor<Anonymize<Ia82mnkmeo2rhc>>;
1923
+ /**
1924
+ * An extrinsic failed.
1925
+ */
1926
+ ExtrinsicFailed: PlainDescriptor<Anonymize<Ik28h8117tnle>>;
1927
+ /**
1928
+ * `:code` was updated.
1929
+ */
1930
+ CodeUpdated: PlainDescriptor<undefined>;
1931
+ /**
1932
+ * A new account was created.
1933
+ */
1934
+ NewAccount: PlainDescriptor<Anonymize<Icbccs0ug47ilf>>;
1935
+ /**
1936
+ * An account was reaped.
1937
+ */
1938
+ KilledAccount: PlainDescriptor<Anonymize<Icbccs0ug47ilf>>;
1939
+ /**
1940
+ * On on-chain remark happened.
1941
+ */
1942
+ Remarked: PlainDescriptor<Anonymize<I855j4i3kr8ko1>>;
1943
+ };
1944
+ TransactionPayment: {
1945
+ /**
1946
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1947
+ * has been paid by `who`.
1948
+ */
1949
+ TransactionFeePaid: PlainDescriptor<Anonymize<Ier2cke86dqbr2>>;
1950
+ };
1951
+ Assets: {
1952
+ /**
1953
+ * Some asset class was created.
1954
+ */
1955
+ Created: PlainDescriptor<Anonymize<I88ff3u4dpivk>>;
1956
+ /**
1957
+ * Some assets were issued.
1958
+ */
1959
+ Issued: PlainDescriptor<Anonymize<I33cp947glv1ks>>;
1960
+ /**
1961
+ * Some assets were transferred.
1962
+ */
1963
+ Transferred: PlainDescriptor<Anonymize<Ic9om1gmmqu7rq>>;
1964
+ /**
1965
+ * Some assets were destroyed.
1966
+ */
1967
+ Burned: PlainDescriptor<Anonymize<I5hfov2b68ppb6>>;
1968
+ /**
1969
+ * The management team changed.
1970
+ */
1971
+ TeamChanged: PlainDescriptor<Anonymize<Ibthhb2m9vneds>>;
1972
+ /**
1973
+ * The owner changed.
1974
+ */
1975
+ OwnerChanged: PlainDescriptor<Anonymize<Iaitn5bqfacj7k>>;
1976
+ /**
1977
+ * Some account `who` was frozen.
1978
+ */
1979
+ Frozen: PlainDescriptor<Anonymize<If4ebvclj2ugvi>>;
1980
+ /**
1981
+ * Some account `who` was thawed.
1982
+ */
1983
+ Thawed: PlainDescriptor<Anonymize<If4ebvclj2ugvi>>;
1984
+ /**
1985
+ * Some asset `asset_id` was frozen.
1986
+ */
1987
+ AssetFrozen: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
1988
+ /**
1989
+ * Some asset `asset_id` was thawed.
1990
+ */
1991
+ AssetThawed: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
1992
+ /**
1993
+ * Accounts were destroyed for given asset.
1994
+ */
1995
+ AccountsDestroyed: PlainDescriptor<Anonymize<Ieduc1e6frq8rb>>;
1996
+ /**
1997
+ * Approvals were destroyed for given asset.
1998
+ */
1999
+ ApprovalsDestroyed: PlainDescriptor<Anonymize<I9h6gbtabovtm4>>;
2000
+ /**
2001
+ * An asset class is in the process of being destroyed.
2002
+ */
2003
+ DestructionStarted: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
2004
+ /**
2005
+ * An asset class was destroyed.
2006
+ */
2007
+ Destroyed: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
2008
+ /**
2009
+ * Some asset class was force-created.
2010
+ */
2011
+ ForceCreated: PlainDescriptor<Anonymize<Iaitn5bqfacj7k>>;
2012
+ /**
2013
+ * New metadata has been set for an asset.
2014
+ */
2015
+ MetadataSet: PlainDescriptor<Anonymize<Ifnsa0dkkpf465>>;
2016
+ /**
2017
+ * Metadata has been cleared for an asset.
2018
+ */
2019
+ MetadataCleared: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
2020
+ /**
2021
+ * (Additional) funds have been approved for transfer to a destination account.
2022
+ */
2023
+ ApprovedTransfer: PlainDescriptor<Anonymize<I65dtqr2egjbc3>>;
2024
+ /**
2025
+ * An approval for account `delegate` was cancelled by `owner`.
2026
+ */
2027
+ ApprovalCancelled: PlainDescriptor<Anonymize<Ibqj3vg5s5lk0c>>;
2028
+ /**
2029
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
2030
+ * the approved `delegate`.
2031
+ */
2032
+ TransferredApproved: PlainDescriptor<Anonymize<I6l73u513p8rna>>;
2033
+ /**
2034
+ * An asset has had its attributes changed by the `Force` origin.
2035
+ */
2036
+ AssetStatusChanged: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
2037
+ /**
2038
+ * The min_balance of an asset has been updated by the asset owner.
2039
+ */
2040
+ AssetMinBalanceChanged: PlainDescriptor<Anonymize<Iefqmt2htu1dlu>>;
2041
+ };
2042
+ Collective: {
2043
+ /**
2044
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
2045
+ * `MemberCount`).
2046
+ */
2047
+ Proposed: PlainDescriptor<Anonymize<Ift6f10887nk72>>;
2048
+ /**
2049
+ * A motion (given hash) has been voted on by given account, leaving
2050
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
2051
+ */
2052
+ Voted: PlainDescriptor<Anonymize<I7qc53b1tvqjg2>>;
2053
+ /**
2054
+ * A motion was approved by the required threshold.
2055
+ */
2056
+ Approved: PlainDescriptor<Anonymize<I2ev73t79f46tb>>;
2057
+ /**
2058
+ * A motion was not approved by the required threshold.
2059
+ */
2060
+ Disapproved: PlainDescriptor<Anonymize<I2ev73t79f46tb>>;
2061
+ /**
2062
+ * A motion was executed; result will be `Ok` if it returned without error.
2063
+ */
2064
+ Executed: PlainDescriptor<Anonymize<I8ugagfge33cr6>>;
2065
+ /**
2066
+ * A single member did some action; result will be `Ok` if it returned without error.
2067
+ */
2068
+ MemberExecuted: PlainDescriptor<Anonymize<I8ugagfge33cr6>>;
2069
+ /**
2070
+ * A proposal was closed because its threshold was reached or after its duration was up.
2071
+ */
2072
+ Closed: PlainDescriptor<Anonymize<Iak7fhrgb9jnnq>>;
2073
+ };
2074
+ Contracts: {
2075
+ /**
2076
+ * Contract deployed by address at the specified address.
2077
+ */
2078
+ Instantiated: PlainDescriptor<Anonymize<Ie5222qfrr24ek>>;
2079
+ /**
2080
+ * Contract has been removed.
2081
+ *
2082
+ * # Note
2083
+ *
2084
+ * The only way for a contract to be removed and emitting this event is by calling
2085
+ * `seal_terminate`.
2086
+ */
2087
+ Terminated: PlainDescriptor<Anonymize<I28g8sphdu312k>>;
2088
+ /**
2089
+ * Code with the specified hash has been stored.
2090
+ */
2091
+ CodeStored: PlainDescriptor<Anonymize<Ib51vk42m1po4n>>;
2092
+ /**
2093
+ * A custom event emitted by the contract.
2094
+ */
2095
+ ContractEmitted: PlainDescriptor<Anonymize<I853aigjva3f0t>>;
2096
+ /**
2097
+ * A code with the specified hash was removed.
2098
+ */
2099
+ CodeRemoved: PlainDescriptor<Anonymize<Ib51vk42m1po4n>>;
2100
+ /**
2101
+ * A contract's code was updated.
2102
+ */
2103
+ ContractCodeUpdated: PlainDescriptor<Anonymize<I7q5qk4uoanhof>>;
2104
+ /**
2105
+ * A contract was called either by a plain account or another contract.
2106
+ *
2107
+ * # Note
2108
+ *
2109
+ * Please keep in mind that like all events this is only emitted for successful
2110
+ * calls. This is because on failure all storage changes including events are
2111
+ * rolled back.
2112
+ */
2113
+ Called: PlainDescriptor<Anonymize<I33ec4tl0gpobd>>;
2114
+ /**
2115
+ * A contract delegate called a code hash.
2116
+ *
2117
+ * # Note
2118
+ *
2119
+ * Please keep in mind that like all events this is only emitted for successful
2120
+ * calls. This is because on failure all storage changes including events are
2121
+ * rolled back.
2122
+ */
2123
+ DelegateCalled: PlainDescriptor<Anonymize<Idht9upmipvd4j>>;
2124
+ };
2125
+ ImOnline: {
2126
+ /**
2127
+ * A new heartbeat was received from `AuthorityId`.
2128
+ */
2129
+ HeartbeatReceived: PlainDescriptor<Anonymize<I6niuoceqveh04>>;
2130
+ /**
2131
+ * At the end of the session, no offence was committed.
2132
+ */
2133
+ AllGood: PlainDescriptor<undefined>;
2134
+ /**
2135
+ * At the end of the session, at least one validator was found to be offline.
2136
+ */
2137
+ SomeOffline: PlainDescriptor<Anonymize<I6qlgjcdbigsr7>>;
2138
+ };
2139
+ Session: {
2140
+ /**
2141
+ * New session has happened. Note that the argument is the session index, not the
2142
+ * block number as the type might suggest.
2143
+ */
2144
+ NewSession: PlainDescriptor<Anonymize<I2hq50pu2kdjpo>>;
2145
+ };
2146
+ Treasury: {
2147
+ /**
2148
+ * New proposal.
2149
+ */
2150
+ Proposed: PlainDescriptor<Anonymize<I44hc4lgsn4o1j>>;
2151
+ /**
2152
+ * We have ended a spend period and will now allocate funds.
2153
+ */
2154
+ Spending: PlainDescriptor<Anonymize<I8iksqi3eani0a>>;
2155
+ /**
2156
+ * Some funds have been allocated.
2157
+ */
2158
+ Awarded: PlainDescriptor<Anonymize<I16enopmju1p0q>>;
2159
+ /**
2160
+ * A proposal was rejected; funds were slashed.
2161
+ */
2162
+ Rejected: PlainDescriptor<Anonymize<Ifgqhle2413de7>>;
2163
+ /**
2164
+ * Some of our funds have been burnt.
2165
+ */
2166
+ Burnt: PlainDescriptor<Anonymize<I43kq8qudg7pq9>>;
2167
+ /**
2168
+ * Spending has finished; this is the amount that rolls over until next spend.
2169
+ */
2170
+ Rollover: PlainDescriptor<Anonymize<I76riseemre533>>;
2171
+ /**
2172
+ * Some funds have been deposited.
2173
+ */
2174
+ Deposit: PlainDescriptor<Anonymize<Ie5v6njpckr05b>>;
2175
+ /**
2176
+ * A new spend proposal has been approved.
2177
+ */
2178
+ SpendApproved: PlainDescriptor<Anonymize<I38bmcrmh852rk>>;
2179
+ /**
2180
+ * The inactive funds of the pallet have been updated.
2181
+ */
2182
+ UpdatedInactive: PlainDescriptor<Anonymize<I4hcillge8de5f>>;
2183
+ };
2184
+ CouncilLock: {
2185
+ /**
2186
+
2187
+ */
2188
+ AccountNominatedForLock: PlainDescriptor<SS58String>;
2189
+ /**
2190
+
2191
+ */
2192
+ ProposalFeePaid: PlainDescriptor<Anonymize<I95l2k9b1re95f>>;
2193
+ /**
2194
+ * voter, proposed account lock state, decision
2195
+ */
2196
+ VoteRecorded: PlainDescriptor<Anonymize<I2evmoek0livio>>;
2197
+ /**
2198
+
2199
+ */
2200
+ AccountLocked: PlainDescriptor<SS58String>;
2201
+ /**
2202
+
2203
+ */
2204
+ AccountUnlocked: PlainDescriptor<SS58String>;
2205
+ /**
2206
+
2207
+ */
2208
+ AccountNominatedForUnlock: PlainDescriptor<SS58String>;
2209
+ /**
2210
+
2211
+ */
2212
+ VoteStarted: PlainDescriptor<undefined>;
2213
+ /**
2214
+
2215
+ */
2216
+ VoteEnded: PlainDescriptor<Anonymize<Ifi8hei4mra7b1>>;
2217
+ };
2218
+ D9MultiSig: {
2219
+ /**
2220
+ * (creator, created)
2221
+ */
2222
+ MultiSignatureAccountCreated: PlainDescriptor<Anonymize<I2na29tt2afp0j>>;
2223
+ /**
2224
+ * (updater, updated)
2225
+ */
2226
+ MultiSignatureAccountUpdated: PlainDescriptor<Anonymize<I2na29tt2afp0j>>;
2227
+ /**
2228
+ * new transaction authors (author, call_id)
2229
+ */
2230
+ NewCallAuthored: PlainDescriptor<Anonymize<I8uo3fpd3bcc6f>>;
2231
+ /**
2232
+ * add approval to transaction (multi signature account, approver)
2233
+ */
2234
+ ApprovalAdded: PlainDescriptor<Anonymize<I2na29tt2afp0j>>;
2235
+ /**
2236
+ * remove approval from transaction (multi signature account, approver)
2237
+ */
2238
+ ApprovalRemoved: PlainDescriptor<Anonymize<I2na29tt2afp0j>>;
2239
+ /**
2240
+ * (executor)
2241
+ */
2242
+ CallExecuted: PlainDescriptor<FixedSizeBinary<32>>;
2243
+ /**
2244
+ * msa set new minimum approvals (multi signature account, new minimum)
2245
+ */
2246
+ MinApprovalsChanged: PlainDescriptor<Anonymize<I6ouflveob4eli>>;
2247
+ };
2248
+ };
2249
+ type IError = {
2250
+ D9Referral: {
2251
+ /**
2252
+
2253
+ */
2254
+ NoReferralAccountRecord: PlainDescriptor<undefined>;
2255
+ };
2256
+ D9Treasury: {
2257
+ /**
2258
+
2259
+ */
2260
+ OnlyTreasurerCanDoThis: PlainDescriptor<undefined>;
2261
+ /**
2262
+
2263
+ */
2264
+ NoTreasurerSet: PlainDescriptor<undefined>;
2265
+ };
2266
+ D9NodeVoting: {
2267
+ /**
2268
+
2269
+ */
2270
+ HexDecodeError: PlainDescriptor<undefined>;
2271
+ /**
2272
+
2273
+ */
2274
+ EmptyDelegationList: PlainDescriptor<undefined>;
2275
+ /**
2276
+
2277
+ */
2278
+ DelegationListTooLarge: PlainDescriptor<undefined>;
2279
+ /**
2280
+
2281
+ */
2282
+ DelegatorHasNoVotingCapacity: PlainDescriptor<undefined>;
2283
+ /**
2284
+
2285
+ */
2286
+ DelegatorHasNoAvailableVotes: PlainDescriptor<undefined>;
2287
+ /**
2288
+
2289
+ */
2290
+ DelegatorHasInsufficientVotes: PlainDescriptor<undefined>;
2291
+ /**
2292
+
2293
+ */
2294
+ AttemptingToRemoveMoreVotesThanDelegated: PlainDescriptor<undefined>;
2295
+ /**
2296
+
2297
+ */
2298
+ CandidateDoesNotExist: PlainDescriptor<undefined>;
2299
+ /**
2300
+
2301
+ */
2302
+ CandidateAlreadyExists: PlainDescriptor<undefined>;
2303
+ /**
2304
+
2305
+ */
2306
+ ErrorGettingNodeMetadata: PlainDescriptor<undefined>;
2307
+ /**
2308
+
2309
+ */
2310
+ VoterDidntDelegateToThisCandidate: PlainDescriptor<undefined>;
2311
+ /**
2312
+
2313
+ */
2314
+ NotActiveValidator: PlainDescriptor<undefined>;
2315
+ /**
2316
+
2317
+ */
2318
+ AtMaximumNumberOfCandidates: PlainDescriptor<undefined>;
2319
+ /**
2320
+
2321
+ */
2322
+ BurnAmountMustBeGreaterThan100: PlainDescriptor<undefined>;
2323
+ /**
2324
+
2325
+ */
2326
+ SupporterShareOutOfRange: PlainDescriptor<undefined>;
2327
+ /**
2328
+
2329
+ */
2330
+ CurrentValidatorCanNotChangeSharePercentage: PlainDescriptor<undefined>;
2331
+ };
2332
+ D9NodeRewards: {
2333
+ /**
2334
+
2335
+ */
2336
+ RestrictedAccess: PlainDescriptor<undefined>;
2337
+ /**
2338
+
2339
+ */
2340
+ NodeRewardContractNotSet: PlainDescriptor<undefined>;
2341
+ /**
2342
+
2343
+ */
2344
+ ErrorUpdatingNodeRewardContract: PlainDescriptor<undefined>;
2345
+ };
2346
+ Balances: {
2347
+ /**
2348
+ * Vesting balance too high to send value.
2349
+ */
2350
+ VestingBalance: PlainDescriptor<undefined>;
2351
+ /**
2352
+ * Account liquidity restrictions prevent withdrawal.
2353
+ */
2354
+ LiquidityRestrictions: PlainDescriptor<undefined>;
2355
+ /**
2356
+ * Balance too low to send value.
2357
+ */
2358
+ InsufficientBalance: PlainDescriptor<undefined>;
2359
+ /**
2360
+ * Value too low to create account due to existential deposit.
2361
+ */
2362
+ ExistentialDeposit: PlainDescriptor<undefined>;
2363
+ /**
2364
+ * Transfer/payment would kill account.
2365
+ */
2366
+ Expendability: PlainDescriptor<undefined>;
2367
+ /**
2368
+ * A vesting schedule already exists for this account.
2369
+ */
2370
+ ExistingVestingSchedule: PlainDescriptor<undefined>;
2371
+ /**
2372
+ * Beneficiary account must pre-exist.
2373
+ */
2374
+ DeadAccount: PlainDescriptor<undefined>;
2375
+ /**
2376
+ * Number of named reserves exceed `MaxReserves`.
2377
+ */
2378
+ TooManyReserves: PlainDescriptor<undefined>;
2379
+ /**
2380
+ * Number of holds exceed `MaxHolds`.
2381
+ */
2382
+ TooManyHolds: PlainDescriptor<undefined>;
2383
+ /**
2384
+ * Number of freezes exceed `MaxFreezes`.
2385
+ */
2386
+ TooManyFreezes: PlainDescriptor<undefined>;
2387
+ };
2388
+ Grandpa: {
2389
+ /**
2390
+ * Attempt to signal GRANDPA pause when the authority set isn't live
2391
+ * (either paused or already pending pause).
2392
+ */
2393
+ PauseFailed: PlainDescriptor<undefined>;
2394
+ /**
2395
+ * Attempt to signal GRANDPA resume when the authority set isn't paused
2396
+ * (either live or already pending resume).
2397
+ */
2398
+ ResumeFailed: PlainDescriptor<undefined>;
2399
+ /**
2400
+ * Attempt to signal GRANDPA change with one already pending.
2401
+ */
2402
+ ChangePending: PlainDescriptor<undefined>;
2403
+ /**
2404
+ * Cannot signal forced change so soon after last.
2405
+ */
2406
+ TooSoon: PlainDescriptor<undefined>;
2407
+ /**
2408
+ * A key ownership proof provided as part of an equivocation report is invalid.
2409
+ */
2410
+ InvalidKeyOwnershipProof: PlainDescriptor<undefined>;
2411
+ /**
2412
+ * An equivocation proof provided as part of an equivocation report is invalid.
2413
+ */
2414
+ InvalidEquivocationProof: PlainDescriptor<undefined>;
2415
+ /**
2416
+ * A given equivocation report is valid but already previously reported.
2417
+ */
2418
+ DuplicateOffenceReport: PlainDescriptor<undefined>;
2419
+ };
2420
+ Sudo: {
2421
+ /**
2422
+ * Sender must be the Sudo account
2423
+ */
2424
+ RequireSudo: PlainDescriptor<undefined>;
2425
+ };
2426
+ System: {
2427
+ /**
2428
+ * The name of specification does not match between the current runtime
2429
+ * and the new runtime.
2430
+ */
2431
+ InvalidSpecName: PlainDescriptor<undefined>;
2432
+ /**
2433
+ * The specification version is not allowed to decrease between the current runtime
2434
+ * and the new runtime.
2435
+ */
2436
+ SpecVersionNeedsToIncrease: PlainDescriptor<undefined>;
2437
+ /**
2438
+ * Failed to extract the runtime version from the new runtime.
2439
+ *
2440
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
2441
+ */
2442
+ FailedToExtractRuntimeVersion: PlainDescriptor<undefined>;
2443
+ /**
2444
+ * Suicide called when the account has non-default composite data.
2445
+ */
2446
+ NonDefaultComposite: PlainDescriptor<undefined>;
2447
+ /**
2448
+ * There is a non-zero reference count preventing the account from being purged.
2449
+ */
2450
+ NonZeroRefCount: PlainDescriptor<undefined>;
2451
+ /**
2452
+ * The origin filter prevent the call to be dispatched.
2453
+ */
2454
+ CallFiltered: PlainDescriptor<undefined>;
2455
+ };
2456
+ Assets: {
2457
+ /**
2458
+ * Account balance must be greater than or equal to the transfer amount.
2459
+ */
2460
+ BalanceLow: PlainDescriptor<undefined>;
2461
+ /**
2462
+ * The account to alter does not exist.
2463
+ */
2464
+ NoAccount: PlainDescriptor<undefined>;
2465
+ /**
2466
+ * The signing account has no permission to do the operation.
2467
+ */
2468
+ NoPermission: PlainDescriptor<undefined>;
2469
+ /**
2470
+ * The given asset ID is unknown.
2471
+ */
2472
+ Unknown: PlainDescriptor<undefined>;
2473
+ /**
2474
+ * The origin account is frozen.
2475
+ */
2476
+ Frozen: PlainDescriptor<undefined>;
2477
+ /**
2478
+ * The asset ID is already taken.
2479
+ */
2480
+ InUse: PlainDescriptor<undefined>;
2481
+ /**
2482
+ * Invalid witness data given.
2483
+ */
2484
+ BadWitness: PlainDescriptor<undefined>;
2485
+ /**
2486
+ * Minimum balance should be non-zero.
2487
+ */
2488
+ MinBalanceZero: PlainDescriptor<undefined>;
2489
+ /**
2490
+ * Unable to increment the consumer reference counters on the account. Either no provider
2491
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
2492
+ * fewer then the maximum number of consumers has been reached.
2493
+ */
2494
+ UnavailableConsumer: PlainDescriptor<undefined>;
2495
+ /**
2496
+ * Invalid metadata given.
2497
+ */
2498
+ BadMetadata: PlainDescriptor<undefined>;
2499
+ /**
2500
+ * No approval exists that would allow the transfer.
2501
+ */
2502
+ Unapproved: PlainDescriptor<undefined>;
2503
+ /**
2504
+ * The source account would not survive the transfer and it needs to stay alive.
2505
+ */
2506
+ WouldDie: PlainDescriptor<undefined>;
2507
+ /**
2508
+ * The asset-account already exists.
2509
+ */
2510
+ AlreadyExists: PlainDescriptor<undefined>;
2511
+ /**
2512
+ * The asset-account doesn't have an associated deposit.
2513
+ */
2514
+ NoDeposit: PlainDescriptor<undefined>;
2515
+ /**
2516
+ * The operation would result in funds being burned.
2517
+ */
2518
+ WouldBurn: PlainDescriptor<undefined>;
2519
+ /**
2520
+ * The asset is a live asset and is actively being used. Usually emit for operations such
2521
+ * as `start_destroy` which require the asset to be in a destroying state.
2522
+ */
2523
+ LiveAsset: PlainDescriptor<undefined>;
2524
+ /**
2525
+ * The asset is not live, and likely being destroyed.
2526
+ */
2527
+ AssetNotLive: PlainDescriptor<undefined>;
2528
+ /**
2529
+ * The asset status is not the expected status.
2530
+ */
2531
+ IncorrectStatus: PlainDescriptor<undefined>;
2532
+ /**
2533
+ * The asset should be frozen before the given operation.
2534
+ */
2535
+ NotFrozen: PlainDescriptor<undefined>;
2536
+ /**
2537
+ * Callback action resulted in error
2538
+ */
2539
+ CallbackFailed: PlainDescriptor<undefined>;
2540
+ };
2541
+ Collective: {
2542
+ /**
2543
+ * Account is not a member
2544
+ */
2545
+ NotMember: PlainDescriptor<undefined>;
2546
+ /**
2547
+ * Duplicate proposals not allowed
2548
+ */
2549
+ DuplicateProposal: PlainDescriptor<undefined>;
2550
+ /**
2551
+ * Proposal must exist
2552
+ */
2553
+ ProposalMissing: PlainDescriptor<undefined>;
2554
+ /**
2555
+ * Mismatched index
2556
+ */
2557
+ WrongIndex: PlainDescriptor<undefined>;
2558
+ /**
2559
+ * Duplicate vote ignored
2560
+ */
2561
+ DuplicateVote: PlainDescriptor<undefined>;
2562
+ /**
2563
+ * Members are already initialized!
2564
+ */
2565
+ AlreadyInitialized: PlainDescriptor<undefined>;
2566
+ /**
2567
+ * The close call was made too early, before the end of the voting.
2568
+ */
2569
+ TooEarly: PlainDescriptor<undefined>;
2570
+ /**
2571
+ * There can only be a maximum of `MaxProposals` active proposals.
2572
+ */
2573
+ TooManyProposals: PlainDescriptor<undefined>;
2574
+ /**
2575
+ * The given weight bound for the proposal was too low.
2576
+ */
2577
+ WrongProposalWeight: PlainDescriptor<undefined>;
2578
+ /**
2579
+ * The given length bound for the proposal was too low.
2580
+ */
2581
+ WrongProposalLength: PlainDescriptor<undefined>;
2582
+ };
2583
+ Contracts: {
2584
+ /**
2585
+ * A new schedule must have a greater version than the current one.
2586
+ */
2587
+ InvalidScheduleVersion: PlainDescriptor<undefined>;
2588
+ /**
2589
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
2590
+ */
2591
+ InvalidCallFlags: PlainDescriptor<undefined>;
2592
+ /**
2593
+ * The executed contract exhausted its gas limit.
2594
+ */
2595
+ OutOfGas: PlainDescriptor<undefined>;
2596
+ /**
2597
+ * The output buffer supplied to a contract API call was too small.
2598
+ */
2599
+ OutputBufferTooSmall: PlainDescriptor<undefined>;
2600
+ /**
2601
+ * Performing the requested transfer failed. Probably because there isn't enough
2602
+ * free balance in the sender's account.
2603
+ */
2604
+ TransferFailed: PlainDescriptor<undefined>;
2605
+ /**
2606
+ * Performing a call was denied because the calling depth reached the limit
2607
+ * of what is specified in the schedule.
2608
+ */
2609
+ MaxCallDepthReached: PlainDescriptor<undefined>;
2610
+ /**
2611
+ * No contract was found at the specified address.
2612
+ */
2613
+ ContractNotFound: PlainDescriptor<undefined>;
2614
+ /**
2615
+ * The code supplied to `instantiate_with_code` exceeds the limit specified in the
2616
+ * current schedule.
2617
+ */
2618
+ CodeTooLarge: PlainDescriptor<undefined>;
2619
+ /**
2620
+ * No code could be found at the supplied code hash.
2621
+ */
2622
+ CodeNotFound: PlainDescriptor<undefined>;
2623
+ /**
2624
+ * A buffer outside of sandbox memory was passed to a contract API function.
2625
+ */
2626
+ OutOfBounds: PlainDescriptor<undefined>;
2627
+ /**
2628
+ * Input passed to a contract API function failed to decode as expected type.
2629
+ */
2630
+ DecodingFailed: PlainDescriptor<undefined>;
2631
+ /**
2632
+ * Contract trapped during execution.
2633
+ */
2634
+ ContractTrapped: PlainDescriptor<undefined>;
2635
+ /**
2636
+ * The size defined in `T::MaxValueSize` was exceeded.
2637
+ */
2638
+ ValueTooLarge: PlainDescriptor<undefined>;
2639
+ /**
2640
+ * Termination of a contract is not allowed while the contract is already
2641
+ * on the call stack. Can be triggered by `seal_terminate`.
2642
+ */
2643
+ TerminatedWhileReentrant: PlainDescriptor<undefined>;
2644
+ /**
2645
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
2646
+ */
2647
+ InputForwarded: PlainDescriptor<undefined>;
2648
+ /**
2649
+ * The subject passed to `seal_random` exceeds the limit.
2650
+ */
2651
+ RandomSubjectTooLong: PlainDescriptor<undefined>;
2652
+ /**
2653
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
2654
+ */
2655
+ TooManyTopics: PlainDescriptor<undefined>;
2656
+ /**
2657
+ * The chain does not provide a chain extension. Calling the chain extension results
2658
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
2659
+ * is rejected.
2660
+ */
2661
+ NoChainExtension: PlainDescriptor<undefined>;
2662
+ /**
2663
+ * A contract with the same AccountId already exists.
2664
+ */
2665
+ DuplicateContract: PlainDescriptor<undefined>;
2666
+ /**
2667
+ * A contract self destructed in its constructor.
2668
+ *
2669
+ * This can be triggered by a call to `seal_terminate`.
2670
+ */
2671
+ TerminatedInConstructor: PlainDescriptor<undefined>;
2672
+ /**
2673
+ * A call tried to invoke a contract that is flagged as non-reentrant.
2674
+ * The only other cause is that a call from a contract into the runtime tried to call back
2675
+ * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
2676
+ * contract code execution which is not supported.
2677
+ */
2678
+ ReentranceDenied: PlainDescriptor<undefined>;
2679
+ /**
2680
+ * Origin doesn't have enough balance to pay the required storage deposits.
2681
+ */
2682
+ StorageDepositNotEnoughFunds: PlainDescriptor<undefined>;
2683
+ /**
2684
+ * More storage was created than allowed by the storage deposit limit.
2685
+ */
2686
+ StorageDepositLimitExhausted: PlainDescriptor<undefined>;
2687
+ /**
2688
+ * Code removal was denied because the code is still in use by at least one contract.
2689
+ */
2690
+ CodeInUse: PlainDescriptor<undefined>;
2691
+ /**
2692
+ * The contract ran to completion but decided to revert its storage changes.
2693
+ * Please note that this error is only returned from extrinsics. When called directly
2694
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
2695
+ * to determine whether a reversion has taken place.
2696
+ */
2697
+ ContractReverted: PlainDescriptor<undefined>;
2698
+ /**
2699
+ * The contract's code was found to be invalid during validation or instrumentation.
2700
+ *
2701
+ * The most likely cause of this is that an API was used which is not supported by the
2702
+ * node. This happens if an older node is used with a new version of ink!. Try updating
2703
+ * your node to the newest available version.
2704
+ *
2705
+ * A more detailed error can be found on the node console if debug messages are enabled
2706
+ * by supplying `-lruntime::contracts=debug`.
2707
+ */
2708
+ CodeRejected: PlainDescriptor<undefined>;
2709
+ /**
2710
+ * An indetermistic code was used in a context where this is not permitted.
2711
+ */
2712
+ Indeterministic: PlainDescriptor<undefined>;
2713
+ };
2714
+ ImOnline: {
2715
+ /**
2716
+ * Non existent public key.
2717
+ */
2718
+ InvalidKey: PlainDescriptor<undefined>;
2719
+ /**
2720
+ * Duplicated heartbeat.
2721
+ */
2722
+ DuplicatedHeartbeat: PlainDescriptor<undefined>;
2723
+ };
2724
+ Session: {
2725
+ /**
2726
+ * Invalid ownership proof.
2727
+ */
2728
+ InvalidProof: PlainDescriptor<undefined>;
2729
+ /**
2730
+ * No associated validator ID for account.
2731
+ */
2732
+ NoAssociatedValidatorId: PlainDescriptor<undefined>;
2733
+ /**
2734
+ * Registered duplicate key.
2735
+ */
2736
+ DuplicatedKey: PlainDescriptor<undefined>;
2737
+ /**
2738
+ * No keys are associated with this account.
2739
+ */
2740
+ NoKeys: PlainDescriptor<undefined>;
2741
+ /**
2742
+ * Key setting account is not live, so it's impossible to associate keys.
2743
+ */
2744
+ NoAccount: PlainDescriptor<undefined>;
2745
+ };
2746
+ Treasury: {
2747
+ /**
2748
+ * Proposer's balance is too low.
2749
+ */
2750
+ InsufficientProposersBalance: PlainDescriptor<undefined>;
2751
+ /**
2752
+ * No proposal or bounty at that index.
2753
+ */
2754
+ InvalidIndex: PlainDescriptor<undefined>;
2755
+ /**
2756
+ * Too many approvals in the queue.
2757
+ */
2758
+ TooManyApprovals: PlainDescriptor<undefined>;
2759
+ /**
2760
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
2761
+ * amount to be spent.
2762
+ */
2763
+ InsufficientPermission: PlainDescriptor<undefined>;
2764
+ /**
2765
+ * Proposal has not been approved.
2766
+ */
2767
+ ProposalNotApproved: PlainDescriptor<undefined>;
2768
+ };
2769
+ CouncilLock: {
2770
+ /**
2771
+
2772
+ */
2773
+ NotValidNominator: PlainDescriptor<undefined>;
2774
+ /**
2775
+
2776
+ */
2777
+ ProposalFeeInsufficient: PlainDescriptor<undefined>;
2778
+ /**
2779
+
2780
+ */
2781
+ MiningPoolContractNotSet: PlainDescriptor<undefined>;
2782
+ /**
2783
+
2784
+ */
2785
+ ErrorGettingRankedNodes: PlainDescriptor<undefined>;
2786
+ /**
2787
+
2788
+ */
2789
+ AccountAlreadyLocked: PlainDescriptor<undefined>;
2790
+ /**
2791
+
2792
+ */
2793
+ AccountNotLocked: PlainDescriptor<undefined>;
2794
+ /**
2795
+
2796
+ */
2797
+ ProposalAlreadyExists: PlainDescriptor<undefined>;
2798
+ /**
2799
+
2800
+ */
2801
+ AccountAlreadyInReferendum: PlainDescriptor<undefined>;
2802
+ /**
2803
+
2804
+ */
2805
+ AdminCannotBeNominated: PlainDescriptor<undefined>;
2806
+ /**
2807
+
2808
+ */
2809
+ LockCandidatesNotPermittedToInteract: PlainDescriptor<undefined>;
2810
+ /**
2811
+
2812
+ */
2813
+ LockedAccountsNotPermittedToInteract: PlainDescriptor<undefined>;
2814
+ /**
2815
+
2816
+ */
2817
+ LockedAccountCannotVote: PlainDescriptor<undefined>;
2818
+ /**
2819
+
2820
+ */
2821
+ ReferendumDoesNotExist: PlainDescriptor<undefined>;
2822
+ /**
2823
+
2824
+ */
2825
+ NotValidCouncilMember: PlainDescriptor<undefined>;
2826
+ /**
2827
+
2828
+ */
2829
+ ErrorCalculatingVotes: PlainDescriptor<undefined>;
2830
+ /**
2831
+
2832
+ */
2833
+ VoterAlreadyVoted: PlainDescriptor<undefined>;
2834
+ };
2835
+ D9MultiSig: {
2836
+ /**
2837
+ * Signers list contains duplicates
2838
+ */
2839
+ DuplicatesInList: PlainDescriptor<undefined>;
2840
+ /**
2841
+ * Caller not in signatories
2842
+ */
2843
+ CallerNotSignatory: PlainDescriptor<undefined>;
2844
+ /**
2845
+ * Multi-sig account already exists
2846
+ */
2847
+ MSAAlreadyExists: PlainDescriptor<undefined>;
2848
+ /**
2849
+ * Multi-sig account not found
2850
+ */
2851
+ MSANotFound: PlainDescriptor<undefined>;
2852
+ /**
2853
+ * Must have at least 2 signers
2854
+ */
2855
+ SignatoriesTooShort: PlainDescriptor<undefined>;
2856
+ /**
2857
+ * Too many signers
2858
+ */
2859
+ SignatoriesTooLong: PlainDescriptor<undefined>;
2860
+ /**
2861
+ * approval already exists
2862
+ */
2863
+ ApprovalExists: PlainDescriptor<undefined>;
2864
+ /**
2865
+ * attempting to remove nonexistent approval
2866
+ */
2867
+ ApprovalDoesntExist: PlainDescriptor<undefined>;
2868
+ /**
2869
+ * Minimum approvals is out of range
2870
+ */
2871
+ MinApprovalOutOfRange: PlainDescriptor<undefined>;
2872
+ /**
2873
+ * Proposal approval equals existing one
2874
+ */
2875
+ NewMinimumEqualsCurrentMinimum: PlainDescriptor<undefined>;
2876
+ /**
2877
+ * Account is already an author
2878
+ */
2879
+ AccountAlreadyAuthor: PlainDescriptor<undefined>;
2880
+ /**
2881
+ * only the msa author execute this calls
2882
+ */
2883
+ OnlyMSAItselfCanDoThis: PlainDescriptor<undefined>;
2884
+ /**
2885
+ * Authors list too long
2886
+ */
2887
+ AuthorVecTooLong: PlainDescriptor<undefined>;
2888
+ /**
2889
+ * Not an author
2890
+ */
2891
+ AccountNotAuthor: PlainDescriptor<undefined>;
2892
+ /**
2893
+ * Not a signatory
2894
+ */
2895
+ AccountNotSignatory: PlainDescriptor<undefined>;
2896
+ /**
2897
+ * Reached max possible authors
2898
+ */
2899
+ AccountErrorMaxAuthors: PlainDescriptor<undefined>;
2900
+ /**
2901
+ * Pending calls limit reached
2902
+ */
2903
+ CallLimit: PlainDescriptor<undefined>;
2904
+ /**
2905
+ * Approvals limit reached
2906
+ */
2907
+ ApprovalsLimitReached: PlainDescriptor<undefined>;
2908
+ /**
2909
+ * Failed to encode call
2910
+ */
2911
+ CallEncodingFailure: PlainDescriptor<undefined>;
2912
+ /**
2913
+ * This account hit its multi-sig limit
2914
+ */
2915
+ AccountAtMultiSigLimit: PlainDescriptor<undefined>;
2916
+ /**
2917
+ * Failed to create pending call
2918
+ */
2919
+ FailedToCreatePendingCall: PlainDescriptor<undefined>;
2920
+ /**
2921
+ * Call not found for multi-sig
2922
+ */
2923
+ CallNotFound: PlainDescriptor<undefined>;
2924
+ /**
2925
+ * Failed to decode call
2926
+ */
2927
+ FailureDecodingCall: PlainDescriptor<undefined>;
2928
+ /**
2929
+ * failure building BoundedVec
2930
+ */
2931
+ FailedToBuildBoundedVec: PlainDescriptor<undefined>;
2932
+ /**
2933
+ * Min approval proposal not found
2934
+ */
2935
+ ProposalNotFound: PlainDescriptor<undefined>;
2936
+ /**
2937
+ * proposal already pending
2938
+ */
2939
+ ProposalAlreadyPending: PlainDescriptor<undefined>;
2940
+ };
2941
+ };
2942
+ type IConstants = {
2943
+ D9NodeRewards: {
2944
+ /**
2945
+
2946
+ */
2947
+ PalletId: PlainDescriptor<FixedSizeBinary<8>>;
2948
+ };
2949
+ Balances: {
2950
+ /**
2951
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
2952
+ *
2953
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
2954
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
2955
+ * In case you have multiple sources of provider references, you may also get unexpected
2956
+ * behaviour if you set this to zero.
2957
+ *
2958
+ * Bottom line: Do yourself a favour and make it at least one!
2959
+ */
2960
+ ExistentialDeposit: PlainDescriptor<bigint>;
2961
+ /**
2962
+ * The maximum number of locks that should exist on an account.
2963
+ * Not strictly enforced, but used for weight estimation.
2964
+ */
2965
+ MaxLocks: PlainDescriptor<number>;
2966
+ /**
2967
+ * The maximum number of named reserves that can exist on an account.
2968
+ */
2969
+ MaxReserves: PlainDescriptor<number>;
2970
+ /**
2971
+ * The maximum number of holds that can exist on an account at any time.
2972
+ */
2973
+ MaxHolds: PlainDescriptor<number>;
2974
+ /**
2975
+ * The maximum number of individual freeze locks that can exist on an account at any time.
2976
+ */
2977
+ MaxFreezes: PlainDescriptor<number>;
2978
+ };
2979
+ Grandpa: {
2980
+ /**
2981
+ * Max Authorities in use
2982
+ */
2983
+ MaxAuthorities: PlainDescriptor<number>;
2984
+ /**
2985
+ * The maximum number of entries to keep in the set id to session index mapping.
2986
+ *
2987
+ * Since the `SetIdSession` map is only used for validating equivocations this
2988
+ * value should relate to the bonding duration of whatever staking system is
2989
+ * being used (if any). If equivocation handling is not enabled then this value
2990
+ * can be zero.
2991
+ */
2992
+ MaxSetIdSessionEntries: PlainDescriptor<bigint>;
2993
+ };
2994
+ System: {
2995
+ /**
2996
+ * Block & extrinsics weights: base values and limits.
2997
+ */
2998
+ BlockWeights: PlainDescriptor<Anonymize<In7a38730s6qs>>;
2999
+ /**
3000
+ * The maximum length of a block (in bytes).
3001
+ */
3002
+ BlockLength: PlainDescriptor<Anonymize<If15el53dd76v9>>;
3003
+ /**
3004
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
3005
+ */
3006
+ BlockHashCount: PlainDescriptor<number>;
3007
+ /**
3008
+ * The weight of runtime database operations the runtime can invoke.
3009
+ */
3010
+ DbWeight: PlainDescriptor<Anonymize<I9s0ave7t0vnrk>>;
3011
+ /**
3012
+ * Get the chain's current version.
3013
+ */
3014
+ Version: PlainDescriptor<Anonymize<Ic6nglu2db2c36>>;
3015
+ /**
3016
+ * The designated SS58 prefix of this chain.
3017
+ *
3018
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
3019
+ * that the runtime should know about the prefix in order to make use of it as
3020
+ * an identifier of the chain.
3021
+ */
3022
+ SS58Prefix: PlainDescriptor<number>;
3023
+ };
3024
+ Timestamp: {
3025
+ /**
3026
+ * The minimum period between blocks. Beware that this is different to the *expected*
3027
+ * period that the block production apparatus provides. Your chosen consensus system will
3028
+ * generally work with this to determine a sensible block time. e.g. For Aura, it will be
3029
+ * double this period on default settings.
3030
+ */
3031
+ MinimumPeriod: PlainDescriptor<bigint>;
3032
+ };
3033
+ TransactionPayment: {
3034
+ /**
3035
+ * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
3036
+ * `priority`
3037
+ *
3038
+ * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
3039
+ * added to a tip component in regular `priority` calculations.
3040
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
3041
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
3042
+ *
3043
+ * ```rust,ignore
3044
+ * // For `Normal`
3045
+ * let priority = priority_calc(tip);
3046
+ *
3047
+ * // For `Operational`
3048
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
3049
+ * let priority = priority_calc(tip + virtual_tip);
3050
+ * ```
3051
+ *
3052
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
3053
+ * sent with the transaction. So, not only does the transaction get a priority bump based
3054
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
3055
+ * transactions.
3056
+ */
3057
+ OperationalFeeMultiplier: PlainDescriptor<number>;
3058
+ };
3059
+ Assets: {
3060
+ /**
3061
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
3062
+ *
3063
+ * Must be configured to result in a weight that makes each call fit in a block.
3064
+ */
3065
+ RemoveItemsLimit: PlainDescriptor<number>;
3066
+ /**
3067
+ * The basic amount of funds that must be reserved for an asset.
3068
+ */
3069
+ AssetDeposit: PlainDescriptor<bigint>;
3070
+ /**
3071
+ * The amount of funds that must be reserved for a non-provider asset account to be
3072
+ * maintained.
3073
+ */
3074
+ AssetAccountDeposit: PlainDescriptor<bigint>;
3075
+ /**
3076
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
3077
+ */
3078
+ MetadataDepositBase: PlainDescriptor<bigint>;
3079
+ /**
3080
+ * The additional funds that must be reserved for the number of bytes you store in your
3081
+ * metadata.
3082
+ */
3083
+ MetadataDepositPerByte: PlainDescriptor<bigint>;
3084
+ /**
3085
+ * The amount of funds that must be reserved when creating a new approval.
3086
+ */
3087
+ ApprovalDeposit: PlainDescriptor<bigint>;
3088
+ /**
3089
+ * The maximum length of a name or symbol stored on-chain.
3090
+ */
3091
+ StringLimit: PlainDescriptor<number>;
3092
+ };
3093
+ Collective: {
3094
+ /**
3095
+ * The maximum weight of a dispatch call that can be proposed and executed.
3096
+ */
3097
+ MaxProposalWeight: PlainDescriptor<Anonymize<I4q39t5hn830vp>>;
3098
+ };
3099
+ Contracts: {
3100
+ /**
3101
+ * Cost schedule and limits.
3102
+ */
3103
+ Schedule: PlainDescriptor<Anonymize<I1q6j2f64t5q87>>;
3104
+ /**
3105
+ * The amount of balance a caller has to pay for each byte of storage.
3106
+ *
3107
+ * # Note
3108
+ *
3109
+ * Changing this value for an existing chain might need a storage migration.
3110
+ */
3111
+ DepositPerByte: PlainDescriptor<bigint>;
3112
+ /**
3113
+ * Fallback value to limit the storage deposit if it's not being set by the caller.
3114
+ */
3115
+ DefaultDepositLimit: PlainDescriptor<bigint>;
3116
+ /**
3117
+ * The amount of balance a caller has to pay for each storage item.
3118
+ *
3119
+ * # Note
3120
+ *
3121
+ * Changing this value for an existing chain might need a storage migration.
3122
+ */
3123
+ DepositPerItem: PlainDescriptor<bigint>;
3124
+ /**
3125
+ * The maximum length of a contract code in bytes. This limit applies to the instrumented
3126
+ * version of the code. Therefore `instantiate_with_code` can fail even when supplying
3127
+ * a wasm binary below this maximum size.
3128
+ *
3129
+ * The value should be chosen carefully taking into the account the overall memory limit
3130
+ * your runtime has, as well as the [maximum allowed callstack
3131
+ * depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
3132
+ */
3133
+ MaxCodeLen: PlainDescriptor<number>;
3134
+ /**
3135
+ * The maximum allowable length in bytes for storage keys.
3136
+ */
3137
+ MaxStorageKeyLen: PlainDescriptor<number>;
3138
+ /**
3139
+ * Make contract callable functions marked as `#[unstable]` available.
3140
+ *
3141
+ * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
3142
+ * this is set to `true`. This is only meant for testnets and dev nodes in order to
3143
+ * experiment with new features.
3144
+ *
3145
+ * # Warning
3146
+ *
3147
+ * Do **not** set to `true` on productions chains.
3148
+ */
3149
+ UnsafeUnstableInterface: PlainDescriptor<boolean>;
3150
+ /**
3151
+ * The maximum length of the debug buffer in bytes.
3152
+ */
3153
+ MaxDebugBufferLen: PlainDescriptor<number>;
3154
+ };
3155
+ ImOnline: {
3156
+ /**
3157
+ * A configuration for base priority of unsigned transactions.
3158
+ *
3159
+ * This is exposed so that it can be tuned for particular runtime, when
3160
+ * multiple pallets send unsigned transactions.
3161
+ */
3162
+ UnsignedPriority: PlainDescriptor<bigint>;
3163
+ };
3164
+ Treasury: {
3165
+ /**
3166
+ * Fraction of a proposal's value that should be bonded in order to place the proposal.
3167
+ * An accepted proposal gets these back. A rejected proposal does not.
3168
+ */
3169
+ ProposalBond: PlainDescriptor<number>;
3170
+ /**
3171
+ * Minimum amount of funds that should be placed in a deposit for making a proposal.
3172
+ */
3173
+ ProposalBondMinimum: PlainDescriptor<bigint>;
3174
+ /**
3175
+ * Maximum amount of funds that should be placed in a deposit for making a proposal.
3176
+ */
3177
+ ProposalBondMaximum: PlainDescriptor<Anonymize<I35p85j063s0il>>;
3178
+ /**
3179
+ * Period between successive spends.
3180
+ */
3181
+ SpendPeriod: PlainDescriptor<number>;
3182
+ /**
3183
+ * Percentage of spare funds (if any) that are burnt per spend period.
3184
+ */
3185
+ Burn: PlainDescriptor<number>;
3186
+ /**
3187
+ * The treasury's pallet id, used for deriving its sovereign account ID.
3188
+ */
3189
+ PalletId: PlainDescriptor<FixedSizeBinary<8>>;
3190
+ /**
3191
+ * The maximum number of approvals that can wait in the spending queue.
3192
+ *
3193
+ * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
3194
+ */
3195
+ MaxApprovals: PlainDescriptor<number>;
3196
+ };
3197
+ CouncilLock: {
3198
+ /**
3199
+
3200
+ */
3201
+ CouncilPalletId: PlainDescriptor<FixedSizeBinary<8>>;
3202
+ };
3203
+ };
3204
+ type IViewFns = {};
3205
+ type IRuntimeCalls = {};
3206
+ export type D9DispatchError = Anonymize<I3015mdrqab6c7>;
3207
+ type IAsset = PlainDescriptor<void>;
3208
+ export type D9Extensions = {};
3209
+ type PalletsTypedef = {
3210
+ __storage: IStorage;
3211
+ __tx: ICalls;
3212
+ __event: IEvent;
3213
+ __error: IError;
3214
+ __const: IConstants;
3215
+ __view: IViewFns;
3216
+ };
3217
+ export type D9 = {
3218
+ descriptors: {
3219
+ pallets: PalletsTypedef;
3220
+ apis: IRuntimeCalls;
3221
+ } & Promise<any>;
3222
+ metadataTypes: Promise<Uint8Array>;
3223
+ asset: IAsset;
3224
+ extensions: D9Extensions;
3225
+ getMetadata: () => Promise<Uint8Array>;
3226
+ genesis: string | undefined;
3227
+ };
3228
+ declare const _allDescriptors: D9;
3229
+ export default _allDescriptors;
3230
+ export type D9Apis = ApisFromDef<IRuntimeCalls>;
3231
+ export type D9Queries = QueryFromPalletsDef<PalletsTypedef>;
3232
+ export type D9Calls = TxFromPalletsDef<PalletsTypedef>;
3233
+ export type D9Events = EventsFromPalletsDef<PalletsTypedef>;
3234
+ export type D9Errors = ErrorsFromPalletsDef<PalletsTypedef>;
3235
+ export type D9Constants = ConstFromPalletsDef<PalletsTypedef>;
3236
+ export type D9ViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
3237
+ export type D9CallData = Anonymize<Idbc6j12l47q6u> & {
3238
+ value: {
3239
+ type: string;
3240
+ };
3241
+ };
3242
+ type AllInteractions = {
3243
+ storage: {
3244
+ Aura: ['Authorities', 'CurrentSlot'];
3245
+ D9Referral: ['MaxReferralDepth', 'ReferralRelationships', 'DirectReferralsCount'];
3246
+ D9Treasury: ['Treasurer'];
3247
+ D9NodeVoting: ['UsersVotingInterests', 'UserToNodeVotesTotals', 'NodeToUserVotesTotals', 'NodeAccumulativeVotes', 'CurrentNumberOfCandidatesNodes', 'SessionNodeList', 'CurrentSessionIndex', 'CurrentValidatorVoteStats', 'NodeMetadata', 'PalletAdmin'];
3248
+ D9NodeRewards: ['NodeRewardContract', 'PalletAdmin'];
3249
+ Balances: ['TotalIssuance', 'InactiveIssuance', 'Account', 'Locks', 'Reserves', 'Holds', 'Freezes'];
3250
+ Grandpa: ['State', 'PendingChange', 'NextForced', 'Stalled', 'CurrentSetId', 'SetIdSession'];
3251
+ Sudo: ['Key'];
3252
+ System: ['Account', 'ExtrinsicCount', 'BlockWeight', 'AllExtrinsicsLen', 'BlockHash', 'ExtrinsicData', 'Number', 'ParentHash', 'Digest', 'Events', 'EventCount', 'EventTopics', 'LastRuntimeUpgrade', 'UpgradedToU32RefCount', 'UpgradedToTripleRefCount', 'ExecutionPhase'];
3253
+ Timestamp: ['Now', 'DidUpdate'];
3254
+ TransactionPayment: ['NextFeeMultiplier', 'StorageVersion'];
3255
+ Assets: ['Asset', 'Account', 'Approvals', 'Metadata'];
3256
+ AuthorityDiscovery: ['Keys', 'NextKeys'];
3257
+ Collective: ['Proposals', 'ProposalOf', 'Voting', 'ProposalCount', 'Members', 'Prime'];
3258
+ Contracts: ['PristineCode', 'CodeStorage', 'OwnerInfoOf', 'Nonce', 'ContractInfoOf', 'DeletionQueue', 'DeletionQueueCounter'];
3259
+ Historical: ['HistoricalSessions', 'StoredRange'];
3260
+ ImOnline: ['HeartbeatAfter', 'Keys', 'ReceivedHeartbeats', 'AuthoredBlocks'];
3261
+ RandomnessCollectiveFlip: ['RandomMaterial'];
3262
+ Session: ['Validators', 'CurrentIndex', 'QueuedChanged', 'QueuedKeys', 'DisabledValidators', 'NextKeys', 'KeyOwner'];
3263
+ Treasury: ['ProposalCount', 'Proposals', 'Deactivated', 'Approvals'];
3264
+ CouncilLock: ['PalletAdmin', 'ProposalFee', 'MiningPoolContract', 'Proposals', 'Referendums', 'Resolutions', 'LockedAccounts'];
3265
+ D9MultiSig: ['MultiSignatureAccounts', 'UserMultiSigAccounts', 'MinApprovalProposals'];
3266
+ };
3267
+ tx: {
3268
+ D9Referral: ['change_referral_depth'];
3269
+ D9Treasury: ['new_treasurer'];
3270
+ D9NodeVoting: ['submit_candidacy', 'add_voting_interest', 'delegate_votes', 'remove_candidacy', 'try_remove_votes_from_candidate', 'redistribute_votes', 'change_candidate_name', 'change_candidate_supporter_share', 'set_pallet_admin'];
3271
+ D9NodeRewards: ['set_pallet_admin', 'set_node_reward_contract'];
3272
+ Balances: ['transfer_allow_death', 'set_balance_deprecated', 'force_transfer', 'transfer_keep_alive', 'transfer_all', 'force_unreserve', 'upgrade_accounts', 'transfer', 'force_set_balance'];
3273
+ Grandpa: ['report_equivocation', 'report_equivocation_unsigned', 'note_stalled'];
3274
+ Sudo: ['sudo', 'sudo_unchecked_weight', 'set_key', 'sudo_as'];
3275
+ System: ['remark', 'set_heap_pages', 'set_code', 'set_code_without_checks', 'set_storage', 'kill_storage', 'kill_prefix', 'remark_with_event'];
3276
+ Timestamp: ['set'];
3277
+ Assets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance'];
3278
+ Collective: ['set_members', 'execute', 'propose', 'vote', 'disapprove_proposal', 'close'];
3279
+ Contracts: ['call_old_weight', 'instantiate_with_code_old_weight', 'instantiate_old_weight', 'upload_code', 'remove_code', 'set_code', 'call', 'instantiate_with_code', 'instantiate'];
3280
+ ImOnline: ['heartbeat'];
3281
+ Session: ['set_keys', 'purge_keys'];
3282
+ Treasury: ['propose_spend', 'reject_proposal', 'approve_proposal', 'spend', 'remove_approval'];
3283
+ CouncilLock: ['set_pallet_admin', 'set_mining_pool_contract', 'propose_lock', 'propose_unlock', 'vote_in_referendum', 'set_proposal_fee', 'admin_lock_accounts', 'admin_unlock_accounts', 'admin_remove_proposal'];
3284
+ D9MultiSig: ['create_multi_sig_account', 'author_a_call', 'add_call_approval', 'remove_call_approval', 'proposal_msa_new_minimum', 'approve_msa_new_minimum', 'revoke_approval_for_msa_new_minimum', 'remove_call'];
3285
+ };
3286
+ events: {
3287
+ D9Referral: ['NewReferralRelationshipCreated', 'NewReferralDepthSet', 'NewDefaultParentSet'];
3288
+ D9Treasury: ['NewTreasurer'];
3289
+ D9NodeVoting: ['CandidacySubmitted', 'VotesDelegatedBy', 'CandidacyRemoved'];
3290
+ D9NodeRewards: ['ErrorIssuingRewards', 'ContractError'];
3291
+ Balances: ['Endowed', 'DustLost', 'Transfer', 'BalanceSet', 'Reserved', 'Unreserved', 'ReserveRepatriated', 'Deposit', 'Withdraw', 'Slashed', 'Minted', 'Burned', 'Suspended', 'Restored', 'Upgraded', 'Issued', 'Rescinded', 'Locked', 'Unlocked', 'Frozen', 'Thawed'];
3292
+ Grandpa: ['NewAuthorities', 'Paused', 'Resumed'];
3293
+ Sudo: ['Sudid', 'KeyChanged', 'SudoAsDone'];
3294
+ System: ['ExtrinsicSuccess', 'ExtrinsicFailed', 'CodeUpdated', 'NewAccount', 'KilledAccount', 'Remarked'];
3295
+ TransactionPayment: ['TransactionFeePaid'];
3296
+ Assets: ['Created', 'Issued', 'Transferred', 'Burned', 'TeamChanged', 'OwnerChanged', 'Frozen', 'Thawed', 'AssetFrozen', 'AssetThawed', 'AccountsDestroyed', 'ApprovalsDestroyed', 'DestructionStarted', 'Destroyed', 'ForceCreated', 'MetadataSet', 'MetadataCleared', 'ApprovedTransfer', 'ApprovalCancelled', 'TransferredApproved', 'AssetStatusChanged', 'AssetMinBalanceChanged'];
3297
+ Collective: ['Proposed', 'Voted', 'Approved', 'Disapproved', 'Executed', 'MemberExecuted', 'Closed'];
3298
+ Contracts: ['Instantiated', 'Terminated', 'CodeStored', 'ContractEmitted', 'CodeRemoved', 'ContractCodeUpdated', 'Called', 'DelegateCalled'];
3299
+ ImOnline: ['HeartbeatReceived', 'AllGood', 'SomeOffline'];
3300
+ Session: ['NewSession'];
3301
+ Treasury: ['Proposed', 'Spending', 'Awarded', 'Rejected', 'Burnt', 'Rollover', 'Deposit', 'SpendApproved', 'UpdatedInactive'];
3302
+ CouncilLock: ['AccountNominatedForLock', 'ProposalFeePaid', 'VoteRecorded', 'AccountLocked', 'AccountUnlocked', 'AccountNominatedForUnlock', 'VoteStarted', 'VoteEnded'];
3303
+ D9MultiSig: ['MultiSignatureAccountCreated', 'MultiSignatureAccountUpdated', 'NewCallAuthored', 'ApprovalAdded', 'ApprovalRemoved', 'CallExecuted', 'MinApprovalsChanged'];
3304
+ };
3305
+ errors: {
3306
+ D9Referral: ['NoReferralAccountRecord'];
3307
+ D9Treasury: ['OnlyTreasurerCanDoThis', 'NoTreasurerSet'];
3308
+ D9NodeVoting: ['HexDecodeError', 'EmptyDelegationList', 'DelegationListTooLarge', 'DelegatorHasNoVotingCapacity', 'DelegatorHasNoAvailableVotes', 'DelegatorHasInsufficientVotes', 'AttemptingToRemoveMoreVotesThanDelegated', 'CandidateDoesNotExist', 'CandidateAlreadyExists', 'ErrorGettingNodeMetadata', 'VoterDidntDelegateToThisCandidate', 'NotActiveValidator', 'AtMaximumNumberOfCandidates', 'BurnAmountMustBeGreaterThan100', 'SupporterShareOutOfRange', 'CurrentValidatorCanNotChangeSharePercentage'];
3309
+ D9NodeRewards: ['RestrictedAccess', 'NodeRewardContractNotSet', 'ErrorUpdatingNodeRewardContract'];
3310
+ Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes'];
3311
+ Grandpa: ['PauseFailed', 'ResumeFailed', 'ChangePending', 'TooSoon', 'InvalidKeyOwnershipProof', 'InvalidEquivocationProof', 'DuplicateOffenceReport'];
3312
+ Sudo: ['RequireSudo'];
3313
+ System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered'];
3314
+ Assets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed'];
3315
+ Collective: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength'];
3316
+ Contracts: ['InvalidScheduleVersion', 'InvalidCallFlags', 'OutOfGas', 'OutputBufferTooSmall', 'TransferFailed', 'MaxCallDepthReached', 'ContractNotFound', 'CodeTooLarge', 'CodeNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', 'ValueTooLarge', 'TerminatedWhileReentrant', 'InputForwarded', 'RandomSubjectTooLong', 'TooManyTopics', 'NoChainExtension', 'DuplicateContract', 'TerminatedInConstructor', 'ReentranceDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected', 'Indeterministic'];
3317
+ ImOnline: ['InvalidKey', 'DuplicatedHeartbeat'];
3318
+ Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'];
3319
+ Treasury: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved'];
3320
+ CouncilLock: ['NotValidNominator', 'ProposalFeeInsufficient', 'MiningPoolContractNotSet', 'ErrorGettingRankedNodes', 'AccountAlreadyLocked', 'AccountNotLocked', 'ProposalAlreadyExists', 'AccountAlreadyInReferendum', 'AdminCannotBeNominated', 'LockCandidatesNotPermittedToInteract', 'LockedAccountsNotPermittedToInteract', 'LockedAccountCannotVote', 'ReferendumDoesNotExist', 'NotValidCouncilMember', 'ErrorCalculatingVotes', 'VoterAlreadyVoted'];
3321
+ D9MultiSig: ['DuplicatesInList', 'CallerNotSignatory', 'MSAAlreadyExists', 'MSANotFound', 'SignatoriesTooShort', 'SignatoriesTooLong', 'ApprovalExists', 'ApprovalDoesntExist', 'MinApprovalOutOfRange', 'NewMinimumEqualsCurrentMinimum', 'AccountAlreadyAuthor', 'OnlyMSAItselfCanDoThis', 'AuthorVecTooLong', 'AccountNotAuthor', 'AccountNotSignatory', 'AccountErrorMaxAuthors', 'CallLimit', 'ApprovalsLimitReached', 'CallEncodingFailure', 'AccountAtMultiSigLimit', 'FailedToCreatePendingCall', 'CallNotFound', 'FailureDecodingCall', 'FailedToBuildBoundedVec', 'ProposalNotFound', 'ProposalAlreadyPending'];
3322
+ };
3323
+ constants: {
3324
+ D9NodeRewards: ['PalletId'];
3325
+ Balances: ['ExistentialDeposit', 'MaxLocks', 'MaxReserves', 'MaxHolds', 'MaxFreezes'];
3326
+ Grandpa: ['MaxAuthorities', 'MaxSetIdSessionEntries'];
3327
+ System: ['BlockWeights', 'BlockLength', 'BlockHashCount', 'DbWeight', 'Version', 'SS58Prefix'];
3328
+ Timestamp: ['MinimumPeriod'];
3329
+ TransactionPayment: ['OperationalFeeMultiplier'];
3330
+ Assets: ['RemoveItemsLimit', 'AssetDeposit', 'AssetAccountDeposit', 'MetadataDepositBase', 'MetadataDepositPerByte', 'ApprovalDeposit', 'StringLimit'];
3331
+ Collective: ['MaxProposalWeight'];
3332
+ Contracts: ['Schedule', 'DepositPerByte', 'DefaultDepositLimit', 'DepositPerItem', 'MaxCodeLen', 'MaxStorageKeyLen', 'UnsafeUnstableInterface', 'MaxDebugBufferLen'];
3333
+ ImOnline: ['UnsignedPriority'];
3334
+ Treasury: ['ProposalBond', 'ProposalBondMinimum', 'ProposalBondMaximum', 'SpendPeriod', 'Burn', 'PalletId', 'MaxApprovals'];
3335
+ CouncilLock: ['CouncilPalletId'];
3336
+ };
3337
+ viewFns: {};
3338
+ apis: {};
3339
+ };
3340
+ export type D9WhitelistEntry = PalletKey | `query.${NestedKey<AllInteractions['storage']>}` | `tx.${NestedKey<AllInteractions['tx']>}` | `event.${NestedKey<AllInteractions['events']>}` | `error.${NestedKey<AllInteractions['errors']>}` | `const.${NestedKey<AllInteractions['constants']>}` | `view.${NestedKey<AllInteractions['viewFns']>}` | `api.${NestedKey<AllInteractions['apis']>}`;
3341
+ type PalletKey = `*.${({
3342
+ [K in keyof AllInteractions]: K extends 'apis' ? never : keyof AllInteractions[K];
3343
+ })[keyof AllInteractions]}`;
3344
+ type NestedKey<D extends Record<string, string[]>> = "*" | {
3345
+ [P in keyof D & string]: `${P}.*` | `${P}.${D[P][number]}`;
3346
+ }[keyof D & string];