@polkadot/api-augment 6.12.2-23 → 6.12.2-27
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.
- package/augment/consts.d.ts +950 -0
- package/augment/errors.d.ts +1558 -0
- package/augment/events.d.ts +1153 -0
- package/augment/index.d.ts +7 -0
- package/augment/query.d.ts +1449 -0
- package/augment/tx.d.ts +5574 -0
- package/bundle.d.ts +2 -0
- package/detectPackage.d.ts +1 -0
- package/index.d.ts +2 -0
- package/package.json +16 -6
- package/packageInfo.cjs +1 -1
- package/packageInfo.d.ts +4 -0
- package/packageInfo.js +1 -1
|
@@ -0,0 +1,1153 @@
|
|
|
1
|
+
import type { ApiTypes } from '@polkadot/api-base/types';
|
|
2
|
+
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
|
+
import type { ITuple } from '@polkadot/types-codec/types';
|
|
4
|
+
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, NodeRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
|
|
6
|
+
declare module '@polkadot/api-base/types/events' {
|
|
7
|
+
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
8
|
+
assets: {
|
|
9
|
+
/**
|
|
10
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
|
11
|
+
**/
|
|
12
|
+
ApprovalCancelled: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>;
|
|
13
|
+
/**
|
|
14
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
|
15
|
+
**/
|
|
16
|
+
ApprovedTransfer: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u128]>;
|
|
17
|
+
/**
|
|
18
|
+
* Some asset `asset_id` was frozen.
|
|
19
|
+
**/
|
|
20
|
+
AssetFrozen: AugmentedEvent<ApiType, [u32]>;
|
|
21
|
+
/**
|
|
22
|
+
* An asset has had its attributes changed by the `Force` origin.
|
|
23
|
+
**/
|
|
24
|
+
AssetStatusChanged: AugmentedEvent<ApiType, [u32]>;
|
|
25
|
+
/**
|
|
26
|
+
* Some asset `asset_id` was thawed.
|
|
27
|
+
**/
|
|
28
|
+
AssetThawed: AugmentedEvent<ApiType, [u32]>;
|
|
29
|
+
/**
|
|
30
|
+
* Some assets were destroyed.
|
|
31
|
+
**/
|
|
32
|
+
Burned: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
|
|
33
|
+
/**
|
|
34
|
+
* Some asset class was created.
|
|
35
|
+
**/
|
|
36
|
+
Created: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>;
|
|
37
|
+
/**
|
|
38
|
+
* An asset class was destroyed.
|
|
39
|
+
**/
|
|
40
|
+
Destroyed: AugmentedEvent<ApiType, [u32]>;
|
|
41
|
+
/**
|
|
42
|
+
* Some asset class was force-created.
|
|
43
|
+
**/
|
|
44
|
+
ForceCreated: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
45
|
+
/**
|
|
46
|
+
* Some account `who` was frozen.
|
|
47
|
+
**/
|
|
48
|
+
Frozen: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
49
|
+
/**
|
|
50
|
+
* Some assets were issued.
|
|
51
|
+
**/
|
|
52
|
+
Issued: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
|
|
53
|
+
/**
|
|
54
|
+
* Metadata has been cleared for an asset.
|
|
55
|
+
**/
|
|
56
|
+
MetadataCleared: AugmentedEvent<ApiType, [u32]>;
|
|
57
|
+
/**
|
|
58
|
+
* New metadata has been set for an asset.
|
|
59
|
+
**/
|
|
60
|
+
MetadataSet: AugmentedEvent<ApiType, [u32, Bytes, Bytes, u8, bool]>;
|
|
61
|
+
/**
|
|
62
|
+
* The owner changed.
|
|
63
|
+
**/
|
|
64
|
+
OwnerChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
65
|
+
/**
|
|
66
|
+
* The management team changed.
|
|
67
|
+
**/
|
|
68
|
+
TeamChanged: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32]>;
|
|
69
|
+
/**
|
|
70
|
+
* Some account `who` was thawed.
|
|
71
|
+
**/
|
|
72
|
+
Thawed: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
73
|
+
/**
|
|
74
|
+
* Some assets were transferred.
|
|
75
|
+
**/
|
|
76
|
+
Transferred: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u128]>;
|
|
77
|
+
/**
|
|
78
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
79
|
+
* the approved `delegate`.
|
|
80
|
+
**/
|
|
81
|
+
TransferredApproved: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32, u128]>;
|
|
82
|
+
/**
|
|
83
|
+
* Generic event
|
|
84
|
+
**/
|
|
85
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
86
|
+
};
|
|
87
|
+
bagsList: {
|
|
88
|
+
/**
|
|
89
|
+
* Moved an account from one bag to another.
|
|
90
|
+
**/
|
|
91
|
+
Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>;
|
|
92
|
+
/**
|
|
93
|
+
* Generic event
|
|
94
|
+
**/
|
|
95
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
96
|
+
};
|
|
97
|
+
balances: {
|
|
98
|
+
/**
|
|
99
|
+
* A balance was set by root.
|
|
100
|
+
**/
|
|
101
|
+
BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
|
|
102
|
+
/**
|
|
103
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
104
|
+
**/
|
|
105
|
+
Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
106
|
+
/**
|
|
107
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
108
|
+
* resulting in an outright loss.
|
|
109
|
+
**/
|
|
110
|
+
DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
111
|
+
/**
|
|
112
|
+
* An account was created with some free balance.
|
|
113
|
+
**/
|
|
114
|
+
Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
115
|
+
/**
|
|
116
|
+
* Some balance was reserved (moved from free to reserved).
|
|
117
|
+
**/
|
|
118
|
+
Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
119
|
+
/**
|
|
120
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
121
|
+
* Final argument indicates the destination balance type.
|
|
122
|
+
**/
|
|
123
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;
|
|
124
|
+
/**
|
|
125
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
126
|
+
**/
|
|
127
|
+
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
128
|
+
/**
|
|
129
|
+
* Transfer succeeded.
|
|
130
|
+
**/
|
|
131
|
+
Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
132
|
+
/**
|
|
133
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
134
|
+
**/
|
|
135
|
+
Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
136
|
+
/**
|
|
137
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
138
|
+
**/
|
|
139
|
+
Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
140
|
+
/**
|
|
141
|
+
* Generic event
|
|
142
|
+
**/
|
|
143
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
144
|
+
};
|
|
145
|
+
bounties: {
|
|
146
|
+
/**
|
|
147
|
+
* A bounty is awarded to a beneficiary.
|
|
148
|
+
**/
|
|
149
|
+
BountyAwarded: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
150
|
+
/**
|
|
151
|
+
* A bounty proposal is funded and became active.
|
|
152
|
+
**/
|
|
153
|
+
BountyBecameActive: AugmentedEvent<ApiType, [u32]>;
|
|
154
|
+
/**
|
|
155
|
+
* A bounty is cancelled.
|
|
156
|
+
**/
|
|
157
|
+
BountyCanceled: AugmentedEvent<ApiType, [u32]>;
|
|
158
|
+
/**
|
|
159
|
+
* A bounty is claimed by beneficiary.
|
|
160
|
+
**/
|
|
161
|
+
BountyClaimed: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
|
|
162
|
+
/**
|
|
163
|
+
* A bounty expiry is extended.
|
|
164
|
+
**/
|
|
165
|
+
BountyExtended: AugmentedEvent<ApiType, [u32]>;
|
|
166
|
+
/**
|
|
167
|
+
* New bounty proposal.
|
|
168
|
+
**/
|
|
169
|
+
BountyProposed: AugmentedEvent<ApiType, [u32]>;
|
|
170
|
+
/**
|
|
171
|
+
* A bounty proposal was rejected; funds were slashed.
|
|
172
|
+
**/
|
|
173
|
+
BountyRejected: AugmentedEvent<ApiType, [u32, u128]>;
|
|
174
|
+
/**
|
|
175
|
+
* Generic event
|
|
176
|
+
**/
|
|
177
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
178
|
+
};
|
|
179
|
+
childBounties: {
|
|
180
|
+
/**
|
|
181
|
+
* A child-bounty is added.
|
|
182
|
+
**/
|
|
183
|
+
Added: AugmentedEvent<ApiType, [u32, u32]>;
|
|
184
|
+
/**
|
|
185
|
+
* A child-bounty is awarded to a beneficiary.
|
|
186
|
+
**/
|
|
187
|
+
Awarded: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
|
|
188
|
+
/**
|
|
189
|
+
* A child-bounty is cancelled.
|
|
190
|
+
**/
|
|
191
|
+
Canceled: AugmentedEvent<ApiType, [u32, u32]>;
|
|
192
|
+
/**
|
|
193
|
+
* A child-bounty is claimed by beneficiary.
|
|
194
|
+
**/
|
|
195
|
+
Claimed: AugmentedEvent<ApiType, [u32, u32, u128, AccountId32]>;
|
|
196
|
+
/**
|
|
197
|
+
* Generic event
|
|
198
|
+
**/
|
|
199
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
200
|
+
};
|
|
201
|
+
contracts: {
|
|
202
|
+
/**
|
|
203
|
+
* A code with the specified hash was removed.
|
|
204
|
+
**/
|
|
205
|
+
CodeRemoved: AugmentedEvent<ApiType, [H256]>;
|
|
206
|
+
/**
|
|
207
|
+
* Code with the specified hash has been stored.
|
|
208
|
+
**/
|
|
209
|
+
CodeStored: AugmentedEvent<ApiType, [H256]>;
|
|
210
|
+
/**
|
|
211
|
+
* A custom event emitted by the contract.
|
|
212
|
+
**/
|
|
213
|
+
ContractEmitted: AugmentedEvent<ApiType, [AccountId32, Bytes]>;
|
|
214
|
+
/**
|
|
215
|
+
* Contract deployed by address at the specified address.
|
|
216
|
+
**/
|
|
217
|
+
Instantiated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
218
|
+
/**
|
|
219
|
+
* Contract has been removed.
|
|
220
|
+
*
|
|
221
|
+
* # Note
|
|
222
|
+
*
|
|
223
|
+
* The only way for a contract to be removed and emitting this event is by calling
|
|
224
|
+
* `seal_terminate`.
|
|
225
|
+
**/
|
|
226
|
+
Terminated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
227
|
+
/**
|
|
228
|
+
* Generic event
|
|
229
|
+
**/
|
|
230
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
231
|
+
};
|
|
232
|
+
council: {
|
|
233
|
+
/**
|
|
234
|
+
* A motion was approved by the required threshold.
|
|
235
|
+
**/
|
|
236
|
+
Approved: AugmentedEvent<ApiType, [H256]>;
|
|
237
|
+
/**
|
|
238
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
239
|
+
**/
|
|
240
|
+
Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
|
|
241
|
+
/**
|
|
242
|
+
* A motion was not approved by the required threshold.
|
|
243
|
+
**/
|
|
244
|
+
Disapproved: AugmentedEvent<ApiType, [H256]>;
|
|
245
|
+
/**
|
|
246
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
247
|
+
**/
|
|
248
|
+
Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
249
|
+
/**
|
|
250
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
251
|
+
**/
|
|
252
|
+
MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
253
|
+
/**
|
|
254
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
255
|
+
* `MemberCount`).
|
|
256
|
+
**/
|
|
257
|
+
Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
|
|
258
|
+
/**
|
|
259
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
260
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
261
|
+
**/
|
|
262
|
+
Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
|
|
263
|
+
/**
|
|
264
|
+
* Generic event
|
|
265
|
+
**/
|
|
266
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
267
|
+
};
|
|
268
|
+
democracy: {
|
|
269
|
+
/**
|
|
270
|
+
* A proposal_hash has been blacklisted permanently.
|
|
271
|
+
**/
|
|
272
|
+
Blacklisted: AugmentedEvent<ApiType, [H256]>;
|
|
273
|
+
/**
|
|
274
|
+
* A referendum has been cancelled.
|
|
275
|
+
**/
|
|
276
|
+
Cancelled: AugmentedEvent<ApiType, [u32]>;
|
|
277
|
+
/**
|
|
278
|
+
* An account has delegated their vote to another account.
|
|
279
|
+
**/
|
|
280
|
+
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
281
|
+
/**
|
|
282
|
+
* A proposal has been enacted.
|
|
283
|
+
**/
|
|
284
|
+
Executed: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>;
|
|
285
|
+
/**
|
|
286
|
+
* An external proposal has been tabled.
|
|
287
|
+
**/
|
|
288
|
+
ExternalTabled: AugmentedEvent<ApiType, []>;
|
|
289
|
+
/**
|
|
290
|
+
* A proposal has been rejected by referendum.
|
|
291
|
+
**/
|
|
292
|
+
NotPassed: AugmentedEvent<ApiType, [u32]>;
|
|
293
|
+
/**
|
|
294
|
+
* A proposal has been approved by referendum.
|
|
295
|
+
**/
|
|
296
|
+
Passed: AugmentedEvent<ApiType, [u32]>;
|
|
297
|
+
/**
|
|
298
|
+
* A proposal could not be executed because its preimage was invalid.
|
|
299
|
+
**/
|
|
300
|
+
PreimageInvalid: AugmentedEvent<ApiType, [H256, u32]>;
|
|
301
|
+
/**
|
|
302
|
+
* A proposal could not be executed because its preimage was missing.
|
|
303
|
+
**/
|
|
304
|
+
PreimageMissing: AugmentedEvent<ApiType, [H256, u32]>;
|
|
305
|
+
/**
|
|
306
|
+
* A proposal's preimage was noted, and the deposit taken.
|
|
307
|
+
**/
|
|
308
|
+
PreimageNoted: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
309
|
+
/**
|
|
310
|
+
* A registered preimage was removed and the deposit collected by the reaper.
|
|
311
|
+
**/
|
|
312
|
+
PreimageReaped: AugmentedEvent<ApiType, [H256, AccountId32, u128, AccountId32]>;
|
|
313
|
+
/**
|
|
314
|
+
* A proposal preimage was removed and used (the deposit was returned).
|
|
315
|
+
**/
|
|
316
|
+
PreimageUsed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
317
|
+
/**
|
|
318
|
+
* A motion has been proposed by a public account.
|
|
319
|
+
**/
|
|
320
|
+
Proposed: AugmentedEvent<ApiType, [u32, u128]>;
|
|
321
|
+
/**
|
|
322
|
+
* An account has secconded a proposal
|
|
323
|
+
**/
|
|
324
|
+
Seconded: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
325
|
+
/**
|
|
326
|
+
* A referendum has begun.
|
|
327
|
+
**/
|
|
328
|
+
Started: AugmentedEvent<ApiType, [u32, PalletDemocracyVoteThreshold]>;
|
|
329
|
+
/**
|
|
330
|
+
* A public proposal has been tabled for referendum vote.
|
|
331
|
+
**/
|
|
332
|
+
Tabled: AugmentedEvent<ApiType, [u32, u128, Vec<AccountId32>]>;
|
|
333
|
+
/**
|
|
334
|
+
* An account has cancelled a previous delegation operation.
|
|
335
|
+
**/
|
|
336
|
+
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
337
|
+
/**
|
|
338
|
+
* An external proposal has been vetoed.
|
|
339
|
+
**/
|
|
340
|
+
Vetoed: AugmentedEvent<ApiType, [AccountId32, H256, u32]>;
|
|
341
|
+
/**
|
|
342
|
+
* An account has voted in a referendum
|
|
343
|
+
**/
|
|
344
|
+
Voted: AugmentedEvent<ApiType, [AccountId32, u32, PalletDemocracyVoteAccountVote]>;
|
|
345
|
+
/**
|
|
346
|
+
* Generic event
|
|
347
|
+
**/
|
|
348
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
349
|
+
};
|
|
350
|
+
electionProviderMultiPhase: {
|
|
351
|
+
/**
|
|
352
|
+
* The election has been finalized, with `Some` of the given computation, or else if the
|
|
353
|
+
* election failed, `None`.
|
|
354
|
+
**/
|
|
355
|
+
ElectionFinalized: AugmentedEvent<ApiType, [Option<PalletElectionProviderMultiPhaseElectionCompute>]>;
|
|
356
|
+
/**
|
|
357
|
+
* An account has been rewarded for their signed submission being finalized.
|
|
358
|
+
**/
|
|
359
|
+
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
360
|
+
/**
|
|
361
|
+
* The signed phase of the given round has started.
|
|
362
|
+
**/
|
|
363
|
+
SignedPhaseStarted: AugmentedEvent<ApiType, [u32]>;
|
|
364
|
+
/**
|
|
365
|
+
* An account has been slashed for submitting an invalid signed submission.
|
|
366
|
+
**/
|
|
367
|
+
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
368
|
+
/**
|
|
369
|
+
* A solution was stored with the given compute.
|
|
370
|
+
*
|
|
371
|
+
* If the solution is signed, this means that it hasn't yet been processed. If the
|
|
372
|
+
* solution is unsigned, this means that it has also been processed.
|
|
373
|
+
*
|
|
374
|
+
* The `bool` is `true` when a previous solution was ejected to make room for this one.
|
|
375
|
+
**/
|
|
376
|
+
SolutionStored: AugmentedEvent<ApiType, [PalletElectionProviderMultiPhaseElectionCompute, bool]>;
|
|
377
|
+
/**
|
|
378
|
+
* The unsigned phase of the given round has started.
|
|
379
|
+
**/
|
|
380
|
+
UnsignedPhaseStarted: AugmentedEvent<ApiType, [u32]>;
|
|
381
|
+
/**
|
|
382
|
+
* Generic event
|
|
383
|
+
**/
|
|
384
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
385
|
+
};
|
|
386
|
+
elections: {
|
|
387
|
+
/**
|
|
388
|
+
* A candidate was slashed by amount due to failing to obtain a seat as member or
|
|
389
|
+
* runner-up.
|
|
390
|
+
*
|
|
391
|
+
* Note that old members and runners-up are also candidates.
|
|
392
|
+
**/
|
|
393
|
+
CandidateSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
394
|
+
/**
|
|
395
|
+
* Internal error happened while trying to perform election.
|
|
396
|
+
**/
|
|
397
|
+
ElectionError: AugmentedEvent<ApiType, []>;
|
|
398
|
+
/**
|
|
399
|
+
* No (or not enough) candidates existed for this round. This is different from
|
|
400
|
+
* `NewTerm(\[\])`. See the description of `NewTerm`.
|
|
401
|
+
**/
|
|
402
|
+
EmptyTerm: AugmentedEvent<ApiType, []>;
|
|
403
|
+
/**
|
|
404
|
+
* A member has been removed. This should always be followed by either `NewTerm` or
|
|
405
|
+
* `EmptyTerm`.
|
|
406
|
+
**/
|
|
407
|
+
MemberKicked: AugmentedEvent<ApiType, [AccountId32]>;
|
|
408
|
+
/**
|
|
409
|
+
* A new term with new_members. This indicates that enough candidates existed to run
|
|
410
|
+
* the election, not that enough have has been elected. The inner value must be examined
|
|
411
|
+
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
412
|
+
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
413
|
+
* begin with.
|
|
414
|
+
**/
|
|
415
|
+
NewTerm: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, u128]>>]>;
|
|
416
|
+
/**
|
|
417
|
+
* Someone has renounced their candidacy.
|
|
418
|
+
**/
|
|
419
|
+
Renounced: AugmentedEvent<ApiType, [AccountId32]>;
|
|
420
|
+
/**
|
|
421
|
+
* A seat holder was slashed by amount by being forcefully removed from the set.
|
|
422
|
+
**/
|
|
423
|
+
SeatHolderSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
424
|
+
/**
|
|
425
|
+
* Generic event
|
|
426
|
+
**/
|
|
427
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
428
|
+
};
|
|
429
|
+
gilt: {
|
|
430
|
+
/**
|
|
431
|
+
* A bid was successfully placed.
|
|
432
|
+
**/
|
|
433
|
+
BidPlaced: AugmentedEvent<ApiType, [AccountId32, u128, u32]>;
|
|
434
|
+
/**
|
|
435
|
+
* A bid was successfully removed (before being accepted as a gilt).
|
|
436
|
+
**/
|
|
437
|
+
BidRetracted: AugmentedEvent<ApiType, [AccountId32, u128, u32]>;
|
|
438
|
+
/**
|
|
439
|
+
* A bid was accepted as a gilt. The balance may not be released until expiry.
|
|
440
|
+
**/
|
|
441
|
+
GiltIssued: AugmentedEvent<ApiType, [u32, u32, AccountId32, u128]>;
|
|
442
|
+
/**
|
|
443
|
+
* An expired gilt has been thawed.
|
|
444
|
+
**/
|
|
445
|
+
GiltThawed: AugmentedEvent<ApiType, [u32, AccountId32, u128, u128]>;
|
|
446
|
+
/**
|
|
447
|
+
* Generic event
|
|
448
|
+
**/
|
|
449
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
450
|
+
};
|
|
451
|
+
grandpa: {
|
|
452
|
+
/**
|
|
453
|
+
* New authority set has been applied.
|
|
454
|
+
**/
|
|
455
|
+
NewAuthorities: AugmentedEvent<ApiType, [Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>]>;
|
|
456
|
+
/**
|
|
457
|
+
* Current authority set has been paused.
|
|
458
|
+
**/
|
|
459
|
+
Paused: AugmentedEvent<ApiType, []>;
|
|
460
|
+
/**
|
|
461
|
+
* Current authority set has been resumed.
|
|
462
|
+
**/
|
|
463
|
+
Resumed: AugmentedEvent<ApiType, []>;
|
|
464
|
+
/**
|
|
465
|
+
* Generic event
|
|
466
|
+
**/
|
|
467
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
468
|
+
};
|
|
469
|
+
identity: {
|
|
470
|
+
/**
|
|
471
|
+
* A name was cleared, and the given balance returned.
|
|
472
|
+
**/
|
|
473
|
+
IdentityCleared: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
474
|
+
/**
|
|
475
|
+
* A name was removed and the given balance slashed.
|
|
476
|
+
**/
|
|
477
|
+
IdentityKilled: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
478
|
+
/**
|
|
479
|
+
* A name was set or reset (which will remove all judgements).
|
|
480
|
+
**/
|
|
481
|
+
IdentitySet: AugmentedEvent<ApiType, [AccountId32]>;
|
|
482
|
+
/**
|
|
483
|
+
* A judgement was given by a registrar.
|
|
484
|
+
**/
|
|
485
|
+
JudgementGiven: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
486
|
+
/**
|
|
487
|
+
* A judgement was asked from a registrar.
|
|
488
|
+
**/
|
|
489
|
+
JudgementRequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
490
|
+
/**
|
|
491
|
+
* A judgement request was retracted.
|
|
492
|
+
**/
|
|
493
|
+
JudgementUnrequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
494
|
+
/**
|
|
495
|
+
* A registrar was added.
|
|
496
|
+
**/
|
|
497
|
+
RegistrarAdded: AugmentedEvent<ApiType, [u32]>;
|
|
498
|
+
/**
|
|
499
|
+
* A sub-identity was added to an identity and the deposit paid.
|
|
500
|
+
**/
|
|
501
|
+
SubIdentityAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
502
|
+
/**
|
|
503
|
+
* A sub-identity was removed from an identity and the deposit freed.
|
|
504
|
+
**/
|
|
505
|
+
SubIdentityRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
506
|
+
/**
|
|
507
|
+
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
508
|
+
* main identity account to the sub-identity account.
|
|
509
|
+
**/
|
|
510
|
+
SubIdentityRevoked: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
511
|
+
/**
|
|
512
|
+
* Generic event
|
|
513
|
+
**/
|
|
514
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
515
|
+
};
|
|
516
|
+
imOnline: {
|
|
517
|
+
/**
|
|
518
|
+
* At the end of the session, no offence was committed.
|
|
519
|
+
**/
|
|
520
|
+
AllGood: AugmentedEvent<ApiType, []>;
|
|
521
|
+
/**
|
|
522
|
+
* A new heartbeat was received from `AuthorityId`.
|
|
523
|
+
**/
|
|
524
|
+
HeartbeatReceived: AugmentedEvent<ApiType, [PalletImOnlineSr25519AppSr25519Public]>;
|
|
525
|
+
/**
|
|
526
|
+
* At the end of the session, at least one validator was found to be offline.
|
|
527
|
+
**/
|
|
528
|
+
SomeOffline: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, PalletStakingExposure]>>]>;
|
|
529
|
+
/**
|
|
530
|
+
* Generic event
|
|
531
|
+
**/
|
|
532
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
533
|
+
};
|
|
534
|
+
indices: {
|
|
535
|
+
/**
|
|
536
|
+
* A account index was assigned.
|
|
537
|
+
**/
|
|
538
|
+
IndexAssigned: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
539
|
+
/**
|
|
540
|
+
* A account index has been freed up (unassigned).
|
|
541
|
+
**/
|
|
542
|
+
IndexFreed: AugmentedEvent<ApiType, [u32]>;
|
|
543
|
+
/**
|
|
544
|
+
* A account index has been frozen to its current account ID.
|
|
545
|
+
**/
|
|
546
|
+
IndexFrozen: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
547
|
+
/**
|
|
548
|
+
* Generic event
|
|
549
|
+
**/
|
|
550
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
551
|
+
};
|
|
552
|
+
lottery: {
|
|
553
|
+
/**
|
|
554
|
+
* A new set of calls have been set!
|
|
555
|
+
**/
|
|
556
|
+
CallsUpdated: AugmentedEvent<ApiType, []>;
|
|
557
|
+
/**
|
|
558
|
+
* A lottery has been started!
|
|
559
|
+
**/
|
|
560
|
+
LotteryStarted: AugmentedEvent<ApiType, []>;
|
|
561
|
+
/**
|
|
562
|
+
* A ticket has been bought!
|
|
563
|
+
**/
|
|
564
|
+
TicketBought: AugmentedEvent<ApiType, [AccountId32, ITuple<[u8, u8]>]>;
|
|
565
|
+
/**
|
|
566
|
+
* A winner has been chosen!
|
|
567
|
+
**/
|
|
568
|
+
Winner: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
569
|
+
/**
|
|
570
|
+
* Generic event
|
|
571
|
+
**/
|
|
572
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
573
|
+
};
|
|
574
|
+
multisig: {
|
|
575
|
+
/**
|
|
576
|
+
* A multisig operation has been approved by someone.
|
|
577
|
+
**/
|
|
578
|
+
MultisigApproval: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
|
|
579
|
+
/**
|
|
580
|
+
* A multisig operation has been cancelled.
|
|
581
|
+
**/
|
|
582
|
+
MultisigCancelled: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
|
|
583
|
+
/**
|
|
584
|
+
* A multisig operation has been executed.
|
|
585
|
+
**/
|
|
586
|
+
MultisigExecuted: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed, Result<Null, SpRuntimeDispatchError>]>;
|
|
587
|
+
/**
|
|
588
|
+
* A new multisig operation has begun.
|
|
589
|
+
**/
|
|
590
|
+
NewMultisig: AugmentedEvent<ApiType, [AccountId32, AccountId32, U8aFixed]>;
|
|
591
|
+
/**
|
|
592
|
+
* Generic event
|
|
593
|
+
**/
|
|
594
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
595
|
+
};
|
|
596
|
+
offences: {
|
|
597
|
+
/**
|
|
598
|
+
* There is an offence reported of the given `kind` happened at the `session_index` and
|
|
599
|
+
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
600
|
+
* \[kind, timeslot\].
|
|
601
|
+
**/
|
|
602
|
+
Offence: AugmentedEvent<ApiType, [U8aFixed, Bytes]>;
|
|
603
|
+
/**
|
|
604
|
+
* Generic event
|
|
605
|
+
**/
|
|
606
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
607
|
+
};
|
|
608
|
+
proxy: {
|
|
609
|
+
/**
|
|
610
|
+
* An announcement was placed to make a call in the future.
|
|
611
|
+
**/
|
|
612
|
+
Announced: AugmentedEvent<ApiType, [AccountId32, AccountId32, H256]>;
|
|
613
|
+
/**
|
|
614
|
+
* Anonymous account has been created by new proxy with given
|
|
615
|
+
* disambiguation index and proxy type.
|
|
616
|
+
**/
|
|
617
|
+
AnonymousCreated: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u16]>;
|
|
618
|
+
/**
|
|
619
|
+
* A proxy was added.
|
|
620
|
+
**/
|
|
621
|
+
ProxyAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u32]>;
|
|
622
|
+
/**
|
|
623
|
+
* A proxy was executed correctly, with the given.
|
|
624
|
+
**/
|
|
625
|
+
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
626
|
+
/**
|
|
627
|
+
* Generic event
|
|
628
|
+
**/
|
|
629
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
630
|
+
};
|
|
631
|
+
recovery: {
|
|
632
|
+
/**
|
|
633
|
+
* Lost account has been successfully recovered by rescuer account.
|
|
634
|
+
**/
|
|
635
|
+
AccountRecovered: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
636
|
+
/**
|
|
637
|
+
* A recovery process for lost account by rescuer account has been closed.
|
|
638
|
+
**/
|
|
639
|
+
RecoveryClosed: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
640
|
+
/**
|
|
641
|
+
* A recovery process has been set up for an account.
|
|
642
|
+
**/
|
|
643
|
+
RecoveryCreated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
644
|
+
/**
|
|
645
|
+
* A recovery process has been initiated for lost account by rescuer account.
|
|
646
|
+
**/
|
|
647
|
+
RecoveryInitiated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
648
|
+
/**
|
|
649
|
+
* A recovery process has been removed for an account.
|
|
650
|
+
**/
|
|
651
|
+
RecoveryRemoved: AugmentedEvent<ApiType, [AccountId32]>;
|
|
652
|
+
/**
|
|
653
|
+
* A recovery process for lost account by rescuer account has been vouched for by sender.
|
|
654
|
+
**/
|
|
655
|
+
RecoveryVouched: AugmentedEvent<ApiType, [AccountId32, AccountId32, AccountId32]>;
|
|
656
|
+
/**
|
|
657
|
+
* Generic event
|
|
658
|
+
**/
|
|
659
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
660
|
+
};
|
|
661
|
+
scheduler: {
|
|
662
|
+
/**
|
|
663
|
+
* Canceled some task.
|
|
664
|
+
**/
|
|
665
|
+
Canceled: AugmentedEvent<ApiType, [u32, u32]>;
|
|
666
|
+
/**
|
|
667
|
+
* Dispatched some task.
|
|
668
|
+
**/
|
|
669
|
+
Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<Bytes>, Result<Null, SpRuntimeDispatchError>]>;
|
|
670
|
+
/**
|
|
671
|
+
* Scheduled some task.
|
|
672
|
+
**/
|
|
673
|
+
Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
|
|
674
|
+
/**
|
|
675
|
+
* Generic event
|
|
676
|
+
**/
|
|
677
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
678
|
+
};
|
|
679
|
+
session: {
|
|
680
|
+
/**
|
|
681
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
682
|
+
* block number as the type might suggest.
|
|
683
|
+
**/
|
|
684
|
+
NewSession: AugmentedEvent<ApiType, [u32]>;
|
|
685
|
+
/**
|
|
686
|
+
* Generic event
|
|
687
|
+
**/
|
|
688
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
689
|
+
};
|
|
690
|
+
society: {
|
|
691
|
+
/**
|
|
692
|
+
* A candidate was dropped (due to an excess of bids in the system).
|
|
693
|
+
**/
|
|
694
|
+
AutoUnbid: AugmentedEvent<ApiType, [AccountId32]>;
|
|
695
|
+
/**
|
|
696
|
+
* A membership bid just happened. The given account is the candidate's ID and their offer
|
|
697
|
+
* is the second.
|
|
698
|
+
**/
|
|
699
|
+
Bid: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
700
|
+
/**
|
|
701
|
+
* A candidate has been suspended
|
|
702
|
+
**/
|
|
703
|
+
CandidateSuspended: AugmentedEvent<ApiType, [AccountId32]>;
|
|
704
|
+
/**
|
|
705
|
+
* A member has been challenged
|
|
706
|
+
**/
|
|
707
|
+
Challenged: AugmentedEvent<ApiType, [AccountId32]>;
|
|
708
|
+
/**
|
|
709
|
+
* A vote has been placed for a defending member
|
|
710
|
+
**/
|
|
711
|
+
DefenderVote: AugmentedEvent<ApiType, [AccountId32, bool]>;
|
|
712
|
+
/**
|
|
713
|
+
* Some funds were deposited into the society account.
|
|
714
|
+
**/
|
|
715
|
+
Deposit: AugmentedEvent<ApiType, [u128]>;
|
|
716
|
+
/**
|
|
717
|
+
* The society is founded by the given identity.
|
|
718
|
+
**/
|
|
719
|
+
Founded: AugmentedEvent<ApiType, [AccountId32]>;
|
|
720
|
+
/**
|
|
721
|
+
* A group of candidates have been inducted. The batch's primary is the first value, the
|
|
722
|
+
* batch in full is the second.
|
|
723
|
+
**/
|
|
724
|
+
Inducted: AugmentedEvent<ApiType, [AccountId32, Vec<AccountId32>]>;
|
|
725
|
+
/**
|
|
726
|
+
* A member has been suspended
|
|
727
|
+
**/
|
|
728
|
+
MemberSuspended: AugmentedEvent<ApiType, [AccountId32]>;
|
|
729
|
+
/**
|
|
730
|
+
* A new \[max\] member count has been set
|
|
731
|
+
**/
|
|
732
|
+
NewMaxMembers: AugmentedEvent<ApiType, [u32]>;
|
|
733
|
+
/**
|
|
734
|
+
* A suspended member has been judged.
|
|
735
|
+
**/
|
|
736
|
+
SuspendedMemberJudgement: AugmentedEvent<ApiType, [AccountId32, bool]>;
|
|
737
|
+
/**
|
|
738
|
+
* A candidate was dropped (by their request).
|
|
739
|
+
**/
|
|
740
|
+
Unbid: AugmentedEvent<ApiType, [AccountId32]>;
|
|
741
|
+
/**
|
|
742
|
+
* Society is unfounded.
|
|
743
|
+
**/
|
|
744
|
+
Unfounded: AugmentedEvent<ApiType, [AccountId32]>;
|
|
745
|
+
/**
|
|
746
|
+
* A candidate was dropped (by request of who vouched for them).
|
|
747
|
+
**/
|
|
748
|
+
Unvouch: AugmentedEvent<ApiType, [AccountId32]>;
|
|
749
|
+
/**
|
|
750
|
+
* A vote has been placed
|
|
751
|
+
**/
|
|
752
|
+
Vote: AugmentedEvent<ApiType, [AccountId32, AccountId32, bool]>;
|
|
753
|
+
/**
|
|
754
|
+
* A membership bid just happened by vouching. The given account is the candidate's ID and
|
|
755
|
+
* their offer is the second. The vouching party is the third.
|
|
756
|
+
**/
|
|
757
|
+
Vouch: AugmentedEvent<ApiType, [AccountId32, u128, AccountId32]>;
|
|
758
|
+
/**
|
|
759
|
+
* Generic event
|
|
760
|
+
**/
|
|
761
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
762
|
+
};
|
|
763
|
+
staking: {
|
|
764
|
+
/**
|
|
765
|
+
* An account has bonded this amount. \[stash, amount\]
|
|
766
|
+
*
|
|
767
|
+
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
768
|
+
* it will not be emitted for staking rewards when they are added to stake.
|
|
769
|
+
**/
|
|
770
|
+
Bonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
771
|
+
/**
|
|
772
|
+
* An account has stopped participating as either a validator or nominator.
|
|
773
|
+
* \[stash\]
|
|
774
|
+
**/
|
|
775
|
+
Chilled: AugmentedEvent<ApiType, [AccountId32]>;
|
|
776
|
+
/**
|
|
777
|
+
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
778
|
+
* the remainder from the maximum amount of reward.
|
|
779
|
+
* \[era_index, validator_payout, remainder\]
|
|
780
|
+
**/
|
|
781
|
+
EraPaid: AugmentedEvent<ApiType, [u32, u128, u128]>;
|
|
782
|
+
/**
|
|
783
|
+
* A nominator has been kicked from a validator. \[nominator, stash\]
|
|
784
|
+
**/
|
|
785
|
+
Kicked: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
786
|
+
/**
|
|
787
|
+
* An old slashing report from a prior era was discarded because it could
|
|
788
|
+
* not be processed. \[session_index\]
|
|
789
|
+
**/
|
|
790
|
+
OldSlashingReportDiscarded: AugmentedEvent<ApiType, [u32]>;
|
|
791
|
+
/**
|
|
792
|
+
* The stakers' rewards are getting paid. \[era_index, validator_stash\]
|
|
793
|
+
**/
|
|
794
|
+
PayoutStarted: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
795
|
+
/**
|
|
796
|
+
* The nominator has been rewarded by this amount. \[stash, amount\]
|
|
797
|
+
**/
|
|
798
|
+
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
799
|
+
/**
|
|
800
|
+
* One validator (and its nominators) has been slashed by the given amount.
|
|
801
|
+
* \[validator, amount\]
|
|
802
|
+
**/
|
|
803
|
+
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
804
|
+
/**
|
|
805
|
+
* A new set of stakers was elected.
|
|
806
|
+
**/
|
|
807
|
+
StakersElected: AugmentedEvent<ApiType, []>;
|
|
808
|
+
/**
|
|
809
|
+
* The election failed. No new era is planned.
|
|
810
|
+
**/
|
|
811
|
+
StakingElectionFailed: AugmentedEvent<ApiType, []>;
|
|
812
|
+
/**
|
|
813
|
+
* An account has unbonded this amount. \[stash, amount\]
|
|
814
|
+
**/
|
|
815
|
+
Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
816
|
+
/**
|
|
817
|
+
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
818
|
+
* from the unlocking queue. \[stash, amount\]
|
|
819
|
+
**/
|
|
820
|
+
Withdrawn: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
821
|
+
/**
|
|
822
|
+
* Generic event
|
|
823
|
+
**/
|
|
824
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
825
|
+
};
|
|
826
|
+
sudo: {
|
|
827
|
+
/**
|
|
828
|
+
* The \[sudoer\] just switched identity; the old key is supplied.
|
|
829
|
+
**/
|
|
830
|
+
KeyChanged: AugmentedEvent<ApiType, [AccountId32]>;
|
|
831
|
+
/**
|
|
832
|
+
* A sudo just took place. \[result\]
|
|
833
|
+
**/
|
|
834
|
+
Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
835
|
+
/**
|
|
836
|
+
* A sudo just took place. \[result\]
|
|
837
|
+
**/
|
|
838
|
+
SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
839
|
+
/**
|
|
840
|
+
* Generic event
|
|
841
|
+
**/
|
|
842
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
843
|
+
};
|
|
844
|
+
system: {
|
|
845
|
+
/**
|
|
846
|
+
* `:code` was updated.
|
|
847
|
+
**/
|
|
848
|
+
CodeUpdated: AugmentedEvent<ApiType, []>;
|
|
849
|
+
/**
|
|
850
|
+
* An extrinsic failed.
|
|
851
|
+
**/
|
|
852
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;
|
|
853
|
+
/**
|
|
854
|
+
* An extrinsic completed successfully.
|
|
855
|
+
**/
|
|
856
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;
|
|
857
|
+
/**
|
|
858
|
+
* An account was reaped.
|
|
859
|
+
**/
|
|
860
|
+
KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;
|
|
861
|
+
/**
|
|
862
|
+
* A new account was created.
|
|
863
|
+
**/
|
|
864
|
+
NewAccount: AugmentedEvent<ApiType, [AccountId32]>;
|
|
865
|
+
/**
|
|
866
|
+
* On on-chain remark happened.
|
|
867
|
+
**/
|
|
868
|
+
Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;
|
|
869
|
+
/**
|
|
870
|
+
* Generic event
|
|
871
|
+
**/
|
|
872
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
873
|
+
};
|
|
874
|
+
technicalCommittee: {
|
|
875
|
+
/**
|
|
876
|
+
* A motion was approved by the required threshold.
|
|
877
|
+
**/
|
|
878
|
+
Approved: AugmentedEvent<ApiType, [H256]>;
|
|
879
|
+
/**
|
|
880
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
881
|
+
**/
|
|
882
|
+
Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
|
|
883
|
+
/**
|
|
884
|
+
* A motion was not approved by the required threshold.
|
|
885
|
+
**/
|
|
886
|
+
Disapproved: AugmentedEvent<ApiType, [H256]>;
|
|
887
|
+
/**
|
|
888
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
889
|
+
**/
|
|
890
|
+
Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
891
|
+
/**
|
|
892
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
893
|
+
**/
|
|
894
|
+
MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
895
|
+
/**
|
|
896
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
897
|
+
* `MemberCount`).
|
|
898
|
+
**/
|
|
899
|
+
Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
|
|
900
|
+
/**
|
|
901
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
902
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
903
|
+
**/
|
|
904
|
+
Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
|
|
905
|
+
/**
|
|
906
|
+
* Generic event
|
|
907
|
+
**/
|
|
908
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
909
|
+
};
|
|
910
|
+
technicalMembership: {
|
|
911
|
+
/**
|
|
912
|
+
* Phantom member, never used.
|
|
913
|
+
**/
|
|
914
|
+
Dummy: AugmentedEvent<ApiType, []>;
|
|
915
|
+
/**
|
|
916
|
+
* One of the members' keys changed.
|
|
917
|
+
**/
|
|
918
|
+
KeyChanged: AugmentedEvent<ApiType, []>;
|
|
919
|
+
/**
|
|
920
|
+
* The given member was added; see the transaction for who.
|
|
921
|
+
**/
|
|
922
|
+
MemberAdded: AugmentedEvent<ApiType, []>;
|
|
923
|
+
/**
|
|
924
|
+
* The given member was removed; see the transaction for who.
|
|
925
|
+
**/
|
|
926
|
+
MemberRemoved: AugmentedEvent<ApiType, []>;
|
|
927
|
+
/**
|
|
928
|
+
* The membership was reset; see the transaction for who the new set is.
|
|
929
|
+
**/
|
|
930
|
+
MembersReset: AugmentedEvent<ApiType, []>;
|
|
931
|
+
/**
|
|
932
|
+
* Two members were swapped; see the transaction for who.
|
|
933
|
+
**/
|
|
934
|
+
MembersSwapped: AugmentedEvent<ApiType, []>;
|
|
935
|
+
/**
|
|
936
|
+
* Generic event
|
|
937
|
+
**/
|
|
938
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
939
|
+
};
|
|
940
|
+
tips: {
|
|
941
|
+
/**
|
|
942
|
+
* A new tip suggestion has been opened.
|
|
943
|
+
**/
|
|
944
|
+
NewTip: AugmentedEvent<ApiType, [H256]>;
|
|
945
|
+
/**
|
|
946
|
+
* A tip suggestion has been closed.
|
|
947
|
+
**/
|
|
948
|
+
TipClosed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
949
|
+
/**
|
|
950
|
+
* A tip suggestion has reached threshold and is closing.
|
|
951
|
+
**/
|
|
952
|
+
TipClosing: AugmentedEvent<ApiType, [H256]>;
|
|
953
|
+
/**
|
|
954
|
+
* A tip suggestion has been retracted.
|
|
955
|
+
**/
|
|
956
|
+
TipRetracted: AugmentedEvent<ApiType, [H256]>;
|
|
957
|
+
/**
|
|
958
|
+
* A tip suggestion has been slashed.
|
|
959
|
+
**/
|
|
960
|
+
TipSlashed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
961
|
+
/**
|
|
962
|
+
* Generic event
|
|
963
|
+
**/
|
|
964
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
965
|
+
};
|
|
966
|
+
transactionStorage: {
|
|
967
|
+
/**
|
|
968
|
+
* Storage proof was successfully checked.
|
|
969
|
+
**/
|
|
970
|
+
ProofChecked: AugmentedEvent<ApiType, []>;
|
|
971
|
+
/**
|
|
972
|
+
* Renewed data under specified index.
|
|
973
|
+
**/
|
|
974
|
+
Renewed: AugmentedEvent<ApiType, [u32]>;
|
|
975
|
+
/**
|
|
976
|
+
* Stored data under specified index.
|
|
977
|
+
**/
|
|
978
|
+
Stored: AugmentedEvent<ApiType, [u32]>;
|
|
979
|
+
/**
|
|
980
|
+
* Generic event
|
|
981
|
+
**/
|
|
982
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
983
|
+
};
|
|
984
|
+
treasury: {
|
|
985
|
+
/**
|
|
986
|
+
* Some funds have been allocated.
|
|
987
|
+
**/
|
|
988
|
+
Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
|
|
989
|
+
/**
|
|
990
|
+
* Some of our funds have been burnt.
|
|
991
|
+
**/
|
|
992
|
+
Burnt: AugmentedEvent<ApiType, [u128]>;
|
|
993
|
+
/**
|
|
994
|
+
* Some funds have been deposited.
|
|
995
|
+
**/
|
|
996
|
+
Deposit: AugmentedEvent<ApiType, [u128]>;
|
|
997
|
+
/**
|
|
998
|
+
* New proposal.
|
|
999
|
+
**/
|
|
1000
|
+
Proposed: AugmentedEvent<ApiType, [u32]>;
|
|
1001
|
+
/**
|
|
1002
|
+
* A proposal was rejected; funds were slashed.
|
|
1003
|
+
**/
|
|
1004
|
+
Rejected: AugmentedEvent<ApiType, [u32, u128]>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Spending has finished; this is the amount that rolls over until next spend.
|
|
1007
|
+
**/
|
|
1008
|
+
Rollover: AugmentedEvent<ApiType, [u128]>;
|
|
1009
|
+
/**
|
|
1010
|
+
* We have ended a spend period and will now allocate funds.
|
|
1011
|
+
**/
|
|
1012
|
+
Spending: AugmentedEvent<ApiType, [u128]>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Generic event
|
|
1015
|
+
**/
|
|
1016
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1017
|
+
};
|
|
1018
|
+
uniques: {
|
|
1019
|
+
/**
|
|
1020
|
+
* An approval for a `delegate` account to transfer the `instance` of an asset `class` was
|
|
1021
|
+
* cancelled by its `owner`.
|
|
1022
|
+
**/
|
|
1023
|
+
ApprovalCancelled: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
|
|
1024
|
+
/**
|
|
1025
|
+
* An `instance` of an asset `class` has been approved by the `owner` for transfer by a
|
|
1026
|
+
* `delegate`.
|
|
1027
|
+
**/
|
|
1028
|
+
ApprovedTransfer: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
|
|
1029
|
+
/**
|
|
1030
|
+
* An asset `class` has had its attributes changed by the `Force` origin.
|
|
1031
|
+
**/
|
|
1032
|
+
AssetStatusChanged: AugmentedEvent<ApiType, [u32]>;
|
|
1033
|
+
/**
|
|
1034
|
+
* Attribute metadata has been cleared for an asset class or instance.
|
|
1035
|
+
**/
|
|
1036
|
+
AttributeCleared: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes]>;
|
|
1037
|
+
/**
|
|
1038
|
+
* New attribute metadata has been set for an asset class or instance.
|
|
1039
|
+
**/
|
|
1040
|
+
AttributeSet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
|
|
1041
|
+
/**
|
|
1042
|
+
* An asset `instance` was destroyed.
|
|
1043
|
+
**/
|
|
1044
|
+
Burned: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Some asset `class` was frozen.
|
|
1047
|
+
**/
|
|
1048
|
+
ClassFrozen: AugmentedEvent<ApiType, [u32]>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Metadata has been cleared for an asset class.
|
|
1051
|
+
**/
|
|
1052
|
+
ClassMetadataCleared: AugmentedEvent<ApiType, [u32]>;
|
|
1053
|
+
/**
|
|
1054
|
+
* New metadata has been set for an asset class.
|
|
1055
|
+
**/
|
|
1056
|
+
ClassMetadataSet: AugmentedEvent<ApiType, [u32, Bytes, bool]>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Some asset `class` was thawed.
|
|
1059
|
+
**/
|
|
1060
|
+
ClassThawed: AugmentedEvent<ApiType, [u32]>;
|
|
1061
|
+
/**
|
|
1062
|
+
* An asset class was created.
|
|
1063
|
+
**/
|
|
1064
|
+
Created: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>;
|
|
1065
|
+
/**
|
|
1066
|
+
* An asset `class` was destroyed.
|
|
1067
|
+
**/
|
|
1068
|
+
Destroyed: AugmentedEvent<ApiType, [u32]>;
|
|
1069
|
+
/**
|
|
1070
|
+
* An asset class was force-created.
|
|
1071
|
+
**/
|
|
1072
|
+
ForceCreated: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Some asset `instance` was frozen.
|
|
1075
|
+
**/
|
|
1076
|
+
Frozen: AugmentedEvent<ApiType, [u32, u32]>;
|
|
1077
|
+
/**
|
|
1078
|
+
* An asset `instance` was issued.
|
|
1079
|
+
**/
|
|
1080
|
+
Issued: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Metadata has been cleared for an asset instance.
|
|
1083
|
+
**/
|
|
1084
|
+
MetadataCleared: AugmentedEvent<ApiType, [u32, u32]>;
|
|
1085
|
+
/**
|
|
1086
|
+
* New metadata has been set for an asset instance.
|
|
1087
|
+
**/
|
|
1088
|
+
MetadataSet: AugmentedEvent<ApiType, [u32, u32, Bytes, bool]>;
|
|
1089
|
+
/**
|
|
1090
|
+
* The owner changed.
|
|
1091
|
+
**/
|
|
1092
|
+
OwnerChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Metadata has been cleared for an asset instance.
|
|
1095
|
+
**/
|
|
1096
|
+
Redeposited: AugmentedEvent<ApiType, [u32, Vec<u32>]>;
|
|
1097
|
+
/**
|
|
1098
|
+
* The management team changed.
|
|
1099
|
+
**/
|
|
1100
|
+
TeamChanged: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32]>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Some asset `instance` was thawed.
|
|
1103
|
+
**/
|
|
1104
|
+
Thawed: AugmentedEvent<ApiType, [u32, u32]>;
|
|
1105
|
+
/**
|
|
1106
|
+
* An asset `instance` was transferred.
|
|
1107
|
+
**/
|
|
1108
|
+
Transferred: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Generic event
|
|
1111
|
+
**/
|
|
1112
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1113
|
+
};
|
|
1114
|
+
utility: {
|
|
1115
|
+
/**
|
|
1116
|
+
* Batch of dispatches completed fully with no error.
|
|
1117
|
+
**/
|
|
1118
|
+
BatchCompleted: AugmentedEvent<ApiType, []>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
1121
|
+
* well as the error.
|
|
1122
|
+
**/
|
|
1123
|
+
BatchInterrupted: AugmentedEvent<ApiType, [u32, SpRuntimeDispatchError]>;
|
|
1124
|
+
/**
|
|
1125
|
+
* A call was dispatched.
|
|
1126
|
+
**/
|
|
1127
|
+
DispatchedAs: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
1128
|
+
/**
|
|
1129
|
+
* A single item within a Batch of dispatches has completed with no error.
|
|
1130
|
+
**/
|
|
1131
|
+
ItemCompleted: AugmentedEvent<ApiType, []>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Generic event
|
|
1134
|
+
**/
|
|
1135
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1136
|
+
};
|
|
1137
|
+
vesting: {
|
|
1138
|
+
/**
|
|
1139
|
+
* An \[account\] has become fully vested.
|
|
1140
|
+
**/
|
|
1141
|
+
VestingCompleted: AugmentedEvent<ApiType, [AccountId32]>;
|
|
1142
|
+
/**
|
|
1143
|
+
* The amount vested has been updated. This could indicate a change in funds available.
|
|
1144
|
+
* The balance given is the amount which is left unvested (and thus locked).
|
|
1145
|
+
**/
|
|
1146
|
+
VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
1147
|
+
/**
|
|
1148
|
+
* Generic event
|
|
1149
|
+
**/
|
|
1150
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1151
|
+
};
|
|
1152
|
+
}
|
|
1153
|
+
}
|