@dedot/chaintypes 0.193.0 → 0.195.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/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -4
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainEvents, GenericPalletEvent
|
|
3
|
+
import type { GenericChainEvents, GenericPalletEvent } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
DispatchInfo,
|
|
6
6
|
DispatchError,
|
|
@@ -14,6 +14,7 @@ import type {
|
|
|
14
14
|
Perquintill,
|
|
15
15
|
Perbill,
|
|
16
16
|
H160,
|
|
17
|
+
U256,
|
|
17
18
|
} from 'dedot/codecs';
|
|
18
19
|
import type {
|
|
19
20
|
FrameSupportTokensMiscBalanceStatus,
|
|
@@ -69,6 +70,7 @@ import type {
|
|
|
69
70
|
IsmpEventsTimeoutHandled,
|
|
70
71
|
IsmpParachainParachainData,
|
|
71
72
|
PalletHyperbridgeVersionedHostParams,
|
|
73
|
+
IsmpRouterStorageValue,
|
|
72
74
|
PalletBroadcastFiller,
|
|
73
75
|
PalletBroadcastTradeOperation,
|
|
74
76
|
PalletBroadcastAsset,
|
|
@@ -76,7 +78,7 @@ import type {
|
|
|
76
78
|
PalletBroadcastExecutionType,
|
|
77
79
|
} from './types.js';
|
|
78
80
|
|
|
79
|
-
export interface ChainEvents
|
|
81
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
80
82
|
/**
|
|
81
83
|
* Pallet `System`'s events
|
|
82
84
|
**/
|
|
@@ -84,13 +86,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
84
86
|
/**
|
|
85
87
|
* An extrinsic completed successfully.
|
|
86
88
|
**/
|
|
87
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
89
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
|
|
88
90
|
|
|
89
91
|
/**
|
|
90
92
|
* An extrinsic failed.
|
|
91
93
|
**/
|
|
92
94
|
ExtrinsicFailed: GenericPalletEvent<
|
|
93
|
-
Rv,
|
|
94
95
|
'System',
|
|
95
96
|
'ExtrinsicFailed',
|
|
96
97
|
{ dispatchError: DispatchError; dispatchInfo: DispatchInfo }
|
|
@@ -99,32 +100,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
99
100
|
/**
|
|
100
101
|
* `:code` was updated.
|
|
101
102
|
**/
|
|
102
|
-
CodeUpdated: GenericPalletEvent<
|
|
103
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
103
104
|
|
|
104
105
|
/**
|
|
105
106
|
* A new account was created.
|
|
106
107
|
**/
|
|
107
|
-
NewAccount: GenericPalletEvent<
|
|
108
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
108
109
|
|
|
109
110
|
/**
|
|
110
111
|
* An account was reaped.
|
|
111
112
|
**/
|
|
112
|
-
KilledAccount: GenericPalletEvent<
|
|
113
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
113
114
|
|
|
114
115
|
/**
|
|
115
116
|
* On on-chain remark happened.
|
|
116
117
|
**/
|
|
117
|
-
Remarked: GenericPalletEvent<
|
|
118
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
118
119
|
|
|
119
120
|
/**
|
|
120
121
|
* An upgrade was authorized.
|
|
121
122
|
**/
|
|
122
|
-
UpgradeAuthorized: GenericPalletEvent<
|
|
123
|
+
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
123
124
|
|
|
124
125
|
/**
|
|
125
126
|
* Generic pallet event
|
|
126
127
|
**/
|
|
127
|
-
[prop: string]: GenericPalletEvent
|
|
128
|
+
[prop: string]: GenericPalletEvent;
|
|
128
129
|
};
|
|
129
130
|
/**
|
|
130
131
|
* Pallet `Balances`'s events
|
|
@@ -133,40 +134,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
133
134
|
/**
|
|
134
135
|
* An account was created with some free balance.
|
|
135
136
|
**/
|
|
136
|
-
Endowed: GenericPalletEvent<
|
|
137
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
137
138
|
|
|
138
139
|
/**
|
|
139
140
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
140
141
|
* resulting in an outright loss.
|
|
141
142
|
**/
|
|
142
|
-
DustLost: GenericPalletEvent<
|
|
143
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
143
144
|
|
|
144
145
|
/**
|
|
145
146
|
* Transfer succeeded.
|
|
146
147
|
**/
|
|
147
|
-
Transfer: GenericPalletEvent<
|
|
148
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
148
149
|
|
|
149
150
|
/**
|
|
150
151
|
* A balance was set by root.
|
|
151
152
|
**/
|
|
152
|
-
BalanceSet: GenericPalletEvent<
|
|
153
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
153
154
|
|
|
154
155
|
/**
|
|
155
156
|
* Some balance was reserved (moved from free to reserved).
|
|
156
157
|
**/
|
|
157
|
-
Reserved: GenericPalletEvent<
|
|
158
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
158
159
|
|
|
159
160
|
/**
|
|
160
161
|
* Some balance was unreserved (moved from reserved to free).
|
|
161
162
|
**/
|
|
162
|
-
Unreserved: GenericPalletEvent<
|
|
163
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
163
164
|
|
|
164
165
|
/**
|
|
165
166
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
166
167
|
* Final argument indicates the destination balance type.
|
|
167
168
|
**/
|
|
168
169
|
ReserveRepatriated: GenericPalletEvent<
|
|
169
|
-
Rv,
|
|
170
170
|
'Balances',
|
|
171
171
|
'ReserveRepatriated',
|
|
172
172
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -175,82 +175,82 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
175
175
|
/**
|
|
176
176
|
* Some amount was deposited (e.g. for transaction fees).
|
|
177
177
|
**/
|
|
178
|
-
Deposit: GenericPalletEvent<
|
|
178
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
182
182
|
**/
|
|
183
|
-
Withdraw: GenericPalletEvent<
|
|
183
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
187
187
|
**/
|
|
188
|
-
Slashed: GenericPalletEvent<
|
|
188
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* Some amount was minted into an account.
|
|
192
192
|
**/
|
|
193
|
-
Minted: GenericPalletEvent<
|
|
193
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* Some amount was burned from an account.
|
|
197
197
|
**/
|
|
198
|
-
Burned: GenericPalletEvent<
|
|
198
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* Some amount was suspended from an account (it can be restored later).
|
|
202
202
|
**/
|
|
203
|
-
Suspended: GenericPalletEvent<
|
|
203
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Some amount was restored into an account.
|
|
207
207
|
**/
|
|
208
|
-
Restored: GenericPalletEvent<
|
|
208
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* An account was upgraded.
|
|
212
212
|
**/
|
|
213
|
-
Upgraded: GenericPalletEvent<
|
|
213
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
217
217
|
**/
|
|
218
|
-
Issued: GenericPalletEvent<
|
|
218
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
222
222
|
**/
|
|
223
|
-
Rescinded: GenericPalletEvent<
|
|
223
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Some balance was locked.
|
|
227
227
|
**/
|
|
228
|
-
Locked: GenericPalletEvent<
|
|
228
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* Some balance was unlocked.
|
|
232
232
|
**/
|
|
233
|
-
Unlocked: GenericPalletEvent<
|
|
233
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Some balance was frozen.
|
|
237
237
|
**/
|
|
238
|
-
Frozen: GenericPalletEvent<
|
|
238
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* Some balance was thawed.
|
|
242
242
|
**/
|
|
243
|
-
Thawed: GenericPalletEvent<
|
|
243
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* The `TotalIssuance` was forcefully changed.
|
|
247
247
|
**/
|
|
248
|
-
TotalIssuanceForced: GenericPalletEvent<
|
|
248
|
+
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* Generic pallet event
|
|
252
252
|
**/
|
|
253
|
-
[prop: string]: GenericPalletEvent
|
|
253
|
+
[prop: string]: GenericPalletEvent;
|
|
254
254
|
};
|
|
255
255
|
/**
|
|
256
256
|
* Pallet `TransactionPayment`'s events
|
|
@@ -261,7 +261,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
261
261
|
* has been paid by `who`.
|
|
262
262
|
**/
|
|
263
263
|
TransactionFeePaid: GenericPalletEvent<
|
|
264
|
-
Rv,
|
|
265
264
|
'TransactionPayment',
|
|
266
265
|
'TransactionFeePaid',
|
|
267
266
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -270,7 +269,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
270
269
|
/**
|
|
271
270
|
* Generic pallet event
|
|
272
271
|
**/
|
|
273
|
-
[prop: string]: GenericPalletEvent
|
|
272
|
+
[prop: string]: GenericPalletEvent;
|
|
274
273
|
};
|
|
275
274
|
/**
|
|
276
275
|
* Pallet `MultiTransactionPayment`'s events
|
|
@@ -281,7 +280,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
281
280
|
* [who, currency]
|
|
282
281
|
**/
|
|
283
282
|
CurrencySet: GenericPalletEvent<
|
|
284
|
-
Rv,
|
|
285
283
|
'MultiTransactionPayment',
|
|
286
284
|
'CurrencySet',
|
|
287
285
|
{ accountId: AccountId32; assetId: number }
|
|
@@ -291,20 +289,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
291
289
|
* New accepted currency added
|
|
292
290
|
* [currency]
|
|
293
291
|
**/
|
|
294
|
-
CurrencyAdded: GenericPalletEvent<
|
|
292
|
+
CurrencyAdded: GenericPalletEvent<'MultiTransactionPayment', 'CurrencyAdded', { assetId: number }>;
|
|
295
293
|
|
|
296
294
|
/**
|
|
297
295
|
* Accepted currency removed
|
|
298
296
|
* [currency]
|
|
299
297
|
**/
|
|
300
|
-
CurrencyRemoved: GenericPalletEvent<
|
|
298
|
+
CurrencyRemoved: GenericPalletEvent<'MultiTransactionPayment', 'CurrencyRemoved', { assetId: number }>;
|
|
301
299
|
|
|
302
300
|
/**
|
|
303
301
|
* Transaction fee paid in non-native currency
|
|
304
302
|
* [Account, Currency, Native fee amount, Non-native fee amount, Destination account]
|
|
305
303
|
**/
|
|
306
304
|
FeeWithdrawn: GenericPalletEvent<
|
|
307
|
-
Rv,
|
|
308
305
|
'MultiTransactionPayment',
|
|
309
306
|
'FeeWithdrawn',
|
|
310
307
|
{
|
|
@@ -319,7 +316,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
319
316
|
/**
|
|
320
317
|
* Generic pallet event
|
|
321
318
|
**/
|
|
322
|
-
[prop: string]: GenericPalletEvent
|
|
319
|
+
[prop: string]: GenericPalletEvent;
|
|
323
320
|
};
|
|
324
321
|
/**
|
|
325
322
|
* Pallet `Treasury`'s events
|
|
@@ -328,38 +325,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
328
325
|
/**
|
|
329
326
|
* We have ended a spend period and will now allocate funds.
|
|
330
327
|
**/
|
|
331
|
-
Spending: GenericPalletEvent<
|
|
328
|
+
Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
|
|
332
329
|
|
|
333
330
|
/**
|
|
334
331
|
* Some funds have been allocated.
|
|
335
332
|
**/
|
|
336
|
-
Awarded: GenericPalletEvent<
|
|
337
|
-
Rv,
|
|
338
|
-
'Treasury',
|
|
339
|
-
'Awarded',
|
|
340
|
-
{ proposalIndex: number; award: bigint; account: AccountId32 }
|
|
341
|
-
>;
|
|
333
|
+
Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
|
|
342
334
|
|
|
343
335
|
/**
|
|
344
336
|
* Some of our funds have been burnt.
|
|
345
337
|
**/
|
|
346
|
-
Burnt: GenericPalletEvent<
|
|
338
|
+
Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
|
|
347
339
|
|
|
348
340
|
/**
|
|
349
341
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
350
342
|
**/
|
|
351
|
-
Rollover: GenericPalletEvent<
|
|
343
|
+
Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
|
|
352
344
|
|
|
353
345
|
/**
|
|
354
346
|
* Some funds have been deposited.
|
|
355
347
|
**/
|
|
356
|
-
Deposit: GenericPalletEvent<
|
|
348
|
+
Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
|
|
357
349
|
|
|
358
350
|
/**
|
|
359
351
|
* A new spend proposal has been approved.
|
|
360
352
|
**/
|
|
361
353
|
SpendApproved: GenericPalletEvent<
|
|
362
|
-
Rv,
|
|
363
354
|
'Treasury',
|
|
364
355
|
'SpendApproved',
|
|
365
356
|
{ proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
|
|
@@ -368,18 +359,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
368
359
|
/**
|
|
369
360
|
* The inactive funds of the pallet have been updated.
|
|
370
361
|
**/
|
|
371
|
-
UpdatedInactive: GenericPalletEvent<
|
|
372
|
-
Rv,
|
|
373
|
-
'Treasury',
|
|
374
|
-
'UpdatedInactive',
|
|
375
|
-
{ reactivated: bigint; deactivated: bigint }
|
|
376
|
-
>;
|
|
362
|
+
UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
|
|
377
363
|
|
|
378
364
|
/**
|
|
379
365
|
* A new asset spend proposal has been approved.
|
|
380
366
|
**/
|
|
381
367
|
AssetSpendApproved: GenericPalletEvent<
|
|
382
|
-
Rv,
|
|
383
368
|
'Treasury',
|
|
384
369
|
'AssetSpendApproved',
|
|
385
370
|
{ index: number; assetKind: []; amount: bigint; beneficiary: AccountId32; validFrom: number; expireAt: number }
|
|
@@ -388,28 +373,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
388
373
|
/**
|
|
389
374
|
* An approved spend was voided.
|
|
390
375
|
**/
|
|
391
|
-
AssetSpendVoided: GenericPalletEvent<
|
|
376
|
+
AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
|
|
392
377
|
|
|
393
378
|
/**
|
|
394
379
|
* A payment happened.
|
|
395
380
|
**/
|
|
396
|
-
Paid: GenericPalletEvent<
|
|
381
|
+
Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: [] }>;
|
|
397
382
|
|
|
398
383
|
/**
|
|
399
384
|
* A payment failed and can be retried.
|
|
400
385
|
**/
|
|
401
|
-
PaymentFailed: GenericPalletEvent<
|
|
386
|
+
PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: [] }>;
|
|
402
387
|
|
|
403
388
|
/**
|
|
404
389
|
* A spend was processed and removed from the storage. It might have been successfully
|
|
405
390
|
* paid or it may have expired.
|
|
406
391
|
**/
|
|
407
|
-
SpendProcessed: GenericPalletEvent<
|
|
392
|
+
SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
|
|
408
393
|
|
|
409
394
|
/**
|
|
410
395
|
* Generic pallet event
|
|
411
396
|
**/
|
|
412
|
-
[prop: string]: GenericPalletEvent
|
|
397
|
+
[prop: string]: GenericPalletEvent;
|
|
413
398
|
};
|
|
414
399
|
/**
|
|
415
400
|
* Pallet `Utility`'s events
|
|
@@ -419,37 +404,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
419
404
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
420
405
|
* well as the error.
|
|
421
406
|
**/
|
|
422
|
-
BatchInterrupted: GenericPalletEvent<
|
|
407
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
423
408
|
|
|
424
409
|
/**
|
|
425
410
|
* Batch of dispatches completed fully with no error.
|
|
426
411
|
**/
|
|
427
|
-
BatchCompleted: GenericPalletEvent<
|
|
412
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
428
413
|
|
|
429
414
|
/**
|
|
430
415
|
* Batch of dispatches completed but has errors.
|
|
431
416
|
**/
|
|
432
|
-
BatchCompletedWithErrors: GenericPalletEvent<
|
|
417
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
433
418
|
|
|
434
419
|
/**
|
|
435
420
|
* A single item within a Batch of dispatches has completed with no error.
|
|
436
421
|
**/
|
|
437
|
-
ItemCompleted: GenericPalletEvent<
|
|
422
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
438
423
|
|
|
439
424
|
/**
|
|
440
425
|
* A single item within a Batch of dispatches has completed with error.
|
|
441
426
|
**/
|
|
442
|
-
ItemFailed: GenericPalletEvent<
|
|
427
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
443
428
|
|
|
444
429
|
/**
|
|
445
430
|
* A call was dispatched.
|
|
446
431
|
**/
|
|
447
|
-
DispatchedAs: GenericPalletEvent<
|
|
432
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
448
433
|
|
|
449
434
|
/**
|
|
450
435
|
* Generic pallet event
|
|
451
436
|
**/
|
|
452
|
-
[prop: string]: GenericPalletEvent
|
|
437
|
+
[prop: string]: GenericPalletEvent;
|
|
453
438
|
};
|
|
454
439
|
/**
|
|
455
440
|
* Pallet `Preimage`'s events
|
|
@@ -458,22 +443,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
458
443
|
/**
|
|
459
444
|
* A preimage has been noted.
|
|
460
445
|
**/
|
|
461
|
-
Noted: GenericPalletEvent<
|
|
446
|
+
Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
|
|
462
447
|
|
|
463
448
|
/**
|
|
464
449
|
* A preimage has been requested.
|
|
465
450
|
**/
|
|
466
|
-
Requested: GenericPalletEvent<
|
|
451
|
+
Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
|
|
467
452
|
|
|
468
453
|
/**
|
|
469
454
|
* A preimage has ben cleared.
|
|
470
455
|
**/
|
|
471
|
-
Cleared: GenericPalletEvent<
|
|
456
|
+
Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
|
|
472
457
|
|
|
473
458
|
/**
|
|
474
459
|
* Generic pallet event
|
|
475
460
|
**/
|
|
476
|
-
[prop: string]: GenericPalletEvent
|
|
461
|
+
[prop: string]: GenericPalletEvent;
|
|
477
462
|
};
|
|
478
463
|
/**
|
|
479
464
|
* Pallet `Identity`'s events
|
|
@@ -482,23 +467,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
482
467
|
/**
|
|
483
468
|
* A name was set or reset (which will remove all judgements).
|
|
484
469
|
**/
|
|
485
|
-
IdentitySet: GenericPalletEvent<
|
|
470
|
+
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
|
|
486
471
|
|
|
487
472
|
/**
|
|
488
473
|
* A name was cleared, and the given balance returned.
|
|
489
474
|
**/
|
|
490
|
-
IdentityCleared: GenericPalletEvent<
|
|
475
|
+
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
|
|
491
476
|
|
|
492
477
|
/**
|
|
493
478
|
* A name was removed and the given balance slashed.
|
|
494
479
|
**/
|
|
495
|
-
IdentityKilled: GenericPalletEvent<
|
|
480
|
+
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
|
|
496
481
|
|
|
497
482
|
/**
|
|
498
483
|
* A judgement was asked from a registrar.
|
|
499
484
|
**/
|
|
500
485
|
JudgementRequested: GenericPalletEvent<
|
|
501
|
-
Rv,
|
|
502
486
|
'Identity',
|
|
503
487
|
'JudgementRequested',
|
|
504
488
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -508,7 +492,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
508
492
|
* A judgement request was retracted.
|
|
509
493
|
**/
|
|
510
494
|
JudgementUnrequested: GenericPalletEvent<
|
|
511
|
-
Rv,
|
|
512
495
|
'Identity',
|
|
513
496
|
'JudgementUnrequested',
|
|
514
497
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -517,23 +500,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
517
500
|
/**
|
|
518
501
|
* A judgement was given by a registrar.
|
|
519
502
|
**/
|
|
520
|
-
JudgementGiven: GenericPalletEvent<
|
|
521
|
-
Rv,
|
|
522
|
-
'Identity',
|
|
523
|
-
'JudgementGiven',
|
|
524
|
-
{ target: AccountId32; registrarIndex: number }
|
|
525
|
-
>;
|
|
503
|
+
JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
|
|
526
504
|
|
|
527
505
|
/**
|
|
528
506
|
* A registrar was added.
|
|
529
507
|
**/
|
|
530
|
-
RegistrarAdded: GenericPalletEvent<
|
|
508
|
+
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
|
|
531
509
|
|
|
532
510
|
/**
|
|
533
511
|
* A sub-identity was added to an identity and the deposit paid.
|
|
534
512
|
**/
|
|
535
513
|
SubIdentityAdded: GenericPalletEvent<
|
|
536
|
-
Rv,
|
|
537
514
|
'Identity',
|
|
538
515
|
'SubIdentityAdded',
|
|
539
516
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -543,7 +520,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
543
520
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
544
521
|
**/
|
|
545
522
|
SubIdentityRemoved: GenericPalletEvent<
|
|
546
|
-
Rv,
|
|
547
523
|
'Identity',
|
|
548
524
|
'SubIdentityRemoved',
|
|
549
525
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -554,7 +530,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
554
530
|
* main identity account to the sub-identity account.
|
|
555
531
|
**/
|
|
556
532
|
SubIdentityRevoked: GenericPalletEvent<
|
|
557
|
-
Rv,
|
|
558
533
|
'Identity',
|
|
559
534
|
'SubIdentityRevoked',
|
|
560
535
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -563,23 +538,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
563
538
|
/**
|
|
564
539
|
* A username authority was added.
|
|
565
540
|
**/
|
|
566
|
-
AuthorityAdded: GenericPalletEvent<
|
|
541
|
+
AuthorityAdded: GenericPalletEvent<'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
|
|
567
542
|
|
|
568
543
|
/**
|
|
569
544
|
* A username authority was removed.
|
|
570
545
|
**/
|
|
571
|
-
AuthorityRemoved: GenericPalletEvent<
|
|
546
|
+
AuthorityRemoved: GenericPalletEvent<'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
|
|
572
547
|
|
|
573
548
|
/**
|
|
574
549
|
* A username was set for `who`.
|
|
575
550
|
**/
|
|
576
|
-
UsernameSet: GenericPalletEvent<
|
|
551
|
+
UsernameSet: GenericPalletEvent<'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
|
|
577
552
|
|
|
578
553
|
/**
|
|
579
554
|
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
580
555
|
**/
|
|
581
556
|
UsernameQueued: GenericPalletEvent<
|
|
582
|
-
Rv,
|
|
583
557
|
'Identity',
|
|
584
558
|
'UsernameQueued',
|
|
585
559
|
{ who: AccountId32; username: Bytes; expiration: number }
|
|
@@ -588,19 +562,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
588
562
|
/**
|
|
589
563
|
* A queued username passed its expiration without being claimed and was removed.
|
|
590
564
|
**/
|
|
591
|
-
PreapprovalExpired: GenericPalletEvent<
|
|
565
|
+
PreapprovalExpired: GenericPalletEvent<'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
|
|
592
566
|
|
|
593
567
|
/**
|
|
594
568
|
* A username was set as a primary and can be looked up from `who`.
|
|
595
569
|
**/
|
|
596
|
-
PrimaryUsernameSet: GenericPalletEvent<
|
|
570
|
+
PrimaryUsernameSet: GenericPalletEvent<'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
|
|
597
571
|
|
|
598
572
|
/**
|
|
599
573
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
600
574
|
* identity) has been removed.
|
|
601
575
|
**/
|
|
602
576
|
DanglingUsernameRemoved: GenericPalletEvent<
|
|
603
|
-
Rv,
|
|
604
577
|
'Identity',
|
|
605
578
|
'DanglingUsernameRemoved',
|
|
606
579
|
{ who: AccountId32; username: Bytes }
|
|
@@ -609,7 +582,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
609
582
|
/**
|
|
610
583
|
* Generic pallet event
|
|
611
584
|
**/
|
|
612
|
-
[prop: string]: GenericPalletEvent
|
|
585
|
+
[prop: string]: GenericPalletEvent;
|
|
613
586
|
};
|
|
614
587
|
/**
|
|
615
588
|
* Pallet `Democracy`'s events
|
|
@@ -618,68 +591,62 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
618
591
|
/**
|
|
619
592
|
* A motion has been proposed by a public account.
|
|
620
593
|
**/
|
|
621
|
-
Proposed: GenericPalletEvent<
|
|
594
|
+
Proposed: GenericPalletEvent<'Democracy', 'Proposed', { proposalIndex: number; deposit: bigint }>;
|
|
622
595
|
|
|
623
596
|
/**
|
|
624
597
|
* A public proposal has been tabled for referendum vote.
|
|
625
598
|
**/
|
|
626
|
-
Tabled: GenericPalletEvent<
|
|
599
|
+
Tabled: GenericPalletEvent<'Democracy', 'Tabled', { proposalIndex: number; deposit: bigint }>;
|
|
627
600
|
|
|
628
601
|
/**
|
|
629
602
|
* An external proposal has been tabled.
|
|
630
603
|
**/
|
|
631
|
-
ExternalTabled: GenericPalletEvent<
|
|
604
|
+
ExternalTabled: GenericPalletEvent<'Democracy', 'ExternalTabled', null>;
|
|
632
605
|
|
|
633
606
|
/**
|
|
634
607
|
* A referendum has begun.
|
|
635
608
|
**/
|
|
636
|
-
Started: GenericPalletEvent<
|
|
637
|
-
Rv,
|
|
638
|
-
'Democracy',
|
|
639
|
-
'Started',
|
|
640
|
-
{ refIndex: number; threshold: PalletDemocracyVoteThreshold }
|
|
641
|
-
>;
|
|
609
|
+
Started: GenericPalletEvent<'Democracy', 'Started', { refIndex: number; threshold: PalletDemocracyVoteThreshold }>;
|
|
642
610
|
|
|
643
611
|
/**
|
|
644
612
|
* A proposal has been approved by referendum.
|
|
645
613
|
**/
|
|
646
|
-
Passed: GenericPalletEvent<
|
|
614
|
+
Passed: GenericPalletEvent<'Democracy', 'Passed', { refIndex: number }>;
|
|
647
615
|
|
|
648
616
|
/**
|
|
649
617
|
* A proposal has been rejected by referendum.
|
|
650
618
|
**/
|
|
651
|
-
NotPassed: GenericPalletEvent<
|
|
619
|
+
NotPassed: GenericPalletEvent<'Democracy', 'NotPassed', { refIndex: number }>;
|
|
652
620
|
|
|
653
621
|
/**
|
|
654
622
|
* A referendum has been cancelled.
|
|
655
623
|
**/
|
|
656
|
-
Cancelled: GenericPalletEvent<
|
|
624
|
+
Cancelled: GenericPalletEvent<'Democracy', 'Cancelled', { refIndex: number }>;
|
|
657
625
|
|
|
658
626
|
/**
|
|
659
627
|
* An account has delegated their vote to another account.
|
|
660
628
|
**/
|
|
661
|
-
Delegated: GenericPalletEvent<
|
|
629
|
+
Delegated: GenericPalletEvent<'Democracy', 'Delegated', { who: AccountId32; target: AccountId32 }>;
|
|
662
630
|
|
|
663
631
|
/**
|
|
664
632
|
* An account has cancelled a previous delegation operation.
|
|
665
633
|
**/
|
|
666
|
-
Undelegated: GenericPalletEvent<
|
|
634
|
+
Undelegated: GenericPalletEvent<'Democracy', 'Undelegated', { account: AccountId32 }>;
|
|
667
635
|
|
|
668
636
|
/**
|
|
669
637
|
* An external proposal has been vetoed.
|
|
670
638
|
**/
|
|
671
|
-
Vetoed: GenericPalletEvent<
|
|
639
|
+
Vetoed: GenericPalletEvent<'Democracy', 'Vetoed', { who: AccountId32; proposalHash: H256; until: number }>;
|
|
672
640
|
|
|
673
641
|
/**
|
|
674
642
|
* A proposal_hash has been blacklisted permanently.
|
|
675
643
|
**/
|
|
676
|
-
Blacklisted: GenericPalletEvent<
|
|
644
|
+
Blacklisted: GenericPalletEvent<'Democracy', 'Blacklisted', { proposalHash: H256 }>;
|
|
677
645
|
|
|
678
646
|
/**
|
|
679
647
|
* An account has voted in a referendum
|
|
680
648
|
**/
|
|
681
649
|
Voted: GenericPalletEvent<
|
|
682
|
-
Rv,
|
|
683
650
|
'Democracy',
|
|
684
651
|
'Voted',
|
|
685
652
|
{ voter: AccountId32; refIndex: number; vote: PalletDemocracyVoteAccountVote }
|
|
@@ -688,18 +655,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
688
655
|
/**
|
|
689
656
|
* An account has secconded a proposal
|
|
690
657
|
**/
|
|
691
|
-
Seconded: GenericPalletEvent<
|
|
658
|
+
Seconded: GenericPalletEvent<'Democracy', 'Seconded', { seconder: AccountId32; propIndex: number }>;
|
|
692
659
|
|
|
693
660
|
/**
|
|
694
661
|
* A proposal got canceled.
|
|
695
662
|
**/
|
|
696
|
-
ProposalCanceled: GenericPalletEvent<
|
|
663
|
+
ProposalCanceled: GenericPalletEvent<'Democracy', 'ProposalCanceled', { propIndex: number }>;
|
|
697
664
|
|
|
698
665
|
/**
|
|
699
666
|
* Metadata for a proposal or a referendum has been set.
|
|
700
667
|
**/
|
|
701
668
|
MetadataSet: GenericPalletEvent<
|
|
702
|
-
Rv,
|
|
703
669
|
'Democracy',
|
|
704
670
|
'MetadataSet',
|
|
705
671
|
{
|
|
@@ -719,7 +685,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
719
685
|
* Metadata for a proposal or a referendum has been cleared.
|
|
720
686
|
**/
|
|
721
687
|
MetadataCleared: GenericPalletEvent<
|
|
722
|
-
Rv,
|
|
723
688
|
'Democracy',
|
|
724
689
|
'MetadataCleared',
|
|
725
690
|
{
|
|
@@ -739,7 +704,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
739
704
|
* Metadata has been transferred to new owner.
|
|
740
705
|
**/
|
|
741
706
|
MetadataTransferred: GenericPalletEvent<
|
|
742
|
-
Rv,
|
|
743
707
|
'Democracy',
|
|
744
708
|
'MetadataTransferred',
|
|
745
709
|
{
|
|
@@ -763,7 +727,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
763
727
|
/**
|
|
764
728
|
* Generic pallet event
|
|
765
729
|
**/
|
|
766
|
-
[prop: string]: GenericPalletEvent
|
|
730
|
+
[prop: string]: GenericPalletEvent;
|
|
767
731
|
};
|
|
768
732
|
/**
|
|
769
733
|
* Pallet `TechnicalCommittee`'s events
|
|
@@ -774,7 +738,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
774
738
|
* `MemberCount`).
|
|
775
739
|
**/
|
|
776
740
|
Proposed: GenericPalletEvent<
|
|
777
|
-
Rv,
|
|
778
741
|
'TechnicalCommittee',
|
|
779
742
|
'Proposed',
|
|
780
743
|
{ account: AccountId32; proposalIndex: number; proposalHash: H256; threshold: number }
|
|
@@ -785,7 +748,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
785
748
|
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
786
749
|
**/
|
|
787
750
|
Voted: GenericPalletEvent<
|
|
788
|
-
Rv,
|
|
789
751
|
'TechnicalCommittee',
|
|
790
752
|
'Voted',
|
|
791
753
|
{ account: AccountId32; proposalHash: H256; voted: boolean; yes: number; no: number }
|
|
@@ -794,18 +756,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
794
756
|
/**
|
|
795
757
|
* A motion was approved by the required threshold.
|
|
796
758
|
**/
|
|
797
|
-
Approved: GenericPalletEvent<
|
|
759
|
+
Approved: GenericPalletEvent<'TechnicalCommittee', 'Approved', { proposalHash: H256 }>;
|
|
798
760
|
|
|
799
761
|
/**
|
|
800
762
|
* A motion was not approved by the required threshold.
|
|
801
763
|
**/
|
|
802
|
-
Disapproved: GenericPalletEvent<
|
|
764
|
+
Disapproved: GenericPalletEvent<'TechnicalCommittee', 'Disapproved', { proposalHash: H256 }>;
|
|
803
765
|
|
|
804
766
|
/**
|
|
805
767
|
* A motion was executed; result will be `Ok` if it returned without error.
|
|
806
768
|
**/
|
|
807
769
|
Executed: GenericPalletEvent<
|
|
808
|
-
Rv,
|
|
809
770
|
'TechnicalCommittee',
|
|
810
771
|
'Executed',
|
|
811
772
|
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
@@ -815,7 +776,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
815
776
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
816
777
|
**/
|
|
817
778
|
MemberExecuted: GenericPalletEvent<
|
|
818
|
-
Rv,
|
|
819
779
|
'TechnicalCommittee',
|
|
820
780
|
'MemberExecuted',
|
|
821
781
|
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
@@ -824,12 +784,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
824
784
|
/**
|
|
825
785
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
826
786
|
**/
|
|
827
|
-
Closed: GenericPalletEvent<
|
|
787
|
+
Closed: GenericPalletEvent<'TechnicalCommittee', 'Closed', { proposalHash: H256; yes: number; no: number }>;
|
|
828
788
|
|
|
829
789
|
/**
|
|
830
790
|
* Generic pallet event
|
|
831
791
|
**/
|
|
832
|
-
[prop: string]: GenericPalletEvent
|
|
792
|
+
[prop: string]: GenericPalletEvent;
|
|
833
793
|
};
|
|
834
794
|
/**
|
|
835
795
|
* Pallet `Proxy`'s events
|
|
@@ -838,14 +798,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
838
798
|
/**
|
|
839
799
|
* A proxy was executed correctly, with the given.
|
|
840
800
|
**/
|
|
841
|
-
ProxyExecuted: GenericPalletEvent<
|
|
801
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
842
802
|
|
|
843
803
|
/**
|
|
844
804
|
* A pure account has been created by new proxy with given
|
|
845
805
|
* disambiguation index and proxy type.
|
|
846
806
|
**/
|
|
847
807
|
PureCreated: GenericPalletEvent<
|
|
848
|
-
Rv,
|
|
849
808
|
'Proxy',
|
|
850
809
|
'PureCreated',
|
|
851
810
|
{ pure: AccountId32; who: AccountId32; proxyType: HydradxRuntimeSystemProxyType; disambiguationIndex: number }
|
|
@@ -854,13 +813,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
854
813
|
/**
|
|
855
814
|
* An announcement was placed to make a call in the future.
|
|
856
815
|
**/
|
|
857
|
-
Announced: GenericPalletEvent<
|
|
816
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
858
817
|
|
|
859
818
|
/**
|
|
860
819
|
* A proxy was added.
|
|
861
820
|
**/
|
|
862
821
|
ProxyAdded: GenericPalletEvent<
|
|
863
|
-
Rv,
|
|
864
822
|
'Proxy',
|
|
865
823
|
'ProxyAdded',
|
|
866
824
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: HydradxRuntimeSystemProxyType; delay: number }
|
|
@@ -870,7 +828,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
870
828
|
* A proxy was removed.
|
|
871
829
|
**/
|
|
872
830
|
ProxyRemoved: GenericPalletEvent<
|
|
873
|
-
Rv,
|
|
874
831
|
'Proxy',
|
|
875
832
|
'ProxyRemoved',
|
|
876
833
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: HydradxRuntimeSystemProxyType; delay: number }
|
|
@@ -879,7 +836,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
879
836
|
/**
|
|
880
837
|
* Generic pallet event
|
|
881
838
|
**/
|
|
882
|
-
[prop: string]: GenericPalletEvent
|
|
839
|
+
[prop: string]: GenericPalletEvent;
|
|
883
840
|
};
|
|
884
841
|
/**
|
|
885
842
|
* Pallet `Multisig`'s events
|
|
@@ -889,7 +846,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
889
846
|
* A new multisig operation has begun.
|
|
890
847
|
**/
|
|
891
848
|
NewMultisig: GenericPalletEvent<
|
|
892
|
-
Rv,
|
|
893
849
|
'Multisig',
|
|
894
850
|
'NewMultisig',
|
|
895
851
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -899,7 +855,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
899
855
|
* A multisig operation has been approved by someone.
|
|
900
856
|
**/
|
|
901
857
|
MultisigApproval: GenericPalletEvent<
|
|
902
|
-
Rv,
|
|
903
858
|
'Multisig',
|
|
904
859
|
'MultisigApproval',
|
|
905
860
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -909,7 +864,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
909
864
|
* A multisig operation has been executed.
|
|
910
865
|
**/
|
|
911
866
|
MultisigExecuted: GenericPalletEvent<
|
|
912
|
-
Rv,
|
|
913
867
|
'Multisig',
|
|
914
868
|
'MultisigExecuted',
|
|
915
869
|
{
|
|
@@ -925,7 +879,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
925
879
|
* A multisig operation has been cancelled.
|
|
926
880
|
**/
|
|
927
881
|
MultisigCancelled: GenericPalletEvent<
|
|
928
|
-
Rv,
|
|
929
882
|
'Multisig',
|
|
930
883
|
'MultisigCancelled',
|
|
931
884
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -934,7 +887,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
934
887
|
/**
|
|
935
888
|
* Generic pallet event
|
|
936
889
|
**/
|
|
937
|
-
[prop: string]: GenericPalletEvent
|
|
890
|
+
[prop: string]: GenericPalletEvent;
|
|
938
891
|
};
|
|
939
892
|
/**
|
|
940
893
|
* Pallet `Uniques`'s events
|
|
@@ -943,33 +896,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
943
896
|
/**
|
|
944
897
|
* A `collection` was created.
|
|
945
898
|
**/
|
|
946
|
-
Created: GenericPalletEvent<
|
|
947
|
-
Rv,
|
|
948
|
-
'Uniques',
|
|
949
|
-
'Created',
|
|
950
|
-
{ collection: bigint; creator: AccountId32; owner: AccountId32 }
|
|
951
|
-
>;
|
|
899
|
+
Created: GenericPalletEvent<'Uniques', 'Created', { collection: bigint; creator: AccountId32; owner: AccountId32 }>;
|
|
952
900
|
|
|
953
901
|
/**
|
|
954
902
|
* A `collection` was force-created.
|
|
955
903
|
**/
|
|
956
|
-
ForceCreated: GenericPalletEvent<
|
|
904
|
+
ForceCreated: GenericPalletEvent<'Uniques', 'ForceCreated', { collection: bigint; owner: AccountId32 }>;
|
|
957
905
|
|
|
958
906
|
/**
|
|
959
907
|
* A `collection` was destroyed.
|
|
960
908
|
**/
|
|
961
|
-
Destroyed: GenericPalletEvent<
|
|
909
|
+
Destroyed: GenericPalletEvent<'Uniques', 'Destroyed', { collection: bigint }>;
|
|
962
910
|
|
|
963
911
|
/**
|
|
964
912
|
* An `item` was issued.
|
|
965
913
|
**/
|
|
966
|
-
Issued: GenericPalletEvent<
|
|
914
|
+
Issued: GenericPalletEvent<'Uniques', 'Issued', { collection: bigint; item: bigint; owner: AccountId32 }>;
|
|
967
915
|
|
|
968
916
|
/**
|
|
969
917
|
* An `item` was transferred.
|
|
970
918
|
**/
|
|
971
919
|
Transferred: GenericPalletEvent<
|
|
972
|
-
Rv,
|
|
973
920
|
'Uniques',
|
|
974
921
|
'Transferred',
|
|
975
922
|
{ collection: bigint; item: bigint; from: AccountId32; to: AccountId32 }
|
|
@@ -978,38 +925,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
978
925
|
/**
|
|
979
926
|
* An `item` was destroyed.
|
|
980
927
|
**/
|
|
981
|
-
Burned: GenericPalletEvent<
|
|
928
|
+
Burned: GenericPalletEvent<'Uniques', 'Burned', { collection: bigint; item: bigint; owner: AccountId32 }>;
|
|
982
929
|
|
|
983
930
|
/**
|
|
984
931
|
* Some `item` was frozen.
|
|
985
932
|
**/
|
|
986
|
-
Frozen: GenericPalletEvent<
|
|
933
|
+
Frozen: GenericPalletEvent<'Uniques', 'Frozen', { collection: bigint; item: bigint }>;
|
|
987
934
|
|
|
988
935
|
/**
|
|
989
936
|
* Some `item` was thawed.
|
|
990
937
|
**/
|
|
991
|
-
Thawed: GenericPalletEvent<
|
|
938
|
+
Thawed: GenericPalletEvent<'Uniques', 'Thawed', { collection: bigint; item: bigint }>;
|
|
992
939
|
|
|
993
940
|
/**
|
|
994
941
|
* Some `collection` was frozen.
|
|
995
942
|
**/
|
|
996
|
-
CollectionFrozen: GenericPalletEvent<
|
|
943
|
+
CollectionFrozen: GenericPalletEvent<'Uniques', 'CollectionFrozen', { collection: bigint }>;
|
|
997
944
|
|
|
998
945
|
/**
|
|
999
946
|
* Some `collection` was thawed.
|
|
1000
947
|
**/
|
|
1001
|
-
CollectionThawed: GenericPalletEvent<
|
|
948
|
+
CollectionThawed: GenericPalletEvent<'Uniques', 'CollectionThawed', { collection: bigint }>;
|
|
1002
949
|
|
|
1003
950
|
/**
|
|
1004
951
|
* The owner changed.
|
|
1005
952
|
**/
|
|
1006
|
-
OwnerChanged: GenericPalletEvent<
|
|
953
|
+
OwnerChanged: GenericPalletEvent<'Uniques', 'OwnerChanged', { collection: bigint; newOwner: AccountId32 }>;
|
|
1007
954
|
|
|
1008
955
|
/**
|
|
1009
956
|
* The management team changed.
|
|
1010
957
|
**/
|
|
1011
958
|
TeamChanged: GenericPalletEvent<
|
|
1012
|
-
Rv,
|
|
1013
959
|
'Uniques',
|
|
1014
960
|
'TeamChanged',
|
|
1015
961
|
{ collection: bigint; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -1020,7 +966,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1020
966
|
* a `delegate`.
|
|
1021
967
|
**/
|
|
1022
968
|
ApprovedTransfer: GenericPalletEvent<
|
|
1023
|
-
Rv,
|
|
1024
969
|
'Uniques',
|
|
1025
970
|
'ApprovedTransfer',
|
|
1026
971
|
{ collection: bigint; item: bigint; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1031,7 +976,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1031
976
|
* `collection` was cancelled by its `owner`.
|
|
1032
977
|
**/
|
|
1033
978
|
ApprovalCancelled: GenericPalletEvent<
|
|
1034
|
-
Rv,
|
|
1035
979
|
'Uniques',
|
|
1036
980
|
'ApprovalCancelled',
|
|
1037
981
|
{ collection: bigint; item: bigint; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1040,13 +984,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1040
984
|
/**
|
|
1041
985
|
* A `collection` has had its attributes changed by the `Force` origin.
|
|
1042
986
|
**/
|
|
1043
|
-
ItemStatusChanged: GenericPalletEvent<
|
|
987
|
+
ItemStatusChanged: GenericPalletEvent<'Uniques', 'ItemStatusChanged', { collection: bigint }>;
|
|
1044
988
|
|
|
1045
989
|
/**
|
|
1046
990
|
* New metadata has been set for a `collection`.
|
|
1047
991
|
**/
|
|
1048
992
|
CollectionMetadataSet: GenericPalletEvent<
|
|
1049
|
-
Rv,
|
|
1050
993
|
'Uniques',
|
|
1051
994
|
'CollectionMetadataSet',
|
|
1052
995
|
{ collection: bigint; data: Bytes; isFrozen: boolean }
|
|
@@ -1055,13 +998,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1055
998
|
/**
|
|
1056
999
|
* Metadata has been cleared for a `collection`.
|
|
1057
1000
|
**/
|
|
1058
|
-
CollectionMetadataCleared: GenericPalletEvent<
|
|
1001
|
+
CollectionMetadataCleared: GenericPalletEvent<'Uniques', 'CollectionMetadataCleared', { collection: bigint }>;
|
|
1059
1002
|
|
|
1060
1003
|
/**
|
|
1061
1004
|
* New metadata has been set for an item.
|
|
1062
1005
|
**/
|
|
1063
1006
|
MetadataSet: GenericPalletEvent<
|
|
1064
|
-
Rv,
|
|
1065
1007
|
'Uniques',
|
|
1066
1008
|
'MetadataSet',
|
|
1067
1009
|
{ collection: bigint; item: bigint; data: Bytes; isFrozen: boolean }
|
|
@@ -1070,23 +1012,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1070
1012
|
/**
|
|
1071
1013
|
* Metadata has been cleared for an item.
|
|
1072
1014
|
**/
|
|
1073
|
-
MetadataCleared: GenericPalletEvent<
|
|
1015
|
+
MetadataCleared: GenericPalletEvent<'Uniques', 'MetadataCleared', { collection: bigint; item: bigint }>;
|
|
1074
1016
|
|
|
1075
1017
|
/**
|
|
1076
1018
|
* Metadata has been cleared for an item.
|
|
1077
1019
|
**/
|
|
1078
|
-
Redeposited: GenericPalletEvent<
|
|
1079
|
-
Rv,
|
|
1080
|
-
'Uniques',
|
|
1081
|
-
'Redeposited',
|
|
1082
|
-
{ collection: bigint; successfulItems: Array<bigint> }
|
|
1083
|
-
>;
|
|
1020
|
+
Redeposited: GenericPalletEvent<'Uniques', 'Redeposited', { collection: bigint; successfulItems: Array<bigint> }>;
|
|
1084
1021
|
|
|
1085
1022
|
/**
|
|
1086
1023
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
1087
1024
|
**/
|
|
1088
1025
|
AttributeSet: GenericPalletEvent<
|
|
1089
|
-
Rv,
|
|
1090
1026
|
'Uniques',
|
|
1091
1027
|
'AttributeSet',
|
|
1092
1028
|
{ collection: bigint; maybeItem?: bigint | undefined; key: Bytes; value: Bytes }
|
|
@@ -1096,7 +1032,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1096
1032
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
1097
1033
|
**/
|
|
1098
1034
|
AttributeCleared: GenericPalletEvent<
|
|
1099
|
-
Rv,
|
|
1100
1035
|
'Uniques',
|
|
1101
1036
|
'AttributeCleared',
|
|
1102
1037
|
{ collection: bigint; maybeItem?: bigint | undefined; key: Bytes }
|
|
@@ -1106,7 +1041,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1106
1041
|
* Ownership acceptance has changed for an account.
|
|
1107
1042
|
**/
|
|
1108
1043
|
OwnershipAcceptanceChanged: GenericPalletEvent<
|
|
1109
|
-
Rv,
|
|
1110
1044
|
'Uniques',
|
|
1111
1045
|
'OwnershipAcceptanceChanged',
|
|
1112
1046
|
{ who: AccountId32; maybeCollection?: bigint | undefined }
|
|
@@ -1116,7 +1050,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1116
1050
|
* Max supply has been set for a collection.
|
|
1117
1051
|
**/
|
|
1118
1052
|
CollectionMaxSupplySet: GenericPalletEvent<
|
|
1119
|
-
Rv,
|
|
1120
1053
|
'Uniques',
|
|
1121
1054
|
'CollectionMaxSupplySet',
|
|
1122
1055
|
{ collection: bigint; maxSupply: number }
|
|
@@ -1126,7 +1059,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1126
1059
|
* The price was set for the instance.
|
|
1127
1060
|
**/
|
|
1128
1061
|
ItemPriceSet: GenericPalletEvent<
|
|
1129
|
-
Rv,
|
|
1130
1062
|
'Uniques',
|
|
1131
1063
|
'ItemPriceSet',
|
|
1132
1064
|
{ collection: bigint; item: bigint; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
|
|
@@ -1135,13 +1067,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1135
1067
|
/**
|
|
1136
1068
|
* The price for the instance was removed.
|
|
1137
1069
|
**/
|
|
1138
|
-
ItemPriceRemoved: GenericPalletEvent<
|
|
1070
|
+
ItemPriceRemoved: GenericPalletEvent<'Uniques', 'ItemPriceRemoved', { collection: bigint; item: bigint }>;
|
|
1139
1071
|
|
|
1140
1072
|
/**
|
|
1141
1073
|
* An item was bought.
|
|
1142
1074
|
**/
|
|
1143
1075
|
ItemBought: GenericPalletEvent<
|
|
1144
|
-
Rv,
|
|
1145
1076
|
'Uniques',
|
|
1146
1077
|
'ItemBought',
|
|
1147
1078
|
{ collection: bigint; item: bigint; price: bigint; seller: AccountId32; buyer: AccountId32 }
|
|
@@ -1150,7 +1081,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1150
1081
|
/**
|
|
1151
1082
|
* Generic pallet event
|
|
1152
1083
|
**/
|
|
1153
|
-
[prop: string]: GenericPalletEvent
|
|
1084
|
+
[prop: string]: GenericPalletEvent;
|
|
1154
1085
|
};
|
|
1155
1086
|
/**
|
|
1156
1087
|
* Pallet `StateTrieMigration`'s events
|
|
@@ -1161,7 +1092,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1161
1092
|
* `compute`.
|
|
1162
1093
|
**/
|
|
1163
1094
|
Migrated: GenericPalletEvent<
|
|
1164
|
-
Rv,
|
|
1165
1095
|
'StateTrieMigration',
|
|
1166
1096
|
'Migrated',
|
|
1167
1097
|
{ top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
|
|
@@ -1170,22 +1100,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1170
1100
|
/**
|
|
1171
1101
|
* Some account got slashed by the given amount.
|
|
1172
1102
|
**/
|
|
1173
|
-
Slashed: GenericPalletEvent<
|
|
1103
|
+
Slashed: GenericPalletEvent<'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
1174
1104
|
|
|
1175
1105
|
/**
|
|
1176
1106
|
* The auto migration task finished.
|
|
1177
1107
|
**/
|
|
1178
|
-
AutoMigrationFinished: GenericPalletEvent<
|
|
1108
|
+
AutoMigrationFinished: GenericPalletEvent<'StateTrieMigration', 'AutoMigrationFinished', null>;
|
|
1179
1109
|
|
|
1180
1110
|
/**
|
|
1181
1111
|
* Migration got halted due to an error or miss-configuration.
|
|
1182
1112
|
**/
|
|
1183
|
-
Halted: GenericPalletEvent<
|
|
1113
|
+
Halted: GenericPalletEvent<'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
|
|
1184
1114
|
|
|
1185
1115
|
/**
|
|
1186
1116
|
* Generic pallet event
|
|
1187
1117
|
**/
|
|
1188
|
-
[prop: string]: GenericPalletEvent
|
|
1118
|
+
[prop: string]: GenericPalletEvent;
|
|
1189
1119
|
};
|
|
1190
1120
|
/**
|
|
1191
1121
|
* Pallet `ConvictionVoting`'s events
|
|
@@ -1194,18 +1124,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1194
1124
|
/**
|
|
1195
1125
|
* An account has delegated their vote to another account. \[who, target\]
|
|
1196
1126
|
**/
|
|
1197
|
-
Delegated: GenericPalletEvent<
|
|
1127
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
|
|
1198
1128
|
|
|
1199
1129
|
/**
|
|
1200
1130
|
* An \[account\] has cancelled a previous delegation operation.
|
|
1201
1131
|
**/
|
|
1202
|
-
Undelegated: GenericPalletEvent<
|
|
1132
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
1203
1133
|
|
|
1204
1134
|
/**
|
|
1205
1135
|
* An account that has voted
|
|
1206
1136
|
**/
|
|
1207
1137
|
Voted: GenericPalletEvent<
|
|
1208
|
-
Rv,
|
|
1209
1138
|
'ConvictionVoting',
|
|
1210
1139
|
'Voted',
|
|
1211
1140
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -1215,7 +1144,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1215
1144
|
* A vote that been removed
|
|
1216
1145
|
**/
|
|
1217
1146
|
VoteRemoved: GenericPalletEvent<
|
|
1218
|
-
Rv,
|
|
1219
1147
|
'ConvictionVoting',
|
|
1220
1148
|
'VoteRemoved',
|
|
1221
1149
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -1224,7 +1152,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1224
1152
|
/**
|
|
1225
1153
|
* Generic pallet event
|
|
1226
1154
|
**/
|
|
1227
|
-
[prop: string]: GenericPalletEvent
|
|
1155
|
+
[prop: string]: GenericPalletEvent;
|
|
1228
1156
|
};
|
|
1229
1157
|
/**
|
|
1230
1158
|
* Pallet `Referenda`'s events
|
|
@@ -1234,7 +1162,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1234
1162
|
* A referendum has been submitted.
|
|
1235
1163
|
**/
|
|
1236
1164
|
Submitted: GenericPalletEvent<
|
|
1237
|
-
Rv,
|
|
1238
1165
|
'Referenda',
|
|
1239
1166
|
'Submitted',
|
|
1240
1167
|
{
|
|
@@ -1259,7 +1186,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1259
1186
|
* The decision deposit has been placed.
|
|
1260
1187
|
**/
|
|
1261
1188
|
DecisionDepositPlaced: GenericPalletEvent<
|
|
1262
|
-
Rv,
|
|
1263
1189
|
'Referenda',
|
|
1264
1190
|
'DecisionDepositPlaced',
|
|
1265
1191
|
{
|
|
@@ -1284,7 +1210,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1284
1210
|
* The decision deposit has been refunded.
|
|
1285
1211
|
**/
|
|
1286
1212
|
DecisionDepositRefunded: GenericPalletEvent<
|
|
1287
|
-
Rv,
|
|
1288
1213
|
'Referenda',
|
|
1289
1214
|
'DecisionDepositRefunded',
|
|
1290
1215
|
{
|
|
@@ -1309,7 +1234,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1309
1234
|
* A deposit has been slashed.
|
|
1310
1235
|
**/
|
|
1311
1236
|
DepositSlashed: GenericPalletEvent<
|
|
1312
|
-
Rv,
|
|
1313
1237
|
'Referenda',
|
|
1314
1238
|
'DepositSlashed',
|
|
1315
1239
|
{
|
|
@@ -1329,7 +1253,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1329
1253
|
* A referendum has moved into the deciding phase.
|
|
1330
1254
|
**/
|
|
1331
1255
|
DecisionStarted: GenericPalletEvent<
|
|
1332
|
-
Rv,
|
|
1333
1256
|
'Referenda',
|
|
1334
1257
|
'DecisionStarted',
|
|
1335
1258
|
{
|
|
@@ -1355,7 +1278,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1355
1278
|
}
|
|
1356
1279
|
>;
|
|
1357
1280
|
ConfirmStarted: GenericPalletEvent<
|
|
1358
|
-
Rv,
|
|
1359
1281
|
'Referenda',
|
|
1360
1282
|
'ConfirmStarted',
|
|
1361
1283
|
{
|
|
@@ -1366,7 +1288,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1366
1288
|
}
|
|
1367
1289
|
>;
|
|
1368
1290
|
ConfirmAborted: GenericPalletEvent<
|
|
1369
|
-
Rv,
|
|
1370
1291
|
'Referenda',
|
|
1371
1292
|
'ConfirmAborted',
|
|
1372
1293
|
{
|
|
@@ -1381,7 +1302,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1381
1302
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
1382
1303
|
**/
|
|
1383
1304
|
Confirmed: GenericPalletEvent<
|
|
1384
|
-
Rv,
|
|
1385
1305
|
'Referenda',
|
|
1386
1306
|
'Confirmed',
|
|
1387
1307
|
{
|
|
@@ -1401,7 +1321,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1401
1321
|
* A referendum has been approved and its proposal has been scheduled.
|
|
1402
1322
|
**/
|
|
1403
1323
|
Approved: GenericPalletEvent<
|
|
1404
|
-
Rv,
|
|
1405
1324
|
'Referenda',
|
|
1406
1325
|
'Approved',
|
|
1407
1326
|
{
|
|
@@ -1416,7 +1335,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1416
1335
|
* A proposal has been rejected by referendum.
|
|
1417
1336
|
**/
|
|
1418
1337
|
Rejected: GenericPalletEvent<
|
|
1419
|
-
Rv,
|
|
1420
1338
|
'Referenda',
|
|
1421
1339
|
'Rejected',
|
|
1422
1340
|
{
|
|
@@ -1436,7 +1354,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1436
1354
|
* A referendum has been timed out without being decided.
|
|
1437
1355
|
**/
|
|
1438
1356
|
TimedOut: GenericPalletEvent<
|
|
1439
|
-
Rv,
|
|
1440
1357
|
'Referenda',
|
|
1441
1358
|
'TimedOut',
|
|
1442
1359
|
{
|
|
@@ -1456,7 +1373,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1456
1373
|
* A referendum has been cancelled.
|
|
1457
1374
|
**/
|
|
1458
1375
|
Cancelled: GenericPalletEvent<
|
|
1459
|
-
Rv,
|
|
1460
1376
|
'Referenda',
|
|
1461
1377
|
'Cancelled',
|
|
1462
1378
|
{
|
|
@@ -1476,7 +1392,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1476
1392
|
* A referendum has been killed.
|
|
1477
1393
|
**/
|
|
1478
1394
|
Killed: GenericPalletEvent<
|
|
1479
|
-
Rv,
|
|
1480
1395
|
'Referenda',
|
|
1481
1396
|
'Killed',
|
|
1482
1397
|
{
|
|
@@ -1496,7 +1411,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1496
1411
|
* The submission deposit has been refunded.
|
|
1497
1412
|
**/
|
|
1498
1413
|
SubmissionDepositRefunded: GenericPalletEvent<
|
|
1499
|
-
Rv,
|
|
1500
1414
|
'Referenda',
|
|
1501
1415
|
'SubmissionDepositRefunded',
|
|
1502
1416
|
{
|
|
@@ -1521,7 +1435,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1521
1435
|
* Metadata for a referendum has been set.
|
|
1522
1436
|
**/
|
|
1523
1437
|
MetadataSet: GenericPalletEvent<
|
|
1524
|
-
Rv,
|
|
1525
1438
|
'Referenda',
|
|
1526
1439
|
'MetadataSet',
|
|
1527
1440
|
{
|
|
@@ -1541,7 +1454,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1541
1454
|
* Metadata for a referendum has been cleared.
|
|
1542
1455
|
**/
|
|
1543
1456
|
MetadataCleared: GenericPalletEvent<
|
|
1544
|
-
Rv,
|
|
1545
1457
|
'Referenda',
|
|
1546
1458
|
'MetadataCleared',
|
|
1547
1459
|
{
|
|
@@ -1560,16 +1472,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1560
1472
|
/**
|
|
1561
1473
|
* Generic pallet event
|
|
1562
1474
|
**/
|
|
1563
|
-
[prop: string]: GenericPalletEvent
|
|
1475
|
+
[prop: string]: GenericPalletEvent;
|
|
1564
1476
|
};
|
|
1565
1477
|
/**
|
|
1566
1478
|
* Pallet `Whitelist`'s events
|
|
1567
1479
|
**/
|
|
1568
1480
|
whitelist: {
|
|
1569
|
-
CallWhitelisted: GenericPalletEvent<
|
|
1570
|
-
WhitelistedCallRemoved: GenericPalletEvent<
|
|
1481
|
+
CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
|
|
1482
|
+
WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
|
|
1571
1483
|
WhitelistedCallDispatched: GenericPalletEvent<
|
|
1572
|
-
Rv,
|
|
1573
1484
|
'Whitelist',
|
|
1574
1485
|
'WhitelistedCallDispatched',
|
|
1575
1486
|
{ callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
@@ -1578,20 +1489,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1578
1489
|
/**
|
|
1579
1490
|
* Generic pallet event
|
|
1580
1491
|
**/
|
|
1581
|
-
[prop: string]: GenericPalletEvent
|
|
1492
|
+
[prop: string]: GenericPalletEvent;
|
|
1582
1493
|
};
|
|
1583
1494
|
/**
|
|
1584
1495
|
* Pallet `Dispatcher`'s events
|
|
1585
1496
|
**/
|
|
1586
1497
|
dispatcher: {
|
|
1587
1498
|
TreasuryManagerCallDispatched: GenericPalletEvent<
|
|
1588
|
-
Rv,
|
|
1589
1499
|
'Dispatcher',
|
|
1590
1500
|
'TreasuryManagerCallDispatched',
|
|
1591
1501
|
{ callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
1592
1502
|
>;
|
|
1593
1503
|
AaveManagerCallDispatched: GenericPalletEvent<
|
|
1594
|
-
Rv,
|
|
1595
1504
|
'Dispatcher',
|
|
1596
1505
|
'AaveManagerCallDispatched',
|
|
1597
1506
|
{ callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
@@ -1600,7 +1509,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1600
1509
|
/**
|
|
1601
1510
|
* Generic pallet event
|
|
1602
1511
|
**/
|
|
1603
|
-
[prop: string]: GenericPalletEvent
|
|
1512
|
+
[prop: string]: GenericPalletEvent;
|
|
1604
1513
|
};
|
|
1605
1514
|
/**
|
|
1606
1515
|
* Pallet `AssetRegistry`'s events
|
|
@@ -1611,7 +1520,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1611
1520
|
* `SufficiencyCheck` triggers this event.
|
|
1612
1521
|
**/
|
|
1613
1522
|
ExistentialDepositPaid: GenericPalletEvent<
|
|
1614
|
-
Rv,
|
|
1615
1523
|
'AssetRegistry',
|
|
1616
1524
|
'ExistentialDepositPaid',
|
|
1617
1525
|
{ who: AccountId32; feeAsset: number; amount: bigint }
|
|
@@ -1621,7 +1529,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1621
1529
|
* Asset was registered.
|
|
1622
1530
|
**/
|
|
1623
1531
|
Registered: GenericPalletEvent<
|
|
1624
|
-
Rv,
|
|
1625
1532
|
'AssetRegistry',
|
|
1626
1533
|
'Registered',
|
|
1627
1534
|
{
|
|
@@ -1640,7 +1547,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1640
1547
|
* Asset was updated.
|
|
1641
1548
|
**/
|
|
1642
1549
|
Updated: GenericPalletEvent<
|
|
1643
|
-
Rv,
|
|
1644
1550
|
'AssetRegistry',
|
|
1645
1551
|
'Updated',
|
|
1646
1552
|
{
|
|
@@ -1659,7 +1565,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1659
1565
|
* Native location set for an asset.
|
|
1660
1566
|
**/
|
|
1661
1567
|
LocationSet: GenericPalletEvent<
|
|
1662
|
-
Rv,
|
|
1663
1568
|
'AssetRegistry',
|
|
1664
1569
|
'LocationSet',
|
|
1665
1570
|
{ assetId: number; location: HydradxRuntimeXcmAssetLocation }
|
|
@@ -1668,28 +1573,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1668
1573
|
/**
|
|
1669
1574
|
* Asset was banned.
|
|
1670
1575
|
**/
|
|
1671
|
-
AssetBanned: GenericPalletEvent<
|
|
1576
|
+
AssetBanned: GenericPalletEvent<'AssetRegistry', 'AssetBanned', { assetId: number }>;
|
|
1672
1577
|
|
|
1673
1578
|
/**
|
|
1674
1579
|
* Asset's ban was removed.
|
|
1675
1580
|
**/
|
|
1676
|
-
AssetUnbanned: GenericPalletEvent<
|
|
1581
|
+
AssetUnbanned: GenericPalletEvent<'AssetRegistry', 'AssetUnbanned', { assetId: number }>;
|
|
1677
1582
|
|
|
1678
1583
|
/**
|
|
1679
1584
|
* Generic pallet event
|
|
1680
1585
|
**/
|
|
1681
|
-
[prop: string]: GenericPalletEvent
|
|
1586
|
+
[prop: string]: GenericPalletEvent;
|
|
1682
1587
|
};
|
|
1683
1588
|
/**
|
|
1684
1589
|
* Pallet `Claims`'s events
|
|
1685
1590
|
**/
|
|
1686
1591
|
claims: {
|
|
1687
|
-
Claim: GenericPalletEvent<
|
|
1592
|
+
Claim: GenericPalletEvent<'Claims', 'Claim', [AccountId32, PalletClaimsEthereumAddress, bigint]>;
|
|
1688
1593
|
|
|
1689
1594
|
/**
|
|
1690
1595
|
* Generic pallet event
|
|
1691
1596
|
**/
|
|
1692
|
-
[prop: string]: GenericPalletEvent
|
|
1597
|
+
[prop: string]: GenericPalletEvent;
|
|
1693
1598
|
};
|
|
1694
1599
|
/**
|
|
1695
1600
|
* Pallet `CollatorRewards`'s events
|
|
@@ -1699,7 +1604,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1699
1604
|
* Collator was rewarded.
|
|
1700
1605
|
**/
|
|
1701
1606
|
CollatorRewarded: GenericPalletEvent<
|
|
1702
|
-
Rv,
|
|
1703
1607
|
'CollatorRewards',
|
|
1704
1608
|
'CollatorRewarded',
|
|
1705
1609
|
{ who: AccountId32; amount: bigint; currency: number }
|
|
@@ -1708,7 +1612,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1708
1612
|
/**
|
|
1709
1613
|
* Generic pallet event
|
|
1710
1614
|
**/
|
|
1711
|
-
[prop: string]: GenericPalletEvent
|
|
1615
|
+
[prop: string]: GenericPalletEvent;
|
|
1712
1616
|
};
|
|
1713
1617
|
/**
|
|
1714
1618
|
* Pallet `Omnipool`'s events
|
|
@@ -1718,7 +1622,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1718
1622
|
* An asset was added to Omnipool
|
|
1719
1623
|
**/
|
|
1720
1624
|
TokenAdded: GenericPalletEvent<
|
|
1721
|
-
Rv,
|
|
1722
1625
|
'Omnipool',
|
|
1723
1626
|
'TokenAdded',
|
|
1724
1627
|
{ assetId: number; initialAmount: bigint; initialPrice: FixedU128 }
|
|
@@ -1728,7 +1631,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1728
1631
|
* An asset was removed from Omnipool
|
|
1729
1632
|
**/
|
|
1730
1633
|
TokenRemoved: GenericPalletEvent<
|
|
1731
|
-
Rv,
|
|
1732
1634
|
'Omnipool',
|
|
1733
1635
|
'TokenRemoved',
|
|
1734
1636
|
{ assetId: number; amount: bigint; hubWithdrawn: bigint }
|
|
@@ -1738,7 +1640,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1738
1640
|
* Liquidity of an asset was added to Omnipool.
|
|
1739
1641
|
**/
|
|
1740
1642
|
LiquidityAdded: GenericPalletEvent<
|
|
1741
|
-
Rv,
|
|
1742
1643
|
'Omnipool',
|
|
1743
1644
|
'LiquidityAdded',
|
|
1744
1645
|
{ who: AccountId32; assetId: number; amount: bigint; positionId: bigint }
|
|
@@ -1748,7 +1649,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1748
1649
|
* Liquidity of an asset was removed from Omnipool.
|
|
1749
1650
|
**/
|
|
1750
1651
|
LiquidityRemoved: GenericPalletEvent<
|
|
1751
|
-
Rv,
|
|
1752
1652
|
'Omnipool',
|
|
1753
1653
|
'LiquidityRemoved',
|
|
1754
1654
|
{ who: AccountId32; positionId: bigint; assetId: number; sharesRemoved: bigint; fee: FixedU128 }
|
|
@@ -1758,7 +1658,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1758
1658
|
* PRotocol Liquidity was removed from Omnipool.
|
|
1759
1659
|
**/
|
|
1760
1660
|
ProtocolLiquidityRemoved: GenericPalletEvent<
|
|
1761
|
-
Rv,
|
|
1762
1661
|
'Omnipool',
|
|
1763
1662
|
'ProtocolLiquidityRemoved',
|
|
1764
1663
|
{ who: AccountId32; assetId: number; amount: bigint; hubAmount: bigint; sharesRemoved: bigint }
|
|
@@ -1769,7 +1668,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1769
1668
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
1770
1669
|
**/
|
|
1771
1670
|
SellExecuted: GenericPalletEvent<
|
|
1772
|
-
Rv,
|
|
1773
1671
|
'Omnipool',
|
|
1774
1672
|
'SellExecuted',
|
|
1775
1673
|
{
|
|
@@ -1790,7 +1688,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1790
1688
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
1791
1689
|
**/
|
|
1792
1690
|
BuyExecuted: GenericPalletEvent<
|
|
1793
|
-
Rv,
|
|
1794
1691
|
'Omnipool',
|
|
1795
1692
|
'BuyExecuted',
|
|
1796
1693
|
{
|
|
@@ -1810,7 +1707,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1810
1707
|
* LP Position was created and NFT instance minted.
|
|
1811
1708
|
**/
|
|
1812
1709
|
PositionCreated: GenericPalletEvent<
|
|
1813
|
-
Rv,
|
|
1814
1710
|
'Omnipool',
|
|
1815
1711
|
'PositionCreated',
|
|
1816
1712
|
{ positionId: bigint; owner: AccountId32; asset: number; amount: bigint; shares: bigint; price: FixedU128 }
|
|
@@ -1819,18 +1715,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1819
1715
|
/**
|
|
1820
1716
|
* LP Position was destroyed and NFT instance burned.
|
|
1821
1717
|
**/
|
|
1822
|
-
PositionDestroyed: GenericPalletEvent<
|
|
1823
|
-
Rv,
|
|
1824
|
-
'Omnipool',
|
|
1825
|
-
'PositionDestroyed',
|
|
1826
|
-
{ positionId: bigint; owner: AccountId32 }
|
|
1827
|
-
>;
|
|
1718
|
+
PositionDestroyed: GenericPalletEvent<'Omnipool', 'PositionDestroyed', { positionId: bigint; owner: AccountId32 }>;
|
|
1828
1719
|
|
|
1829
1720
|
/**
|
|
1830
1721
|
* LP Position was updated.
|
|
1831
1722
|
**/
|
|
1832
1723
|
PositionUpdated: GenericPalletEvent<
|
|
1833
|
-
Rv,
|
|
1834
1724
|
'Omnipool',
|
|
1835
1725
|
'PositionUpdated',
|
|
1836
1726
|
{ positionId: bigint; owner: AccountId32; asset: number; amount: bigint; shares: bigint; price: FixedU128 }
|
|
@@ -1840,7 +1730,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1840
1730
|
* Asset's tradable state has been updated.
|
|
1841
1731
|
**/
|
|
1842
1732
|
TradableStateUpdated: GenericPalletEvent<
|
|
1843
|
-
Rv,
|
|
1844
1733
|
'Omnipool',
|
|
1845
1734
|
'TradableStateUpdated',
|
|
1846
1735
|
{ assetId: number; state: PalletOmnipoolTradability }
|
|
@@ -1850,7 +1739,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1850
1739
|
* Amount has been refunded for asset which has not been accepted to add to omnipool.
|
|
1851
1740
|
**/
|
|
1852
1741
|
AssetRefunded: GenericPalletEvent<
|
|
1853
|
-
Rv,
|
|
1854
1742
|
'Omnipool',
|
|
1855
1743
|
'AssetRefunded',
|
|
1856
1744
|
{ assetId: number; amount: bigint; recipient: AccountId32 }
|
|
@@ -1859,17 +1747,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1859
1747
|
/**
|
|
1860
1748
|
* Asset's weight cap has been updated.
|
|
1861
1749
|
**/
|
|
1862
|
-
AssetWeightCapUpdated: GenericPalletEvent<
|
|
1863
|
-
Rv,
|
|
1864
|
-
'Omnipool',
|
|
1865
|
-
'AssetWeightCapUpdated',
|
|
1866
|
-
{ assetId: number; cap: Permill }
|
|
1867
|
-
>;
|
|
1750
|
+
AssetWeightCapUpdated: GenericPalletEvent<'Omnipool', 'AssetWeightCapUpdated', { assetId: number; cap: Permill }>;
|
|
1868
1751
|
|
|
1869
1752
|
/**
|
|
1870
1753
|
* Generic pallet event
|
|
1871
1754
|
**/
|
|
1872
|
-
[prop: string]: GenericPalletEvent
|
|
1755
|
+
[prop: string]: GenericPalletEvent;
|
|
1873
1756
|
};
|
|
1874
1757
|
/**
|
|
1875
1758
|
* Pallet `TransactionPause`'s events
|
|
@@ -1879,7 +1762,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1879
1762
|
* Paused transaction
|
|
1880
1763
|
**/
|
|
1881
1764
|
TransactionPaused: GenericPalletEvent<
|
|
1882
|
-
Rv,
|
|
1883
1765
|
'TransactionPause',
|
|
1884
1766
|
'TransactionPaused',
|
|
1885
1767
|
{ palletNameBytes: Bytes; functionNameBytes: Bytes }
|
|
@@ -1889,7 +1771,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1889
1771
|
* Unpaused transaction
|
|
1890
1772
|
**/
|
|
1891
1773
|
TransactionUnpaused: GenericPalletEvent<
|
|
1892
|
-
Rv,
|
|
1893
1774
|
'TransactionPause',
|
|
1894
1775
|
'TransactionUnpaused',
|
|
1895
1776
|
{ palletNameBytes: Bytes; functionNameBytes: Bytes }
|
|
@@ -1898,7 +1779,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1898
1779
|
/**
|
|
1899
1780
|
* Generic pallet event
|
|
1900
1781
|
**/
|
|
1901
|
-
[prop: string]: GenericPalletEvent
|
|
1782
|
+
[prop: string]: GenericPalletEvent;
|
|
1902
1783
|
};
|
|
1903
1784
|
/**
|
|
1904
1785
|
* Pallet `Duster`'s events
|
|
@@ -1907,22 +1788,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1907
1788
|
/**
|
|
1908
1789
|
* Account dusted.
|
|
1909
1790
|
**/
|
|
1910
|
-
Dusted: GenericPalletEvent<
|
|
1791
|
+
Dusted: GenericPalletEvent<'Duster', 'Dusted', { who: AccountId32; amount: bigint }>;
|
|
1911
1792
|
|
|
1912
1793
|
/**
|
|
1913
1794
|
* Account added to non-dustable list.
|
|
1914
1795
|
**/
|
|
1915
|
-
Added: GenericPalletEvent<
|
|
1796
|
+
Added: GenericPalletEvent<'Duster', 'Added', { who: AccountId32 }>;
|
|
1916
1797
|
|
|
1917
1798
|
/**
|
|
1918
1799
|
* Account removed from non-dustable list.
|
|
1919
1800
|
**/
|
|
1920
|
-
Removed: GenericPalletEvent<
|
|
1801
|
+
Removed: GenericPalletEvent<'Duster', 'Removed', { who: AccountId32 }>;
|
|
1921
1802
|
|
|
1922
1803
|
/**
|
|
1923
1804
|
* Generic pallet event
|
|
1924
1805
|
**/
|
|
1925
|
-
[prop: string]: GenericPalletEvent
|
|
1806
|
+
[prop: string]: GenericPalletEvent;
|
|
1926
1807
|
};
|
|
1927
1808
|
/**
|
|
1928
1809
|
* Pallet `OmnipoolWarehouseLM`'s events
|
|
@@ -1932,7 +1813,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1932
1813
|
* Global farm accumulated reward per share was updated.
|
|
1933
1814
|
**/
|
|
1934
1815
|
GlobalFarmAccRPZUpdated: GenericPalletEvent<
|
|
1935
|
-
Rv,
|
|
1936
1816
|
'OmnipoolWarehouseLM',
|
|
1937
1817
|
'GlobalFarmAccRPZUpdated',
|
|
1938
1818
|
{ globalFarmId: number; accumulatedRpz: FixedU128; totalSharesZ: bigint }
|
|
@@ -1942,7 +1822,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1942
1822
|
* Yield farm accumulated reward per valued share was updated.
|
|
1943
1823
|
**/
|
|
1944
1824
|
YieldFarmAccRPVSUpdated: GenericPalletEvent<
|
|
1945
|
-
Rv,
|
|
1946
1825
|
'OmnipoolWarehouseLM',
|
|
1947
1826
|
'YieldFarmAccRPVSUpdated',
|
|
1948
1827
|
{ globalFarmId: number; yieldFarmId: number; accumulatedRpvs: FixedU128; totalValuedShares: bigint }
|
|
@@ -1951,17 +1830,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1951
1830
|
/**
|
|
1952
1831
|
* Global farm has no more rewards to distribute in the moment.
|
|
1953
1832
|
**/
|
|
1954
|
-
AllRewardsDistributed: GenericPalletEvent<
|
|
1955
|
-
Rv,
|
|
1956
|
-
'OmnipoolWarehouseLM',
|
|
1957
|
-
'AllRewardsDistributed',
|
|
1958
|
-
{ globalFarmId: number }
|
|
1959
|
-
>;
|
|
1833
|
+
AllRewardsDistributed: GenericPalletEvent<'OmnipoolWarehouseLM', 'AllRewardsDistributed', { globalFarmId: number }>;
|
|
1960
1834
|
|
|
1961
1835
|
/**
|
|
1962
1836
|
* Generic pallet event
|
|
1963
1837
|
**/
|
|
1964
|
-
[prop: string]: GenericPalletEvent
|
|
1838
|
+
[prop: string]: GenericPalletEvent;
|
|
1965
1839
|
};
|
|
1966
1840
|
/**
|
|
1967
1841
|
* Pallet `OmnipoolLiquidityMining`'s events
|
|
@@ -1971,7 +1845,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1971
1845
|
* New global farm was created.
|
|
1972
1846
|
**/
|
|
1973
1847
|
GlobalFarmCreated: GenericPalletEvent<
|
|
1974
|
-
Rv,
|
|
1975
1848
|
'OmnipoolLiquidityMining',
|
|
1976
1849
|
'GlobalFarmCreated',
|
|
1977
1850
|
{
|
|
@@ -1992,7 +1865,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1992
1865
|
* Global farm was updated
|
|
1993
1866
|
**/
|
|
1994
1867
|
GlobalFarmUpdated: GenericPalletEvent<
|
|
1995
|
-
Rv,
|
|
1996
1868
|
'OmnipoolLiquidityMining',
|
|
1997
1869
|
'GlobalFarmUpdated',
|
|
1998
1870
|
{ id: number; plannedYieldingPeriods: number; yieldPerPeriod: Perquintill; minDeposit: bigint }
|
|
@@ -2002,7 +1874,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2002
1874
|
* Global farm was terminated.
|
|
2003
1875
|
**/
|
|
2004
1876
|
GlobalFarmTerminated: GenericPalletEvent<
|
|
2005
|
-
Rv,
|
|
2006
1877
|
'OmnipoolLiquidityMining',
|
|
2007
1878
|
'GlobalFarmTerminated',
|
|
2008
1879
|
{ globalFarmId: number; who: AccountId32; rewardCurrency: number; undistributedRewards: bigint }
|
|
@@ -2012,7 +1883,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2012
1883
|
* New yield farm was added to the farm.
|
|
2013
1884
|
**/
|
|
2014
1885
|
YieldFarmCreated: GenericPalletEvent<
|
|
2015
|
-
Rv,
|
|
2016
1886
|
'OmnipoolLiquidityMining',
|
|
2017
1887
|
'YieldFarmCreated',
|
|
2018
1888
|
{
|
|
@@ -2028,7 +1898,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2028
1898
|
* Yield farm multiplier was updated.
|
|
2029
1899
|
**/
|
|
2030
1900
|
YieldFarmUpdated: GenericPalletEvent<
|
|
2031
|
-
Rv,
|
|
2032
1901
|
'OmnipoolLiquidityMining',
|
|
2033
1902
|
'YieldFarmUpdated',
|
|
2034
1903
|
{ globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32; multiplier: FixedU128 }
|
|
@@ -2038,7 +1907,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2038
1907
|
* Yield farm for `asset_id` was stopped.
|
|
2039
1908
|
**/
|
|
2040
1909
|
YieldFarmStopped: GenericPalletEvent<
|
|
2041
|
-
Rv,
|
|
2042
1910
|
'OmnipoolLiquidityMining',
|
|
2043
1911
|
'YieldFarmStopped',
|
|
2044
1912
|
{ globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32 }
|
|
@@ -2048,7 +1916,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2048
1916
|
* Yield farm for `asset_id` was resumed.
|
|
2049
1917
|
**/
|
|
2050
1918
|
YieldFarmResumed: GenericPalletEvent<
|
|
2051
|
-
Rv,
|
|
2052
1919
|
'OmnipoolLiquidityMining',
|
|
2053
1920
|
'YieldFarmResumed',
|
|
2054
1921
|
{ globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32; multiplier: FixedU128 }
|
|
@@ -2058,7 +1925,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2058
1925
|
* Yield farm was terminated from the global farm.
|
|
2059
1926
|
**/
|
|
2060
1927
|
YieldFarmTerminated: GenericPalletEvent<
|
|
2061
|
-
Rv,
|
|
2062
1928
|
'OmnipoolLiquidityMining',
|
|
2063
1929
|
'YieldFarmTerminated',
|
|
2064
1930
|
{ globalFarmId: number; yieldFarmId: number; assetId: number; who: AccountId32 }
|
|
@@ -2068,7 +1934,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2068
1934
|
* New LP shares(LP position) were deposited.
|
|
2069
1935
|
**/
|
|
2070
1936
|
SharesDeposited: GenericPalletEvent<
|
|
2071
|
-
Rv,
|
|
2072
1937
|
'OmnipoolLiquidityMining',
|
|
2073
1938
|
'SharesDeposited',
|
|
2074
1939
|
{
|
|
@@ -2086,7 +1951,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2086
1951
|
* Already locked LP shares were redeposited to another yield farm.
|
|
2087
1952
|
**/
|
|
2088
1953
|
SharesRedeposited: GenericPalletEvent<
|
|
2089
|
-
Rv,
|
|
2090
1954
|
'OmnipoolLiquidityMining',
|
|
2091
1955
|
'SharesRedeposited',
|
|
2092
1956
|
{
|
|
@@ -2104,7 +1968,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2104
1968
|
* Rewards were claimed.
|
|
2105
1969
|
**/
|
|
2106
1970
|
RewardClaimed: GenericPalletEvent<
|
|
2107
|
-
Rv,
|
|
2108
1971
|
'OmnipoolLiquidityMining',
|
|
2109
1972
|
'RewardClaimed',
|
|
2110
1973
|
{
|
|
@@ -2121,7 +1984,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2121
1984
|
* LP shares were withdrawn.
|
|
2122
1985
|
**/
|
|
2123
1986
|
SharesWithdrawn: GenericPalletEvent<
|
|
2124
|
-
Rv,
|
|
2125
1987
|
'OmnipoolLiquidityMining',
|
|
2126
1988
|
'SharesWithdrawn',
|
|
2127
1989
|
{ globalFarmId: number; yieldFarmId: number; who: AccountId32; amount: bigint; depositId: bigint }
|
|
@@ -2131,7 +1993,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2131
1993
|
* All LP shares were unlocked and NFT representing deposit was destroyed.
|
|
2132
1994
|
**/
|
|
2133
1995
|
DepositDestroyed: GenericPalletEvent<
|
|
2134
|
-
Rv,
|
|
2135
1996
|
'OmnipoolLiquidityMining',
|
|
2136
1997
|
'DepositDestroyed',
|
|
2137
1998
|
{ who: AccountId32; depositId: bigint }
|
|
@@ -2140,7 +2001,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2140
2001
|
/**
|
|
2141
2002
|
* Generic pallet event
|
|
2142
2003
|
**/
|
|
2143
|
-
[prop: string]: GenericPalletEvent
|
|
2004
|
+
[prop: string]: GenericPalletEvent;
|
|
2144
2005
|
};
|
|
2145
2006
|
/**
|
|
2146
2007
|
* Pallet `OTC`'s events
|
|
@@ -2149,14 +2010,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2149
2010
|
/**
|
|
2150
2011
|
* An Order has been cancelled
|
|
2151
2012
|
**/
|
|
2152
|
-
Cancelled: GenericPalletEvent<
|
|
2013
|
+
Cancelled: GenericPalletEvent<'OTC', 'Cancelled', { orderId: number }>;
|
|
2153
2014
|
|
|
2154
2015
|
/**
|
|
2155
2016
|
* An Order has been completely filled
|
|
2156
2017
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2157
2018
|
**/
|
|
2158
2019
|
Filled: GenericPalletEvent<
|
|
2159
|
-
Rv,
|
|
2160
2020
|
'OTC',
|
|
2161
2021
|
'Filled',
|
|
2162
2022
|
{ orderId: number; who: AccountId32; amountIn: bigint; amountOut: bigint; fee: bigint }
|
|
@@ -2167,7 +2027,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2167
2027
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2168
2028
|
**/
|
|
2169
2029
|
PartiallyFilled: GenericPalletEvent<
|
|
2170
|
-
Rv,
|
|
2171
2030
|
'OTC',
|
|
2172
2031
|
'PartiallyFilled',
|
|
2173
2032
|
{ orderId: number; who: AccountId32; amountIn: bigint; amountOut: bigint; fee: bigint }
|
|
@@ -2177,7 +2036,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2177
2036
|
* An Order has been placed
|
|
2178
2037
|
**/
|
|
2179
2038
|
Placed: GenericPalletEvent<
|
|
2180
|
-
Rv,
|
|
2181
2039
|
'OTC',
|
|
2182
2040
|
'Placed',
|
|
2183
2041
|
{
|
|
@@ -2193,7 +2051,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2193
2051
|
/**
|
|
2194
2052
|
* Generic pallet event
|
|
2195
2053
|
**/
|
|
2196
|
-
[prop: string]: GenericPalletEvent
|
|
2054
|
+
[prop: string]: GenericPalletEvent;
|
|
2197
2055
|
};
|
|
2198
2056
|
/**
|
|
2199
2057
|
* Pallet `CircuitBreaker`'s events
|
|
@@ -2203,7 +2061,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2203
2061
|
* Trade volume limit of an asset was changed.
|
|
2204
2062
|
**/
|
|
2205
2063
|
TradeVolumeLimitChanged: GenericPalletEvent<
|
|
2206
|
-
Rv,
|
|
2207
2064
|
'CircuitBreaker',
|
|
2208
2065
|
'TradeVolumeLimitChanged',
|
|
2209
2066
|
{ assetId: number; tradeVolumeLimit: [number, number] }
|
|
@@ -2213,7 +2070,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2213
2070
|
* Add liquidity limit of an asset was changed.
|
|
2214
2071
|
**/
|
|
2215
2072
|
AddLiquidityLimitChanged: GenericPalletEvent<
|
|
2216
|
-
Rv,
|
|
2217
2073
|
'CircuitBreaker',
|
|
2218
2074
|
'AddLiquidityLimitChanged',
|
|
2219
2075
|
{ assetId: number; liquidityLimit?: [number, number] | undefined }
|
|
@@ -2223,7 +2079,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2223
2079
|
* Remove liquidity limit of an asset was changed.
|
|
2224
2080
|
**/
|
|
2225
2081
|
RemoveLiquidityLimitChanged: GenericPalletEvent<
|
|
2226
|
-
Rv,
|
|
2227
2082
|
'CircuitBreaker',
|
|
2228
2083
|
'RemoveLiquidityLimitChanged',
|
|
2229
2084
|
{ assetId: number; liquidityLimit?: [number, number] | undefined }
|
|
@@ -2232,22 +2087,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2232
2087
|
/**
|
|
2233
2088
|
* Asset went to lockdown
|
|
2234
2089
|
**/
|
|
2235
|
-
AssetLockdown: GenericPalletEvent<
|
|
2090
|
+
AssetLockdown: GenericPalletEvent<'CircuitBreaker', 'AssetLockdown', { assetId: number; until: number }>;
|
|
2236
2091
|
|
|
2237
2092
|
/**
|
|
2238
2093
|
* Asset lockdown was removed
|
|
2239
2094
|
**/
|
|
2240
|
-
AssetLockdownRemoved: GenericPalletEvent<
|
|
2095
|
+
AssetLockdownRemoved: GenericPalletEvent<'CircuitBreaker', 'AssetLockdownRemoved', { assetId: number }>;
|
|
2241
2096
|
|
|
2242
2097
|
/**
|
|
2243
2098
|
* All reserved amount of deposit was released
|
|
2244
2099
|
**/
|
|
2245
|
-
DepositReleased: GenericPalletEvent<
|
|
2100
|
+
DepositReleased: GenericPalletEvent<'CircuitBreaker', 'DepositReleased', { who: AccountId32; assetId: number }>;
|
|
2246
2101
|
|
|
2247
2102
|
/**
|
|
2248
2103
|
* Generic pallet event
|
|
2249
2104
|
**/
|
|
2250
|
-
[prop: string]: GenericPalletEvent
|
|
2105
|
+
[prop: string]: GenericPalletEvent;
|
|
2251
2106
|
};
|
|
2252
2107
|
/**
|
|
2253
2108
|
* Pallet `Router`'s events
|
|
@@ -2257,7 +2112,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2257
2112
|
* The route with trades has been successfully executed
|
|
2258
2113
|
**/
|
|
2259
2114
|
Executed: GenericPalletEvent<
|
|
2260
|
-
Rv,
|
|
2261
2115
|
'Router',
|
|
2262
2116
|
'Executed',
|
|
2263
2117
|
{ assetIn: number; assetOut: number; amountIn: bigint; amountOut: bigint; eventId: number }
|
|
@@ -2266,12 +2120,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2266
2120
|
/**
|
|
2267
2121
|
* The route with trades has been successfully executed
|
|
2268
2122
|
**/
|
|
2269
|
-
RouteUpdated: GenericPalletEvent<
|
|
2123
|
+
RouteUpdated: GenericPalletEvent<'Router', 'RouteUpdated', { assetIds: Array<number> }>;
|
|
2270
2124
|
|
|
2271
2125
|
/**
|
|
2272
2126
|
* Generic pallet event
|
|
2273
2127
|
**/
|
|
2274
|
-
[prop: string]: GenericPalletEvent
|
|
2128
|
+
[prop: string]: GenericPalletEvent;
|
|
2275
2129
|
};
|
|
2276
2130
|
/**
|
|
2277
2131
|
* Pallet `DynamicFees`'s events
|
|
@@ -2281,7 +2135,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2281
2135
|
* Asset fee configuration has been set
|
|
2282
2136
|
**/
|
|
2283
2137
|
AssetFeeConfigSet: GenericPalletEvent<
|
|
2284
|
-
Rv,
|
|
2285
2138
|
'DynamicFees',
|
|
2286
2139
|
'AssetFeeConfigSet',
|
|
2287
2140
|
{ assetId: number; params: PalletDynamicFeesAssetFeeConfig }
|
|
@@ -2290,12 +2143,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2290
2143
|
/**
|
|
2291
2144
|
* Asset fee configuration has been removed
|
|
2292
2145
|
**/
|
|
2293
|
-
AssetFeeConfigRemoved: GenericPalletEvent<
|
|
2146
|
+
AssetFeeConfigRemoved: GenericPalletEvent<'DynamicFees', 'AssetFeeConfigRemoved', { assetId: number }>;
|
|
2294
2147
|
|
|
2295
2148
|
/**
|
|
2296
2149
|
* Generic pallet event
|
|
2297
2150
|
**/
|
|
2298
|
-
[prop: string]: GenericPalletEvent
|
|
2151
|
+
[prop: string]: GenericPalletEvent;
|
|
2299
2152
|
};
|
|
2300
2153
|
/**
|
|
2301
2154
|
* Pallet `Staking`'s events
|
|
@@ -2305,7 +2158,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2305
2158
|
* New staking position was created and NFT was minted.
|
|
2306
2159
|
**/
|
|
2307
2160
|
PositionCreated: GenericPalletEvent<
|
|
2308
|
-
Rv,
|
|
2309
2161
|
'Staking',
|
|
2310
2162
|
'PositionCreated',
|
|
2311
2163
|
{ who: AccountId32; positionId: bigint; stake: bigint }
|
|
@@ -2315,7 +2167,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2315
2167
|
* Staked amount for existing position was increased.
|
|
2316
2168
|
**/
|
|
2317
2169
|
StakeAdded: GenericPalletEvent<
|
|
2318
|
-
Rv,
|
|
2319
2170
|
'Staking',
|
|
2320
2171
|
'StakeAdded',
|
|
2321
2172
|
{
|
|
@@ -2333,7 +2184,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2333
2184
|
* Rewards were claimed.
|
|
2334
2185
|
**/
|
|
2335
2186
|
RewardsClaimed: GenericPalletEvent<
|
|
2336
|
-
Rv,
|
|
2337
2187
|
'Staking',
|
|
2338
2188
|
'RewardsClaimed',
|
|
2339
2189
|
{
|
|
@@ -2351,7 +2201,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2351
2201
|
* Staked amount was withdrawn and NFT was burned.
|
|
2352
2202
|
**/
|
|
2353
2203
|
Unstaked: GenericPalletEvent<
|
|
2354
|
-
Rv,
|
|
2355
2204
|
'Staking',
|
|
2356
2205
|
'Unstaked',
|
|
2357
2206
|
{ who: AccountId32; positionId: bigint; unlockedStake: bigint }
|
|
@@ -2360,13 +2209,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2360
2209
|
/**
|
|
2361
2210
|
* Staking was initialized.
|
|
2362
2211
|
**/
|
|
2363
|
-
StakingInitialized: GenericPalletEvent<
|
|
2212
|
+
StakingInitialized: GenericPalletEvent<'Staking', 'StakingInitialized', { nonDustableBalance: bigint }>;
|
|
2364
2213
|
|
|
2365
2214
|
/**
|
|
2366
2215
|
* Staking's `accumulated_reward_per_stake` was updated.
|
|
2367
2216
|
**/
|
|
2368
2217
|
AccumulatedRpsUpdated: GenericPalletEvent<
|
|
2369
|
-
Rv,
|
|
2370
2218
|
'Staking',
|
|
2371
2219
|
'AccumulatedRpsUpdated',
|
|
2372
2220
|
{ accumulatedRps: FixedU128; totalStake: bigint }
|
|
@@ -2375,7 +2223,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2375
2223
|
/**
|
|
2376
2224
|
* Generic pallet event
|
|
2377
2225
|
**/
|
|
2378
|
-
[prop: string]: GenericPalletEvent
|
|
2226
|
+
[prop: string]: GenericPalletEvent;
|
|
2379
2227
|
};
|
|
2380
2228
|
/**
|
|
2381
2229
|
* Pallet `Stableswap`'s events
|
|
@@ -2385,7 +2233,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2385
2233
|
* A pool was created.
|
|
2386
2234
|
**/
|
|
2387
2235
|
PoolCreated: GenericPalletEvent<
|
|
2388
|
-
Rv,
|
|
2389
2236
|
'Stableswap',
|
|
2390
2237
|
'PoolCreated',
|
|
2391
2238
|
{
|
|
@@ -2400,13 +2247,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2400
2247
|
/**
|
|
2401
2248
|
* Pool fee has been updated.
|
|
2402
2249
|
**/
|
|
2403
|
-
FeeUpdated: GenericPalletEvent<
|
|
2250
|
+
FeeUpdated: GenericPalletEvent<'Stableswap', 'FeeUpdated', { poolId: number; fee: Permill }>;
|
|
2404
2251
|
|
|
2405
2252
|
/**
|
|
2406
2253
|
* Liquidity of an asset was added to a pool.
|
|
2407
2254
|
**/
|
|
2408
2255
|
LiquidityAdded: GenericPalletEvent<
|
|
2409
|
-
Rv,
|
|
2410
2256
|
'Stableswap',
|
|
2411
2257
|
'LiquidityAdded',
|
|
2412
2258
|
{ poolId: number; who: AccountId32; shares: bigint; assets: Array<HydradxTraitsStableswapAssetAmount> }
|
|
@@ -2416,7 +2262,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2416
2262
|
* Liquidity removed.
|
|
2417
2263
|
**/
|
|
2418
2264
|
LiquidityRemoved: GenericPalletEvent<
|
|
2419
|
-
Rv,
|
|
2420
2265
|
'Stableswap',
|
|
2421
2266
|
'LiquidityRemoved',
|
|
2422
2267
|
{
|
|
@@ -2433,7 +2278,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2433
2278
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2434
2279
|
**/
|
|
2435
2280
|
SellExecuted: GenericPalletEvent<
|
|
2436
|
-
Rv,
|
|
2437
2281
|
'Stableswap',
|
|
2438
2282
|
'SellExecuted',
|
|
2439
2283
|
{
|
|
@@ -2452,7 +2296,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2452
2296
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2453
2297
|
**/
|
|
2454
2298
|
BuyExecuted: GenericPalletEvent<
|
|
2455
|
-
Rv,
|
|
2456
2299
|
'Stableswap',
|
|
2457
2300
|
'BuyExecuted',
|
|
2458
2301
|
{
|
|
@@ -2470,7 +2313,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2470
2313
|
* Asset's tradable state has been updated.
|
|
2471
2314
|
**/
|
|
2472
2315
|
TradableStateUpdated: GenericPalletEvent<
|
|
2473
|
-
Rv,
|
|
2474
2316
|
'Stableswap',
|
|
2475
2317
|
'TradableStateUpdated',
|
|
2476
2318
|
{ poolId: number; assetId: number; state: PalletStableswapTradability }
|
|
@@ -2480,7 +2322,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2480
2322
|
* Amplification of a pool has been scheduled to change.
|
|
2481
2323
|
**/
|
|
2482
2324
|
AmplificationChanging: GenericPalletEvent<
|
|
2483
|
-
Rv,
|
|
2484
2325
|
'Stableswap',
|
|
2485
2326
|
'AmplificationChanging',
|
|
2486
2327
|
{
|
|
@@ -2495,13 +2336,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2495
2336
|
/**
|
|
2496
2337
|
* A pool has been destroyed.
|
|
2497
2338
|
**/
|
|
2498
|
-
PoolDestroyed: GenericPalletEvent<
|
|
2339
|
+
PoolDestroyed: GenericPalletEvent<'Stableswap', 'PoolDestroyed', { poolId: number }>;
|
|
2499
2340
|
|
|
2500
2341
|
/**
|
|
2501
2342
|
* Pool peg source has been updated.
|
|
2502
2343
|
**/
|
|
2503
2344
|
PoolPegSourceUpdated: GenericPalletEvent<
|
|
2504
|
-
Rv,
|
|
2505
2345
|
'Stableswap',
|
|
2506
2346
|
'PoolPegSourceUpdated',
|
|
2507
2347
|
{ poolId: number; assetId: number; pegSource: PalletStableswapPegSource }
|
|
@@ -2511,7 +2351,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2511
2351
|
* Pool max peg update has been updated.
|
|
2512
2352
|
**/
|
|
2513
2353
|
PoolMaxPegUpdateUpdated: GenericPalletEvent<
|
|
2514
|
-
Rv,
|
|
2515
2354
|
'Stableswap',
|
|
2516
2355
|
'PoolMaxPegUpdateUpdated',
|
|
2517
2356
|
{ poolId: number; maxPegUpdate: Perbill }
|
|
@@ -2520,7 +2359,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2520
2359
|
/**
|
|
2521
2360
|
* Generic pallet event
|
|
2522
2361
|
**/
|
|
2523
|
-
[prop: string]: GenericPalletEvent
|
|
2362
|
+
[prop: string]: GenericPalletEvent;
|
|
2524
2363
|
};
|
|
2525
2364
|
/**
|
|
2526
2365
|
* Pallet `Bonds`'s events
|
|
@@ -2530,7 +2369,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2530
2369
|
* A bond asset was registered
|
|
2531
2370
|
**/
|
|
2532
2371
|
TokenCreated: GenericPalletEvent<
|
|
2533
|
-
Rv,
|
|
2534
2372
|
'Bonds',
|
|
2535
2373
|
'TokenCreated',
|
|
2536
2374
|
{ issuer: AccountId32; assetId: number; bondId: number; maturity: bigint }
|
|
@@ -2539,22 +2377,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2539
2377
|
/**
|
|
2540
2378
|
* New bond were issued
|
|
2541
2379
|
**/
|
|
2542
|
-
Issued: GenericPalletEvent<
|
|
2543
|
-
Rv,
|
|
2544
|
-
'Bonds',
|
|
2545
|
-
'Issued',
|
|
2546
|
-
{ issuer: AccountId32; bondId: number; amount: bigint; fee: bigint }
|
|
2547
|
-
>;
|
|
2380
|
+
Issued: GenericPalletEvent<'Bonds', 'Issued', { issuer: AccountId32; bondId: number; amount: bigint; fee: bigint }>;
|
|
2548
2381
|
|
|
2549
2382
|
/**
|
|
2550
2383
|
* Bonds were redeemed
|
|
2551
2384
|
**/
|
|
2552
|
-
Redeemed: GenericPalletEvent<
|
|
2385
|
+
Redeemed: GenericPalletEvent<'Bonds', 'Redeemed', { who: AccountId32; bondId: number; amount: bigint }>;
|
|
2553
2386
|
|
|
2554
2387
|
/**
|
|
2555
2388
|
* Generic pallet event
|
|
2556
2389
|
**/
|
|
2557
|
-
[prop: string]: GenericPalletEvent
|
|
2390
|
+
[prop: string]: GenericPalletEvent;
|
|
2558
2391
|
};
|
|
2559
2392
|
/**
|
|
2560
2393
|
* Pallet `OtcSettlements`'s events
|
|
@@ -2563,12 +2396,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2563
2396
|
/**
|
|
2564
2397
|
* A trade has been executed
|
|
2565
2398
|
**/
|
|
2566
|
-
Executed: GenericPalletEvent<
|
|
2399
|
+
Executed: GenericPalletEvent<'OtcSettlements', 'Executed', { assetId: number; profit: bigint }>;
|
|
2567
2400
|
|
|
2568
2401
|
/**
|
|
2569
2402
|
* Generic pallet event
|
|
2570
2403
|
**/
|
|
2571
|
-
[prop: string]: GenericPalletEvent
|
|
2404
|
+
[prop: string]: GenericPalletEvent;
|
|
2572
2405
|
};
|
|
2573
2406
|
/**
|
|
2574
2407
|
* Pallet `LBP`'s events
|
|
@@ -2577,18 +2410,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2577
2410
|
/**
|
|
2578
2411
|
* Pool was created by the `CreatePool` origin.
|
|
2579
2412
|
**/
|
|
2580
|
-
PoolCreated: GenericPalletEvent<
|
|
2413
|
+
PoolCreated: GenericPalletEvent<'LBP', 'PoolCreated', { pool: AccountId32; data: PalletLbpPool }>;
|
|
2581
2414
|
|
|
2582
2415
|
/**
|
|
2583
2416
|
* Pool data were updated.
|
|
2584
2417
|
**/
|
|
2585
|
-
PoolUpdated: GenericPalletEvent<
|
|
2418
|
+
PoolUpdated: GenericPalletEvent<'LBP', 'PoolUpdated', { pool: AccountId32; data: PalletLbpPool }>;
|
|
2586
2419
|
|
|
2587
2420
|
/**
|
|
2588
2421
|
* New liquidity was provided to the pool.
|
|
2589
2422
|
**/
|
|
2590
2423
|
LiquidityAdded: GenericPalletEvent<
|
|
2591
|
-
Rv,
|
|
2592
2424
|
'LBP',
|
|
2593
2425
|
'LiquidityAdded',
|
|
2594
2426
|
{ who: AccountId32; assetA: number; assetB: number; amountA: bigint; amountB: bigint }
|
|
@@ -2598,7 +2430,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2598
2430
|
* Liquidity was removed from the pool and the pool was destroyed.
|
|
2599
2431
|
**/
|
|
2600
2432
|
LiquidityRemoved: GenericPalletEvent<
|
|
2601
|
-
Rv,
|
|
2602
2433
|
'LBP',
|
|
2603
2434
|
'LiquidityRemoved',
|
|
2604
2435
|
{ who: AccountId32; assetA: number; assetB: number; amountA: bigint; amountB: bigint }
|
|
@@ -2609,7 +2440,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2609
2440
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2610
2441
|
**/
|
|
2611
2442
|
SellExecuted: GenericPalletEvent<
|
|
2612
|
-
Rv,
|
|
2613
2443
|
'LBP',
|
|
2614
2444
|
'SellExecuted',
|
|
2615
2445
|
{
|
|
@@ -2628,7 +2458,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2628
2458
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2629
2459
|
**/
|
|
2630
2460
|
BuyExecuted: GenericPalletEvent<
|
|
2631
|
-
Rv,
|
|
2632
2461
|
'LBP',
|
|
2633
2462
|
'BuyExecuted',
|
|
2634
2463
|
{
|
|
@@ -2645,7 +2474,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2645
2474
|
/**
|
|
2646
2475
|
* Generic pallet event
|
|
2647
2476
|
**/
|
|
2648
|
-
[prop: string]: GenericPalletEvent
|
|
2477
|
+
[prop: string]: GenericPalletEvent;
|
|
2649
2478
|
};
|
|
2650
2479
|
/**
|
|
2651
2480
|
* Pallet `XYK`'s events
|
|
@@ -2655,7 +2484,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2655
2484
|
* New liquidity was provided to the pool.
|
|
2656
2485
|
**/
|
|
2657
2486
|
LiquidityAdded: GenericPalletEvent<
|
|
2658
|
-
Rv,
|
|
2659
2487
|
'XYK',
|
|
2660
2488
|
'LiquidityAdded',
|
|
2661
2489
|
{ who: AccountId32; assetA: number; assetB: number; amountA: bigint; amountB: bigint }
|
|
@@ -2665,7 +2493,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2665
2493
|
* Liquidity was removed from the pool.
|
|
2666
2494
|
**/
|
|
2667
2495
|
LiquidityRemoved: GenericPalletEvent<
|
|
2668
|
-
Rv,
|
|
2669
2496
|
'XYK',
|
|
2670
2497
|
'LiquidityRemoved',
|
|
2671
2498
|
{ who: AccountId32; assetA: number; assetB: number; shares: bigint }
|
|
@@ -2675,7 +2502,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2675
2502
|
* Pool was created.
|
|
2676
2503
|
**/
|
|
2677
2504
|
PoolCreated: GenericPalletEvent<
|
|
2678
|
-
Rv,
|
|
2679
2505
|
'XYK',
|
|
2680
2506
|
'PoolCreated',
|
|
2681
2507
|
{
|
|
@@ -2692,7 +2518,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2692
2518
|
* Pool was destroyed.
|
|
2693
2519
|
**/
|
|
2694
2520
|
PoolDestroyed: GenericPalletEvent<
|
|
2695
|
-
Rv,
|
|
2696
2521
|
'XYK',
|
|
2697
2522
|
'PoolDestroyed',
|
|
2698
2523
|
{ who: AccountId32; assetA: number; assetB: number; shareToken: number; pool: AccountId32 }
|
|
@@ -2703,7 +2528,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2703
2528
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2704
2529
|
**/
|
|
2705
2530
|
SellExecuted: GenericPalletEvent<
|
|
2706
|
-
Rv,
|
|
2707
2531
|
'XYK',
|
|
2708
2532
|
'SellExecuted',
|
|
2709
2533
|
{
|
|
@@ -2723,7 +2547,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2723
2547
|
* Deprecated. Replaced by pallet_broadcast::Swapped
|
|
2724
2548
|
**/
|
|
2725
2549
|
BuyExecuted: GenericPalletEvent<
|
|
2726
|
-
Rv,
|
|
2727
2550
|
'XYK',
|
|
2728
2551
|
'BuyExecuted',
|
|
2729
2552
|
{
|
|
@@ -2741,7 +2564,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2741
2564
|
/**
|
|
2742
2565
|
* Generic pallet event
|
|
2743
2566
|
**/
|
|
2744
|
-
[prop: string]: GenericPalletEvent
|
|
2567
|
+
[prop: string]: GenericPalletEvent;
|
|
2745
2568
|
};
|
|
2746
2569
|
/**
|
|
2747
2570
|
* Pallet `Referrals`'s events
|
|
@@ -2750,13 +2573,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2750
2573
|
/**
|
|
2751
2574
|
* Referral code has been registered.
|
|
2752
2575
|
**/
|
|
2753
|
-
CodeRegistered: GenericPalletEvent<
|
|
2576
|
+
CodeRegistered: GenericPalletEvent<'Referrals', 'CodeRegistered', { code: Bytes; account: AccountId32 }>;
|
|
2754
2577
|
|
|
2755
2578
|
/**
|
|
2756
2579
|
* Referral code has been linked to an account.
|
|
2757
2580
|
**/
|
|
2758
2581
|
CodeLinked: GenericPalletEvent<
|
|
2759
|
-
Rv,
|
|
2760
2582
|
'Referrals',
|
|
2761
2583
|
'CodeLinked',
|
|
2762
2584
|
{ account: AccountId32; code: Bytes; referralAccount: AccountId32 }
|
|
@@ -2766,7 +2588,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2766
2588
|
* Asset has been converted to RewardAsset.
|
|
2767
2589
|
**/
|
|
2768
2590
|
Converted: GenericPalletEvent<
|
|
2769
|
-
Rv,
|
|
2770
2591
|
'Referrals',
|
|
2771
2592
|
'Converted',
|
|
2772
2593
|
{ from: PalletReferralsAssetAmount; to: PalletReferralsAssetAmount }
|
|
@@ -2776,7 +2597,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2776
2597
|
* Rewards claimed.
|
|
2777
2598
|
**/
|
|
2778
2599
|
Claimed: GenericPalletEvent<
|
|
2779
|
-
Rv,
|
|
2780
2600
|
'Referrals',
|
|
2781
2601
|
'Claimed',
|
|
2782
2602
|
{ who: AccountId32; referrerRewards: bigint; tradeRewards: bigint }
|
|
@@ -2786,7 +2606,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2786
2606
|
* New asset rewards has been set.
|
|
2787
2607
|
**/
|
|
2788
2608
|
AssetRewardsUpdated: GenericPalletEvent<
|
|
2789
|
-
Rv,
|
|
2790
2609
|
'Referrals',
|
|
2791
2610
|
'AssetRewardsUpdated',
|
|
2792
2611
|
{ assetId: number; level: PalletReferralsLevel; rewards: PalletReferralsFeeDistribution }
|
|
@@ -2795,12 +2614,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2795
2614
|
/**
|
|
2796
2615
|
* Referrer reached new level.
|
|
2797
2616
|
**/
|
|
2798
|
-
LevelUp: GenericPalletEvent<
|
|
2617
|
+
LevelUp: GenericPalletEvent<'Referrals', 'LevelUp', { who: AccountId32; level: PalletReferralsLevel }>;
|
|
2799
2618
|
|
|
2800
2619
|
/**
|
|
2801
2620
|
* Generic pallet event
|
|
2802
2621
|
**/
|
|
2803
|
-
[prop: string]: GenericPalletEvent
|
|
2622
|
+
[prop: string]: GenericPalletEvent;
|
|
2804
2623
|
};
|
|
2805
2624
|
/**
|
|
2806
2625
|
* Pallet `Liquidation`'s events
|
|
@@ -2810,16 +2629,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2810
2629
|
* Money market position has been liquidated
|
|
2811
2630
|
**/
|
|
2812
2631
|
Liquidated: GenericPalletEvent<
|
|
2813
|
-
Rv,
|
|
2814
2632
|
'Liquidation',
|
|
2815
2633
|
'Liquidated',
|
|
2816
|
-
{ user: H160; collateralAsset: number; debtAsset: number;
|
|
2634
|
+
{ user: H160; collateralAsset: number; debtAsset: number; profit: bigint }
|
|
2817
2635
|
>;
|
|
2818
2636
|
|
|
2819
2637
|
/**
|
|
2820
2638
|
* Generic pallet event
|
|
2821
2639
|
**/
|
|
2822
|
-
[prop: string]: GenericPalletEvent
|
|
2640
|
+
[prop: string]: GenericPalletEvent;
|
|
2823
2641
|
};
|
|
2824
2642
|
/**
|
|
2825
2643
|
* Pallet `HSM`'s events
|
|
@@ -2837,7 +2655,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2837
2655
|
* - `buyback_rate`: Parameter that controls how quickly HSM can buy Hollar with this asset
|
|
2838
2656
|
**/
|
|
2839
2657
|
CollateralAdded: GenericPalletEvent<
|
|
2840
|
-
Rv,
|
|
2841
2658
|
'HSM',
|
|
2842
2659
|
'CollateralAdded',
|
|
2843
2660
|
{
|
|
@@ -2856,7 +2673,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2856
2673
|
* Parameters:
|
|
2857
2674
|
* - `asset_id`: The ID of the asset removed from collaterals
|
|
2858
2675
|
**/
|
|
2859
|
-
CollateralRemoved: GenericPalletEvent<
|
|
2676
|
+
CollateralRemoved: GenericPalletEvent<'HSM', 'CollateralRemoved', { assetId: number }>;
|
|
2860
2677
|
|
|
2861
2678
|
/**
|
|
2862
2679
|
* A collateral asset was updated
|
|
@@ -2870,7 +2687,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2870
2687
|
* - `max_in_holding`: New max collateral holding if updated (None if not changed)
|
|
2871
2688
|
**/
|
|
2872
2689
|
CollateralUpdated: GenericPalletEvent<
|
|
2873
|
-
Rv,
|
|
2874
2690
|
'HSM',
|
|
2875
2691
|
'CollateralUpdated',
|
|
2876
2692
|
{
|
|
@@ -2891,7 +2707,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2891
2707
|
* - `hollar_amount`: Amount of Hollar that was included in the arbitrage operation
|
|
2892
2708
|
**/
|
|
2893
2709
|
ArbitrageExecuted: GenericPalletEvent<
|
|
2894
|
-
Rv,
|
|
2895
2710
|
'HSM',
|
|
2896
2711
|
'ArbitrageExecuted',
|
|
2897
2712
|
{ arbitrage: number; assetId: number; hollarAmount: bigint; profit: bigint }
|
|
@@ -2903,12 +2718,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2903
2718
|
* Parameters:
|
|
2904
2719
|
* - `flash_minter`: The EVM address of the flash minter contract
|
|
2905
2720
|
**/
|
|
2906
|
-
FlashMinterSet: GenericPalletEvent<
|
|
2721
|
+
FlashMinterSet: GenericPalletEvent<'HSM', 'FlashMinterSet', { flashMinter: H160 }>;
|
|
2907
2722
|
|
|
2908
2723
|
/**
|
|
2909
2724
|
* Generic pallet event
|
|
2910
2725
|
**/
|
|
2911
|
-
[prop: string]: GenericPalletEvent
|
|
2726
|
+
[prop: string]: GenericPalletEvent;
|
|
2912
2727
|
};
|
|
2913
2728
|
/**
|
|
2914
2729
|
* Pallet `Tokens`'s events
|
|
@@ -2917,19 +2732,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2917
2732
|
/**
|
|
2918
2733
|
* An account was created with some free balance.
|
|
2919
2734
|
**/
|
|
2920
|
-
Endowed: GenericPalletEvent<
|
|
2735
|
+
Endowed: GenericPalletEvent<'Tokens', 'Endowed', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
2921
2736
|
|
|
2922
2737
|
/**
|
|
2923
2738
|
* An account was removed whose balance was non-zero but below
|
|
2924
2739
|
* ExistentialDeposit, resulting in an outright loss.
|
|
2925
2740
|
**/
|
|
2926
|
-
DustLost: GenericPalletEvent<
|
|
2741
|
+
DustLost: GenericPalletEvent<'Tokens', 'DustLost', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
2927
2742
|
|
|
2928
2743
|
/**
|
|
2929
2744
|
* Transfer succeeded.
|
|
2930
2745
|
**/
|
|
2931
2746
|
Transfer: GenericPalletEvent<
|
|
2932
|
-
Rv,
|
|
2933
2747
|
'Tokens',
|
|
2934
2748
|
'Transfer',
|
|
2935
2749
|
{ currencyId: number; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -2938,24 +2752,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2938
2752
|
/**
|
|
2939
2753
|
* Some balance was reserved (moved from free to reserved).
|
|
2940
2754
|
**/
|
|
2941
|
-
Reserved: GenericPalletEvent<
|
|
2755
|
+
Reserved: GenericPalletEvent<'Tokens', 'Reserved', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
2942
2756
|
|
|
2943
2757
|
/**
|
|
2944
2758
|
* Some balance was unreserved (moved from reserved to free).
|
|
2945
2759
|
**/
|
|
2946
|
-
Unreserved: GenericPalletEvent<
|
|
2947
|
-
Rv,
|
|
2948
|
-
'Tokens',
|
|
2949
|
-
'Unreserved',
|
|
2950
|
-
{ currencyId: number; who: AccountId32; amount: bigint }
|
|
2951
|
-
>;
|
|
2760
|
+
Unreserved: GenericPalletEvent<'Tokens', 'Unreserved', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
2952
2761
|
|
|
2953
2762
|
/**
|
|
2954
2763
|
* Some reserved balance was repatriated (moved from reserved to
|
|
2955
2764
|
* another account).
|
|
2956
2765
|
**/
|
|
2957
2766
|
ReserveRepatriated: GenericPalletEvent<
|
|
2958
|
-
Rv,
|
|
2959
2767
|
'Tokens',
|
|
2960
2768
|
'ReserveRepatriated',
|
|
2961
2769
|
{
|
|
@@ -2971,7 +2779,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2971
2779
|
* A balance was set by root.
|
|
2972
2780
|
**/
|
|
2973
2781
|
BalanceSet: GenericPalletEvent<
|
|
2974
|
-
Rv,
|
|
2975
2782
|
'Tokens',
|
|
2976
2783
|
'BalanceSet',
|
|
2977
2784
|
{ currencyId: number; who: AccountId32; free: bigint; reserved: bigint }
|
|
@@ -2980,18 +2787,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2980
2787
|
/**
|
|
2981
2788
|
* The total issuance of an currency has been set
|
|
2982
2789
|
**/
|
|
2983
|
-
TotalIssuanceSet: GenericPalletEvent<
|
|
2790
|
+
TotalIssuanceSet: GenericPalletEvent<'Tokens', 'TotalIssuanceSet', { currencyId: number; amount: bigint }>;
|
|
2984
2791
|
|
|
2985
2792
|
/**
|
|
2986
2793
|
* Some balances were withdrawn (e.g. pay for transaction fee)
|
|
2987
2794
|
**/
|
|
2988
|
-
Withdrawn: GenericPalletEvent<
|
|
2795
|
+
Withdrawn: GenericPalletEvent<'Tokens', 'Withdrawn', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
2989
2796
|
|
|
2990
2797
|
/**
|
|
2991
2798
|
* Some balances were slashed (e.g. due to mis-behavior)
|
|
2992
2799
|
**/
|
|
2993
2800
|
Slashed: GenericPalletEvent<
|
|
2994
|
-
Rv,
|
|
2995
2801
|
'Tokens',
|
|
2996
2802
|
'Slashed',
|
|
2997
2803
|
{ currencyId: number; who: AccountId32; freeAmount: bigint; reservedAmount: bigint }
|
|
@@ -3000,13 +2806,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3000
2806
|
/**
|
|
3001
2807
|
* Deposited some balance into an account
|
|
3002
2808
|
**/
|
|
3003
|
-
Deposited: GenericPalletEvent<
|
|
2809
|
+
Deposited: GenericPalletEvent<'Tokens', 'Deposited', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
3004
2810
|
|
|
3005
2811
|
/**
|
|
3006
2812
|
* Some funds are locked
|
|
3007
2813
|
**/
|
|
3008
2814
|
LockSet: GenericPalletEvent<
|
|
3009
|
-
Rv,
|
|
3010
2815
|
'Tokens',
|
|
3011
2816
|
'LockSet',
|
|
3012
2817
|
{ lockId: FixedBytes<8>; currencyId: number; who: AccountId32; amount: bigint }
|
|
@@ -3016,7 +2821,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3016
2821
|
* Some locked funds were unlocked
|
|
3017
2822
|
**/
|
|
3018
2823
|
LockRemoved: GenericPalletEvent<
|
|
3019
|
-
Rv,
|
|
3020
2824
|
'Tokens',
|
|
3021
2825
|
'LockRemoved',
|
|
3022
2826
|
{ lockId: FixedBytes<8>; currencyId: number; who: AccountId32 }
|
|
@@ -3025,19 +2829,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3025
2829
|
/**
|
|
3026
2830
|
* Some free balance was locked.
|
|
3027
2831
|
**/
|
|
3028
|
-
Locked: GenericPalletEvent<
|
|
2832
|
+
Locked: GenericPalletEvent<'Tokens', 'Locked', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
3029
2833
|
|
|
3030
2834
|
/**
|
|
3031
2835
|
* Some locked balance was freed.
|
|
3032
2836
|
**/
|
|
3033
|
-
Unlocked: GenericPalletEvent<
|
|
3034
|
-
Issued: GenericPalletEvent<
|
|
3035
|
-
Rescinded: GenericPalletEvent<
|
|
2837
|
+
Unlocked: GenericPalletEvent<'Tokens', 'Unlocked', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
2838
|
+
Issued: GenericPalletEvent<'Tokens', 'Issued', { currencyId: number; amount: bigint }>;
|
|
2839
|
+
Rescinded: GenericPalletEvent<'Tokens', 'Rescinded', { currencyId: number; amount: bigint }>;
|
|
3036
2840
|
|
|
3037
2841
|
/**
|
|
3038
2842
|
* Generic pallet event
|
|
3039
2843
|
**/
|
|
3040
|
-
[prop: string]: GenericPalletEvent
|
|
2844
|
+
[prop: string]: GenericPalletEvent;
|
|
3041
2845
|
};
|
|
3042
2846
|
/**
|
|
3043
2847
|
* Pallet `Currencies`'s events
|
|
@@ -3047,7 +2851,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3047
2851
|
* Currency transfer success.
|
|
3048
2852
|
**/
|
|
3049
2853
|
Transferred: GenericPalletEvent<
|
|
3050
|
-
Rv,
|
|
3051
2854
|
'Currencies',
|
|
3052
2855
|
'Transferred',
|
|
3053
2856
|
{ currencyId: number; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -3057,7 +2860,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3057
2860
|
* Update balance success.
|
|
3058
2861
|
**/
|
|
3059
2862
|
BalanceUpdated: GenericPalletEvent<
|
|
3060
|
-
Rv,
|
|
3061
2863
|
'Currencies',
|
|
3062
2864
|
'BalanceUpdated',
|
|
3063
2865
|
{ currencyId: number; who: AccountId32; amount: bigint }
|
|
@@ -3066,27 +2868,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3066
2868
|
/**
|
|
3067
2869
|
* Deposit success.
|
|
3068
2870
|
**/
|
|
3069
|
-
Deposited: GenericPalletEvent<
|
|
3070
|
-
Rv,
|
|
3071
|
-
'Currencies',
|
|
3072
|
-
'Deposited',
|
|
3073
|
-
{ currencyId: number; who: AccountId32; amount: bigint }
|
|
3074
|
-
>;
|
|
2871
|
+
Deposited: GenericPalletEvent<'Currencies', 'Deposited', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
3075
2872
|
|
|
3076
2873
|
/**
|
|
3077
2874
|
* Withdraw success.
|
|
3078
2875
|
**/
|
|
3079
|
-
Withdrawn: GenericPalletEvent<
|
|
3080
|
-
Rv,
|
|
3081
|
-
'Currencies',
|
|
3082
|
-
'Withdrawn',
|
|
3083
|
-
{ currencyId: number; who: AccountId32; amount: bigint }
|
|
3084
|
-
>;
|
|
2876
|
+
Withdrawn: GenericPalletEvent<'Currencies', 'Withdrawn', { currencyId: number; who: AccountId32; amount: bigint }>;
|
|
3085
2877
|
|
|
3086
2878
|
/**
|
|
3087
2879
|
* Generic pallet event
|
|
3088
2880
|
**/
|
|
3089
|
-
[prop: string]: GenericPalletEvent
|
|
2881
|
+
[prop: string]: GenericPalletEvent;
|
|
3090
2882
|
};
|
|
3091
2883
|
/**
|
|
3092
2884
|
* Pallet `Vesting`'s events
|
|
@@ -3096,7 +2888,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3096
2888
|
* Added new vesting schedule.
|
|
3097
2889
|
**/
|
|
3098
2890
|
VestingScheduleAdded: GenericPalletEvent<
|
|
3099
|
-
Rv,
|
|
3100
2891
|
'Vesting',
|
|
3101
2892
|
'VestingScheduleAdded',
|
|
3102
2893
|
{ from: AccountId32; to: AccountId32; vestingSchedule: OrmlVestingVestingSchedule }
|
|
@@ -3105,17 +2896,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3105
2896
|
/**
|
|
3106
2897
|
* Claimed vesting.
|
|
3107
2898
|
**/
|
|
3108
|
-
Claimed: GenericPalletEvent<
|
|
2899
|
+
Claimed: GenericPalletEvent<'Vesting', 'Claimed', { who: AccountId32; amount: bigint }>;
|
|
3109
2900
|
|
|
3110
2901
|
/**
|
|
3111
2902
|
* Updated vesting schedules.
|
|
3112
2903
|
**/
|
|
3113
|
-
VestingSchedulesUpdated: GenericPalletEvent<
|
|
2904
|
+
VestingSchedulesUpdated: GenericPalletEvent<'Vesting', 'VestingSchedulesUpdated', { who: AccountId32 }>;
|
|
3114
2905
|
|
|
3115
2906
|
/**
|
|
3116
2907
|
* Generic pallet event
|
|
3117
2908
|
**/
|
|
3118
|
-
[prop: string]: GenericPalletEvent
|
|
2909
|
+
[prop: string]: GenericPalletEvent;
|
|
3119
2910
|
};
|
|
3120
2911
|
/**
|
|
3121
2912
|
* Pallet `EVM`'s events
|
|
@@ -3124,32 +2915,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3124
2915
|
/**
|
|
3125
2916
|
* Ethereum events from contracts.
|
|
3126
2917
|
**/
|
|
3127
|
-
Log: GenericPalletEvent<
|
|
2918
|
+
Log: GenericPalletEvent<'EVM', 'Log', { log: EthereumLog }>;
|
|
3128
2919
|
|
|
3129
2920
|
/**
|
|
3130
2921
|
* A contract has been created at given address.
|
|
3131
2922
|
**/
|
|
3132
|
-
Created: GenericPalletEvent<
|
|
2923
|
+
Created: GenericPalletEvent<'EVM', 'Created', { address: H160 }>;
|
|
3133
2924
|
|
|
3134
2925
|
/**
|
|
3135
2926
|
* A contract was attempted to be created, but the execution failed.
|
|
3136
2927
|
**/
|
|
3137
|
-
CreatedFailed: GenericPalletEvent<
|
|
2928
|
+
CreatedFailed: GenericPalletEvent<'EVM', 'CreatedFailed', { address: H160 }>;
|
|
3138
2929
|
|
|
3139
2930
|
/**
|
|
3140
2931
|
* A contract has been executed successfully with states applied.
|
|
3141
2932
|
**/
|
|
3142
|
-
Executed: GenericPalletEvent<
|
|
2933
|
+
Executed: GenericPalletEvent<'EVM', 'Executed', { address: H160 }>;
|
|
3143
2934
|
|
|
3144
2935
|
/**
|
|
3145
2936
|
* A contract has been executed with errors. States are reverted with only gas fees applied.
|
|
3146
2937
|
**/
|
|
3147
|
-
ExecutedFailed: GenericPalletEvent<
|
|
2938
|
+
ExecutedFailed: GenericPalletEvent<'EVM', 'ExecutedFailed', { address: H160 }>;
|
|
3148
2939
|
|
|
3149
2940
|
/**
|
|
3150
2941
|
* Generic pallet event
|
|
3151
2942
|
**/
|
|
3152
|
-
[prop: string]: GenericPalletEvent
|
|
2943
|
+
[prop: string]: GenericPalletEvent;
|
|
3153
2944
|
};
|
|
3154
2945
|
/**
|
|
3155
2946
|
* Pallet `Ethereum`'s events
|
|
@@ -3159,7 +2950,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3159
2950
|
* An ethereum transaction was successfully executed.
|
|
3160
2951
|
**/
|
|
3161
2952
|
Executed: GenericPalletEvent<
|
|
3162
|
-
Rv,
|
|
3163
2953
|
'Ethereum',
|
|
3164
2954
|
'Executed',
|
|
3165
2955
|
{ from: H160; to: H160; transactionHash: H256; exitReason: EvmCoreErrorExitReason; extraData: Bytes }
|
|
@@ -3168,7 +2958,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3168
2958
|
/**
|
|
3169
2959
|
* Generic pallet event
|
|
3170
2960
|
**/
|
|
3171
|
-
[prop: string]: GenericPalletEvent
|
|
2961
|
+
[prop: string]: GenericPalletEvent;
|
|
3172
2962
|
};
|
|
3173
2963
|
/**
|
|
3174
2964
|
* Pallet `EVMAccounts`'s events
|
|
@@ -3177,32 +2967,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3177
2967
|
/**
|
|
3178
2968
|
* Binding was created.
|
|
3179
2969
|
**/
|
|
3180
|
-
Bound: GenericPalletEvent<
|
|
2970
|
+
Bound: GenericPalletEvent<'EVMAccounts', 'Bound', { account: AccountId32; address: H160 }>;
|
|
3181
2971
|
|
|
3182
2972
|
/**
|
|
3183
2973
|
* Deployer was added.
|
|
3184
2974
|
**/
|
|
3185
|
-
DeployerAdded: GenericPalletEvent<
|
|
2975
|
+
DeployerAdded: GenericPalletEvent<'EVMAccounts', 'DeployerAdded', { who: H160 }>;
|
|
3186
2976
|
|
|
3187
2977
|
/**
|
|
3188
2978
|
* Deployer was removed.
|
|
3189
2979
|
**/
|
|
3190
|
-
DeployerRemoved: GenericPalletEvent<
|
|
2980
|
+
DeployerRemoved: GenericPalletEvent<'EVMAccounts', 'DeployerRemoved', { who: H160 }>;
|
|
3191
2981
|
|
|
3192
2982
|
/**
|
|
3193
2983
|
* Contract was approved.
|
|
3194
2984
|
**/
|
|
3195
|
-
ContractApproved: GenericPalletEvent<
|
|
2985
|
+
ContractApproved: GenericPalletEvent<'EVMAccounts', 'ContractApproved', { address: H160 }>;
|
|
3196
2986
|
|
|
3197
2987
|
/**
|
|
3198
2988
|
* Contract was disapproved.
|
|
3199
2989
|
**/
|
|
3200
|
-
ContractDisapproved: GenericPalletEvent<
|
|
2990
|
+
ContractDisapproved: GenericPalletEvent<'EVMAccounts', 'ContractDisapproved', { address: H160 }>;
|
|
3201
2991
|
|
|
3202
2992
|
/**
|
|
3203
2993
|
* Generic pallet event
|
|
3204
2994
|
**/
|
|
3205
|
-
[prop: string]: GenericPalletEvent
|
|
2995
|
+
[prop: string]: GenericPalletEvent;
|
|
3206
2996
|
};
|
|
3207
2997
|
/**
|
|
3208
2998
|
* Pallet `XYKLiquidityMining`'s events
|
|
@@ -3212,7 +3002,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3212
3002
|
* New global farm was created.
|
|
3213
3003
|
**/
|
|
3214
3004
|
GlobalFarmCreated: GenericPalletEvent<
|
|
3215
|
-
Rv,
|
|
3216
3005
|
'XYKLiquidityMining',
|
|
3217
3006
|
'GlobalFarmCreated',
|
|
3218
3007
|
{
|
|
@@ -3234,7 +3023,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3234
3023
|
* Global farm's `price_adjustment` was updated.
|
|
3235
3024
|
**/
|
|
3236
3025
|
GlobalFarmUpdated: GenericPalletEvent<
|
|
3237
|
-
Rv,
|
|
3238
3026
|
'XYKLiquidityMining',
|
|
3239
3027
|
'GlobalFarmUpdated',
|
|
3240
3028
|
{ id: number; priceAdjustment: FixedU128 }
|
|
@@ -3244,7 +3032,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3244
3032
|
* New yield farm was added into the farm.
|
|
3245
3033
|
**/
|
|
3246
3034
|
YieldFarmCreated: GenericPalletEvent<
|
|
3247
|
-
Rv,
|
|
3248
3035
|
'XYKLiquidityMining',
|
|
3249
3036
|
'YieldFarmCreated',
|
|
3250
3037
|
{
|
|
@@ -3260,7 +3047,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3260
3047
|
* Global farm was terminated.
|
|
3261
3048
|
**/
|
|
3262
3049
|
GlobalFarmTerminated: GenericPalletEvent<
|
|
3263
|
-
Rv,
|
|
3264
3050
|
'XYKLiquidityMining',
|
|
3265
3051
|
'GlobalFarmTerminated',
|
|
3266
3052
|
{ globalFarmId: number; who: AccountId32; rewardCurrency: number; undistributedRewards: bigint }
|
|
@@ -3270,7 +3056,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3270
3056
|
* New LP tokens was deposited.
|
|
3271
3057
|
**/
|
|
3272
3058
|
SharesDeposited: GenericPalletEvent<
|
|
3273
|
-
Rv,
|
|
3274
3059
|
'XYKLiquidityMining',
|
|
3275
3060
|
'SharesDeposited',
|
|
3276
3061
|
{
|
|
@@ -3287,7 +3072,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3287
3072
|
* LP token was redeposited for a new yield farm entry
|
|
3288
3073
|
**/
|
|
3289
3074
|
SharesRedeposited: GenericPalletEvent<
|
|
3290
|
-
Rv,
|
|
3291
3075
|
'XYKLiquidityMining',
|
|
3292
3076
|
'SharesRedeposited',
|
|
3293
3077
|
{
|
|
@@ -3304,7 +3088,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3304
3088
|
* Rewards was claimed.
|
|
3305
3089
|
**/
|
|
3306
3090
|
RewardClaimed: GenericPalletEvent<
|
|
3307
|
-
Rv,
|
|
3308
3091
|
'XYKLiquidityMining',
|
|
3309
3092
|
'RewardClaimed',
|
|
3310
3093
|
{
|
|
@@ -3321,7 +3104,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3321
3104
|
* LP tokens was withdrawn.
|
|
3322
3105
|
**/
|
|
3323
3106
|
SharesWithdrawn: GenericPalletEvent<
|
|
3324
|
-
Rv,
|
|
3325
3107
|
'XYKLiquidityMining',
|
|
3326
3108
|
'SharesWithdrawn',
|
|
3327
3109
|
{
|
|
@@ -3338,7 +3120,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3338
3120
|
* Yield farm for asset pair was stopped.
|
|
3339
3121
|
**/
|
|
3340
3122
|
YieldFarmStopped: GenericPalletEvent<
|
|
3341
|
-
Rv,
|
|
3342
3123
|
'XYKLiquidityMining',
|
|
3343
3124
|
'YieldFarmStopped',
|
|
3344
3125
|
{ globalFarmId: number; yieldFarmId: number; who: AccountId32; assetPair: PalletXykAssetPair }
|
|
@@ -3348,7 +3129,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3348
3129
|
* Yield farm for asset pair was resumed.
|
|
3349
3130
|
**/
|
|
3350
3131
|
YieldFarmResumed: GenericPalletEvent<
|
|
3351
|
-
Rv,
|
|
3352
3132
|
'XYKLiquidityMining',
|
|
3353
3133
|
'YieldFarmResumed',
|
|
3354
3134
|
{
|
|
@@ -3364,7 +3144,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3364
3144
|
* Yield farm was terminated from global farm.
|
|
3365
3145
|
**/
|
|
3366
3146
|
YieldFarmTerminated: GenericPalletEvent<
|
|
3367
|
-
Rv,
|
|
3368
3147
|
'XYKLiquidityMining',
|
|
3369
3148
|
'YieldFarmTerminated',
|
|
3370
3149
|
{ globalFarmId: number; yieldFarmId: number; who: AccountId32; assetPair: PalletXykAssetPair }
|
|
@@ -3374,7 +3153,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3374
3153
|
* Yield farm multiplier was updated.
|
|
3375
3154
|
**/
|
|
3376
3155
|
YieldFarmUpdated: GenericPalletEvent<
|
|
3377
|
-
Rv,
|
|
3378
3156
|
'XYKLiquidityMining',
|
|
3379
3157
|
'YieldFarmUpdated',
|
|
3380
3158
|
{
|
|
@@ -3390,7 +3168,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3390
3168
|
* NFT representing deposit has been destroyed
|
|
3391
3169
|
**/
|
|
3392
3170
|
DepositDestroyed: GenericPalletEvent<
|
|
3393
|
-
Rv,
|
|
3394
3171
|
'XYKLiquidityMining',
|
|
3395
3172
|
'DepositDestroyed',
|
|
3396
3173
|
{ who: AccountId32; depositId: bigint }
|
|
@@ -3399,7 +3176,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3399
3176
|
/**
|
|
3400
3177
|
* Generic pallet event
|
|
3401
3178
|
**/
|
|
3402
|
-
[prop: string]: GenericPalletEvent
|
|
3179
|
+
[prop: string]: GenericPalletEvent;
|
|
3403
3180
|
};
|
|
3404
3181
|
/**
|
|
3405
3182
|
* Pallet `XYKWarehouseLM`'s events
|
|
@@ -3409,7 +3186,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3409
3186
|
* Global farm accumulated reward per share was updated.
|
|
3410
3187
|
**/
|
|
3411
3188
|
GlobalFarmAccRPZUpdated: GenericPalletEvent<
|
|
3412
|
-
Rv,
|
|
3413
3189
|
'XYKWarehouseLM',
|
|
3414
3190
|
'GlobalFarmAccRPZUpdated',
|
|
3415
3191
|
{ globalFarmId: number; accumulatedRpz: FixedU128; totalSharesZ: bigint }
|
|
@@ -3419,7 +3195,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3419
3195
|
* Yield farm accumulated reward per valued share was updated.
|
|
3420
3196
|
**/
|
|
3421
3197
|
YieldFarmAccRPVSUpdated: GenericPalletEvent<
|
|
3422
|
-
Rv,
|
|
3423
3198
|
'XYKWarehouseLM',
|
|
3424
3199
|
'YieldFarmAccRPVSUpdated',
|
|
3425
3200
|
{ globalFarmId: number; yieldFarmId: number; accumulatedRpvs: FixedU128; totalValuedShares: bigint }
|
|
@@ -3428,12 +3203,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3428
3203
|
/**
|
|
3429
3204
|
* Global farm has no more rewards to distribute in the moment.
|
|
3430
3205
|
**/
|
|
3431
|
-
AllRewardsDistributed: GenericPalletEvent<
|
|
3206
|
+
AllRewardsDistributed: GenericPalletEvent<'XYKWarehouseLM', 'AllRewardsDistributed', { globalFarmId: number }>;
|
|
3432
3207
|
|
|
3433
3208
|
/**
|
|
3434
3209
|
* Generic pallet event
|
|
3435
3210
|
**/
|
|
3436
|
-
[prop: string]: GenericPalletEvent
|
|
3211
|
+
[prop: string]: GenericPalletEvent;
|
|
3437
3212
|
};
|
|
3438
3213
|
/**
|
|
3439
3214
|
* Pallet `RelayChainInfo`'s events
|
|
@@ -3444,7 +3219,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3444
3219
|
* [ Parachain block number, Relaychain Block number ]
|
|
3445
3220
|
**/
|
|
3446
3221
|
CurrentBlockNumbers: GenericPalletEvent<
|
|
3447
|
-
Rv,
|
|
3448
3222
|
'RelayChainInfo',
|
|
3449
3223
|
'CurrentBlockNumbers',
|
|
3450
3224
|
{ parachainBlockNumber: number; relaychainBlockNumber: number }
|
|
@@ -3453,7 +3227,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3453
3227
|
/**
|
|
3454
3228
|
* Generic pallet event
|
|
3455
3229
|
**/
|
|
3456
|
-
[prop: string]: GenericPalletEvent
|
|
3230
|
+
[prop: string]: GenericPalletEvent;
|
|
3457
3231
|
};
|
|
3458
3232
|
/**
|
|
3459
3233
|
* Pallet `DCA`'s events
|
|
@@ -3462,13 +3236,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3462
3236
|
/**
|
|
3463
3237
|
* The DCA execution is started
|
|
3464
3238
|
**/
|
|
3465
|
-
ExecutionStarted: GenericPalletEvent<
|
|
3239
|
+
ExecutionStarted: GenericPalletEvent<'DCA', 'ExecutionStarted', { id: number; block: number }>;
|
|
3466
3240
|
|
|
3467
3241
|
/**
|
|
3468
3242
|
* The DCA is scheduled for next execution
|
|
3469
3243
|
**/
|
|
3470
3244
|
Scheduled: GenericPalletEvent<
|
|
3471
|
-
Rv,
|
|
3472
3245
|
'DCA',
|
|
3473
3246
|
'Scheduled',
|
|
3474
3247
|
{ id: number; who: AccountId32; period: number; totalAmount: bigint; order: PalletDcaOrder }
|
|
@@ -3477,18 +3250,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3477
3250
|
/**
|
|
3478
3251
|
* The DCA is planned for blocknumber
|
|
3479
3252
|
**/
|
|
3480
|
-
ExecutionPlanned: GenericPalletEvent<
|
|
3481
|
-
Rv,
|
|
3482
|
-
'DCA',
|
|
3483
|
-
'ExecutionPlanned',
|
|
3484
|
-
{ id: number; who: AccountId32; block: number }
|
|
3485
|
-
>;
|
|
3253
|
+
ExecutionPlanned: GenericPalletEvent<'DCA', 'ExecutionPlanned', { id: number; who: AccountId32; block: number }>;
|
|
3486
3254
|
|
|
3487
3255
|
/**
|
|
3488
3256
|
* The DCA trade is successfully executed
|
|
3489
3257
|
**/
|
|
3490
3258
|
TradeExecuted: GenericPalletEvent<
|
|
3491
|
-
Rv,
|
|
3492
3259
|
'DCA',
|
|
3493
3260
|
'TradeExecuted',
|
|
3494
3261
|
{ id: number; who: AccountId32; amountIn: bigint; amountOut: bigint }
|
|
@@ -3497,23 +3264,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3497
3264
|
/**
|
|
3498
3265
|
* The DCA trade execution is failed
|
|
3499
3266
|
**/
|
|
3500
|
-
TradeFailed: GenericPalletEvent<
|
|
3267
|
+
TradeFailed: GenericPalletEvent<'DCA', 'TradeFailed', { id: number; who: AccountId32; error: DispatchError }>;
|
|
3501
3268
|
|
|
3502
3269
|
/**
|
|
3503
3270
|
* The DCA is terminated and completely removed from the chain
|
|
3504
3271
|
**/
|
|
3505
|
-
Terminated: GenericPalletEvent<
|
|
3272
|
+
Terminated: GenericPalletEvent<'DCA', 'Terminated', { id: number; who: AccountId32; error: DispatchError }>;
|
|
3506
3273
|
|
|
3507
3274
|
/**
|
|
3508
3275
|
* The DCA is completed and completely removed from the chain
|
|
3509
3276
|
**/
|
|
3510
|
-
Completed: GenericPalletEvent<
|
|
3277
|
+
Completed: GenericPalletEvent<'DCA', 'Completed', { id: number; who: AccountId32 }>;
|
|
3511
3278
|
|
|
3512
3279
|
/**
|
|
3513
3280
|
* Randomness generation failed possibly coming from missing data about relay chain
|
|
3514
3281
|
**/
|
|
3515
3282
|
RandomnessGenerationFailed: GenericPalletEvent<
|
|
3516
|
-
Rv,
|
|
3517
3283
|
'DCA',
|
|
3518
3284
|
'RandomnessGenerationFailed',
|
|
3519
3285
|
{ block: number; error: DispatchError }
|
|
@@ -3522,12 +3288,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3522
3288
|
/**
|
|
3523
3289
|
* DCA reserve for the given asset have been unlocked for a user
|
|
3524
3290
|
**/
|
|
3525
|
-
ReserveUnlocked: GenericPalletEvent<
|
|
3291
|
+
ReserveUnlocked: GenericPalletEvent<'DCA', 'ReserveUnlocked', { who: AccountId32; assetId: number }>;
|
|
3526
3292
|
|
|
3527
3293
|
/**
|
|
3528
3294
|
* Generic pallet event
|
|
3529
3295
|
**/
|
|
3530
|
-
[prop: string]: GenericPalletEvent
|
|
3296
|
+
[prop: string]: GenericPalletEvent;
|
|
3531
3297
|
};
|
|
3532
3298
|
/**
|
|
3533
3299
|
* Pallet `Scheduler`'s events
|
|
@@ -3536,18 +3302,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3536
3302
|
/**
|
|
3537
3303
|
* Scheduled some task.
|
|
3538
3304
|
**/
|
|
3539
|
-
Scheduled: GenericPalletEvent<
|
|
3305
|
+
Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
|
|
3540
3306
|
|
|
3541
3307
|
/**
|
|
3542
3308
|
* Canceled some task.
|
|
3543
3309
|
**/
|
|
3544
|
-
Canceled: GenericPalletEvent<
|
|
3310
|
+
Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
|
|
3545
3311
|
|
|
3546
3312
|
/**
|
|
3547
3313
|
* Dispatched some task.
|
|
3548
3314
|
**/
|
|
3549
3315
|
Dispatched: GenericPalletEvent<
|
|
3550
|
-
Rv,
|
|
3551
3316
|
'Scheduler',
|
|
3552
3317
|
'Dispatched',
|
|
3553
3318
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
|
|
@@ -3557,7 +3322,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3557
3322
|
* Set a retry configuration for some task.
|
|
3558
3323
|
**/
|
|
3559
3324
|
RetrySet: GenericPalletEvent<
|
|
3560
|
-
Rv,
|
|
3561
3325
|
'Scheduler',
|
|
3562
3326
|
'RetrySet',
|
|
3563
3327
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
|
|
@@ -3567,7 +3331,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3567
3331
|
* Cancel a retry configuration for some task.
|
|
3568
3332
|
**/
|
|
3569
3333
|
RetryCancelled: GenericPalletEvent<
|
|
3570
|
-
Rv,
|
|
3571
3334
|
'Scheduler',
|
|
3572
3335
|
'RetryCancelled',
|
|
3573
3336
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -3577,7 +3340,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3577
3340
|
* The call for the provided hash was not found so the task has been aborted.
|
|
3578
3341
|
**/
|
|
3579
3342
|
CallUnavailable: GenericPalletEvent<
|
|
3580
|
-
Rv,
|
|
3581
3343
|
'Scheduler',
|
|
3582
3344
|
'CallUnavailable',
|
|
3583
3345
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -3587,7 +3349,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3587
3349
|
* The given task was unable to be renewed since the agenda is full at that block.
|
|
3588
3350
|
**/
|
|
3589
3351
|
PeriodicFailed: GenericPalletEvent<
|
|
3590
|
-
Rv,
|
|
3591
3352
|
'Scheduler',
|
|
3592
3353
|
'PeriodicFailed',
|
|
3593
3354
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -3598,7 +3359,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3598
3359
|
* was not enough weight to reschedule it.
|
|
3599
3360
|
**/
|
|
3600
3361
|
RetryFailed: GenericPalletEvent<
|
|
3601
|
-
Rv,
|
|
3602
3362
|
'Scheduler',
|
|
3603
3363
|
'RetryFailed',
|
|
3604
3364
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -3608,7 +3368,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3608
3368
|
* The given task can never be executed since it is overweight.
|
|
3609
3369
|
**/
|
|
3610
3370
|
PermanentlyOverweight: GenericPalletEvent<
|
|
3611
|
-
Rv,
|
|
3612
3371
|
'Scheduler',
|
|
3613
3372
|
'PermanentlyOverweight',
|
|
3614
3373
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -3617,7 +3376,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3617
3376
|
/**
|
|
3618
3377
|
* Generic pallet event
|
|
3619
3378
|
**/
|
|
3620
|
-
[prop: string]: GenericPalletEvent
|
|
3379
|
+
[prop: string]: GenericPalletEvent;
|
|
3621
3380
|
};
|
|
3622
3381
|
/**
|
|
3623
3382
|
* Pallet `ParachainSystem`'s events
|
|
@@ -3626,13 +3385,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3626
3385
|
/**
|
|
3627
3386
|
* The validation function has been scheduled to apply.
|
|
3628
3387
|
**/
|
|
3629
|
-
ValidationFunctionStored: GenericPalletEvent<
|
|
3388
|
+
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
3630
3389
|
|
|
3631
3390
|
/**
|
|
3632
3391
|
* The validation function was applied as of the contained relay chain block number.
|
|
3633
3392
|
**/
|
|
3634
3393
|
ValidationFunctionApplied: GenericPalletEvent<
|
|
3635
|
-
Rv,
|
|
3636
3394
|
'ParachainSystem',
|
|
3637
3395
|
'ValidationFunctionApplied',
|
|
3638
3396
|
{ relayChainBlockNum: number }
|
|
@@ -3641,18 +3399,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3641
3399
|
/**
|
|
3642
3400
|
* The relay-chain aborted the upgrade process.
|
|
3643
3401
|
**/
|
|
3644
|
-
ValidationFunctionDiscarded: GenericPalletEvent<
|
|
3402
|
+
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
3645
3403
|
|
|
3646
3404
|
/**
|
|
3647
3405
|
* Some downward messages have been received and will be processed.
|
|
3648
3406
|
**/
|
|
3649
|
-
DownwardMessagesReceived: GenericPalletEvent<
|
|
3407
|
+
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
3650
3408
|
|
|
3651
3409
|
/**
|
|
3652
3410
|
* Downward messages were processed using the given weight.
|
|
3653
3411
|
**/
|
|
3654
3412
|
DownwardMessagesProcessed: GenericPalletEvent<
|
|
3655
|
-
Rv,
|
|
3656
3413
|
'ParachainSystem',
|
|
3657
3414
|
'DownwardMessagesProcessed',
|
|
3658
3415
|
{ weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
|
|
@@ -3662,7 +3419,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3662
3419
|
* An upward message was sent to the relay chain.
|
|
3663
3420
|
**/
|
|
3664
3421
|
UpwardMessageSent: GenericPalletEvent<
|
|
3665
|
-
Rv,
|
|
3666
3422
|
'ParachainSystem',
|
|
3667
3423
|
'UpwardMessageSent',
|
|
3668
3424
|
{ messageHash?: FixedBytes<32> | undefined }
|
|
@@ -3671,7 +3427,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3671
3427
|
/**
|
|
3672
3428
|
* Generic pallet event
|
|
3673
3429
|
**/
|
|
3674
|
-
[prop: string]: GenericPalletEvent
|
|
3430
|
+
[prop: string]: GenericPalletEvent;
|
|
3675
3431
|
};
|
|
3676
3432
|
/**
|
|
3677
3433
|
* Pallet `PolkadotXcm`'s events
|
|
@@ -3680,13 +3436,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3680
3436
|
/**
|
|
3681
3437
|
* Execution of an XCM message was attempted.
|
|
3682
3438
|
**/
|
|
3683
|
-
Attempted: GenericPalletEvent<
|
|
3439
|
+
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
|
|
3684
3440
|
|
|
3685
3441
|
/**
|
|
3686
3442
|
* A XCM message was sent.
|
|
3687
3443
|
**/
|
|
3688
3444
|
Sent: GenericPalletEvent<
|
|
3689
|
-
Rv,
|
|
3690
3445
|
'PolkadotXcm',
|
|
3691
3446
|
'Sent',
|
|
3692
3447
|
{
|
|
@@ -3703,7 +3458,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3703
3458
|
* because the query timed out.
|
|
3704
3459
|
**/
|
|
3705
3460
|
UnexpectedResponse: GenericPalletEvent<
|
|
3706
|
-
Rv,
|
|
3707
3461
|
'PolkadotXcm',
|
|
3708
3462
|
'UnexpectedResponse',
|
|
3709
3463
|
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
@@ -3714,7 +3468,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3714
3468
|
* no registered notification call.
|
|
3715
3469
|
**/
|
|
3716
3470
|
ResponseReady: GenericPalletEvent<
|
|
3717
|
-
Rv,
|
|
3718
3471
|
'PolkadotXcm',
|
|
3719
3472
|
'ResponseReady',
|
|
3720
3473
|
{ queryId: bigint; response: StagingXcmV4Response }
|
|
@@ -3725,7 +3478,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3725
3478
|
* been dispatched and executed successfully.
|
|
3726
3479
|
**/
|
|
3727
3480
|
Notified: GenericPalletEvent<
|
|
3728
|
-
Rv,
|
|
3729
3481
|
'PolkadotXcm',
|
|
3730
3482
|
'Notified',
|
|
3731
3483
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -3737,7 +3489,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3737
3489
|
* originally budgeted by this runtime for the query result.
|
|
3738
3490
|
**/
|
|
3739
3491
|
NotifyOverweight: GenericPalletEvent<
|
|
3740
|
-
Rv,
|
|
3741
3492
|
'PolkadotXcm',
|
|
3742
3493
|
'NotifyOverweight',
|
|
3743
3494
|
{
|
|
@@ -3754,7 +3505,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3754
3505
|
* dispatching the notification call.
|
|
3755
3506
|
**/
|
|
3756
3507
|
NotifyDispatchError: GenericPalletEvent<
|
|
3757
|
-
Rv,
|
|
3758
3508
|
'PolkadotXcm',
|
|
3759
3509
|
'NotifyDispatchError',
|
|
3760
3510
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -3766,7 +3516,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3766
3516
|
* is not `(origin, QueryId, Response)`.
|
|
3767
3517
|
**/
|
|
3768
3518
|
NotifyDecodeFailed: GenericPalletEvent<
|
|
3769
|
-
Rv,
|
|
3770
3519
|
'PolkadotXcm',
|
|
3771
3520
|
'NotifyDecodeFailed',
|
|
3772
3521
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -3778,7 +3527,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3778
3527
|
* be received and acted upon.
|
|
3779
3528
|
**/
|
|
3780
3529
|
InvalidResponder: GenericPalletEvent<
|
|
3781
|
-
Rv,
|
|
3782
3530
|
'PolkadotXcm',
|
|
3783
3531
|
'InvalidResponder',
|
|
3784
3532
|
{ origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
|
|
@@ -3794,7 +3542,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3794
3542
|
* needed.
|
|
3795
3543
|
**/
|
|
3796
3544
|
InvalidResponderVersion: GenericPalletEvent<
|
|
3797
|
-
Rv,
|
|
3798
3545
|
'PolkadotXcm',
|
|
3799
3546
|
'InvalidResponderVersion',
|
|
3800
3547
|
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
@@ -3803,13 +3550,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3803
3550
|
/**
|
|
3804
3551
|
* Received query response has been read and removed.
|
|
3805
3552
|
**/
|
|
3806
|
-
ResponseTaken: GenericPalletEvent<
|
|
3553
|
+
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
|
|
3807
3554
|
|
|
3808
3555
|
/**
|
|
3809
3556
|
* Some assets have been placed in an asset trap.
|
|
3810
3557
|
**/
|
|
3811
3558
|
AssetsTrapped: GenericPalletEvent<
|
|
3812
|
-
Rv,
|
|
3813
3559
|
'PolkadotXcm',
|
|
3814
3560
|
'AssetsTrapped',
|
|
3815
3561
|
{ hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
|
|
@@ -3821,7 +3567,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3821
3567
|
* The cost of sending it (borne by the chain) is included.
|
|
3822
3568
|
**/
|
|
3823
3569
|
VersionChangeNotified: GenericPalletEvent<
|
|
3824
|
-
Rv,
|
|
3825
3570
|
'PolkadotXcm',
|
|
3826
3571
|
'VersionChangeNotified',
|
|
3827
3572
|
{ destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3832,7 +3577,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3832
3577
|
* automatic notification or a manual intervention.
|
|
3833
3578
|
**/
|
|
3834
3579
|
SupportedVersionChanged: GenericPalletEvent<
|
|
3835
|
-
Rv,
|
|
3836
3580
|
'PolkadotXcm',
|
|
3837
3581
|
'SupportedVersionChanged',
|
|
3838
3582
|
{ location: StagingXcmV4Location; version: number }
|
|
@@ -3843,7 +3587,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3843
3587
|
* sending the notification to it.
|
|
3844
3588
|
**/
|
|
3845
3589
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
3846
|
-
Rv,
|
|
3847
3590
|
'PolkadotXcm',
|
|
3848
3591
|
'NotifyTargetSendFail',
|
|
3849
3592
|
{ location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
|
|
@@ -3854,7 +3597,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3854
3597
|
* migrating the location to our new XCM format.
|
|
3855
3598
|
**/
|
|
3856
3599
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
3857
|
-
Rv,
|
|
3858
3600
|
'PolkadotXcm',
|
|
3859
3601
|
'NotifyTargetMigrationFail',
|
|
3860
3602
|
{ location: XcmVersionedLocation; queryId: bigint }
|
|
@@ -3870,7 +3612,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3870
3612
|
* needed.
|
|
3871
3613
|
**/
|
|
3872
3614
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
3873
|
-
Rv,
|
|
3874
3615
|
'PolkadotXcm',
|
|
3875
3616
|
'InvalidQuerierVersion',
|
|
3876
3617
|
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
@@ -3882,7 +3623,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3882
3623
|
* be received and acted upon.
|
|
3883
3624
|
**/
|
|
3884
3625
|
InvalidQuerier: GenericPalletEvent<
|
|
3885
|
-
Rv,
|
|
3886
3626
|
'PolkadotXcm',
|
|
3887
3627
|
'InvalidQuerier',
|
|
3888
3628
|
{
|
|
@@ -3898,7 +3638,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3898
3638
|
* A version information message is sent to them and its cost is included.
|
|
3899
3639
|
**/
|
|
3900
3640
|
VersionNotifyStarted: GenericPalletEvent<
|
|
3901
|
-
Rv,
|
|
3902
3641
|
'PolkadotXcm',
|
|
3903
3642
|
'VersionNotifyStarted',
|
|
3904
3643
|
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3908,7 +3647,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3908
3647
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
3909
3648
|
**/
|
|
3910
3649
|
VersionNotifyRequested: GenericPalletEvent<
|
|
3911
|
-
Rv,
|
|
3912
3650
|
'PolkadotXcm',
|
|
3913
3651
|
'VersionNotifyRequested',
|
|
3914
3652
|
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3919,7 +3657,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3919
3657
|
* notifications.
|
|
3920
3658
|
**/
|
|
3921
3659
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
3922
|
-
Rv,
|
|
3923
3660
|
'PolkadotXcm',
|
|
3924
3661
|
'VersionNotifyUnrequested',
|
|
3925
3662
|
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -3929,7 +3666,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3929
3666
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
3930
3667
|
**/
|
|
3931
3668
|
FeesPaid: GenericPalletEvent<
|
|
3932
|
-
Rv,
|
|
3933
3669
|
'PolkadotXcm',
|
|
3934
3670
|
'FeesPaid',
|
|
3935
3671
|
{ paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
|
|
@@ -3939,7 +3675,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3939
3675
|
* Some assets have been claimed from an asset trap
|
|
3940
3676
|
**/
|
|
3941
3677
|
AssetsClaimed: GenericPalletEvent<
|
|
3942
|
-
Rv,
|
|
3943
3678
|
'PolkadotXcm',
|
|
3944
3679
|
'AssetsClaimed',
|
|
3945
3680
|
{ hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
|
|
@@ -3948,12 +3683,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3948
3683
|
/**
|
|
3949
3684
|
* A XCM version migration finished.
|
|
3950
3685
|
**/
|
|
3951
|
-
VersionMigrationFinished: GenericPalletEvent<
|
|
3686
|
+
VersionMigrationFinished: GenericPalletEvent<'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
3952
3687
|
|
|
3953
3688
|
/**
|
|
3954
3689
|
* Generic pallet event
|
|
3955
3690
|
**/
|
|
3956
|
-
[prop: string]: GenericPalletEvent
|
|
3691
|
+
[prop: string]: GenericPalletEvent;
|
|
3957
3692
|
};
|
|
3958
3693
|
/**
|
|
3959
3694
|
* Pallet `CumulusXcm`'s events
|
|
@@ -3963,29 +3698,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3963
3698
|
* Downward message is invalid XCM.
|
|
3964
3699
|
* \[ id \]
|
|
3965
3700
|
**/
|
|
3966
|
-
InvalidFormat: GenericPalletEvent<
|
|
3701
|
+
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
3967
3702
|
|
|
3968
3703
|
/**
|
|
3969
3704
|
* Downward message is unsupported version of XCM.
|
|
3970
3705
|
* \[ id \]
|
|
3971
3706
|
**/
|
|
3972
|
-
UnsupportedVersion: GenericPalletEvent<
|
|
3707
|
+
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
3973
3708
|
|
|
3974
3709
|
/**
|
|
3975
3710
|
* Downward message executed with the given outcome.
|
|
3976
3711
|
* \[ id, outcome \]
|
|
3977
3712
|
**/
|
|
3978
|
-
ExecutedDownward: GenericPalletEvent<
|
|
3979
|
-
Rv,
|
|
3980
|
-
'CumulusXcm',
|
|
3981
|
-
'ExecutedDownward',
|
|
3982
|
-
[FixedBytes<32>, StagingXcmV4TraitsOutcome]
|
|
3983
|
-
>;
|
|
3713
|
+
ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, StagingXcmV4TraitsOutcome]>;
|
|
3984
3714
|
|
|
3985
3715
|
/**
|
|
3986
3716
|
* Generic pallet event
|
|
3987
3717
|
**/
|
|
3988
|
-
[prop: string]: GenericPalletEvent
|
|
3718
|
+
[prop: string]: GenericPalletEvent;
|
|
3989
3719
|
};
|
|
3990
3720
|
/**
|
|
3991
3721
|
* Pallet `XcmpQueue`'s events
|
|
@@ -3994,12 +3724,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3994
3724
|
/**
|
|
3995
3725
|
* An HRMP message was sent to a sibling parachain.
|
|
3996
3726
|
**/
|
|
3997
|
-
XcmpMessageSent: GenericPalletEvent<
|
|
3727
|
+
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
3998
3728
|
|
|
3999
3729
|
/**
|
|
4000
3730
|
* Generic pallet event
|
|
4001
3731
|
**/
|
|
4002
|
-
[prop: string]: GenericPalletEvent
|
|
3732
|
+
[prop: string]: GenericPalletEvent;
|
|
4003
3733
|
};
|
|
4004
3734
|
/**
|
|
4005
3735
|
* Pallet `MessageQueue`'s events
|
|
@@ -4009,7 +3739,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4009
3739
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
4010
3740
|
**/
|
|
4011
3741
|
ProcessingFailed: GenericPalletEvent<
|
|
4012
|
-
Rv,
|
|
4013
3742
|
'MessageQueue',
|
|
4014
3743
|
'ProcessingFailed',
|
|
4015
3744
|
{
|
|
@@ -4037,7 +3766,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4037
3766
|
* Message is processed.
|
|
4038
3767
|
**/
|
|
4039
3768
|
Processed: GenericPalletEvent<
|
|
4040
|
-
Rv,
|
|
4041
3769
|
'MessageQueue',
|
|
4042
3770
|
'Processed',
|
|
4043
3771
|
{
|
|
@@ -4072,7 +3800,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4072
3800
|
* Message placed in overweight queue.
|
|
4073
3801
|
**/
|
|
4074
3802
|
OverweightEnqueued: GenericPalletEvent<
|
|
4075
|
-
Rv,
|
|
4076
3803
|
'MessageQueue',
|
|
4077
3804
|
'OverweightEnqueued',
|
|
4078
3805
|
{
|
|
@@ -4102,7 +3829,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4102
3829
|
* This page was reaped.
|
|
4103
3830
|
**/
|
|
4104
3831
|
PageReaped: GenericPalletEvent<
|
|
4105
|
-
Rv,
|
|
4106
3832
|
'MessageQueue',
|
|
4107
3833
|
'PageReaped',
|
|
4108
3834
|
{
|
|
@@ -4121,7 +3847,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4121
3847
|
/**
|
|
4122
3848
|
* Generic pallet event
|
|
4123
3849
|
**/
|
|
4124
|
-
[prop: string]: GenericPalletEvent
|
|
3850
|
+
[prop: string]: GenericPalletEvent;
|
|
4125
3851
|
};
|
|
4126
3852
|
/**
|
|
4127
3853
|
* Pallet `OrmlXcm`'s events
|
|
@@ -4130,12 +3856,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4130
3856
|
/**
|
|
4131
3857
|
* XCM message sent. \[to, message\]
|
|
4132
3858
|
**/
|
|
4133
|
-
Sent: GenericPalletEvent<
|
|
3859
|
+
Sent: GenericPalletEvent<'OrmlXcm', 'Sent', { to: StagingXcmV4Location; message: StagingXcmV4Xcm }>;
|
|
4134
3860
|
|
|
4135
3861
|
/**
|
|
4136
3862
|
* Generic pallet event
|
|
4137
3863
|
**/
|
|
4138
|
-
[prop: string]: GenericPalletEvent
|
|
3864
|
+
[prop: string]: GenericPalletEvent;
|
|
4139
3865
|
};
|
|
4140
3866
|
/**
|
|
4141
3867
|
* Pallet `XTokens`'s events
|
|
@@ -4145,7 +3871,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4145
3871
|
* Transferred `Asset` with fee.
|
|
4146
3872
|
**/
|
|
4147
3873
|
TransferredAssets: GenericPalletEvent<
|
|
4148
|
-
Rv,
|
|
4149
3874
|
'XTokens',
|
|
4150
3875
|
'TransferredAssets',
|
|
4151
3876
|
{ sender: AccountId32; assets: StagingXcmV4AssetAssets; fee: StagingXcmV4Asset; dest: StagingXcmV4Location }
|
|
@@ -4154,7 +3879,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4154
3879
|
/**
|
|
4155
3880
|
* Generic pallet event
|
|
4156
3881
|
**/
|
|
4157
|
-
[prop: string]: GenericPalletEvent
|
|
3882
|
+
[prop: string]: GenericPalletEvent;
|
|
4158
3883
|
};
|
|
4159
3884
|
/**
|
|
4160
3885
|
* Pallet `UnknownTokens`'s events
|
|
@@ -4164,7 +3889,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4164
3889
|
* Deposit success.
|
|
4165
3890
|
**/
|
|
4166
3891
|
Deposited: GenericPalletEvent<
|
|
4167
|
-
Rv,
|
|
4168
3892
|
'UnknownTokens',
|
|
4169
3893
|
'Deposited',
|
|
4170
3894
|
{ asset: StagingXcmV4Asset; who: StagingXcmV4Location }
|
|
@@ -4174,7 +3898,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4174
3898
|
* Withdraw success.
|
|
4175
3899
|
**/
|
|
4176
3900
|
Withdrawn: GenericPalletEvent<
|
|
4177
|
-
Rv,
|
|
4178
3901
|
'UnknownTokens',
|
|
4179
3902
|
'Withdrawn',
|
|
4180
3903
|
{ asset: StagingXcmV4Asset; who: StagingXcmV4Location }
|
|
@@ -4183,7 +3906,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4183
3906
|
/**
|
|
4184
3907
|
* Generic pallet event
|
|
4185
3908
|
**/
|
|
4186
|
-
[prop: string]: GenericPalletEvent
|
|
3909
|
+
[prop: string]: GenericPalletEvent;
|
|
4187
3910
|
};
|
|
4188
3911
|
/**
|
|
4189
3912
|
* Pallet `CollatorSelection`'s events
|
|
@@ -4193,7 +3916,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4193
3916
|
* New Invulnerables were set.
|
|
4194
3917
|
**/
|
|
4195
3918
|
NewInvulnerables: GenericPalletEvent<
|
|
4196
|
-
Rv,
|
|
4197
3919
|
'CollatorSelection',
|
|
4198
3920
|
'NewInvulnerables',
|
|
4199
3921
|
{ invulnerables: Array<AccountId32> }
|
|
@@ -4202,18 +3924,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4202
3924
|
/**
|
|
4203
3925
|
* A new Invulnerable was added.
|
|
4204
3926
|
**/
|
|
4205
|
-
InvulnerableAdded: GenericPalletEvent<
|
|
3927
|
+
InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
|
|
4206
3928
|
|
|
4207
3929
|
/**
|
|
4208
3930
|
* An Invulnerable was removed.
|
|
4209
3931
|
**/
|
|
4210
|
-
InvulnerableRemoved: GenericPalletEvent<
|
|
3932
|
+
InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
|
|
4211
3933
|
|
|
4212
3934
|
/**
|
|
4213
3935
|
* The number of desired candidates was set.
|
|
4214
3936
|
**/
|
|
4215
3937
|
NewDesiredCandidates: GenericPalletEvent<
|
|
4216
|
-
Rv,
|
|
4217
3938
|
'CollatorSelection',
|
|
4218
3939
|
'NewDesiredCandidates',
|
|
4219
3940
|
{ desiredCandidates: number }
|
|
@@ -4222,13 +3943,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4222
3943
|
/**
|
|
4223
3944
|
* The candidacy bond was set.
|
|
4224
3945
|
**/
|
|
4225
|
-
NewCandidacyBond: GenericPalletEvent<
|
|
3946
|
+
NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
|
|
4226
3947
|
|
|
4227
3948
|
/**
|
|
4228
3949
|
* A new candidate joined.
|
|
4229
3950
|
**/
|
|
4230
3951
|
CandidateAdded: GenericPalletEvent<
|
|
4231
|
-
Rv,
|
|
4232
3952
|
'CollatorSelection',
|
|
4233
3953
|
'CandidateAdded',
|
|
4234
3954
|
{ accountId: AccountId32; deposit: bigint }
|
|
@@ -4238,7 +3958,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4238
3958
|
* Bond of a candidate updated.
|
|
4239
3959
|
**/
|
|
4240
3960
|
CandidateBondUpdated: GenericPalletEvent<
|
|
4241
|
-
Rv,
|
|
4242
3961
|
'CollatorSelection',
|
|
4243
3962
|
'CandidateBondUpdated',
|
|
4244
3963
|
{ accountId: AccountId32; deposit: bigint }
|
|
@@ -4247,13 +3966,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4247
3966
|
/**
|
|
4248
3967
|
* A candidate was removed.
|
|
4249
3968
|
**/
|
|
4250
|
-
CandidateRemoved: GenericPalletEvent<
|
|
3969
|
+
CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
|
|
4251
3970
|
|
|
4252
3971
|
/**
|
|
4253
3972
|
* An account was replaced in the candidate list by another one.
|
|
4254
3973
|
**/
|
|
4255
3974
|
CandidateReplaced: GenericPalletEvent<
|
|
4256
|
-
Rv,
|
|
4257
3975
|
'CollatorSelection',
|
|
4258
3976
|
'CandidateReplaced',
|
|
4259
3977
|
{ old: AccountId32; new: AccountId32; deposit: bigint }
|
|
@@ -4264,7 +3982,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4264
3982
|
* registered. Other Invulnerables may have been set.
|
|
4265
3983
|
**/
|
|
4266
3984
|
InvalidInvulnerableSkipped: GenericPalletEvent<
|
|
4267
|
-
Rv,
|
|
4268
3985
|
'CollatorSelection',
|
|
4269
3986
|
'InvalidInvulnerableSkipped',
|
|
4270
3987
|
{ accountId: AccountId32 }
|
|
@@ -4273,7 +3990,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4273
3990
|
/**
|
|
4274
3991
|
* Generic pallet event
|
|
4275
3992
|
**/
|
|
4276
|
-
[prop: string]: GenericPalletEvent
|
|
3993
|
+
[prop: string]: GenericPalletEvent;
|
|
4277
3994
|
};
|
|
4278
3995
|
/**
|
|
4279
3996
|
* Pallet `Session`'s events
|
|
@@ -4283,12 +4000,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4283
4000
|
* New session has happened. Note that the argument is the session index, not the
|
|
4284
4001
|
* block number as the type might suggest.
|
|
4285
4002
|
**/
|
|
4286
|
-
NewSession: GenericPalletEvent<
|
|
4003
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
4287
4004
|
|
|
4288
4005
|
/**
|
|
4289
4006
|
* Generic pallet event
|
|
4290
4007
|
**/
|
|
4291
|
-
[prop: string]: GenericPalletEvent
|
|
4008
|
+
[prop: string]: GenericPalletEvent;
|
|
4292
4009
|
};
|
|
4293
4010
|
/**
|
|
4294
4011
|
* Pallet `Ismp`'s events
|
|
@@ -4298,7 +4015,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4298
4015
|
* Emitted when a state machine is successfully updated to a new height
|
|
4299
4016
|
**/
|
|
4300
4017
|
StateMachineUpdated: GenericPalletEvent<
|
|
4301
|
-
Rv,
|
|
4302
4018
|
'Ismp',
|
|
4303
4019
|
'StateMachineUpdated',
|
|
4304
4020
|
{
|
|
@@ -4318,7 +4034,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4318
4034
|
* Emitted when a state commitment is vetoed by a fisherman
|
|
4319
4035
|
**/
|
|
4320
4036
|
StateCommitmentVetoed: GenericPalletEvent<
|
|
4321
|
-
Rv,
|
|
4322
4037
|
'Ismp',
|
|
4323
4038
|
'StateCommitmentVetoed',
|
|
4324
4039
|
{
|
|
@@ -4338,7 +4053,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4338
4053
|
* Indicates that a consensus client has been created
|
|
4339
4054
|
**/
|
|
4340
4055
|
ConsensusClientCreated: GenericPalletEvent<
|
|
4341
|
-
Rv,
|
|
4342
4056
|
'Ismp',
|
|
4343
4057
|
'ConsensusClientCreated',
|
|
4344
4058
|
{
|
|
@@ -4353,7 +4067,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4353
4067
|
* Indicates that a consensus client has been created
|
|
4354
4068
|
**/
|
|
4355
4069
|
ConsensusClientFrozen: GenericPalletEvent<
|
|
4356
|
-
Rv,
|
|
4357
4070
|
'Ismp',
|
|
4358
4071
|
'ConsensusClientFrozen',
|
|
4359
4072
|
{
|
|
@@ -4368,7 +4081,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4368
4081
|
* An Outgoing Response has been deposited
|
|
4369
4082
|
**/
|
|
4370
4083
|
Response: GenericPalletEvent<
|
|
4371
|
-
Rv,
|
|
4372
4084
|
'Ismp',
|
|
4373
4085
|
'Response',
|
|
4374
4086
|
{
|
|
@@ -4403,7 +4115,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4403
4115
|
* An Outgoing Request has been deposited
|
|
4404
4116
|
**/
|
|
4405
4117
|
Request: GenericPalletEvent<
|
|
4406
|
-
Rv,
|
|
4407
4118
|
'Ismp',
|
|
4408
4119
|
'Request',
|
|
4409
4120
|
{
|
|
@@ -4433,7 +4144,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4433
4144
|
* Some errors handling some ismp messages
|
|
4434
4145
|
**/
|
|
4435
4146
|
Errors: GenericPalletEvent<
|
|
4436
|
-
Rv,
|
|
4437
4147
|
'Ismp',
|
|
4438
4148
|
'Errors',
|
|
4439
4149
|
{
|
|
@@ -4447,37 +4157,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4447
4157
|
/**
|
|
4448
4158
|
* Post Request Handled
|
|
4449
4159
|
**/
|
|
4450
|
-
PostRequestHandled: GenericPalletEvent<
|
|
4160
|
+
PostRequestHandled: GenericPalletEvent<'Ismp', 'PostRequestHandled', IsmpEventsRequestResponseHandled>;
|
|
4451
4161
|
|
|
4452
4162
|
/**
|
|
4453
4163
|
* Post Response Handled
|
|
4454
4164
|
**/
|
|
4455
|
-
PostResponseHandled: GenericPalletEvent<
|
|
4165
|
+
PostResponseHandled: GenericPalletEvent<'Ismp', 'PostResponseHandled', IsmpEventsRequestResponseHandled>;
|
|
4456
4166
|
|
|
4457
4167
|
/**
|
|
4458
4168
|
* Get Response Handled
|
|
4459
4169
|
**/
|
|
4460
|
-
GetRequestHandled: GenericPalletEvent<
|
|
4170
|
+
GetRequestHandled: GenericPalletEvent<'Ismp', 'GetRequestHandled', IsmpEventsRequestResponseHandled>;
|
|
4461
4171
|
|
|
4462
4172
|
/**
|
|
4463
4173
|
* Post request timeout handled
|
|
4464
4174
|
**/
|
|
4465
|
-
PostRequestTimeoutHandled: GenericPalletEvent<
|
|
4175
|
+
PostRequestTimeoutHandled: GenericPalletEvent<'Ismp', 'PostRequestTimeoutHandled', IsmpEventsTimeoutHandled>;
|
|
4466
4176
|
|
|
4467
4177
|
/**
|
|
4468
4178
|
* Post response timeout handled
|
|
4469
4179
|
**/
|
|
4470
|
-
PostResponseTimeoutHandled: GenericPalletEvent<
|
|
4180
|
+
PostResponseTimeoutHandled: GenericPalletEvent<'Ismp', 'PostResponseTimeoutHandled', IsmpEventsTimeoutHandled>;
|
|
4471
4181
|
|
|
4472
4182
|
/**
|
|
4473
4183
|
* Get request timeout handled
|
|
4474
4184
|
**/
|
|
4475
|
-
GetRequestTimeoutHandled: GenericPalletEvent<
|
|
4185
|
+
GetRequestTimeoutHandled: GenericPalletEvent<'Ismp', 'GetRequestTimeoutHandled', IsmpEventsTimeoutHandled>;
|
|
4476
4186
|
|
|
4477
4187
|
/**
|
|
4478
4188
|
* Generic pallet event
|
|
4479
4189
|
**/
|
|
4480
|
-
[prop: string]: GenericPalletEvent
|
|
4190
|
+
[prop: string]: GenericPalletEvent;
|
|
4481
4191
|
};
|
|
4482
4192
|
/**
|
|
4483
4193
|
* Pallet `IsmpParachain`'s events
|
|
@@ -4487,7 +4197,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4487
4197
|
* Parachains with the `para_ids` have been added to the whitelist
|
|
4488
4198
|
**/
|
|
4489
4199
|
ParachainsAdded: GenericPalletEvent<
|
|
4490
|
-
Rv,
|
|
4491
4200
|
'IsmpParachain',
|
|
4492
4201
|
'ParachainsAdded',
|
|
4493
4202
|
{
|
|
@@ -4502,7 +4211,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4502
4211
|
* Parachains with the `para_ids` have been removed from the whitelist
|
|
4503
4212
|
**/
|
|
4504
4213
|
ParachainsRemoved: GenericPalletEvent<
|
|
4505
|
-
Rv,
|
|
4506
4214
|
'IsmpParachain',
|
|
4507
4215
|
'ParachainsRemoved',
|
|
4508
4216
|
{
|
|
@@ -4516,7 +4224,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4516
4224
|
/**
|
|
4517
4225
|
* Generic pallet event
|
|
4518
4226
|
**/
|
|
4519
|
-
[prop: string]: GenericPalletEvent
|
|
4227
|
+
[prop: string]: GenericPalletEvent;
|
|
4520
4228
|
};
|
|
4521
4229
|
/**
|
|
4522
4230
|
* Pallet `Hyperbridge`'s events
|
|
@@ -4526,7 +4234,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4526
4234
|
* Hyperbridge governance has now updated it's host params on this chain.
|
|
4527
4235
|
**/
|
|
4528
4236
|
HostParamsUpdated: GenericPalletEvent<
|
|
4529
|
-
Rv,
|
|
4530
4237
|
'Hyperbridge',
|
|
4531
4238
|
'HostParamsUpdated',
|
|
4532
4239
|
{
|
|
@@ -4546,7 +4253,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4546
4253
|
* A relayer has withdrawn some fees
|
|
4547
4254
|
**/
|
|
4548
4255
|
RelayerFeeWithdrawn: GenericPalletEvent<
|
|
4549
|
-
Rv,
|
|
4550
4256
|
'Hyperbridge',
|
|
4551
4257
|
'RelayerFeeWithdrawn',
|
|
4552
4258
|
{
|
|
@@ -4566,7 +4272,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4566
4272
|
* Hyperbridge has withdrawn it's protocol revenue
|
|
4567
4273
|
**/
|
|
4568
4274
|
ProtocolRevenueWithdrawn: GenericPalletEvent<
|
|
4569
|
-
Rv,
|
|
4570
4275
|
'Hyperbridge',
|
|
4571
4276
|
'ProtocolRevenueWithdrawn',
|
|
4572
4277
|
{
|
|
@@ -4585,7 +4290,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4585
4290
|
/**
|
|
4586
4291
|
* Generic pallet event
|
|
4587
4292
|
**/
|
|
4588
|
-
[prop: string]: GenericPalletEvent
|
|
4293
|
+
[prop: string]: GenericPalletEvent;
|
|
4589
4294
|
};
|
|
4590
4295
|
/**
|
|
4591
4296
|
* Pallet `TokenGateway`'s events
|
|
@@ -4595,7 +4300,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4595
4300
|
* An asset has been teleported
|
|
4596
4301
|
**/
|
|
4597
4302
|
AssetTeleported: GenericPalletEvent<
|
|
4598
|
-
Rv,
|
|
4599
4303
|
'TokenGateway',
|
|
4600
4304
|
'AssetTeleported',
|
|
4601
4305
|
{
|
|
@@ -4630,7 +4334,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4630
4334
|
* An asset has been received and transferred to the beneficiary's account
|
|
4631
4335
|
**/
|
|
4632
4336
|
AssetReceived: GenericPalletEvent<
|
|
4633
|
-
Rv,
|
|
4634
4337
|
'TokenGateway',
|
|
4635
4338
|
'AssetReceived',
|
|
4636
4339
|
{
|
|
@@ -4655,7 +4358,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4655
4358
|
* An asset has been refunded and transferred to the beneficiary's account
|
|
4656
4359
|
**/
|
|
4657
4360
|
AssetRefunded: GenericPalletEvent<
|
|
4658
|
-
Rv,
|
|
4659
4361
|
'TokenGateway',
|
|
4660
4362
|
'AssetRefunded',
|
|
4661
4363
|
{
|
|
@@ -4680,7 +4382,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4680
4382
|
* ERC6160 asset creation request dispatched to hyperbridge
|
|
4681
4383
|
**/
|
|
4682
4384
|
Erc6160AssetRegistrationDispatched: GenericPalletEvent<
|
|
4683
|
-
Rv,
|
|
4684
4385
|
'TokenGateway',
|
|
4685
4386
|
'ERC6160AssetRegistrationDispatched',
|
|
4686
4387
|
{
|
|
@@ -4694,7 +4395,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4694
4395
|
/**
|
|
4695
4396
|
* Generic pallet event
|
|
4696
4397
|
**/
|
|
4697
|
-
[prop: string]: GenericPalletEvent
|
|
4398
|
+
[prop: string]: GenericPalletEvent;
|
|
4399
|
+
};
|
|
4400
|
+
/**
|
|
4401
|
+
* Pallet `IsmpOracle`'s events
|
|
4402
|
+
**/
|
|
4403
|
+
ismpOracle: {
|
|
4404
|
+
GetRequestSent: GenericPalletEvent<'IsmpOracle', 'GetRequestSent', { commitment: H256 }>;
|
|
4405
|
+
PostRequestSent: GenericPalletEvent<'IsmpOracle', 'PostRequestSent', { commitment: H256 }>;
|
|
4406
|
+
GetRequestResponded: GenericPalletEvent<
|
|
4407
|
+
'IsmpOracle',
|
|
4408
|
+
'GetRequestResponded',
|
|
4409
|
+
{ commitment: H256; storageValues: Array<IsmpRouterStorageValue> }
|
|
4410
|
+
>;
|
|
4411
|
+
WstEthPriceReceived: GenericPalletEvent<
|
|
4412
|
+
'IsmpOracle',
|
|
4413
|
+
'WstEthPriceReceived',
|
|
4414
|
+
{ commitment: H256; ethPerWsteth: U256 }
|
|
4415
|
+
>;
|
|
4416
|
+
PostRequestResponded: GenericPalletEvent<'IsmpOracle', 'PostRequestResponded', { commitment: H256 }>;
|
|
4417
|
+
GetRequestTimedOut: GenericPalletEvent<'IsmpOracle', 'GetRequestTimedOut', { commitment: H256 }>;
|
|
4418
|
+
PostResponseTimedOut: GenericPalletEvent<'IsmpOracle', 'PostResponseTimedOut', { commitment: H256 }>;
|
|
4419
|
+
|
|
4420
|
+
/**
|
|
4421
|
+
* Generic pallet event
|
|
4422
|
+
**/
|
|
4423
|
+
[prop: string]: GenericPalletEvent;
|
|
4698
4424
|
};
|
|
4699
4425
|
/**
|
|
4700
4426
|
* Pallet `EmaOracle`'s events
|
|
@@ -4704,7 +4430,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4704
4430
|
* Oracle was added to the whitelist.
|
|
4705
4431
|
**/
|
|
4706
4432
|
AddedToWhitelist: GenericPalletEvent<
|
|
4707
|
-
Rv,
|
|
4708
4433
|
'EmaOracle',
|
|
4709
4434
|
'AddedToWhitelist',
|
|
4710
4435
|
{ source: FixedBytes<8>; assets: [number, number] }
|
|
@@ -4714,7 +4439,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4714
4439
|
* Oracle was removed from the whitelist.
|
|
4715
4440
|
**/
|
|
4716
4441
|
RemovedFromWhitelist: GenericPalletEvent<
|
|
4717
|
-
Rv,
|
|
4718
4442
|
'EmaOracle',
|
|
4719
4443
|
'RemovedFromWhitelist',
|
|
4720
4444
|
{ source: FixedBytes<8>; assets: [number, number] }
|
|
@@ -4723,7 +4447,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4723
4447
|
/**
|
|
4724
4448
|
* Generic pallet event
|
|
4725
4449
|
**/
|
|
4726
|
-
[prop: string]: GenericPalletEvent
|
|
4450
|
+
[prop: string]: GenericPalletEvent;
|
|
4727
4451
|
};
|
|
4728
4452
|
/**
|
|
4729
4453
|
* Pallet `Broadcast`'s events
|
|
@@ -4740,7 +4464,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4740
4464
|
*
|
|
4741
4465
|
**/
|
|
4742
4466
|
Swapped3: GenericPalletEvent<
|
|
4743
|
-
Rv,
|
|
4744
4467
|
'Broadcast',
|
|
4745
4468
|
'Swapped3',
|
|
4746
4469
|
{
|
|
@@ -4758,6 +4481,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4758
4481
|
/**
|
|
4759
4482
|
* Generic pallet event
|
|
4760
4483
|
**/
|
|
4761
|
-
[prop: string]: GenericPalletEvent
|
|
4484
|
+
[prop: string]: GenericPalletEvent;
|
|
4762
4485
|
};
|
|
4763
4486
|
}
|