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