@polkadot/api-augment 7.0.3-8 → 7.1.2-1
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/base.cjs +5 -0
- package/base.d.ts +2 -0
- package/{augment/index.js → base.js} +1 -7
- package/bundle.cjs +1 -1
- package/bundle.d.ts +1 -1
- package/bundle.js +1 -1
- package/{augment → kusama}/consts.cjs +0 -0
- package/kusama/consts.d.ts +892 -0
- package/{augment → kusama}/consts.js +0 -0
- package/{augment → kusama}/errors.cjs +0 -0
- package/kusama/errors.d.ts +1855 -0
- package/{augment → kusama}/errors.js +0 -0
- package/{augment → kusama}/events.cjs +0 -0
- package/kusama/events.d.ts +1278 -0
- package/{augment → kusama}/events.js +0 -0
- package/{augment → kusama}/index.cjs +1 -3
- package/{augment → kusama}/index.d.ts +1 -2
- package/kusama/index.js +8 -0
- package/{augment → kusama}/query.cjs +0 -0
- package/kusama/query.d.ts +1925 -0
- package/{augment → kusama}/query.js +0 -0
- package/{augment → kusama}/tx.cjs +0 -0
- package/kusama/tx.d.ts +4877 -0
- package/{augment → kusama}/tx.js +0 -0
- package/package.json +100 -35
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/polkadot/consts.cjs +1 -0
- package/polkadot/consts.d.ts +764 -0
- package/polkadot/consts.js +1 -0
- package/polkadot/errors.cjs +1 -0
- package/polkadot/errors.d.ts +1634 -0
- package/polkadot/errors.js +1 -0
- package/polkadot/events.cjs +1 -0
- package/polkadot/events.d.ts +1126 -0
- package/polkadot/events.js +1 -0
- package/polkadot/index.cjs +13 -0
- package/polkadot/index.d.ts +6 -0
- package/polkadot/index.js +8 -0
- package/polkadot/query.cjs +1 -0
- package/polkadot/query.d.ts +1770 -0
- package/polkadot/query.js +1 -0
- package/polkadot/tx.cjs +1 -0
- package/polkadot/tx.d.ts +4275 -0
- package/polkadot/tx.js +1 -0
- package/substrate/consts.cjs +1 -0
- package/{augment → substrate}/consts.d.ts +0 -0
- package/substrate/consts.js +1 -0
- package/substrate/errors.cjs +1 -0
- package/{augment → substrate}/errors.d.ts +0 -0
- package/substrate/errors.js +1 -0
- package/substrate/events.cjs +1 -0
- package/{augment → substrate}/events.d.ts +0 -0
- package/substrate/events.js +1 -0
- package/substrate/index.cjs +13 -0
- package/substrate/index.d.ts +6 -0
- package/substrate/index.js +8 -0
- package/substrate/query.cjs +1 -0
- package/{augment → substrate}/query.d.ts +0 -0
- package/substrate/query.js +1 -0
- package/substrate/tx.cjs +1 -0
- package/{augment → substrate}/tx.d.ts +0 -0
- package/substrate/tx.js +1 -0
|
@@ -0,0 +1,1126 @@
|
|
|
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 { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
5
|
+
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
+
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV1CandidateReceipt, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
7
|
+
declare module '@polkadot/api-base/types/events' {
|
|
8
|
+
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
9
|
+
auctions: {
|
|
10
|
+
/**
|
|
11
|
+
* An auction ended. All funds become unreserved. `[auction_index]`
|
|
12
|
+
**/
|
|
13
|
+
AuctionClosed: AugmentedEvent<ApiType, [u32]>;
|
|
14
|
+
/**
|
|
15
|
+
* An auction started. Provides its index and the block number where it will begin to
|
|
16
|
+
* close and the first lease period of the quadruplet that is auctioned.
|
|
17
|
+
* `[auction_index, lease_period, ending]`
|
|
18
|
+
**/
|
|
19
|
+
AuctionStarted: AugmentedEvent<ApiType, [u32, u32, u32]>;
|
|
20
|
+
/**
|
|
21
|
+
* A new bid has been accepted as the current winner.
|
|
22
|
+
* `[who, para_id, amount, first_slot, last_slot]`
|
|
23
|
+
**/
|
|
24
|
+
BidAccepted: AugmentedEvent<ApiType, [AccountId32, u32, u128, u32, u32]>;
|
|
25
|
+
/**
|
|
26
|
+
* Someone attempted to lease the same slot twice for a parachain. The amount is held in reserve
|
|
27
|
+
* but no parachain slot has been leased.
|
|
28
|
+
* `[parachain_id, leaser, amount]`
|
|
29
|
+
**/
|
|
30
|
+
ReserveConfiscated: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
|
|
31
|
+
/**
|
|
32
|
+
* Funds were reserved for a winning bid. First balance is the extra amount reserved.
|
|
33
|
+
* Second is the total. `[bidder, extra_reserved, total_amount]`
|
|
34
|
+
**/
|
|
35
|
+
Reserved: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
|
|
36
|
+
/**
|
|
37
|
+
* Funds were unreserved since bidder is no longer active. `[bidder, amount]`
|
|
38
|
+
**/
|
|
39
|
+
Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
40
|
+
/**
|
|
41
|
+
* The winning offset was chosen for an auction. This will map into the `Winning` storage map.
|
|
42
|
+
* `[auction_index, block_number]`
|
|
43
|
+
**/
|
|
44
|
+
WinningOffset: AugmentedEvent<ApiType, [u32, u32]>;
|
|
45
|
+
/**
|
|
46
|
+
* Generic event
|
|
47
|
+
**/
|
|
48
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
49
|
+
};
|
|
50
|
+
bagsList: {
|
|
51
|
+
/**
|
|
52
|
+
* Moved an account from one bag to another.
|
|
53
|
+
**/
|
|
54
|
+
Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>;
|
|
55
|
+
/**
|
|
56
|
+
* Generic event
|
|
57
|
+
**/
|
|
58
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
59
|
+
};
|
|
60
|
+
balances: {
|
|
61
|
+
/**
|
|
62
|
+
* A balance was set by root.
|
|
63
|
+
**/
|
|
64
|
+
BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
|
|
65
|
+
/**
|
|
66
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
67
|
+
**/
|
|
68
|
+
Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
69
|
+
/**
|
|
70
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
71
|
+
* resulting in an outright loss.
|
|
72
|
+
**/
|
|
73
|
+
DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
74
|
+
/**
|
|
75
|
+
* An account was created with some free balance.
|
|
76
|
+
**/
|
|
77
|
+
Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
78
|
+
/**
|
|
79
|
+
* Some balance was reserved (moved from free to reserved).
|
|
80
|
+
**/
|
|
81
|
+
Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
82
|
+
/**
|
|
83
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
84
|
+
* Final argument indicates the destination balance type.
|
|
85
|
+
**/
|
|
86
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;
|
|
87
|
+
/**
|
|
88
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
89
|
+
**/
|
|
90
|
+
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
91
|
+
/**
|
|
92
|
+
* Transfer succeeded.
|
|
93
|
+
**/
|
|
94
|
+
Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
95
|
+
/**
|
|
96
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
97
|
+
**/
|
|
98
|
+
Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
99
|
+
/**
|
|
100
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
101
|
+
**/
|
|
102
|
+
Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
103
|
+
/**
|
|
104
|
+
* Generic event
|
|
105
|
+
**/
|
|
106
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
107
|
+
};
|
|
108
|
+
bounties: {
|
|
109
|
+
/**
|
|
110
|
+
* A bounty is awarded to a beneficiary.
|
|
111
|
+
**/
|
|
112
|
+
BountyAwarded: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
113
|
+
/**
|
|
114
|
+
* A bounty proposal is funded and became active.
|
|
115
|
+
**/
|
|
116
|
+
BountyBecameActive: AugmentedEvent<ApiType, [u32]>;
|
|
117
|
+
/**
|
|
118
|
+
* A bounty is cancelled.
|
|
119
|
+
**/
|
|
120
|
+
BountyCanceled: AugmentedEvent<ApiType, [u32]>;
|
|
121
|
+
/**
|
|
122
|
+
* A bounty is claimed by beneficiary.
|
|
123
|
+
**/
|
|
124
|
+
BountyClaimed: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
|
|
125
|
+
/**
|
|
126
|
+
* A bounty expiry is extended.
|
|
127
|
+
**/
|
|
128
|
+
BountyExtended: AugmentedEvent<ApiType, [u32]>;
|
|
129
|
+
/**
|
|
130
|
+
* New bounty proposal.
|
|
131
|
+
**/
|
|
132
|
+
BountyProposed: AugmentedEvent<ApiType, [u32]>;
|
|
133
|
+
/**
|
|
134
|
+
* A bounty proposal was rejected; funds were slashed.
|
|
135
|
+
**/
|
|
136
|
+
BountyRejected: AugmentedEvent<ApiType, [u32, u128]>;
|
|
137
|
+
/**
|
|
138
|
+
* Generic event
|
|
139
|
+
**/
|
|
140
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
141
|
+
};
|
|
142
|
+
claims: {
|
|
143
|
+
/**
|
|
144
|
+
* Someone claimed some DOTs. `[who, ethereum_address, amount]`
|
|
145
|
+
**/
|
|
146
|
+
Claimed: AugmentedEvent<ApiType, [AccountId32, EthereumAddress, u128]>;
|
|
147
|
+
/**
|
|
148
|
+
* Generic event
|
|
149
|
+
**/
|
|
150
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
151
|
+
};
|
|
152
|
+
council: {
|
|
153
|
+
/**
|
|
154
|
+
* A motion was approved by the required threshold.
|
|
155
|
+
**/
|
|
156
|
+
Approved: AugmentedEvent<ApiType, [H256]>;
|
|
157
|
+
/**
|
|
158
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
159
|
+
**/
|
|
160
|
+
Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
|
|
161
|
+
/**
|
|
162
|
+
* A motion was not approved by the required threshold.
|
|
163
|
+
**/
|
|
164
|
+
Disapproved: AugmentedEvent<ApiType, [H256]>;
|
|
165
|
+
/**
|
|
166
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
167
|
+
**/
|
|
168
|
+
Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
169
|
+
/**
|
|
170
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
171
|
+
**/
|
|
172
|
+
MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
173
|
+
/**
|
|
174
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
175
|
+
* `MemberCount`).
|
|
176
|
+
**/
|
|
177
|
+
Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
|
|
178
|
+
/**
|
|
179
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
180
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
181
|
+
**/
|
|
182
|
+
Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
|
|
183
|
+
/**
|
|
184
|
+
* Generic event
|
|
185
|
+
**/
|
|
186
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
187
|
+
};
|
|
188
|
+
crowdloan: {
|
|
189
|
+
/**
|
|
190
|
+
* A parachain has been moved to `NewRaise`
|
|
191
|
+
**/
|
|
192
|
+
AddedToNewRaise: AugmentedEvent<ApiType, [u32]>;
|
|
193
|
+
/**
|
|
194
|
+
* All loans in a fund have been refunded. `[fund_index]`
|
|
195
|
+
**/
|
|
196
|
+
AllRefunded: AugmentedEvent<ApiType, [u32]>;
|
|
197
|
+
/**
|
|
198
|
+
* Contributed to a crowd sale. `[who, fund_index, amount]`
|
|
199
|
+
**/
|
|
200
|
+
Contributed: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
|
|
201
|
+
/**
|
|
202
|
+
* Create a new crowdloaning campaign. `[fund_index]`
|
|
203
|
+
**/
|
|
204
|
+
Created: AugmentedEvent<ApiType, [u32]>;
|
|
205
|
+
/**
|
|
206
|
+
* Fund is dissolved. `[fund_index]`
|
|
207
|
+
**/
|
|
208
|
+
Dissolved: AugmentedEvent<ApiType, [u32]>;
|
|
209
|
+
/**
|
|
210
|
+
* The configuration to a crowdloan has been edited. `[fund_index]`
|
|
211
|
+
**/
|
|
212
|
+
Edited: AugmentedEvent<ApiType, [u32]>;
|
|
213
|
+
/**
|
|
214
|
+
* The result of trying to submit a new bid to the Slots pallet.
|
|
215
|
+
**/
|
|
216
|
+
HandleBidResult: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>;
|
|
217
|
+
/**
|
|
218
|
+
* A memo has been updated. `[who, fund_index, memo]`
|
|
219
|
+
**/
|
|
220
|
+
MemoUpdated: AugmentedEvent<ApiType, [AccountId32, u32, Bytes]>;
|
|
221
|
+
/**
|
|
222
|
+
* The loans in a fund have been partially dissolved, i.e. there are some left
|
|
223
|
+
* over child keys that still need to be killed. `[fund_index]`
|
|
224
|
+
**/
|
|
225
|
+
PartiallyRefunded: AugmentedEvent<ApiType, [u32]>;
|
|
226
|
+
/**
|
|
227
|
+
* Withdrew full balance of a contributor. `[who, fund_index, amount]`
|
|
228
|
+
**/
|
|
229
|
+
Withdrew: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
|
|
230
|
+
/**
|
|
231
|
+
* Generic event
|
|
232
|
+
**/
|
|
233
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
234
|
+
};
|
|
235
|
+
democracy: {
|
|
236
|
+
/**
|
|
237
|
+
* A proposal_hash has been blacklisted permanently.
|
|
238
|
+
**/
|
|
239
|
+
Blacklisted: AugmentedEvent<ApiType, [H256]>;
|
|
240
|
+
/**
|
|
241
|
+
* A referendum has been cancelled.
|
|
242
|
+
**/
|
|
243
|
+
Cancelled: AugmentedEvent<ApiType, [u32]>;
|
|
244
|
+
/**
|
|
245
|
+
* An account has delegated their vote to another account.
|
|
246
|
+
**/
|
|
247
|
+
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
248
|
+
/**
|
|
249
|
+
* A proposal has been enacted.
|
|
250
|
+
**/
|
|
251
|
+
Executed: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>;
|
|
252
|
+
/**
|
|
253
|
+
* An external proposal has been tabled.
|
|
254
|
+
**/
|
|
255
|
+
ExternalTabled: AugmentedEvent<ApiType, []>;
|
|
256
|
+
/**
|
|
257
|
+
* A proposal has been rejected by referendum.
|
|
258
|
+
**/
|
|
259
|
+
NotPassed: AugmentedEvent<ApiType, [u32]>;
|
|
260
|
+
/**
|
|
261
|
+
* A proposal has been approved by referendum.
|
|
262
|
+
**/
|
|
263
|
+
Passed: AugmentedEvent<ApiType, [u32]>;
|
|
264
|
+
/**
|
|
265
|
+
* A proposal could not be executed because its preimage was invalid.
|
|
266
|
+
**/
|
|
267
|
+
PreimageInvalid: AugmentedEvent<ApiType, [H256, u32]>;
|
|
268
|
+
/**
|
|
269
|
+
* A proposal could not be executed because its preimage was missing.
|
|
270
|
+
**/
|
|
271
|
+
PreimageMissing: AugmentedEvent<ApiType, [H256, u32]>;
|
|
272
|
+
/**
|
|
273
|
+
* A proposal's preimage was noted, and the deposit taken.
|
|
274
|
+
**/
|
|
275
|
+
PreimageNoted: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
276
|
+
/**
|
|
277
|
+
* A registered preimage was removed and the deposit collected by the reaper.
|
|
278
|
+
**/
|
|
279
|
+
PreimageReaped: AugmentedEvent<ApiType, [H256, AccountId32, u128, AccountId32]>;
|
|
280
|
+
/**
|
|
281
|
+
* A proposal preimage was removed and used (the deposit was returned).
|
|
282
|
+
**/
|
|
283
|
+
PreimageUsed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
284
|
+
/**
|
|
285
|
+
* A motion has been proposed by a public account.
|
|
286
|
+
**/
|
|
287
|
+
Proposed: AugmentedEvent<ApiType, [u32, u128]>;
|
|
288
|
+
/**
|
|
289
|
+
* An account has secconded a proposal
|
|
290
|
+
**/
|
|
291
|
+
Seconded: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
292
|
+
/**
|
|
293
|
+
* A referendum has begun.
|
|
294
|
+
**/
|
|
295
|
+
Started: AugmentedEvent<ApiType, [u32, PalletDemocracyVoteThreshold]>;
|
|
296
|
+
/**
|
|
297
|
+
* A public proposal has been tabled for referendum vote.
|
|
298
|
+
**/
|
|
299
|
+
Tabled: AugmentedEvent<ApiType, [u32, u128, Vec<AccountId32>]>;
|
|
300
|
+
/**
|
|
301
|
+
* An account has cancelled a previous delegation operation.
|
|
302
|
+
**/
|
|
303
|
+
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
304
|
+
/**
|
|
305
|
+
* An external proposal has been vetoed.
|
|
306
|
+
**/
|
|
307
|
+
Vetoed: AugmentedEvent<ApiType, [AccountId32, H256, u32]>;
|
|
308
|
+
/**
|
|
309
|
+
* An account has voted in a referendum
|
|
310
|
+
**/
|
|
311
|
+
Voted: AugmentedEvent<ApiType, [AccountId32, u32, PalletDemocracyVoteAccountVote]>;
|
|
312
|
+
/**
|
|
313
|
+
* Generic event
|
|
314
|
+
**/
|
|
315
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
316
|
+
};
|
|
317
|
+
electionProviderMultiPhase: {
|
|
318
|
+
/**
|
|
319
|
+
* The election has been finalized, with `Some` of the given computation, or else if the
|
|
320
|
+
* election failed, `None`.
|
|
321
|
+
**/
|
|
322
|
+
ElectionFinalized: AugmentedEvent<ApiType, [Option<PalletElectionProviderMultiPhaseElectionCompute>]>;
|
|
323
|
+
/**
|
|
324
|
+
* An account has been rewarded for their signed submission being finalized.
|
|
325
|
+
**/
|
|
326
|
+
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
327
|
+
/**
|
|
328
|
+
* The signed phase of the given round has started.
|
|
329
|
+
**/
|
|
330
|
+
SignedPhaseStarted: AugmentedEvent<ApiType, [u32]>;
|
|
331
|
+
/**
|
|
332
|
+
* An account has been slashed for submitting an invalid signed submission.
|
|
333
|
+
**/
|
|
334
|
+
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
335
|
+
/**
|
|
336
|
+
* A solution was stored with the given compute.
|
|
337
|
+
*
|
|
338
|
+
* If the solution is signed, this means that it hasn't yet been processed. If the
|
|
339
|
+
* solution is unsigned, this means that it has also been processed.
|
|
340
|
+
*
|
|
341
|
+
* The `bool` is `true` when a previous solution was ejected to make room for this one.
|
|
342
|
+
**/
|
|
343
|
+
SolutionStored: AugmentedEvent<ApiType, [PalletElectionProviderMultiPhaseElectionCompute, bool]>;
|
|
344
|
+
/**
|
|
345
|
+
* The unsigned phase of the given round has started.
|
|
346
|
+
**/
|
|
347
|
+
UnsignedPhaseStarted: AugmentedEvent<ApiType, [u32]>;
|
|
348
|
+
/**
|
|
349
|
+
* Generic event
|
|
350
|
+
**/
|
|
351
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
352
|
+
};
|
|
353
|
+
grandpa: {
|
|
354
|
+
/**
|
|
355
|
+
* New authority set has been applied.
|
|
356
|
+
**/
|
|
357
|
+
NewAuthorities: AugmentedEvent<ApiType, [Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>]>;
|
|
358
|
+
/**
|
|
359
|
+
* Current authority set has been paused.
|
|
360
|
+
**/
|
|
361
|
+
Paused: AugmentedEvent<ApiType, []>;
|
|
362
|
+
/**
|
|
363
|
+
* Current authority set has been resumed.
|
|
364
|
+
**/
|
|
365
|
+
Resumed: AugmentedEvent<ApiType, []>;
|
|
366
|
+
/**
|
|
367
|
+
* Generic event
|
|
368
|
+
**/
|
|
369
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
370
|
+
};
|
|
371
|
+
hrmp: {
|
|
372
|
+
/**
|
|
373
|
+
* HRMP channel closed. `[by_parachain, channel_id]`
|
|
374
|
+
**/
|
|
375
|
+
ChannelClosed: AugmentedEvent<ApiType, [u32, PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
376
|
+
/**
|
|
377
|
+
* Open HRMP channel accepted. `[sender, recipient]`
|
|
378
|
+
**/
|
|
379
|
+
OpenChannelAccepted: AugmentedEvent<ApiType, [u32, u32]>;
|
|
380
|
+
/**
|
|
381
|
+
* An HRMP channel request sent by the receiver was canceled by either party.
|
|
382
|
+
* `[by_parachain, channel_id]`
|
|
383
|
+
**/
|
|
384
|
+
OpenChannelCanceled: AugmentedEvent<ApiType, [u32, PolkadotParachainPrimitivesHrmpChannelId]>;
|
|
385
|
+
/**
|
|
386
|
+
* Open HRMP channel requested.
|
|
387
|
+
* `[sender, recipient, proposed_max_capacity, proposed_max_message_size]`
|
|
388
|
+
**/
|
|
389
|
+
OpenChannelRequested: AugmentedEvent<ApiType, [u32, u32, u32, u32]>;
|
|
390
|
+
/**
|
|
391
|
+
* Generic event
|
|
392
|
+
**/
|
|
393
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
394
|
+
};
|
|
395
|
+
identity: {
|
|
396
|
+
/**
|
|
397
|
+
* A name was cleared, and the given balance returned.
|
|
398
|
+
**/
|
|
399
|
+
IdentityCleared: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
400
|
+
/**
|
|
401
|
+
* A name was removed and the given balance slashed.
|
|
402
|
+
**/
|
|
403
|
+
IdentityKilled: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
404
|
+
/**
|
|
405
|
+
* A name was set or reset (which will remove all judgements).
|
|
406
|
+
**/
|
|
407
|
+
IdentitySet: AugmentedEvent<ApiType, [AccountId32]>;
|
|
408
|
+
/**
|
|
409
|
+
* A judgement was given by a registrar.
|
|
410
|
+
**/
|
|
411
|
+
JudgementGiven: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
412
|
+
/**
|
|
413
|
+
* A judgement was asked from a registrar.
|
|
414
|
+
**/
|
|
415
|
+
JudgementRequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
416
|
+
/**
|
|
417
|
+
* A judgement request was retracted.
|
|
418
|
+
**/
|
|
419
|
+
JudgementUnrequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
420
|
+
/**
|
|
421
|
+
* A registrar was added.
|
|
422
|
+
**/
|
|
423
|
+
RegistrarAdded: AugmentedEvent<ApiType, [u32]>;
|
|
424
|
+
/**
|
|
425
|
+
* A sub-identity was added to an identity and the deposit paid.
|
|
426
|
+
**/
|
|
427
|
+
SubIdentityAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
428
|
+
/**
|
|
429
|
+
* A sub-identity was removed from an identity and the deposit freed.
|
|
430
|
+
**/
|
|
431
|
+
SubIdentityRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
432
|
+
/**
|
|
433
|
+
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
434
|
+
* main identity account to the sub-identity account.
|
|
435
|
+
**/
|
|
436
|
+
SubIdentityRevoked: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
|
|
437
|
+
/**
|
|
438
|
+
* Generic event
|
|
439
|
+
**/
|
|
440
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
441
|
+
};
|
|
442
|
+
imOnline: {
|
|
443
|
+
/**
|
|
444
|
+
* At the end of the session, no offence was committed.
|
|
445
|
+
**/
|
|
446
|
+
AllGood: AugmentedEvent<ApiType, []>;
|
|
447
|
+
/**
|
|
448
|
+
* A new heartbeat was received from `AuthorityId`.
|
|
449
|
+
**/
|
|
450
|
+
HeartbeatReceived: AugmentedEvent<ApiType, [PalletImOnlineSr25519AppSr25519Public]>;
|
|
451
|
+
/**
|
|
452
|
+
* At the end of the session, at least one validator was found to be offline.
|
|
453
|
+
**/
|
|
454
|
+
SomeOffline: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, PalletStakingExposure]>>]>;
|
|
455
|
+
/**
|
|
456
|
+
* Generic event
|
|
457
|
+
**/
|
|
458
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
459
|
+
};
|
|
460
|
+
indices: {
|
|
461
|
+
/**
|
|
462
|
+
* A account index was assigned.
|
|
463
|
+
**/
|
|
464
|
+
IndexAssigned: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
465
|
+
/**
|
|
466
|
+
* A account index has been freed up (unassigned).
|
|
467
|
+
**/
|
|
468
|
+
IndexFreed: AugmentedEvent<ApiType, [u32]>;
|
|
469
|
+
/**
|
|
470
|
+
* A account index has been frozen to its current account ID.
|
|
471
|
+
**/
|
|
472
|
+
IndexFrozen: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
473
|
+
/**
|
|
474
|
+
* Generic event
|
|
475
|
+
**/
|
|
476
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
477
|
+
};
|
|
478
|
+
multisig: {
|
|
479
|
+
/**
|
|
480
|
+
* A multisig operation has been approved by someone.
|
|
481
|
+
**/
|
|
482
|
+
MultisigApproval: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
|
|
483
|
+
/**
|
|
484
|
+
* A multisig operation has been cancelled.
|
|
485
|
+
**/
|
|
486
|
+
MultisigCancelled: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
|
|
487
|
+
/**
|
|
488
|
+
* A multisig operation has been executed.
|
|
489
|
+
**/
|
|
490
|
+
MultisigExecuted: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed, Result<Null, SpRuntimeDispatchError>]>;
|
|
491
|
+
/**
|
|
492
|
+
* A new multisig operation has begun.
|
|
493
|
+
**/
|
|
494
|
+
NewMultisig: AugmentedEvent<ApiType, [AccountId32, AccountId32, U8aFixed]>;
|
|
495
|
+
/**
|
|
496
|
+
* Generic event
|
|
497
|
+
**/
|
|
498
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
499
|
+
};
|
|
500
|
+
offences: {
|
|
501
|
+
/**
|
|
502
|
+
* There is an offence reported of the given `kind` happened at the `session_index` and
|
|
503
|
+
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
504
|
+
* \[kind, timeslot\].
|
|
505
|
+
**/
|
|
506
|
+
Offence: AugmentedEvent<ApiType, [U8aFixed, Bytes]>;
|
|
507
|
+
/**
|
|
508
|
+
* Generic event
|
|
509
|
+
**/
|
|
510
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
511
|
+
};
|
|
512
|
+
paraInclusion: {
|
|
513
|
+
/**
|
|
514
|
+
* A candidate was backed. `[candidate, head_data]`
|
|
515
|
+
**/
|
|
516
|
+
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV1CandidateReceipt, Bytes, u32, u32]>;
|
|
517
|
+
/**
|
|
518
|
+
* A candidate was included. `[candidate, head_data]`
|
|
519
|
+
**/
|
|
520
|
+
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV1CandidateReceipt, Bytes, u32, u32]>;
|
|
521
|
+
/**
|
|
522
|
+
* A candidate timed out. `[candidate, head_data]`
|
|
523
|
+
**/
|
|
524
|
+
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV1CandidateReceipt, Bytes, u32]>;
|
|
525
|
+
/**
|
|
526
|
+
* Generic event
|
|
527
|
+
**/
|
|
528
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
529
|
+
};
|
|
530
|
+
paras: {
|
|
531
|
+
/**
|
|
532
|
+
* A para has been queued to execute pending actions. `para_id`
|
|
533
|
+
**/
|
|
534
|
+
ActionQueued: AugmentedEvent<ApiType, [u32, u32]>;
|
|
535
|
+
/**
|
|
536
|
+
* A code upgrade has been scheduled for a Para. `para_id`
|
|
537
|
+
**/
|
|
538
|
+
CodeUpgradeScheduled: AugmentedEvent<ApiType, [u32]>;
|
|
539
|
+
/**
|
|
540
|
+
* Current code has been updated for a Para. `para_id`
|
|
541
|
+
**/
|
|
542
|
+
CurrentCodeUpdated: AugmentedEvent<ApiType, [u32]>;
|
|
543
|
+
/**
|
|
544
|
+
* Current head has been updated for a Para. `para_id`
|
|
545
|
+
**/
|
|
546
|
+
CurrentHeadUpdated: AugmentedEvent<ApiType, [u32]>;
|
|
547
|
+
/**
|
|
548
|
+
* A new head has been noted for a Para. `para_id`
|
|
549
|
+
**/
|
|
550
|
+
NewHeadNoted: AugmentedEvent<ApiType, [u32]>;
|
|
551
|
+
/**
|
|
552
|
+
* Generic event
|
|
553
|
+
**/
|
|
554
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
555
|
+
};
|
|
556
|
+
phragmenElection: {
|
|
557
|
+
/**
|
|
558
|
+
* A candidate was slashed by amount due to failing to obtain a seat as member or
|
|
559
|
+
* runner-up.
|
|
560
|
+
*
|
|
561
|
+
* Note that old members and runners-up are also candidates.
|
|
562
|
+
**/
|
|
563
|
+
CandidateSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
564
|
+
/**
|
|
565
|
+
* Internal error happened while trying to perform election.
|
|
566
|
+
**/
|
|
567
|
+
ElectionError: AugmentedEvent<ApiType, []>;
|
|
568
|
+
/**
|
|
569
|
+
* No (or not enough) candidates existed for this round. This is different from
|
|
570
|
+
* `NewTerm(\[\])`. See the description of `NewTerm`.
|
|
571
|
+
**/
|
|
572
|
+
EmptyTerm: AugmentedEvent<ApiType, []>;
|
|
573
|
+
/**
|
|
574
|
+
* A member has been removed. This should always be followed by either `NewTerm` or
|
|
575
|
+
* `EmptyTerm`.
|
|
576
|
+
**/
|
|
577
|
+
MemberKicked: AugmentedEvent<ApiType, [AccountId32]>;
|
|
578
|
+
/**
|
|
579
|
+
* A new term with new_members. This indicates that enough candidates existed to run
|
|
580
|
+
* the election, not that enough have has been elected. The inner value must be examined
|
|
581
|
+
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
582
|
+
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
583
|
+
* begin with.
|
|
584
|
+
**/
|
|
585
|
+
NewTerm: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, u128]>>]>;
|
|
586
|
+
/**
|
|
587
|
+
* Someone has renounced their candidacy.
|
|
588
|
+
**/
|
|
589
|
+
Renounced: AugmentedEvent<ApiType, [AccountId32]>;
|
|
590
|
+
/**
|
|
591
|
+
* A seat holder was slashed by amount by being forcefully removed from the set.
|
|
592
|
+
**/
|
|
593
|
+
SeatHolderSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
594
|
+
/**
|
|
595
|
+
* Generic event
|
|
596
|
+
**/
|
|
597
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
598
|
+
};
|
|
599
|
+
preimage: {
|
|
600
|
+
/**
|
|
601
|
+
* A preimage has ben cleared.
|
|
602
|
+
**/
|
|
603
|
+
Cleared: AugmentedEvent<ApiType, [H256]>;
|
|
604
|
+
/**
|
|
605
|
+
* A preimage has been noted.
|
|
606
|
+
**/
|
|
607
|
+
Noted: AugmentedEvent<ApiType, [H256]>;
|
|
608
|
+
/**
|
|
609
|
+
* A preimage has been requested.
|
|
610
|
+
**/
|
|
611
|
+
Requested: AugmentedEvent<ApiType, [H256]>;
|
|
612
|
+
/**
|
|
613
|
+
* Generic event
|
|
614
|
+
**/
|
|
615
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
616
|
+
};
|
|
617
|
+
proxy: {
|
|
618
|
+
/**
|
|
619
|
+
* An announcement was placed to make a call in the future.
|
|
620
|
+
**/
|
|
621
|
+
Announced: AugmentedEvent<ApiType, [AccountId32, AccountId32, H256]>;
|
|
622
|
+
/**
|
|
623
|
+
* Anonymous account has been created by new proxy with given
|
|
624
|
+
* disambiguation index and proxy type.
|
|
625
|
+
**/
|
|
626
|
+
AnonymousCreated: AugmentedEvent<ApiType, [AccountId32, AccountId32, PolkadotRuntimeProxyType, u16]>;
|
|
627
|
+
/**
|
|
628
|
+
* A proxy was added.
|
|
629
|
+
**/
|
|
630
|
+
ProxyAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, PolkadotRuntimeProxyType, u32]>;
|
|
631
|
+
/**
|
|
632
|
+
* A proxy was executed correctly, with the given.
|
|
633
|
+
**/
|
|
634
|
+
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
635
|
+
/**
|
|
636
|
+
* Generic event
|
|
637
|
+
**/
|
|
638
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
639
|
+
};
|
|
640
|
+
registrar: {
|
|
641
|
+
Deregistered: AugmentedEvent<ApiType, [u32]>;
|
|
642
|
+
Registered: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
643
|
+
Reserved: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
644
|
+
/**
|
|
645
|
+
* Generic event
|
|
646
|
+
**/
|
|
647
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
648
|
+
};
|
|
649
|
+
scheduler: {
|
|
650
|
+
/**
|
|
651
|
+
* The call for the provided hash was not found so the task has been aborted.
|
|
652
|
+
**/
|
|
653
|
+
CallLookupFailed: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<Bytes>, FrameSupportScheduleLookupError]>;
|
|
654
|
+
/**
|
|
655
|
+
* Canceled some task.
|
|
656
|
+
**/
|
|
657
|
+
Canceled: AugmentedEvent<ApiType, [u32, u32]>;
|
|
658
|
+
/**
|
|
659
|
+
* Dispatched some task.
|
|
660
|
+
**/
|
|
661
|
+
Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<Bytes>, Result<Null, SpRuntimeDispatchError>]>;
|
|
662
|
+
/**
|
|
663
|
+
* Scheduled some task.
|
|
664
|
+
**/
|
|
665
|
+
Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
|
|
666
|
+
/**
|
|
667
|
+
* Generic event
|
|
668
|
+
**/
|
|
669
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
670
|
+
};
|
|
671
|
+
session: {
|
|
672
|
+
/**
|
|
673
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
674
|
+
* block number as the type might suggest.
|
|
675
|
+
**/
|
|
676
|
+
NewSession: AugmentedEvent<ApiType, [u32]>;
|
|
677
|
+
/**
|
|
678
|
+
* Generic event
|
|
679
|
+
**/
|
|
680
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
681
|
+
};
|
|
682
|
+
slots: {
|
|
683
|
+
/**
|
|
684
|
+
* A para has won the right to a continuous set of lease periods as a parachain.
|
|
685
|
+
* First balance is any extra amount reserved on top of the para's existing deposit.
|
|
686
|
+
* Second balance is the total amount reserved.
|
|
687
|
+
* `[parachain_id, leaser, period_begin, period_count, extra_reserved, total_amount]`
|
|
688
|
+
**/
|
|
689
|
+
Leased: AugmentedEvent<ApiType, [u32, AccountId32, u32, u32, u128, u128]>;
|
|
690
|
+
/**
|
|
691
|
+
* A new `[lease_period]` is beginning.
|
|
692
|
+
**/
|
|
693
|
+
NewLeasePeriod: AugmentedEvent<ApiType, [u32]>;
|
|
694
|
+
/**
|
|
695
|
+
* Generic event
|
|
696
|
+
**/
|
|
697
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
698
|
+
};
|
|
699
|
+
staking: {
|
|
700
|
+
/**
|
|
701
|
+
* An account has bonded this amount. \[stash, amount\]
|
|
702
|
+
*
|
|
703
|
+
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
704
|
+
* it will not be emitted for staking rewards when they are added to stake.
|
|
705
|
+
**/
|
|
706
|
+
Bonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
707
|
+
/**
|
|
708
|
+
* An account has stopped participating as either a validator or nominator.
|
|
709
|
+
* \[stash\]
|
|
710
|
+
**/
|
|
711
|
+
Chilled: AugmentedEvent<ApiType, [AccountId32]>;
|
|
712
|
+
/**
|
|
713
|
+
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
714
|
+
* the remainder from the maximum amount of reward.
|
|
715
|
+
* \[era_index, validator_payout, remainder\]
|
|
716
|
+
**/
|
|
717
|
+
EraPaid: AugmentedEvent<ApiType, [u32, u128, u128]>;
|
|
718
|
+
/**
|
|
719
|
+
* A nominator has been kicked from a validator. \[nominator, stash\]
|
|
720
|
+
**/
|
|
721
|
+
Kicked: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
722
|
+
/**
|
|
723
|
+
* An old slashing report from a prior era was discarded because it could
|
|
724
|
+
* not be processed. \[session_index\]
|
|
725
|
+
**/
|
|
726
|
+
OldSlashingReportDiscarded: AugmentedEvent<ApiType, [u32]>;
|
|
727
|
+
/**
|
|
728
|
+
* The stakers' rewards are getting paid. \[era_index, validator_stash\]
|
|
729
|
+
**/
|
|
730
|
+
PayoutStarted: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
731
|
+
/**
|
|
732
|
+
* The nominator has been rewarded by this amount. \[stash, amount\]
|
|
733
|
+
**/
|
|
734
|
+
Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
735
|
+
/**
|
|
736
|
+
* One validator (and its nominators) has been slashed by the given amount.
|
|
737
|
+
* \[validator, amount\]
|
|
738
|
+
**/
|
|
739
|
+
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
740
|
+
/**
|
|
741
|
+
* A new set of stakers was elected.
|
|
742
|
+
**/
|
|
743
|
+
StakersElected: AugmentedEvent<ApiType, []>;
|
|
744
|
+
/**
|
|
745
|
+
* The election failed. No new era is planned.
|
|
746
|
+
**/
|
|
747
|
+
StakingElectionFailed: AugmentedEvent<ApiType, []>;
|
|
748
|
+
/**
|
|
749
|
+
* An account has unbonded this amount. \[stash, amount\]
|
|
750
|
+
**/
|
|
751
|
+
Unbonded: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
752
|
+
/**
|
|
753
|
+
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
754
|
+
* from the unlocking queue. \[stash, amount\]
|
|
755
|
+
**/
|
|
756
|
+
Withdrawn: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
757
|
+
/**
|
|
758
|
+
* Generic event
|
|
759
|
+
**/
|
|
760
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
761
|
+
};
|
|
762
|
+
system: {
|
|
763
|
+
/**
|
|
764
|
+
* `:code` was updated.
|
|
765
|
+
**/
|
|
766
|
+
CodeUpdated: AugmentedEvent<ApiType, []>;
|
|
767
|
+
/**
|
|
768
|
+
* An extrinsic failed.
|
|
769
|
+
**/
|
|
770
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;
|
|
771
|
+
/**
|
|
772
|
+
* An extrinsic completed successfully.
|
|
773
|
+
**/
|
|
774
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;
|
|
775
|
+
/**
|
|
776
|
+
* An account was reaped.
|
|
777
|
+
**/
|
|
778
|
+
KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;
|
|
779
|
+
/**
|
|
780
|
+
* A new account was created.
|
|
781
|
+
**/
|
|
782
|
+
NewAccount: AugmentedEvent<ApiType, [AccountId32]>;
|
|
783
|
+
/**
|
|
784
|
+
* On on-chain remark happened.
|
|
785
|
+
**/
|
|
786
|
+
Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;
|
|
787
|
+
/**
|
|
788
|
+
* Generic event
|
|
789
|
+
**/
|
|
790
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
791
|
+
};
|
|
792
|
+
technicalCommittee: {
|
|
793
|
+
/**
|
|
794
|
+
* A motion was approved by the required threshold.
|
|
795
|
+
**/
|
|
796
|
+
Approved: AugmentedEvent<ApiType, [H256]>;
|
|
797
|
+
/**
|
|
798
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
799
|
+
**/
|
|
800
|
+
Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
|
|
801
|
+
/**
|
|
802
|
+
* A motion was not approved by the required threshold.
|
|
803
|
+
**/
|
|
804
|
+
Disapproved: AugmentedEvent<ApiType, [H256]>;
|
|
805
|
+
/**
|
|
806
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
807
|
+
**/
|
|
808
|
+
Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
809
|
+
/**
|
|
810
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
811
|
+
**/
|
|
812
|
+
MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
|
|
813
|
+
/**
|
|
814
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
815
|
+
* `MemberCount`).
|
|
816
|
+
**/
|
|
817
|
+
Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
|
|
818
|
+
/**
|
|
819
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
820
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
821
|
+
**/
|
|
822
|
+
Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
|
|
823
|
+
/**
|
|
824
|
+
* Generic event
|
|
825
|
+
**/
|
|
826
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
827
|
+
};
|
|
828
|
+
technicalMembership: {
|
|
829
|
+
/**
|
|
830
|
+
* Phantom member, never used.
|
|
831
|
+
**/
|
|
832
|
+
Dummy: AugmentedEvent<ApiType, []>;
|
|
833
|
+
/**
|
|
834
|
+
* One of the members' keys changed.
|
|
835
|
+
**/
|
|
836
|
+
KeyChanged: AugmentedEvent<ApiType, []>;
|
|
837
|
+
/**
|
|
838
|
+
* The given member was added; see the transaction for who.
|
|
839
|
+
**/
|
|
840
|
+
MemberAdded: AugmentedEvent<ApiType, []>;
|
|
841
|
+
/**
|
|
842
|
+
* The given member was removed; see the transaction for who.
|
|
843
|
+
**/
|
|
844
|
+
MemberRemoved: AugmentedEvent<ApiType, []>;
|
|
845
|
+
/**
|
|
846
|
+
* The membership was reset; see the transaction for who the new set is.
|
|
847
|
+
**/
|
|
848
|
+
MembersReset: AugmentedEvent<ApiType, []>;
|
|
849
|
+
/**
|
|
850
|
+
* Two members were swapped; see the transaction for who.
|
|
851
|
+
**/
|
|
852
|
+
MembersSwapped: AugmentedEvent<ApiType, []>;
|
|
853
|
+
/**
|
|
854
|
+
* Generic event
|
|
855
|
+
**/
|
|
856
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
857
|
+
};
|
|
858
|
+
tips: {
|
|
859
|
+
/**
|
|
860
|
+
* A new tip suggestion has been opened.
|
|
861
|
+
**/
|
|
862
|
+
NewTip: AugmentedEvent<ApiType, [H256]>;
|
|
863
|
+
/**
|
|
864
|
+
* A tip suggestion has been closed.
|
|
865
|
+
**/
|
|
866
|
+
TipClosed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
867
|
+
/**
|
|
868
|
+
* A tip suggestion has reached threshold and is closing.
|
|
869
|
+
**/
|
|
870
|
+
TipClosing: AugmentedEvent<ApiType, [H256]>;
|
|
871
|
+
/**
|
|
872
|
+
* A tip suggestion has been retracted.
|
|
873
|
+
**/
|
|
874
|
+
TipRetracted: AugmentedEvent<ApiType, [H256]>;
|
|
875
|
+
/**
|
|
876
|
+
* A tip suggestion has been slashed.
|
|
877
|
+
**/
|
|
878
|
+
TipSlashed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
|
|
879
|
+
/**
|
|
880
|
+
* Generic event
|
|
881
|
+
**/
|
|
882
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
883
|
+
};
|
|
884
|
+
treasury: {
|
|
885
|
+
/**
|
|
886
|
+
* Some funds have been allocated.
|
|
887
|
+
**/
|
|
888
|
+
Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
|
|
889
|
+
/**
|
|
890
|
+
* Some of our funds have been burnt.
|
|
891
|
+
**/
|
|
892
|
+
Burnt: AugmentedEvent<ApiType, [u128]>;
|
|
893
|
+
/**
|
|
894
|
+
* Some funds have been deposited.
|
|
895
|
+
**/
|
|
896
|
+
Deposit: AugmentedEvent<ApiType, [u128]>;
|
|
897
|
+
/**
|
|
898
|
+
* New proposal.
|
|
899
|
+
**/
|
|
900
|
+
Proposed: AugmentedEvent<ApiType, [u32]>;
|
|
901
|
+
/**
|
|
902
|
+
* A proposal was rejected; funds were slashed.
|
|
903
|
+
**/
|
|
904
|
+
Rejected: AugmentedEvent<ApiType, [u32, u128]>;
|
|
905
|
+
/**
|
|
906
|
+
* Spending has finished; this is the amount that rolls over until next spend.
|
|
907
|
+
**/
|
|
908
|
+
Rollover: AugmentedEvent<ApiType, [u128]>;
|
|
909
|
+
/**
|
|
910
|
+
* We have ended a spend period and will now allocate funds.
|
|
911
|
+
**/
|
|
912
|
+
Spending: AugmentedEvent<ApiType, [u128]>;
|
|
913
|
+
/**
|
|
914
|
+
* Generic event
|
|
915
|
+
**/
|
|
916
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
917
|
+
};
|
|
918
|
+
ump: {
|
|
919
|
+
/**
|
|
920
|
+
* Upward message executed with the given outcome.
|
|
921
|
+
* \[ id, outcome \]
|
|
922
|
+
**/
|
|
923
|
+
ExecutedUpward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;
|
|
924
|
+
/**
|
|
925
|
+
* Upward message is invalid XCM.
|
|
926
|
+
* \[ id \]
|
|
927
|
+
**/
|
|
928
|
+
InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
929
|
+
/**
|
|
930
|
+
* The weight budget was exceeded for an individual upward message.
|
|
931
|
+
*
|
|
932
|
+
* This message can be later dispatched manually using `service_overweight` dispatchable
|
|
933
|
+
* using the assigned `overweight_index`.
|
|
934
|
+
*
|
|
935
|
+
* \[ para, id, overweight_index, required \]
|
|
936
|
+
**/
|
|
937
|
+
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64, u64]>;
|
|
938
|
+
/**
|
|
939
|
+
* Upward message from the overweight queue was executed with the given actual weight
|
|
940
|
+
* used.
|
|
941
|
+
*
|
|
942
|
+
* \[ overweight_index, used \]
|
|
943
|
+
**/
|
|
944
|
+
OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;
|
|
945
|
+
/**
|
|
946
|
+
* Upward message is unsupported version of XCM.
|
|
947
|
+
* \[ id \]
|
|
948
|
+
**/
|
|
949
|
+
UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
950
|
+
/**
|
|
951
|
+
* Some upward messages have been received and will be processed.
|
|
952
|
+
* \[ para, count, size \]
|
|
953
|
+
**/
|
|
954
|
+
UpwardMessagesReceived: AugmentedEvent<ApiType, [u32, u32, u32]>;
|
|
955
|
+
/**
|
|
956
|
+
* The weight limit for handling upward messages was reached.
|
|
957
|
+
* \[ id, remaining, required \]
|
|
958
|
+
**/
|
|
959
|
+
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;
|
|
960
|
+
/**
|
|
961
|
+
* Generic event
|
|
962
|
+
**/
|
|
963
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
964
|
+
};
|
|
965
|
+
utility: {
|
|
966
|
+
/**
|
|
967
|
+
* Batch of dispatches completed fully with no error.
|
|
968
|
+
**/
|
|
969
|
+
BatchCompleted: AugmentedEvent<ApiType, []>;
|
|
970
|
+
/**
|
|
971
|
+
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
972
|
+
* well as the error.
|
|
973
|
+
**/
|
|
974
|
+
BatchInterrupted: AugmentedEvent<ApiType, [u32, SpRuntimeDispatchError]>;
|
|
975
|
+
/**
|
|
976
|
+
* A call was dispatched.
|
|
977
|
+
**/
|
|
978
|
+
DispatchedAs: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
979
|
+
/**
|
|
980
|
+
* A single item within a Batch of dispatches has completed with no error.
|
|
981
|
+
**/
|
|
982
|
+
ItemCompleted: AugmentedEvent<ApiType, []>;
|
|
983
|
+
/**
|
|
984
|
+
* Generic event
|
|
985
|
+
**/
|
|
986
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
987
|
+
};
|
|
988
|
+
vesting: {
|
|
989
|
+
/**
|
|
990
|
+
* An \[account\] has become fully vested.
|
|
991
|
+
**/
|
|
992
|
+
VestingCompleted: AugmentedEvent<ApiType, [AccountId32]>;
|
|
993
|
+
/**
|
|
994
|
+
* The amount vested has been updated. This could indicate a change in funds available.
|
|
995
|
+
* The balance given is the amount which is left unvested (and thus locked).
|
|
996
|
+
**/
|
|
997
|
+
VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
998
|
+
/**
|
|
999
|
+
* Generic event
|
|
1000
|
+
**/
|
|
1001
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1002
|
+
};
|
|
1003
|
+
xcmPallet: {
|
|
1004
|
+
/**
|
|
1005
|
+
* Some assets have been placed in an asset trap.
|
|
1006
|
+
*
|
|
1007
|
+
* \[ hash, origin, assets \]
|
|
1008
|
+
**/
|
|
1009
|
+
AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Execution of an XCM message was attempted.
|
|
1012
|
+
*
|
|
1013
|
+
* \[ outcome \]
|
|
1014
|
+
**/
|
|
1015
|
+
Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Expected query response has been received but the origin location of the response does
|
|
1018
|
+
* not match that expected. The query remains registered for a later, valid, response to
|
|
1019
|
+
* be received and acted upon.
|
|
1020
|
+
*
|
|
1021
|
+
* \[ origin location, id, expected location \]
|
|
1022
|
+
**/
|
|
1023
|
+
InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Expected query response has been received but the expected origin location placed in
|
|
1026
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
1027
|
+
*
|
|
1028
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
1029
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
1030
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
1031
|
+
* needed.
|
|
1032
|
+
*
|
|
1033
|
+
* \[ origin location, id \]
|
|
1034
|
+
**/
|
|
1035
|
+
InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
|
|
1036
|
+
/**
|
|
1037
|
+
* Query response has been received and query is removed. The registered notification has
|
|
1038
|
+
* been dispatched and executed successfully.
|
|
1039
|
+
*
|
|
1040
|
+
* \[ id, pallet index, call index \]
|
|
1041
|
+
**/
|
|
1042
|
+
Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Query response has been received and query is removed. The dispatch was unable to be
|
|
1045
|
+
* decoded into a `Call`; this might be due to dispatch function having a signature which
|
|
1046
|
+
* is not `(origin, QueryId, Response)`.
|
|
1047
|
+
*
|
|
1048
|
+
* \[ id, pallet index, call index \]
|
|
1049
|
+
**/
|
|
1050
|
+
NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Query response has been received and query is removed. There was a general error with
|
|
1053
|
+
* dispatching the notification call.
|
|
1054
|
+
*
|
|
1055
|
+
* \[ id, pallet index, call index \]
|
|
1056
|
+
**/
|
|
1057
|
+
NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Query response has been received and query is removed. The registered notification could
|
|
1060
|
+
* not be dispatched because the dispatch weight is greater than the maximum weight
|
|
1061
|
+
* originally budgeted by this runtime for the query result.
|
|
1062
|
+
*
|
|
1063
|
+
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
1064
|
+
**/
|
|
1065
|
+
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;
|
|
1066
|
+
/**
|
|
1067
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
1068
|
+
* migrating the location to our new XCM format.
|
|
1069
|
+
*
|
|
1070
|
+
* \[ location, query ID \]
|
|
1071
|
+
**/
|
|
1072
|
+
NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;
|
|
1073
|
+
/**
|
|
1074
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
1075
|
+
* sending the notification to it.
|
|
1076
|
+
*
|
|
1077
|
+
* \[ location, query ID, error \]
|
|
1078
|
+
**/
|
|
1079
|
+
NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Query response has been received and is ready for taking with `take_response`. There is
|
|
1082
|
+
* no registered notification call.
|
|
1083
|
+
*
|
|
1084
|
+
* \[ id, response \]
|
|
1085
|
+
**/
|
|
1086
|
+
ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Received query response has been read and removed.
|
|
1089
|
+
*
|
|
1090
|
+
* \[ id \]
|
|
1091
|
+
**/
|
|
1092
|
+
ResponseTaken: AugmentedEvent<ApiType, [u64]>;
|
|
1093
|
+
/**
|
|
1094
|
+
* A XCM message was sent.
|
|
1095
|
+
*
|
|
1096
|
+
* \[ origin, destination, message \]
|
|
1097
|
+
**/
|
|
1098
|
+
Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
|
|
1099
|
+
/**
|
|
1100
|
+
* The supported version of a location has been changed. This might be through an
|
|
1101
|
+
* automatic notification or a manual intervention.
|
|
1102
|
+
*
|
|
1103
|
+
* \[ location, XCM version \]
|
|
1104
|
+
**/
|
|
1105
|
+
SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Query response received which does not match a registered query. This may be because a
|
|
1108
|
+
* matching query was never registered, it may be because it is a duplicate response, or
|
|
1109
|
+
* because the query timed out.
|
|
1110
|
+
*
|
|
1111
|
+
* \[ origin location, id \]
|
|
1112
|
+
**/
|
|
1113
|
+
UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;
|
|
1114
|
+
/**
|
|
1115
|
+
* An XCM version change notification message has been attempted to be sent.
|
|
1116
|
+
*
|
|
1117
|
+
* \[ destination, result \]
|
|
1118
|
+
**/
|
|
1119
|
+
VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Generic event
|
|
1122
|
+
**/
|
|
1123
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
}
|