@dedot/chaintypes 0.0.1-next.f5bf4fc2.1 → 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 +3 -1
- package/aleph/consts.d.ts +94 -13
- package/aleph/errors.d.ts +251 -182
- package/aleph/events.d.ts +319 -102
- package/aleph/index.d.ts +16 -11
- package/aleph/json-rpc.d.ts +76 -0
- package/aleph/query.d.ts +261 -168
- package/aleph/runtime.d.ts +90 -39
- package/aleph/tx.d.ts +1822 -1052
- package/aleph/types.d.ts +458 -138
- package/astar/consts.d.ts +112 -116
- package/astar/errors.d.ts +342 -409
- package/astar/events.d.ts +449 -358
- package/astar/index.d.ts +16 -11
- package/astar/json-rpc.d.ts +131 -0
- package/astar/query.d.ts +459 -367
- package/astar/runtime.d.ts +591 -98
- package/astar/tx.d.ts +2485 -3430
- package/astar/types.d.ts +1530 -4436
- package/index.d.ts +3 -0
- package/index.ts +3 -0
- package/kusama/consts.d.ts +54 -115
- package/kusama/errors.d.ts +696 -682
- package/kusama/events.d.ts +592 -407
- package/kusama/index.d.ts +16 -11
- package/kusama/json-rpc.d.ts +103 -0
- package/kusama/query.d.ts +840 -538
- package/kusama/runtime.d.ts +136 -65
- package/kusama/tx.d.ts +4557 -3051
- package/kusama/types.d.ts +1437 -1161
- package/kusamaAssetHub/consts.d.ts +66 -20
- package/kusamaAssetHub/errors.d.ts +428 -308
- package/kusamaAssetHub/events.d.ts +497 -305
- package/kusamaAssetHub/index.d.ts +16 -11
- package/kusamaAssetHub/json-rpc.d.ts +89 -0
- package/kusamaAssetHub/query.d.ts +376 -253
- package/kusamaAssetHub/runtime.d.ts +82 -41
- package/kusamaAssetHub/tx.d.ts +3264 -1955
- package/kusamaAssetHub/types.d.ts +1262 -726
- package/moonbeam/consts.d.ts +115 -170
- package/moonbeam/errors.d.ts +564 -787
- package/moonbeam/events.d.ts +583 -746
- package/moonbeam/index.d.ts +16 -11
- package/moonbeam/json-rpc.d.ts +137 -0
- package/moonbeam/query.d.ts +507 -607
- package/moonbeam/runtime.d.ts +132 -47
- package/moonbeam/tx.d.ts +3309 -3268
- package/moonbeam/types.d.ts +1484 -1375
- package/package.json +4 -14
- package/paseo/consts.d.ts +1331 -0
- package/paseo/errors.d.ts +2644 -0
- package/paseo/events.d.ts +2821 -0
- package/paseo/index.d.ts +27 -0
- package/paseo/json-rpc.d.ts +103 -0
- package/paseo/query.d.ts +3709 -0
- package/paseo/runtime.d.ts +1205 -0
- package/paseo/tx.d.ts +8024 -0
- package/paseo/types.d.ts +10194 -0
- package/polkadot/consts.d.ts +95 -50
- package/polkadot/errors.d.ts +619 -468
- package/polkadot/events.d.ts +582 -257
- package/polkadot/index.d.ts +16 -11
- package/polkadot/json-rpc.d.ts +103 -0
- package/polkadot/query.d.ts +770 -399
- package/polkadot/runtime.d.ts +136 -65
- package/polkadot/tx.d.ts +4268 -2368
- package/polkadot/types.d.ts +1570 -745
- package/polkadotAssetHub/consts.d.ts +154 -15
- package/polkadotAssetHub/errors.d.ts +615 -234
- package/polkadotAssetHub/events.d.ts +829 -270
- package/polkadotAssetHub/index.d.ts +16 -11
- package/polkadotAssetHub/json-rpc.d.ts +89 -0
- package/polkadotAssetHub/query.d.ts +438 -243
- package/polkadotAssetHub/runtime.d.ts +147 -40
- package/polkadotAssetHub/tx.d.ts +3747 -1643
- package/polkadotAssetHub/types.d.ts +2096 -806
- package/rococo/consts.d.ts +51 -32
- package/rococo/errors.d.ts +549 -605
- package/rococo/events.d.ts +447 -238
- package/rococo/index.d.ts +16 -11
- package/rococo/json-rpc.d.ts +103 -0
- package/rococo/query.d.ts +724 -426
- package/rococo/runtime.d.ts +366 -144
- package/rococo/tx.d.ts +6850 -3079
- package/rococo/types.d.ts +5959 -1619
- package/rococoAssetHub/consts.d.ts +92 -7
- package/rococoAssetHub/errors.d.ts +381 -285
- package/rococoAssetHub/events.d.ts +461 -140
- package/rococoAssetHub/index.d.ts +16 -11
- package/rococoAssetHub/json-rpc.d.ts +89 -0
- package/rococoAssetHub/query.d.ts +487 -174
- package/rococoAssetHub/runtime.d.ts +235 -51
- package/rococoAssetHub/tx.d.ts +6005 -2163
- package/rococoAssetHub/types.d.ts +6683 -1003
- package/substrate/consts.d.ts +233 -52
- package/substrate/errors.d.ts +966 -781
- package/substrate/events.d.ts +1226 -381
- package/substrate/index.d.ts +16 -11
- package/substrate/json-rpc.d.ts +103 -0
- package/substrate/query.d.ts +1090 -460
- package/substrate/runtime.d.ts +274 -71
- package/substrate/tx.d.ts +12313 -4510
- package/substrate/types.d.ts +11036 -1432
- package/westend/consts.d.ts +1349 -0
- package/westend/errors.d.ts +2736 -0
- package/westend/events.d.ts +2906 -0
- package/westend/index.d.ts +27 -0
- package/westend/json-rpc.d.ts +103 -0
- package/westend/query.d.ts +3855 -0
- package/westend/runtime.d.ts +1437 -0
- package/westend/tx.d.ts +10248 -0
- package/westend/types.d.ts +14769 -0
- package/westendAssetHub/consts.d.ts +126 -7
- package/westendAssetHub/errors.d.ts +426 -285
- package/westendAssetHub/events.d.ts +498 -140
- package/westendAssetHub/index.d.ts +16 -11
- package/westendAssetHub/json-rpc.d.ts +89 -0
- package/westendAssetHub/query.d.ts +526 -174
- package/westendAssetHub/runtime.d.ts +245 -56
- package/westendAssetHub/tx.d.ts +6196 -2166
- package/westendAssetHub/types.d.ts +6913 -1002
- package/westendPeople/consts.d.ts +434 -0
- package/westendPeople/errors.d.ts +769 -0
- package/westendPeople/events.d.ts +1082 -0
- package/westendPeople/index.d.ts +27 -0
- package/westendPeople/json-rpc.d.ts +89 -0
- package/westendPeople/query.d.ts +1209 -0
- package/westendPeople/runtime.d.ts +636 -0
- package/westendPeople/tx.d.ts +2891 -0
- package/westendPeople/types.d.ts +4984 -0
- package/aleph/rpc.d.ts +0 -727
- package/astar/rpc.d.ts +0 -974
- package/kusama/rpc.d.ts +0 -904
- package/kusamaAssetHub/rpc.d.ts +0 -746
- package/moonbeam/rpc.d.ts +0 -1015
- package/packageInfo.d.ts +0 -4
- package/packageInfo.js +0 -2
- package/packageInfo.ts +0 -3
- package/polkadot/rpc.d.ts +0 -904
- package/polkadotAssetHub/rpc.d.ts +0 -746
- package/rococo/rpc.d.ts +0 -904
- package/rococoAssetHub/rpc.d.ts +0 -746
- package/substrate/rpc.d.ts +0 -894
- package/westendAssetHub/rpc.d.ts +0 -746
package/astar/events.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainEvents, GenericPalletEvent } from '
|
|
3
|
+
import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
DispatchInfo,
|
|
6
6
|
DispatchError,
|
|
@@ -9,10 +9,10 @@ import type {
|
|
|
9
9
|
Result,
|
|
10
10
|
FixedBytes,
|
|
11
11
|
Bytes,
|
|
12
|
+
FixedU128,
|
|
12
13
|
H160,
|
|
13
14
|
U256,
|
|
14
|
-
|
|
15
|
-
} from '@dedot/codecs';
|
|
15
|
+
} from 'dedot/codecs';
|
|
16
16
|
import type {
|
|
17
17
|
PalletMultisigTimepoint,
|
|
18
18
|
AstarRuntimeProxyType,
|
|
@@ -22,10 +22,11 @@ import type {
|
|
|
22
22
|
PalletDappStakingV3Subperiod,
|
|
23
23
|
AstarPrimitivesDappStakingSmartContract,
|
|
24
24
|
PalletDappStakingV3ForcingType,
|
|
25
|
+
AstarPrimitivesOracleCurrencyId,
|
|
25
26
|
XcmV3TraitsError,
|
|
26
|
-
|
|
27
|
+
PolkadotParachainPrimitivesPrimitivesId,
|
|
27
28
|
XcmV3TraitsOutcome,
|
|
28
|
-
|
|
29
|
+
StagingXcmV3MultilocationMultiLocation,
|
|
29
30
|
XcmV3Xcm,
|
|
30
31
|
XcmV3Response,
|
|
31
32
|
XcmVersionedMultiAssets,
|
|
@@ -35,10 +36,9 @@ import type {
|
|
|
35
36
|
EthereumLog,
|
|
36
37
|
EvmCoreErrorExitReason,
|
|
37
38
|
PalletContractsOrigin,
|
|
38
|
-
PalletDappsStakingRewardDestination,
|
|
39
39
|
} from './types';
|
|
40
40
|
|
|
41
|
-
export interface ChainEvents extends GenericChainEvents {
|
|
41
|
+
export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
|
|
42
42
|
/**
|
|
43
43
|
* Pallet `System`'s events
|
|
44
44
|
**/
|
|
@@ -46,12 +46,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
46
46
|
/**
|
|
47
47
|
* An extrinsic completed successfully.
|
|
48
48
|
**/
|
|
49
|
-
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
|
|
49
|
+
ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* An extrinsic failed.
|
|
53
53
|
**/
|
|
54
54
|
ExtrinsicFailed: GenericPalletEvent<
|
|
55
|
+
Rv,
|
|
55
56
|
'System',
|
|
56
57
|
'ExtrinsicFailed',
|
|
57
58
|
{ dispatchError: DispatchError; dispatchInfo: DispatchInfo }
|
|
@@ -60,27 +61,27 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
60
61
|
/**
|
|
61
62
|
* `:code` was updated.
|
|
62
63
|
**/
|
|
63
|
-
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
64
|
+
CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
|
|
64
65
|
|
|
65
66
|
/**
|
|
66
67
|
* A new account was created.
|
|
67
68
|
**/
|
|
68
|
-
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
69
|
+
NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
|
|
69
70
|
|
|
70
71
|
/**
|
|
71
72
|
* An account was reaped.
|
|
72
73
|
**/
|
|
73
|
-
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
74
|
+
KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
|
|
74
75
|
|
|
75
76
|
/**
|
|
76
77
|
* On on-chain remark happened.
|
|
77
78
|
**/
|
|
78
|
-
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
79
|
+
Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
79
80
|
|
|
80
81
|
/**
|
|
81
82
|
* Generic pallet event
|
|
82
83
|
**/
|
|
83
|
-
[prop: string]: GenericPalletEvent
|
|
84
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
84
85
|
};
|
|
85
86
|
/**
|
|
86
87
|
* Pallet `Utility`'s events
|
|
@@ -90,37 +91,37 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
90
91
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
91
92
|
* well as the error.
|
|
92
93
|
**/
|
|
93
|
-
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
94
|
+
BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
94
95
|
|
|
95
96
|
/**
|
|
96
97
|
* Batch of dispatches completed fully with no error.
|
|
97
98
|
**/
|
|
98
|
-
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
99
|
+
BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
|
|
99
100
|
|
|
100
101
|
/**
|
|
101
102
|
* Batch of dispatches completed but has errors.
|
|
102
103
|
**/
|
|
103
|
-
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
104
|
+
BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
|
|
104
105
|
|
|
105
106
|
/**
|
|
106
107
|
* A single item within a Batch of dispatches has completed with no error.
|
|
107
108
|
**/
|
|
108
|
-
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
109
|
+
ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
|
|
109
110
|
|
|
110
111
|
/**
|
|
111
112
|
* A single item within a Batch of dispatches has completed with error.
|
|
112
113
|
**/
|
|
113
|
-
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
114
|
+
ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
114
115
|
|
|
115
116
|
/**
|
|
116
117
|
* A call was dispatched.
|
|
117
118
|
**/
|
|
118
|
-
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
119
|
+
DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
119
120
|
|
|
120
121
|
/**
|
|
121
122
|
* Generic pallet event
|
|
122
123
|
**/
|
|
123
|
-
[prop: string]: GenericPalletEvent
|
|
124
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
124
125
|
};
|
|
125
126
|
/**
|
|
126
127
|
* Pallet `Identity`'s events
|
|
@@ -129,22 +130,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
129
130
|
/**
|
|
130
131
|
* A name was set or reset (which will remove all judgements).
|
|
131
132
|
**/
|
|
132
|
-
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
|
|
133
|
+
IdentitySet: GenericPalletEvent<Rv, 'Identity', 'IdentitySet', { who: AccountId32 }>;
|
|
133
134
|
|
|
134
135
|
/**
|
|
135
136
|
* A name was cleared, and the given balance returned.
|
|
136
137
|
**/
|
|
137
|
-
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
|
|
138
|
+
IdentityCleared: GenericPalletEvent<Rv, 'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
|
|
138
139
|
|
|
139
140
|
/**
|
|
140
141
|
* A name was removed and the given balance slashed.
|
|
141
142
|
**/
|
|
142
|
-
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
|
|
143
|
+
IdentityKilled: GenericPalletEvent<Rv, 'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
|
|
143
144
|
|
|
144
145
|
/**
|
|
145
146
|
* A judgement was asked from a registrar.
|
|
146
147
|
**/
|
|
147
148
|
JudgementRequested: GenericPalletEvent<
|
|
149
|
+
Rv,
|
|
148
150
|
'Identity',
|
|
149
151
|
'JudgementRequested',
|
|
150
152
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -154,6 +156,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
154
156
|
* A judgement request was retracted.
|
|
155
157
|
**/
|
|
156
158
|
JudgementUnrequested: GenericPalletEvent<
|
|
159
|
+
Rv,
|
|
157
160
|
'Identity',
|
|
158
161
|
'JudgementUnrequested',
|
|
159
162
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -162,17 +165,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
162
165
|
/**
|
|
163
166
|
* A judgement was given by a registrar.
|
|
164
167
|
**/
|
|
165
|
-
JudgementGiven: GenericPalletEvent<
|
|
168
|
+
JudgementGiven: GenericPalletEvent<
|
|
169
|
+
Rv,
|
|
170
|
+
'Identity',
|
|
171
|
+
'JudgementGiven',
|
|
172
|
+
{ target: AccountId32; registrarIndex: number }
|
|
173
|
+
>;
|
|
166
174
|
|
|
167
175
|
/**
|
|
168
176
|
* A registrar was added.
|
|
169
177
|
**/
|
|
170
|
-
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
|
|
178
|
+
RegistrarAdded: GenericPalletEvent<Rv, 'Identity', 'RegistrarAdded', { registrarIndex: number }>;
|
|
171
179
|
|
|
172
180
|
/**
|
|
173
181
|
* A sub-identity was added to an identity and the deposit paid.
|
|
174
182
|
**/
|
|
175
183
|
SubIdentityAdded: GenericPalletEvent<
|
|
184
|
+
Rv,
|
|
176
185
|
'Identity',
|
|
177
186
|
'SubIdentityAdded',
|
|
178
187
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -182,6 +191,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
182
191
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
183
192
|
**/
|
|
184
193
|
SubIdentityRemoved: GenericPalletEvent<
|
|
194
|
+
Rv,
|
|
185
195
|
'Identity',
|
|
186
196
|
'SubIdentityRemoved',
|
|
187
197
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -192,6 +202,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
192
202
|
* main identity account to the sub-identity account.
|
|
193
203
|
**/
|
|
194
204
|
SubIdentityRevoked: GenericPalletEvent<
|
|
205
|
+
Rv,
|
|
195
206
|
'Identity',
|
|
196
207
|
'SubIdentityRevoked',
|
|
197
208
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -200,7 +211,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
200
211
|
/**
|
|
201
212
|
* Generic pallet event
|
|
202
213
|
**/
|
|
203
|
-
[prop: string]: GenericPalletEvent
|
|
214
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
204
215
|
};
|
|
205
216
|
/**
|
|
206
217
|
* Pallet `Multisig`'s events
|
|
@@ -210,6 +221,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
210
221
|
* A new multisig operation has begun.
|
|
211
222
|
**/
|
|
212
223
|
NewMultisig: GenericPalletEvent<
|
|
224
|
+
Rv,
|
|
213
225
|
'Multisig',
|
|
214
226
|
'NewMultisig',
|
|
215
227
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -219,6 +231,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
219
231
|
* A multisig operation has been approved by someone.
|
|
220
232
|
**/
|
|
221
233
|
MultisigApproval: GenericPalletEvent<
|
|
234
|
+
Rv,
|
|
222
235
|
'Multisig',
|
|
223
236
|
'MultisigApproval',
|
|
224
237
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -228,6 +241,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
228
241
|
* A multisig operation has been executed.
|
|
229
242
|
**/
|
|
230
243
|
MultisigExecuted: GenericPalletEvent<
|
|
244
|
+
Rv,
|
|
231
245
|
'Multisig',
|
|
232
246
|
'MultisigExecuted',
|
|
233
247
|
{
|
|
@@ -243,6 +257,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
243
257
|
* A multisig operation has been cancelled.
|
|
244
258
|
**/
|
|
245
259
|
MultisigCancelled: GenericPalletEvent<
|
|
260
|
+
Rv,
|
|
246
261
|
'Multisig',
|
|
247
262
|
'MultisigCancelled',
|
|
248
263
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -251,7 +266,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
251
266
|
/**
|
|
252
267
|
* Generic pallet event
|
|
253
268
|
**/
|
|
254
|
-
[prop: string]: GenericPalletEvent
|
|
269
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
255
270
|
};
|
|
256
271
|
/**
|
|
257
272
|
* Pallet `Proxy`'s events
|
|
@@ -260,13 +275,14 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
260
275
|
/**
|
|
261
276
|
* A proxy was executed correctly, with the given.
|
|
262
277
|
**/
|
|
263
|
-
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
278
|
+
ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
264
279
|
|
|
265
280
|
/**
|
|
266
281
|
* A pure account has been created by new proxy with given
|
|
267
282
|
* disambiguation index and proxy type.
|
|
268
283
|
**/
|
|
269
284
|
PureCreated: GenericPalletEvent<
|
|
285
|
+
Rv,
|
|
270
286
|
'Proxy',
|
|
271
287
|
'PureCreated',
|
|
272
288
|
{ pure: AccountId32; who: AccountId32; proxyType: AstarRuntimeProxyType; disambiguationIndex: number }
|
|
@@ -275,12 +291,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
275
291
|
/**
|
|
276
292
|
* An announcement was placed to make a call in the future.
|
|
277
293
|
**/
|
|
278
|
-
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
294
|
+
Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
279
295
|
|
|
280
296
|
/**
|
|
281
297
|
* A proxy was added.
|
|
282
298
|
**/
|
|
283
299
|
ProxyAdded: GenericPalletEvent<
|
|
300
|
+
Rv,
|
|
284
301
|
'Proxy',
|
|
285
302
|
'ProxyAdded',
|
|
286
303
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AstarRuntimeProxyType; delay: number }
|
|
@@ -290,6 +307,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
290
307
|
* A proxy was removed.
|
|
291
308
|
**/
|
|
292
309
|
ProxyRemoved: GenericPalletEvent<
|
|
310
|
+
Rv,
|
|
293
311
|
'Proxy',
|
|
294
312
|
'ProxyRemoved',
|
|
295
313
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AstarRuntimeProxyType; delay: number }
|
|
@@ -298,7 +316,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
298
316
|
/**
|
|
299
317
|
* Generic pallet event
|
|
300
318
|
**/
|
|
301
|
-
[prop: string]: GenericPalletEvent
|
|
319
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
302
320
|
};
|
|
303
321
|
/**
|
|
304
322
|
* Pallet `ParachainSystem`'s events
|
|
@@ -307,12 +325,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
307
325
|
/**
|
|
308
326
|
* The validation function has been scheduled to apply.
|
|
309
327
|
**/
|
|
310
|
-
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
328
|
+
ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
311
329
|
|
|
312
330
|
/**
|
|
313
331
|
* The validation function was applied as of the contained relay chain block number.
|
|
314
332
|
**/
|
|
315
333
|
ValidationFunctionApplied: GenericPalletEvent<
|
|
334
|
+
Rv,
|
|
316
335
|
'ParachainSystem',
|
|
317
336
|
'ValidationFunctionApplied',
|
|
318
337
|
{ relayChainBlockNum: number }
|
|
@@ -321,22 +340,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
321
340
|
/**
|
|
322
341
|
* The relay-chain aborted the upgrade process.
|
|
323
342
|
**/
|
|
324
|
-
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
343
|
+
ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
325
344
|
|
|
326
345
|
/**
|
|
327
346
|
* An upgrade has been authorized.
|
|
328
347
|
**/
|
|
329
|
-
UpgradeAuthorized: GenericPalletEvent<'ParachainSystem', 'UpgradeAuthorized', { codeHash: H256 }>;
|
|
348
|
+
UpgradeAuthorized: GenericPalletEvent<Rv, 'ParachainSystem', 'UpgradeAuthorized', { codeHash: H256 }>;
|
|
330
349
|
|
|
331
350
|
/**
|
|
332
351
|
* Some downward messages have been received and will be processed.
|
|
333
352
|
**/
|
|
334
|
-
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
353
|
+
DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
335
354
|
|
|
336
355
|
/**
|
|
337
356
|
* Downward messages were processed using the given weight.
|
|
338
357
|
**/
|
|
339
358
|
DownwardMessagesProcessed: GenericPalletEvent<
|
|
359
|
+
Rv,
|
|
340
360
|
'ParachainSystem',
|
|
341
361
|
'DownwardMessagesProcessed',
|
|
342
362
|
{ weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
|
|
@@ -346,6 +366,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
346
366
|
* An upward message was sent to the relay chain.
|
|
347
367
|
**/
|
|
348
368
|
UpwardMessageSent: GenericPalletEvent<
|
|
369
|
+
Rv,
|
|
349
370
|
'ParachainSystem',
|
|
350
371
|
'UpwardMessageSent',
|
|
351
372
|
{ messageHash?: FixedBytes<32> | undefined }
|
|
@@ -354,7 +375,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
354
375
|
/**
|
|
355
376
|
* Generic pallet event
|
|
356
377
|
**/
|
|
357
|
-
[prop: string]: GenericPalletEvent
|
|
378
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
358
379
|
};
|
|
359
380
|
/**
|
|
360
381
|
* Pallet `TransactionPayment`'s events
|
|
@@ -365,6 +386,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
365
386
|
* has been paid by `who`.
|
|
366
387
|
**/
|
|
367
388
|
TransactionFeePaid: GenericPalletEvent<
|
|
389
|
+
Rv,
|
|
368
390
|
'TransactionPayment',
|
|
369
391
|
'TransactionFeePaid',
|
|
370
392
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -373,7 +395,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
373
395
|
/**
|
|
374
396
|
* Generic pallet event
|
|
375
397
|
**/
|
|
376
|
-
[prop: string]: GenericPalletEvent
|
|
398
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
377
399
|
};
|
|
378
400
|
/**
|
|
379
401
|
* Pallet `Balances`'s events
|
|
@@ -382,39 +404,40 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
382
404
|
/**
|
|
383
405
|
* An account was created with some free balance.
|
|
384
406
|
**/
|
|
385
|
-
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
407
|
+
Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
386
408
|
|
|
387
409
|
/**
|
|
388
410
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
389
411
|
* resulting in an outright loss.
|
|
390
412
|
**/
|
|
391
|
-
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
413
|
+
DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
392
414
|
|
|
393
415
|
/**
|
|
394
416
|
* Transfer succeeded.
|
|
395
417
|
**/
|
|
396
|
-
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
418
|
+
Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
397
419
|
|
|
398
420
|
/**
|
|
399
421
|
* A balance was set by root.
|
|
400
422
|
**/
|
|
401
|
-
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
423
|
+
BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
402
424
|
|
|
403
425
|
/**
|
|
404
426
|
* Some balance was reserved (moved from free to reserved).
|
|
405
427
|
**/
|
|
406
|
-
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
428
|
+
Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
407
429
|
|
|
408
430
|
/**
|
|
409
431
|
* Some balance was unreserved (moved from reserved to free).
|
|
410
432
|
**/
|
|
411
|
-
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
433
|
+
Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
412
434
|
|
|
413
435
|
/**
|
|
414
436
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
415
437
|
* Final argument indicates the destination balance type.
|
|
416
438
|
**/
|
|
417
439
|
ReserveRepatriated: GenericPalletEvent<
|
|
440
|
+
Rv,
|
|
418
441
|
'Balances',
|
|
419
442
|
'ReserveRepatriated',
|
|
420
443
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -423,77 +446,77 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
423
446
|
/**
|
|
424
447
|
* Some amount was deposited (e.g. for transaction fees).
|
|
425
448
|
**/
|
|
426
|
-
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
449
|
+
Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
427
450
|
|
|
428
451
|
/**
|
|
429
452
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
430
453
|
**/
|
|
431
|
-
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
454
|
+
Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
432
455
|
|
|
433
456
|
/**
|
|
434
457
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
435
458
|
**/
|
|
436
|
-
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
459
|
+
Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
437
460
|
|
|
438
461
|
/**
|
|
439
462
|
* Some amount was minted into an account.
|
|
440
463
|
**/
|
|
441
|
-
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
464
|
+
Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
442
465
|
|
|
443
466
|
/**
|
|
444
467
|
* Some amount was burned from an account.
|
|
445
468
|
**/
|
|
446
|
-
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
469
|
+
Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
447
470
|
|
|
448
471
|
/**
|
|
449
472
|
* Some amount was suspended from an account (it can be restored later).
|
|
450
473
|
**/
|
|
451
|
-
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
474
|
+
Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
452
475
|
|
|
453
476
|
/**
|
|
454
477
|
* Some amount was restored into an account.
|
|
455
478
|
**/
|
|
456
|
-
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
479
|
+
Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
457
480
|
|
|
458
481
|
/**
|
|
459
482
|
* An account was upgraded.
|
|
460
483
|
**/
|
|
461
|
-
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
484
|
+
Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
462
485
|
|
|
463
486
|
/**
|
|
464
487
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
465
488
|
**/
|
|
466
|
-
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
489
|
+
Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
|
|
467
490
|
|
|
468
491
|
/**
|
|
469
492
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
470
493
|
**/
|
|
471
|
-
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
494
|
+
Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
|
|
472
495
|
|
|
473
496
|
/**
|
|
474
497
|
* Some balance was locked.
|
|
475
498
|
**/
|
|
476
|
-
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
499
|
+
Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
477
500
|
|
|
478
501
|
/**
|
|
479
502
|
* Some balance was unlocked.
|
|
480
503
|
**/
|
|
481
|
-
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
504
|
+
Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
482
505
|
|
|
483
506
|
/**
|
|
484
507
|
* Some balance was frozen.
|
|
485
508
|
**/
|
|
486
|
-
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
509
|
+
Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
487
510
|
|
|
488
511
|
/**
|
|
489
512
|
* Some balance was thawed.
|
|
490
513
|
**/
|
|
491
|
-
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
514
|
+
Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
492
515
|
|
|
493
516
|
/**
|
|
494
517
|
* Generic pallet event
|
|
495
518
|
**/
|
|
496
|
-
[prop: string]: GenericPalletEvent
|
|
519
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
497
520
|
};
|
|
498
521
|
/**
|
|
499
522
|
* Pallet `Vesting`'s events
|
|
@@ -503,17 +526,17 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
503
526
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
504
527
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
505
528
|
**/
|
|
506
|
-
VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
529
|
+
VestingUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
507
530
|
|
|
508
531
|
/**
|
|
509
532
|
* An \[account\] has become fully vested.
|
|
510
533
|
**/
|
|
511
|
-
VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
534
|
+
VestingCompleted: GenericPalletEvent<Rv, 'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
512
535
|
|
|
513
536
|
/**
|
|
514
537
|
* Generic pallet event
|
|
515
538
|
**/
|
|
516
|
-
[prop: string]: GenericPalletEvent
|
|
539
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
517
540
|
};
|
|
518
541
|
/**
|
|
519
542
|
* Pallet `Inflation`'s events
|
|
@@ -522,12 +545,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
522
545
|
/**
|
|
523
546
|
* Inflation parameters have been force changed. This will have effect on the next inflation recalculation.
|
|
524
547
|
**/
|
|
525
|
-
InflationParametersForceChanged: GenericPalletEvent<'Inflation', 'InflationParametersForceChanged', null>;
|
|
548
|
+
InflationParametersForceChanged: GenericPalletEvent<Rv, 'Inflation', 'InflationParametersForceChanged', null>;
|
|
526
549
|
|
|
527
550
|
/**
|
|
528
551
|
* Inflation configuration has been force changed. This will have an immediate effect from this block.
|
|
529
552
|
**/
|
|
530
553
|
InflationConfigurationForceChanged: GenericPalletEvent<
|
|
554
|
+
Rv,
|
|
531
555
|
'Inflation',
|
|
532
556
|
'InflationConfigurationForceChanged',
|
|
533
557
|
{ config: PalletInflationInflationConfiguration }
|
|
@@ -537,6 +561,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
537
561
|
* Inflation recalculation has been forced.
|
|
538
562
|
**/
|
|
539
563
|
ForcedInflationRecalculation: GenericPalletEvent<
|
|
564
|
+
Rv,
|
|
540
565
|
'Inflation',
|
|
541
566
|
'ForcedInflationRecalculation',
|
|
542
567
|
{ config: PalletInflationInflationConfiguration }
|
|
@@ -546,6 +571,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
546
571
|
* New inflation configuration has been set.
|
|
547
572
|
**/
|
|
548
573
|
NewInflationConfiguration: GenericPalletEvent<
|
|
574
|
+
Rv,
|
|
549
575
|
'Inflation',
|
|
550
576
|
'NewInflationConfiguration',
|
|
551
577
|
{ config: PalletInflationInflationConfiguration }
|
|
@@ -554,7 +580,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
554
580
|
/**
|
|
555
581
|
* Generic pallet event
|
|
556
582
|
**/
|
|
557
|
-
[prop: string]: GenericPalletEvent
|
|
583
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
558
584
|
};
|
|
559
585
|
/**
|
|
560
586
|
* Pallet `DappStaking`'s events
|
|
@@ -563,17 +589,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
563
589
|
/**
|
|
564
590
|
* Maintenance mode has been either enabled or disabled.
|
|
565
591
|
**/
|
|
566
|
-
MaintenanceMode: GenericPalletEvent<'DappStaking', 'MaintenanceMode', { enabled: boolean }>;
|
|
592
|
+
MaintenanceMode: GenericPalletEvent<Rv, 'DappStaking', 'MaintenanceMode', { enabled: boolean }>;
|
|
567
593
|
|
|
568
594
|
/**
|
|
569
595
|
* New era has started.
|
|
570
596
|
**/
|
|
571
|
-
NewEra: GenericPalletEvent<'DappStaking', 'NewEra', { era: number }>;
|
|
597
|
+
NewEra: GenericPalletEvent<Rv, 'DappStaking', 'NewEra', { era: number }>;
|
|
572
598
|
|
|
573
599
|
/**
|
|
574
600
|
* New subperiod has started.
|
|
575
601
|
**/
|
|
576
602
|
NewSubperiod: GenericPalletEvent<
|
|
603
|
+
Rv,
|
|
577
604
|
'DappStaking',
|
|
578
605
|
'NewSubperiod',
|
|
579
606
|
{ subperiod: PalletDappStakingV3Subperiod; number: number }
|
|
@@ -583,6 +610,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
583
610
|
* A smart contract has been registered for dApp staking
|
|
584
611
|
**/
|
|
585
612
|
DAppRegistered: GenericPalletEvent<
|
|
613
|
+
Rv,
|
|
586
614
|
'DappStaking',
|
|
587
615
|
'DAppRegistered',
|
|
588
616
|
{ owner: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; dappId: number }
|
|
@@ -592,6 +620,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
592
620
|
* dApp reward destination has been updated.
|
|
593
621
|
**/
|
|
594
622
|
DAppRewardDestinationUpdated: GenericPalletEvent<
|
|
623
|
+
Rv,
|
|
595
624
|
'DappStaking',
|
|
596
625
|
'DAppRewardDestinationUpdated',
|
|
597
626
|
{ smartContract: AstarPrimitivesDappStakingSmartContract; beneficiary?: AccountId32 | undefined }
|
|
@@ -601,6 +630,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
601
630
|
* dApp owner has been changed.
|
|
602
631
|
**/
|
|
603
632
|
DAppOwnerChanged: GenericPalletEvent<
|
|
633
|
+
Rv,
|
|
604
634
|
'DappStaking',
|
|
605
635
|
'DAppOwnerChanged',
|
|
606
636
|
{ smartContract: AstarPrimitivesDappStakingSmartContract; newOwner: AccountId32 }
|
|
@@ -610,6 +640,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
610
640
|
* dApp has been unregistered
|
|
611
641
|
**/
|
|
612
642
|
DAppUnregistered: GenericPalletEvent<
|
|
643
|
+
Rv,
|
|
613
644
|
'DappStaking',
|
|
614
645
|
'DAppUnregistered',
|
|
615
646
|
{ smartContract: AstarPrimitivesDappStakingSmartContract; era: number }
|
|
@@ -618,27 +649,28 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
618
649
|
/**
|
|
619
650
|
* Account has locked some amount into dApp staking.
|
|
620
651
|
**/
|
|
621
|
-
Locked: GenericPalletEvent<'DappStaking', 'Locked', { account: AccountId32; amount: bigint }>;
|
|
652
|
+
Locked: GenericPalletEvent<Rv, 'DappStaking', 'Locked', { account: AccountId32; amount: bigint }>;
|
|
622
653
|
|
|
623
654
|
/**
|
|
624
655
|
* Account has started the unlocking process for some amount.
|
|
625
656
|
**/
|
|
626
|
-
Unlocking: GenericPalletEvent<'DappStaking', 'Unlocking', { account: AccountId32; amount: bigint }>;
|
|
657
|
+
Unlocking: GenericPalletEvent<Rv, 'DappStaking', 'Unlocking', { account: AccountId32; amount: bigint }>;
|
|
627
658
|
|
|
628
659
|
/**
|
|
629
660
|
* Account has claimed unlocked amount, removing the lock from it.
|
|
630
661
|
**/
|
|
631
|
-
ClaimedUnlocked: GenericPalletEvent<'DappStaking', 'ClaimedUnlocked', { account: AccountId32; amount: bigint }>;
|
|
662
|
+
ClaimedUnlocked: GenericPalletEvent<Rv, 'DappStaking', 'ClaimedUnlocked', { account: AccountId32; amount: bigint }>;
|
|
632
663
|
|
|
633
664
|
/**
|
|
634
665
|
* Account has relocked all of the unlocking chunks.
|
|
635
666
|
**/
|
|
636
|
-
Relock: GenericPalletEvent<'DappStaking', 'Relock', { account: AccountId32; amount: bigint }>;
|
|
667
|
+
Relock: GenericPalletEvent<Rv, 'DappStaking', 'Relock', { account: AccountId32; amount: bigint }>;
|
|
637
668
|
|
|
638
669
|
/**
|
|
639
670
|
* Account has staked some amount on a smart contract.
|
|
640
671
|
**/
|
|
641
672
|
Stake: GenericPalletEvent<
|
|
673
|
+
Rv,
|
|
642
674
|
'DappStaking',
|
|
643
675
|
'Stake',
|
|
644
676
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
|
|
@@ -648,6 +680,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
648
680
|
* Account has unstaked some amount from a smart contract.
|
|
649
681
|
**/
|
|
650
682
|
Unstake: GenericPalletEvent<
|
|
683
|
+
Rv,
|
|
651
684
|
'DappStaking',
|
|
652
685
|
'Unstake',
|
|
653
686
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
|
|
@@ -656,12 +689,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
656
689
|
/**
|
|
657
690
|
* Account has claimed some stake rewards.
|
|
658
691
|
**/
|
|
659
|
-
Reward: GenericPalletEvent<'DappStaking', 'Reward', { account: AccountId32; era: number; amount: bigint }>;
|
|
692
|
+
Reward: GenericPalletEvent<Rv, 'DappStaking', 'Reward', { account: AccountId32; era: number; amount: bigint }>;
|
|
660
693
|
|
|
661
694
|
/**
|
|
662
695
|
* Bonus reward has been paid out to a loyal staker.
|
|
663
696
|
**/
|
|
664
697
|
BonusReward: GenericPalletEvent<
|
|
698
|
+
Rv,
|
|
665
699
|
'DappStaking',
|
|
666
700
|
'BonusReward',
|
|
667
701
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; period: number; amount: bigint }
|
|
@@ -671,12 +705,14 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
671
705
|
* dApp reward has been paid out to a beneficiary.
|
|
672
706
|
**/
|
|
673
707
|
DAppReward: GenericPalletEvent<
|
|
708
|
+
Rv,
|
|
674
709
|
'DappStaking',
|
|
675
710
|
'DAppReward',
|
|
676
711
|
{
|
|
677
712
|
beneficiary: AccountId32;
|
|
678
713
|
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
679
714
|
tierId: number;
|
|
715
|
+
rank: number;
|
|
680
716
|
era: number;
|
|
681
717
|
amount: bigint;
|
|
682
718
|
}
|
|
@@ -686,6 +722,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
686
722
|
* Account has unstaked funds from an unregistered smart contract
|
|
687
723
|
**/
|
|
688
724
|
UnstakeFromUnregistered: GenericPalletEvent<
|
|
725
|
+
Rv,
|
|
689
726
|
'DappStaking',
|
|
690
727
|
'UnstakeFromUnregistered',
|
|
691
728
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
|
|
@@ -695,6 +732,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
695
732
|
* Some expired stake entries have been removed from storage.
|
|
696
733
|
**/
|
|
697
734
|
ExpiredEntriesRemoved: GenericPalletEvent<
|
|
735
|
+
Rv,
|
|
698
736
|
'DappStaking',
|
|
699
737
|
'ExpiredEntriesRemoved',
|
|
700
738
|
{ account: AccountId32; count: number }
|
|
@@ -703,12 +741,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
703
741
|
/**
|
|
704
742
|
* Privileged origin has forced a new era and possibly a subperiod to start from next block.
|
|
705
743
|
**/
|
|
706
|
-
Force: GenericPalletEvent<'DappStaking', 'Force', { forcingType: PalletDappStakingV3ForcingType }>;
|
|
744
|
+
Force: GenericPalletEvent<Rv, 'DappStaking', 'Force', { forcingType: PalletDappStakingV3ForcingType }>;
|
|
707
745
|
|
|
708
746
|
/**
|
|
709
747
|
* Generic pallet event
|
|
710
748
|
**/
|
|
711
|
-
[prop: string]: GenericPalletEvent
|
|
749
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
712
750
|
};
|
|
713
751
|
/**
|
|
714
752
|
* Pallet `Assets`'s events
|
|
@@ -717,17 +755,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
717
755
|
/**
|
|
718
756
|
* Some asset class was created.
|
|
719
757
|
**/
|
|
720
|
-
Created: GenericPalletEvent<'Assets', 'Created', { assetId: bigint; creator: AccountId32; owner: AccountId32 }>;
|
|
758
|
+
Created: GenericPalletEvent<Rv, 'Assets', 'Created', { assetId: bigint; creator: AccountId32; owner: AccountId32 }>;
|
|
721
759
|
|
|
722
760
|
/**
|
|
723
761
|
* Some assets were issued.
|
|
724
762
|
**/
|
|
725
|
-
Issued: GenericPalletEvent<'Assets', 'Issued', { assetId: bigint; owner: AccountId32; amount: bigint }>;
|
|
763
|
+
Issued: GenericPalletEvent<Rv, 'Assets', 'Issued', { assetId: bigint; owner: AccountId32; amount: bigint }>;
|
|
726
764
|
|
|
727
765
|
/**
|
|
728
766
|
* Some assets were transferred.
|
|
729
767
|
**/
|
|
730
768
|
Transferred: GenericPalletEvent<
|
|
769
|
+
Rv,
|
|
731
770
|
'Assets',
|
|
732
771
|
'Transferred',
|
|
733
772
|
{ assetId: bigint; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -736,12 +775,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
736
775
|
/**
|
|
737
776
|
* Some assets were destroyed.
|
|
738
777
|
**/
|
|
739
|
-
Burned: GenericPalletEvent<'Assets', 'Burned', { assetId: bigint; owner: AccountId32; balance: bigint }>;
|
|
778
|
+
Burned: GenericPalletEvent<Rv, 'Assets', 'Burned', { assetId: bigint; owner: AccountId32; balance: bigint }>;
|
|
740
779
|
|
|
741
780
|
/**
|
|
742
781
|
* The management team changed.
|
|
743
782
|
**/
|
|
744
783
|
TeamChanged: GenericPalletEvent<
|
|
784
|
+
Rv,
|
|
745
785
|
'Assets',
|
|
746
786
|
'TeamChanged',
|
|
747
787
|
{ assetId: bigint; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -750,32 +790,33 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
750
790
|
/**
|
|
751
791
|
* The owner changed.
|
|
752
792
|
**/
|
|
753
|
-
OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: bigint; owner: AccountId32 }>;
|
|
793
|
+
OwnerChanged: GenericPalletEvent<Rv, 'Assets', 'OwnerChanged', { assetId: bigint; owner: AccountId32 }>;
|
|
754
794
|
|
|
755
795
|
/**
|
|
756
796
|
* Some account `who` was frozen.
|
|
757
797
|
**/
|
|
758
|
-
Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: bigint; who: AccountId32 }>;
|
|
798
|
+
Frozen: GenericPalletEvent<Rv, 'Assets', 'Frozen', { assetId: bigint; who: AccountId32 }>;
|
|
759
799
|
|
|
760
800
|
/**
|
|
761
801
|
* Some account `who` was thawed.
|
|
762
802
|
**/
|
|
763
|
-
Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: bigint; who: AccountId32 }>;
|
|
803
|
+
Thawed: GenericPalletEvent<Rv, 'Assets', 'Thawed', { assetId: bigint; who: AccountId32 }>;
|
|
764
804
|
|
|
765
805
|
/**
|
|
766
806
|
* Some asset `asset_id` was frozen.
|
|
767
807
|
**/
|
|
768
|
-
AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: bigint }>;
|
|
808
|
+
AssetFrozen: GenericPalletEvent<Rv, 'Assets', 'AssetFrozen', { assetId: bigint }>;
|
|
769
809
|
|
|
770
810
|
/**
|
|
771
811
|
* Some asset `asset_id` was thawed.
|
|
772
812
|
**/
|
|
773
|
-
AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: bigint }>;
|
|
813
|
+
AssetThawed: GenericPalletEvent<Rv, 'Assets', 'AssetThawed', { assetId: bigint }>;
|
|
774
814
|
|
|
775
815
|
/**
|
|
776
816
|
* Accounts were destroyed for given asset.
|
|
777
817
|
**/
|
|
778
818
|
AccountsDestroyed: GenericPalletEvent<
|
|
819
|
+
Rv,
|
|
779
820
|
'Assets',
|
|
780
821
|
'AccountsDestroyed',
|
|
781
822
|
{ assetId: bigint; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -785,6 +826,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
785
826
|
* Approvals were destroyed for given asset.
|
|
786
827
|
**/
|
|
787
828
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
829
|
+
Rv,
|
|
788
830
|
'Assets',
|
|
789
831
|
'ApprovalsDestroyed',
|
|
790
832
|
{ assetId: bigint; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -793,22 +835,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
793
835
|
/**
|
|
794
836
|
* An asset class is in the process of being destroyed.
|
|
795
837
|
**/
|
|
796
|
-
DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: bigint }>;
|
|
838
|
+
DestructionStarted: GenericPalletEvent<Rv, 'Assets', 'DestructionStarted', { assetId: bigint }>;
|
|
797
839
|
|
|
798
840
|
/**
|
|
799
841
|
* An asset class was destroyed.
|
|
800
842
|
**/
|
|
801
|
-
Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: bigint }>;
|
|
843
|
+
Destroyed: GenericPalletEvent<Rv, 'Assets', 'Destroyed', { assetId: bigint }>;
|
|
802
844
|
|
|
803
845
|
/**
|
|
804
846
|
* Some asset class was force-created.
|
|
805
847
|
**/
|
|
806
|
-
ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: bigint; owner: AccountId32 }>;
|
|
848
|
+
ForceCreated: GenericPalletEvent<Rv, 'Assets', 'ForceCreated', { assetId: bigint; owner: AccountId32 }>;
|
|
807
849
|
|
|
808
850
|
/**
|
|
809
851
|
* New metadata has been set for an asset.
|
|
810
852
|
**/
|
|
811
853
|
MetadataSet: GenericPalletEvent<
|
|
854
|
+
Rv,
|
|
812
855
|
'Assets',
|
|
813
856
|
'MetadataSet',
|
|
814
857
|
{ assetId: bigint; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
@@ -817,12 +860,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
817
860
|
/**
|
|
818
861
|
* Metadata has been cleared for an asset.
|
|
819
862
|
**/
|
|
820
|
-
MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: bigint }>;
|
|
863
|
+
MetadataCleared: GenericPalletEvent<Rv, 'Assets', 'MetadataCleared', { assetId: bigint }>;
|
|
821
864
|
|
|
822
865
|
/**
|
|
823
866
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
824
867
|
**/
|
|
825
868
|
ApprovedTransfer: GenericPalletEvent<
|
|
869
|
+
Rv,
|
|
826
870
|
'Assets',
|
|
827
871
|
'ApprovedTransfer',
|
|
828
872
|
{ assetId: bigint; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -832,6 +876,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
832
876
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
833
877
|
**/
|
|
834
878
|
ApprovalCancelled: GenericPalletEvent<
|
|
879
|
+
Rv,
|
|
835
880
|
'Assets',
|
|
836
881
|
'ApprovalCancelled',
|
|
837
882
|
{ assetId: bigint; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -842,6 +887,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
842
887
|
* the approved `delegate`.
|
|
843
888
|
**/
|
|
844
889
|
TransferredApproved: GenericPalletEvent<
|
|
890
|
+
Rv,
|
|
845
891
|
'Assets',
|
|
846
892
|
'TransferredApproved',
|
|
847
893
|
{ assetId: bigint; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
|
|
@@ -850,12 +896,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
850
896
|
/**
|
|
851
897
|
* An asset has had its attributes changed by the `Force` origin.
|
|
852
898
|
**/
|
|
853
|
-
AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: bigint }>;
|
|
899
|
+
AssetStatusChanged: GenericPalletEvent<Rv, 'Assets', 'AssetStatusChanged', { assetId: bigint }>;
|
|
854
900
|
|
|
855
901
|
/**
|
|
856
902
|
* The min_balance of an asset has been updated by the asset owner.
|
|
857
903
|
**/
|
|
858
904
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
905
|
+
Rv,
|
|
859
906
|
'Assets',
|
|
860
907
|
'AssetMinBalanceChanged',
|
|
861
908
|
{ assetId: bigint; newMinBalance: bigint }
|
|
@@ -864,33 +911,105 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
864
911
|
/**
|
|
865
912
|
* Some account `who` was created with a deposit from `depositor`.
|
|
866
913
|
**/
|
|
867
|
-
Touched: GenericPalletEvent<'Assets', 'Touched', { assetId: bigint; who: AccountId32; depositor: AccountId32 }>;
|
|
914
|
+
Touched: GenericPalletEvent<Rv, 'Assets', 'Touched', { assetId: bigint; who: AccountId32; depositor: AccountId32 }>;
|
|
868
915
|
|
|
869
916
|
/**
|
|
870
917
|
* Some account `who` was blocked.
|
|
871
918
|
**/
|
|
872
|
-
Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: bigint; who: AccountId32 }>;
|
|
919
|
+
Blocked: GenericPalletEvent<Rv, 'Assets', 'Blocked', { assetId: bigint; who: AccountId32 }>;
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Generic pallet event
|
|
923
|
+
**/
|
|
924
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
925
|
+
};
|
|
926
|
+
/**
|
|
927
|
+
* Pallet `PriceAggregator`'s events
|
|
928
|
+
**/
|
|
929
|
+
priceAggregator: {
|
|
930
|
+
/**
|
|
931
|
+
* New average native currency value has been calculated and pushed into the moving average buffer.
|
|
932
|
+
**/
|
|
933
|
+
AverageAggregatedValue: GenericPalletEvent<Rv, 'PriceAggregator', 'AverageAggregatedValue', { value: FixedU128 }>;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Generic pallet event
|
|
937
|
+
**/
|
|
938
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
939
|
+
};
|
|
940
|
+
/**
|
|
941
|
+
* Pallet `Oracle`'s events
|
|
942
|
+
**/
|
|
943
|
+
oracle: {
|
|
944
|
+
/**
|
|
945
|
+
* New feed data is submitted.
|
|
946
|
+
**/
|
|
947
|
+
NewFeedData: GenericPalletEvent<
|
|
948
|
+
Rv,
|
|
949
|
+
'Oracle',
|
|
950
|
+
'NewFeedData',
|
|
951
|
+
{ sender: AccountId32; values: Array<[AstarPrimitivesOracleCurrencyId, FixedU128]> }
|
|
952
|
+
>;
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Generic pallet event
|
|
956
|
+
**/
|
|
957
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* Pallet `OracleMembership`'s events
|
|
961
|
+
**/
|
|
962
|
+
oracleMembership: {
|
|
963
|
+
/**
|
|
964
|
+
* The given member was added; see the transaction for who.
|
|
965
|
+
**/
|
|
966
|
+
MemberAdded: GenericPalletEvent<Rv, 'OracleMembership', 'MemberAdded', undefined>;
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* The given member was removed; see the transaction for who.
|
|
970
|
+
**/
|
|
971
|
+
MemberRemoved: GenericPalletEvent<Rv, 'OracleMembership', 'MemberRemoved', undefined>;
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Two members were swapped; see the transaction for who.
|
|
975
|
+
**/
|
|
976
|
+
MembersSwapped: GenericPalletEvent<Rv, 'OracleMembership', 'MembersSwapped', undefined>;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* The membership was reset; see the transaction for who the new set is.
|
|
980
|
+
**/
|
|
981
|
+
MembersReset: GenericPalletEvent<Rv, 'OracleMembership', 'MembersReset', undefined>;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* One of the members' keys changed.
|
|
985
|
+
**/
|
|
986
|
+
KeyChanged: GenericPalletEvent<Rv, 'OracleMembership', 'KeyChanged', undefined>;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Phantom member, never used.
|
|
990
|
+
**/
|
|
991
|
+
Dummy: GenericPalletEvent<Rv, 'OracleMembership', 'Dummy', undefined>;
|
|
873
992
|
|
|
874
993
|
/**
|
|
875
994
|
* Generic pallet event
|
|
876
995
|
**/
|
|
877
|
-
[prop: string]: GenericPalletEvent
|
|
996
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
878
997
|
};
|
|
879
998
|
/**
|
|
880
999
|
* Pallet `CollatorSelection`'s events
|
|
881
1000
|
**/
|
|
882
1001
|
collatorSelection: {
|
|
883
|
-
NewInvulnerables: GenericPalletEvent<'CollatorSelection', 'NewInvulnerables', Array<AccountId32>>;
|
|
884
|
-
NewDesiredCandidates: GenericPalletEvent<'CollatorSelection', 'NewDesiredCandidates', number>;
|
|
885
|
-
NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', bigint>;
|
|
886
|
-
CandidateAdded: GenericPalletEvent<'CollatorSelection', 'CandidateAdded', [AccountId32, bigint]>;
|
|
887
|
-
CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', AccountId32>;
|
|
888
|
-
CandidateSlashed: GenericPalletEvent<'CollatorSelection', 'CandidateSlashed', AccountId32>;
|
|
1002
|
+
NewInvulnerables: GenericPalletEvent<Rv, 'CollatorSelection', 'NewInvulnerables', Array<AccountId32>>;
|
|
1003
|
+
NewDesiredCandidates: GenericPalletEvent<Rv, 'CollatorSelection', 'NewDesiredCandidates', number>;
|
|
1004
|
+
NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', bigint>;
|
|
1005
|
+
CandidateAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateAdded', [AccountId32, bigint]>;
|
|
1006
|
+
CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', AccountId32>;
|
|
1007
|
+
CandidateSlashed: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateSlashed', AccountId32>;
|
|
889
1008
|
|
|
890
1009
|
/**
|
|
891
1010
|
* Generic pallet event
|
|
892
1011
|
**/
|
|
893
|
-
[prop: string]: GenericPalletEvent
|
|
1012
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
894
1013
|
};
|
|
895
1014
|
/**
|
|
896
1015
|
* Pallet `Session`'s events
|
|
@@ -900,12 +1019,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
900
1019
|
* New session has happened. Note that the argument is the session index, not the
|
|
901
1020
|
* block number as the type might suggest.
|
|
902
1021
|
**/
|
|
903
|
-
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
1022
|
+
NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
|
|
904
1023
|
|
|
905
1024
|
/**
|
|
906
1025
|
* Generic pallet event
|
|
907
1026
|
**/
|
|
908
|
-
[prop: string]: GenericPalletEvent
|
|
1027
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
909
1028
|
};
|
|
910
1029
|
/**
|
|
911
1030
|
* Pallet `XcmpQueue`'s events
|
|
@@ -915,48 +1034,62 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
915
1034
|
* Some XCM was executed ok.
|
|
916
1035
|
**/
|
|
917
1036
|
Success: GenericPalletEvent<
|
|
1037
|
+
Rv,
|
|
918
1038
|
'XcmpQueue',
|
|
919
1039
|
'Success',
|
|
920
|
-
{ messageHash
|
|
1040
|
+
{ messageHash: FixedBytes<32>; messageId: FixedBytes<32>; weight: SpWeightsWeightV2Weight }
|
|
921
1041
|
>;
|
|
922
1042
|
|
|
923
1043
|
/**
|
|
924
1044
|
* Some XCM failed.
|
|
925
1045
|
**/
|
|
926
1046
|
Fail: GenericPalletEvent<
|
|
1047
|
+
Rv,
|
|
927
1048
|
'XcmpQueue',
|
|
928
1049
|
'Fail',
|
|
929
|
-
{
|
|
1050
|
+
{
|
|
1051
|
+
messageHash: FixedBytes<32>;
|
|
1052
|
+
messageId: FixedBytes<32>;
|
|
1053
|
+
error: XcmV3TraitsError;
|
|
1054
|
+
weight: SpWeightsWeightV2Weight;
|
|
1055
|
+
}
|
|
930
1056
|
>;
|
|
931
1057
|
|
|
932
1058
|
/**
|
|
933
1059
|
* Bad XCM version used.
|
|
934
1060
|
**/
|
|
935
|
-
BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', { messageHash
|
|
1061
|
+
BadVersion: GenericPalletEvent<Rv, 'XcmpQueue', 'BadVersion', { messageHash: FixedBytes<32> }>;
|
|
936
1062
|
|
|
937
1063
|
/**
|
|
938
1064
|
* Bad XCM format used.
|
|
939
1065
|
**/
|
|
940
|
-
BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', { messageHash
|
|
1066
|
+
BadFormat: GenericPalletEvent<Rv, 'XcmpQueue', 'BadFormat', { messageHash: FixedBytes<32> }>;
|
|
941
1067
|
|
|
942
1068
|
/**
|
|
943
1069
|
* An HRMP message was sent to a sibling parachain.
|
|
944
1070
|
**/
|
|
945
|
-
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash
|
|
1071
|
+
XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
946
1072
|
|
|
947
1073
|
/**
|
|
948
1074
|
* An XCM exceeded the individual message weight budget.
|
|
949
1075
|
**/
|
|
950
1076
|
OverweightEnqueued: GenericPalletEvent<
|
|
1077
|
+
Rv,
|
|
951
1078
|
'XcmpQueue',
|
|
952
1079
|
'OverweightEnqueued',
|
|
953
|
-
{
|
|
1080
|
+
{
|
|
1081
|
+
sender: PolkadotParachainPrimitivesPrimitivesId;
|
|
1082
|
+
sentAt: number;
|
|
1083
|
+
index: bigint;
|
|
1084
|
+
required: SpWeightsWeightV2Weight;
|
|
1085
|
+
}
|
|
954
1086
|
>;
|
|
955
1087
|
|
|
956
1088
|
/**
|
|
957
1089
|
* An XCM from the overweight queue was executed with the given actual weight used.
|
|
958
1090
|
**/
|
|
959
1091
|
OverweightServiced: GenericPalletEvent<
|
|
1092
|
+
Rv,
|
|
960
1093
|
'XcmpQueue',
|
|
961
1094
|
'OverweightServiced',
|
|
962
1095
|
{ index: bigint; used: SpWeightsWeightV2Weight }
|
|
@@ -965,7 +1098,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
965
1098
|
/**
|
|
966
1099
|
* Generic pallet event
|
|
967
1100
|
**/
|
|
968
|
-
[prop: string]: GenericPalletEvent
|
|
1101
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
969
1102
|
};
|
|
970
1103
|
/**
|
|
971
1104
|
* Pallet `PolkadotXcm`'s events
|
|
@@ -973,92 +1106,108 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
973
1106
|
polkadotXcm: {
|
|
974
1107
|
/**
|
|
975
1108
|
* Execution of an XCM message was attempted.
|
|
976
|
-
*
|
|
977
|
-
* \[ outcome \]
|
|
978
1109
|
**/
|
|
979
|
-
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', XcmV3TraitsOutcome>;
|
|
1110
|
+
Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: XcmV3TraitsOutcome }>;
|
|
980
1111
|
|
|
981
1112
|
/**
|
|
982
1113
|
* A XCM message was sent.
|
|
983
|
-
*
|
|
984
|
-
* \[ origin, destination, message \]
|
|
985
1114
|
**/
|
|
986
1115
|
Sent: GenericPalletEvent<
|
|
1116
|
+
Rv,
|
|
987
1117
|
'PolkadotXcm',
|
|
988
1118
|
'Sent',
|
|
989
|
-
|
|
1119
|
+
{
|
|
1120
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
1121
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1122
|
+
message: XcmV3Xcm;
|
|
1123
|
+
messageId: FixedBytes<32>;
|
|
1124
|
+
}
|
|
990
1125
|
>;
|
|
991
1126
|
|
|
992
1127
|
/**
|
|
993
1128
|
* Query response received which does not match a registered query. This may be because a
|
|
994
1129
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
995
1130
|
* because the query timed out.
|
|
996
|
-
*
|
|
997
|
-
* \[ origin location, id \]
|
|
998
1131
|
**/
|
|
999
1132
|
UnexpectedResponse: GenericPalletEvent<
|
|
1133
|
+
Rv,
|
|
1000
1134
|
'PolkadotXcm',
|
|
1001
1135
|
'UnexpectedResponse',
|
|
1002
|
-
|
|
1136
|
+
{ origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
|
|
1003
1137
|
>;
|
|
1004
1138
|
|
|
1005
1139
|
/**
|
|
1006
1140
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
1007
1141
|
* no registered notification call.
|
|
1008
|
-
*
|
|
1009
|
-
* \[ id, response \]
|
|
1010
1142
|
**/
|
|
1011
|
-
ResponseReady: GenericPalletEvent<'PolkadotXcm', 'ResponseReady',
|
|
1143
|
+
ResponseReady: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseReady', { queryId: bigint; response: XcmV3Response }>;
|
|
1012
1144
|
|
|
1013
1145
|
/**
|
|
1014
1146
|
* Query response has been received and query is removed. The registered notification has
|
|
1015
1147
|
* been dispatched and executed successfully.
|
|
1016
|
-
*
|
|
1017
|
-
* \[ id, pallet index, call index \]
|
|
1018
1148
|
**/
|
|
1019
|
-
Notified: GenericPalletEvent<
|
|
1149
|
+
Notified: GenericPalletEvent<
|
|
1150
|
+
Rv,
|
|
1151
|
+
'PolkadotXcm',
|
|
1152
|
+
'Notified',
|
|
1153
|
+
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
1154
|
+
>;
|
|
1020
1155
|
|
|
1021
1156
|
/**
|
|
1022
|
-
* Query response has been received and query is removed. The registered notification
|
|
1023
|
-
* not be dispatched because the dispatch weight is greater than the maximum weight
|
|
1157
|
+
* Query response has been received and query is removed. The registered notification
|
|
1158
|
+
* could not be dispatched because the dispatch weight is greater than the maximum weight
|
|
1024
1159
|
* originally budgeted by this runtime for the query result.
|
|
1025
|
-
*
|
|
1026
|
-
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
1027
1160
|
**/
|
|
1028
1161
|
NotifyOverweight: GenericPalletEvent<
|
|
1162
|
+
Rv,
|
|
1029
1163
|
'PolkadotXcm',
|
|
1030
1164
|
'NotifyOverweight',
|
|
1031
|
-
|
|
1165
|
+
{
|
|
1166
|
+
queryId: bigint;
|
|
1167
|
+
palletIndex: number;
|
|
1168
|
+
callIndex: number;
|
|
1169
|
+
actualWeight: SpWeightsWeightV2Weight;
|
|
1170
|
+
maxBudgetedWeight: SpWeightsWeightV2Weight;
|
|
1171
|
+
}
|
|
1032
1172
|
>;
|
|
1033
1173
|
|
|
1034
1174
|
/**
|
|
1035
1175
|
* Query response has been received and query is removed. There was a general error with
|
|
1036
1176
|
* dispatching the notification call.
|
|
1037
|
-
*
|
|
1038
|
-
* \[ id, pallet index, call index \]
|
|
1039
1177
|
**/
|
|
1040
|
-
NotifyDispatchError: GenericPalletEvent<
|
|
1178
|
+
NotifyDispatchError: GenericPalletEvent<
|
|
1179
|
+
Rv,
|
|
1180
|
+
'PolkadotXcm',
|
|
1181
|
+
'NotifyDispatchError',
|
|
1182
|
+
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
1183
|
+
>;
|
|
1041
1184
|
|
|
1042
1185
|
/**
|
|
1043
1186
|
* Query response has been received and query is removed. The dispatch was unable to be
|
|
1044
1187
|
* decoded into a `Call`; this might be due to dispatch function having a signature which
|
|
1045
1188
|
* is not `(origin, QueryId, Response)`.
|
|
1046
|
-
*
|
|
1047
|
-
* \[ id, pallet index, call index \]
|
|
1048
1189
|
**/
|
|
1049
|
-
NotifyDecodeFailed: GenericPalletEvent<
|
|
1190
|
+
NotifyDecodeFailed: GenericPalletEvent<
|
|
1191
|
+
Rv,
|
|
1192
|
+
'PolkadotXcm',
|
|
1193
|
+
'NotifyDecodeFailed',
|
|
1194
|
+
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
1195
|
+
>;
|
|
1050
1196
|
|
|
1051
1197
|
/**
|
|
1052
1198
|
* Expected query response has been received but the origin location of the response does
|
|
1053
1199
|
* not match that expected. The query remains registered for a later, valid, response to
|
|
1054
1200
|
* be received and acted upon.
|
|
1055
|
-
*
|
|
1056
|
-
* \[ origin location, id, expected location \]
|
|
1057
1201
|
**/
|
|
1058
1202
|
InvalidResponder: GenericPalletEvent<
|
|
1203
|
+
Rv,
|
|
1059
1204
|
'PolkadotXcm',
|
|
1060
1205
|
'InvalidResponder',
|
|
1061
|
-
|
|
1206
|
+
{
|
|
1207
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
1208
|
+
queryId: bigint;
|
|
1209
|
+
expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
1210
|
+
}
|
|
1062
1211
|
>;
|
|
1063
1212
|
|
|
1064
1213
|
/**
|
|
@@ -1069,80 +1218,77 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1069
1218
|
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
1070
1219
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
1071
1220
|
* needed.
|
|
1072
|
-
*
|
|
1073
|
-
* \[ origin location, id \]
|
|
1074
1221
|
**/
|
|
1075
1222
|
InvalidResponderVersion: GenericPalletEvent<
|
|
1223
|
+
Rv,
|
|
1076
1224
|
'PolkadotXcm',
|
|
1077
1225
|
'InvalidResponderVersion',
|
|
1078
|
-
|
|
1226
|
+
{ origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
|
|
1079
1227
|
>;
|
|
1080
1228
|
|
|
1081
1229
|
/**
|
|
1082
1230
|
* Received query response has been read and removed.
|
|
1083
|
-
*
|
|
1084
|
-
* \[ id \]
|
|
1085
1231
|
**/
|
|
1086
|
-
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', bigint>;
|
|
1232
|
+
ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
|
|
1087
1233
|
|
|
1088
1234
|
/**
|
|
1089
1235
|
* Some assets have been placed in an asset trap.
|
|
1090
|
-
*
|
|
1091
|
-
* \[ hash, origin, assets \]
|
|
1092
1236
|
**/
|
|
1093
1237
|
AssetsTrapped: GenericPalletEvent<
|
|
1238
|
+
Rv,
|
|
1094
1239
|
'PolkadotXcm',
|
|
1095
1240
|
'AssetsTrapped',
|
|
1096
|
-
|
|
1241
|
+
{ hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
|
|
1097
1242
|
>;
|
|
1098
1243
|
|
|
1099
1244
|
/**
|
|
1100
1245
|
* An XCM version change notification message has been attempted to be sent.
|
|
1101
1246
|
*
|
|
1102
1247
|
* The cost of sending it (borne by the chain) is included.
|
|
1103
|
-
*
|
|
1104
|
-
* \[ destination, result, cost \]
|
|
1105
1248
|
**/
|
|
1106
1249
|
VersionChangeNotified: GenericPalletEvent<
|
|
1250
|
+
Rv,
|
|
1107
1251
|
'PolkadotXcm',
|
|
1108
1252
|
'VersionChangeNotified',
|
|
1109
|
-
|
|
1253
|
+
{
|
|
1254
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1255
|
+
result: number;
|
|
1256
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
1257
|
+
messageId: FixedBytes<32>;
|
|
1258
|
+
}
|
|
1110
1259
|
>;
|
|
1111
1260
|
|
|
1112
1261
|
/**
|
|
1113
1262
|
* The supported version of a location has been changed. This might be through an
|
|
1114
1263
|
* automatic notification or a manual intervention.
|
|
1115
|
-
*
|
|
1116
|
-
* \[ location, XCM version \]
|
|
1117
1264
|
**/
|
|
1118
1265
|
SupportedVersionChanged: GenericPalletEvent<
|
|
1266
|
+
Rv,
|
|
1119
1267
|
'PolkadotXcm',
|
|
1120
1268
|
'SupportedVersionChanged',
|
|
1121
|
-
|
|
1269
|
+
{ location: StagingXcmV3MultilocationMultiLocation; version: number }
|
|
1122
1270
|
>;
|
|
1123
1271
|
|
|
1124
1272
|
/**
|
|
1125
1273
|
* A given location which had a version change subscription was dropped owing to an error
|
|
1126
1274
|
* sending the notification to it.
|
|
1127
|
-
*
|
|
1128
|
-
* \[ location, query ID, error \]
|
|
1129
1275
|
**/
|
|
1130
1276
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
1277
|
+
Rv,
|
|
1131
1278
|
'PolkadotXcm',
|
|
1132
1279
|
'NotifyTargetSendFail',
|
|
1133
|
-
|
|
1280
|
+
{ location: StagingXcmV3MultilocationMultiLocation; queryId: bigint; error: XcmV3TraitsError }
|
|
1134
1281
|
>;
|
|
1135
1282
|
|
|
1136
1283
|
/**
|
|
1137
1284
|
* A given location which had a version change subscription was dropped owing to an error
|
|
1138
1285
|
* migrating the location to our new XCM format.
|
|
1139
|
-
*
|
|
1140
|
-
* \[ location, query ID \]
|
|
1141
1286
|
**/
|
|
1142
1287
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
1288
|
+
Rv,
|
|
1143
1289
|
'PolkadotXcm',
|
|
1144
1290
|
'NotifyTargetMigrationFail',
|
|
1145
|
-
|
|
1291
|
+
{ location: XcmVersionedMultiLocation; queryId: bigint }
|
|
1146
1292
|
>;
|
|
1147
1293
|
|
|
1148
1294
|
/**
|
|
@@ -1153,93 +1299,99 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1153
1299
|
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
1154
1300
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
1155
1301
|
* needed.
|
|
1156
|
-
*
|
|
1157
|
-
* \[ origin location, id \]
|
|
1158
1302
|
**/
|
|
1159
1303
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
1304
|
+
Rv,
|
|
1160
1305
|
'PolkadotXcm',
|
|
1161
1306
|
'InvalidQuerierVersion',
|
|
1162
|
-
|
|
1307
|
+
{ origin: StagingXcmV3MultilocationMultiLocation; queryId: bigint }
|
|
1163
1308
|
>;
|
|
1164
1309
|
|
|
1165
1310
|
/**
|
|
1166
1311
|
* Expected query response has been received but the querier location of the response does
|
|
1167
1312
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
1168
1313
|
* be received and acted upon.
|
|
1169
|
-
*
|
|
1170
|
-
* \[ origin location, id, expected querier, maybe actual querier \]
|
|
1171
1314
|
**/
|
|
1172
1315
|
InvalidQuerier: GenericPalletEvent<
|
|
1316
|
+
Rv,
|
|
1173
1317
|
'PolkadotXcm',
|
|
1174
1318
|
'InvalidQuerier',
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
bigint
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1319
|
+
{
|
|
1320
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
1321
|
+
queryId: bigint;
|
|
1322
|
+
expectedQuerier: StagingXcmV3MultilocationMultiLocation;
|
|
1323
|
+
maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
1324
|
+
}
|
|
1181
1325
|
>;
|
|
1182
1326
|
|
|
1183
1327
|
/**
|
|
1184
1328
|
* A remote has requested XCM version change notification from us and we have honored it.
|
|
1185
1329
|
* A version information message is sent to them and its cost is included.
|
|
1186
|
-
*
|
|
1187
|
-
* \[ destination location, cost \]
|
|
1188
1330
|
**/
|
|
1189
1331
|
VersionNotifyStarted: GenericPalletEvent<
|
|
1332
|
+
Rv,
|
|
1190
1333
|
'PolkadotXcm',
|
|
1191
1334
|
'VersionNotifyStarted',
|
|
1192
|
-
|
|
1335
|
+
{
|
|
1336
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1337
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
1338
|
+
messageId: FixedBytes<32>;
|
|
1339
|
+
}
|
|
1193
1340
|
>;
|
|
1194
1341
|
|
|
1195
1342
|
/**
|
|
1196
|
-
* We have requested that a remote chain
|
|
1197
|
-
*
|
|
1198
|
-
* \[ destination location, cost \]
|
|
1343
|
+
* We have requested that a remote chain send us XCM version change notifications.
|
|
1199
1344
|
**/
|
|
1200
1345
|
VersionNotifyRequested: GenericPalletEvent<
|
|
1346
|
+
Rv,
|
|
1201
1347
|
'PolkadotXcm',
|
|
1202
1348
|
'VersionNotifyRequested',
|
|
1203
|
-
|
|
1349
|
+
{
|
|
1350
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1351
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
1352
|
+
messageId: FixedBytes<32>;
|
|
1353
|
+
}
|
|
1204
1354
|
>;
|
|
1205
1355
|
|
|
1206
1356
|
/**
|
|
1207
|
-
* We have requested that a remote chain stops sending us XCM version change
|
|
1208
|
-
*
|
|
1209
|
-
* \[ destination location, cost \]
|
|
1357
|
+
* We have requested that a remote chain stops sending us XCM version change
|
|
1358
|
+
* notifications.
|
|
1210
1359
|
**/
|
|
1211
1360
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
1361
|
+
Rv,
|
|
1212
1362
|
'PolkadotXcm',
|
|
1213
1363
|
'VersionNotifyUnrequested',
|
|
1214
|
-
|
|
1364
|
+
{
|
|
1365
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
1366
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
1367
|
+
messageId: FixedBytes<32>;
|
|
1368
|
+
}
|
|
1215
1369
|
>;
|
|
1216
1370
|
|
|
1217
1371
|
/**
|
|
1218
1372
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
1219
|
-
*
|
|
1220
|
-
* \[ paying location, fees \]
|
|
1221
1373
|
**/
|
|
1222
1374
|
FeesPaid: GenericPalletEvent<
|
|
1375
|
+
Rv,
|
|
1223
1376
|
'PolkadotXcm',
|
|
1224
1377
|
'FeesPaid',
|
|
1225
|
-
|
|
1378
|
+
{ paying: StagingXcmV3MultilocationMultiLocation; fees: XcmV3MultiassetMultiAssets }
|
|
1226
1379
|
>;
|
|
1227
1380
|
|
|
1228
1381
|
/**
|
|
1229
1382
|
* Some assets have been claimed from an asset trap
|
|
1230
|
-
*
|
|
1231
|
-
* \[ hash, origin, assets \]
|
|
1232
1383
|
**/
|
|
1233
1384
|
AssetsClaimed: GenericPalletEvent<
|
|
1385
|
+
Rv,
|
|
1234
1386
|
'PolkadotXcm',
|
|
1235
1387
|
'AssetsClaimed',
|
|
1236
|
-
|
|
1388
|
+
{ hash: H256; origin: StagingXcmV3MultilocationMultiLocation; assets: XcmVersionedMultiAssets }
|
|
1237
1389
|
>;
|
|
1238
1390
|
|
|
1239
1391
|
/**
|
|
1240
1392
|
* Generic pallet event
|
|
1241
1393
|
**/
|
|
1242
|
-
[prop: string]: GenericPalletEvent
|
|
1394
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1243
1395
|
};
|
|
1244
1396
|
/**
|
|
1245
1397
|
* Pallet `CumulusXcm`'s events
|
|
@@ -1249,24 +1401,24 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1249
1401
|
* Downward message is invalid XCM.
|
|
1250
1402
|
* \[ id \]
|
|
1251
1403
|
**/
|
|
1252
|
-
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
1404
|
+
InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
1253
1405
|
|
|
1254
1406
|
/**
|
|
1255
1407
|
* Downward message is unsupported version of XCM.
|
|
1256
1408
|
* \[ id \]
|
|
1257
1409
|
**/
|
|
1258
|
-
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
1410
|
+
UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
1259
1411
|
|
|
1260
1412
|
/**
|
|
1261
1413
|
* Downward message executed with the given outcome.
|
|
1262
1414
|
* \[ id, outcome \]
|
|
1263
1415
|
**/
|
|
1264
|
-
ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
|
|
1416
|
+
ExecutedDownward: GenericPalletEvent<Rv, 'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
|
|
1265
1417
|
|
|
1266
1418
|
/**
|
|
1267
1419
|
* Generic pallet event
|
|
1268
1420
|
**/
|
|
1269
|
-
[prop: string]: GenericPalletEvent
|
|
1421
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1270
1422
|
};
|
|
1271
1423
|
/**
|
|
1272
1424
|
* Pallet `DmpQueue`'s events
|
|
@@ -1275,58 +1427,72 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1275
1427
|
/**
|
|
1276
1428
|
* Downward message is invalid XCM.
|
|
1277
1429
|
**/
|
|
1278
|
-
InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', {
|
|
1430
|
+
InvalidFormat: GenericPalletEvent<Rv, 'DmpQueue', 'InvalidFormat', { messageHash: FixedBytes<32> }>;
|
|
1279
1431
|
|
|
1280
1432
|
/**
|
|
1281
1433
|
* Downward message is unsupported version of XCM.
|
|
1282
1434
|
**/
|
|
1283
|
-
UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', {
|
|
1435
|
+
UnsupportedVersion: GenericPalletEvent<Rv, 'DmpQueue', 'UnsupportedVersion', { messageHash: FixedBytes<32> }>;
|
|
1284
1436
|
|
|
1285
1437
|
/**
|
|
1286
1438
|
* Downward message executed with the given outcome.
|
|
1287
1439
|
**/
|
|
1288
1440
|
ExecutedDownward: GenericPalletEvent<
|
|
1441
|
+
Rv,
|
|
1289
1442
|
'DmpQueue',
|
|
1290
1443
|
'ExecutedDownward',
|
|
1291
|
-
{ messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome }
|
|
1444
|
+
{ messageHash: FixedBytes<32>; messageId: FixedBytes<32>; outcome: XcmV3TraitsOutcome }
|
|
1292
1445
|
>;
|
|
1293
1446
|
|
|
1294
1447
|
/**
|
|
1295
1448
|
* The weight limit for handling downward messages was reached.
|
|
1296
1449
|
**/
|
|
1297
1450
|
WeightExhausted: GenericPalletEvent<
|
|
1451
|
+
Rv,
|
|
1298
1452
|
'DmpQueue',
|
|
1299
1453
|
'WeightExhausted',
|
|
1300
|
-
{
|
|
1454
|
+
{
|
|
1455
|
+
messageHash: FixedBytes<32>;
|
|
1456
|
+
messageId: FixedBytes<32>;
|
|
1457
|
+
remainingWeight: SpWeightsWeightV2Weight;
|
|
1458
|
+
requiredWeight: SpWeightsWeightV2Weight;
|
|
1459
|
+
}
|
|
1301
1460
|
>;
|
|
1302
1461
|
|
|
1303
1462
|
/**
|
|
1304
1463
|
* Downward message is overweight and was placed in the overweight queue.
|
|
1305
1464
|
**/
|
|
1306
1465
|
OverweightEnqueued: GenericPalletEvent<
|
|
1466
|
+
Rv,
|
|
1307
1467
|
'DmpQueue',
|
|
1308
1468
|
'OverweightEnqueued',
|
|
1309
|
-
{
|
|
1469
|
+
{
|
|
1470
|
+
messageHash: FixedBytes<32>;
|
|
1471
|
+
messageId: FixedBytes<32>;
|
|
1472
|
+
overweightIndex: bigint;
|
|
1473
|
+
requiredWeight: SpWeightsWeightV2Weight;
|
|
1474
|
+
}
|
|
1310
1475
|
>;
|
|
1311
1476
|
|
|
1312
1477
|
/**
|
|
1313
1478
|
* Downward message from the overweight queue was executed.
|
|
1314
1479
|
**/
|
|
1315
1480
|
OverweightServiced: GenericPalletEvent<
|
|
1481
|
+
Rv,
|
|
1316
1482
|
'DmpQueue',
|
|
1317
1483
|
'OverweightServiced',
|
|
1318
1484
|
{ overweightIndex: bigint; weightUsed: SpWeightsWeightV2Weight }
|
|
1319
1485
|
>;
|
|
1320
1486
|
|
|
1321
1487
|
/**
|
|
1322
|
-
* The maximum number of downward messages was.
|
|
1488
|
+
* The maximum number of downward messages was reached.
|
|
1323
1489
|
**/
|
|
1324
|
-
MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', {
|
|
1490
|
+
MaxMessagesExhausted: GenericPalletEvent<Rv, 'DmpQueue', 'MaxMessagesExhausted', { messageHash: FixedBytes<32> }>;
|
|
1325
1491
|
|
|
1326
1492
|
/**
|
|
1327
1493
|
* Generic pallet event
|
|
1328
1494
|
**/
|
|
1329
|
-
[prop: string]: GenericPalletEvent
|
|
1495
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1330
1496
|
};
|
|
1331
1497
|
/**
|
|
1332
1498
|
* Pallet `XcAssetConfig`'s events
|
|
@@ -1336,6 +1502,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1336
1502
|
* Registed mapping between asset type and asset Id.
|
|
1337
1503
|
**/
|
|
1338
1504
|
AssetRegistered: GenericPalletEvent<
|
|
1505
|
+
Rv,
|
|
1339
1506
|
'XcAssetConfig',
|
|
1340
1507
|
'AssetRegistered',
|
|
1341
1508
|
{ assetLocation: XcmVersionedMultiLocation; assetId: bigint }
|
|
@@ -1345,6 +1512,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1345
1512
|
* Changed the amount of units we are charging per execution second for an asset
|
|
1346
1513
|
**/
|
|
1347
1514
|
UnitsPerSecondChanged: GenericPalletEvent<
|
|
1515
|
+
Rv,
|
|
1348
1516
|
'XcAssetConfig',
|
|
1349
1517
|
'UnitsPerSecondChanged',
|
|
1350
1518
|
{ assetLocation: XcmVersionedMultiLocation; unitsPerSecond: bigint }
|
|
@@ -1354,6 +1522,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1354
1522
|
* Changed the asset type mapping for a given asset id
|
|
1355
1523
|
**/
|
|
1356
1524
|
AssetLocationChanged: GenericPalletEvent<
|
|
1525
|
+
Rv,
|
|
1357
1526
|
'XcAssetConfig',
|
|
1358
1527
|
'AssetLocationChanged',
|
|
1359
1528
|
{ previousAssetLocation: XcmVersionedMultiLocation; assetId: bigint; newAssetLocation: XcmVersionedMultiLocation }
|
|
@@ -1363,6 +1532,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1363
1532
|
* Supported asset type for fee payment removed.
|
|
1364
1533
|
**/
|
|
1365
1534
|
SupportedAssetRemoved: GenericPalletEvent<
|
|
1535
|
+
Rv,
|
|
1366
1536
|
'XcAssetConfig',
|
|
1367
1537
|
'SupportedAssetRemoved',
|
|
1368
1538
|
{ assetLocation: XcmVersionedMultiLocation }
|
|
@@ -1372,6 +1542,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1372
1542
|
* Removed all information related to an asset Id
|
|
1373
1543
|
**/
|
|
1374
1544
|
AssetRemoved: GenericPalletEvent<
|
|
1545
|
+
Rv,
|
|
1375
1546
|
'XcAssetConfig',
|
|
1376
1547
|
'AssetRemoved',
|
|
1377
1548
|
{ assetLocation: XcmVersionedMultiLocation; assetId: bigint }
|
|
@@ -1380,7 +1551,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1380
1551
|
/**
|
|
1381
1552
|
* Generic pallet event
|
|
1382
1553
|
**/
|
|
1383
|
-
[prop: string]: GenericPalletEvent
|
|
1554
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1384
1555
|
};
|
|
1385
1556
|
/**
|
|
1386
1557
|
* Pallet `XTokens`'s events
|
|
@@ -1390,20 +1561,21 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1390
1561
|
* Transferred `MultiAsset` with fee.
|
|
1391
1562
|
**/
|
|
1392
1563
|
TransferredMultiAssets: GenericPalletEvent<
|
|
1564
|
+
Rv,
|
|
1393
1565
|
'XTokens',
|
|
1394
1566
|
'TransferredMultiAssets',
|
|
1395
1567
|
{
|
|
1396
1568
|
sender: AccountId32;
|
|
1397
1569
|
assets: XcmV3MultiassetMultiAssets;
|
|
1398
1570
|
fee: XcmV3MultiassetMultiAsset;
|
|
1399
|
-
dest:
|
|
1571
|
+
dest: StagingXcmV3MultilocationMultiLocation;
|
|
1400
1572
|
}
|
|
1401
1573
|
>;
|
|
1402
1574
|
|
|
1403
1575
|
/**
|
|
1404
1576
|
* Generic pallet event
|
|
1405
1577
|
**/
|
|
1406
|
-
[prop: string]: GenericPalletEvent
|
|
1578
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1407
1579
|
};
|
|
1408
1580
|
/**
|
|
1409
1581
|
* Pallet `EVM`'s events
|
|
@@ -1412,32 +1584,32 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1412
1584
|
/**
|
|
1413
1585
|
* Ethereum events from contracts.
|
|
1414
1586
|
**/
|
|
1415
|
-
Log: GenericPalletEvent<'EVM', 'Log', { log: EthereumLog }>;
|
|
1587
|
+
Log: GenericPalletEvent<Rv, 'EVM', 'Log', { log: EthereumLog }>;
|
|
1416
1588
|
|
|
1417
1589
|
/**
|
|
1418
1590
|
* A contract has been created at given address.
|
|
1419
1591
|
**/
|
|
1420
|
-
Created: GenericPalletEvent<'EVM', 'Created', { address: H160 }>;
|
|
1592
|
+
Created: GenericPalletEvent<Rv, 'EVM', 'Created', { address: H160 }>;
|
|
1421
1593
|
|
|
1422
1594
|
/**
|
|
1423
1595
|
* A contract was attempted to be created, but the execution failed.
|
|
1424
1596
|
**/
|
|
1425
|
-
CreatedFailed: GenericPalletEvent<'EVM', 'CreatedFailed', { address: H160 }>;
|
|
1597
|
+
CreatedFailed: GenericPalletEvent<Rv, 'EVM', 'CreatedFailed', { address: H160 }>;
|
|
1426
1598
|
|
|
1427
1599
|
/**
|
|
1428
1600
|
* A contract has been executed successfully with states applied.
|
|
1429
1601
|
**/
|
|
1430
|
-
Executed: GenericPalletEvent<'EVM', 'Executed', { address: H160 }>;
|
|
1602
|
+
Executed: GenericPalletEvent<Rv, 'EVM', 'Executed', { address: H160 }>;
|
|
1431
1603
|
|
|
1432
1604
|
/**
|
|
1433
1605
|
* A contract has been executed with errors. States are reverted with only gas fees applied.
|
|
1434
1606
|
**/
|
|
1435
|
-
ExecutedFailed: GenericPalletEvent<'EVM', 'ExecutedFailed', { address: H160 }>;
|
|
1607
|
+
ExecutedFailed: GenericPalletEvent<Rv, 'EVM', 'ExecutedFailed', { address: H160 }>;
|
|
1436
1608
|
|
|
1437
1609
|
/**
|
|
1438
1610
|
* Generic pallet event
|
|
1439
1611
|
**/
|
|
1440
|
-
[prop: string]: GenericPalletEvent
|
|
1612
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1441
1613
|
};
|
|
1442
1614
|
/**
|
|
1443
1615
|
* Pallet `Ethereum`'s events
|
|
@@ -1447,6 +1619,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1447
1619
|
* An ethereum transaction was successfully executed.
|
|
1448
1620
|
**/
|
|
1449
1621
|
Executed: GenericPalletEvent<
|
|
1622
|
+
Rv,
|
|
1450
1623
|
'Ethereum',
|
|
1451
1624
|
'Executed',
|
|
1452
1625
|
{ from: H160; to: H160; transactionHash: H256; exitReason: EvmCoreErrorExitReason; extraData: Bytes }
|
|
@@ -1455,7 +1628,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1455
1628
|
/**
|
|
1456
1629
|
* Generic pallet event
|
|
1457
1630
|
**/
|
|
1458
|
-
[prop: string]: GenericPalletEvent
|
|
1631
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1459
1632
|
};
|
|
1460
1633
|
/**
|
|
1461
1634
|
* Pallet `DynamicEvmBaseFee`'s events
|
|
@@ -1464,12 +1637,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1464
1637
|
/**
|
|
1465
1638
|
* New `base fee per gas` value has been force-set.
|
|
1466
1639
|
**/
|
|
1467
|
-
NewBaseFeePerGas: GenericPalletEvent<'DynamicEvmBaseFee', 'NewBaseFeePerGas', { fee: U256 }>;
|
|
1640
|
+
NewBaseFeePerGas: GenericPalletEvent<Rv, 'DynamicEvmBaseFee', 'NewBaseFeePerGas', { fee: U256 }>;
|
|
1468
1641
|
|
|
1469
1642
|
/**
|
|
1470
1643
|
* Generic pallet event
|
|
1471
1644
|
**/
|
|
1472
|
-
[prop: string]: GenericPalletEvent
|
|
1645
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1473
1646
|
};
|
|
1474
1647
|
/**
|
|
1475
1648
|
* Pallet `Contracts`'s events
|
|
@@ -1478,7 +1651,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1478
1651
|
/**
|
|
1479
1652
|
* Contract deployed by address at the specified address.
|
|
1480
1653
|
**/
|
|
1481
|
-
Instantiated: GenericPalletEvent<'Contracts', 'Instantiated', { deployer: AccountId32; contract: AccountId32 }>;
|
|
1654
|
+
Instantiated: GenericPalletEvent<Rv, 'Contracts', 'Instantiated', { deployer: AccountId32; contract: AccountId32 }>;
|
|
1482
1655
|
|
|
1483
1656
|
/**
|
|
1484
1657
|
* Contract has been removed.
|
|
@@ -1489,6 +1662,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1489
1662
|
* `seal_terminate`.
|
|
1490
1663
|
**/
|
|
1491
1664
|
Terminated: GenericPalletEvent<
|
|
1665
|
+
Rv,
|
|
1492
1666
|
'Contracts',
|
|
1493
1667
|
'Terminated',
|
|
1494
1668
|
{
|
|
@@ -1507,12 +1681,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1507
1681
|
/**
|
|
1508
1682
|
* Code with the specified hash has been stored.
|
|
1509
1683
|
**/
|
|
1510
|
-
CodeStored: GenericPalletEvent<
|
|
1684
|
+
CodeStored: GenericPalletEvent<
|
|
1685
|
+
Rv,
|
|
1686
|
+
'Contracts',
|
|
1687
|
+
'CodeStored',
|
|
1688
|
+
{ codeHash: H256; depositHeld: bigint; uploader: AccountId32 }
|
|
1689
|
+
>;
|
|
1511
1690
|
|
|
1512
1691
|
/**
|
|
1513
1692
|
* A custom event emitted by the contract.
|
|
1514
1693
|
**/
|
|
1515
1694
|
ContractEmitted: GenericPalletEvent<
|
|
1695
|
+
Rv,
|
|
1516
1696
|
'Contracts',
|
|
1517
1697
|
'ContractEmitted',
|
|
1518
1698
|
{
|
|
@@ -1532,12 +1712,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1532
1712
|
/**
|
|
1533
1713
|
* A code with the specified hash was removed.
|
|
1534
1714
|
**/
|
|
1535
|
-
CodeRemoved: GenericPalletEvent<
|
|
1715
|
+
CodeRemoved: GenericPalletEvent<
|
|
1716
|
+
Rv,
|
|
1717
|
+
'Contracts',
|
|
1718
|
+
'CodeRemoved',
|
|
1719
|
+
{ codeHash: H256; depositReleased: bigint; remover: AccountId32 }
|
|
1720
|
+
>;
|
|
1536
1721
|
|
|
1537
1722
|
/**
|
|
1538
1723
|
* A contract's code was updated.
|
|
1539
1724
|
**/
|
|
1540
1725
|
ContractCodeUpdated: GenericPalletEvent<
|
|
1726
|
+
Rv,
|
|
1541
1727
|
'Contracts',
|
|
1542
1728
|
'ContractCodeUpdated',
|
|
1543
1729
|
{
|
|
@@ -1568,6 +1754,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1568
1754
|
* rolled back.
|
|
1569
1755
|
**/
|
|
1570
1756
|
Called: GenericPalletEvent<
|
|
1757
|
+
Rv,
|
|
1571
1758
|
'Contracts',
|
|
1572
1759
|
'Called',
|
|
1573
1760
|
{
|
|
@@ -1593,6 +1780,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1593
1780
|
* rolled back.
|
|
1594
1781
|
**/
|
|
1595
1782
|
DelegateCalled: GenericPalletEvent<
|
|
1783
|
+
Rv,
|
|
1596
1784
|
'Contracts',
|
|
1597
1785
|
'DelegateCalled',
|
|
1598
1786
|
{
|
|
@@ -1610,179 +1798,82 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1610
1798
|
>;
|
|
1611
1799
|
|
|
1612
1800
|
/**
|
|
1613
|
-
*
|
|
1614
|
-
**/
|
|
1615
|
-
[prop: string]: GenericPalletEvent;
|
|
1616
|
-
};
|
|
1617
|
-
/**
|
|
1618
|
-
* Pallet `Sudo`'s events
|
|
1619
|
-
**/
|
|
1620
|
-
sudo: {
|
|
1621
|
-
/**
|
|
1622
|
-
* A sudo just took place. \[result\]
|
|
1623
|
-
**/
|
|
1624
|
-
Sudid: GenericPalletEvent<'Sudo', 'Sudid', { sudoResult: Result<[], DispatchError> }>;
|
|
1625
|
-
|
|
1626
|
-
/**
|
|
1627
|
-
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
|
|
1628
|
-
**/
|
|
1629
|
-
KeyChanged: GenericPalletEvent<'Sudo', 'KeyChanged', { oldSudoer?: AccountId32 | undefined }>;
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* A sudo just took place. \[result\]
|
|
1633
|
-
**/
|
|
1634
|
-
SudoAsDone: GenericPalletEvent<'Sudo', 'SudoAsDone', { sudoResult: Result<[], DispatchError> }>;
|
|
1635
|
-
|
|
1636
|
-
/**
|
|
1637
|
-
* Generic pallet event
|
|
1638
|
-
**/
|
|
1639
|
-
[prop: string]: GenericPalletEvent;
|
|
1640
|
-
};
|
|
1641
|
-
/**
|
|
1642
|
-
* Pallet `StaticPriceProvider`'s events
|
|
1643
|
-
**/
|
|
1644
|
-
staticPriceProvider: {
|
|
1645
|
-
/**
|
|
1646
|
-
* New static native currency price has been set.
|
|
1647
|
-
**/
|
|
1648
|
-
PriceSet: GenericPalletEvent<'StaticPriceProvider', 'PriceSet', { price: FixedU64 }>;
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* Generic pallet event
|
|
1652
|
-
**/
|
|
1653
|
-
[prop: string]: GenericPalletEvent;
|
|
1654
|
-
};
|
|
1655
|
-
/**
|
|
1656
|
-
* Pallet `DappStakingMigration`'s events
|
|
1657
|
-
**/
|
|
1658
|
-
dappStakingMigration: {
|
|
1659
|
-
/**
|
|
1660
|
-
* Number of entries migrated from v2 over to v3
|
|
1801
|
+
* Some funds have been transferred and held as storage deposit.
|
|
1661
1802
|
**/
|
|
1662
|
-
|
|
1803
|
+
StorageDepositTransferredAndHeld: GenericPalletEvent<
|
|
1804
|
+
Rv,
|
|
1805
|
+
'Contracts',
|
|
1806
|
+
'StorageDepositTransferredAndHeld',
|
|
1807
|
+
{ from: AccountId32; to: AccountId32; amount: bigint }
|
|
1808
|
+
>;
|
|
1663
1809
|
|
|
1664
1810
|
/**
|
|
1665
|
-
*
|
|
1811
|
+
* Some storage deposit funds have been transferred and released.
|
|
1666
1812
|
**/
|
|
1667
|
-
|
|
1813
|
+
StorageDepositTransferredAndReleased: GenericPalletEvent<
|
|
1814
|
+
Rv,
|
|
1815
|
+
'Contracts',
|
|
1816
|
+
'StorageDepositTransferredAndReleased',
|
|
1817
|
+
{ from: AccountId32; to: AccountId32; amount: bigint }
|
|
1818
|
+
>;
|
|
1668
1819
|
|
|
1669
1820
|
/**
|
|
1670
1821
|
* Generic pallet event
|
|
1671
1822
|
**/
|
|
1672
|
-
[prop: string]: GenericPalletEvent
|
|
1823
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1673
1824
|
};
|
|
1674
1825
|
/**
|
|
1675
|
-
* Pallet `
|
|
1826
|
+
* Pallet `Sudo`'s events
|
|
1676
1827
|
**/
|
|
1677
|
-
|
|
1678
|
-
/**
|
|
1679
|
-
* Account has bonded and staked funds on a smart contract.
|
|
1680
|
-
**/
|
|
1681
|
-
BondAndStake: GenericPalletEvent<
|
|
1682
|
-
'DappsStaking',
|
|
1683
|
-
'BondAndStake',
|
|
1684
|
-
[AccountId32, AstarPrimitivesDappStakingSmartContract, bigint]
|
|
1685
|
-
>;
|
|
1686
|
-
|
|
1687
|
-
/**
|
|
1688
|
-
* Account has unbonded & unstaked some funds. Unbonding process begins.
|
|
1689
|
-
**/
|
|
1690
|
-
UnbondAndUnstake: GenericPalletEvent<
|
|
1691
|
-
'DappsStaking',
|
|
1692
|
-
'UnbondAndUnstake',
|
|
1693
|
-
[AccountId32, AstarPrimitivesDappStakingSmartContract, bigint]
|
|
1694
|
-
>;
|
|
1695
|
-
|
|
1696
|
-
/**
|
|
1697
|
-
* Account has fully withdrawn all staked amount from an unregistered contract.
|
|
1698
|
-
**/
|
|
1699
|
-
WithdrawFromUnregistered: GenericPalletEvent<
|
|
1700
|
-
'DappsStaking',
|
|
1701
|
-
'WithdrawFromUnregistered',
|
|
1702
|
-
[AccountId32, AstarPrimitivesDappStakingSmartContract, bigint]
|
|
1703
|
-
>;
|
|
1704
|
-
|
|
1705
|
-
/**
|
|
1706
|
-
* Account has withdrawn unbonded funds.
|
|
1707
|
-
**/
|
|
1708
|
-
Withdrawn: GenericPalletEvent<'DappsStaking', 'Withdrawn', [AccountId32, bigint]>;
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* New contract added for staking.
|
|
1712
|
-
**/
|
|
1713
|
-
NewContract: GenericPalletEvent<
|
|
1714
|
-
'DappsStaking',
|
|
1715
|
-
'NewContract',
|
|
1716
|
-
[AccountId32, AstarPrimitivesDappStakingSmartContract]
|
|
1717
|
-
>;
|
|
1718
|
-
|
|
1719
|
-
/**
|
|
1720
|
-
* Contract removed from dapps staking.
|
|
1721
|
-
**/
|
|
1722
|
-
ContractRemoved: GenericPalletEvent<
|
|
1723
|
-
'DappsStaking',
|
|
1724
|
-
'ContractRemoved',
|
|
1725
|
-
[AccountId32, AstarPrimitivesDappStakingSmartContract]
|
|
1726
|
-
>;
|
|
1727
|
-
|
|
1728
|
-
/**
|
|
1729
|
-
* New dapps staking era. Distribute era rewards to contracts.
|
|
1730
|
-
**/
|
|
1731
|
-
NewDappStakingEra: GenericPalletEvent<'DappsStaking', 'NewDappStakingEra', number>;
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* Reward paid to staker or developer.
|
|
1735
|
-
**/
|
|
1736
|
-
Reward: GenericPalletEvent<
|
|
1737
|
-
'DappsStaking',
|
|
1738
|
-
'Reward',
|
|
1739
|
-
[AccountId32, AstarPrimitivesDappStakingSmartContract, number, bigint]
|
|
1740
|
-
>;
|
|
1741
|
-
|
|
1742
|
-
/**
|
|
1743
|
-
* Maintenance mode has been enabled or disabled
|
|
1744
|
-
**/
|
|
1745
|
-
MaintenanceMode: GenericPalletEvent<'DappsStaking', 'MaintenanceMode', boolean>;
|
|
1746
|
-
|
|
1828
|
+
sudo: {
|
|
1747
1829
|
/**
|
|
1748
|
-
*
|
|
1830
|
+
* A sudo call just took place.
|
|
1749
1831
|
**/
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
'
|
|
1753
|
-
|
|
1832
|
+
Sudid: GenericPalletEvent<
|
|
1833
|
+
Rv,
|
|
1834
|
+
'Sudo',
|
|
1835
|
+
'Sudid',
|
|
1836
|
+
{
|
|
1837
|
+
/**
|
|
1838
|
+
* The result of the call made by the sudo user.
|
|
1839
|
+
**/
|
|
1840
|
+
sudoResult: Result<[], DispatchError>;
|
|
1841
|
+
}
|
|
1754
1842
|
>;
|
|
1755
1843
|
|
|
1756
1844
|
/**
|
|
1757
|
-
*
|
|
1758
|
-
*
|
|
1759
|
-
* \(staker account, origin smart contract, amount, target smart contract\)
|
|
1845
|
+
* The sudo key has been updated.
|
|
1760
1846
|
**/
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
'
|
|
1764
|
-
|
|
1847
|
+
KeyChanged: GenericPalletEvent<
|
|
1848
|
+
Rv,
|
|
1849
|
+
'Sudo',
|
|
1850
|
+
'KeyChanged',
|
|
1851
|
+
{
|
|
1852
|
+
/**
|
|
1853
|
+
* The old sudo key if one was previously set.
|
|
1854
|
+
**/
|
|
1855
|
+
oldSudoer?: AccountId32 | undefined;
|
|
1856
|
+
}
|
|
1765
1857
|
>;
|
|
1766
1858
|
|
|
1767
1859
|
/**
|
|
1768
|
-
*
|
|
1769
|
-
*
|
|
1770
|
-
* \(developer account, smart contract, era, amount burned\)
|
|
1860
|
+
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
1771
1861
|
**/
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
'
|
|
1775
|
-
|
|
1862
|
+
SudoAsDone: GenericPalletEvent<
|
|
1863
|
+
Rv,
|
|
1864
|
+
'Sudo',
|
|
1865
|
+
'SudoAsDone',
|
|
1866
|
+
{
|
|
1867
|
+
/**
|
|
1868
|
+
* The result of the call made by the sudo user.
|
|
1869
|
+
**/
|
|
1870
|
+
sudoResult: Result<[], DispatchError>;
|
|
1871
|
+
}
|
|
1776
1872
|
>;
|
|
1777
1873
|
|
|
1778
|
-
/**
|
|
1779
|
-
* Pallet is being decommissioned.
|
|
1780
|
-
**/
|
|
1781
|
-
Decommission: GenericPalletEvent<'DappsStaking', 'Decommission', null>;
|
|
1782
|
-
|
|
1783
1874
|
/**
|
|
1784
1875
|
* Generic pallet event
|
|
1785
1876
|
**/
|
|
1786
|
-
[prop: string]: GenericPalletEvent
|
|
1877
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1787
1878
|
};
|
|
1788
1879
|
}
|