@storagehub/api-augment 0.1.0
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/README.md +54 -0
- package/biome.json +10 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/augment-api-consts.js +6 -0
- package/dist/interfaces/augment-api-consts.js.map +1 -0
- package/dist/interfaces/augment-api-errors.js +6 -0
- package/dist/interfaces/augment-api-errors.js.map +1 -0
- package/dist/interfaces/augment-api-events.js +6 -0
- package/dist/interfaces/augment-api-events.js.map +1 -0
- package/dist/interfaces/augment-api-query.js +6 -0
- package/dist/interfaces/augment-api-query.js.map +1 -0
- package/dist/interfaces/augment-api-rpc.js +6 -0
- package/dist/interfaces/augment-api-rpc.js.map +1 -0
- package/dist/interfaces/augment-api-runtime.js +6 -0
- package/dist/interfaces/augment-api-runtime.js.map +1 -0
- package/dist/interfaces/augment-api-tx.js +6 -0
- package/dist/interfaces/augment-api-tx.js.map +1 -0
- package/dist/interfaces/augment-api.js +10 -0
- package/dist/interfaces/augment-api.js.map +1 -0
- package/dist/interfaces/augment-types.js +6 -0
- package/dist/interfaces/augment-types.js.map +1 -0
- package/dist/interfaces/definitions.js +2 -0
- package/dist/interfaces/definitions.js.map +1 -0
- package/dist/interfaces/index.js +4 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/lookup.js +4504 -0
- package/dist/interfaces/lookup.js.map +1 -0
- package/dist/interfaces/registry.js +6 -0
- package/dist/interfaces/registry.js.map +1 -0
- package/dist/interfaces/storagehubclient/definitions.js +7 -0
- package/dist/interfaces/storagehubclient/definitions.js.map +1 -0
- package/dist/interfaces/storagehubclient/index.js +4 -0
- package/dist/interfaces/storagehubclient/index.js.map +1 -0
- package/dist/interfaces/storagehubclient/runtime.js +152 -0
- package/dist/interfaces/storagehubclient/runtime.js.map +1 -0
- package/dist/interfaces/storagehubclient/types.js +4 -0
- package/dist/interfaces/storagehubclient/types.js.map +1 -0
- package/dist/interfaces/types-lookup.js +6 -0
- package/dist/interfaces/types-lookup.js.map +1 -0
- package/dist/interfaces/types.js +4 -0
- package/dist/interfaces/types.js.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/interfaces/augment-api-consts.d.ts +556 -0
- package/dist/types/interfaces/augment-api-errors.d.ts +1195 -0
- package/dist/types/interfaces/augment-api-events.d.ts +2070 -0
- package/dist/types/interfaces/augment-api-query.d.ts +1439 -0
- package/dist/types/interfaces/augment-api-rpc.d.ts +718 -0
- package/dist/types/interfaces/augment-api-runtime.d.ts +441 -0
- package/dist/types/interfaces/augment-api-tx.d.ts +3039 -0
- package/dist/types/interfaces/augment-api.d.ts +7 -0
- package/dist/types/interfaces/augment-types.d.ts +1285 -0
- package/dist/types/interfaces/definitions.d.ts +1 -0
- package/dist/types/interfaces/index.d.ts +1 -0
- package/dist/types/interfaces/lookup.d.ts +4179 -0
- package/dist/types/interfaces/registry.d.ts +272 -0
- package/dist/types/interfaces/storagehubclient/definitions.d.ts +6 -0
- package/dist/types/interfaces/storagehubclient/index.d.ts +1 -0
- package/dist/types/interfaces/storagehubclient/runtime.d.ts +2 -0
- package/dist/types/interfaces/storagehubclient/types.d.ts +198 -0
- package/dist/types/interfaces/types-lookup.d.ts +4457 -0
- package/dist/types/interfaces/types.d.ts +1 -0
- package/package.json +38 -0
- package/scripts/scrapeMetadata.ts +77 -0
- package/src/index.ts +3 -0
- package/src/interfaces/augment-api-consts.ts +570 -0
- package/src/interfaces/augment-api-errors.ts +1203 -0
- package/src/interfaces/augment-api-events.ts +1836 -0
- package/src/interfaces/augment-api-query.ts +1975 -0
- package/src/interfaces/augment-api-rpc.ts +1201 -0
- package/src/interfaces/augment-api-runtime.ts +707 -0
- package/src/interfaces/augment-api-tx.ts +3418 -0
- package/src/interfaces/augment-api.ts +10 -0
- package/src/interfaces/augment-types.ts +2508 -0
- package/src/interfaces/definitions.ts +1 -0
- package/src/interfaces/index.ts +4 -0
- package/src/interfaces/lookup.ts +4511 -0
- package/src/interfaces/registry.ts +546 -0
- package/src/interfaces/storagehubclient/definitions.ts +7 -0
- package/src/interfaces/storagehubclient/index.ts +4 -0
- package/src/interfaces/storagehubclient/runtime.ts +156 -0
- package/src/interfaces/storagehubclient/types.ts +241 -0
- package/src/interfaces/types-lookup.ts +5623 -0
- package/src/interfaces/types.ts +4 -0
- package/storagehub.json +1 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,2070 @@
|
|
|
1
|
+
import "@polkadot/api-base/types/events";
|
|
2
|
+
import type { ApiTypes, AugmentedEvent } from "@polkadot/api-base/types";
|
|
3
|
+
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from "@polkadot/types-codec";
|
|
4
|
+
import type { ITuple } from "@polkadot/types-codec/types";
|
|
5
|
+
import type { AccountId32, H256 } from "@polkadot/types/interfaces/runtime";
|
|
6
|
+
import type { CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, PalletFileSystemEitherAccountIdOrMspId, PalletFileSystemMspRespondStorageRequestsResult, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProofsDealerProof, PalletStorageProvidersStorageProviderId, PalletStorageProvidersValueProposition, ShpTraitsTrieRemoveMutation, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey, StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from "@polkadot/types/lookup";
|
|
7
|
+
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
|
+
declare module "@polkadot/api-base/types/events" {
|
|
9
|
+
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
10
|
+
balances: {
|
|
11
|
+
/**
|
|
12
|
+
* A balance was set by root.
|
|
13
|
+
**/
|
|
14
|
+
BalanceSet: AugmentedEvent<ApiType, [
|
|
15
|
+
who: AccountId32,
|
|
16
|
+
free: u128
|
|
17
|
+
], {
|
|
18
|
+
who: AccountId32;
|
|
19
|
+
free: u128;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Some amount was burned from an account.
|
|
23
|
+
**/
|
|
24
|
+
Burned: AugmentedEvent<ApiType, [
|
|
25
|
+
who: AccountId32,
|
|
26
|
+
amount: u128
|
|
27
|
+
], {
|
|
28
|
+
who: AccountId32;
|
|
29
|
+
amount: u128;
|
|
30
|
+
}>;
|
|
31
|
+
/**
|
|
32
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
33
|
+
**/
|
|
34
|
+
Deposit: AugmentedEvent<ApiType, [
|
|
35
|
+
who: AccountId32,
|
|
36
|
+
amount: u128
|
|
37
|
+
], {
|
|
38
|
+
who: AccountId32;
|
|
39
|
+
amount: u128;
|
|
40
|
+
}>;
|
|
41
|
+
/**
|
|
42
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
43
|
+
* resulting in an outright loss.
|
|
44
|
+
**/
|
|
45
|
+
DustLost: AugmentedEvent<ApiType, [
|
|
46
|
+
account: AccountId32,
|
|
47
|
+
amount: u128
|
|
48
|
+
], {
|
|
49
|
+
account: AccountId32;
|
|
50
|
+
amount: u128;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* An account was created with some free balance.
|
|
54
|
+
**/
|
|
55
|
+
Endowed: AugmentedEvent<ApiType, [
|
|
56
|
+
account: AccountId32,
|
|
57
|
+
freeBalance: u128
|
|
58
|
+
], {
|
|
59
|
+
account: AccountId32;
|
|
60
|
+
freeBalance: u128;
|
|
61
|
+
}>;
|
|
62
|
+
/**
|
|
63
|
+
* Some balance was frozen.
|
|
64
|
+
**/
|
|
65
|
+
Frozen: AugmentedEvent<ApiType, [
|
|
66
|
+
who: AccountId32,
|
|
67
|
+
amount: u128
|
|
68
|
+
], {
|
|
69
|
+
who: AccountId32;
|
|
70
|
+
amount: u128;
|
|
71
|
+
}>;
|
|
72
|
+
/**
|
|
73
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
74
|
+
**/
|
|
75
|
+
Issued: AugmentedEvent<ApiType, [amount: u128], {
|
|
76
|
+
amount: u128;
|
|
77
|
+
}>;
|
|
78
|
+
/**
|
|
79
|
+
* Some balance was locked.
|
|
80
|
+
**/
|
|
81
|
+
Locked: AugmentedEvent<ApiType, [
|
|
82
|
+
who: AccountId32,
|
|
83
|
+
amount: u128
|
|
84
|
+
], {
|
|
85
|
+
who: AccountId32;
|
|
86
|
+
amount: u128;
|
|
87
|
+
}>;
|
|
88
|
+
/**
|
|
89
|
+
* Some amount was minted into an account.
|
|
90
|
+
**/
|
|
91
|
+
Minted: AugmentedEvent<ApiType, [
|
|
92
|
+
who: AccountId32,
|
|
93
|
+
amount: u128
|
|
94
|
+
], {
|
|
95
|
+
who: AccountId32;
|
|
96
|
+
amount: u128;
|
|
97
|
+
}>;
|
|
98
|
+
/**
|
|
99
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
100
|
+
**/
|
|
101
|
+
Rescinded: AugmentedEvent<ApiType, [amount: u128], {
|
|
102
|
+
amount: u128;
|
|
103
|
+
}>;
|
|
104
|
+
/**
|
|
105
|
+
* Some balance was reserved (moved from free to reserved).
|
|
106
|
+
**/
|
|
107
|
+
Reserved: AugmentedEvent<ApiType, [
|
|
108
|
+
who: AccountId32,
|
|
109
|
+
amount: u128
|
|
110
|
+
], {
|
|
111
|
+
who: AccountId32;
|
|
112
|
+
amount: u128;
|
|
113
|
+
}>;
|
|
114
|
+
/**
|
|
115
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
116
|
+
* Final argument indicates the destination balance type.
|
|
117
|
+
**/
|
|
118
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [
|
|
119
|
+
from: AccountId32,
|
|
120
|
+
to: AccountId32,
|
|
121
|
+
amount: u128,
|
|
122
|
+
destinationStatus: FrameSupportTokensMiscBalanceStatus
|
|
123
|
+
], {
|
|
124
|
+
from: AccountId32;
|
|
125
|
+
to: AccountId32;
|
|
126
|
+
amount: u128;
|
|
127
|
+
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
128
|
+
}>;
|
|
129
|
+
/**
|
|
130
|
+
* Some amount was restored into an account.
|
|
131
|
+
**/
|
|
132
|
+
Restored: AugmentedEvent<ApiType, [
|
|
133
|
+
who: AccountId32,
|
|
134
|
+
amount: u128
|
|
135
|
+
], {
|
|
136
|
+
who: AccountId32;
|
|
137
|
+
amount: u128;
|
|
138
|
+
}>;
|
|
139
|
+
/**
|
|
140
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
141
|
+
**/
|
|
142
|
+
Slashed: AugmentedEvent<ApiType, [
|
|
143
|
+
who: AccountId32,
|
|
144
|
+
amount: u128
|
|
145
|
+
], {
|
|
146
|
+
who: AccountId32;
|
|
147
|
+
amount: u128;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
151
|
+
**/
|
|
152
|
+
Suspended: AugmentedEvent<ApiType, [
|
|
153
|
+
who: AccountId32,
|
|
154
|
+
amount: u128
|
|
155
|
+
], {
|
|
156
|
+
who: AccountId32;
|
|
157
|
+
amount: u128;
|
|
158
|
+
}>;
|
|
159
|
+
/**
|
|
160
|
+
* Some balance was thawed.
|
|
161
|
+
**/
|
|
162
|
+
Thawed: AugmentedEvent<ApiType, [
|
|
163
|
+
who: AccountId32,
|
|
164
|
+
amount: u128
|
|
165
|
+
], {
|
|
166
|
+
who: AccountId32;
|
|
167
|
+
amount: u128;
|
|
168
|
+
}>;
|
|
169
|
+
/**
|
|
170
|
+
* The `TotalIssuance` was forcefully changed.
|
|
171
|
+
**/
|
|
172
|
+
TotalIssuanceForced: AugmentedEvent<ApiType, [
|
|
173
|
+
old: u128,
|
|
174
|
+
new_: u128
|
|
175
|
+
], {
|
|
176
|
+
old: u128;
|
|
177
|
+
new_: u128;
|
|
178
|
+
}>;
|
|
179
|
+
/**
|
|
180
|
+
* Transfer succeeded.
|
|
181
|
+
**/
|
|
182
|
+
Transfer: AugmentedEvent<ApiType, [
|
|
183
|
+
from: AccountId32,
|
|
184
|
+
to: AccountId32,
|
|
185
|
+
amount: u128
|
|
186
|
+
], {
|
|
187
|
+
from: AccountId32;
|
|
188
|
+
to: AccountId32;
|
|
189
|
+
amount: u128;
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
* Some balance was unlocked.
|
|
193
|
+
**/
|
|
194
|
+
Unlocked: AugmentedEvent<ApiType, [
|
|
195
|
+
who: AccountId32,
|
|
196
|
+
amount: u128
|
|
197
|
+
], {
|
|
198
|
+
who: AccountId32;
|
|
199
|
+
amount: u128;
|
|
200
|
+
}>;
|
|
201
|
+
/**
|
|
202
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
203
|
+
**/
|
|
204
|
+
Unreserved: AugmentedEvent<ApiType, [
|
|
205
|
+
who: AccountId32,
|
|
206
|
+
amount: u128
|
|
207
|
+
], {
|
|
208
|
+
who: AccountId32;
|
|
209
|
+
amount: u128;
|
|
210
|
+
}>;
|
|
211
|
+
/**
|
|
212
|
+
* An account was upgraded.
|
|
213
|
+
**/
|
|
214
|
+
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
215
|
+
who: AccountId32;
|
|
216
|
+
}>;
|
|
217
|
+
/**
|
|
218
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
219
|
+
**/
|
|
220
|
+
Withdraw: AugmentedEvent<ApiType, [
|
|
221
|
+
who: AccountId32,
|
|
222
|
+
amount: u128
|
|
223
|
+
], {
|
|
224
|
+
who: AccountId32;
|
|
225
|
+
amount: u128;
|
|
226
|
+
}>;
|
|
227
|
+
/**
|
|
228
|
+
* Generic event
|
|
229
|
+
**/
|
|
230
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
231
|
+
};
|
|
232
|
+
bucketNfts: {
|
|
233
|
+
/**
|
|
234
|
+
* Notifies that access to a bucket has been shared with another account.
|
|
235
|
+
**/
|
|
236
|
+
AccessShared: AugmentedEvent<ApiType, [
|
|
237
|
+
issuer: AccountId32,
|
|
238
|
+
recipient: AccountId32
|
|
239
|
+
], {
|
|
240
|
+
issuer: AccountId32;
|
|
241
|
+
recipient: AccountId32;
|
|
242
|
+
}>;
|
|
243
|
+
/**
|
|
244
|
+
* Notifies that an item has been burned.
|
|
245
|
+
**/
|
|
246
|
+
ItemBurned: AugmentedEvent<ApiType, [
|
|
247
|
+
account: AccountId32,
|
|
248
|
+
bucket: H256,
|
|
249
|
+
itemId: u32
|
|
250
|
+
], {
|
|
251
|
+
account: AccountId32;
|
|
252
|
+
bucket: H256;
|
|
253
|
+
itemId: u32;
|
|
254
|
+
}>;
|
|
255
|
+
/**
|
|
256
|
+
* Notifies that the read access for an item has been updated.
|
|
257
|
+
**/
|
|
258
|
+
ItemReadAccessUpdated: AugmentedEvent<ApiType, [
|
|
259
|
+
admin: AccountId32,
|
|
260
|
+
bucket: H256,
|
|
261
|
+
itemId: u32
|
|
262
|
+
], {
|
|
263
|
+
admin: AccountId32;
|
|
264
|
+
bucket: H256;
|
|
265
|
+
itemId: u32;
|
|
266
|
+
}>;
|
|
267
|
+
/**
|
|
268
|
+
* Generic event
|
|
269
|
+
**/
|
|
270
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
271
|
+
};
|
|
272
|
+
collatorSelection: {
|
|
273
|
+
/**
|
|
274
|
+
* A new candidate joined.
|
|
275
|
+
**/
|
|
276
|
+
CandidateAdded: AugmentedEvent<ApiType, [
|
|
277
|
+
accountId: AccountId32,
|
|
278
|
+
deposit: u128
|
|
279
|
+
], {
|
|
280
|
+
accountId: AccountId32;
|
|
281
|
+
deposit: u128;
|
|
282
|
+
}>;
|
|
283
|
+
/**
|
|
284
|
+
* Bond of a candidate updated.
|
|
285
|
+
**/
|
|
286
|
+
CandidateBondUpdated: AugmentedEvent<ApiType, [
|
|
287
|
+
accountId: AccountId32,
|
|
288
|
+
deposit: u128
|
|
289
|
+
], {
|
|
290
|
+
accountId: AccountId32;
|
|
291
|
+
deposit: u128;
|
|
292
|
+
}>;
|
|
293
|
+
/**
|
|
294
|
+
* A candidate was removed.
|
|
295
|
+
**/
|
|
296
|
+
CandidateRemoved: AugmentedEvent<ApiType, [
|
|
297
|
+
accountId: AccountId32
|
|
298
|
+
], {
|
|
299
|
+
accountId: AccountId32;
|
|
300
|
+
}>;
|
|
301
|
+
/**
|
|
302
|
+
* An account was replaced in the candidate list by another one.
|
|
303
|
+
**/
|
|
304
|
+
CandidateReplaced: AugmentedEvent<ApiType, [
|
|
305
|
+
old: AccountId32,
|
|
306
|
+
new_: AccountId32,
|
|
307
|
+
deposit: u128
|
|
308
|
+
], {
|
|
309
|
+
old: AccountId32;
|
|
310
|
+
new_: AccountId32;
|
|
311
|
+
deposit: u128;
|
|
312
|
+
}>;
|
|
313
|
+
/**
|
|
314
|
+
* An account was unable to be added to the Invulnerables because they did not have keys
|
|
315
|
+
* registered. Other Invulnerables may have been set.
|
|
316
|
+
**/
|
|
317
|
+
InvalidInvulnerableSkipped: AugmentedEvent<ApiType, [
|
|
318
|
+
accountId: AccountId32
|
|
319
|
+
], {
|
|
320
|
+
accountId: AccountId32;
|
|
321
|
+
}>;
|
|
322
|
+
/**
|
|
323
|
+
* A new Invulnerable was added.
|
|
324
|
+
**/
|
|
325
|
+
InvulnerableAdded: AugmentedEvent<ApiType, [
|
|
326
|
+
accountId: AccountId32
|
|
327
|
+
], {
|
|
328
|
+
accountId: AccountId32;
|
|
329
|
+
}>;
|
|
330
|
+
/**
|
|
331
|
+
* An Invulnerable was removed.
|
|
332
|
+
**/
|
|
333
|
+
InvulnerableRemoved: AugmentedEvent<ApiType, [
|
|
334
|
+
accountId: AccountId32
|
|
335
|
+
], {
|
|
336
|
+
accountId: AccountId32;
|
|
337
|
+
}>;
|
|
338
|
+
/**
|
|
339
|
+
* The candidacy bond was set.
|
|
340
|
+
**/
|
|
341
|
+
NewCandidacyBond: AugmentedEvent<ApiType, [bondAmount: u128], {
|
|
342
|
+
bondAmount: u128;
|
|
343
|
+
}>;
|
|
344
|
+
/**
|
|
345
|
+
* The number of desired candidates was set.
|
|
346
|
+
**/
|
|
347
|
+
NewDesiredCandidates: AugmentedEvent<ApiType, [
|
|
348
|
+
desiredCandidates: u32
|
|
349
|
+
], {
|
|
350
|
+
desiredCandidates: u32;
|
|
351
|
+
}>;
|
|
352
|
+
/**
|
|
353
|
+
* New Invulnerables were set.
|
|
354
|
+
**/
|
|
355
|
+
NewInvulnerables: AugmentedEvent<ApiType, [
|
|
356
|
+
invulnerables: Vec<AccountId32>
|
|
357
|
+
], {
|
|
358
|
+
invulnerables: Vec<AccountId32>;
|
|
359
|
+
}>;
|
|
360
|
+
/**
|
|
361
|
+
* Generic event
|
|
362
|
+
**/
|
|
363
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
364
|
+
};
|
|
365
|
+
cumulusXcm: {
|
|
366
|
+
/**
|
|
367
|
+
* Downward message executed with the given outcome.
|
|
368
|
+
* \[ id, outcome \]
|
|
369
|
+
**/
|
|
370
|
+
ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, StagingXcmV4TraitsOutcome]>;
|
|
371
|
+
/**
|
|
372
|
+
* Downward message is invalid XCM.
|
|
373
|
+
* \[ id \]
|
|
374
|
+
**/
|
|
375
|
+
InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
376
|
+
/**
|
|
377
|
+
* Downward message is unsupported version of XCM.
|
|
378
|
+
* \[ id \]
|
|
379
|
+
**/
|
|
380
|
+
UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;
|
|
381
|
+
/**
|
|
382
|
+
* Generic event
|
|
383
|
+
**/
|
|
384
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
385
|
+
};
|
|
386
|
+
fileSystem: {
|
|
387
|
+
/**
|
|
388
|
+
* Notifies that a BSP has been accepted to store a given file.
|
|
389
|
+
**/
|
|
390
|
+
AcceptedBspVolunteer: AugmentedEvent<ApiType, [
|
|
391
|
+
bspId: H256,
|
|
392
|
+
bucketId: H256,
|
|
393
|
+
location: Bytes,
|
|
394
|
+
fingerprint: H256,
|
|
395
|
+
multiaddresses: Vec<Bytes>,
|
|
396
|
+
owner: AccountId32,
|
|
397
|
+
size_: u64
|
|
398
|
+
], {
|
|
399
|
+
bspId: H256;
|
|
400
|
+
bucketId: H256;
|
|
401
|
+
location: Bytes;
|
|
402
|
+
fingerprint: H256;
|
|
403
|
+
multiaddresses: Vec<Bytes>;
|
|
404
|
+
owner: AccountId32;
|
|
405
|
+
size_: u64;
|
|
406
|
+
}>;
|
|
407
|
+
/**
|
|
408
|
+
* Notifies that a BSP's challenge cycle has been initialised, adding the first file
|
|
409
|
+
* key(s) to the BSP's Merkle Patricia Forest.
|
|
410
|
+
**/
|
|
411
|
+
BspChallengeCycleInitialised: AugmentedEvent<ApiType, [
|
|
412
|
+
who: AccountId32,
|
|
413
|
+
bspId: H256
|
|
414
|
+
], {
|
|
415
|
+
who: AccountId32;
|
|
416
|
+
bspId: H256;
|
|
417
|
+
}>;
|
|
418
|
+
/**
|
|
419
|
+
* Notifies that a BSP confirmed storing a file(s).
|
|
420
|
+
**/
|
|
421
|
+
BspConfirmedStoring: AugmentedEvent<ApiType, [
|
|
422
|
+
who: AccountId32,
|
|
423
|
+
bspId: H256,
|
|
424
|
+
fileKeys: Vec<H256>,
|
|
425
|
+
newRoot: H256
|
|
426
|
+
], {
|
|
427
|
+
who: AccountId32;
|
|
428
|
+
bspId: H256;
|
|
429
|
+
fileKeys: Vec<H256>;
|
|
430
|
+
newRoot: H256;
|
|
431
|
+
}>;
|
|
432
|
+
/**
|
|
433
|
+
* Notifies that a BSP has stopped storing a file.
|
|
434
|
+
**/
|
|
435
|
+
BspConfirmStoppedStoring: AugmentedEvent<ApiType, [
|
|
436
|
+
bspId: H256,
|
|
437
|
+
fileKey: H256,
|
|
438
|
+
newRoot: H256
|
|
439
|
+
], {
|
|
440
|
+
bspId: H256;
|
|
441
|
+
fileKey: H256;
|
|
442
|
+
newRoot: H256;
|
|
443
|
+
}>;
|
|
444
|
+
/**
|
|
445
|
+
* Notifies that a BSP has opened a request to stop storing a file.
|
|
446
|
+
**/
|
|
447
|
+
BspRequestedToStopStoring: AugmentedEvent<ApiType, [
|
|
448
|
+
bspId: H256,
|
|
449
|
+
fileKey: H256,
|
|
450
|
+
owner: AccountId32,
|
|
451
|
+
location: Bytes
|
|
452
|
+
], {
|
|
453
|
+
bspId: H256;
|
|
454
|
+
fileKey: H256;
|
|
455
|
+
owner: AccountId32;
|
|
456
|
+
location: Bytes;
|
|
457
|
+
}>;
|
|
458
|
+
/**
|
|
459
|
+
* Notifies that a bucket's privacy has been updated.
|
|
460
|
+
**/
|
|
461
|
+
BucketPrivacyUpdated: AugmentedEvent<ApiType, [
|
|
462
|
+
who: AccountId32,
|
|
463
|
+
bucketId: H256,
|
|
464
|
+
collectionId: Option<u32>,
|
|
465
|
+
private: bool
|
|
466
|
+
], {
|
|
467
|
+
who: AccountId32;
|
|
468
|
+
bucketId: H256;
|
|
469
|
+
collectionId: Option<u32>;
|
|
470
|
+
private: bool;
|
|
471
|
+
}>;
|
|
472
|
+
/**
|
|
473
|
+
* Notifies that a data server has been registered for a move bucket request.
|
|
474
|
+
**/
|
|
475
|
+
DataServerRegisteredForMoveBucket: AugmentedEvent<ApiType, [
|
|
476
|
+
bspId: H256,
|
|
477
|
+
bucketId: H256
|
|
478
|
+
], {
|
|
479
|
+
bspId: H256;
|
|
480
|
+
bucketId: H256;
|
|
481
|
+
}>;
|
|
482
|
+
/**
|
|
483
|
+
* Notifies that a priority challenge failed to be queued for pending file deletion.
|
|
484
|
+
**/
|
|
485
|
+
FailedToQueuePriorityChallenge: AugmentedEvent<ApiType, [
|
|
486
|
+
user: AccountId32,
|
|
487
|
+
fileKey: H256
|
|
488
|
+
], {
|
|
489
|
+
user: AccountId32;
|
|
490
|
+
fileKey: H256;
|
|
491
|
+
}>;
|
|
492
|
+
/**
|
|
493
|
+
* Notifies that a file will be deleted.
|
|
494
|
+
**/
|
|
495
|
+
FileDeletionRequest: AugmentedEvent<ApiType, [
|
|
496
|
+
user: AccountId32,
|
|
497
|
+
fileKey: H256,
|
|
498
|
+
bucketId: H256,
|
|
499
|
+
mspId: H256,
|
|
500
|
+
proofOfInclusion: bool
|
|
501
|
+
], {
|
|
502
|
+
user: AccountId32;
|
|
503
|
+
fileKey: H256;
|
|
504
|
+
bucketId: H256;
|
|
505
|
+
mspId: H256;
|
|
506
|
+
proofOfInclusion: bool;
|
|
507
|
+
}>;
|
|
508
|
+
/**
|
|
509
|
+
* Notifies that a bucket has been moved to a new MSP.
|
|
510
|
+
**/
|
|
511
|
+
MoveBucketAccepted: AugmentedEvent<ApiType, [
|
|
512
|
+
bucketId: H256,
|
|
513
|
+
mspId: H256
|
|
514
|
+
], {
|
|
515
|
+
bucketId: H256;
|
|
516
|
+
mspId: H256;
|
|
517
|
+
}>;
|
|
518
|
+
/**
|
|
519
|
+
* Notifies that a bucket move request has been rejected by the MSP.
|
|
520
|
+
**/
|
|
521
|
+
MoveBucketRejected: AugmentedEvent<ApiType, [
|
|
522
|
+
bucketId: H256,
|
|
523
|
+
mspId: H256
|
|
524
|
+
], {
|
|
525
|
+
bucketId: H256;
|
|
526
|
+
mspId: H256;
|
|
527
|
+
}>;
|
|
528
|
+
/**
|
|
529
|
+
* Notifies that a bucket is being moved to a new MSP.
|
|
530
|
+
**/
|
|
531
|
+
MoveBucketRequested: AugmentedEvent<ApiType, [
|
|
532
|
+
who: AccountId32,
|
|
533
|
+
bucketId: H256,
|
|
534
|
+
newMspId: H256
|
|
535
|
+
], {
|
|
536
|
+
who: AccountId32;
|
|
537
|
+
bucketId: H256;
|
|
538
|
+
newMspId: H256;
|
|
539
|
+
}>;
|
|
540
|
+
/**
|
|
541
|
+
* Notifies that a move bucket request has expired.
|
|
542
|
+
**/
|
|
543
|
+
MoveBucketRequestExpired: AugmentedEvent<ApiType, [
|
|
544
|
+
mspId: H256,
|
|
545
|
+
bucketId: H256
|
|
546
|
+
], {
|
|
547
|
+
mspId: H256;
|
|
548
|
+
bucketId: H256;
|
|
549
|
+
}>;
|
|
550
|
+
/**
|
|
551
|
+
* Notifies that a MSP has responded to storage request(s).
|
|
552
|
+
**/
|
|
553
|
+
MspRespondedToStorageRequests: AugmentedEvent<ApiType, [
|
|
554
|
+
results: PalletFileSystemMspRespondStorageRequestsResult
|
|
555
|
+
], {
|
|
556
|
+
results: PalletFileSystemMspRespondStorageRequestsResult;
|
|
557
|
+
}>;
|
|
558
|
+
/**
|
|
559
|
+
* Notifies that a new bucket has been created.
|
|
560
|
+
**/
|
|
561
|
+
NewBucket: AugmentedEvent<ApiType, [
|
|
562
|
+
who: AccountId32,
|
|
563
|
+
mspId: H256,
|
|
564
|
+
bucketId: H256,
|
|
565
|
+
name: Bytes,
|
|
566
|
+
collectionId: Option<u32>,
|
|
567
|
+
private: bool
|
|
568
|
+
], {
|
|
569
|
+
who: AccountId32;
|
|
570
|
+
mspId: H256;
|
|
571
|
+
bucketId: H256;
|
|
572
|
+
name: Bytes;
|
|
573
|
+
collectionId: Option<u32>;
|
|
574
|
+
private: bool;
|
|
575
|
+
}>;
|
|
576
|
+
/**
|
|
577
|
+
* Notifies that a new collection has been created and associated with a bucket.
|
|
578
|
+
**/
|
|
579
|
+
NewCollectionAndAssociation: AugmentedEvent<ApiType, [
|
|
580
|
+
who: AccountId32,
|
|
581
|
+
bucketId: H256,
|
|
582
|
+
collectionId: u32
|
|
583
|
+
], {
|
|
584
|
+
who: AccountId32;
|
|
585
|
+
bucketId: H256;
|
|
586
|
+
collectionId: u32;
|
|
587
|
+
}>;
|
|
588
|
+
/**
|
|
589
|
+
* Notifies that a new file has been requested to be stored.
|
|
590
|
+
**/
|
|
591
|
+
NewStorageRequest: AugmentedEvent<ApiType, [
|
|
592
|
+
who: AccountId32,
|
|
593
|
+
fileKey: H256,
|
|
594
|
+
bucketId: H256,
|
|
595
|
+
location: Bytes,
|
|
596
|
+
fingerprint: H256,
|
|
597
|
+
size_: u64,
|
|
598
|
+
peerIds: Vec<Bytes>
|
|
599
|
+
], {
|
|
600
|
+
who: AccountId32;
|
|
601
|
+
fileKey: H256;
|
|
602
|
+
bucketId: H256;
|
|
603
|
+
location: Bytes;
|
|
604
|
+
fingerprint: H256;
|
|
605
|
+
size_: u64;
|
|
606
|
+
peerIds: Vec<Bytes>;
|
|
607
|
+
}>;
|
|
608
|
+
/**
|
|
609
|
+
* Notifies that a file key has been queued for a priority challenge for file deletion.
|
|
610
|
+
**/
|
|
611
|
+
PriorityChallengeForFileDeletionQueued: AugmentedEvent<ApiType, [
|
|
612
|
+
issuer: PalletFileSystemEitherAccountIdOrMspId,
|
|
613
|
+
fileKey: H256
|
|
614
|
+
], {
|
|
615
|
+
issuer: PalletFileSystemEitherAccountIdOrMspId;
|
|
616
|
+
fileKey: H256;
|
|
617
|
+
}>;
|
|
618
|
+
/**
|
|
619
|
+
* Notifies that a proof has been submitted for a pending file deletion request.
|
|
620
|
+
**/
|
|
621
|
+
ProofSubmittedForPendingFileDeletionRequest: AugmentedEvent<ApiType, [
|
|
622
|
+
mspId: H256,
|
|
623
|
+
user: AccountId32,
|
|
624
|
+
fileKey: H256,
|
|
625
|
+
bucketId: H256,
|
|
626
|
+
proofOfInclusion: bool
|
|
627
|
+
], {
|
|
628
|
+
mspId: H256;
|
|
629
|
+
user: AccountId32;
|
|
630
|
+
fileKey: H256;
|
|
631
|
+
bucketId: H256;
|
|
632
|
+
proofOfInclusion: bool;
|
|
633
|
+
}>;
|
|
634
|
+
/**
|
|
635
|
+
* Notifies that a SP has stopped storing a file because its owner has become insolvent.
|
|
636
|
+
**/
|
|
637
|
+
SpStopStoringInsolventUser: AugmentedEvent<ApiType, [
|
|
638
|
+
spId: H256,
|
|
639
|
+
fileKey: H256,
|
|
640
|
+
owner: AccountId32,
|
|
641
|
+
location: Bytes,
|
|
642
|
+
newRoot: H256
|
|
643
|
+
], {
|
|
644
|
+
spId: H256;
|
|
645
|
+
fileKey: H256;
|
|
646
|
+
owner: AccountId32;
|
|
647
|
+
location: Bytes;
|
|
648
|
+
newRoot: H256;
|
|
649
|
+
}>;
|
|
650
|
+
/**
|
|
651
|
+
* Notifies the expiration of a storage request.
|
|
652
|
+
**/
|
|
653
|
+
StorageRequestExpired: AugmentedEvent<ApiType, [fileKey: H256], {
|
|
654
|
+
fileKey: H256;
|
|
655
|
+
}>;
|
|
656
|
+
/**
|
|
657
|
+
* Notifies that a storage request for a file key has been fulfilled.
|
|
658
|
+
**/
|
|
659
|
+
StorageRequestFulfilled: AugmentedEvent<ApiType, [fileKey: H256], {
|
|
660
|
+
fileKey: H256;
|
|
661
|
+
}>;
|
|
662
|
+
/**
|
|
663
|
+
* Notifies that a storage request has been revoked by the user who initiated it.
|
|
664
|
+
**/
|
|
665
|
+
StorageRequestRevoked: AugmentedEvent<ApiType, [fileKey: H256], {
|
|
666
|
+
fileKey: H256;
|
|
667
|
+
}>;
|
|
668
|
+
/**
|
|
669
|
+
* Generic event
|
|
670
|
+
**/
|
|
671
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
672
|
+
};
|
|
673
|
+
messageQueue: {
|
|
674
|
+
/**
|
|
675
|
+
* Message placed in overweight queue.
|
|
676
|
+
**/
|
|
677
|
+
OverweightEnqueued: AugmentedEvent<ApiType, [
|
|
678
|
+
id: U8aFixed,
|
|
679
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
680
|
+
pageIndex: u32,
|
|
681
|
+
messageIndex: u32
|
|
682
|
+
], {
|
|
683
|
+
id: U8aFixed;
|
|
684
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
685
|
+
pageIndex: u32;
|
|
686
|
+
messageIndex: u32;
|
|
687
|
+
}>;
|
|
688
|
+
/**
|
|
689
|
+
* This page was reaped.
|
|
690
|
+
**/
|
|
691
|
+
PageReaped: AugmentedEvent<ApiType, [
|
|
692
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
693
|
+
index: u32
|
|
694
|
+
], {
|
|
695
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
696
|
+
index: u32;
|
|
697
|
+
}>;
|
|
698
|
+
/**
|
|
699
|
+
* Message is processed.
|
|
700
|
+
**/
|
|
701
|
+
Processed: AugmentedEvent<ApiType, [
|
|
702
|
+
id: H256,
|
|
703
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
704
|
+
weightUsed: SpWeightsWeightV2Weight,
|
|
705
|
+
success: bool
|
|
706
|
+
], {
|
|
707
|
+
id: H256;
|
|
708
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
709
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
710
|
+
success: bool;
|
|
711
|
+
}>;
|
|
712
|
+
/**
|
|
713
|
+
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
714
|
+
**/
|
|
715
|
+
ProcessingFailed: AugmentedEvent<ApiType, [
|
|
716
|
+
id: H256,
|
|
717
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
718
|
+
error: FrameSupportMessagesProcessMessageError
|
|
719
|
+
], {
|
|
720
|
+
id: H256;
|
|
721
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
722
|
+
error: FrameSupportMessagesProcessMessageError;
|
|
723
|
+
}>;
|
|
724
|
+
/**
|
|
725
|
+
* Generic event
|
|
726
|
+
**/
|
|
727
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
728
|
+
};
|
|
729
|
+
nfts: {
|
|
730
|
+
/**
|
|
731
|
+
* All approvals of an item got cancelled.
|
|
732
|
+
**/
|
|
733
|
+
AllApprovalsCancelled: AugmentedEvent<ApiType, [
|
|
734
|
+
collection: u32,
|
|
735
|
+
item: u32,
|
|
736
|
+
owner: AccountId32
|
|
737
|
+
], {
|
|
738
|
+
collection: u32;
|
|
739
|
+
item: u32;
|
|
740
|
+
owner: AccountId32;
|
|
741
|
+
}>;
|
|
742
|
+
/**
|
|
743
|
+
* An approval for a `delegate` account to transfer the `item` of an item
|
|
744
|
+
* `collection` was cancelled by its `owner`.
|
|
745
|
+
**/
|
|
746
|
+
ApprovalCancelled: AugmentedEvent<ApiType, [
|
|
747
|
+
collection: u32,
|
|
748
|
+
item: u32,
|
|
749
|
+
owner: AccountId32,
|
|
750
|
+
delegate: AccountId32
|
|
751
|
+
], {
|
|
752
|
+
collection: u32;
|
|
753
|
+
item: u32;
|
|
754
|
+
owner: AccountId32;
|
|
755
|
+
delegate: AccountId32;
|
|
756
|
+
}>;
|
|
757
|
+
/**
|
|
758
|
+
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
759
|
+
**/
|
|
760
|
+
AttributeCleared: AugmentedEvent<ApiType, [
|
|
761
|
+
collection: u32,
|
|
762
|
+
maybeItem: Option<u32>,
|
|
763
|
+
key: Bytes,
|
|
764
|
+
namespace: PalletNftsAttributeNamespace
|
|
765
|
+
], {
|
|
766
|
+
collection: u32;
|
|
767
|
+
maybeItem: Option<u32>;
|
|
768
|
+
key: Bytes;
|
|
769
|
+
namespace: PalletNftsAttributeNamespace;
|
|
770
|
+
}>;
|
|
771
|
+
/**
|
|
772
|
+
* New attribute metadata has been set for a `collection` or `item`.
|
|
773
|
+
**/
|
|
774
|
+
AttributeSet: AugmentedEvent<ApiType, [
|
|
775
|
+
collection: u32,
|
|
776
|
+
maybeItem: Option<u32>,
|
|
777
|
+
key: Bytes,
|
|
778
|
+
value: Bytes,
|
|
779
|
+
namespace: PalletNftsAttributeNamespace
|
|
780
|
+
], {
|
|
781
|
+
collection: u32;
|
|
782
|
+
maybeItem: Option<u32>;
|
|
783
|
+
key: Bytes;
|
|
784
|
+
value: Bytes;
|
|
785
|
+
namespace: PalletNftsAttributeNamespace;
|
|
786
|
+
}>;
|
|
787
|
+
/**
|
|
788
|
+
* An `item` was destroyed.
|
|
789
|
+
**/
|
|
790
|
+
Burned: AugmentedEvent<ApiType, [
|
|
791
|
+
collection: u32,
|
|
792
|
+
item: u32,
|
|
793
|
+
owner: AccountId32
|
|
794
|
+
], {
|
|
795
|
+
collection: u32;
|
|
796
|
+
item: u32;
|
|
797
|
+
owner: AccountId32;
|
|
798
|
+
}>;
|
|
799
|
+
/**
|
|
800
|
+
* A `collection` has had its config changed by the `Force` origin.
|
|
801
|
+
**/
|
|
802
|
+
CollectionConfigChanged: AugmentedEvent<ApiType, [collection: u32], {
|
|
803
|
+
collection: u32;
|
|
804
|
+
}>;
|
|
805
|
+
/**
|
|
806
|
+
* Some `collection` was locked.
|
|
807
|
+
**/
|
|
808
|
+
CollectionLocked: AugmentedEvent<ApiType, [collection: u32], {
|
|
809
|
+
collection: u32;
|
|
810
|
+
}>;
|
|
811
|
+
/**
|
|
812
|
+
* Max supply has been set for a collection.
|
|
813
|
+
**/
|
|
814
|
+
CollectionMaxSupplySet: AugmentedEvent<ApiType, [
|
|
815
|
+
collection: u32,
|
|
816
|
+
maxSupply: u32
|
|
817
|
+
], {
|
|
818
|
+
collection: u32;
|
|
819
|
+
maxSupply: u32;
|
|
820
|
+
}>;
|
|
821
|
+
/**
|
|
822
|
+
* Metadata has been cleared for a `collection`.
|
|
823
|
+
**/
|
|
824
|
+
CollectionMetadataCleared: AugmentedEvent<ApiType, [collection: u32], {
|
|
825
|
+
collection: u32;
|
|
826
|
+
}>;
|
|
827
|
+
/**
|
|
828
|
+
* New metadata has been set for a `collection`.
|
|
829
|
+
**/
|
|
830
|
+
CollectionMetadataSet: AugmentedEvent<ApiType, [
|
|
831
|
+
collection: u32,
|
|
832
|
+
data: Bytes
|
|
833
|
+
], {
|
|
834
|
+
collection: u32;
|
|
835
|
+
data: Bytes;
|
|
836
|
+
}>;
|
|
837
|
+
/**
|
|
838
|
+
* Mint settings for a collection had changed.
|
|
839
|
+
**/
|
|
840
|
+
CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [
|
|
841
|
+
collection: u32
|
|
842
|
+
], {
|
|
843
|
+
collection: u32;
|
|
844
|
+
}>;
|
|
845
|
+
/**
|
|
846
|
+
* A `collection` was created.
|
|
847
|
+
**/
|
|
848
|
+
Created: AugmentedEvent<ApiType, [
|
|
849
|
+
collection: u32,
|
|
850
|
+
creator: AccountId32,
|
|
851
|
+
owner: AccountId32
|
|
852
|
+
], {
|
|
853
|
+
collection: u32;
|
|
854
|
+
creator: AccountId32;
|
|
855
|
+
owner: AccountId32;
|
|
856
|
+
}>;
|
|
857
|
+
/**
|
|
858
|
+
* A `collection` was destroyed.
|
|
859
|
+
**/
|
|
860
|
+
Destroyed: AugmentedEvent<ApiType, [collection: u32], {
|
|
861
|
+
collection: u32;
|
|
862
|
+
}>;
|
|
863
|
+
/**
|
|
864
|
+
* A `collection` was force-created.
|
|
865
|
+
**/
|
|
866
|
+
ForceCreated: AugmentedEvent<ApiType, [
|
|
867
|
+
collection: u32,
|
|
868
|
+
owner: AccountId32
|
|
869
|
+
], {
|
|
870
|
+
collection: u32;
|
|
871
|
+
owner: AccountId32;
|
|
872
|
+
}>;
|
|
873
|
+
/**
|
|
874
|
+
* An `item` was issued.
|
|
875
|
+
**/
|
|
876
|
+
Issued: AugmentedEvent<ApiType, [
|
|
877
|
+
collection: u32,
|
|
878
|
+
item: u32,
|
|
879
|
+
owner: AccountId32
|
|
880
|
+
], {
|
|
881
|
+
collection: u32;
|
|
882
|
+
item: u32;
|
|
883
|
+
owner: AccountId32;
|
|
884
|
+
}>;
|
|
885
|
+
/**
|
|
886
|
+
* A new approval to modify item attributes was added.
|
|
887
|
+
**/
|
|
888
|
+
ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [
|
|
889
|
+
collection: u32,
|
|
890
|
+
item: u32,
|
|
891
|
+
delegate: AccountId32
|
|
892
|
+
], {
|
|
893
|
+
collection: u32;
|
|
894
|
+
item: u32;
|
|
895
|
+
delegate: AccountId32;
|
|
896
|
+
}>;
|
|
897
|
+
/**
|
|
898
|
+
* A new approval to modify item attributes was removed.
|
|
899
|
+
**/
|
|
900
|
+
ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [
|
|
901
|
+
collection: u32,
|
|
902
|
+
item: u32,
|
|
903
|
+
delegate: AccountId32
|
|
904
|
+
], {
|
|
905
|
+
collection: u32;
|
|
906
|
+
item: u32;
|
|
907
|
+
delegate: AccountId32;
|
|
908
|
+
}>;
|
|
909
|
+
/**
|
|
910
|
+
* An item was bought.
|
|
911
|
+
**/
|
|
912
|
+
ItemBought: AugmentedEvent<ApiType, [
|
|
913
|
+
collection: u32,
|
|
914
|
+
item: u32,
|
|
915
|
+
price: u128,
|
|
916
|
+
seller: AccountId32,
|
|
917
|
+
buyer: AccountId32
|
|
918
|
+
], {
|
|
919
|
+
collection: u32;
|
|
920
|
+
item: u32;
|
|
921
|
+
price: u128;
|
|
922
|
+
seller: AccountId32;
|
|
923
|
+
buyer: AccountId32;
|
|
924
|
+
}>;
|
|
925
|
+
/**
|
|
926
|
+
* Metadata has been cleared for an item.
|
|
927
|
+
**/
|
|
928
|
+
ItemMetadataCleared: AugmentedEvent<ApiType, [
|
|
929
|
+
collection: u32,
|
|
930
|
+
item: u32
|
|
931
|
+
], {
|
|
932
|
+
collection: u32;
|
|
933
|
+
item: u32;
|
|
934
|
+
}>;
|
|
935
|
+
/**
|
|
936
|
+
* New metadata has been set for an item.
|
|
937
|
+
**/
|
|
938
|
+
ItemMetadataSet: AugmentedEvent<ApiType, [
|
|
939
|
+
collection: u32,
|
|
940
|
+
item: u32,
|
|
941
|
+
data: Bytes
|
|
942
|
+
], {
|
|
943
|
+
collection: u32;
|
|
944
|
+
item: u32;
|
|
945
|
+
data: Bytes;
|
|
946
|
+
}>;
|
|
947
|
+
/**
|
|
948
|
+
* The price for the item was removed.
|
|
949
|
+
**/
|
|
950
|
+
ItemPriceRemoved: AugmentedEvent<ApiType, [
|
|
951
|
+
collection: u32,
|
|
952
|
+
item: u32
|
|
953
|
+
], {
|
|
954
|
+
collection: u32;
|
|
955
|
+
item: u32;
|
|
956
|
+
}>;
|
|
957
|
+
/**
|
|
958
|
+
* The price was set for the item.
|
|
959
|
+
**/
|
|
960
|
+
ItemPriceSet: AugmentedEvent<ApiType, [
|
|
961
|
+
collection: u32,
|
|
962
|
+
item: u32,
|
|
963
|
+
price: u128,
|
|
964
|
+
whitelistedBuyer: Option<AccountId32>
|
|
965
|
+
], {
|
|
966
|
+
collection: u32;
|
|
967
|
+
item: u32;
|
|
968
|
+
price: u128;
|
|
969
|
+
whitelistedBuyer: Option<AccountId32>;
|
|
970
|
+
}>;
|
|
971
|
+
/**
|
|
972
|
+
* `item` metadata or attributes were locked.
|
|
973
|
+
**/
|
|
974
|
+
ItemPropertiesLocked: AugmentedEvent<ApiType, [
|
|
975
|
+
collection: u32,
|
|
976
|
+
item: u32,
|
|
977
|
+
lockMetadata: bool,
|
|
978
|
+
lockAttributes: bool
|
|
979
|
+
], {
|
|
980
|
+
collection: u32;
|
|
981
|
+
item: u32;
|
|
982
|
+
lockMetadata: bool;
|
|
983
|
+
lockAttributes: bool;
|
|
984
|
+
}>;
|
|
985
|
+
/**
|
|
986
|
+
* An `item` became non-transferable.
|
|
987
|
+
**/
|
|
988
|
+
ItemTransferLocked: AugmentedEvent<ApiType, [
|
|
989
|
+
collection: u32,
|
|
990
|
+
item: u32
|
|
991
|
+
], {
|
|
992
|
+
collection: u32;
|
|
993
|
+
item: u32;
|
|
994
|
+
}>;
|
|
995
|
+
/**
|
|
996
|
+
* An `item` became transferable.
|
|
997
|
+
**/
|
|
998
|
+
ItemTransferUnlocked: AugmentedEvent<ApiType, [
|
|
999
|
+
collection: u32,
|
|
1000
|
+
item: u32
|
|
1001
|
+
], {
|
|
1002
|
+
collection: u32;
|
|
1003
|
+
item: u32;
|
|
1004
|
+
}>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Event gets emitted when the `NextCollectionId` gets incremented.
|
|
1007
|
+
**/
|
|
1008
|
+
NextCollectionIdIncremented: AugmentedEvent<ApiType, [
|
|
1009
|
+
nextId: Option<u32>
|
|
1010
|
+
], {
|
|
1011
|
+
nextId: Option<u32>;
|
|
1012
|
+
}>;
|
|
1013
|
+
/**
|
|
1014
|
+
* The owner changed.
|
|
1015
|
+
**/
|
|
1016
|
+
OwnerChanged: AugmentedEvent<ApiType, [
|
|
1017
|
+
collection: u32,
|
|
1018
|
+
newOwner: AccountId32
|
|
1019
|
+
], {
|
|
1020
|
+
collection: u32;
|
|
1021
|
+
newOwner: AccountId32;
|
|
1022
|
+
}>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Ownership acceptance has changed for an account.
|
|
1025
|
+
**/
|
|
1026
|
+
OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [
|
|
1027
|
+
who: AccountId32,
|
|
1028
|
+
maybeCollection: Option<u32>
|
|
1029
|
+
], {
|
|
1030
|
+
who: AccountId32;
|
|
1031
|
+
maybeCollection: Option<u32>;
|
|
1032
|
+
}>;
|
|
1033
|
+
/**
|
|
1034
|
+
* A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
|
|
1035
|
+
* within that `collection`.
|
|
1036
|
+
**/
|
|
1037
|
+
PalletAttributeSet: AugmentedEvent<ApiType, [
|
|
1038
|
+
collection: u32,
|
|
1039
|
+
item: Option<u32>,
|
|
1040
|
+
attribute: PalletNftsPalletAttributes,
|
|
1041
|
+
value: Bytes
|
|
1042
|
+
], {
|
|
1043
|
+
collection: u32;
|
|
1044
|
+
item: Option<u32>;
|
|
1045
|
+
attribute: PalletNftsPalletAttributes;
|
|
1046
|
+
value: Bytes;
|
|
1047
|
+
}>;
|
|
1048
|
+
/**
|
|
1049
|
+
* New attributes have been set for an `item` of the `collection`.
|
|
1050
|
+
**/
|
|
1051
|
+
PreSignedAttributesSet: AugmentedEvent<ApiType, [
|
|
1052
|
+
collection: u32,
|
|
1053
|
+
item: u32,
|
|
1054
|
+
namespace: PalletNftsAttributeNamespace
|
|
1055
|
+
], {
|
|
1056
|
+
collection: u32;
|
|
1057
|
+
item: u32;
|
|
1058
|
+
namespace: PalletNftsAttributeNamespace;
|
|
1059
|
+
}>;
|
|
1060
|
+
/**
|
|
1061
|
+
* The deposit for a set of `item`s within a `collection` has been updated.
|
|
1062
|
+
**/
|
|
1063
|
+
Redeposited: AugmentedEvent<ApiType, [
|
|
1064
|
+
collection: u32,
|
|
1065
|
+
successfulItems: Vec<u32>
|
|
1066
|
+
], {
|
|
1067
|
+
collection: u32;
|
|
1068
|
+
successfulItems: Vec<u32>;
|
|
1069
|
+
}>;
|
|
1070
|
+
/**
|
|
1071
|
+
* The swap was cancelled.
|
|
1072
|
+
**/
|
|
1073
|
+
SwapCancelled: AugmentedEvent<ApiType, [
|
|
1074
|
+
offeredCollection: u32,
|
|
1075
|
+
offeredItem: u32,
|
|
1076
|
+
desiredCollection: u32,
|
|
1077
|
+
desiredItem: Option<u32>,
|
|
1078
|
+
price: Option<PalletNftsPriceWithDirection>,
|
|
1079
|
+
deadline: u32
|
|
1080
|
+
], {
|
|
1081
|
+
offeredCollection: u32;
|
|
1082
|
+
offeredItem: u32;
|
|
1083
|
+
desiredCollection: u32;
|
|
1084
|
+
desiredItem: Option<u32>;
|
|
1085
|
+
price: Option<PalletNftsPriceWithDirection>;
|
|
1086
|
+
deadline: u32;
|
|
1087
|
+
}>;
|
|
1088
|
+
/**
|
|
1089
|
+
* The swap has been claimed.
|
|
1090
|
+
**/
|
|
1091
|
+
SwapClaimed: AugmentedEvent<ApiType, [
|
|
1092
|
+
sentCollection: u32,
|
|
1093
|
+
sentItem: u32,
|
|
1094
|
+
sentItemOwner: AccountId32,
|
|
1095
|
+
receivedCollection: u32,
|
|
1096
|
+
receivedItem: u32,
|
|
1097
|
+
receivedItemOwner: AccountId32,
|
|
1098
|
+
price: Option<PalletNftsPriceWithDirection>,
|
|
1099
|
+
deadline: u32
|
|
1100
|
+
], {
|
|
1101
|
+
sentCollection: u32;
|
|
1102
|
+
sentItem: u32;
|
|
1103
|
+
sentItemOwner: AccountId32;
|
|
1104
|
+
receivedCollection: u32;
|
|
1105
|
+
receivedItem: u32;
|
|
1106
|
+
receivedItemOwner: AccountId32;
|
|
1107
|
+
price: Option<PalletNftsPriceWithDirection>;
|
|
1108
|
+
deadline: u32;
|
|
1109
|
+
}>;
|
|
1110
|
+
/**
|
|
1111
|
+
* An `item` swap intent was created.
|
|
1112
|
+
**/
|
|
1113
|
+
SwapCreated: AugmentedEvent<ApiType, [
|
|
1114
|
+
offeredCollection: u32,
|
|
1115
|
+
offeredItem: u32,
|
|
1116
|
+
desiredCollection: u32,
|
|
1117
|
+
desiredItem: Option<u32>,
|
|
1118
|
+
price: Option<PalletNftsPriceWithDirection>,
|
|
1119
|
+
deadline: u32
|
|
1120
|
+
], {
|
|
1121
|
+
offeredCollection: u32;
|
|
1122
|
+
offeredItem: u32;
|
|
1123
|
+
desiredCollection: u32;
|
|
1124
|
+
desiredItem: Option<u32>;
|
|
1125
|
+
price: Option<PalletNftsPriceWithDirection>;
|
|
1126
|
+
deadline: u32;
|
|
1127
|
+
}>;
|
|
1128
|
+
/**
|
|
1129
|
+
* The management team changed.
|
|
1130
|
+
**/
|
|
1131
|
+
TeamChanged: AugmentedEvent<ApiType, [
|
|
1132
|
+
collection: u32,
|
|
1133
|
+
issuer: Option<AccountId32>,
|
|
1134
|
+
admin: Option<AccountId32>,
|
|
1135
|
+
freezer: Option<AccountId32>
|
|
1136
|
+
], {
|
|
1137
|
+
collection: u32;
|
|
1138
|
+
issuer: Option<AccountId32>;
|
|
1139
|
+
admin: Option<AccountId32>;
|
|
1140
|
+
freezer: Option<AccountId32>;
|
|
1141
|
+
}>;
|
|
1142
|
+
/**
|
|
1143
|
+
* A tip was sent.
|
|
1144
|
+
**/
|
|
1145
|
+
TipSent: AugmentedEvent<ApiType, [
|
|
1146
|
+
collection: u32,
|
|
1147
|
+
item: u32,
|
|
1148
|
+
sender: AccountId32,
|
|
1149
|
+
receiver: AccountId32,
|
|
1150
|
+
amount: u128
|
|
1151
|
+
], {
|
|
1152
|
+
collection: u32;
|
|
1153
|
+
item: u32;
|
|
1154
|
+
sender: AccountId32;
|
|
1155
|
+
receiver: AccountId32;
|
|
1156
|
+
amount: u128;
|
|
1157
|
+
}>;
|
|
1158
|
+
/**
|
|
1159
|
+
* An `item` of a `collection` has been approved by the `owner` for transfer by
|
|
1160
|
+
* a `delegate`.
|
|
1161
|
+
**/
|
|
1162
|
+
TransferApproved: AugmentedEvent<ApiType, [
|
|
1163
|
+
collection: u32,
|
|
1164
|
+
item: u32,
|
|
1165
|
+
owner: AccountId32,
|
|
1166
|
+
delegate: AccountId32,
|
|
1167
|
+
deadline: Option<u32>
|
|
1168
|
+
], {
|
|
1169
|
+
collection: u32;
|
|
1170
|
+
item: u32;
|
|
1171
|
+
owner: AccountId32;
|
|
1172
|
+
delegate: AccountId32;
|
|
1173
|
+
deadline: Option<u32>;
|
|
1174
|
+
}>;
|
|
1175
|
+
/**
|
|
1176
|
+
* An `item` was transferred.
|
|
1177
|
+
**/
|
|
1178
|
+
Transferred: AugmentedEvent<ApiType, [
|
|
1179
|
+
collection: u32,
|
|
1180
|
+
item: u32,
|
|
1181
|
+
from: AccountId32,
|
|
1182
|
+
to: AccountId32
|
|
1183
|
+
], {
|
|
1184
|
+
collection: u32;
|
|
1185
|
+
item: u32;
|
|
1186
|
+
from: AccountId32;
|
|
1187
|
+
to: AccountId32;
|
|
1188
|
+
}>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Generic event
|
|
1191
|
+
**/
|
|
1192
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1193
|
+
};
|
|
1194
|
+
parachainSystem: {
|
|
1195
|
+
/**
|
|
1196
|
+
* Downward messages were processed using the given weight.
|
|
1197
|
+
**/
|
|
1198
|
+
DownwardMessagesProcessed: AugmentedEvent<ApiType, [
|
|
1199
|
+
weightUsed: SpWeightsWeightV2Weight,
|
|
1200
|
+
dmqHead: H256
|
|
1201
|
+
], {
|
|
1202
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
1203
|
+
dmqHead: H256;
|
|
1204
|
+
}>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Some downward messages have been received and will be processed.
|
|
1207
|
+
**/
|
|
1208
|
+
DownwardMessagesReceived: AugmentedEvent<ApiType, [count: u32], {
|
|
1209
|
+
count: u32;
|
|
1210
|
+
}>;
|
|
1211
|
+
/**
|
|
1212
|
+
* An upward message was sent to the relay chain.
|
|
1213
|
+
**/
|
|
1214
|
+
UpwardMessageSent: AugmentedEvent<ApiType, [
|
|
1215
|
+
messageHash: Option<U8aFixed>
|
|
1216
|
+
], {
|
|
1217
|
+
messageHash: Option<U8aFixed>;
|
|
1218
|
+
}>;
|
|
1219
|
+
/**
|
|
1220
|
+
* The validation function was applied as of the contained relay chain block number.
|
|
1221
|
+
**/
|
|
1222
|
+
ValidationFunctionApplied: AugmentedEvent<ApiType, [
|
|
1223
|
+
relayChainBlockNum: u32
|
|
1224
|
+
], {
|
|
1225
|
+
relayChainBlockNum: u32;
|
|
1226
|
+
}>;
|
|
1227
|
+
/**
|
|
1228
|
+
* The relay-chain aborted the upgrade process.
|
|
1229
|
+
**/
|
|
1230
|
+
ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;
|
|
1231
|
+
/**
|
|
1232
|
+
* The validation function has been scheduled to apply.
|
|
1233
|
+
**/
|
|
1234
|
+
ValidationFunctionStored: AugmentedEvent<ApiType, []>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Generic event
|
|
1237
|
+
**/
|
|
1238
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1239
|
+
};
|
|
1240
|
+
parameters: {
|
|
1241
|
+
/**
|
|
1242
|
+
* A Parameter was set.
|
|
1243
|
+
*
|
|
1244
|
+
* Is also emitted when the value was not changed.
|
|
1245
|
+
**/
|
|
1246
|
+
Updated: AugmentedEvent<ApiType, [
|
|
1247
|
+
key: StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey,
|
|
1248
|
+
oldValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>,
|
|
1249
|
+
newValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>
|
|
1250
|
+
], {
|
|
1251
|
+
key: StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey;
|
|
1252
|
+
oldValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
|
|
1253
|
+
newValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
|
|
1254
|
+
}>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Generic event
|
|
1257
|
+
**/
|
|
1258
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1259
|
+
};
|
|
1260
|
+
paymentStreams: {
|
|
1261
|
+
/**
|
|
1262
|
+
* Event emitted when a dynamic-rate payment stream is created. Provides information about the User and Provider of the stream
|
|
1263
|
+
* and the initial amount provided.
|
|
1264
|
+
**/
|
|
1265
|
+
DynamicRatePaymentStreamCreated: AugmentedEvent<ApiType, [
|
|
1266
|
+
userAccount: AccountId32,
|
|
1267
|
+
providerId: H256,
|
|
1268
|
+
amountProvided: u64
|
|
1269
|
+
], {
|
|
1270
|
+
userAccount: AccountId32;
|
|
1271
|
+
providerId: H256;
|
|
1272
|
+
amountProvided: u64;
|
|
1273
|
+
}>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Event emitted when a dynamic-rate payment stream is removed. Provides information about the User and Provider of the stream.
|
|
1276
|
+
**/
|
|
1277
|
+
DynamicRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
|
|
1278
|
+
userAccount: AccountId32,
|
|
1279
|
+
providerId: H256
|
|
1280
|
+
], {
|
|
1281
|
+
userAccount: AccountId32;
|
|
1282
|
+
providerId: H256;
|
|
1283
|
+
}>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Event emitted when a dynamic-rate payment stream is updated. Provides information about the User and Provider of the stream
|
|
1286
|
+
* and the new amount provided.
|
|
1287
|
+
**/
|
|
1288
|
+
DynamicRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
|
|
1289
|
+
userAccount: AccountId32,
|
|
1290
|
+
providerId: H256,
|
|
1291
|
+
newAmountProvided: u64
|
|
1292
|
+
], {
|
|
1293
|
+
userAccount: AccountId32;
|
|
1294
|
+
providerId: H256;
|
|
1295
|
+
newAmountProvided: u64;
|
|
1296
|
+
}>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Event emitted when a fixed-rate payment stream is created. Provides information about the Provider and User of the stream
|
|
1299
|
+
* and its initial rate.
|
|
1300
|
+
**/
|
|
1301
|
+
FixedRatePaymentStreamCreated: AugmentedEvent<ApiType, [
|
|
1302
|
+
userAccount: AccountId32,
|
|
1303
|
+
providerId: H256,
|
|
1304
|
+
rate: u128
|
|
1305
|
+
], {
|
|
1306
|
+
userAccount: AccountId32;
|
|
1307
|
+
providerId: H256;
|
|
1308
|
+
rate: u128;
|
|
1309
|
+
}>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Event emitted when a fixed-rate payment stream is removed. Provides information about the User and Provider of the stream.
|
|
1312
|
+
**/
|
|
1313
|
+
FixedRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
|
|
1314
|
+
userAccount: AccountId32,
|
|
1315
|
+
providerId: H256
|
|
1316
|
+
], {
|
|
1317
|
+
userAccount: AccountId32;
|
|
1318
|
+
providerId: H256;
|
|
1319
|
+
}>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Event emitted when a fixed-rate payment stream is updated. Provides information about the User and Provider of the stream
|
|
1322
|
+
* and the new rate of the stream.
|
|
1323
|
+
**/
|
|
1324
|
+
FixedRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
|
|
1325
|
+
userAccount: AccountId32,
|
|
1326
|
+
providerId: H256,
|
|
1327
|
+
newRate: u128
|
|
1328
|
+
], {
|
|
1329
|
+
userAccount: AccountId32;
|
|
1330
|
+
providerId: H256;
|
|
1331
|
+
newRate: u128;
|
|
1332
|
+
}>;
|
|
1333
|
+
/**
|
|
1334
|
+
* Event emitted when a Provider's last chargeable tick and price index are updated. Provides information about the Provider of the stream,
|
|
1335
|
+
* the tick number of the last chargeable tick and the price index at that tick.
|
|
1336
|
+
**/
|
|
1337
|
+
LastChargeableInfoUpdated: AugmentedEvent<ApiType, [
|
|
1338
|
+
providerId: H256,
|
|
1339
|
+
lastChargeableTick: u32,
|
|
1340
|
+
lastChargeablePriceIndex: u128
|
|
1341
|
+
], {
|
|
1342
|
+
providerId: H256;
|
|
1343
|
+
lastChargeableTick: u32;
|
|
1344
|
+
lastChargeablePriceIndex: u128;
|
|
1345
|
+
}>;
|
|
1346
|
+
/**
|
|
1347
|
+
* Event emitted when a payment is charged. Provides information about the user that was charged,
|
|
1348
|
+
* the Provider that received the funds, the tick up to which it was charged and the amount that was charged.
|
|
1349
|
+
**/
|
|
1350
|
+
PaymentStreamCharged: AugmentedEvent<ApiType, [
|
|
1351
|
+
userAccount: AccountId32,
|
|
1352
|
+
providerId: H256,
|
|
1353
|
+
amount: u128,
|
|
1354
|
+
lastTickCharged: u32,
|
|
1355
|
+
chargedAtTick: u32
|
|
1356
|
+
], {
|
|
1357
|
+
userAccount: AccountId32;
|
|
1358
|
+
providerId: H256;
|
|
1359
|
+
amount: u128;
|
|
1360
|
+
lastTickCharged: u32;
|
|
1361
|
+
chargedAtTick: u32;
|
|
1362
|
+
}>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Event emitted when a User that has been flagged as not having enough funds to pay for their contracted services has paid all its outstanding debt.
|
|
1365
|
+
**/
|
|
1366
|
+
UserPaidDebts: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
1367
|
+
who: AccountId32;
|
|
1368
|
+
}>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Event emitted when a User that has been flagged as not having enough funds to pay for their contracted services has waited the cooldown period,
|
|
1371
|
+
* correctly paid all their outstanding debt and can now contract new services again.
|
|
1372
|
+
**/
|
|
1373
|
+
UserSolvent: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
1374
|
+
who: AccountId32;
|
|
1375
|
+
}>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Event emitted when a Provider is correctly trying to charge a User and that User does not have enough funds to pay for their services.
|
|
1378
|
+
* This event is emitted to flag the user and let the network know that the user is not paying for the requested services, so other Providers can
|
|
1379
|
+
* stop providing services to that user.
|
|
1380
|
+
**/
|
|
1381
|
+
UserWithoutFunds: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
1382
|
+
who: AccountId32;
|
|
1383
|
+
}>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Generic event
|
|
1386
|
+
**/
|
|
1387
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1388
|
+
};
|
|
1389
|
+
polkadotXcm: {
|
|
1390
|
+
/**
|
|
1391
|
+
* Some assets have been claimed from an asset trap
|
|
1392
|
+
**/
|
|
1393
|
+
AssetsClaimed: AugmentedEvent<ApiType, [
|
|
1394
|
+
hash_: H256,
|
|
1395
|
+
origin: StagingXcmV4Location,
|
|
1396
|
+
assets: XcmVersionedAssets
|
|
1397
|
+
], {
|
|
1398
|
+
hash_: H256;
|
|
1399
|
+
origin: StagingXcmV4Location;
|
|
1400
|
+
assets: XcmVersionedAssets;
|
|
1401
|
+
}>;
|
|
1402
|
+
/**
|
|
1403
|
+
* Some assets have been placed in an asset trap.
|
|
1404
|
+
**/
|
|
1405
|
+
AssetsTrapped: AugmentedEvent<ApiType, [
|
|
1406
|
+
hash_: H256,
|
|
1407
|
+
origin: StagingXcmV4Location,
|
|
1408
|
+
assets: XcmVersionedAssets
|
|
1409
|
+
], {
|
|
1410
|
+
hash_: H256;
|
|
1411
|
+
origin: StagingXcmV4Location;
|
|
1412
|
+
assets: XcmVersionedAssets;
|
|
1413
|
+
}>;
|
|
1414
|
+
/**
|
|
1415
|
+
* Execution of an XCM message was attempted.
|
|
1416
|
+
**/
|
|
1417
|
+
Attempted: AugmentedEvent<ApiType, [
|
|
1418
|
+
outcome: StagingXcmV4TraitsOutcome
|
|
1419
|
+
], {
|
|
1420
|
+
outcome: StagingXcmV4TraitsOutcome;
|
|
1421
|
+
}>;
|
|
1422
|
+
/**
|
|
1423
|
+
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
1424
|
+
**/
|
|
1425
|
+
FeesPaid: AugmentedEvent<ApiType, [
|
|
1426
|
+
paying: StagingXcmV4Location,
|
|
1427
|
+
fees: StagingXcmV4AssetAssets
|
|
1428
|
+
], {
|
|
1429
|
+
paying: StagingXcmV4Location;
|
|
1430
|
+
fees: StagingXcmV4AssetAssets;
|
|
1431
|
+
}>;
|
|
1432
|
+
/**
|
|
1433
|
+
* Expected query response has been received but the querier location of the response does
|
|
1434
|
+
* not match the expected. The query remains registered for a later, valid, response to
|
|
1435
|
+
* be received and acted upon.
|
|
1436
|
+
**/
|
|
1437
|
+
InvalidQuerier: AugmentedEvent<ApiType, [
|
|
1438
|
+
origin: StagingXcmV4Location,
|
|
1439
|
+
queryId: u64,
|
|
1440
|
+
expectedQuerier: StagingXcmV4Location,
|
|
1441
|
+
maybeActualQuerier: Option<StagingXcmV4Location>
|
|
1442
|
+
], {
|
|
1443
|
+
origin: StagingXcmV4Location;
|
|
1444
|
+
queryId: u64;
|
|
1445
|
+
expectedQuerier: StagingXcmV4Location;
|
|
1446
|
+
maybeActualQuerier: Option<StagingXcmV4Location>;
|
|
1447
|
+
}>;
|
|
1448
|
+
/**
|
|
1449
|
+
* Expected query response has been received but the expected querier location placed in
|
|
1450
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
1451
|
+
*
|
|
1452
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
1453
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
1454
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
1455
|
+
* needed.
|
|
1456
|
+
**/
|
|
1457
|
+
InvalidQuerierVersion: AugmentedEvent<ApiType, [
|
|
1458
|
+
origin: StagingXcmV4Location,
|
|
1459
|
+
queryId: u64
|
|
1460
|
+
], {
|
|
1461
|
+
origin: StagingXcmV4Location;
|
|
1462
|
+
queryId: u64;
|
|
1463
|
+
}>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Expected query response has been received but the origin location of the response does
|
|
1466
|
+
* not match that expected. The query remains registered for a later, valid, response to
|
|
1467
|
+
* be received and acted upon.
|
|
1468
|
+
**/
|
|
1469
|
+
InvalidResponder: AugmentedEvent<ApiType, [
|
|
1470
|
+
origin: StagingXcmV4Location,
|
|
1471
|
+
queryId: u64,
|
|
1472
|
+
expectedLocation: Option<StagingXcmV4Location>
|
|
1473
|
+
], {
|
|
1474
|
+
origin: StagingXcmV4Location;
|
|
1475
|
+
queryId: u64;
|
|
1476
|
+
expectedLocation: Option<StagingXcmV4Location>;
|
|
1477
|
+
}>;
|
|
1478
|
+
/**
|
|
1479
|
+
* Expected query response has been received but the expected origin location placed in
|
|
1480
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
1481
|
+
*
|
|
1482
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
1483
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
1484
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
1485
|
+
* needed.
|
|
1486
|
+
**/
|
|
1487
|
+
InvalidResponderVersion: AugmentedEvent<ApiType, [
|
|
1488
|
+
origin: StagingXcmV4Location,
|
|
1489
|
+
queryId: u64
|
|
1490
|
+
], {
|
|
1491
|
+
origin: StagingXcmV4Location;
|
|
1492
|
+
queryId: u64;
|
|
1493
|
+
}>;
|
|
1494
|
+
/**
|
|
1495
|
+
* Query response has been received and query is removed. The registered notification has
|
|
1496
|
+
* been dispatched and executed successfully.
|
|
1497
|
+
**/
|
|
1498
|
+
Notified: AugmentedEvent<ApiType, [
|
|
1499
|
+
queryId: u64,
|
|
1500
|
+
palletIndex: u8,
|
|
1501
|
+
callIndex: u8
|
|
1502
|
+
], {
|
|
1503
|
+
queryId: u64;
|
|
1504
|
+
palletIndex: u8;
|
|
1505
|
+
callIndex: u8;
|
|
1506
|
+
}>;
|
|
1507
|
+
/**
|
|
1508
|
+
* Query response has been received and query is removed. The dispatch was unable to be
|
|
1509
|
+
* decoded into a `Call`; this might be due to dispatch function having a signature which
|
|
1510
|
+
* is not `(origin, QueryId, Response)`.
|
|
1511
|
+
**/
|
|
1512
|
+
NotifyDecodeFailed: AugmentedEvent<ApiType, [
|
|
1513
|
+
queryId: u64,
|
|
1514
|
+
palletIndex: u8,
|
|
1515
|
+
callIndex: u8
|
|
1516
|
+
], {
|
|
1517
|
+
queryId: u64;
|
|
1518
|
+
palletIndex: u8;
|
|
1519
|
+
callIndex: u8;
|
|
1520
|
+
}>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Query response has been received and query is removed. There was a general error with
|
|
1523
|
+
* dispatching the notification call.
|
|
1524
|
+
**/
|
|
1525
|
+
NotifyDispatchError: AugmentedEvent<ApiType, [
|
|
1526
|
+
queryId: u64,
|
|
1527
|
+
palletIndex: u8,
|
|
1528
|
+
callIndex: u8
|
|
1529
|
+
], {
|
|
1530
|
+
queryId: u64;
|
|
1531
|
+
palletIndex: u8;
|
|
1532
|
+
callIndex: u8;
|
|
1533
|
+
}>;
|
|
1534
|
+
/**
|
|
1535
|
+
* Query response has been received and query is removed. The registered notification
|
|
1536
|
+
* could not be dispatched because the dispatch weight is greater than the maximum weight
|
|
1537
|
+
* originally budgeted by this runtime for the query result.
|
|
1538
|
+
**/
|
|
1539
|
+
NotifyOverweight: AugmentedEvent<ApiType, [
|
|
1540
|
+
queryId: u64,
|
|
1541
|
+
palletIndex: u8,
|
|
1542
|
+
callIndex: u8,
|
|
1543
|
+
actualWeight: SpWeightsWeightV2Weight,
|
|
1544
|
+
maxBudgetedWeight: SpWeightsWeightV2Weight
|
|
1545
|
+
], {
|
|
1546
|
+
queryId: u64;
|
|
1547
|
+
palletIndex: u8;
|
|
1548
|
+
callIndex: u8;
|
|
1549
|
+
actualWeight: SpWeightsWeightV2Weight;
|
|
1550
|
+
maxBudgetedWeight: SpWeightsWeightV2Weight;
|
|
1551
|
+
}>;
|
|
1552
|
+
/**
|
|
1553
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
1554
|
+
* migrating the location to our new XCM format.
|
|
1555
|
+
**/
|
|
1556
|
+
NotifyTargetMigrationFail: AugmentedEvent<ApiType, [
|
|
1557
|
+
location: XcmVersionedLocation,
|
|
1558
|
+
queryId: u64
|
|
1559
|
+
], {
|
|
1560
|
+
location: XcmVersionedLocation;
|
|
1561
|
+
queryId: u64;
|
|
1562
|
+
}>;
|
|
1563
|
+
/**
|
|
1564
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
1565
|
+
* sending the notification to it.
|
|
1566
|
+
**/
|
|
1567
|
+
NotifyTargetSendFail: AugmentedEvent<ApiType, [
|
|
1568
|
+
location: StagingXcmV4Location,
|
|
1569
|
+
queryId: u64,
|
|
1570
|
+
error: XcmV3TraitsError
|
|
1571
|
+
], {
|
|
1572
|
+
location: StagingXcmV4Location;
|
|
1573
|
+
queryId: u64;
|
|
1574
|
+
error: XcmV3TraitsError;
|
|
1575
|
+
}>;
|
|
1576
|
+
/**
|
|
1577
|
+
* Query response has been received and is ready for taking with `take_response`. There is
|
|
1578
|
+
* no registered notification call.
|
|
1579
|
+
**/
|
|
1580
|
+
ResponseReady: AugmentedEvent<ApiType, [
|
|
1581
|
+
queryId: u64,
|
|
1582
|
+
response: StagingXcmV4Response
|
|
1583
|
+
], {
|
|
1584
|
+
queryId: u64;
|
|
1585
|
+
response: StagingXcmV4Response;
|
|
1586
|
+
}>;
|
|
1587
|
+
/**
|
|
1588
|
+
* Received query response has been read and removed.
|
|
1589
|
+
**/
|
|
1590
|
+
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], {
|
|
1591
|
+
queryId: u64;
|
|
1592
|
+
}>;
|
|
1593
|
+
/**
|
|
1594
|
+
* A XCM message was sent.
|
|
1595
|
+
**/
|
|
1596
|
+
Sent: AugmentedEvent<ApiType, [
|
|
1597
|
+
origin: StagingXcmV4Location,
|
|
1598
|
+
destination: StagingXcmV4Location,
|
|
1599
|
+
message: StagingXcmV4Xcm,
|
|
1600
|
+
messageId: U8aFixed
|
|
1601
|
+
], {
|
|
1602
|
+
origin: StagingXcmV4Location;
|
|
1603
|
+
destination: StagingXcmV4Location;
|
|
1604
|
+
message: StagingXcmV4Xcm;
|
|
1605
|
+
messageId: U8aFixed;
|
|
1606
|
+
}>;
|
|
1607
|
+
/**
|
|
1608
|
+
* The supported version of a location has been changed. This might be through an
|
|
1609
|
+
* automatic notification or a manual intervention.
|
|
1610
|
+
**/
|
|
1611
|
+
SupportedVersionChanged: AugmentedEvent<ApiType, [
|
|
1612
|
+
location: StagingXcmV4Location,
|
|
1613
|
+
version: u32
|
|
1614
|
+
], {
|
|
1615
|
+
location: StagingXcmV4Location;
|
|
1616
|
+
version: u32;
|
|
1617
|
+
}>;
|
|
1618
|
+
/**
|
|
1619
|
+
* Query response received which does not match a registered query. This may be because a
|
|
1620
|
+
* matching query was never registered, it may be because it is a duplicate response, or
|
|
1621
|
+
* because the query timed out.
|
|
1622
|
+
**/
|
|
1623
|
+
UnexpectedResponse: AugmentedEvent<ApiType, [
|
|
1624
|
+
origin: StagingXcmV4Location,
|
|
1625
|
+
queryId: u64
|
|
1626
|
+
], {
|
|
1627
|
+
origin: StagingXcmV4Location;
|
|
1628
|
+
queryId: u64;
|
|
1629
|
+
}>;
|
|
1630
|
+
/**
|
|
1631
|
+
* An XCM version change notification message has been attempted to be sent.
|
|
1632
|
+
*
|
|
1633
|
+
* The cost of sending it (borne by the chain) is included.
|
|
1634
|
+
**/
|
|
1635
|
+
VersionChangeNotified: AugmentedEvent<ApiType, [
|
|
1636
|
+
destination: StagingXcmV4Location,
|
|
1637
|
+
result: u32,
|
|
1638
|
+
cost: StagingXcmV4AssetAssets,
|
|
1639
|
+
messageId: U8aFixed
|
|
1640
|
+
], {
|
|
1641
|
+
destination: StagingXcmV4Location;
|
|
1642
|
+
result: u32;
|
|
1643
|
+
cost: StagingXcmV4AssetAssets;
|
|
1644
|
+
messageId: U8aFixed;
|
|
1645
|
+
}>;
|
|
1646
|
+
/**
|
|
1647
|
+
* A XCM version migration finished.
|
|
1648
|
+
**/
|
|
1649
|
+
VersionMigrationFinished: AugmentedEvent<ApiType, [version: u32], {
|
|
1650
|
+
version: u32;
|
|
1651
|
+
}>;
|
|
1652
|
+
/**
|
|
1653
|
+
* We have requested that a remote chain send us XCM version change notifications.
|
|
1654
|
+
**/
|
|
1655
|
+
VersionNotifyRequested: AugmentedEvent<ApiType, [
|
|
1656
|
+
destination: StagingXcmV4Location,
|
|
1657
|
+
cost: StagingXcmV4AssetAssets,
|
|
1658
|
+
messageId: U8aFixed
|
|
1659
|
+
], {
|
|
1660
|
+
destination: StagingXcmV4Location;
|
|
1661
|
+
cost: StagingXcmV4AssetAssets;
|
|
1662
|
+
messageId: U8aFixed;
|
|
1663
|
+
}>;
|
|
1664
|
+
/**
|
|
1665
|
+
* A remote has requested XCM version change notification from us and we have honored it.
|
|
1666
|
+
* A version information message is sent to them and its cost is included.
|
|
1667
|
+
**/
|
|
1668
|
+
VersionNotifyStarted: AugmentedEvent<ApiType, [
|
|
1669
|
+
destination: StagingXcmV4Location,
|
|
1670
|
+
cost: StagingXcmV4AssetAssets,
|
|
1671
|
+
messageId: U8aFixed
|
|
1672
|
+
], {
|
|
1673
|
+
destination: StagingXcmV4Location;
|
|
1674
|
+
cost: StagingXcmV4AssetAssets;
|
|
1675
|
+
messageId: U8aFixed;
|
|
1676
|
+
}>;
|
|
1677
|
+
/**
|
|
1678
|
+
* We have requested that a remote chain stops sending us XCM version change
|
|
1679
|
+
* notifications.
|
|
1680
|
+
**/
|
|
1681
|
+
VersionNotifyUnrequested: AugmentedEvent<ApiType, [
|
|
1682
|
+
destination: StagingXcmV4Location,
|
|
1683
|
+
cost: StagingXcmV4AssetAssets,
|
|
1684
|
+
messageId: U8aFixed
|
|
1685
|
+
], {
|
|
1686
|
+
destination: StagingXcmV4Location;
|
|
1687
|
+
cost: StagingXcmV4AssetAssets;
|
|
1688
|
+
messageId: U8aFixed;
|
|
1689
|
+
}>;
|
|
1690
|
+
/**
|
|
1691
|
+
* Generic event
|
|
1692
|
+
**/
|
|
1693
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1694
|
+
};
|
|
1695
|
+
proofsDealer: {
|
|
1696
|
+
/**
|
|
1697
|
+
* The [`ChallengesTicker`] has been paused or unpaused.
|
|
1698
|
+
**/
|
|
1699
|
+
ChallengesTickerSet: AugmentedEvent<ApiType, [paused: bool], {
|
|
1700
|
+
paused: bool;
|
|
1701
|
+
}>;
|
|
1702
|
+
/**
|
|
1703
|
+
* A set of mutations has been applied to the Forest.
|
|
1704
|
+
**/
|
|
1705
|
+
MutationsApplied: AugmentedEvent<ApiType, [
|
|
1706
|
+
provider: H256,
|
|
1707
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieRemoveMutation]>>,
|
|
1708
|
+
newRoot: H256
|
|
1709
|
+
], {
|
|
1710
|
+
provider: H256;
|
|
1711
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieRemoveMutation]>>;
|
|
1712
|
+
newRoot: H256;
|
|
1713
|
+
}>;
|
|
1714
|
+
/**
|
|
1715
|
+
* A manual challenge was submitted.
|
|
1716
|
+
**/
|
|
1717
|
+
NewChallenge: AugmentedEvent<ApiType, [
|
|
1718
|
+
who: AccountId32,
|
|
1719
|
+
keyChallenged: H256
|
|
1720
|
+
], {
|
|
1721
|
+
who: AccountId32;
|
|
1722
|
+
keyChallenged: H256;
|
|
1723
|
+
}>;
|
|
1724
|
+
/**
|
|
1725
|
+
* A provider's challenge cycle was initialised.
|
|
1726
|
+
**/
|
|
1727
|
+
NewChallengeCycleInitialised: AugmentedEvent<ApiType, [
|
|
1728
|
+
currentTick: u32,
|
|
1729
|
+
nextChallengeDeadline: u32,
|
|
1730
|
+
provider: H256,
|
|
1731
|
+
maybeProviderAccount: Option<AccountId32>
|
|
1732
|
+
], {
|
|
1733
|
+
currentTick: u32;
|
|
1734
|
+
nextChallengeDeadline: u32;
|
|
1735
|
+
provider: H256;
|
|
1736
|
+
maybeProviderAccount: Option<AccountId32>;
|
|
1737
|
+
}>;
|
|
1738
|
+
/**
|
|
1739
|
+
* A new challenge seed was generated.
|
|
1740
|
+
**/
|
|
1741
|
+
NewChallengeSeed: AugmentedEvent<ApiType, [
|
|
1742
|
+
challengesTicker: u32,
|
|
1743
|
+
seed: H256
|
|
1744
|
+
], {
|
|
1745
|
+
challengesTicker: u32;
|
|
1746
|
+
seed: H256;
|
|
1747
|
+
}>;
|
|
1748
|
+
/**
|
|
1749
|
+
* A new checkpoint challenge was generated.
|
|
1750
|
+
**/
|
|
1751
|
+
NewCheckpointChallenge: AugmentedEvent<ApiType, [
|
|
1752
|
+
challengesTicker: u32,
|
|
1753
|
+
challenges: Vec<ITuple<[H256, Option<ShpTraitsTrieRemoveMutation>]>>
|
|
1754
|
+
], {
|
|
1755
|
+
challengesTicker: u32;
|
|
1756
|
+
challenges: Vec<ITuple<[H256, Option<ShpTraitsTrieRemoveMutation>]>>;
|
|
1757
|
+
}>;
|
|
1758
|
+
/**
|
|
1759
|
+
* No record of the last tick the Provider submitted a proof for.
|
|
1760
|
+
**/
|
|
1761
|
+
NoRecordOfLastSubmittedProof: AugmentedEvent<ApiType, [provider: H256], {
|
|
1762
|
+
provider: H256;
|
|
1763
|
+
}>;
|
|
1764
|
+
/**
|
|
1765
|
+
* A proof was accepted.
|
|
1766
|
+
**/
|
|
1767
|
+
ProofAccepted: AugmentedEvent<ApiType, [
|
|
1768
|
+
provider: H256,
|
|
1769
|
+
proof: PalletProofsDealerProof
|
|
1770
|
+
], {
|
|
1771
|
+
provider: H256;
|
|
1772
|
+
proof: PalletProofsDealerProof;
|
|
1773
|
+
}>;
|
|
1774
|
+
/**
|
|
1775
|
+
* A provider was marked as slashable and their challenge deadline was forcefully pushed.
|
|
1776
|
+
**/
|
|
1777
|
+
SlashableProvider: AugmentedEvent<ApiType, [
|
|
1778
|
+
provider: H256,
|
|
1779
|
+
nextChallengeDeadline: u32
|
|
1780
|
+
], {
|
|
1781
|
+
provider: H256;
|
|
1782
|
+
nextChallengeDeadline: u32;
|
|
1783
|
+
}>;
|
|
1784
|
+
/**
|
|
1785
|
+
* Generic event
|
|
1786
|
+
**/
|
|
1787
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1788
|
+
};
|
|
1789
|
+
providers: {
|
|
1790
|
+
/**
|
|
1791
|
+
* Event emitted when a Backup Storage Provider has requested to sign up successfully. Provides information about
|
|
1792
|
+
* that BSP's account id, its multiaddresses, and the total data it can store according to its stake.
|
|
1793
|
+
**/
|
|
1794
|
+
BspRequestSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1795
|
+
who: AccountId32,
|
|
1796
|
+
multiaddresses: Vec<Bytes>,
|
|
1797
|
+
capacity: u64
|
|
1798
|
+
], {
|
|
1799
|
+
who: AccountId32;
|
|
1800
|
+
multiaddresses: Vec<Bytes>;
|
|
1801
|
+
capacity: u64;
|
|
1802
|
+
}>;
|
|
1803
|
+
/**
|
|
1804
|
+
* Event emitted when a Backup Storage Provider has signed off successfully. Provides information about
|
|
1805
|
+
* that BSP's account id.
|
|
1806
|
+
**/
|
|
1807
|
+
BspSignOffSuccess: AugmentedEvent<ApiType, [
|
|
1808
|
+
who: AccountId32,
|
|
1809
|
+
bspId: H256
|
|
1810
|
+
], {
|
|
1811
|
+
who: AccountId32;
|
|
1812
|
+
bspId: H256;
|
|
1813
|
+
}>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Event emitted when a Backup Storage Provider has confirmed its sign up successfully. Provides information about
|
|
1816
|
+
* that BSP's account id, the total data it can store according to its stake, and its multiaddress.
|
|
1817
|
+
**/
|
|
1818
|
+
BspSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1819
|
+
who: AccountId32,
|
|
1820
|
+
bspId: H256,
|
|
1821
|
+
multiaddresses: Vec<Bytes>,
|
|
1822
|
+
capacity: u64
|
|
1823
|
+
], {
|
|
1824
|
+
who: AccountId32;
|
|
1825
|
+
bspId: H256;
|
|
1826
|
+
multiaddresses: Vec<Bytes>;
|
|
1827
|
+
capacity: u64;
|
|
1828
|
+
}>;
|
|
1829
|
+
/**
|
|
1830
|
+
* Event emitted when a SP has changed its capacity successfully. Provides information about
|
|
1831
|
+
* that SP's account id, its old total data that could store, and the new total data.
|
|
1832
|
+
**/
|
|
1833
|
+
CapacityChanged: AugmentedEvent<ApiType, [
|
|
1834
|
+
who: AccountId32,
|
|
1835
|
+
providerId: PalletStorageProvidersStorageProviderId,
|
|
1836
|
+
oldCapacity: u64,
|
|
1837
|
+
newCapacity: u64,
|
|
1838
|
+
nextBlockWhenChangeAllowed: u32
|
|
1839
|
+
], {
|
|
1840
|
+
who: AccountId32;
|
|
1841
|
+
providerId: PalletStorageProvidersStorageProviderId;
|
|
1842
|
+
oldCapacity: u64;
|
|
1843
|
+
newCapacity: u64;
|
|
1844
|
+
nextBlockWhenChangeAllowed: u32;
|
|
1845
|
+
}>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Event emitted when a Main Storage Provider has requested to sign up successfully. Provides information about
|
|
1848
|
+
* that MSP's account id, its multiaddresses, the total data it can store according to its stake, and its value proposition.
|
|
1849
|
+
**/
|
|
1850
|
+
MspRequestSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1851
|
+
who: AccountId32,
|
|
1852
|
+
multiaddresses: Vec<Bytes>,
|
|
1853
|
+
capacity: u64,
|
|
1854
|
+
valueProp: PalletStorageProvidersValueProposition
|
|
1855
|
+
], {
|
|
1856
|
+
who: AccountId32;
|
|
1857
|
+
multiaddresses: Vec<Bytes>;
|
|
1858
|
+
capacity: u64;
|
|
1859
|
+
valueProp: PalletStorageProvidersValueProposition;
|
|
1860
|
+
}>;
|
|
1861
|
+
/**
|
|
1862
|
+
* Event emitted when a Main Storage Provider has signed off successfully. Provides information about
|
|
1863
|
+
* that MSP's account id.
|
|
1864
|
+
**/
|
|
1865
|
+
MspSignOffSuccess: AugmentedEvent<ApiType, [
|
|
1866
|
+
who: AccountId32,
|
|
1867
|
+
mspId: H256
|
|
1868
|
+
], {
|
|
1869
|
+
who: AccountId32;
|
|
1870
|
+
mspId: H256;
|
|
1871
|
+
}>;
|
|
1872
|
+
/**
|
|
1873
|
+
* Event emitted when a Main Storage Provider has confirmed its sign up successfully. Provides information about
|
|
1874
|
+
* that MSP's account id, the total data it can store according to its stake, its multiaddress, and its value proposition.
|
|
1875
|
+
**/
|
|
1876
|
+
MspSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1877
|
+
who: AccountId32,
|
|
1878
|
+
mspId: H256,
|
|
1879
|
+
multiaddresses: Vec<Bytes>,
|
|
1880
|
+
capacity: u64,
|
|
1881
|
+
valueProp: PalletStorageProvidersValueProposition
|
|
1882
|
+
], {
|
|
1883
|
+
who: AccountId32;
|
|
1884
|
+
mspId: H256;
|
|
1885
|
+
multiaddresses: Vec<Bytes>;
|
|
1886
|
+
capacity: u64;
|
|
1887
|
+
valueProp: PalletStorageProvidersValueProposition;
|
|
1888
|
+
}>;
|
|
1889
|
+
/**
|
|
1890
|
+
* Event emitted when a sign up request has been canceled successfully. Provides information about
|
|
1891
|
+
* the account id of the user that canceled the request.
|
|
1892
|
+
**/
|
|
1893
|
+
SignUpRequestCanceled: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
1894
|
+
who: AccountId32;
|
|
1895
|
+
}>;
|
|
1896
|
+
/**
|
|
1897
|
+
* Event emitted when an SP has been slashed.
|
|
1898
|
+
**/
|
|
1899
|
+
Slashed: AugmentedEvent<ApiType, [
|
|
1900
|
+
providerId: H256,
|
|
1901
|
+
amountSlashed: u128
|
|
1902
|
+
], {
|
|
1903
|
+
providerId: H256;
|
|
1904
|
+
amountSlashed: u128;
|
|
1905
|
+
}>;
|
|
1906
|
+
/**
|
|
1907
|
+
* Generic event
|
|
1908
|
+
**/
|
|
1909
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1910
|
+
};
|
|
1911
|
+
randomness: {
|
|
1912
|
+
/**
|
|
1913
|
+
* Event emitted when a new random seed is available from the relay chain
|
|
1914
|
+
**/
|
|
1915
|
+
NewOneEpochAgoRandomnessAvailable: AugmentedEvent<ApiType, [
|
|
1916
|
+
randomnessSeed: H256,
|
|
1917
|
+
fromEpoch: u64,
|
|
1918
|
+
validUntilBlock: u32
|
|
1919
|
+
], {
|
|
1920
|
+
randomnessSeed: H256;
|
|
1921
|
+
fromEpoch: u64;
|
|
1922
|
+
validUntilBlock: u32;
|
|
1923
|
+
}>;
|
|
1924
|
+
/**
|
|
1925
|
+
* Generic event
|
|
1926
|
+
**/
|
|
1927
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1928
|
+
};
|
|
1929
|
+
session: {
|
|
1930
|
+
/**
|
|
1931
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
1932
|
+
* block number as the type might suggest.
|
|
1933
|
+
**/
|
|
1934
|
+
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
|
|
1935
|
+
sessionIndex: u32;
|
|
1936
|
+
}>;
|
|
1937
|
+
/**
|
|
1938
|
+
* Generic event
|
|
1939
|
+
**/
|
|
1940
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1941
|
+
};
|
|
1942
|
+
sudo: {
|
|
1943
|
+
/**
|
|
1944
|
+
* The sudo key has been updated.
|
|
1945
|
+
**/
|
|
1946
|
+
KeyChanged: AugmentedEvent<ApiType, [
|
|
1947
|
+
old: Option<AccountId32>,
|
|
1948
|
+
new_: AccountId32
|
|
1949
|
+
], {
|
|
1950
|
+
old: Option<AccountId32>;
|
|
1951
|
+
new_: AccountId32;
|
|
1952
|
+
}>;
|
|
1953
|
+
/**
|
|
1954
|
+
* The key was permanently removed.
|
|
1955
|
+
**/
|
|
1956
|
+
KeyRemoved: AugmentedEvent<ApiType, []>;
|
|
1957
|
+
/**
|
|
1958
|
+
* A sudo call just took place.
|
|
1959
|
+
**/
|
|
1960
|
+
Sudid: AugmentedEvent<ApiType, [
|
|
1961
|
+
sudoResult: Result<Null, SpRuntimeDispatchError>
|
|
1962
|
+
], {
|
|
1963
|
+
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
1964
|
+
}>;
|
|
1965
|
+
/**
|
|
1966
|
+
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
1967
|
+
**/
|
|
1968
|
+
SudoAsDone: AugmentedEvent<ApiType, [
|
|
1969
|
+
sudoResult: Result<Null, SpRuntimeDispatchError>
|
|
1970
|
+
], {
|
|
1971
|
+
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
1972
|
+
}>;
|
|
1973
|
+
/**
|
|
1974
|
+
* Generic event
|
|
1975
|
+
**/
|
|
1976
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1977
|
+
};
|
|
1978
|
+
system: {
|
|
1979
|
+
/**
|
|
1980
|
+
* `:code` was updated.
|
|
1981
|
+
**/
|
|
1982
|
+
CodeUpdated: AugmentedEvent<ApiType, []>;
|
|
1983
|
+
/**
|
|
1984
|
+
* An extrinsic failed.
|
|
1985
|
+
**/
|
|
1986
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [
|
|
1987
|
+
dispatchError: SpRuntimeDispatchError,
|
|
1988
|
+
dispatchInfo: FrameSupportDispatchDispatchInfo
|
|
1989
|
+
], {
|
|
1990
|
+
dispatchError: SpRuntimeDispatchError;
|
|
1991
|
+
dispatchInfo: FrameSupportDispatchDispatchInfo;
|
|
1992
|
+
}>;
|
|
1993
|
+
/**
|
|
1994
|
+
* An extrinsic completed successfully.
|
|
1995
|
+
**/
|
|
1996
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [
|
|
1997
|
+
dispatchInfo: FrameSupportDispatchDispatchInfo
|
|
1998
|
+
], {
|
|
1999
|
+
dispatchInfo: FrameSupportDispatchDispatchInfo;
|
|
2000
|
+
}>;
|
|
2001
|
+
/**
|
|
2002
|
+
* An account was reaped.
|
|
2003
|
+
**/
|
|
2004
|
+
KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], {
|
|
2005
|
+
account: AccountId32;
|
|
2006
|
+
}>;
|
|
2007
|
+
/**
|
|
2008
|
+
* A new account was created.
|
|
2009
|
+
**/
|
|
2010
|
+
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
|
|
2011
|
+
account: AccountId32;
|
|
2012
|
+
}>;
|
|
2013
|
+
/**
|
|
2014
|
+
* On on-chain remark happened.
|
|
2015
|
+
**/
|
|
2016
|
+
Remarked: AugmentedEvent<ApiType, [
|
|
2017
|
+
sender: AccountId32,
|
|
2018
|
+
hash_: H256
|
|
2019
|
+
], {
|
|
2020
|
+
sender: AccountId32;
|
|
2021
|
+
hash_: H256;
|
|
2022
|
+
}>;
|
|
2023
|
+
/**
|
|
2024
|
+
* An upgrade was authorized.
|
|
2025
|
+
**/
|
|
2026
|
+
UpgradeAuthorized: AugmentedEvent<ApiType, [
|
|
2027
|
+
codeHash: H256,
|
|
2028
|
+
checkVersion: bool
|
|
2029
|
+
], {
|
|
2030
|
+
codeHash: H256;
|
|
2031
|
+
checkVersion: bool;
|
|
2032
|
+
}>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Generic event
|
|
2035
|
+
**/
|
|
2036
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2037
|
+
};
|
|
2038
|
+
transactionPayment: {
|
|
2039
|
+
/**
|
|
2040
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
2041
|
+
* has been paid by `who`.
|
|
2042
|
+
**/
|
|
2043
|
+
TransactionFeePaid: AugmentedEvent<ApiType, [
|
|
2044
|
+
who: AccountId32,
|
|
2045
|
+
actualFee: u128,
|
|
2046
|
+
tip: u128
|
|
2047
|
+
], {
|
|
2048
|
+
who: AccountId32;
|
|
2049
|
+
actualFee: u128;
|
|
2050
|
+
tip: u128;
|
|
2051
|
+
}>;
|
|
2052
|
+
/**
|
|
2053
|
+
* Generic event
|
|
2054
|
+
**/
|
|
2055
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2056
|
+
};
|
|
2057
|
+
xcmpQueue: {
|
|
2058
|
+
/**
|
|
2059
|
+
* An HRMP message was sent to a sibling parachain.
|
|
2060
|
+
**/
|
|
2061
|
+
XcmpMessageSent: AugmentedEvent<ApiType, [messageHash: U8aFixed], {
|
|
2062
|
+
messageHash: U8aFixed;
|
|
2063
|
+
}>;
|
|
2064
|
+
/**
|
|
2065
|
+
* Generic event
|
|
2066
|
+
**/
|
|
2067
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2068
|
+
};
|
|
2069
|
+
}
|
|
2070
|
+
}
|