@storagehub/api-augment 0.2.14 → 0.4.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/dist/parachain/interfaces/augment-api-consts.js +1 -1
- package/dist/parachain/interfaces/augment-api-errors.js +1 -1
- package/dist/parachain/interfaces/augment-api-events.js +1 -1
- package/dist/parachain/interfaces/augment-api-query.js +1 -1
- package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
- package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
- package/dist/parachain/interfaces/augment-api-tx.js +1 -1
- package/dist/parachain/interfaces/augment-api.js +7 -7
- package/dist/parachain/interfaces/augment-types.js +1 -1
- package/dist/parachain/interfaces/index.js +1 -1
- package/dist/parachain/interfaces/lookup.js +2785 -2373
- package/dist/parachain/interfaces/lookup.js.map +1 -1
- package/dist/parachain/interfaces/registry.js +1 -1
- package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
- package/dist/parachain/interfaces/storagehubclient/runtime.js +5 -0
- package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -1
- package/dist/parachain/interfaces/types-lookup.js +1 -1
- package/dist/parachain/interfaces/types.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api.js +7 -7
- package/dist/solochain-evm/interfaces/augment-types.js +1 -1
- package/dist/solochain-evm/interfaces/index.js +1 -1
- package/dist/solochain-evm/interfaces/lookup.js +2029 -1659
- package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
- package/dist/solochain-evm/interfaces/registry.js +1 -1
- package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
- package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
- package/dist/solochain-evm/interfaces/types.js +1 -1
- package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-api-errors.d.ts +7 -3
- package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
- package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
- package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
- package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
- package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
- package/dist/types/parachain/interfaces/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
- package/dist/types/parachain/interfaces/registry.d.ts +3 -3
- package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
- package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
- package/dist/types/parachain/interfaces/types.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +7 -3
- package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
- package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
- package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
- package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
- package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
- package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
- package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
- package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
- package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
- package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
- package/metadata-sh-parachain.json +1 -1
- package/metadata-sh-solochain-evm.json +1 -1
- package/package.json +2 -2
- package/src/parachain/interfaces/augment-api-errors.ts +4 -0
- package/src/parachain/interfaces/augment-api-events.ts +8 -0
- package/src/parachain/interfaces/augment-api-query.ts +12 -0
- package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
- package/src/parachain/interfaces/augment-api-tx.ts +13 -0
- package/src/parachain/interfaces/lookup.ts +233 -222
- package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
- package/src/parachain/interfaces/types-lookup.ts +237 -224
- package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
- package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
- package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
- package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
- package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
- package/src/solochain-evm/interfaces/lookup.ts +189 -178
- package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
- package/storagehub-api-augment-0.2.14.tgz +0 -0
|
@@ -1,31 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { ApiTypes, AugmentedEvent } from
|
|
3
|
-
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64 } from
|
|
4
|
-
import type { ITuple } from
|
|
5
|
-
import type { AccountId20, H160, H256 } from
|
|
6
|
-
import type { EthereumLog, EvmCoreErrorExitReason, FpAccountEthereumSignature, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletFileSystemFileOperationIntention, PalletFileSystemRejectedStorageRequestReason, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProofsDealerCustomChallenge, PalletProofsDealerProof, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShpFileMetadataFileMetadata, ShpTraitsTrieMutation, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from
|
|
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 } from "@polkadot/types-codec";
|
|
4
|
+
import type { ITuple } from "@polkadot/types-codec/types";
|
|
5
|
+
import type { AccountId20, H160, H256 } from "@polkadot/types/interfaces/runtime";
|
|
6
|
+
import type { EthereumLog, EvmCoreErrorExitReason, FpAccountEthereumSignature, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletFileSystemFileOperationIntention, PalletFileSystemRejectedStorageRequestReason, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProofsDealerCustomChallenge, PalletProofsDealerProof, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShpFileMetadataFileMetadata, ShpTraitsTrieMutation, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from "@polkadot/types/lookup";
|
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
|
-
declare module
|
|
8
|
+
declare module "@polkadot/api-base/types/events" {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
10
10
|
balances: {
|
|
11
11
|
/**
|
|
12
12
|
* A balance was set by root.
|
|
13
13
|
**/
|
|
14
|
-
BalanceSet: AugmentedEvent<ApiType, [
|
|
14
|
+
BalanceSet: AugmentedEvent<ApiType, [
|
|
15
|
+
who: AccountId20,
|
|
16
|
+
free: u128
|
|
17
|
+
], {
|
|
15
18
|
who: AccountId20;
|
|
16
19
|
free: u128;
|
|
17
20
|
}>;
|
|
18
21
|
/**
|
|
19
22
|
* Some amount was burned from an account.
|
|
20
23
|
**/
|
|
21
|
-
Burned: AugmentedEvent<ApiType, [
|
|
24
|
+
Burned: AugmentedEvent<ApiType, [
|
|
25
|
+
who: AccountId20,
|
|
26
|
+
amount: u128
|
|
27
|
+
], {
|
|
22
28
|
who: AccountId20;
|
|
23
29
|
amount: u128;
|
|
24
30
|
}>;
|
|
25
31
|
/**
|
|
26
32
|
* Some amount was deposited (e.g. for transaction fees).
|
|
27
33
|
**/
|
|
28
|
-
Deposit: AugmentedEvent<ApiType, [
|
|
34
|
+
Deposit: AugmentedEvent<ApiType, [
|
|
35
|
+
who: AccountId20,
|
|
36
|
+
amount: u128
|
|
37
|
+
], {
|
|
29
38
|
who: AccountId20;
|
|
30
39
|
amount: u128;
|
|
31
40
|
}>;
|
|
@@ -33,21 +42,30 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
33
42
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
34
43
|
* resulting in an outright loss.
|
|
35
44
|
**/
|
|
36
|
-
DustLost: AugmentedEvent<ApiType, [
|
|
45
|
+
DustLost: AugmentedEvent<ApiType, [
|
|
46
|
+
account: AccountId20,
|
|
47
|
+
amount: u128
|
|
48
|
+
], {
|
|
37
49
|
account: AccountId20;
|
|
38
50
|
amount: u128;
|
|
39
51
|
}>;
|
|
40
52
|
/**
|
|
41
53
|
* An account was created with some free balance.
|
|
42
54
|
**/
|
|
43
|
-
Endowed: AugmentedEvent<ApiType, [
|
|
55
|
+
Endowed: AugmentedEvent<ApiType, [
|
|
56
|
+
account: AccountId20,
|
|
57
|
+
freeBalance: u128
|
|
58
|
+
], {
|
|
44
59
|
account: AccountId20;
|
|
45
60
|
freeBalance: u128;
|
|
46
61
|
}>;
|
|
47
62
|
/**
|
|
48
63
|
* Some balance was frozen.
|
|
49
64
|
**/
|
|
50
|
-
Frozen: AugmentedEvent<ApiType, [
|
|
65
|
+
Frozen: AugmentedEvent<ApiType, [
|
|
66
|
+
who: AccountId20,
|
|
67
|
+
amount: u128
|
|
68
|
+
], {
|
|
51
69
|
who: AccountId20;
|
|
52
70
|
amount: u128;
|
|
53
71
|
}>;
|
|
@@ -60,14 +78,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
60
78
|
/**
|
|
61
79
|
* Some balance was locked.
|
|
62
80
|
**/
|
|
63
|
-
Locked: AugmentedEvent<ApiType, [
|
|
81
|
+
Locked: AugmentedEvent<ApiType, [
|
|
82
|
+
who: AccountId20,
|
|
83
|
+
amount: u128
|
|
84
|
+
], {
|
|
64
85
|
who: AccountId20;
|
|
65
86
|
amount: u128;
|
|
66
87
|
}>;
|
|
67
88
|
/**
|
|
68
89
|
* Some amount was minted into an account.
|
|
69
90
|
**/
|
|
70
|
-
Minted: AugmentedEvent<ApiType, [
|
|
91
|
+
Minted: AugmentedEvent<ApiType, [
|
|
92
|
+
who: AccountId20,
|
|
93
|
+
amount: u128
|
|
94
|
+
], {
|
|
71
95
|
who: AccountId20;
|
|
72
96
|
amount: u128;
|
|
73
97
|
}>;
|
|
@@ -80,7 +104,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
80
104
|
/**
|
|
81
105
|
* Some balance was reserved (moved from free to reserved).
|
|
82
106
|
**/
|
|
83
|
-
Reserved: AugmentedEvent<ApiType, [
|
|
107
|
+
Reserved: AugmentedEvent<ApiType, [
|
|
108
|
+
who: AccountId20,
|
|
109
|
+
amount: u128
|
|
110
|
+
], {
|
|
84
111
|
who: AccountId20;
|
|
85
112
|
amount: u128;
|
|
86
113
|
}>;
|
|
@@ -88,7 +115,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
88
115
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
89
116
|
* Final argument indicates the destination balance type.
|
|
90
117
|
**/
|
|
91
|
-
ReserveRepatriated: AugmentedEvent<ApiType, [
|
|
118
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [
|
|
119
|
+
from: AccountId20,
|
|
120
|
+
to: AccountId20,
|
|
121
|
+
amount: u128,
|
|
122
|
+
destinationStatus: FrameSupportTokensMiscBalanceStatus
|
|
123
|
+
], {
|
|
92
124
|
from: AccountId20;
|
|
93
125
|
to: AccountId20;
|
|
94
126
|
amount: u128;
|
|
@@ -97,42 +129,61 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
97
129
|
/**
|
|
98
130
|
* Some amount was restored into an account.
|
|
99
131
|
**/
|
|
100
|
-
Restored: AugmentedEvent<ApiType, [
|
|
132
|
+
Restored: AugmentedEvent<ApiType, [
|
|
133
|
+
who: AccountId20,
|
|
134
|
+
amount: u128
|
|
135
|
+
], {
|
|
101
136
|
who: AccountId20;
|
|
102
137
|
amount: u128;
|
|
103
138
|
}>;
|
|
104
139
|
/**
|
|
105
140
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
106
141
|
**/
|
|
107
|
-
Slashed: AugmentedEvent<ApiType, [
|
|
142
|
+
Slashed: AugmentedEvent<ApiType, [
|
|
143
|
+
who: AccountId20,
|
|
144
|
+
amount: u128
|
|
145
|
+
], {
|
|
108
146
|
who: AccountId20;
|
|
109
147
|
amount: u128;
|
|
110
148
|
}>;
|
|
111
149
|
/**
|
|
112
150
|
* Some amount was suspended from an account (it can be restored later).
|
|
113
151
|
**/
|
|
114
|
-
Suspended: AugmentedEvent<ApiType, [
|
|
152
|
+
Suspended: AugmentedEvent<ApiType, [
|
|
153
|
+
who: AccountId20,
|
|
154
|
+
amount: u128
|
|
155
|
+
], {
|
|
115
156
|
who: AccountId20;
|
|
116
157
|
amount: u128;
|
|
117
158
|
}>;
|
|
118
159
|
/**
|
|
119
160
|
* Some balance was thawed.
|
|
120
161
|
**/
|
|
121
|
-
Thawed: AugmentedEvent<ApiType, [
|
|
162
|
+
Thawed: AugmentedEvent<ApiType, [
|
|
163
|
+
who: AccountId20,
|
|
164
|
+
amount: u128
|
|
165
|
+
], {
|
|
122
166
|
who: AccountId20;
|
|
123
167
|
amount: u128;
|
|
124
168
|
}>;
|
|
125
169
|
/**
|
|
126
170
|
* The `TotalIssuance` was forcefully changed.
|
|
127
171
|
**/
|
|
128
|
-
TotalIssuanceForced: AugmentedEvent<ApiType, [
|
|
172
|
+
TotalIssuanceForced: AugmentedEvent<ApiType, [
|
|
173
|
+
old: u128,
|
|
174
|
+
new_: u128
|
|
175
|
+
], {
|
|
129
176
|
old: u128;
|
|
130
177
|
new_: u128;
|
|
131
178
|
}>;
|
|
132
179
|
/**
|
|
133
180
|
* Transfer succeeded.
|
|
134
181
|
**/
|
|
135
|
-
Transfer: AugmentedEvent<ApiType, [
|
|
182
|
+
Transfer: AugmentedEvent<ApiType, [
|
|
183
|
+
from: AccountId20,
|
|
184
|
+
to: AccountId20,
|
|
185
|
+
amount: u128
|
|
186
|
+
], {
|
|
136
187
|
from: AccountId20;
|
|
137
188
|
to: AccountId20;
|
|
138
189
|
amount: u128;
|
|
@@ -140,14 +191,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
140
191
|
/**
|
|
141
192
|
* Some balance was unlocked.
|
|
142
193
|
**/
|
|
143
|
-
Unlocked: AugmentedEvent<ApiType, [
|
|
194
|
+
Unlocked: AugmentedEvent<ApiType, [
|
|
195
|
+
who: AccountId20,
|
|
196
|
+
amount: u128
|
|
197
|
+
], {
|
|
144
198
|
who: AccountId20;
|
|
145
199
|
amount: u128;
|
|
146
200
|
}>;
|
|
147
201
|
/**
|
|
148
202
|
* Some balance was unreserved (moved from reserved to free).
|
|
149
203
|
**/
|
|
150
|
-
Unreserved: AugmentedEvent<ApiType, [
|
|
204
|
+
Unreserved: AugmentedEvent<ApiType, [
|
|
205
|
+
who: AccountId20,
|
|
206
|
+
amount: u128
|
|
207
|
+
], {
|
|
151
208
|
who: AccountId20;
|
|
152
209
|
amount: u128;
|
|
153
210
|
}>;
|
|
@@ -160,7 +217,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
160
217
|
/**
|
|
161
218
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
162
219
|
**/
|
|
163
|
-
Withdraw: AugmentedEvent<ApiType, [
|
|
220
|
+
Withdraw: AugmentedEvent<ApiType, [
|
|
221
|
+
who: AccountId20,
|
|
222
|
+
amount: u128
|
|
223
|
+
], {
|
|
164
224
|
who: AccountId20;
|
|
165
225
|
amount: u128;
|
|
166
226
|
}>;
|
|
@@ -173,14 +233,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
173
233
|
/**
|
|
174
234
|
* Notifies that access to a bucket has been shared with another account.
|
|
175
235
|
**/
|
|
176
|
-
AccessShared: AugmentedEvent<ApiType, [
|
|
236
|
+
AccessShared: AugmentedEvent<ApiType, [
|
|
237
|
+
issuer: AccountId20,
|
|
238
|
+
recipient: AccountId20
|
|
239
|
+
], {
|
|
177
240
|
issuer: AccountId20;
|
|
178
241
|
recipient: AccountId20;
|
|
179
242
|
}>;
|
|
180
243
|
/**
|
|
181
244
|
* Notifies that an item has been burned.
|
|
182
245
|
**/
|
|
183
|
-
ItemBurned: AugmentedEvent<ApiType, [
|
|
246
|
+
ItemBurned: AugmentedEvent<ApiType, [
|
|
247
|
+
account: AccountId20,
|
|
248
|
+
bucket: H256,
|
|
249
|
+
itemId: u32
|
|
250
|
+
], {
|
|
184
251
|
account: AccountId20;
|
|
185
252
|
bucket: H256;
|
|
186
253
|
itemId: u32;
|
|
@@ -188,7 +255,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
188
255
|
/**
|
|
189
256
|
* Notifies that the read access for an item has been updated.
|
|
190
257
|
**/
|
|
191
|
-
ItemReadAccessUpdated: AugmentedEvent<ApiType, [
|
|
258
|
+
ItemReadAccessUpdated: AugmentedEvent<ApiType, [
|
|
259
|
+
admin: AccountId20,
|
|
260
|
+
bucket: H256,
|
|
261
|
+
itemId: u32
|
|
262
|
+
], {
|
|
192
263
|
admin: AccountId20;
|
|
193
264
|
bucket: H256;
|
|
194
265
|
itemId: u32;
|
|
@@ -202,7 +273,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
202
273
|
/**
|
|
203
274
|
* An ethereum transaction was successfully executed.
|
|
204
275
|
**/
|
|
205
|
-
Executed: AugmentedEvent<ApiType, [
|
|
276
|
+
Executed: AugmentedEvent<ApiType, [
|
|
277
|
+
from: H160,
|
|
278
|
+
to: H160,
|
|
279
|
+
transactionHash: H256,
|
|
280
|
+
exitReason: EvmCoreErrorExitReason,
|
|
281
|
+
extraData: Bytes
|
|
282
|
+
], {
|
|
206
283
|
from: H160;
|
|
207
284
|
to: H160;
|
|
208
285
|
transactionHash: H256;
|
|
@@ -254,7 +331,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
254
331
|
/**
|
|
255
332
|
* Notifies that a BSP has been accepted to store a given file.
|
|
256
333
|
**/
|
|
257
|
-
AcceptedBspVolunteer: AugmentedEvent<ApiType, [
|
|
334
|
+
AcceptedBspVolunteer: AugmentedEvent<ApiType, [
|
|
335
|
+
bspId: H256,
|
|
336
|
+
bucketId: H256,
|
|
337
|
+
location: Bytes,
|
|
338
|
+
fingerprint: H256,
|
|
339
|
+
multiaddresses: Vec<Bytes>,
|
|
340
|
+
owner: AccountId20,
|
|
341
|
+
size_: u64
|
|
342
|
+
], {
|
|
258
343
|
bspId: H256;
|
|
259
344
|
bucketId: H256;
|
|
260
345
|
location: Bytes;
|
|
@@ -267,14 +352,23 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
267
352
|
* Notifies that a BSP's challenge cycle has been initialised, adding the first file
|
|
268
353
|
* key(s) to the BSP's Merkle Patricia Forest.
|
|
269
354
|
**/
|
|
270
|
-
BspChallengeCycleInitialised: AugmentedEvent<ApiType, [
|
|
355
|
+
BspChallengeCycleInitialised: AugmentedEvent<ApiType, [
|
|
356
|
+
who: AccountId20,
|
|
357
|
+
bspId: H256
|
|
358
|
+
], {
|
|
271
359
|
who: AccountId20;
|
|
272
360
|
bspId: H256;
|
|
273
361
|
}>;
|
|
274
362
|
/**
|
|
275
363
|
* Notifies that a BSP confirmed storing a file(s).
|
|
276
364
|
**/
|
|
277
|
-
BspConfirmedStoring: AugmentedEvent<ApiType, [
|
|
365
|
+
BspConfirmedStoring: AugmentedEvent<ApiType, [
|
|
366
|
+
who: AccountId20,
|
|
367
|
+
bspId: H256,
|
|
368
|
+
confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>,
|
|
369
|
+
skippedFileKeys: Vec<H256>,
|
|
370
|
+
newRoot: H256
|
|
371
|
+
], {
|
|
278
372
|
who: AccountId20;
|
|
279
373
|
bspId: H256;
|
|
280
374
|
confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>;
|
|
@@ -284,7 +378,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
284
378
|
/**
|
|
285
379
|
* Notifies that a BSP has stopped storing a file.
|
|
286
380
|
**/
|
|
287
|
-
BspConfirmStoppedStoring: AugmentedEvent<ApiType, [
|
|
381
|
+
BspConfirmStoppedStoring: AugmentedEvent<ApiType, [
|
|
382
|
+
bspId: H256,
|
|
383
|
+
fileKey: H256,
|
|
384
|
+
newRoot: H256
|
|
385
|
+
], {
|
|
288
386
|
bspId: H256;
|
|
289
387
|
fileKey: H256;
|
|
290
388
|
newRoot: H256;
|
|
@@ -292,14 +390,25 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
292
390
|
/**
|
|
293
391
|
* Notifies that file deletions have been completed successfully for a BSP.
|
|
294
392
|
**/
|
|
295
|
-
BspFileDeletionsCompleted: AugmentedEvent<ApiType, [
|
|
393
|
+
BspFileDeletionsCompleted: AugmentedEvent<ApiType, [
|
|
394
|
+
users: Vec<AccountId20>,
|
|
395
|
+
fileKeys: Vec<H256>,
|
|
396
|
+
bspId: H256,
|
|
397
|
+
oldRoot: H256,
|
|
398
|
+
newRoot: H256
|
|
399
|
+
], {
|
|
296
400
|
users: Vec<AccountId20>;
|
|
297
401
|
fileKeys: Vec<H256>;
|
|
298
402
|
bspId: H256;
|
|
299
403
|
oldRoot: H256;
|
|
300
404
|
newRoot: H256;
|
|
301
405
|
}>;
|
|
302
|
-
BspRequestedToStopStoring: AugmentedEvent<ApiType, [
|
|
406
|
+
BspRequestedToStopStoring: AugmentedEvent<ApiType, [
|
|
407
|
+
bspId: H256,
|
|
408
|
+
fileKey: H256,
|
|
409
|
+
owner: AccountId20,
|
|
410
|
+
location: Bytes
|
|
411
|
+
], {
|
|
303
412
|
bspId: H256;
|
|
304
413
|
fileKey: H256;
|
|
305
414
|
owner: AccountId20;
|
|
@@ -308,7 +417,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
308
417
|
/**
|
|
309
418
|
* Notifies that an empty bucket has been deleted.
|
|
310
419
|
**/
|
|
311
|
-
BucketDeleted: AugmentedEvent<ApiType, [
|
|
420
|
+
BucketDeleted: AugmentedEvent<ApiType, [
|
|
421
|
+
who: AccountId20,
|
|
422
|
+
bucketId: H256,
|
|
423
|
+
maybeCollectionId: Option<u32>
|
|
424
|
+
], {
|
|
312
425
|
who: AccountId20;
|
|
313
426
|
bucketId: H256;
|
|
314
427
|
maybeCollectionId: Option<u32>;
|
|
@@ -316,7 +429,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
316
429
|
/**
|
|
317
430
|
* Notifies that file deletions have been completed successfully for a Bucket.
|
|
318
431
|
**/
|
|
319
|
-
BucketFileDeletionsCompleted: AugmentedEvent<ApiType, [
|
|
432
|
+
BucketFileDeletionsCompleted: AugmentedEvent<ApiType, [
|
|
433
|
+
user: AccountId20,
|
|
434
|
+
fileKeys: Vec<H256>,
|
|
435
|
+
bucketId: H256,
|
|
436
|
+
mspId: Option<H256>,
|
|
437
|
+
oldRoot: H256,
|
|
438
|
+
newRoot: H256
|
|
439
|
+
], {
|
|
320
440
|
user: AccountId20;
|
|
321
441
|
fileKeys: Vec<H256>;
|
|
322
442
|
bucketId: H256;
|
|
@@ -327,7 +447,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
327
447
|
/**
|
|
328
448
|
* Notifies that a bucket's privacy has been updated.
|
|
329
449
|
**/
|
|
330
|
-
BucketPrivacyUpdated: AugmentedEvent<ApiType, [
|
|
450
|
+
BucketPrivacyUpdated: AugmentedEvent<ApiType, [
|
|
451
|
+
who: AccountId20,
|
|
452
|
+
bucketId: H256,
|
|
453
|
+
collectionId: Option<u32>,
|
|
454
|
+
private: bool
|
|
455
|
+
], {
|
|
331
456
|
who: AccountId20;
|
|
332
457
|
bucketId: H256;
|
|
333
458
|
collectionId: Option<u32>;
|
|
@@ -337,7 +462,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
337
462
|
* Event to notify if, in the `on_idle` hook when cleaning up an expired storage request,
|
|
338
463
|
* the return of that storage request's deposit to the user failed.
|
|
339
464
|
**/
|
|
340
|
-
FailedToReleaseStorageRequestCreationDeposit: AugmentedEvent<ApiType, [
|
|
465
|
+
FailedToReleaseStorageRequestCreationDeposit: AugmentedEvent<ApiType, [
|
|
466
|
+
fileKey: H256,
|
|
467
|
+
owner: AccountId20,
|
|
468
|
+
amountToReturn: u128,
|
|
469
|
+
error: SpRuntimeDispatchError
|
|
470
|
+
], {
|
|
341
471
|
fileKey: H256;
|
|
342
472
|
owner: AccountId20;
|
|
343
473
|
amountToReturn: u128;
|
|
@@ -347,7 +477,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
347
477
|
* Notifies that a file deletion has been requested.
|
|
348
478
|
* Contains a signed intention that allows any actor to execute the actual deletion.
|
|
349
479
|
**/
|
|
350
|
-
FileDeletionRequested: AugmentedEvent<ApiType, [
|
|
480
|
+
FileDeletionRequested: AugmentedEvent<ApiType, [
|
|
481
|
+
signedDeleteIntention: PalletFileSystemFileOperationIntention,
|
|
482
|
+
signature: FpAccountEthereumSignature
|
|
483
|
+
], {
|
|
351
484
|
signedDeleteIntention: PalletFileSystemFileOperationIntention;
|
|
352
485
|
signature: FpAccountEthereumSignature;
|
|
353
486
|
}>;
|
|
@@ -369,13 +502,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
369
502
|
* 2. When the file has been removed from all providers and the incomplete storage
|
|
370
503
|
* request entry is removed from storage.
|
|
371
504
|
**/
|
|
372
|
-
IncompleteStorageRequestCleanedUp: AugmentedEvent<ApiType, [
|
|
505
|
+
IncompleteStorageRequestCleanedUp: AugmentedEvent<ApiType, [
|
|
506
|
+
fileKey: H256
|
|
507
|
+
], {
|
|
373
508
|
fileKey: H256;
|
|
374
509
|
}>;
|
|
375
510
|
/**
|
|
376
511
|
* Notifies that a bucket has been moved to a new MSP under a new value proposition.
|
|
377
512
|
**/
|
|
378
|
-
MoveBucketAccepted: AugmentedEvent<ApiType, [
|
|
513
|
+
MoveBucketAccepted: AugmentedEvent<ApiType, [
|
|
514
|
+
bucketId: H256,
|
|
515
|
+
oldMspId: Option<H256>,
|
|
516
|
+
newMspId: H256,
|
|
517
|
+
valuePropId: H256
|
|
518
|
+
], {
|
|
379
519
|
bucketId: H256;
|
|
380
520
|
oldMspId: Option<H256>;
|
|
381
521
|
newMspId: H256;
|
|
@@ -384,7 +524,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
384
524
|
/**
|
|
385
525
|
* Notifies that a bucket move request has been rejected by the MSP.
|
|
386
526
|
**/
|
|
387
|
-
MoveBucketRejected: AugmentedEvent<ApiType, [
|
|
527
|
+
MoveBucketRejected: AugmentedEvent<ApiType, [
|
|
528
|
+
bucketId: H256,
|
|
529
|
+
oldMspId: Option<H256>,
|
|
530
|
+
newMspId: H256
|
|
531
|
+
], {
|
|
388
532
|
bucketId: H256;
|
|
389
533
|
oldMspId: Option<H256>;
|
|
390
534
|
newMspId: H256;
|
|
@@ -392,7 +536,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
392
536
|
/**
|
|
393
537
|
* Notifies that a bucket is being moved to a new MSP.
|
|
394
538
|
**/
|
|
395
|
-
MoveBucketRequested: AugmentedEvent<ApiType, [
|
|
539
|
+
MoveBucketRequested: AugmentedEvent<ApiType, [
|
|
540
|
+
who: AccountId20,
|
|
541
|
+
bucketId: H256,
|
|
542
|
+
newMspId: H256,
|
|
543
|
+
newValuePropId: H256
|
|
544
|
+
], {
|
|
396
545
|
who: AccountId20;
|
|
397
546
|
bucketId: H256;
|
|
398
547
|
newMspId: H256;
|
|
@@ -415,14 +564,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
415
564
|
* This event is not emitted when the storage request is immediately fulfilled upon
|
|
416
565
|
* MSP acceptance. In such cases, a [`StorageRequestFulfilled`] event is emitted instead.
|
|
417
566
|
**/
|
|
418
|
-
MspAcceptedStorageRequest: AugmentedEvent<ApiType, [
|
|
567
|
+
MspAcceptedStorageRequest: AugmentedEvent<ApiType, [
|
|
568
|
+
fileKey: H256,
|
|
569
|
+
fileMetadata: ShpFileMetadataFileMetadata
|
|
570
|
+
], {
|
|
419
571
|
fileKey: H256;
|
|
420
572
|
fileMetadata: ShpFileMetadataFileMetadata;
|
|
421
573
|
}>;
|
|
422
574
|
/**
|
|
423
575
|
* Notifies that a MSP has stopped storing a bucket.
|
|
424
576
|
**/
|
|
425
|
-
MspStoppedStoringBucket: AugmentedEvent<ApiType, [
|
|
577
|
+
MspStoppedStoringBucket: AugmentedEvent<ApiType, [
|
|
578
|
+
mspId: H256,
|
|
579
|
+
owner: AccountId20,
|
|
580
|
+
bucketId: H256
|
|
581
|
+
], {
|
|
426
582
|
mspId: H256;
|
|
427
583
|
owner: AccountId20;
|
|
428
584
|
bucketId: H256;
|
|
@@ -430,7 +586,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
430
586
|
/**
|
|
431
587
|
* Notifies that a MSP has stopped storing a bucket because its owner has become insolvent.
|
|
432
588
|
**/
|
|
433
|
-
MspStopStoringBucketInsolventUser: AugmentedEvent<ApiType, [
|
|
589
|
+
MspStopStoringBucketInsolventUser: AugmentedEvent<ApiType, [
|
|
590
|
+
mspId: H256,
|
|
591
|
+
owner: AccountId20,
|
|
592
|
+
bucketId: H256
|
|
593
|
+
], {
|
|
434
594
|
mspId: H256;
|
|
435
595
|
owner: AccountId20;
|
|
436
596
|
bucketId: H256;
|
|
@@ -438,7 +598,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
438
598
|
/**
|
|
439
599
|
* Notifies that a new bucket has been created.
|
|
440
600
|
**/
|
|
441
|
-
NewBucket: AugmentedEvent<ApiType, [
|
|
601
|
+
NewBucket: AugmentedEvent<ApiType, [
|
|
602
|
+
who: AccountId20,
|
|
603
|
+
mspId: H256,
|
|
604
|
+
bucketId: H256,
|
|
605
|
+
name: Bytes,
|
|
606
|
+
root: H256,
|
|
607
|
+
collectionId: Option<u32>,
|
|
608
|
+
private: bool,
|
|
609
|
+
valuePropId: H256
|
|
610
|
+
], {
|
|
442
611
|
who: AccountId20;
|
|
443
612
|
mspId: H256;
|
|
444
613
|
bucketId: H256;
|
|
@@ -451,7 +620,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
451
620
|
/**
|
|
452
621
|
* Notifies that a new collection has been created and associated with a bucket.
|
|
453
622
|
**/
|
|
454
|
-
NewCollectionAndAssociation: AugmentedEvent<ApiType, [
|
|
623
|
+
NewCollectionAndAssociation: AugmentedEvent<ApiType, [
|
|
624
|
+
who: AccountId20,
|
|
625
|
+
bucketId: H256,
|
|
626
|
+
collectionId: u32
|
|
627
|
+
], {
|
|
455
628
|
who: AccountId20;
|
|
456
629
|
bucketId: H256;
|
|
457
630
|
collectionId: u32;
|
|
@@ -459,7 +632,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
459
632
|
/**
|
|
460
633
|
* Notifies that a new file has been requested to be stored.
|
|
461
634
|
**/
|
|
462
|
-
NewStorageRequest: AugmentedEvent<ApiType, [
|
|
635
|
+
NewStorageRequest: AugmentedEvent<ApiType, [
|
|
636
|
+
who: AccountId20,
|
|
637
|
+
fileKey: H256,
|
|
638
|
+
bucketId: H256,
|
|
639
|
+
location: Bytes,
|
|
640
|
+
fingerprint: H256,
|
|
641
|
+
size_: u64,
|
|
642
|
+
peerIds: Vec<Bytes>,
|
|
643
|
+
expiresAt: u32
|
|
644
|
+
], {
|
|
463
645
|
who: AccountId20;
|
|
464
646
|
fileKey: H256;
|
|
465
647
|
bucketId: H256;
|
|
@@ -472,7 +654,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
472
654
|
/**
|
|
473
655
|
* Notifies that a SP has stopped storing a file because its owner has become insolvent.
|
|
474
656
|
**/
|
|
475
|
-
SpStopStoringInsolventUser: AugmentedEvent<ApiType, [
|
|
657
|
+
SpStopStoringInsolventUser: AugmentedEvent<ApiType, [
|
|
658
|
+
spId: H256,
|
|
659
|
+
fileKey: H256,
|
|
660
|
+
owner: AccountId20,
|
|
661
|
+
location: Bytes,
|
|
662
|
+
newRoot: H256
|
|
663
|
+
], {
|
|
476
664
|
spId: H256;
|
|
477
665
|
fileKey: H256;
|
|
478
666
|
owner: AccountId20;
|
|
@@ -502,7 +690,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
502
690
|
* Note: the storage request will be marked as "incomplete", and it is expected that fisherman
|
|
503
691
|
* nodes will pick it up and delete the file from the confirmed BSPs as well as the Bucket.
|
|
504
692
|
**/
|
|
505
|
-
StorageRequestRejected: AugmentedEvent<ApiType, [
|
|
693
|
+
StorageRequestRejected: AugmentedEvent<ApiType, [
|
|
694
|
+
fileKey: H256,
|
|
695
|
+
mspId: H256,
|
|
696
|
+
bucketId: H256,
|
|
697
|
+
reason: PalletFileSystemRejectedStorageRequestReason
|
|
698
|
+
], {
|
|
506
699
|
fileKey: H256;
|
|
507
700
|
mspId: H256;
|
|
508
701
|
bucketId: H256;
|
|
@@ -519,9 +712,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
519
712
|
/**
|
|
520
713
|
* Event to notify of incoherencies in used capacity.
|
|
521
714
|
**/
|
|
522
|
-
UsedCapacityShouldBeZero: AugmentedEvent<ApiType, [
|
|
715
|
+
UsedCapacityShouldBeZero: AugmentedEvent<ApiType, [
|
|
716
|
+
actualUsedCapacity: u64
|
|
717
|
+
], {
|
|
523
718
|
actualUsedCapacity: u64;
|
|
524
719
|
}>;
|
|
720
|
+
/**
|
|
721
|
+
* Notifies that the user operation pause flags have been updated.
|
|
722
|
+
**/
|
|
723
|
+
UserOperationPauseFlagsUpdated: AugmentedEvent<ApiType, [
|
|
724
|
+
old: u32,
|
|
725
|
+
new_: u32
|
|
726
|
+
], {
|
|
727
|
+
old: u32;
|
|
728
|
+
new_: u32;
|
|
729
|
+
}>;
|
|
525
730
|
/**
|
|
526
731
|
* Generic event
|
|
527
732
|
**/
|
|
@@ -531,7 +736,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
531
736
|
/**
|
|
532
737
|
* New authority set has been applied.
|
|
533
738
|
**/
|
|
534
|
-
NewAuthorities: AugmentedEvent<ApiType, [
|
|
739
|
+
NewAuthorities: AugmentedEvent<ApiType, [
|
|
740
|
+
authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>
|
|
741
|
+
], {
|
|
535
742
|
authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
536
743
|
}>;
|
|
537
744
|
/**
|
|
@@ -551,7 +758,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
551
758
|
/**
|
|
552
759
|
* All approvals of an item got cancelled.
|
|
553
760
|
**/
|
|
554
|
-
AllApprovalsCancelled: AugmentedEvent<ApiType, [
|
|
761
|
+
AllApprovalsCancelled: AugmentedEvent<ApiType, [
|
|
762
|
+
collection: u32,
|
|
763
|
+
item: u32,
|
|
764
|
+
owner: AccountId20
|
|
765
|
+
], {
|
|
555
766
|
collection: u32;
|
|
556
767
|
item: u32;
|
|
557
768
|
owner: AccountId20;
|
|
@@ -560,7 +771,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
560
771
|
* An approval for a `delegate` account to transfer the `item` of an item
|
|
561
772
|
* `collection` was cancelled by its `owner`.
|
|
562
773
|
**/
|
|
563
|
-
ApprovalCancelled: AugmentedEvent<ApiType, [
|
|
774
|
+
ApprovalCancelled: AugmentedEvent<ApiType, [
|
|
775
|
+
collection: u32,
|
|
776
|
+
item: u32,
|
|
777
|
+
owner: AccountId20,
|
|
778
|
+
delegate: AccountId20
|
|
779
|
+
], {
|
|
564
780
|
collection: u32;
|
|
565
781
|
item: u32;
|
|
566
782
|
owner: AccountId20;
|
|
@@ -569,7 +785,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
569
785
|
/**
|
|
570
786
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
571
787
|
**/
|
|
572
|
-
AttributeCleared: AugmentedEvent<ApiType, [
|
|
788
|
+
AttributeCleared: AugmentedEvent<ApiType, [
|
|
789
|
+
collection: u32,
|
|
790
|
+
maybeItem: Option<u32>,
|
|
791
|
+
key: Bytes,
|
|
792
|
+
namespace: PalletNftsAttributeNamespace
|
|
793
|
+
], {
|
|
573
794
|
collection: u32;
|
|
574
795
|
maybeItem: Option<u32>;
|
|
575
796
|
key: Bytes;
|
|
@@ -578,7 +799,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
578
799
|
/**
|
|
579
800
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
580
801
|
**/
|
|
581
|
-
AttributeSet: AugmentedEvent<ApiType, [
|
|
802
|
+
AttributeSet: AugmentedEvent<ApiType, [
|
|
803
|
+
collection: u32,
|
|
804
|
+
maybeItem: Option<u32>,
|
|
805
|
+
key: Bytes,
|
|
806
|
+
value: Bytes,
|
|
807
|
+
namespace: PalletNftsAttributeNamespace
|
|
808
|
+
], {
|
|
582
809
|
collection: u32;
|
|
583
810
|
maybeItem: Option<u32>;
|
|
584
811
|
key: Bytes;
|
|
@@ -588,7 +815,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
588
815
|
/**
|
|
589
816
|
* An `item` was destroyed.
|
|
590
817
|
**/
|
|
591
|
-
Burned: AugmentedEvent<ApiType, [
|
|
818
|
+
Burned: AugmentedEvent<ApiType, [
|
|
819
|
+
collection: u32,
|
|
820
|
+
item: u32,
|
|
821
|
+
owner: AccountId20
|
|
822
|
+
], {
|
|
592
823
|
collection: u32;
|
|
593
824
|
item: u32;
|
|
594
825
|
owner: AccountId20;
|
|
@@ -608,7 +839,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
608
839
|
/**
|
|
609
840
|
* Max supply has been set for a collection.
|
|
610
841
|
**/
|
|
611
|
-
CollectionMaxSupplySet: AugmentedEvent<ApiType, [
|
|
842
|
+
CollectionMaxSupplySet: AugmentedEvent<ApiType, [
|
|
843
|
+
collection: u32,
|
|
844
|
+
maxSupply: u32
|
|
845
|
+
], {
|
|
612
846
|
collection: u32;
|
|
613
847
|
maxSupply: u32;
|
|
614
848
|
}>;
|
|
@@ -621,20 +855,29 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
621
855
|
/**
|
|
622
856
|
* New metadata has been set for a `collection`.
|
|
623
857
|
**/
|
|
624
|
-
CollectionMetadataSet: AugmentedEvent<ApiType, [
|
|
858
|
+
CollectionMetadataSet: AugmentedEvent<ApiType, [
|
|
859
|
+
collection: u32,
|
|
860
|
+
data: Bytes
|
|
861
|
+
], {
|
|
625
862
|
collection: u32;
|
|
626
863
|
data: Bytes;
|
|
627
864
|
}>;
|
|
628
865
|
/**
|
|
629
866
|
* Mint settings for a collection had changed.
|
|
630
867
|
**/
|
|
631
|
-
CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [
|
|
868
|
+
CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [
|
|
869
|
+
collection: u32
|
|
870
|
+
], {
|
|
632
871
|
collection: u32;
|
|
633
872
|
}>;
|
|
634
873
|
/**
|
|
635
874
|
* A `collection` was created.
|
|
636
875
|
**/
|
|
637
|
-
Created: AugmentedEvent<ApiType, [
|
|
876
|
+
Created: AugmentedEvent<ApiType, [
|
|
877
|
+
collection: u32,
|
|
878
|
+
creator: AccountId20,
|
|
879
|
+
owner: AccountId20
|
|
880
|
+
], {
|
|
638
881
|
collection: u32;
|
|
639
882
|
creator: AccountId20;
|
|
640
883
|
owner: AccountId20;
|
|
@@ -648,14 +891,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
648
891
|
/**
|
|
649
892
|
* A `collection` was force-created.
|
|
650
893
|
**/
|
|
651
|
-
ForceCreated: AugmentedEvent<ApiType, [
|
|
894
|
+
ForceCreated: AugmentedEvent<ApiType, [
|
|
895
|
+
collection: u32,
|
|
896
|
+
owner: AccountId20
|
|
897
|
+
], {
|
|
652
898
|
collection: u32;
|
|
653
899
|
owner: AccountId20;
|
|
654
900
|
}>;
|
|
655
901
|
/**
|
|
656
902
|
* An `item` was issued.
|
|
657
903
|
**/
|
|
658
|
-
Issued: AugmentedEvent<ApiType, [
|
|
904
|
+
Issued: AugmentedEvent<ApiType, [
|
|
905
|
+
collection: u32,
|
|
906
|
+
item: u32,
|
|
907
|
+
owner: AccountId20
|
|
908
|
+
], {
|
|
659
909
|
collection: u32;
|
|
660
910
|
item: u32;
|
|
661
911
|
owner: AccountId20;
|
|
@@ -663,7 +913,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
663
913
|
/**
|
|
664
914
|
* A new approval to modify item attributes was added.
|
|
665
915
|
**/
|
|
666
|
-
ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [
|
|
916
|
+
ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [
|
|
917
|
+
collection: u32,
|
|
918
|
+
item: u32,
|
|
919
|
+
delegate: AccountId20
|
|
920
|
+
], {
|
|
667
921
|
collection: u32;
|
|
668
922
|
item: u32;
|
|
669
923
|
delegate: AccountId20;
|
|
@@ -671,7 +925,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
671
925
|
/**
|
|
672
926
|
* A new approval to modify item attributes was removed.
|
|
673
927
|
**/
|
|
674
|
-
ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [
|
|
928
|
+
ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [
|
|
929
|
+
collection: u32,
|
|
930
|
+
item: u32,
|
|
931
|
+
delegate: AccountId20
|
|
932
|
+
], {
|
|
675
933
|
collection: u32;
|
|
676
934
|
item: u32;
|
|
677
935
|
delegate: AccountId20;
|
|
@@ -679,7 +937,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
679
937
|
/**
|
|
680
938
|
* An item was bought.
|
|
681
939
|
**/
|
|
682
|
-
ItemBought: AugmentedEvent<ApiType, [
|
|
940
|
+
ItemBought: AugmentedEvent<ApiType, [
|
|
941
|
+
collection: u32,
|
|
942
|
+
item: u32,
|
|
943
|
+
price: u128,
|
|
944
|
+
seller: AccountId20,
|
|
945
|
+
buyer: AccountId20
|
|
946
|
+
], {
|
|
683
947
|
collection: u32;
|
|
684
948
|
item: u32;
|
|
685
949
|
price: u128;
|
|
@@ -689,14 +953,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
689
953
|
/**
|
|
690
954
|
* Metadata has been cleared for an item.
|
|
691
955
|
**/
|
|
692
|
-
ItemMetadataCleared: AugmentedEvent<ApiType, [
|
|
956
|
+
ItemMetadataCleared: AugmentedEvent<ApiType, [
|
|
957
|
+
collection: u32,
|
|
958
|
+
item: u32
|
|
959
|
+
], {
|
|
693
960
|
collection: u32;
|
|
694
961
|
item: u32;
|
|
695
962
|
}>;
|
|
696
963
|
/**
|
|
697
964
|
* New metadata has been set for an item.
|
|
698
965
|
**/
|
|
699
|
-
ItemMetadataSet: AugmentedEvent<ApiType, [
|
|
966
|
+
ItemMetadataSet: AugmentedEvent<ApiType, [
|
|
967
|
+
collection: u32,
|
|
968
|
+
item: u32,
|
|
969
|
+
data: Bytes
|
|
970
|
+
], {
|
|
700
971
|
collection: u32;
|
|
701
972
|
item: u32;
|
|
702
973
|
data: Bytes;
|
|
@@ -704,14 +975,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
704
975
|
/**
|
|
705
976
|
* The price for the item was removed.
|
|
706
977
|
**/
|
|
707
|
-
ItemPriceRemoved: AugmentedEvent<ApiType, [
|
|
978
|
+
ItemPriceRemoved: AugmentedEvent<ApiType, [
|
|
979
|
+
collection: u32,
|
|
980
|
+
item: u32
|
|
981
|
+
], {
|
|
708
982
|
collection: u32;
|
|
709
983
|
item: u32;
|
|
710
984
|
}>;
|
|
711
985
|
/**
|
|
712
986
|
* The price was set for the item.
|
|
713
987
|
**/
|
|
714
|
-
ItemPriceSet: AugmentedEvent<ApiType, [
|
|
988
|
+
ItemPriceSet: AugmentedEvent<ApiType, [
|
|
989
|
+
collection: u32,
|
|
990
|
+
item: u32,
|
|
991
|
+
price: u128,
|
|
992
|
+
whitelistedBuyer: Option<AccountId20>
|
|
993
|
+
], {
|
|
715
994
|
collection: u32;
|
|
716
995
|
item: u32;
|
|
717
996
|
price: u128;
|
|
@@ -720,7 +999,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
720
999
|
/**
|
|
721
1000
|
* `item` metadata or attributes were locked.
|
|
722
1001
|
**/
|
|
723
|
-
ItemPropertiesLocked: AugmentedEvent<ApiType, [
|
|
1002
|
+
ItemPropertiesLocked: AugmentedEvent<ApiType, [
|
|
1003
|
+
collection: u32,
|
|
1004
|
+
item: u32,
|
|
1005
|
+
lockMetadata: bool,
|
|
1006
|
+
lockAttributes: bool
|
|
1007
|
+
], {
|
|
724
1008
|
collection: u32;
|
|
725
1009
|
item: u32;
|
|
726
1010
|
lockMetadata: bool;
|
|
@@ -729,34 +1013,48 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
729
1013
|
/**
|
|
730
1014
|
* An `item` became non-transferable.
|
|
731
1015
|
**/
|
|
732
|
-
ItemTransferLocked: AugmentedEvent<ApiType, [
|
|
1016
|
+
ItemTransferLocked: AugmentedEvent<ApiType, [
|
|
1017
|
+
collection: u32,
|
|
1018
|
+
item: u32
|
|
1019
|
+
], {
|
|
733
1020
|
collection: u32;
|
|
734
1021
|
item: u32;
|
|
735
1022
|
}>;
|
|
736
1023
|
/**
|
|
737
1024
|
* An `item` became transferable.
|
|
738
1025
|
**/
|
|
739
|
-
ItemTransferUnlocked: AugmentedEvent<ApiType, [
|
|
1026
|
+
ItemTransferUnlocked: AugmentedEvent<ApiType, [
|
|
1027
|
+
collection: u32,
|
|
1028
|
+
item: u32
|
|
1029
|
+
], {
|
|
740
1030
|
collection: u32;
|
|
741
1031
|
item: u32;
|
|
742
1032
|
}>;
|
|
743
1033
|
/**
|
|
744
1034
|
* Event gets emitted when the `NextCollectionId` gets incremented.
|
|
745
1035
|
**/
|
|
746
|
-
NextCollectionIdIncremented: AugmentedEvent<ApiType, [
|
|
1036
|
+
NextCollectionIdIncremented: AugmentedEvent<ApiType, [
|
|
1037
|
+
nextId: Option<u32>
|
|
1038
|
+
], {
|
|
747
1039
|
nextId: Option<u32>;
|
|
748
1040
|
}>;
|
|
749
1041
|
/**
|
|
750
1042
|
* The owner changed.
|
|
751
1043
|
**/
|
|
752
|
-
OwnerChanged: AugmentedEvent<ApiType, [
|
|
1044
|
+
OwnerChanged: AugmentedEvent<ApiType, [
|
|
1045
|
+
collection: u32,
|
|
1046
|
+
newOwner: AccountId20
|
|
1047
|
+
], {
|
|
753
1048
|
collection: u32;
|
|
754
1049
|
newOwner: AccountId20;
|
|
755
1050
|
}>;
|
|
756
1051
|
/**
|
|
757
1052
|
* Ownership acceptance has changed for an account.
|
|
758
1053
|
**/
|
|
759
|
-
OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [
|
|
1054
|
+
OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [
|
|
1055
|
+
who: AccountId20,
|
|
1056
|
+
maybeCollection: Option<u32>
|
|
1057
|
+
], {
|
|
760
1058
|
who: AccountId20;
|
|
761
1059
|
maybeCollection: Option<u32>;
|
|
762
1060
|
}>;
|
|
@@ -764,7 +1062,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
764
1062
|
* A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
|
|
765
1063
|
* within that `collection`.
|
|
766
1064
|
**/
|
|
767
|
-
PalletAttributeSet: AugmentedEvent<ApiType, [
|
|
1065
|
+
PalletAttributeSet: AugmentedEvent<ApiType, [
|
|
1066
|
+
collection: u32,
|
|
1067
|
+
item: Option<u32>,
|
|
1068
|
+
attribute: PalletNftsPalletAttributes,
|
|
1069
|
+
value: Bytes
|
|
1070
|
+
], {
|
|
768
1071
|
collection: u32;
|
|
769
1072
|
item: Option<u32>;
|
|
770
1073
|
attribute: PalletNftsPalletAttributes;
|
|
@@ -773,7 +1076,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
773
1076
|
/**
|
|
774
1077
|
* New attributes have been set for an `item` of the `collection`.
|
|
775
1078
|
**/
|
|
776
|
-
PreSignedAttributesSet: AugmentedEvent<ApiType, [
|
|
1079
|
+
PreSignedAttributesSet: AugmentedEvent<ApiType, [
|
|
1080
|
+
collection: u32,
|
|
1081
|
+
item: u32,
|
|
1082
|
+
namespace: PalletNftsAttributeNamespace
|
|
1083
|
+
], {
|
|
777
1084
|
collection: u32;
|
|
778
1085
|
item: u32;
|
|
779
1086
|
namespace: PalletNftsAttributeNamespace;
|
|
@@ -781,14 +1088,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
781
1088
|
/**
|
|
782
1089
|
* The deposit for a set of `item`s within a `collection` has been updated.
|
|
783
1090
|
**/
|
|
784
|
-
Redeposited: AugmentedEvent<ApiType, [
|
|
1091
|
+
Redeposited: AugmentedEvent<ApiType, [
|
|
1092
|
+
collection: u32,
|
|
1093
|
+
successfulItems: Vec<u32>
|
|
1094
|
+
], {
|
|
785
1095
|
collection: u32;
|
|
786
1096
|
successfulItems: Vec<u32>;
|
|
787
1097
|
}>;
|
|
788
1098
|
/**
|
|
789
1099
|
* The swap was cancelled.
|
|
790
1100
|
**/
|
|
791
|
-
SwapCancelled: AugmentedEvent<ApiType, [
|
|
1101
|
+
SwapCancelled: AugmentedEvent<ApiType, [
|
|
1102
|
+
offeredCollection: u32,
|
|
1103
|
+
offeredItem: u32,
|
|
1104
|
+
desiredCollection: u32,
|
|
1105
|
+
desiredItem: Option<u32>,
|
|
1106
|
+
price: Option<PalletNftsPriceWithDirection>,
|
|
1107
|
+
deadline: u32
|
|
1108
|
+
], {
|
|
792
1109
|
offeredCollection: u32;
|
|
793
1110
|
offeredItem: u32;
|
|
794
1111
|
desiredCollection: u32;
|
|
@@ -799,7 +1116,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
799
1116
|
/**
|
|
800
1117
|
* The swap has been claimed.
|
|
801
1118
|
**/
|
|
802
|
-
SwapClaimed: AugmentedEvent<ApiType, [
|
|
1119
|
+
SwapClaimed: AugmentedEvent<ApiType, [
|
|
1120
|
+
sentCollection: u32,
|
|
1121
|
+
sentItem: u32,
|
|
1122
|
+
sentItemOwner: AccountId20,
|
|
1123
|
+
receivedCollection: u32,
|
|
1124
|
+
receivedItem: u32,
|
|
1125
|
+
receivedItemOwner: AccountId20,
|
|
1126
|
+
price: Option<PalletNftsPriceWithDirection>,
|
|
1127
|
+
deadline: u32
|
|
1128
|
+
], {
|
|
803
1129
|
sentCollection: u32;
|
|
804
1130
|
sentItem: u32;
|
|
805
1131
|
sentItemOwner: AccountId20;
|
|
@@ -812,7 +1138,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
812
1138
|
/**
|
|
813
1139
|
* An `item` swap intent was created.
|
|
814
1140
|
**/
|
|
815
|
-
SwapCreated: AugmentedEvent<ApiType, [
|
|
1141
|
+
SwapCreated: AugmentedEvent<ApiType, [
|
|
1142
|
+
offeredCollection: u32,
|
|
1143
|
+
offeredItem: u32,
|
|
1144
|
+
desiredCollection: u32,
|
|
1145
|
+
desiredItem: Option<u32>,
|
|
1146
|
+
price: Option<PalletNftsPriceWithDirection>,
|
|
1147
|
+
deadline: u32
|
|
1148
|
+
], {
|
|
816
1149
|
offeredCollection: u32;
|
|
817
1150
|
offeredItem: u32;
|
|
818
1151
|
desiredCollection: u32;
|
|
@@ -823,7 +1156,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
823
1156
|
/**
|
|
824
1157
|
* The management team changed.
|
|
825
1158
|
**/
|
|
826
|
-
TeamChanged: AugmentedEvent<ApiType, [
|
|
1159
|
+
TeamChanged: AugmentedEvent<ApiType, [
|
|
1160
|
+
collection: u32,
|
|
1161
|
+
issuer: Option<AccountId20>,
|
|
1162
|
+
admin: Option<AccountId20>,
|
|
1163
|
+
freezer: Option<AccountId20>
|
|
1164
|
+
], {
|
|
827
1165
|
collection: u32;
|
|
828
1166
|
issuer: Option<AccountId20>;
|
|
829
1167
|
admin: Option<AccountId20>;
|
|
@@ -832,7 +1170,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
832
1170
|
/**
|
|
833
1171
|
* A tip was sent.
|
|
834
1172
|
**/
|
|
835
|
-
TipSent: AugmentedEvent<ApiType, [
|
|
1173
|
+
TipSent: AugmentedEvent<ApiType, [
|
|
1174
|
+
collection: u32,
|
|
1175
|
+
item: u32,
|
|
1176
|
+
sender: AccountId20,
|
|
1177
|
+
receiver: AccountId20,
|
|
1178
|
+
amount: u128
|
|
1179
|
+
], {
|
|
836
1180
|
collection: u32;
|
|
837
1181
|
item: u32;
|
|
838
1182
|
sender: AccountId20;
|
|
@@ -843,7 +1187,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
843
1187
|
* An `item` of a `collection` has been approved by the `owner` for transfer by
|
|
844
1188
|
* a `delegate`.
|
|
845
1189
|
**/
|
|
846
|
-
TransferApproved: AugmentedEvent<ApiType, [
|
|
1190
|
+
TransferApproved: AugmentedEvent<ApiType, [
|
|
1191
|
+
collection: u32,
|
|
1192
|
+
item: u32,
|
|
1193
|
+
owner: AccountId20,
|
|
1194
|
+
delegate: AccountId20,
|
|
1195
|
+
deadline: Option<u32>
|
|
1196
|
+
], {
|
|
847
1197
|
collection: u32;
|
|
848
1198
|
item: u32;
|
|
849
1199
|
owner: AccountId20;
|
|
@@ -853,7 +1203,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
853
1203
|
/**
|
|
854
1204
|
* An `item` was transferred.
|
|
855
1205
|
**/
|
|
856
|
-
Transferred: AugmentedEvent<ApiType, [
|
|
1206
|
+
Transferred: AugmentedEvent<ApiType, [
|
|
1207
|
+
collection: u32,
|
|
1208
|
+
item: u32,
|
|
1209
|
+
from: AccountId20,
|
|
1210
|
+
to: AccountId20
|
|
1211
|
+
], {
|
|
857
1212
|
collection: u32;
|
|
858
1213
|
item: u32;
|
|
859
1214
|
from: AccountId20;
|
|
@@ -870,7 +1225,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
870
1225
|
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
871
1226
|
* \[kind, timeslot\].
|
|
872
1227
|
**/
|
|
873
|
-
Offence: AugmentedEvent<ApiType, [
|
|
1228
|
+
Offence: AugmentedEvent<ApiType, [
|
|
1229
|
+
kind: U8aFixed,
|
|
1230
|
+
timeslot: Bytes
|
|
1231
|
+
], {
|
|
874
1232
|
kind: U8aFixed;
|
|
875
1233
|
timeslot: Bytes;
|
|
876
1234
|
}>;
|
|
@@ -885,7 +1243,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
885
1243
|
*
|
|
886
1244
|
* Is also emitted when the value was not changed.
|
|
887
1245
|
**/
|
|
888
|
-
Updated: AugmentedEvent<ApiType, [
|
|
1246
|
+
Updated: AugmentedEvent<ApiType, [
|
|
1247
|
+
key: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey,
|
|
1248
|
+
oldValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>,
|
|
1249
|
+
newValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>
|
|
1250
|
+
], {
|
|
889
1251
|
key: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey;
|
|
890
1252
|
oldValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
|
|
891
1253
|
newValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
|
|
@@ -900,7 +1262,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
900
1262
|
* Event emitted when a dynamic-rate payment stream is created. Provides information about the User and Provider of the stream
|
|
901
1263
|
* and the initial amount provided.
|
|
902
1264
|
**/
|
|
903
|
-
DynamicRatePaymentStreamCreated: AugmentedEvent<ApiType, [
|
|
1265
|
+
DynamicRatePaymentStreamCreated: AugmentedEvent<ApiType, [
|
|
1266
|
+
userAccount: AccountId20,
|
|
1267
|
+
providerId: H256,
|
|
1268
|
+
amountProvided: u64
|
|
1269
|
+
], {
|
|
904
1270
|
userAccount: AccountId20;
|
|
905
1271
|
providerId: H256;
|
|
906
1272
|
amountProvided: u64;
|
|
@@ -908,7 +1274,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
908
1274
|
/**
|
|
909
1275
|
* Event emitted when a dynamic-rate payment stream is removed. Provides information about the User and Provider of the stream.
|
|
910
1276
|
**/
|
|
911
|
-
DynamicRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
|
|
1277
|
+
DynamicRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
|
|
1278
|
+
userAccount: AccountId20,
|
|
1279
|
+
providerId: H256
|
|
1280
|
+
], {
|
|
912
1281
|
userAccount: AccountId20;
|
|
913
1282
|
providerId: H256;
|
|
914
1283
|
}>;
|
|
@@ -916,7 +1285,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
916
1285
|
* Event emitted when a dynamic-rate payment stream is updated. Provides information about the User and Provider of the stream
|
|
917
1286
|
* and the new amount provided.
|
|
918
1287
|
**/
|
|
919
|
-
DynamicRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
|
|
1288
|
+
DynamicRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
|
|
1289
|
+
userAccount: AccountId20,
|
|
1290
|
+
providerId: H256,
|
|
1291
|
+
newAmountProvided: u64
|
|
1292
|
+
], {
|
|
920
1293
|
userAccount: AccountId20;
|
|
921
1294
|
providerId: H256;
|
|
922
1295
|
newAmountProvided: u64;
|
|
@@ -925,7 +1298,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
925
1298
|
* Event emitted when a fixed-rate payment stream is created. Provides information about the Provider and User of the stream
|
|
926
1299
|
* and its initial rate.
|
|
927
1300
|
**/
|
|
928
|
-
FixedRatePaymentStreamCreated: AugmentedEvent<ApiType, [
|
|
1301
|
+
FixedRatePaymentStreamCreated: AugmentedEvent<ApiType, [
|
|
1302
|
+
userAccount: AccountId20,
|
|
1303
|
+
providerId: H256,
|
|
1304
|
+
rate: u128
|
|
1305
|
+
], {
|
|
929
1306
|
userAccount: AccountId20;
|
|
930
1307
|
providerId: H256;
|
|
931
1308
|
rate: u128;
|
|
@@ -933,7 +1310,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
933
1310
|
/**
|
|
934
1311
|
* Event emitted when a fixed-rate payment stream is removed. Provides information about the User and Provider of the stream.
|
|
935
1312
|
**/
|
|
936
|
-
FixedRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
|
|
1313
|
+
FixedRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
|
|
1314
|
+
userAccount: AccountId20,
|
|
1315
|
+
providerId: H256
|
|
1316
|
+
], {
|
|
937
1317
|
userAccount: AccountId20;
|
|
938
1318
|
providerId: H256;
|
|
939
1319
|
}>;
|
|
@@ -941,7 +1321,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
941
1321
|
* Event emitted when a fixed-rate payment stream is updated. Provides information about the User and Provider of the stream
|
|
942
1322
|
* and the new rate of the stream.
|
|
943
1323
|
**/
|
|
944
|
-
FixedRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
|
|
1324
|
+
FixedRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
|
|
1325
|
+
userAccount: AccountId20,
|
|
1326
|
+
providerId: H256,
|
|
1327
|
+
newRate: u128
|
|
1328
|
+
], {
|
|
945
1329
|
userAccount: AccountId20;
|
|
946
1330
|
providerId: H256;
|
|
947
1331
|
newRate: u128;
|
|
@@ -949,7 +1333,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
949
1333
|
/**
|
|
950
1334
|
* Event emitted when the `on_poll` hook detects that the tick of the proof submitters that needs to process is not the one immediately after the last processed tick.
|
|
951
1335
|
**/
|
|
952
|
-
InconsistentTickProcessing: AugmentedEvent<ApiType, [
|
|
1336
|
+
InconsistentTickProcessing: AugmentedEvent<ApiType, [
|
|
1337
|
+
lastProcessedTick: u32,
|
|
1338
|
+
tickToProcess: u32
|
|
1339
|
+
], {
|
|
953
1340
|
lastProcessedTick: u32;
|
|
954
1341
|
tickToProcess: u32;
|
|
955
1342
|
}>;
|
|
@@ -957,7 +1344,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
957
1344
|
* Event emitted when a Provider's last chargeable tick and price index are updated. Provides information about the Provider of the stream,
|
|
958
1345
|
* the tick number of the last chargeable tick and the price index at that tick.
|
|
959
1346
|
**/
|
|
960
|
-
LastChargeableInfoUpdated: AugmentedEvent<ApiType, [
|
|
1347
|
+
LastChargeableInfoUpdated: AugmentedEvent<ApiType, [
|
|
1348
|
+
providerId: H256,
|
|
1349
|
+
lastChargeableTick: u32,
|
|
1350
|
+
lastChargeablePriceIndex: u128
|
|
1351
|
+
], {
|
|
961
1352
|
providerId: H256;
|
|
962
1353
|
lastChargeableTick: u32;
|
|
963
1354
|
lastChargeablePriceIndex: u128;
|
|
@@ -966,7 +1357,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
966
1357
|
* Event emitted when a payment is charged. Provides information about the user that was charged,
|
|
967
1358
|
* the Provider that received the funds, the tick up to which it was charged and the amount that was charged.
|
|
968
1359
|
**/
|
|
969
|
-
PaymentStreamCharged: AugmentedEvent<ApiType, [
|
|
1360
|
+
PaymentStreamCharged: AugmentedEvent<ApiType, [
|
|
1361
|
+
userAccount: AccountId20,
|
|
1362
|
+
providerId: H256,
|
|
1363
|
+
amount: u128,
|
|
1364
|
+
lastTickCharged: u32,
|
|
1365
|
+
chargedAtTick: u32
|
|
1366
|
+
], {
|
|
970
1367
|
userAccount: AccountId20;
|
|
971
1368
|
providerId: H256;
|
|
972
1369
|
amount: u128;
|
|
@@ -989,7 +1386,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
989
1386
|
* Event emitted when multiple payment streams have been charged from a Provider. Provides information about
|
|
990
1387
|
* the charged users, the Provider that received the funds and the tick when the charge happened.
|
|
991
1388
|
**/
|
|
992
|
-
UsersCharged: AugmentedEvent<ApiType, [
|
|
1389
|
+
UsersCharged: AugmentedEvent<ApiType, [
|
|
1390
|
+
userAccounts: Vec<AccountId20>,
|
|
1391
|
+
providerId: H256,
|
|
1392
|
+
chargedAtTick: u32
|
|
1393
|
+
], {
|
|
993
1394
|
userAccounts: Vec<AccountId20>;
|
|
994
1395
|
providerId: H256;
|
|
995
1396
|
chargedAtTick: u32;
|
|
@@ -1030,7 +1431,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1030
1431
|
* Additional information for context on where the mutations were applied can be provided
|
|
1031
1432
|
* by using the `event_info` field.
|
|
1032
1433
|
**/
|
|
1033
|
-
MutationsApplied: AugmentedEvent<ApiType, [
|
|
1434
|
+
MutationsApplied: AugmentedEvent<ApiType, [
|
|
1435
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
|
|
1436
|
+
oldRoot: H256,
|
|
1437
|
+
newRoot: H256,
|
|
1438
|
+
eventInfo: Option<Bytes>
|
|
1439
|
+
], {
|
|
1034
1440
|
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
|
|
1035
1441
|
oldRoot: H256;
|
|
1036
1442
|
newRoot: H256;
|
|
@@ -1039,7 +1445,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1039
1445
|
/**
|
|
1040
1446
|
* A set of mutations has been applied to the Forest of a given Provider.
|
|
1041
1447
|
**/
|
|
1042
|
-
MutationsAppliedForProvider: AugmentedEvent<ApiType, [
|
|
1448
|
+
MutationsAppliedForProvider: AugmentedEvent<ApiType, [
|
|
1449
|
+
providerId: H256,
|
|
1450
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
|
|
1451
|
+
oldRoot: H256,
|
|
1452
|
+
newRoot: H256
|
|
1453
|
+
], {
|
|
1043
1454
|
providerId: H256;
|
|
1044
1455
|
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
|
|
1045
1456
|
oldRoot: H256;
|
|
@@ -1048,14 +1459,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1048
1459
|
/**
|
|
1049
1460
|
* A manual challenge was submitted.
|
|
1050
1461
|
**/
|
|
1051
|
-
NewChallenge: AugmentedEvent<ApiType, [
|
|
1462
|
+
NewChallenge: AugmentedEvent<ApiType, [
|
|
1463
|
+
who: Option<AccountId20>,
|
|
1464
|
+
keyChallenged: H256
|
|
1465
|
+
], {
|
|
1052
1466
|
who: Option<AccountId20>;
|
|
1053
1467
|
keyChallenged: H256;
|
|
1054
1468
|
}>;
|
|
1055
1469
|
/**
|
|
1056
1470
|
* A provider's challenge cycle was initialised.
|
|
1057
1471
|
**/
|
|
1058
|
-
NewChallengeCycleInitialised: AugmentedEvent<ApiType, [
|
|
1472
|
+
NewChallengeCycleInitialised: AugmentedEvent<ApiType, [
|
|
1473
|
+
currentTick: u32,
|
|
1474
|
+
nextChallengeDeadline: u32,
|
|
1475
|
+
provider: H256,
|
|
1476
|
+
maybeProviderAccount: Option<AccountId20>
|
|
1477
|
+
], {
|
|
1059
1478
|
currentTick: u32;
|
|
1060
1479
|
nextChallengeDeadline: u32;
|
|
1061
1480
|
provider: H256;
|
|
@@ -1064,21 +1483,31 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1064
1483
|
/**
|
|
1065
1484
|
* A new challenge seed was generated.
|
|
1066
1485
|
**/
|
|
1067
|
-
NewChallengeSeed: AugmentedEvent<ApiType, [
|
|
1486
|
+
NewChallengeSeed: AugmentedEvent<ApiType, [
|
|
1487
|
+
challengesTicker: u32,
|
|
1488
|
+
seed: H256
|
|
1489
|
+
], {
|
|
1068
1490
|
challengesTicker: u32;
|
|
1069
1491
|
seed: H256;
|
|
1070
1492
|
}>;
|
|
1071
1493
|
/**
|
|
1072
1494
|
* A new checkpoint challenge was generated.
|
|
1073
1495
|
**/
|
|
1074
|
-
NewCheckpointChallenge: AugmentedEvent<ApiType, [
|
|
1496
|
+
NewCheckpointChallenge: AugmentedEvent<ApiType, [
|
|
1497
|
+
challengesTicker: u32,
|
|
1498
|
+
challenges: Vec<PalletProofsDealerCustomChallenge>
|
|
1499
|
+
], {
|
|
1075
1500
|
challengesTicker: u32;
|
|
1076
1501
|
challenges: Vec<PalletProofsDealerCustomChallenge>;
|
|
1077
1502
|
}>;
|
|
1078
1503
|
/**
|
|
1079
1504
|
* A priority challenge was submitted.
|
|
1080
1505
|
**/
|
|
1081
|
-
NewPriorityChallenge: AugmentedEvent<ApiType, [
|
|
1506
|
+
NewPriorityChallenge: AugmentedEvent<ApiType, [
|
|
1507
|
+
who: Option<AccountId20>,
|
|
1508
|
+
keyChallenged: H256,
|
|
1509
|
+
shouldRemoveKey: bool
|
|
1510
|
+
], {
|
|
1082
1511
|
who: Option<AccountId20>;
|
|
1083
1512
|
keyChallenged: H256;
|
|
1084
1513
|
shouldRemoveKey: bool;
|
|
@@ -1092,7 +1521,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1092
1521
|
/**
|
|
1093
1522
|
* A proof was accepted.
|
|
1094
1523
|
**/
|
|
1095
|
-
ProofAccepted: AugmentedEvent<ApiType, [
|
|
1524
|
+
ProofAccepted: AugmentedEvent<ApiType, [
|
|
1525
|
+
providerId: H256,
|
|
1526
|
+
proof: PalletProofsDealerProof,
|
|
1527
|
+
lastTickProven: u32
|
|
1528
|
+
], {
|
|
1096
1529
|
providerId: H256;
|
|
1097
1530
|
proof: PalletProofsDealerProof;
|
|
1098
1531
|
lastTickProven: u32;
|
|
@@ -1100,7 +1533,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1100
1533
|
/**
|
|
1101
1534
|
* A provider was marked as slashable and their challenge deadline was forcefully pushed.
|
|
1102
1535
|
**/
|
|
1103
|
-
SlashableProvider: AugmentedEvent<ApiType, [
|
|
1536
|
+
SlashableProvider: AugmentedEvent<ApiType, [
|
|
1537
|
+
provider: H256,
|
|
1538
|
+
nextChallengeDeadline: u32
|
|
1539
|
+
], {
|
|
1104
1540
|
provider: H256;
|
|
1105
1541
|
nextChallengeDeadline: u32;
|
|
1106
1542
|
}>;
|
|
@@ -1114,7 +1550,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1114
1550
|
* Event emitted when a provider has been slashed and they have reached a capacity deficit (i.e. the provider's capacity fell below their used capacity)
|
|
1115
1551
|
* signalling the end of the grace period since an automatic top up could not be performed due to insufficient free balance.
|
|
1116
1552
|
**/
|
|
1117
|
-
AwaitingTopUp: AugmentedEvent<ApiType, [
|
|
1553
|
+
AwaitingTopUp: AugmentedEvent<ApiType, [
|
|
1554
|
+
providerId: H256,
|
|
1555
|
+
topUpMetadata: PalletStorageProvidersTopUpMetadata
|
|
1556
|
+
], {
|
|
1118
1557
|
providerId: H256;
|
|
1119
1558
|
topUpMetadata: PalletStorageProvidersTopUpMetadata;
|
|
1120
1559
|
}>;
|
|
@@ -1128,7 +1567,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1128
1567
|
* Event emitted when a Backup Storage Provider has requested to sign up successfully. Provides information about
|
|
1129
1568
|
* that BSP's account id, its multiaddresses, and the total data it can store according to its stake.
|
|
1130
1569
|
**/
|
|
1131
|
-
BspRequestSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1570
|
+
BspRequestSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1571
|
+
who: AccountId20,
|
|
1572
|
+
multiaddresses: Vec<Bytes>,
|
|
1573
|
+
capacity: u64
|
|
1574
|
+
], {
|
|
1132
1575
|
who: AccountId20;
|
|
1133
1576
|
multiaddresses: Vec<Bytes>;
|
|
1134
1577
|
capacity: u64;
|
|
@@ -1137,7 +1580,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1137
1580
|
* Event emitted when a Backup Storage Provider has signed off successfully. Provides information about
|
|
1138
1581
|
* that BSP's account id.
|
|
1139
1582
|
**/
|
|
1140
|
-
BspSignOffSuccess: AugmentedEvent<ApiType, [
|
|
1583
|
+
BspSignOffSuccess: AugmentedEvent<ApiType, [
|
|
1584
|
+
who: AccountId20,
|
|
1585
|
+
bspId: H256
|
|
1586
|
+
], {
|
|
1141
1587
|
who: AccountId20;
|
|
1142
1588
|
bspId: H256;
|
|
1143
1589
|
}>;
|
|
@@ -1146,7 +1592,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1146
1592
|
* that BSP's account id, the initial root of the Merkle Patricia Trie that it stores, the total data it can store
|
|
1147
1593
|
* according to its stake, and its multiaddress.
|
|
1148
1594
|
**/
|
|
1149
|
-
BspSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1595
|
+
BspSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1596
|
+
who: AccountId20,
|
|
1597
|
+
bspId: H256,
|
|
1598
|
+
root: H256,
|
|
1599
|
+
multiaddresses: Vec<Bytes>,
|
|
1600
|
+
capacity: u64
|
|
1601
|
+
], {
|
|
1150
1602
|
who: AccountId20;
|
|
1151
1603
|
bspId: H256;
|
|
1152
1604
|
root: H256;
|
|
@@ -1156,7 +1608,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1156
1608
|
/**
|
|
1157
1609
|
* Event emitted when a bucket's root has been changed.
|
|
1158
1610
|
**/
|
|
1159
|
-
BucketRootChanged: AugmentedEvent<ApiType, [
|
|
1611
|
+
BucketRootChanged: AugmentedEvent<ApiType, [
|
|
1612
|
+
bucketId: H256,
|
|
1613
|
+
oldRoot: H256,
|
|
1614
|
+
newRoot: H256
|
|
1615
|
+
], {
|
|
1160
1616
|
bucketId: H256;
|
|
1161
1617
|
oldRoot: H256;
|
|
1162
1618
|
newRoot: H256;
|
|
@@ -1165,7 +1621,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1165
1621
|
* Event emitted when the provider that has been marked as insolvent was a MSP. It notifies the users of that MSP
|
|
1166
1622
|
* the buckets that it was holding, so they can take appropriate measures.
|
|
1167
1623
|
**/
|
|
1168
|
-
BucketsOfInsolventMsp: AugmentedEvent<ApiType, [
|
|
1624
|
+
BucketsOfInsolventMsp: AugmentedEvent<ApiType, [
|
|
1625
|
+
mspId: H256,
|
|
1626
|
+
buckets: Vec<H256>
|
|
1627
|
+
], {
|
|
1169
1628
|
mspId: H256;
|
|
1170
1629
|
buckets: Vec<H256>;
|
|
1171
1630
|
}>;
|
|
@@ -1173,7 +1632,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1173
1632
|
* Event emitted when a SP has changed its capacity successfully. Provides information about
|
|
1174
1633
|
* that SP's account id, its old total data that could store, and the new total data.
|
|
1175
1634
|
**/
|
|
1176
|
-
CapacityChanged: AugmentedEvent<ApiType, [
|
|
1635
|
+
CapacityChanged: AugmentedEvent<ApiType, [
|
|
1636
|
+
who: AccountId20,
|
|
1637
|
+
providerId: PalletStorageProvidersStorageProviderId,
|
|
1638
|
+
oldCapacity: u64,
|
|
1639
|
+
newCapacity: u64,
|
|
1640
|
+
nextBlockWhenChangeAllowed: u32
|
|
1641
|
+
], {
|
|
1177
1642
|
who: AccountId20;
|
|
1178
1643
|
providerId: PalletStorageProvidersStorageProviderId;
|
|
1179
1644
|
oldCapacity: u64;
|
|
@@ -1183,7 +1648,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1183
1648
|
/**
|
|
1184
1649
|
* Event emitted when the account ID of a provider that has just been marked as insolvent can't be found in storage.
|
|
1185
1650
|
**/
|
|
1186
|
-
FailedToGetOwnerAccountOfInsolventProvider: AugmentedEvent<ApiType, [
|
|
1651
|
+
FailedToGetOwnerAccountOfInsolventProvider: AugmentedEvent<ApiType, [
|
|
1652
|
+
providerId: H256
|
|
1653
|
+
], {
|
|
1187
1654
|
providerId: H256;
|
|
1188
1655
|
}>;
|
|
1189
1656
|
/**
|
|
@@ -1194,14 +1661,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1194
1661
|
* The result of this is that the provider's top up expiration will be reinserted at the correct expiration tick based on the
|
|
1195
1662
|
* `TopUpMetadata` found in `AwaitingTopUpFromProviders` storage.
|
|
1196
1663
|
**/
|
|
1197
|
-
FailedToInsertProviderTopUpExpiration: AugmentedEvent<ApiType, [
|
|
1664
|
+
FailedToInsertProviderTopUpExpiration: AugmentedEvent<ApiType, [
|
|
1665
|
+
providerId: H256,
|
|
1666
|
+
expirationTick: u32
|
|
1667
|
+
], {
|
|
1198
1668
|
providerId: H256;
|
|
1199
1669
|
expirationTick: u32;
|
|
1200
1670
|
}>;
|
|
1201
1671
|
/**
|
|
1202
1672
|
* Event emitted when there's an error slashing the now insolvent provider.
|
|
1203
1673
|
**/
|
|
1204
|
-
FailedToSlashInsolventProvider: AugmentedEvent<ApiType, [
|
|
1674
|
+
FailedToSlashInsolventProvider: AugmentedEvent<ApiType, [
|
|
1675
|
+
providerId: H256,
|
|
1676
|
+
amountToSlash: u128,
|
|
1677
|
+
error: SpRuntimeDispatchError
|
|
1678
|
+
], {
|
|
1205
1679
|
providerId: H256;
|
|
1206
1680
|
amountToSlash: u128;
|
|
1207
1681
|
error: SpRuntimeDispatchError;
|
|
@@ -1209,7 +1683,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1209
1683
|
/**
|
|
1210
1684
|
* Event emitted when there's an error stopping all cycles for an insolvent Backup Storage Provider.
|
|
1211
1685
|
**/
|
|
1212
|
-
FailedToStopAllCyclesForInsolventBsp: AugmentedEvent<ApiType, [
|
|
1686
|
+
FailedToStopAllCyclesForInsolventBsp: AugmentedEvent<ApiType, [
|
|
1687
|
+
providerId: H256,
|
|
1688
|
+
error: SpRuntimeDispatchError
|
|
1689
|
+
], {
|
|
1213
1690
|
providerId: H256;
|
|
1214
1691
|
error: SpRuntimeDispatchError;
|
|
1215
1692
|
}>;
|
|
@@ -1223,7 +1700,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1223
1700
|
* Event emitted when a Main Storage Provider has requested to sign up successfully. Provides information about
|
|
1224
1701
|
* that MSP's account id, its multiaddresses, the total data it can store according to its stake, and its value proposition.
|
|
1225
1702
|
**/
|
|
1226
|
-
MspRequestSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1703
|
+
MspRequestSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1704
|
+
who: AccountId20,
|
|
1705
|
+
multiaddresses: Vec<Bytes>,
|
|
1706
|
+
capacity: u64
|
|
1707
|
+
], {
|
|
1227
1708
|
who: AccountId20;
|
|
1228
1709
|
multiaddresses: Vec<Bytes>;
|
|
1229
1710
|
capacity: u64;
|
|
@@ -1232,7 +1713,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1232
1713
|
* Event emitted when a Main Storage Provider has signed off successfully. Provides information about
|
|
1233
1714
|
* that MSP's account id.
|
|
1234
1715
|
**/
|
|
1235
|
-
MspSignOffSuccess: AugmentedEvent<ApiType, [
|
|
1716
|
+
MspSignOffSuccess: AugmentedEvent<ApiType, [
|
|
1717
|
+
who: AccountId20,
|
|
1718
|
+
mspId: H256
|
|
1719
|
+
], {
|
|
1236
1720
|
who: AccountId20;
|
|
1237
1721
|
mspId: H256;
|
|
1238
1722
|
}>;
|
|
@@ -1240,7 +1724,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1240
1724
|
* Event emitted when a Main Storage Provider has confirmed its sign up successfully. Provides information about
|
|
1241
1725
|
* that MSP's account id, the total data it can store according to its stake, its multiaddress, and its value proposition.
|
|
1242
1726
|
**/
|
|
1243
|
-
MspSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1727
|
+
MspSignUpSuccess: AugmentedEvent<ApiType, [
|
|
1728
|
+
who: AccountId20,
|
|
1729
|
+
mspId: H256,
|
|
1730
|
+
multiaddresses: Vec<Bytes>,
|
|
1731
|
+
capacity: u64,
|
|
1732
|
+
valueProp: PalletStorageProvidersValuePropositionWithId
|
|
1733
|
+
], {
|
|
1244
1734
|
who: AccountId20;
|
|
1245
1735
|
mspId: H256;
|
|
1246
1736
|
multiaddresses: Vec<Bytes>;
|
|
@@ -1250,14 +1740,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1250
1740
|
/**
|
|
1251
1741
|
* Event emitted when a Provider has added a new MultiAddress to its account.
|
|
1252
1742
|
**/
|
|
1253
|
-
MultiAddressAdded: AugmentedEvent<ApiType, [
|
|
1743
|
+
MultiAddressAdded: AugmentedEvent<ApiType, [
|
|
1744
|
+
providerId: H256,
|
|
1745
|
+
newMultiaddress: Bytes
|
|
1746
|
+
], {
|
|
1254
1747
|
providerId: H256;
|
|
1255
1748
|
newMultiaddress: Bytes;
|
|
1256
1749
|
}>;
|
|
1257
1750
|
/**
|
|
1258
1751
|
* Event emitted when a Provider has removed a MultiAddress from its account.
|
|
1259
1752
|
**/
|
|
1260
|
-
MultiAddressRemoved: AugmentedEvent<ApiType, [
|
|
1753
|
+
MultiAddressRemoved: AugmentedEvent<ApiType, [
|
|
1754
|
+
providerId: H256,
|
|
1755
|
+
removedMultiaddress: Bytes
|
|
1756
|
+
], {
|
|
1261
1757
|
providerId: H256;
|
|
1262
1758
|
removedMultiaddress: Bytes;
|
|
1263
1759
|
}>;
|
|
@@ -1280,21 +1776,31 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1280
1776
|
/**
|
|
1281
1777
|
* Event emitted when a SP has been slashed.
|
|
1282
1778
|
**/
|
|
1283
|
-
Slashed: AugmentedEvent<ApiType, [
|
|
1779
|
+
Slashed: AugmentedEvent<ApiType, [
|
|
1780
|
+
providerId: H256,
|
|
1781
|
+
amount: u128
|
|
1782
|
+
], {
|
|
1284
1783
|
providerId: H256;
|
|
1285
1784
|
amount: u128;
|
|
1286
1785
|
}>;
|
|
1287
1786
|
/**
|
|
1288
1787
|
* Event emitted when an SP has topped up its deposit based on slash amount.
|
|
1289
1788
|
**/
|
|
1290
|
-
TopUpFulfilled: AugmentedEvent<ApiType, [
|
|
1789
|
+
TopUpFulfilled: AugmentedEvent<ApiType, [
|
|
1790
|
+
providerId: H256,
|
|
1791
|
+
amount: u128
|
|
1792
|
+
], {
|
|
1291
1793
|
providerId: H256;
|
|
1292
1794
|
amount: u128;
|
|
1293
1795
|
}>;
|
|
1294
1796
|
/**
|
|
1295
1797
|
* Event emitted when an MSP adds a new value proposition.
|
|
1296
1798
|
**/
|
|
1297
|
-
ValuePropAdded: AugmentedEvent<ApiType, [
|
|
1799
|
+
ValuePropAdded: AugmentedEvent<ApiType, [
|
|
1800
|
+
mspId: H256,
|
|
1801
|
+
valuePropId: H256,
|
|
1802
|
+
valueProp: PalletStorageProvidersValueProposition
|
|
1803
|
+
], {
|
|
1298
1804
|
mspId: H256;
|
|
1299
1805
|
valuePropId: H256;
|
|
1300
1806
|
valueProp: PalletStorageProvidersValueProposition;
|
|
@@ -1302,7 +1808,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1302
1808
|
/**
|
|
1303
1809
|
* Event emitted when an MSP's value proposition is made unavailable.
|
|
1304
1810
|
**/
|
|
1305
|
-
ValuePropUnavailable: AugmentedEvent<ApiType, [
|
|
1811
|
+
ValuePropUnavailable: AugmentedEvent<ApiType, [
|
|
1812
|
+
mspId: H256,
|
|
1813
|
+
valuePropId: H256
|
|
1814
|
+
], {
|
|
1306
1815
|
mspId: H256;
|
|
1307
1816
|
valuePropId: H256;
|
|
1308
1817
|
}>;
|
|
@@ -1315,7 +1824,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1315
1824
|
/**
|
|
1316
1825
|
* Event emitted when a new random seed is available from the relay chain
|
|
1317
1826
|
**/
|
|
1318
|
-
NewOneEpochAgoRandomnessAvailable: AugmentedEvent<ApiType, [
|
|
1827
|
+
NewOneEpochAgoRandomnessAvailable: AugmentedEvent<ApiType, [
|
|
1828
|
+
randomnessSeed: H256,
|
|
1829
|
+
fromEpoch: u64,
|
|
1830
|
+
validUntilBlock: u32
|
|
1831
|
+
], {
|
|
1319
1832
|
randomnessSeed: H256;
|
|
1320
1833
|
fromEpoch: u64;
|
|
1321
1834
|
validUntilBlock: u32;
|
|
@@ -1342,7 +1855,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1342
1855
|
/**
|
|
1343
1856
|
* The sudo key has been updated.
|
|
1344
1857
|
**/
|
|
1345
|
-
KeyChanged: AugmentedEvent<ApiType, [
|
|
1858
|
+
KeyChanged: AugmentedEvent<ApiType, [
|
|
1859
|
+
old: Option<AccountId20>,
|
|
1860
|
+
new_: AccountId20
|
|
1861
|
+
], {
|
|
1346
1862
|
old: Option<AccountId20>;
|
|
1347
1863
|
new_: AccountId20;
|
|
1348
1864
|
}>;
|
|
@@ -1353,13 +1869,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1353
1869
|
/**
|
|
1354
1870
|
* A sudo call just took place.
|
|
1355
1871
|
**/
|
|
1356
|
-
Sudid: AugmentedEvent<ApiType, [
|
|
1872
|
+
Sudid: AugmentedEvent<ApiType, [
|
|
1873
|
+
sudoResult: Result<Null, SpRuntimeDispatchError>
|
|
1874
|
+
], {
|
|
1357
1875
|
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
1358
1876
|
}>;
|
|
1359
1877
|
/**
|
|
1360
1878
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
1361
1879
|
**/
|
|
1362
|
-
SudoAsDone: AugmentedEvent<ApiType, [
|
|
1880
|
+
SudoAsDone: AugmentedEvent<ApiType, [
|
|
1881
|
+
sudoResult: Result<Null, SpRuntimeDispatchError>
|
|
1882
|
+
], {
|
|
1363
1883
|
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
1364
1884
|
}>;
|
|
1365
1885
|
/**
|
|
@@ -1375,14 +1895,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1375
1895
|
/**
|
|
1376
1896
|
* An extrinsic failed.
|
|
1377
1897
|
**/
|
|
1378
|
-
ExtrinsicFailed: AugmentedEvent<ApiType, [
|
|
1898
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [
|
|
1899
|
+
dispatchError: SpRuntimeDispatchError,
|
|
1900
|
+
dispatchInfo: FrameSystemDispatchEventInfo
|
|
1901
|
+
], {
|
|
1379
1902
|
dispatchError: SpRuntimeDispatchError;
|
|
1380
1903
|
dispatchInfo: FrameSystemDispatchEventInfo;
|
|
1381
1904
|
}>;
|
|
1382
1905
|
/**
|
|
1383
1906
|
* An extrinsic completed successfully.
|
|
1384
1907
|
**/
|
|
1385
|
-
ExtrinsicSuccess: AugmentedEvent<ApiType, [
|
|
1908
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [
|
|
1909
|
+
dispatchInfo: FrameSystemDispatchEventInfo
|
|
1910
|
+
], {
|
|
1386
1911
|
dispatchInfo: FrameSystemDispatchEventInfo;
|
|
1387
1912
|
}>;
|
|
1388
1913
|
/**
|
|
@@ -1400,14 +1925,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1400
1925
|
/**
|
|
1401
1926
|
* On on-chain remark happened.
|
|
1402
1927
|
**/
|
|
1403
|
-
Remarked: AugmentedEvent<ApiType, [
|
|
1928
|
+
Remarked: AugmentedEvent<ApiType, [
|
|
1929
|
+
sender: AccountId20,
|
|
1930
|
+
hash_: H256
|
|
1931
|
+
], {
|
|
1404
1932
|
sender: AccountId20;
|
|
1405
1933
|
hash_: H256;
|
|
1406
1934
|
}>;
|
|
1407
1935
|
/**
|
|
1408
1936
|
* An upgrade was authorized.
|
|
1409
1937
|
**/
|
|
1410
|
-
UpgradeAuthorized: AugmentedEvent<ApiType, [
|
|
1938
|
+
UpgradeAuthorized: AugmentedEvent<ApiType, [
|
|
1939
|
+
codeHash: H256,
|
|
1940
|
+
checkVersion: bool
|
|
1941
|
+
], {
|
|
1411
1942
|
codeHash: H256;
|
|
1412
1943
|
checkVersion: bool;
|
|
1413
1944
|
}>;
|
|
@@ -1421,7 +1952,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1421
1952
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
1422
1953
|
* has been paid by `who`.
|
|
1423
1954
|
**/
|
|
1424
|
-
TransactionFeePaid: AugmentedEvent<ApiType, [
|
|
1955
|
+
TransactionFeePaid: AugmentedEvent<ApiType, [
|
|
1956
|
+
who: AccountId20,
|
|
1957
|
+
actualFee: u128,
|
|
1958
|
+
tip: u128
|
|
1959
|
+
], {
|
|
1425
1960
|
who: AccountId20;
|
|
1426
1961
|
actualFee: u128;
|
|
1427
1962
|
tip: u128;
|