@dedot/chaintypes 0.0.1-next.f5bf4fc2.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/aleph/consts.d.ts +94 -13
- package/aleph/errors.d.ts +251 -182
- package/aleph/events.d.ts +319 -102
- package/aleph/index.d.ts +16 -11
- package/aleph/json-rpc.d.ts +76 -0
- package/aleph/query.d.ts +261 -168
- package/aleph/runtime.d.ts +90 -39
- package/aleph/tx.d.ts +1822 -1052
- package/aleph/types.d.ts +458 -138
- package/astar/consts.d.ts +112 -116
- package/astar/errors.d.ts +342 -409
- package/astar/events.d.ts +449 -358
- package/astar/index.d.ts +16 -11
- package/astar/json-rpc.d.ts +131 -0
- package/astar/query.d.ts +459 -367
- package/astar/runtime.d.ts +591 -98
- package/astar/tx.d.ts +2485 -3430
- package/astar/types.d.ts +1530 -4436
- package/index.d.ts +3 -0
- package/index.ts +3 -0
- package/kusama/consts.d.ts +54 -115
- package/kusama/errors.d.ts +696 -682
- package/kusama/events.d.ts +592 -407
- package/kusama/index.d.ts +16 -11
- package/kusama/json-rpc.d.ts +103 -0
- package/kusama/query.d.ts +840 -538
- package/kusama/runtime.d.ts +136 -65
- package/kusama/tx.d.ts +4557 -3051
- package/kusama/types.d.ts +1437 -1161
- package/kusamaAssetHub/consts.d.ts +66 -20
- package/kusamaAssetHub/errors.d.ts +428 -308
- package/kusamaAssetHub/events.d.ts +497 -305
- package/kusamaAssetHub/index.d.ts +16 -11
- package/kusamaAssetHub/json-rpc.d.ts +89 -0
- package/kusamaAssetHub/query.d.ts +376 -253
- package/kusamaAssetHub/runtime.d.ts +82 -41
- package/kusamaAssetHub/tx.d.ts +3264 -1955
- package/kusamaAssetHub/types.d.ts +1262 -726
- package/moonbeam/consts.d.ts +115 -170
- package/moonbeam/errors.d.ts +564 -787
- package/moonbeam/events.d.ts +583 -746
- package/moonbeam/index.d.ts +16 -11
- package/moonbeam/json-rpc.d.ts +137 -0
- package/moonbeam/query.d.ts +507 -607
- package/moonbeam/runtime.d.ts +132 -47
- package/moonbeam/tx.d.ts +3309 -3268
- package/moonbeam/types.d.ts +1484 -1375
- package/package.json +4 -14
- package/paseo/consts.d.ts +1331 -0
- package/paseo/errors.d.ts +2644 -0
- package/paseo/events.d.ts +2821 -0
- package/paseo/index.d.ts +27 -0
- package/paseo/json-rpc.d.ts +103 -0
- package/paseo/query.d.ts +3709 -0
- package/paseo/runtime.d.ts +1205 -0
- package/paseo/tx.d.ts +8024 -0
- package/paseo/types.d.ts +10194 -0
- package/polkadot/consts.d.ts +95 -50
- package/polkadot/errors.d.ts +619 -468
- package/polkadot/events.d.ts +582 -257
- package/polkadot/index.d.ts +16 -11
- package/polkadot/json-rpc.d.ts +103 -0
- package/polkadot/query.d.ts +770 -399
- package/polkadot/runtime.d.ts +136 -65
- package/polkadot/tx.d.ts +4268 -2368
- package/polkadot/types.d.ts +1570 -745
- package/polkadotAssetHub/consts.d.ts +154 -15
- package/polkadotAssetHub/errors.d.ts +615 -234
- package/polkadotAssetHub/events.d.ts +829 -270
- package/polkadotAssetHub/index.d.ts +16 -11
- package/polkadotAssetHub/json-rpc.d.ts +89 -0
- package/polkadotAssetHub/query.d.ts +438 -243
- package/polkadotAssetHub/runtime.d.ts +147 -40
- package/polkadotAssetHub/tx.d.ts +3747 -1643
- package/polkadotAssetHub/types.d.ts +2096 -806
- package/rococo/consts.d.ts +51 -32
- package/rococo/errors.d.ts +549 -605
- package/rococo/events.d.ts +447 -238
- package/rococo/index.d.ts +16 -11
- package/rococo/json-rpc.d.ts +103 -0
- package/rococo/query.d.ts +724 -426
- package/rococo/runtime.d.ts +366 -144
- package/rococo/tx.d.ts +6850 -3079
- package/rococo/types.d.ts +5959 -1619
- package/rococoAssetHub/consts.d.ts +92 -7
- package/rococoAssetHub/errors.d.ts +381 -285
- package/rococoAssetHub/events.d.ts +461 -140
- package/rococoAssetHub/index.d.ts +16 -11
- package/rococoAssetHub/json-rpc.d.ts +89 -0
- package/rococoAssetHub/query.d.ts +487 -174
- package/rococoAssetHub/runtime.d.ts +235 -51
- package/rococoAssetHub/tx.d.ts +6005 -2163
- package/rococoAssetHub/types.d.ts +6683 -1003
- package/substrate/consts.d.ts +233 -52
- package/substrate/errors.d.ts +966 -781
- package/substrate/events.d.ts +1226 -381
- package/substrate/index.d.ts +16 -11
- package/substrate/json-rpc.d.ts +103 -0
- package/substrate/query.d.ts +1090 -460
- package/substrate/runtime.d.ts +274 -71
- package/substrate/tx.d.ts +12313 -4510
- package/substrate/types.d.ts +11036 -1432
- package/westend/consts.d.ts +1349 -0
- package/westend/errors.d.ts +2736 -0
- package/westend/events.d.ts +2906 -0
- package/westend/index.d.ts +27 -0
- package/westend/json-rpc.d.ts +103 -0
- package/westend/query.d.ts +3855 -0
- package/westend/runtime.d.ts +1437 -0
- package/westend/tx.d.ts +10248 -0
- package/westend/types.d.ts +14769 -0
- package/westendAssetHub/consts.d.ts +126 -7
- package/westendAssetHub/errors.d.ts +426 -285
- package/westendAssetHub/events.d.ts +498 -140
- package/westendAssetHub/index.d.ts +16 -11
- package/westendAssetHub/json-rpc.d.ts +89 -0
- package/westendAssetHub/query.d.ts +526 -174
- package/westendAssetHub/runtime.d.ts +245 -56
- package/westendAssetHub/tx.d.ts +6196 -2166
- package/westendAssetHub/types.d.ts +6913 -1002
- package/westendPeople/consts.d.ts +434 -0
- package/westendPeople/errors.d.ts +769 -0
- package/westendPeople/events.d.ts +1082 -0
- package/westendPeople/index.d.ts +27 -0
- package/westendPeople/json-rpc.d.ts +89 -0
- package/westendPeople/query.d.ts +1209 -0
- package/westendPeople/runtime.d.ts +636 -0
- package/westendPeople/tx.d.ts +2891 -0
- package/westendPeople/types.d.ts +4984 -0
- package/aleph/rpc.d.ts +0 -727
- package/astar/rpc.d.ts +0 -974
- package/kusama/rpc.d.ts +0 -904
- package/kusamaAssetHub/rpc.d.ts +0 -746
- package/moonbeam/rpc.d.ts +0 -1015
- package/packageInfo.d.ts +0 -4
- package/packageInfo.js +0 -2
- package/packageInfo.ts +0 -3
- package/polkadot/rpc.d.ts +0 -904
- package/polkadotAssetHub/rpc.d.ts +0 -746
- package/rococo/rpc.d.ts +0 -904
- package/rococoAssetHub/rpc.d.ts +0 -746
- package/substrate/rpc.d.ts +0 -894
- package/westendAssetHub/rpc.d.ts +0 -746
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
// Generated by
|
|
1
|
+
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainEvents, GenericPalletEvent } from '
|
|
4
|
-
import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes, Permill } from '
|
|
3
|
+
import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes, Permill } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
SpWeightsWeightV2Weight,
|
|
7
7
|
FrameSupportTokensMiscBalanceStatus,
|
|
8
8
|
StagingXcmV3MultilocationMultiLocation,
|
|
9
|
+
StagingXcmV4TraitsOutcome,
|
|
10
|
+
StagingXcmV4Location,
|
|
11
|
+
StagingXcmV4Xcm,
|
|
12
|
+
StagingXcmV4Response,
|
|
13
|
+
XcmVersionedAssets,
|
|
14
|
+
StagingXcmV4AssetAssets,
|
|
9
15
|
XcmV3TraitsError,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
XcmV3Response,
|
|
14
|
-
XcmVersionedMultiAssets,
|
|
15
|
-
XcmV3MultiassetMultiAssets,
|
|
16
|
-
XcmVersionedMultiLocation,
|
|
16
|
+
XcmVersionedLocation,
|
|
17
|
+
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
18
|
+
FrameSupportMessagesProcessMessageError,
|
|
17
19
|
PalletMultisigTimepoint,
|
|
18
20
|
AssetHubKusamaRuntimeProxyType,
|
|
19
21
|
PalletNftsAttributeNamespace,
|
|
@@ -21,7 +23,7 @@ import type {
|
|
|
21
23
|
PalletNftsPalletAttributes,
|
|
22
24
|
} from './types';
|
|
23
25
|
|
|
24
|
-
export interface ChainEvents extends GenericChainEvents {
|
|
26
|
+
export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
|
|
25
27
|
/**
|
|
26
28
|
* Pallet `System`'s events
|
|
27
29
|
**/
|
|
@@ -29,12 +31,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
29
31
|
/**
|
|
30
32
|
* An extrinsic completed successfully.
|
|
31
33
|
**/
|
|
32
|
-
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
|
|
34
|
+
ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
|
|
33
35
|
|
|
34
36
|
/**
|
|
35
37
|
* An extrinsic failed.
|
|
36
38
|
**/
|
|
37
39
|
ExtrinsicFailed: GenericPalletEvent<
|
|
40
|
+
Rv,
|
|
38
41
|
'System',
|
|
39
42
|
'ExtrinsicFailed',
|
|
40
43
|
{ dispatchError: DispatchError; dispatchInfo: DispatchInfo }
|
|
@@ -43,27 +46,32 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
43
46
|
/**
|
|
44
47
|
* `:code` was updated.
|
|
45
48
|
**/
|
|
46
|
-
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
49
|
+
CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
|
|
47
50
|
|
|
48
51
|
/**
|
|
49
52
|
* A new account was created.
|
|
50
53
|
**/
|
|
51
|
-
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
54
|
+
NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
|
|
52
55
|
|
|
53
56
|
/**
|
|
54
57
|
* An account was reaped.
|
|
55
58
|
**/
|
|
56
|
-
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
59
|
+
KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
|
|
57
60
|
|
|
58
61
|
/**
|
|
59
62
|
* On on-chain remark happened.
|
|
60
63
|
**/
|
|
61
|
-
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
64
|
+
Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* An upgrade was authorized.
|
|
68
|
+
**/
|
|
69
|
+
UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
62
70
|
|
|
63
71
|
/**
|
|
64
72
|
* Generic pallet event
|
|
65
73
|
**/
|
|
66
|
-
[prop: string]: GenericPalletEvent
|
|
74
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
67
75
|
};
|
|
68
76
|
/**
|
|
69
77
|
* Pallet `ParachainSystem`'s events
|
|
@@ -72,12 +80,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
72
80
|
/**
|
|
73
81
|
* The validation function has been scheduled to apply.
|
|
74
82
|
**/
|
|
75
|
-
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
83
|
+
ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
76
84
|
|
|
77
85
|
/**
|
|
78
86
|
* The validation function was applied as of the contained relay chain block number.
|
|
79
87
|
**/
|
|
80
88
|
ValidationFunctionApplied: GenericPalletEvent<
|
|
89
|
+
Rv,
|
|
81
90
|
'ParachainSystem',
|
|
82
91
|
'ValidationFunctionApplied',
|
|
83
92
|
{ relayChainBlockNum: number }
|
|
@@ -86,22 +95,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
86
95
|
/**
|
|
87
96
|
* The relay-chain aborted the upgrade process.
|
|
88
97
|
**/
|
|
89
|
-
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* An upgrade has been authorized.
|
|
93
|
-
**/
|
|
94
|
-
UpgradeAuthorized: GenericPalletEvent<'ParachainSystem', 'UpgradeAuthorized', { codeHash: H256 }>;
|
|
98
|
+
ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
95
99
|
|
|
96
100
|
/**
|
|
97
101
|
* Some downward messages have been received and will be processed.
|
|
98
102
|
**/
|
|
99
|
-
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
103
|
+
DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
100
104
|
|
|
101
105
|
/**
|
|
102
106
|
* Downward messages were processed using the given weight.
|
|
103
107
|
**/
|
|
104
108
|
DownwardMessagesProcessed: GenericPalletEvent<
|
|
109
|
+
Rv,
|
|
105
110
|
'ParachainSystem',
|
|
106
111
|
'DownwardMessagesProcessed',
|
|
107
112
|
{ weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
|
|
@@ -111,6 +116,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
111
116
|
* An upward message was sent to the relay chain.
|
|
112
117
|
**/
|
|
113
118
|
UpwardMessageSent: GenericPalletEvent<
|
|
119
|
+
Rv,
|
|
114
120
|
'ParachainSystem',
|
|
115
121
|
'UpwardMessageSent',
|
|
116
122
|
{ messageHash?: FixedBytes<32> | undefined }
|
|
@@ -119,7 +125,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
119
125
|
/**
|
|
120
126
|
* Generic pallet event
|
|
121
127
|
**/
|
|
122
|
-
[prop: string]: GenericPalletEvent
|
|
128
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
123
129
|
};
|
|
124
130
|
/**
|
|
125
131
|
* Pallet `Balances`'s events
|
|
@@ -128,39 +134,40 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
128
134
|
/**
|
|
129
135
|
* An account was created with some free balance.
|
|
130
136
|
**/
|
|
131
|
-
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
137
|
+
Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
132
138
|
|
|
133
139
|
/**
|
|
134
140
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
135
141
|
* resulting in an outright loss.
|
|
136
142
|
**/
|
|
137
|
-
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
143
|
+
DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
138
144
|
|
|
139
145
|
/**
|
|
140
146
|
* Transfer succeeded.
|
|
141
147
|
**/
|
|
142
|
-
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
148
|
+
Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
143
149
|
|
|
144
150
|
/**
|
|
145
151
|
* A balance was set by root.
|
|
146
152
|
**/
|
|
147
|
-
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
153
|
+
BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
148
154
|
|
|
149
155
|
/**
|
|
150
156
|
* Some balance was reserved (moved from free to reserved).
|
|
151
157
|
**/
|
|
152
|
-
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
158
|
+
Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
153
159
|
|
|
154
160
|
/**
|
|
155
161
|
* Some balance was unreserved (moved from reserved to free).
|
|
156
162
|
**/
|
|
157
|
-
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
163
|
+
Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
158
164
|
|
|
159
165
|
/**
|
|
160
166
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
161
167
|
* Final argument indicates the destination balance type.
|
|
162
168
|
**/
|
|
163
169
|
ReserveRepatriated: GenericPalletEvent<
|
|
170
|
+
Rv,
|
|
164
171
|
'Balances',
|
|
165
172
|
'ReserveRepatriated',
|
|
166
173
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -169,77 +176,82 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
169
176
|
/**
|
|
170
177
|
* Some amount was deposited (e.g. for transaction fees).
|
|
171
178
|
**/
|
|
172
|
-
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
179
|
+
Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
173
180
|
|
|
174
181
|
/**
|
|
175
182
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
176
183
|
**/
|
|
177
|
-
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
184
|
+
Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
178
185
|
|
|
179
186
|
/**
|
|
180
187
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
181
188
|
**/
|
|
182
|
-
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
189
|
+
Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
183
190
|
|
|
184
191
|
/**
|
|
185
192
|
* Some amount was minted into an account.
|
|
186
193
|
**/
|
|
187
|
-
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
194
|
+
Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
188
195
|
|
|
189
196
|
/**
|
|
190
197
|
* Some amount was burned from an account.
|
|
191
198
|
**/
|
|
192
|
-
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
199
|
+
Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
193
200
|
|
|
194
201
|
/**
|
|
195
202
|
* Some amount was suspended from an account (it can be restored later).
|
|
196
203
|
**/
|
|
197
|
-
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
204
|
+
Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
198
205
|
|
|
199
206
|
/**
|
|
200
207
|
* Some amount was restored into an account.
|
|
201
208
|
**/
|
|
202
|
-
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
209
|
+
Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
203
210
|
|
|
204
211
|
/**
|
|
205
212
|
* An account was upgraded.
|
|
206
213
|
**/
|
|
207
|
-
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
214
|
+
Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
208
215
|
|
|
209
216
|
/**
|
|
210
217
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
211
218
|
**/
|
|
212
|
-
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
219
|
+
Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
|
|
213
220
|
|
|
214
221
|
/**
|
|
215
222
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
216
223
|
**/
|
|
217
|
-
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
224
|
+
Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
|
|
218
225
|
|
|
219
226
|
/**
|
|
220
227
|
* Some balance was locked.
|
|
221
228
|
**/
|
|
222
|
-
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
229
|
+
Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
223
230
|
|
|
224
231
|
/**
|
|
225
232
|
* Some balance was unlocked.
|
|
226
233
|
**/
|
|
227
|
-
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
234
|
+
Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
228
235
|
|
|
229
236
|
/**
|
|
230
237
|
* Some balance was frozen.
|
|
231
238
|
**/
|
|
232
|
-
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
239
|
+
Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
233
240
|
|
|
234
241
|
/**
|
|
235
242
|
* Some balance was thawed.
|
|
236
243
|
**/
|
|
237
|
-
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
244
|
+
Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* The `TotalIssuance` was forcefully changed.
|
|
248
|
+
**/
|
|
249
|
+
TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
238
250
|
|
|
239
251
|
/**
|
|
240
252
|
* Generic pallet event
|
|
241
253
|
**/
|
|
242
|
-
[prop: string]: GenericPalletEvent
|
|
254
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
243
255
|
};
|
|
244
256
|
/**
|
|
245
257
|
* Pallet `TransactionPayment`'s events
|
|
@@ -250,6 +262,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
250
262
|
* has been paid by `who`.
|
|
251
263
|
**/
|
|
252
264
|
TransactionFeePaid: GenericPalletEvent<
|
|
265
|
+
Rv,
|
|
253
266
|
'TransactionPayment',
|
|
254
267
|
'TransactionFeePaid',
|
|
255
268
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -258,7 +271,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
258
271
|
/**
|
|
259
272
|
* Generic pallet event
|
|
260
273
|
**/
|
|
261
|
-
[prop: string]: GenericPalletEvent
|
|
274
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
262
275
|
};
|
|
263
276
|
/**
|
|
264
277
|
* Pallet `AssetTxPayment`'s events
|
|
@@ -269,6 +282,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
269
282
|
* has been paid by `who` in an asset `asset_id`.
|
|
270
283
|
**/
|
|
271
284
|
AssetTxFeePaid: GenericPalletEvent<
|
|
285
|
+
Rv,
|
|
272
286
|
'AssetTxPayment',
|
|
273
287
|
'AssetTxFeePaid',
|
|
274
288
|
{ who: AccountId32; actualFee: bigint; tip: bigint; assetId: StagingXcmV3MultilocationMultiLocation }
|
|
@@ -277,12 +291,32 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
277
291
|
/**
|
|
278
292
|
* A swap of the refund in native currency back to asset failed.
|
|
279
293
|
**/
|
|
280
|
-
AssetRefundFailed: GenericPalletEvent<'AssetTxPayment', 'AssetRefundFailed', { nativeAmountKept: bigint }>;
|
|
294
|
+
AssetRefundFailed: GenericPalletEvent<Rv, 'AssetTxPayment', 'AssetRefundFailed', { nativeAmountKept: bigint }>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Generic pallet event
|
|
298
|
+
**/
|
|
299
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* Pallet `Vesting`'s events
|
|
303
|
+
**/
|
|
304
|
+
vesting: {
|
|
305
|
+
/**
|
|
306
|
+
* The amount vested has been updated. This could indicate a change in funds available.
|
|
307
|
+
* The balance given is the amount which is left unvested (and thus locked).
|
|
308
|
+
**/
|
|
309
|
+
VestingUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* An \[account\] has become fully vested.
|
|
313
|
+
**/
|
|
314
|
+
VestingCompleted: GenericPalletEvent<Rv, 'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
281
315
|
|
|
282
316
|
/**
|
|
283
317
|
* Generic pallet event
|
|
284
318
|
**/
|
|
285
|
-
[prop: string]: GenericPalletEvent
|
|
319
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
286
320
|
};
|
|
287
321
|
/**
|
|
288
322
|
* Pallet `CollatorSelection`'s events
|
|
@@ -292,6 +326,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
292
326
|
* New Invulnerables were set.
|
|
293
327
|
**/
|
|
294
328
|
NewInvulnerables: GenericPalletEvent<
|
|
329
|
+
Rv,
|
|
295
330
|
'CollatorSelection',
|
|
296
331
|
'NewInvulnerables',
|
|
297
332
|
{ invulnerables: Array<AccountId32> }
|
|
@@ -300,17 +335,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
300
335
|
/**
|
|
301
336
|
* A new Invulnerable was added.
|
|
302
337
|
**/
|
|
303
|
-
InvulnerableAdded: GenericPalletEvent<'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
|
|
338
|
+
InvulnerableAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
|
|
304
339
|
|
|
305
340
|
/**
|
|
306
341
|
* An Invulnerable was removed.
|
|
307
342
|
**/
|
|
308
|
-
InvulnerableRemoved: GenericPalletEvent<'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
|
|
343
|
+
InvulnerableRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
|
|
309
344
|
|
|
310
345
|
/**
|
|
311
346
|
* The number of desired candidates was set.
|
|
312
347
|
**/
|
|
313
348
|
NewDesiredCandidates: GenericPalletEvent<
|
|
349
|
+
Rv,
|
|
314
350
|
'CollatorSelection',
|
|
315
351
|
'NewDesiredCandidates',
|
|
316
352
|
{ desiredCandidates: number }
|
|
@@ -319,27 +355,49 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
319
355
|
/**
|
|
320
356
|
* The candidacy bond was set.
|
|
321
357
|
**/
|
|
322
|
-
NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
|
|
358
|
+
NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
|
|
323
359
|
|
|
324
360
|
/**
|
|
325
361
|
* A new candidate joined.
|
|
326
362
|
**/
|
|
327
363
|
CandidateAdded: GenericPalletEvent<
|
|
364
|
+
Rv,
|
|
328
365
|
'CollatorSelection',
|
|
329
366
|
'CandidateAdded',
|
|
330
367
|
{ accountId: AccountId32; deposit: bigint }
|
|
331
368
|
>;
|
|
332
369
|
|
|
370
|
+
/**
|
|
371
|
+
* Bond of a candidate updated.
|
|
372
|
+
**/
|
|
373
|
+
CandidateBondUpdated: GenericPalletEvent<
|
|
374
|
+
Rv,
|
|
375
|
+
'CollatorSelection',
|
|
376
|
+
'CandidateBondUpdated',
|
|
377
|
+
{ accountId: AccountId32; deposit: bigint }
|
|
378
|
+
>;
|
|
379
|
+
|
|
333
380
|
/**
|
|
334
381
|
* A candidate was removed.
|
|
335
382
|
**/
|
|
336
|
-
CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
|
|
383
|
+
CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* An account was replaced in the candidate list by another one.
|
|
387
|
+
**/
|
|
388
|
+
CandidateReplaced: GenericPalletEvent<
|
|
389
|
+
Rv,
|
|
390
|
+
'CollatorSelection',
|
|
391
|
+
'CandidateReplaced',
|
|
392
|
+
{ old: AccountId32; new: AccountId32; deposit: bigint }
|
|
393
|
+
>;
|
|
337
394
|
|
|
338
395
|
/**
|
|
339
396
|
* An account was unable to be added to the Invulnerables because they did not have keys
|
|
340
397
|
* registered. Other Invulnerables may have been set.
|
|
341
398
|
**/
|
|
342
399
|
InvalidInvulnerableSkipped: GenericPalletEvent<
|
|
400
|
+
Rv,
|
|
343
401
|
'CollatorSelection',
|
|
344
402
|
'InvalidInvulnerableSkipped',
|
|
345
403
|
{ accountId: AccountId32 }
|
|
@@ -348,7 +406,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
348
406
|
/**
|
|
349
407
|
* Generic pallet event
|
|
350
408
|
**/
|
|
351
|
-
[prop: string]: GenericPalletEvent
|
|
409
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
352
410
|
};
|
|
353
411
|
/**
|
|
354
412
|
* Pallet `Session`'s events
|
|
@@ -358,82 +416,26 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
358
416
|
* New session has happened. Note that the argument is the session index, not the
|
|
359
417
|
* block number as the type might suggest.
|
|
360
418
|
**/
|
|
361
|
-
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
419
|
+
NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
|
|
362
420
|
|
|
363
421
|
/**
|
|
364
422
|
* Generic pallet event
|
|
365
423
|
**/
|
|
366
|
-
[prop: string]: GenericPalletEvent
|
|
424
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
367
425
|
};
|
|
368
426
|
/**
|
|
369
427
|
* Pallet `XcmpQueue`'s events
|
|
370
428
|
**/
|
|
371
429
|
xcmpQueue: {
|
|
372
|
-
/**
|
|
373
|
-
* Some XCM was executed ok.
|
|
374
|
-
**/
|
|
375
|
-
Success: GenericPalletEvent<
|
|
376
|
-
'XcmpQueue',
|
|
377
|
-
'Success',
|
|
378
|
-
{ messageHash: FixedBytes<32>; messageId: FixedBytes<32>; weight: SpWeightsWeightV2Weight }
|
|
379
|
-
>;
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* Some XCM failed.
|
|
383
|
-
**/
|
|
384
|
-
Fail: GenericPalletEvent<
|
|
385
|
-
'XcmpQueue',
|
|
386
|
-
'Fail',
|
|
387
|
-
{
|
|
388
|
-
messageHash: FixedBytes<32>;
|
|
389
|
-
messageId: FixedBytes<32>;
|
|
390
|
-
error: XcmV3TraitsError;
|
|
391
|
-
weight: SpWeightsWeightV2Weight;
|
|
392
|
-
}
|
|
393
|
-
>;
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* Bad XCM version used.
|
|
397
|
-
**/
|
|
398
|
-
BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', { messageHash: FixedBytes<32> }>;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Bad XCM format used.
|
|
402
|
-
**/
|
|
403
|
-
BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', { messageHash: FixedBytes<32> }>;
|
|
404
|
-
|
|
405
430
|
/**
|
|
406
431
|
* An HRMP message was sent to a sibling parachain.
|
|
407
432
|
**/
|
|
408
|
-
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* An XCM exceeded the individual message weight budget.
|
|
412
|
-
**/
|
|
413
|
-
OverweightEnqueued: GenericPalletEvent<
|
|
414
|
-
'XcmpQueue',
|
|
415
|
-
'OverweightEnqueued',
|
|
416
|
-
{
|
|
417
|
-
sender: PolkadotParachainPrimitivesPrimitivesId;
|
|
418
|
-
sentAt: number;
|
|
419
|
-
index: bigint;
|
|
420
|
-
required: SpWeightsWeightV2Weight;
|
|
421
|
-
}
|
|
422
|
-
>;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* An XCM from the overweight queue was executed with the given actual weight used.
|
|
426
|
-
**/
|
|
427
|
-
OverweightServiced: GenericPalletEvent<
|
|
428
|
-
'XcmpQueue',
|
|
429
|
-
'OverweightServiced',
|
|
430
|
-
{ index: bigint; used: SpWeightsWeightV2Weight }
|
|
431
|
-
>;
|
|
433
|
+
XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
432
434
|
|
|
433
435
|
/**
|
|
434
436
|
* Generic pallet event
|
|
435
437
|
**/
|
|
436
|
-
[prop: string]: GenericPalletEvent
|
|
438
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
437
439
|
};
|
|
438
440
|
/**
|
|
439
441
|
* Pallet `PolkadotXcm`'s events
|
|
@@ -442,18 +444,19 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
442
444
|
/**
|
|
443
445
|
* Execution of an XCM message was attempted.
|
|
444
446
|
**/
|
|
445
|
-
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome:
|
|
447
|
+
Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
|
|
446
448
|
|
|
447
449
|
/**
|
|
448
450
|
* A XCM message was sent.
|
|
449
451
|
**/
|
|
450
452
|
Sent: GenericPalletEvent<
|
|
453
|
+
Rv,
|
|
451
454
|
'PolkadotXcm',
|
|
452
455
|
'Sent',
|
|
453
456
|
{
|
|
454
|
-
origin:
|
|
455
|
-
destination:
|
|
456
|
-
message:
|
|
457
|
+
origin: StagingXcmV4Location;
|
|
458
|
+
destination: StagingXcmV4Location;
|
|
459
|
+
message: StagingXcmV4Xcm;
|
|
457
460
|
messageId: FixedBytes<32>;
|
|
458
461
|
}
|
|
459
462
|
>;
|
|
@@ -464,22 +467,29 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
464
467
|
* because the query timed out.
|
|
465
468
|
**/
|
|
466
469
|
UnexpectedResponse: GenericPalletEvent<
|
|
470
|
+
Rv,
|
|
467
471
|
'PolkadotXcm',
|
|
468
472
|
'UnexpectedResponse',
|
|
469
|
-
{ origin:
|
|
473
|
+
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
470
474
|
>;
|
|
471
475
|
|
|
472
476
|
/**
|
|
473
477
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
474
478
|
* no registered notification call.
|
|
475
479
|
**/
|
|
476
|
-
ResponseReady: GenericPalletEvent<
|
|
480
|
+
ResponseReady: GenericPalletEvent<
|
|
481
|
+
Rv,
|
|
482
|
+
'PolkadotXcm',
|
|
483
|
+
'ResponseReady',
|
|
484
|
+
{ queryId: bigint; response: StagingXcmV4Response }
|
|
485
|
+
>;
|
|
477
486
|
|
|
478
487
|
/**
|
|
479
488
|
* Query response has been received and query is removed. The registered notification has
|
|
480
489
|
* been dispatched and executed successfully.
|
|
481
490
|
**/
|
|
482
491
|
Notified: GenericPalletEvent<
|
|
492
|
+
Rv,
|
|
483
493
|
'PolkadotXcm',
|
|
484
494
|
'Notified',
|
|
485
495
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -491,6 +501,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
491
501
|
* originally budgeted by this runtime for the query result.
|
|
492
502
|
**/
|
|
493
503
|
NotifyOverweight: GenericPalletEvent<
|
|
504
|
+
Rv,
|
|
494
505
|
'PolkadotXcm',
|
|
495
506
|
'NotifyOverweight',
|
|
496
507
|
{
|
|
@@ -507,6 +518,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
507
518
|
* dispatching the notification call.
|
|
508
519
|
**/
|
|
509
520
|
NotifyDispatchError: GenericPalletEvent<
|
|
521
|
+
Rv,
|
|
510
522
|
'PolkadotXcm',
|
|
511
523
|
'NotifyDispatchError',
|
|
512
524
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -518,6 +530,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
518
530
|
* is not `(origin, QueryId, Response)`.
|
|
519
531
|
**/
|
|
520
532
|
NotifyDecodeFailed: GenericPalletEvent<
|
|
533
|
+
Rv,
|
|
521
534
|
'PolkadotXcm',
|
|
522
535
|
'NotifyDecodeFailed',
|
|
523
536
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -529,13 +542,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
529
542
|
* be received and acted upon.
|
|
530
543
|
**/
|
|
531
544
|
InvalidResponder: GenericPalletEvent<
|
|
545
|
+
Rv,
|
|
532
546
|
'PolkadotXcm',
|
|
533
547
|
'InvalidResponder',
|
|
534
|
-
{
|
|
535
|
-
origin: StagingXcmV3MultilocationMultiLocation;
|
|
536
|
-
queryId: bigint;
|
|
537
|
-
expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
538
|
-
}
|
|
548
|
+
{ origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
|
|
539
549
|
>;
|
|
540
550
|
|
|
541
551
|
/**
|
|
@@ -548,23 +558,25 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
548
558
|
* needed.
|
|
549
559
|
**/
|
|
550
560
|
InvalidResponderVersion: GenericPalletEvent<
|
|
561
|
+
Rv,
|
|
551
562
|
'PolkadotXcm',
|
|
552
563
|
'InvalidResponderVersion',
|
|
553
|
-
{ origin:
|
|
564
|
+
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
554
565
|
>;
|
|
555
566
|
|
|
556
567
|
/**
|
|
557
568
|
* Received query response has been read and removed.
|
|
558
569
|
**/
|
|
559
|
-
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
|
|
570
|
+
ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
|
|
560
571
|
|
|
561
572
|
/**
|
|
562
573
|
* Some assets have been placed in an asset trap.
|
|
563
574
|
**/
|
|
564
575
|
AssetsTrapped: GenericPalletEvent<
|
|
576
|
+
Rv,
|
|
565
577
|
'PolkadotXcm',
|
|
566
578
|
'AssetsTrapped',
|
|
567
|
-
{ hash: H256; origin:
|
|
579
|
+
{ hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
|
|
568
580
|
>;
|
|
569
581
|
|
|
570
582
|
/**
|
|
@@ -573,14 +585,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
573
585
|
* The cost of sending it (borne by the chain) is included.
|
|
574
586
|
**/
|
|
575
587
|
VersionChangeNotified: GenericPalletEvent<
|
|
588
|
+
Rv,
|
|
576
589
|
'PolkadotXcm',
|
|
577
590
|
'VersionChangeNotified',
|
|
578
|
-
{
|
|
579
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
580
|
-
result: number;
|
|
581
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
582
|
-
messageId: FixedBytes<32>;
|
|
583
|
-
}
|
|
591
|
+
{ destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
584
592
|
>;
|
|
585
593
|
|
|
586
594
|
/**
|
|
@@ -588,9 +596,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
588
596
|
* automatic notification or a manual intervention.
|
|
589
597
|
**/
|
|
590
598
|
SupportedVersionChanged: GenericPalletEvent<
|
|
599
|
+
Rv,
|
|
591
600
|
'PolkadotXcm',
|
|
592
601
|
'SupportedVersionChanged',
|
|
593
|
-
{ location:
|
|
602
|
+
{ location: StagingXcmV4Location; version: number }
|
|
594
603
|
>;
|
|
595
604
|
|
|
596
605
|
/**
|
|
@@ -598,9 +607,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
598
607
|
* sending the notification to it.
|
|
599
608
|
**/
|
|
600
609
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
610
|
+
Rv,
|
|
601
611
|
'PolkadotXcm',
|
|
602
612
|
'NotifyTargetSendFail',
|
|
603
|
-
{ location:
|
|
613
|
+
{ location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
|
|
604
614
|
>;
|
|
605
615
|
|
|
606
616
|
/**
|
|
@@ -608,9 +618,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
608
618
|
* migrating the location to our new XCM format.
|
|
609
619
|
**/
|
|
610
620
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
621
|
+
Rv,
|
|
611
622
|
'PolkadotXcm',
|
|
612
623
|
'NotifyTargetMigrationFail',
|
|
613
|
-
{ location:
|
|
624
|
+
{ location: XcmVersionedLocation; queryId: bigint }
|
|
614
625
|
>;
|
|
615
626
|
|
|
616
627
|
/**
|
|
@@ -623,9 +634,10 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
623
634
|
* needed.
|
|
624
635
|
**/
|
|
625
636
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
637
|
+
Rv,
|
|
626
638
|
'PolkadotXcm',
|
|
627
639
|
'InvalidQuerierVersion',
|
|
628
|
-
{ origin:
|
|
640
|
+
{ origin: StagingXcmV4Location; queryId: bigint }
|
|
629
641
|
>;
|
|
630
642
|
|
|
631
643
|
/**
|
|
@@ -634,13 +646,14 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
634
646
|
* be received and acted upon.
|
|
635
647
|
**/
|
|
636
648
|
InvalidQuerier: GenericPalletEvent<
|
|
649
|
+
Rv,
|
|
637
650
|
'PolkadotXcm',
|
|
638
651
|
'InvalidQuerier',
|
|
639
652
|
{
|
|
640
|
-
origin:
|
|
653
|
+
origin: StagingXcmV4Location;
|
|
641
654
|
queryId: bigint;
|
|
642
|
-
expectedQuerier:
|
|
643
|
-
maybeActualQuerier?:
|
|
655
|
+
expectedQuerier: StagingXcmV4Location;
|
|
656
|
+
maybeActualQuerier?: StagingXcmV4Location | undefined;
|
|
644
657
|
}
|
|
645
658
|
>;
|
|
646
659
|
|
|
@@ -649,26 +662,20 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
649
662
|
* A version information message is sent to them and its cost is included.
|
|
650
663
|
**/
|
|
651
664
|
VersionNotifyStarted: GenericPalletEvent<
|
|
665
|
+
Rv,
|
|
652
666
|
'PolkadotXcm',
|
|
653
667
|
'VersionNotifyStarted',
|
|
654
|
-
{
|
|
655
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
656
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
657
|
-
messageId: FixedBytes<32>;
|
|
658
|
-
}
|
|
668
|
+
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
659
669
|
>;
|
|
660
670
|
|
|
661
671
|
/**
|
|
662
672
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
663
673
|
**/
|
|
664
674
|
VersionNotifyRequested: GenericPalletEvent<
|
|
675
|
+
Rv,
|
|
665
676
|
'PolkadotXcm',
|
|
666
677
|
'VersionNotifyRequested',
|
|
667
|
-
{
|
|
668
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
669
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
670
|
-
messageId: FixedBytes<32>;
|
|
671
|
-
}
|
|
678
|
+
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
672
679
|
>;
|
|
673
680
|
|
|
674
681
|
/**
|
|
@@ -676,37 +683,41 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
676
683
|
* notifications.
|
|
677
684
|
**/
|
|
678
685
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
686
|
+
Rv,
|
|
679
687
|
'PolkadotXcm',
|
|
680
688
|
'VersionNotifyUnrequested',
|
|
681
|
-
{
|
|
682
|
-
destination: StagingXcmV3MultilocationMultiLocation;
|
|
683
|
-
cost: XcmV3MultiassetMultiAssets;
|
|
684
|
-
messageId: FixedBytes<32>;
|
|
685
|
-
}
|
|
689
|
+
{ destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
|
|
686
690
|
>;
|
|
687
691
|
|
|
688
692
|
/**
|
|
689
693
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
690
694
|
**/
|
|
691
695
|
FeesPaid: GenericPalletEvent<
|
|
696
|
+
Rv,
|
|
692
697
|
'PolkadotXcm',
|
|
693
698
|
'FeesPaid',
|
|
694
|
-
{ paying:
|
|
699
|
+
{ paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
|
|
695
700
|
>;
|
|
696
701
|
|
|
697
702
|
/**
|
|
698
703
|
* Some assets have been claimed from an asset trap
|
|
699
704
|
**/
|
|
700
705
|
AssetsClaimed: GenericPalletEvent<
|
|
706
|
+
Rv,
|
|
701
707
|
'PolkadotXcm',
|
|
702
708
|
'AssetsClaimed',
|
|
703
|
-
{ hash: H256; origin:
|
|
709
|
+
{ hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
|
|
704
710
|
>;
|
|
705
711
|
|
|
712
|
+
/**
|
|
713
|
+
* A XCM version migration finished.
|
|
714
|
+
**/
|
|
715
|
+
VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
716
|
+
|
|
706
717
|
/**
|
|
707
718
|
* Generic pallet event
|
|
708
719
|
**/
|
|
709
|
-
[prop: string]: GenericPalletEvent
|
|
720
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
710
721
|
};
|
|
711
722
|
/**
|
|
712
723
|
* Pallet `CumulusXcm`'s events
|
|
@@ -716,94 +727,151 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
716
727
|
* Downward message is invalid XCM.
|
|
717
728
|
* \[ id \]
|
|
718
729
|
**/
|
|
719
|
-
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
730
|
+
InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
720
731
|
|
|
721
732
|
/**
|
|
722
733
|
* Downward message is unsupported version of XCM.
|
|
723
734
|
* \[ id \]
|
|
724
735
|
**/
|
|
725
|
-
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
736
|
+
UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
726
737
|
|
|
727
738
|
/**
|
|
728
739
|
* Downward message executed with the given outcome.
|
|
729
740
|
* \[ id, outcome \]
|
|
730
741
|
**/
|
|
731
|
-
ExecutedDownward: GenericPalletEvent<
|
|
742
|
+
ExecutedDownward: GenericPalletEvent<
|
|
743
|
+
Rv,
|
|
744
|
+
'CumulusXcm',
|
|
745
|
+
'ExecutedDownward',
|
|
746
|
+
[FixedBytes<32>, StagingXcmV4TraitsOutcome]
|
|
747
|
+
>;
|
|
732
748
|
|
|
733
749
|
/**
|
|
734
750
|
* Generic pallet event
|
|
735
751
|
**/
|
|
736
|
-
[prop: string]: GenericPalletEvent
|
|
752
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
737
753
|
};
|
|
738
754
|
/**
|
|
739
|
-
* Pallet `
|
|
755
|
+
* Pallet `MessageQueue`'s events
|
|
740
756
|
**/
|
|
741
|
-
|
|
757
|
+
messageQueue: {
|
|
742
758
|
/**
|
|
743
|
-
*
|
|
759
|
+
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
744
760
|
**/
|
|
745
|
-
|
|
761
|
+
ProcessingFailed: GenericPalletEvent<
|
|
762
|
+
Rv,
|
|
763
|
+
'MessageQueue',
|
|
764
|
+
'ProcessingFailed',
|
|
765
|
+
{
|
|
766
|
+
/**
|
|
767
|
+
* The `blake2_256` hash of the message.
|
|
768
|
+
**/
|
|
769
|
+
id: H256;
|
|
746
770
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
771
|
+
/**
|
|
772
|
+
* The queue of the message.
|
|
773
|
+
**/
|
|
774
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
751
775
|
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
776
|
+
/**
|
|
777
|
+
* The error that occurred.
|
|
778
|
+
*
|
|
779
|
+
* This error is pretty opaque. More fine-grained errors need to be emitted as events
|
|
780
|
+
* by the `MessageProcessor`.
|
|
781
|
+
**/
|
|
782
|
+
error: FrameSupportMessagesProcessMessageError;
|
|
783
|
+
}
|
|
759
784
|
>;
|
|
760
785
|
|
|
761
786
|
/**
|
|
762
|
-
*
|
|
787
|
+
* Message is processed.
|
|
763
788
|
**/
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
'
|
|
789
|
+
Processed: GenericPalletEvent<
|
|
790
|
+
Rv,
|
|
791
|
+
'MessageQueue',
|
|
792
|
+
'Processed',
|
|
767
793
|
{
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
794
|
+
/**
|
|
795
|
+
* The `blake2_256` hash of the message.
|
|
796
|
+
**/
|
|
797
|
+
id: H256;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* The queue of the message.
|
|
801
|
+
**/
|
|
802
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* How much weight was used to process the message.
|
|
806
|
+
**/
|
|
807
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Whether the message was processed.
|
|
811
|
+
*
|
|
812
|
+
* Note that this does not mean that the underlying `MessageProcessor` was internally
|
|
813
|
+
* successful. It *solely* means that the MQ pallet will treat this as a success
|
|
814
|
+
* condition and discard the message. Any internal error needs to be emitted as events
|
|
815
|
+
* by the `MessageProcessor`.
|
|
816
|
+
**/
|
|
817
|
+
success: boolean;
|
|
772
818
|
}
|
|
773
819
|
>;
|
|
774
820
|
|
|
775
821
|
/**
|
|
776
|
-
*
|
|
822
|
+
* Message placed in overweight queue.
|
|
777
823
|
**/
|
|
778
824
|
OverweightEnqueued: GenericPalletEvent<
|
|
779
|
-
|
|
825
|
+
Rv,
|
|
826
|
+
'MessageQueue',
|
|
780
827
|
'OverweightEnqueued',
|
|
781
828
|
{
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
829
|
+
/**
|
|
830
|
+
* The `blake2_256` hash of the message.
|
|
831
|
+
**/
|
|
832
|
+
id: FixedBytes<32>;
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* The queue of the message.
|
|
836
|
+
**/
|
|
837
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* The page of the message.
|
|
841
|
+
**/
|
|
842
|
+
pageIndex: number;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* The index of the message within the page.
|
|
846
|
+
**/
|
|
847
|
+
messageIndex: number;
|
|
786
848
|
}
|
|
787
849
|
>;
|
|
788
850
|
|
|
789
851
|
/**
|
|
790
|
-
*
|
|
852
|
+
* This page was reaped.
|
|
791
853
|
**/
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
'
|
|
795
|
-
|
|
796
|
-
|
|
854
|
+
PageReaped: GenericPalletEvent<
|
|
855
|
+
Rv,
|
|
856
|
+
'MessageQueue',
|
|
857
|
+
'PageReaped',
|
|
858
|
+
{
|
|
859
|
+
/**
|
|
860
|
+
* The queue of the page.
|
|
861
|
+
**/
|
|
862
|
+
origin: CumulusPrimitivesCoreAggregateMessageOrigin;
|
|
797
863
|
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
864
|
+
/**
|
|
865
|
+
* The index of the page.
|
|
866
|
+
**/
|
|
867
|
+
index: number;
|
|
868
|
+
}
|
|
869
|
+
>;
|
|
802
870
|
|
|
803
871
|
/**
|
|
804
872
|
* Generic pallet event
|
|
805
873
|
**/
|
|
806
|
-
[prop: string]: GenericPalletEvent
|
|
874
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
807
875
|
};
|
|
808
876
|
/**
|
|
809
877
|
* Pallet `Utility`'s events
|
|
@@ -813,37 +881,37 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
813
881
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
814
882
|
* well as the error.
|
|
815
883
|
**/
|
|
816
|
-
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
884
|
+
BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
817
885
|
|
|
818
886
|
/**
|
|
819
887
|
* Batch of dispatches completed fully with no error.
|
|
820
888
|
**/
|
|
821
|
-
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
889
|
+
BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
|
|
822
890
|
|
|
823
891
|
/**
|
|
824
892
|
* Batch of dispatches completed but has errors.
|
|
825
893
|
**/
|
|
826
|
-
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
894
|
+
BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
|
|
827
895
|
|
|
828
896
|
/**
|
|
829
897
|
* A single item within a Batch of dispatches has completed with no error.
|
|
830
898
|
**/
|
|
831
|
-
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
899
|
+
ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
|
|
832
900
|
|
|
833
901
|
/**
|
|
834
902
|
* A single item within a Batch of dispatches has completed with error.
|
|
835
903
|
**/
|
|
836
|
-
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
904
|
+
ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
837
905
|
|
|
838
906
|
/**
|
|
839
907
|
* A call was dispatched.
|
|
840
908
|
**/
|
|
841
|
-
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
909
|
+
DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
842
910
|
|
|
843
911
|
/**
|
|
844
912
|
* Generic pallet event
|
|
845
913
|
**/
|
|
846
|
-
[prop: string]: GenericPalletEvent
|
|
914
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
847
915
|
};
|
|
848
916
|
/**
|
|
849
917
|
* Pallet `Multisig`'s events
|
|
@@ -853,6 +921,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
853
921
|
* A new multisig operation has begun.
|
|
854
922
|
**/
|
|
855
923
|
NewMultisig: GenericPalletEvent<
|
|
924
|
+
Rv,
|
|
856
925
|
'Multisig',
|
|
857
926
|
'NewMultisig',
|
|
858
927
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -862,6 +931,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
862
931
|
* A multisig operation has been approved by someone.
|
|
863
932
|
**/
|
|
864
933
|
MultisigApproval: GenericPalletEvent<
|
|
934
|
+
Rv,
|
|
865
935
|
'Multisig',
|
|
866
936
|
'MultisigApproval',
|
|
867
937
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -871,6 +941,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
871
941
|
* A multisig operation has been executed.
|
|
872
942
|
**/
|
|
873
943
|
MultisigExecuted: GenericPalletEvent<
|
|
944
|
+
Rv,
|
|
874
945
|
'Multisig',
|
|
875
946
|
'MultisigExecuted',
|
|
876
947
|
{
|
|
@@ -886,6 +957,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
886
957
|
* A multisig operation has been cancelled.
|
|
887
958
|
**/
|
|
888
959
|
MultisigCancelled: GenericPalletEvent<
|
|
960
|
+
Rv,
|
|
889
961
|
'Multisig',
|
|
890
962
|
'MultisigCancelled',
|
|
891
963
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -894,7 +966,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
894
966
|
/**
|
|
895
967
|
* Generic pallet event
|
|
896
968
|
**/
|
|
897
|
-
[prop: string]: GenericPalletEvent
|
|
969
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
898
970
|
};
|
|
899
971
|
/**
|
|
900
972
|
* Pallet `Proxy`'s events
|
|
@@ -903,13 +975,14 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
903
975
|
/**
|
|
904
976
|
* A proxy was executed correctly, with the given.
|
|
905
977
|
**/
|
|
906
|
-
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
978
|
+
ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
907
979
|
|
|
908
980
|
/**
|
|
909
981
|
* A pure account has been created by new proxy with given
|
|
910
982
|
* disambiguation index and proxy type.
|
|
911
983
|
**/
|
|
912
984
|
PureCreated: GenericPalletEvent<
|
|
985
|
+
Rv,
|
|
913
986
|
'Proxy',
|
|
914
987
|
'PureCreated',
|
|
915
988
|
{ pure: AccountId32; who: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; disambiguationIndex: number }
|
|
@@ -918,12 +991,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
918
991
|
/**
|
|
919
992
|
* An announcement was placed to make a call in the future.
|
|
920
993
|
**/
|
|
921
|
-
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
994
|
+
Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
922
995
|
|
|
923
996
|
/**
|
|
924
997
|
* A proxy was added.
|
|
925
998
|
**/
|
|
926
999
|
ProxyAdded: GenericPalletEvent<
|
|
1000
|
+
Rv,
|
|
927
1001
|
'Proxy',
|
|
928
1002
|
'ProxyAdded',
|
|
929
1003
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; delay: number }
|
|
@@ -933,6 +1007,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
933
1007
|
* A proxy was removed.
|
|
934
1008
|
**/
|
|
935
1009
|
ProxyRemoved: GenericPalletEvent<
|
|
1010
|
+
Rv,
|
|
936
1011
|
'Proxy',
|
|
937
1012
|
'ProxyRemoved',
|
|
938
1013
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubKusamaRuntimeProxyType; delay: number }
|
|
@@ -941,7 +1016,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
941
1016
|
/**
|
|
942
1017
|
* Generic pallet event
|
|
943
1018
|
**/
|
|
944
|
-
[prop: string]: GenericPalletEvent
|
|
1019
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
945
1020
|
};
|
|
946
1021
|
/**
|
|
947
1022
|
* Pallet `Assets`'s events
|
|
@@ -950,17 +1025,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
950
1025
|
/**
|
|
951
1026
|
* Some asset class was created.
|
|
952
1027
|
**/
|
|
953
|
-
Created: GenericPalletEvent<'Assets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
|
|
1028
|
+
Created: GenericPalletEvent<Rv, 'Assets', 'Created', { assetId: number; creator: AccountId32; owner: AccountId32 }>;
|
|
954
1029
|
|
|
955
1030
|
/**
|
|
956
1031
|
* Some assets were issued.
|
|
957
1032
|
**/
|
|
958
|
-
Issued: GenericPalletEvent<'Assets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
|
|
1033
|
+
Issued: GenericPalletEvent<Rv, 'Assets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
|
|
959
1034
|
|
|
960
1035
|
/**
|
|
961
1036
|
* Some assets were transferred.
|
|
962
1037
|
**/
|
|
963
1038
|
Transferred: GenericPalletEvent<
|
|
1039
|
+
Rv,
|
|
964
1040
|
'Assets',
|
|
965
1041
|
'Transferred',
|
|
966
1042
|
{ assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -969,12 +1045,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
969
1045
|
/**
|
|
970
1046
|
* Some assets were destroyed.
|
|
971
1047
|
**/
|
|
972
|
-
Burned: GenericPalletEvent<'Assets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
|
|
1048
|
+
Burned: GenericPalletEvent<Rv, 'Assets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
|
|
973
1049
|
|
|
974
1050
|
/**
|
|
975
1051
|
* The management team changed.
|
|
976
1052
|
**/
|
|
977
1053
|
TeamChanged: GenericPalletEvent<
|
|
1054
|
+
Rv,
|
|
978
1055
|
'Assets',
|
|
979
1056
|
'TeamChanged',
|
|
980
1057
|
{ assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -983,32 +1060,33 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
983
1060
|
/**
|
|
984
1061
|
* The owner changed.
|
|
985
1062
|
**/
|
|
986
|
-
OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
|
|
1063
|
+
OwnerChanged: GenericPalletEvent<Rv, 'Assets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
|
|
987
1064
|
|
|
988
1065
|
/**
|
|
989
1066
|
* Some account `who` was frozen.
|
|
990
1067
|
**/
|
|
991
|
-
Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: number; who: AccountId32 }>;
|
|
1068
|
+
Frozen: GenericPalletEvent<Rv, 'Assets', 'Frozen', { assetId: number; who: AccountId32 }>;
|
|
992
1069
|
|
|
993
1070
|
/**
|
|
994
1071
|
* Some account `who` was thawed.
|
|
995
1072
|
**/
|
|
996
|
-
Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: number; who: AccountId32 }>;
|
|
1073
|
+
Thawed: GenericPalletEvent<Rv, 'Assets', 'Thawed', { assetId: number; who: AccountId32 }>;
|
|
997
1074
|
|
|
998
1075
|
/**
|
|
999
1076
|
* Some asset `asset_id` was frozen.
|
|
1000
1077
|
**/
|
|
1001
|
-
AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: number }>;
|
|
1078
|
+
AssetFrozen: GenericPalletEvent<Rv, 'Assets', 'AssetFrozen', { assetId: number }>;
|
|
1002
1079
|
|
|
1003
1080
|
/**
|
|
1004
1081
|
* Some asset `asset_id` was thawed.
|
|
1005
1082
|
**/
|
|
1006
|
-
AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: number }>;
|
|
1083
|
+
AssetThawed: GenericPalletEvent<Rv, 'Assets', 'AssetThawed', { assetId: number }>;
|
|
1007
1084
|
|
|
1008
1085
|
/**
|
|
1009
1086
|
* Accounts were destroyed for given asset.
|
|
1010
1087
|
**/
|
|
1011
1088
|
AccountsDestroyed: GenericPalletEvent<
|
|
1089
|
+
Rv,
|
|
1012
1090
|
'Assets',
|
|
1013
1091
|
'AccountsDestroyed',
|
|
1014
1092
|
{ assetId: number; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -1018,6 +1096,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1018
1096
|
* Approvals were destroyed for given asset.
|
|
1019
1097
|
**/
|
|
1020
1098
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
1099
|
+
Rv,
|
|
1021
1100
|
'Assets',
|
|
1022
1101
|
'ApprovalsDestroyed',
|
|
1023
1102
|
{ assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -1026,22 +1105,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1026
1105
|
/**
|
|
1027
1106
|
* An asset class is in the process of being destroyed.
|
|
1028
1107
|
**/
|
|
1029
|
-
DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: number }>;
|
|
1108
|
+
DestructionStarted: GenericPalletEvent<Rv, 'Assets', 'DestructionStarted', { assetId: number }>;
|
|
1030
1109
|
|
|
1031
1110
|
/**
|
|
1032
1111
|
* An asset class was destroyed.
|
|
1033
1112
|
**/
|
|
1034
|
-
Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: number }>;
|
|
1113
|
+
Destroyed: GenericPalletEvent<Rv, 'Assets', 'Destroyed', { assetId: number }>;
|
|
1035
1114
|
|
|
1036
1115
|
/**
|
|
1037
1116
|
* Some asset class was force-created.
|
|
1038
1117
|
**/
|
|
1039
|
-
ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
|
|
1118
|
+
ForceCreated: GenericPalletEvent<Rv, 'Assets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
|
|
1040
1119
|
|
|
1041
1120
|
/**
|
|
1042
1121
|
* New metadata has been set for an asset.
|
|
1043
1122
|
**/
|
|
1044
1123
|
MetadataSet: GenericPalletEvent<
|
|
1124
|
+
Rv,
|
|
1045
1125
|
'Assets',
|
|
1046
1126
|
'MetadataSet',
|
|
1047
1127
|
{ assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
@@ -1050,12 +1130,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1050
1130
|
/**
|
|
1051
1131
|
* Metadata has been cleared for an asset.
|
|
1052
1132
|
**/
|
|
1053
|
-
MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: number }>;
|
|
1133
|
+
MetadataCleared: GenericPalletEvent<Rv, 'Assets', 'MetadataCleared', { assetId: number }>;
|
|
1054
1134
|
|
|
1055
1135
|
/**
|
|
1056
1136
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1057
1137
|
**/
|
|
1058
1138
|
ApprovedTransfer: GenericPalletEvent<
|
|
1139
|
+
Rv,
|
|
1059
1140
|
'Assets',
|
|
1060
1141
|
'ApprovedTransfer',
|
|
1061
1142
|
{ assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -1065,6 +1146,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1065
1146
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1066
1147
|
**/
|
|
1067
1148
|
ApprovalCancelled: GenericPalletEvent<
|
|
1149
|
+
Rv,
|
|
1068
1150
|
'Assets',
|
|
1069
1151
|
'ApprovalCancelled',
|
|
1070
1152
|
{ assetId: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1075,6 +1157,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1075
1157
|
* the approved `delegate`.
|
|
1076
1158
|
**/
|
|
1077
1159
|
TransferredApproved: GenericPalletEvent<
|
|
1160
|
+
Rv,
|
|
1078
1161
|
'Assets',
|
|
1079
1162
|
'TransferredApproved',
|
|
1080
1163
|
{ assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
|
|
@@ -1083,12 +1166,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1083
1166
|
/**
|
|
1084
1167
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1085
1168
|
**/
|
|
1086
|
-
AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: number }>;
|
|
1169
|
+
AssetStatusChanged: GenericPalletEvent<Rv, 'Assets', 'AssetStatusChanged', { assetId: number }>;
|
|
1087
1170
|
|
|
1088
1171
|
/**
|
|
1089
1172
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1090
1173
|
**/
|
|
1091
1174
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
1175
|
+
Rv,
|
|
1092
1176
|
'Assets',
|
|
1093
1177
|
'AssetMinBalanceChanged',
|
|
1094
1178
|
{ assetId: number; newMinBalance: bigint }
|
|
@@ -1097,17 +1181,17 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1097
1181
|
/**
|
|
1098
1182
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1099
1183
|
**/
|
|
1100
|
-
Touched: GenericPalletEvent<'Assets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
|
|
1184
|
+
Touched: GenericPalletEvent<Rv, 'Assets', 'Touched', { assetId: number; who: AccountId32; depositor: AccountId32 }>;
|
|
1101
1185
|
|
|
1102
1186
|
/**
|
|
1103
1187
|
* Some account `who` was blocked.
|
|
1104
1188
|
**/
|
|
1105
|
-
Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
|
|
1189
|
+
Blocked: GenericPalletEvent<Rv, 'Assets', 'Blocked', { assetId: number; who: AccountId32 }>;
|
|
1106
1190
|
|
|
1107
1191
|
/**
|
|
1108
1192
|
* Generic pallet event
|
|
1109
1193
|
**/
|
|
1110
|
-
[prop: string]: GenericPalletEvent
|
|
1194
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1111
1195
|
};
|
|
1112
1196
|
/**
|
|
1113
1197
|
* Pallet `Uniques`'s events
|
|
@@ -1116,27 +1200,33 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1116
1200
|
/**
|
|
1117
1201
|
* A `collection` was created.
|
|
1118
1202
|
**/
|
|
1119
|
-
Created: GenericPalletEvent<
|
|
1203
|
+
Created: GenericPalletEvent<
|
|
1204
|
+
Rv,
|
|
1205
|
+
'Uniques',
|
|
1206
|
+
'Created',
|
|
1207
|
+
{ collection: number; creator: AccountId32; owner: AccountId32 }
|
|
1208
|
+
>;
|
|
1120
1209
|
|
|
1121
1210
|
/**
|
|
1122
1211
|
* A `collection` was force-created.
|
|
1123
1212
|
**/
|
|
1124
|
-
ForceCreated: GenericPalletEvent<'Uniques', 'ForceCreated', { collection: number; owner: AccountId32 }>;
|
|
1213
|
+
ForceCreated: GenericPalletEvent<Rv, 'Uniques', 'ForceCreated', { collection: number; owner: AccountId32 }>;
|
|
1125
1214
|
|
|
1126
1215
|
/**
|
|
1127
1216
|
* A `collection` was destroyed.
|
|
1128
1217
|
**/
|
|
1129
|
-
Destroyed: GenericPalletEvent<'Uniques', 'Destroyed', { collection: number }>;
|
|
1218
|
+
Destroyed: GenericPalletEvent<Rv, 'Uniques', 'Destroyed', { collection: number }>;
|
|
1130
1219
|
|
|
1131
1220
|
/**
|
|
1132
1221
|
* An `item` was issued.
|
|
1133
1222
|
**/
|
|
1134
|
-
Issued: GenericPalletEvent<'Uniques', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
|
|
1223
|
+
Issued: GenericPalletEvent<Rv, 'Uniques', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
|
|
1135
1224
|
|
|
1136
1225
|
/**
|
|
1137
1226
|
* An `item` was transferred.
|
|
1138
1227
|
**/
|
|
1139
1228
|
Transferred: GenericPalletEvent<
|
|
1229
|
+
Rv,
|
|
1140
1230
|
'Uniques',
|
|
1141
1231
|
'Transferred',
|
|
1142
1232
|
{ collection: number; item: number; from: AccountId32; to: AccountId32 }
|
|
@@ -1145,37 +1235,38 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1145
1235
|
/**
|
|
1146
1236
|
* An `item` was destroyed.
|
|
1147
1237
|
**/
|
|
1148
|
-
Burned: GenericPalletEvent<'Uniques', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
|
|
1238
|
+
Burned: GenericPalletEvent<Rv, 'Uniques', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
|
|
1149
1239
|
|
|
1150
1240
|
/**
|
|
1151
1241
|
* Some `item` was frozen.
|
|
1152
1242
|
**/
|
|
1153
|
-
Frozen: GenericPalletEvent<'Uniques', 'Frozen', { collection: number; item: number }>;
|
|
1243
|
+
Frozen: GenericPalletEvent<Rv, 'Uniques', 'Frozen', { collection: number; item: number }>;
|
|
1154
1244
|
|
|
1155
1245
|
/**
|
|
1156
1246
|
* Some `item` was thawed.
|
|
1157
1247
|
**/
|
|
1158
|
-
Thawed: GenericPalletEvent<'Uniques', 'Thawed', { collection: number; item: number }>;
|
|
1248
|
+
Thawed: GenericPalletEvent<Rv, 'Uniques', 'Thawed', { collection: number; item: number }>;
|
|
1159
1249
|
|
|
1160
1250
|
/**
|
|
1161
1251
|
* Some `collection` was frozen.
|
|
1162
1252
|
**/
|
|
1163
|
-
CollectionFrozen: GenericPalletEvent<'Uniques', 'CollectionFrozen', { collection: number }>;
|
|
1253
|
+
CollectionFrozen: GenericPalletEvent<Rv, 'Uniques', 'CollectionFrozen', { collection: number }>;
|
|
1164
1254
|
|
|
1165
1255
|
/**
|
|
1166
1256
|
* Some `collection` was thawed.
|
|
1167
1257
|
**/
|
|
1168
|
-
CollectionThawed: GenericPalletEvent<'Uniques', 'CollectionThawed', { collection: number }>;
|
|
1258
|
+
CollectionThawed: GenericPalletEvent<Rv, 'Uniques', 'CollectionThawed', { collection: number }>;
|
|
1169
1259
|
|
|
1170
1260
|
/**
|
|
1171
1261
|
* The owner changed.
|
|
1172
1262
|
**/
|
|
1173
|
-
OwnerChanged: GenericPalletEvent<'Uniques', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
|
|
1263
|
+
OwnerChanged: GenericPalletEvent<Rv, 'Uniques', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
|
|
1174
1264
|
|
|
1175
1265
|
/**
|
|
1176
1266
|
* The management team changed.
|
|
1177
1267
|
**/
|
|
1178
1268
|
TeamChanged: GenericPalletEvent<
|
|
1269
|
+
Rv,
|
|
1179
1270
|
'Uniques',
|
|
1180
1271
|
'TeamChanged',
|
|
1181
1272
|
{ collection: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -1186,6 +1277,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1186
1277
|
* a `delegate`.
|
|
1187
1278
|
**/
|
|
1188
1279
|
ApprovedTransfer: GenericPalletEvent<
|
|
1280
|
+
Rv,
|
|
1189
1281
|
'Uniques',
|
|
1190
1282
|
'ApprovedTransfer',
|
|
1191
1283
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1196,6 +1288,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1196
1288
|
* `collection` was cancelled by its `owner`.
|
|
1197
1289
|
**/
|
|
1198
1290
|
ApprovalCancelled: GenericPalletEvent<
|
|
1291
|
+
Rv,
|
|
1199
1292
|
'Uniques',
|
|
1200
1293
|
'ApprovalCancelled',
|
|
1201
1294
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1204,12 +1297,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1204
1297
|
/**
|
|
1205
1298
|
* A `collection` has had its attributes changed by the `Force` origin.
|
|
1206
1299
|
**/
|
|
1207
|
-
ItemStatusChanged: GenericPalletEvent<'Uniques', 'ItemStatusChanged', { collection: number }>;
|
|
1300
|
+
ItemStatusChanged: GenericPalletEvent<Rv, 'Uniques', 'ItemStatusChanged', { collection: number }>;
|
|
1208
1301
|
|
|
1209
1302
|
/**
|
|
1210
1303
|
* New metadata has been set for a `collection`.
|
|
1211
1304
|
**/
|
|
1212
1305
|
CollectionMetadataSet: GenericPalletEvent<
|
|
1306
|
+
Rv,
|
|
1213
1307
|
'Uniques',
|
|
1214
1308
|
'CollectionMetadataSet',
|
|
1215
1309
|
{ collection: number; data: Bytes; isFrozen: boolean }
|
|
@@ -1218,12 +1312,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1218
1312
|
/**
|
|
1219
1313
|
* Metadata has been cleared for a `collection`.
|
|
1220
1314
|
**/
|
|
1221
|
-
CollectionMetadataCleared: GenericPalletEvent<'Uniques', 'CollectionMetadataCleared', { collection: number }>;
|
|
1315
|
+
CollectionMetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'CollectionMetadataCleared', { collection: number }>;
|
|
1222
1316
|
|
|
1223
1317
|
/**
|
|
1224
1318
|
* New metadata has been set for an item.
|
|
1225
1319
|
**/
|
|
1226
1320
|
MetadataSet: GenericPalletEvent<
|
|
1321
|
+
Rv,
|
|
1227
1322
|
'Uniques',
|
|
1228
1323
|
'MetadataSet',
|
|
1229
1324
|
{ collection: number; item: number; data: Bytes; isFrozen: boolean }
|
|
@@ -1232,17 +1327,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1232
1327
|
/**
|
|
1233
1328
|
* Metadata has been cleared for an item.
|
|
1234
1329
|
**/
|
|
1235
|
-
MetadataCleared: GenericPalletEvent<'Uniques', 'MetadataCleared', { collection: number; item: number }>;
|
|
1330
|
+
MetadataCleared: GenericPalletEvent<Rv, 'Uniques', 'MetadataCleared', { collection: number; item: number }>;
|
|
1236
1331
|
|
|
1237
1332
|
/**
|
|
1238
1333
|
* Metadata has been cleared for an item.
|
|
1239
1334
|
**/
|
|
1240
|
-
Redeposited: GenericPalletEvent<
|
|
1335
|
+
Redeposited: GenericPalletEvent<
|
|
1336
|
+
Rv,
|
|
1337
|
+
'Uniques',
|
|
1338
|
+
'Redeposited',
|
|
1339
|
+
{ collection: number; successfulItems: Array<number> }
|
|
1340
|
+
>;
|
|
1241
1341
|
|
|
1242
1342
|
/**
|
|
1243
1343
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
1244
1344
|
**/
|
|
1245
1345
|
AttributeSet: GenericPalletEvent<
|
|
1346
|
+
Rv,
|
|
1246
1347
|
'Uniques',
|
|
1247
1348
|
'AttributeSet',
|
|
1248
1349
|
{ collection: number; maybeItem?: number | undefined; key: Bytes; value: Bytes }
|
|
@@ -1252,6 +1353,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1252
1353
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
1253
1354
|
**/
|
|
1254
1355
|
AttributeCleared: GenericPalletEvent<
|
|
1356
|
+
Rv,
|
|
1255
1357
|
'Uniques',
|
|
1256
1358
|
'AttributeCleared',
|
|
1257
1359
|
{ collection: number; maybeItem?: number | undefined; key: Bytes }
|
|
@@ -1261,6 +1363,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1261
1363
|
* Ownership acceptance has changed for an account.
|
|
1262
1364
|
**/
|
|
1263
1365
|
OwnershipAcceptanceChanged: GenericPalletEvent<
|
|
1366
|
+
Rv,
|
|
1264
1367
|
'Uniques',
|
|
1265
1368
|
'OwnershipAcceptanceChanged',
|
|
1266
1369
|
{ who: AccountId32; maybeCollection?: number | undefined }
|
|
@@ -1270,6 +1373,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1270
1373
|
* Max supply has been set for a collection.
|
|
1271
1374
|
**/
|
|
1272
1375
|
CollectionMaxSupplySet: GenericPalletEvent<
|
|
1376
|
+
Rv,
|
|
1273
1377
|
'Uniques',
|
|
1274
1378
|
'CollectionMaxSupplySet',
|
|
1275
1379
|
{ collection: number; maxSupply: number }
|
|
@@ -1279,6 +1383,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1279
1383
|
* The price was set for the instance.
|
|
1280
1384
|
**/
|
|
1281
1385
|
ItemPriceSet: GenericPalletEvent<
|
|
1386
|
+
Rv,
|
|
1282
1387
|
'Uniques',
|
|
1283
1388
|
'ItemPriceSet',
|
|
1284
1389
|
{ collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
|
|
@@ -1287,12 +1392,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1287
1392
|
/**
|
|
1288
1393
|
* The price for the instance was removed.
|
|
1289
1394
|
**/
|
|
1290
|
-
ItemPriceRemoved: GenericPalletEvent<'Uniques', 'ItemPriceRemoved', { collection: number; item: number }>;
|
|
1395
|
+
ItemPriceRemoved: GenericPalletEvent<Rv, 'Uniques', 'ItemPriceRemoved', { collection: number; item: number }>;
|
|
1291
1396
|
|
|
1292
1397
|
/**
|
|
1293
1398
|
* An item was bought.
|
|
1294
1399
|
**/
|
|
1295
1400
|
ItemBought: GenericPalletEvent<
|
|
1401
|
+
Rv,
|
|
1296
1402
|
'Uniques',
|
|
1297
1403
|
'ItemBought',
|
|
1298
1404
|
{ collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
|
|
@@ -1301,7 +1407,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1301
1407
|
/**
|
|
1302
1408
|
* Generic pallet event
|
|
1303
1409
|
**/
|
|
1304
|
-
[prop: string]: GenericPalletEvent
|
|
1410
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1305
1411
|
};
|
|
1306
1412
|
/**
|
|
1307
1413
|
* Pallet `Nfts`'s events
|
|
@@ -1310,27 +1416,33 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1310
1416
|
/**
|
|
1311
1417
|
* A `collection` was created.
|
|
1312
1418
|
**/
|
|
1313
|
-
Created: GenericPalletEvent<
|
|
1419
|
+
Created: GenericPalletEvent<
|
|
1420
|
+
Rv,
|
|
1421
|
+
'Nfts',
|
|
1422
|
+
'Created',
|
|
1423
|
+
{ collection: number; creator: AccountId32; owner: AccountId32 }
|
|
1424
|
+
>;
|
|
1314
1425
|
|
|
1315
1426
|
/**
|
|
1316
1427
|
* A `collection` was force-created.
|
|
1317
1428
|
**/
|
|
1318
|
-
ForceCreated: GenericPalletEvent<'Nfts', 'ForceCreated', { collection: number; owner: AccountId32 }>;
|
|
1429
|
+
ForceCreated: GenericPalletEvent<Rv, 'Nfts', 'ForceCreated', { collection: number; owner: AccountId32 }>;
|
|
1319
1430
|
|
|
1320
1431
|
/**
|
|
1321
1432
|
* A `collection` was destroyed.
|
|
1322
1433
|
**/
|
|
1323
|
-
Destroyed: GenericPalletEvent<'Nfts', 'Destroyed', { collection: number }>;
|
|
1434
|
+
Destroyed: GenericPalletEvent<Rv, 'Nfts', 'Destroyed', { collection: number }>;
|
|
1324
1435
|
|
|
1325
1436
|
/**
|
|
1326
1437
|
* An `item` was issued.
|
|
1327
1438
|
**/
|
|
1328
|
-
Issued: GenericPalletEvent<'Nfts', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
|
|
1439
|
+
Issued: GenericPalletEvent<Rv, 'Nfts', 'Issued', { collection: number; item: number; owner: AccountId32 }>;
|
|
1329
1440
|
|
|
1330
1441
|
/**
|
|
1331
1442
|
* An `item` was transferred.
|
|
1332
1443
|
**/
|
|
1333
1444
|
Transferred: GenericPalletEvent<
|
|
1445
|
+
Rv,
|
|
1334
1446
|
'Nfts',
|
|
1335
1447
|
'Transferred',
|
|
1336
1448
|
{ collection: number; item: number; from: AccountId32; to: AccountId32 }
|
|
@@ -1339,22 +1451,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1339
1451
|
/**
|
|
1340
1452
|
* An `item` was destroyed.
|
|
1341
1453
|
**/
|
|
1342
|
-
Burned: GenericPalletEvent<'Nfts', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
|
|
1454
|
+
Burned: GenericPalletEvent<Rv, 'Nfts', 'Burned', { collection: number; item: number; owner: AccountId32 }>;
|
|
1343
1455
|
|
|
1344
1456
|
/**
|
|
1345
1457
|
* An `item` became non-transferable.
|
|
1346
1458
|
**/
|
|
1347
|
-
ItemTransferLocked: GenericPalletEvent<'Nfts', 'ItemTransferLocked', { collection: number; item: number }>;
|
|
1459
|
+
ItemTransferLocked: GenericPalletEvent<Rv, 'Nfts', 'ItemTransferLocked', { collection: number; item: number }>;
|
|
1348
1460
|
|
|
1349
1461
|
/**
|
|
1350
1462
|
* An `item` became transferable.
|
|
1351
1463
|
**/
|
|
1352
|
-
ItemTransferUnlocked: GenericPalletEvent<'Nfts', 'ItemTransferUnlocked', { collection: number; item: number }>;
|
|
1464
|
+
ItemTransferUnlocked: GenericPalletEvent<Rv, 'Nfts', 'ItemTransferUnlocked', { collection: number; item: number }>;
|
|
1353
1465
|
|
|
1354
1466
|
/**
|
|
1355
1467
|
* `item` metadata or attributes were locked.
|
|
1356
1468
|
**/
|
|
1357
1469
|
ItemPropertiesLocked: GenericPalletEvent<
|
|
1470
|
+
Rv,
|
|
1358
1471
|
'Nfts',
|
|
1359
1472
|
'ItemPropertiesLocked',
|
|
1360
1473
|
{ collection: number; item: number; lockMetadata: boolean; lockAttributes: boolean }
|
|
@@ -1363,17 +1476,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1363
1476
|
/**
|
|
1364
1477
|
* Some `collection` was locked.
|
|
1365
1478
|
**/
|
|
1366
|
-
CollectionLocked: GenericPalletEvent<'Nfts', 'CollectionLocked', { collection: number }>;
|
|
1479
|
+
CollectionLocked: GenericPalletEvent<Rv, 'Nfts', 'CollectionLocked', { collection: number }>;
|
|
1367
1480
|
|
|
1368
1481
|
/**
|
|
1369
1482
|
* The owner changed.
|
|
1370
1483
|
**/
|
|
1371
|
-
OwnerChanged: GenericPalletEvent<'Nfts', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
|
|
1484
|
+
OwnerChanged: GenericPalletEvent<Rv, 'Nfts', 'OwnerChanged', { collection: number; newOwner: AccountId32 }>;
|
|
1372
1485
|
|
|
1373
1486
|
/**
|
|
1374
1487
|
* The management team changed.
|
|
1375
1488
|
**/
|
|
1376
1489
|
TeamChanged: GenericPalletEvent<
|
|
1490
|
+
Rv,
|
|
1377
1491
|
'Nfts',
|
|
1378
1492
|
'TeamChanged',
|
|
1379
1493
|
{
|
|
@@ -1389,6 +1503,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1389
1503
|
* a `delegate`.
|
|
1390
1504
|
**/
|
|
1391
1505
|
TransferApproved: GenericPalletEvent<
|
|
1506
|
+
Rv,
|
|
1392
1507
|
'Nfts',
|
|
1393
1508
|
'TransferApproved',
|
|
1394
1509
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32; deadline?: number | undefined }
|
|
@@ -1399,6 +1514,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1399
1514
|
* `collection` was cancelled by its `owner`.
|
|
1400
1515
|
**/
|
|
1401
1516
|
ApprovalCancelled: GenericPalletEvent<
|
|
1517
|
+
Rv,
|
|
1402
1518
|
'Nfts',
|
|
1403
1519
|
'ApprovalCancelled',
|
|
1404
1520
|
{ collection: number; item: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1408,6 +1524,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1408
1524
|
* All approvals of an item got cancelled.
|
|
1409
1525
|
**/
|
|
1410
1526
|
AllApprovalsCancelled: GenericPalletEvent<
|
|
1527
|
+
Rv,
|
|
1411
1528
|
'Nfts',
|
|
1412
1529
|
'AllApprovalsCancelled',
|
|
1413
1530
|
{ collection: number; item: number; owner: AccountId32 }
|
|
@@ -1416,37 +1533,43 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1416
1533
|
/**
|
|
1417
1534
|
* A `collection` has had its config changed by the `Force` origin.
|
|
1418
1535
|
**/
|
|
1419
|
-
CollectionConfigChanged: GenericPalletEvent<'Nfts', 'CollectionConfigChanged', { collection: number }>;
|
|
1536
|
+
CollectionConfigChanged: GenericPalletEvent<Rv, 'Nfts', 'CollectionConfigChanged', { collection: number }>;
|
|
1420
1537
|
|
|
1421
1538
|
/**
|
|
1422
1539
|
* New metadata has been set for a `collection`.
|
|
1423
1540
|
**/
|
|
1424
|
-
CollectionMetadataSet: GenericPalletEvent<'Nfts', 'CollectionMetadataSet', { collection: number; data: Bytes }>;
|
|
1541
|
+
CollectionMetadataSet: GenericPalletEvent<Rv, 'Nfts', 'CollectionMetadataSet', { collection: number; data: Bytes }>;
|
|
1425
1542
|
|
|
1426
1543
|
/**
|
|
1427
1544
|
* Metadata has been cleared for a `collection`.
|
|
1428
1545
|
**/
|
|
1429
|
-
CollectionMetadataCleared: GenericPalletEvent<'Nfts', 'CollectionMetadataCleared', { collection: number }>;
|
|
1546
|
+
CollectionMetadataCleared: GenericPalletEvent<Rv, 'Nfts', 'CollectionMetadataCleared', { collection: number }>;
|
|
1430
1547
|
|
|
1431
1548
|
/**
|
|
1432
1549
|
* New metadata has been set for an item.
|
|
1433
1550
|
**/
|
|
1434
|
-
ItemMetadataSet: GenericPalletEvent<
|
|
1551
|
+
ItemMetadataSet: GenericPalletEvent<
|
|
1552
|
+
Rv,
|
|
1553
|
+
'Nfts',
|
|
1554
|
+
'ItemMetadataSet',
|
|
1555
|
+
{ collection: number; item: number; data: Bytes }
|
|
1556
|
+
>;
|
|
1435
1557
|
|
|
1436
1558
|
/**
|
|
1437
1559
|
* Metadata has been cleared for an item.
|
|
1438
1560
|
**/
|
|
1439
|
-
ItemMetadataCleared: GenericPalletEvent<'Nfts', 'ItemMetadataCleared', { collection: number; item: number }>;
|
|
1561
|
+
ItemMetadataCleared: GenericPalletEvent<Rv, 'Nfts', 'ItemMetadataCleared', { collection: number; item: number }>;
|
|
1440
1562
|
|
|
1441
1563
|
/**
|
|
1442
1564
|
* The deposit for a set of `item`s within a `collection` has been updated.
|
|
1443
1565
|
**/
|
|
1444
|
-
Redeposited: GenericPalletEvent<'Nfts', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
|
|
1566
|
+
Redeposited: GenericPalletEvent<Rv, 'Nfts', 'Redeposited', { collection: number; successfulItems: Array<number> }>;
|
|
1445
1567
|
|
|
1446
1568
|
/**
|
|
1447
1569
|
* New attribute metadata has been set for a `collection` or `item`.
|
|
1448
1570
|
**/
|
|
1449
1571
|
AttributeSet: GenericPalletEvent<
|
|
1572
|
+
Rv,
|
|
1450
1573
|
'Nfts',
|
|
1451
1574
|
'AttributeSet',
|
|
1452
1575
|
{
|
|
@@ -1462,6 +1585,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1462
1585
|
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
1463
1586
|
**/
|
|
1464
1587
|
AttributeCleared: GenericPalletEvent<
|
|
1588
|
+
Rv,
|
|
1465
1589
|
'Nfts',
|
|
1466
1590
|
'AttributeCleared',
|
|
1467
1591
|
{ collection: number; maybeItem?: number | undefined; key: Bytes; namespace: PalletNftsAttributeNamespace }
|
|
@@ -1471,6 +1595,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1471
1595
|
* A new approval to modify item attributes was added.
|
|
1472
1596
|
**/
|
|
1473
1597
|
ItemAttributesApprovalAdded: GenericPalletEvent<
|
|
1598
|
+
Rv,
|
|
1474
1599
|
'Nfts',
|
|
1475
1600
|
'ItemAttributesApprovalAdded',
|
|
1476
1601
|
{ collection: number; item: number; delegate: AccountId32 }
|
|
@@ -1480,6 +1605,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1480
1605
|
* A new approval to modify item attributes was removed.
|
|
1481
1606
|
**/
|
|
1482
1607
|
ItemAttributesApprovalRemoved: GenericPalletEvent<
|
|
1608
|
+
Rv,
|
|
1483
1609
|
'Nfts',
|
|
1484
1610
|
'ItemAttributesApprovalRemoved',
|
|
1485
1611
|
{ collection: number; item: number; delegate: AccountId32 }
|
|
@@ -1489,6 +1615,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1489
1615
|
* Ownership acceptance has changed for an account.
|
|
1490
1616
|
**/
|
|
1491
1617
|
OwnershipAcceptanceChanged: GenericPalletEvent<
|
|
1618
|
+
Rv,
|
|
1492
1619
|
'Nfts',
|
|
1493
1620
|
'OwnershipAcceptanceChanged',
|
|
1494
1621
|
{ who: AccountId32; maybeCollection?: number | undefined }
|
|
@@ -1498,6 +1625,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1498
1625
|
* Max supply has been set for a collection.
|
|
1499
1626
|
**/
|
|
1500
1627
|
CollectionMaxSupplySet: GenericPalletEvent<
|
|
1628
|
+
Rv,
|
|
1501
1629
|
'Nfts',
|
|
1502
1630
|
'CollectionMaxSupplySet',
|
|
1503
1631
|
{ collection: number; maxSupply: number }
|
|
@@ -1506,12 +1634,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1506
1634
|
/**
|
|
1507
1635
|
* Mint settings for a collection had changed.
|
|
1508
1636
|
**/
|
|
1509
|
-
CollectionMintSettingsUpdated: GenericPalletEvent<
|
|
1637
|
+
CollectionMintSettingsUpdated: GenericPalletEvent<
|
|
1638
|
+
Rv,
|
|
1639
|
+
'Nfts',
|
|
1640
|
+
'CollectionMintSettingsUpdated',
|
|
1641
|
+
{ collection: number }
|
|
1642
|
+
>;
|
|
1510
1643
|
|
|
1511
1644
|
/**
|
|
1512
1645
|
* Event gets emitted when the `NextCollectionId` gets incremented.
|
|
1513
1646
|
**/
|
|
1514
1647
|
NextCollectionIdIncremented: GenericPalletEvent<
|
|
1648
|
+
Rv,
|
|
1515
1649
|
'Nfts',
|
|
1516
1650
|
'NextCollectionIdIncremented',
|
|
1517
1651
|
{ nextId?: number | undefined }
|
|
@@ -1521,6 +1655,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1521
1655
|
* The price was set for the item.
|
|
1522
1656
|
**/
|
|
1523
1657
|
ItemPriceSet: GenericPalletEvent<
|
|
1658
|
+
Rv,
|
|
1524
1659
|
'Nfts',
|
|
1525
1660
|
'ItemPriceSet',
|
|
1526
1661
|
{ collection: number; item: number; price: bigint; whitelistedBuyer?: AccountId32 | undefined }
|
|
@@ -1529,12 +1664,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1529
1664
|
/**
|
|
1530
1665
|
* The price for the item was removed.
|
|
1531
1666
|
**/
|
|
1532
|
-
ItemPriceRemoved: GenericPalletEvent<'Nfts', 'ItemPriceRemoved', { collection: number; item: number }>;
|
|
1667
|
+
ItemPriceRemoved: GenericPalletEvent<Rv, 'Nfts', 'ItemPriceRemoved', { collection: number; item: number }>;
|
|
1533
1668
|
|
|
1534
1669
|
/**
|
|
1535
1670
|
* An item was bought.
|
|
1536
1671
|
**/
|
|
1537
1672
|
ItemBought: GenericPalletEvent<
|
|
1673
|
+
Rv,
|
|
1538
1674
|
'Nfts',
|
|
1539
1675
|
'ItemBought',
|
|
1540
1676
|
{ collection: number; item: number; price: bigint; seller: AccountId32; buyer: AccountId32 }
|
|
@@ -1544,6 +1680,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1544
1680
|
* A tip was sent.
|
|
1545
1681
|
**/
|
|
1546
1682
|
TipSent: GenericPalletEvent<
|
|
1683
|
+
Rv,
|
|
1547
1684
|
'Nfts',
|
|
1548
1685
|
'TipSent',
|
|
1549
1686
|
{ collection: number; item: number; sender: AccountId32; receiver: AccountId32; amount: bigint }
|
|
@@ -1553,6 +1690,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1553
1690
|
* An `item` swap intent was created.
|
|
1554
1691
|
**/
|
|
1555
1692
|
SwapCreated: GenericPalletEvent<
|
|
1693
|
+
Rv,
|
|
1556
1694
|
'Nfts',
|
|
1557
1695
|
'SwapCreated',
|
|
1558
1696
|
{
|
|
@@ -1569,6 +1707,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1569
1707
|
* The swap was cancelled.
|
|
1570
1708
|
**/
|
|
1571
1709
|
SwapCancelled: GenericPalletEvent<
|
|
1710
|
+
Rv,
|
|
1572
1711
|
'Nfts',
|
|
1573
1712
|
'SwapCancelled',
|
|
1574
1713
|
{
|
|
@@ -1585,6 +1724,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1585
1724
|
* The swap has been claimed.
|
|
1586
1725
|
**/
|
|
1587
1726
|
SwapClaimed: GenericPalletEvent<
|
|
1727
|
+
Rv,
|
|
1588
1728
|
'Nfts',
|
|
1589
1729
|
'SwapClaimed',
|
|
1590
1730
|
{
|
|
@@ -1603,6 +1743,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1603
1743
|
* New attributes have been set for an `item` of the `collection`.
|
|
1604
1744
|
**/
|
|
1605
1745
|
PreSignedAttributesSet: GenericPalletEvent<
|
|
1746
|
+
Rv,
|
|
1606
1747
|
'Nfts',
|
|
1607
1748
|
'PreSignedAttributesSet',
|
|
1608
1749
|
{ collection: number; item: number; namespace: PalletNftsAttributeNamespace }
|
|
@@ -1613,6 +1754,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1613
1754
|
* within that `collection`.
|
|
1614
1755
|
**/
|
|
1615
1756
|
PalletAttributeSet: GenericPalletEvent<
|
|
1757
|
+
Rv,
|
|
1616
1758
|
'Nfts',
|
|
1617
1759
|
'PalletAttributeSet',
|
|
1618
1760
|
{ collection: number; item?: number | undefined; attribute: PalletNftsPalletAttributes; value: Bytes }
|
|
@@ -1621,7 +1763,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1621
1763
|
/**
|
|
1622
1764
|
* Generic pallet event
|
|
1623
1765
|
**/
|
|
1624
|
-
[prop: string]: GenericPalletEvent
|
|
1766
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1625
1767
|
};
|
|
1626
1768
|
/**
|
|
1627
1769
|
* Pallet `ForeignAssets`'s events
|
|
@@ -1631,6 +1773,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1631
1773
|
* Some asset class was created.
|
|
1632
1774
|
**/
|
|
1633
1775
|
Created: GenericPalletEvent<
|
|
1776
|
+
Rv,
|
|
1634
1777
|
'ForeignAssets',
|
|
1635
1778
|
'Created',
|
|
1636
1779
|
{ assetId: StagingXcmV3MultilocationMultiLocation; creator: AccountId32; owner: AccountId32 }
|
|
@@ -1640,6 +1783,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1640
1783
|
* Some assets were issued.
|
|
1641
1784
|
**/
|
|
1642
1785
|
Issued: GenericPalletEvent<
|
|
1786
|
+
Rv,
|
|
1643
1787
|
'ForeignAssets',
|
|
1644
1788
|
'Issued',
|
|
1645
1789
|
{ assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; amount: bigint }
|
|
@@ -1649,6 +1793,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1649
1793
|
* Some assets were transferred.
|
|
1650
1794
|
**/
|
|
1651
1795
|
Transferred: GenericPalletEvent<
|
|
1796
|
+
Rv,
|
|
1652
1797
|
'ForeignAssets',
|
|
1653
1798
|
'Transferred',
|
|
1654
1799
|
{ assetId: StagingXcmV3MultilocationMultiLocation; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -1658,6 +1803,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1658
1803
|
* Some assets were destroyed.
|
|
1659
1804
|
**/
|
|
1660
1805
|
Burned: GenericPalletEvent<
|
|
1806
|
+
Rv,
|
|
1661
1807
|
'ForeignAssets',
|
|
1662
1808
|
'Burned',
|
|
1663
1809
|
{ assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; balance: bigint }
|
|
@@ -1667,6 +1813,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1667
1813
|
* The management team changed.
|
|
1668
1814
|
**/
|
|
1669
1815
|
TeamChanged: GenericPalletEvent<
|
|
1816
|
+
Rv,
|
|
1670
1817
|
'ForeignAssets',
|
|
1671
1818
|
'TeamChanged',
|
|
1672
1819
|
{ assetId: StagingXcmV3MultilocationMultiLocation; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -1676,6 +1823,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1676
1823
|
* The owner changed.
|
|
1677
1824
|
**/
|
|
1678
1825
|
OwnerChanged: GenericPalletEvent<
|
|
1826
|
+
Rv,
|
|
1679
1827
|
'ForeignAssets',
|
|
1680
1828
|
'OwnerChanged',
|
|
1681
1829
|
{ assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
|
|
@@ -1685,6 +1833,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1685
1833
|
* Some account `who` was frozen.
|
|
1686
1834
|
**/
|
|
1687
1835
|
Frozen: GenericPalletEvent<
|
|
1836
|
+
Rv,
|
|
1688
1837
|
'ForeignAssets',
|
|
1689
1838
|
'Frozen',
|
|
1690
1839
|
{ assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
|
|
@@ -1694,6 +1843,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1694
1843
|
* Some account `who` was thawed.
|
|
1695
1844
|
**/
|
|
1696
1845
|
Thawed: GenericPalletEvent<
|
|
1846
|
+
Rv,
|
|
1697
1847
|
'ForeignAssets',
|
|
1698
1848
|
'Thawed',
|
|
1699
1849
|
{ assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
|
|
@@ -1703,6 +1853,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1703
1853
|
* Some asset `asset_id` was frozen.
|
|
1704
1854
|
**/
|
|
1705
1855
|
AssetFrozen: GenericPalletEvent<
|
|
1856
|
+
Rv,
|
|
1706
1857
|
'ForeignAssets',
|
|
1707
1858
|
'AssetFrozen',
|
|
1708
1859
|
{ assetId: StagingXcmV3MultilocationMultiLocation }
|
|
@@ -1712,6 +1863,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1712
1863
|
* Some asset `asset_id` was thawed.
|
|
1713
1864
|
**/
|
|
1714
1865
|
AssetThawed: GenericPalletEvent<
|
|
1866
|
+
Rv,
|
|
1715
1867
|
'ForeignAssets',
|
|
1716
1868
|
'AssetThawed',
|
|
1717
1869
|
{ assetId: StagingXcmV3MultilocationMultiLocation }
|
|
@@ -1721,6 +1873,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1721
1873
|
* Accounts were destroyed for given asset.
|
|
1722
1874
|
**/
|
|
1723
1875
|
AccountsDestroyed: GenericPalletEvent<
|
|
1876
|
+
Rv,
|
|
1724
1877
|
'ForeignAssets',
|
|
1725
1878
|
'AccountsDestroyed',
|
|
1726
1879
|
{ assetId: StagingXcmV3MultilocationMultiLocation; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -1730,6 +1883,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1730
1883
|
* Approvals were destroyed for given asset.
|
|
1731
1884
|
**/
|
|
1732
1885
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
1886
|
+
Rv,
|
|
1733
1887
|
'ForeignAssets',
|
|
1734
1888
|
'ApprovalsDestroyed',
|
|
1735
1889
|
{ assetId: StagingXcmV3MultilocationMultiLocation; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -1739,6 +1893,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1739
1893
|
* An asset class is in the process of being destroyed.
|
|
1740
1894
|
**/
|
|
1741
1895
|
DestructionStarted: GenericPalletEvent<
|
|
1896
|
+
Rv,
|
|
1742
1897
|
'ForeignAssets',
|
|
1743
1898
|
'DestructionStarted',
|
|
1744
1899
|
{ assetId: StagingXcmV3MultilocationMultiLocation }
|
|
@@ -1747,12 +1902,18 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1747
1902
|
/**
|
|
1748
1903
|
* An asset class was destroyed.
|
|
1749
1904
|
**/
|
|
1750
|
-
Destroyed: GenericPalletEvent<
|
|
1905
|
+
Destroyed: GenericPalletEvent<
|
|
1906
|
+
Rv,
|
|
1907
|
+
'ForeignAssets',
|
|
1908
|
+
'Destroyed',
|
|
1909
|
+
{ assetId: StagingXcmV3MultilocationMultiLocation }
|
|
1910
|
+
>;
|
|
1751
1911
|
|
|
1752
1912
|
/**
|
|
1753
1913
|
* Some asset class was force-created.
|
|
1754
1914
|
**/
|
|
1755
1915
|
ForceCreated: GenericPalletEvent<
|
|
1916
|
+
Rv,
|
|
1756
1917
|
'ForeignAssets',
|
|
1757
1918
|
'ForceCreated',
|
|
1758
1919
|
{ assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32 }
|
|
@@ -1762,6 +1923,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1762
1923
|
* New metadata has been set for an asset.
|
|
1763
1924
|
**/
|
|
1764
1925
|
MetadataSet: GenericPalletEvent<
|
|
1926
|
+
Rv,
|
|
1765
1927
|
'ForeignAssets',
|
|
1766
1928
|
'MetadataSet',
|
|
1767
1929
|
{
|
|
@@ -1777,6 +1939,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1777
1939
|
* Metadata has been cleared for an asset.
|
|
1778
1940
|
**/
|
|
1779
1941
|
MetadataCleared: GenericPalletEvent<
|
|
1942
|
+
Rv,
|
|
1780
1943
|
'ForeignAssets',
|
|
1781
1944
|
'MetadataCleared',
|
|
1782
1945
|
{ assetId: StagingXcmV3MultilocationMultiLocation }
|
|
@@ -1786,6 +1949,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1786
1949
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1787
1950
|
**/
|
|
1788
1951
|
ApprovedTransfer: GenericPalletEvent<
|
|
1952
|
+
Rv,
|
|
1789
1953
|
'ForeignAssets',
|
|
1790
1954
|
'ApprovedTransfer',
|
|
1791
1955
|
{ assetId: StagingXcmV3MultilocationMultiLocation; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -1795,6 +1959,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1795
1959
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1796
1960
|
**/
|
|
1797
1961
|
ApprovalCancelled: GenericPalletEvent<
|
|
1962
|
+
Rv,
|
|
1798
1963
|
'ForeignAssets',
|
|
1799
1964
|
'ApprovalCancelled',
|
|
1800
1965
|
{ assetId: StagingXcmV3MultilocationMultiLocation; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1805,6 +1970,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1805
1970
|
* the approved `delegate`.
|
|
1806
1971
|
**/
|
|
1807
1972
|
TransferredApproved: GenericPalletEvent<
|
|
1973
|
+
Rv,
|
|
1808
1974
|
'ForeignAssets',
|
|
1809
1975
|
'TransferredApproved',
|
|
1810
1976
|
{
|
|
@@ -1820,6 +1986,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1820
1986
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1821
1987
|
**/
|
|
1822
1988
|
AssetStatusChanged: GenericPalletEvent<
|
|
1989
|
+
Rv,
|
|
1823
1990
|
'ForeignAssets',
|
|
1824
1991
|
'AssetStatusChanged',
|
|
1825
1992
|
{ assetId: StagingXcmV3MultilocationMultiLocation }
|
|
@@ -1829,6 +1996,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1829
1996
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1830
1997
|
**/
|
|
1831
1998
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
1999
|
+
Rv,
|
|
1832
2000
|
'ForeignAssets',
|
|
1833
2001
|
'AssetMinBalanceChanged',
|
|
1834
2002
|
{ assetId: StagingXcmV3MultilocationMultiLocation; newMinBalance: bigint }
|
|
@@ -1838,6 +2006,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1838
2006
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1839
2007
|
**/
|
|
1840
2008
|
Touched: GenericPalletEvent<
|
|
2009
|
+
Rv,
|
|
1841
2010
|
'ForeignAssets',
|
|
1842
2011
|
'Touched',
|
|
1843
2012
|
{ assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32; depositor: AccountId32 }
|
|
@@ -1847,6 +2016,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1847
2016
|
* Some account `who` was blocked.
|
|
1848
2017
|
**/
|
|
1849
2018
|
Blocked: GenericPalletEvent<
|
|
2019
|
+
Rv,
|
|
1850
2020
|
'ForeignAssets',
|
|
1851
2021
|
'Blocked',
|
|
1852
2022
|
{ assetId: StagingXcmV3MultilocationMultiLocation; who: AccountId32 }
|
|
@@ -1855,7 +2025,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1855
2025
|
/**
|
|
1856
2026
|
* Generic pallet event
|
|
1857
2027
|
**/
|
|
1858
|
-
[prop: string]: GenericPalletEvent
|
|
2028
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1859
2029
|
};
|
|
1860
2030
|
/**
|
|
1861
2031
|
* Pallet `NftFractionalization`'s events
|
|
@@ -1865,6 +2035,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1865
2035
|
* An NFT was successfully fractionalized.
|
|
1866
2036
|
**/
|
|
1867
2037
|
NftFractionalized: GenericPalletEvent<
|
|
2038
|
+
Rv,
|
|
1868
2039
|
'NftFractionalization',
|
|
1869
2040
|
'NftFractionalized',
|
|
1870
2041
|
{ nftCollection: number; nft: number; fractions: bigint; asset: number; beneficiary: AccountId32 }
|
|
@@ -1874,6 +2045,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1874
2045
|
* An NFT was successfully returned back.
|
|
1875
2046
|
**/
|
|
1876
2047
|
NftUnified: GenericPalletEvent<
|
|
2048
|
+
Rv,
|
|
1877
2049
|
'NftFractionalization',
|
|
1878
2050
|
'NftUnified',
|
|
1879
2051
|
{ nftCollection: number; nft: number; asset: number; beneficiary: AccountId32 }
|
|
@@ -1882,7 +2054,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1882
2054
|
/**
|
|
1883
2055
|
* Generic pallet event
|
|
1884
2056
|
**/
|
|
1885
|
-
[prop: string]: GenericPalletEvent
|
|
2057
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
1886
2058
|
};
|
|
1887
2059
|
/**
|
|
1888
2060
|
* Pallet `PoolAssets`'s events
|
|
@@ -1891,17 +2063,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1891
2063
|
/**
|
|
1892
2064
|
* Some asset class was created.
|
|
1893
2065
|
**/
|
|
1894
|
-
Created: GenericPalletEvent<
|
|
2066
|
+
Created: GenericPalletEvent<
|
|
2067
|
+
Rv,
|
|
2068
|
+
'PoolAssets',
|
|
2069
|
+
'Created',
|
|
2070
|
+
{ assetId: number; creator: AccountId32; owner: AccountId32 }
|
|
2071
|
+
>;
|
|
1895
2072
|
|
|
1896
2073
|
/**
|
|
1897
2074
|
* Some assets were issued.
|
|
1898
2075
|
**/
|
|
1899
|
-
Issued: GenericPalletEvent<'PoolAssets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
|
|
2076
|
+
Issued: GenericPalletEvent<Rv, 'PoolAssets', 'Issued', { assetId: number; owner: AccountId32; amount: bigint }>;
|
|
1900
2077
|
|
|
1901
2078
|
/**
|
|
1902
2079
|
* Some assets were transferred.
|
|
1903
2080
|
**/
|
|
1904
2081
|
Transferred: GenericPalletEvent<
|
|
2082
|
+
Rv,
|
|
1905
2083
|
'PoolAssets',
|
|
1906
2084
|
'Transferred',
|
|
1907
2085
|
{ assetId: number; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -1910,12 +2088,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1910
2088
|
/**
|
|
1911
2089
|
* Some assets were destroyed.
|
|
1912
2090
|
**/
|
|
1913
|
-
Burned: GenericPalletEvent<'PoolAssets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
|
|
2091
|
+
Burned: GenericPalletEvent<Rv, 'PoolAssets', 'Burned', { assetId: number; owner: AccountId32; balance: bigint }>;
|
|
1914
2092
|
|
|
1915
2093
|
/**
|
|
1916
2094
|
* The management team changed.
|
|
1917
2095
|
**/
|
|
1918
2096
|
TeamChanged: GenericPalletEvent<
|
|
2097
|
+
Rv,
|
|
1919
2098
|
'PoolAssets',
|
|
1920
2099
|
'TeamChanged',
|
|
1921
2100
|
{ assetId: number; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -1924,32 +2103,33 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1924
2103
|
/**
|
|
1925
2104
|
* The owner changed.
|
|
1926
2105
|
**/
|
|
1927
|
-
OwnerChanged: GenericPalletEvent<'PoolAssets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
|
|
2106
|
+
OwnerChanged: GenericPalletEvent<Rv, 'PoolAssets', 'OwnerChanged', { assetId: number; owner: AccountId32 }>;
|
|
1928
2107
|
|
|
1929
2108
|
/**
|
|
1930
2109
|
* Some account `who` was frozen.
|
|
1931
2110
|
**/
|
|
1932
|
-
Frozen: GenericPalletEvent<'PoolAssets', 'Frozen', { assetId: number; who: AccountId32 }>;
|
|
2111
|
+
Frozen: GenericPalletEvent<Rv, 'PoolAssets', 'Frozen', { assetId: number; who: AccountId32 }>;
|
|
1933
2112
|
|
|
1934
2113
|
/**
|
|
1935
2114
|
* Some account `who` was thawed.
|
|
1936
2115
|
**/
|
|
1937
|
-
Thawed: GenericPalletEvent<'PoolAssets', 'Thawed', { assetId: number; who: AccountId32 }>;
|
|
2116
|
+
Thawed: GenericPalletEvent<Rv, 'PoolAssets', 'Thawed', { assetId: number; who: AccountId32 }>;
|
|
1938
2117
|
|
|
1939
2118
|
/**
|
|
1940
2119
|
* Some asset `asset_id` was frozen.
|
|
1941
2120
|
**/
|
|
1942
|
-
AssetFrozen: GenericPalletEvent<'PoolAssets', 'AssetFrozen', { assetId: number }>;
|
|
2121
|
+
AssetFrozen: GenericPalletEvent<Rv, 'PoolAssets', 'AssetFrozen', { assetId: number }>;
|
|
1943
2122
|
|
|
1944
2123
|
/**
|
|
1945
2124
|
* Some asset `asset_id` was thawed.
|
|
1946
2125
|
**/
|
|
1947
|
-
AssetThawed: GenericPalletEvent<'PoolAssets', 'AssetThawed', { assetId: number }>;
|
|
2126
|
+
AssetThawed: GenericPalletEvent<Rv, 'PoolAssets', 'AssetThawed', { assetId: number }>;
|
|
1948
2127
|
|
|
1949
2128
|
/**
|
|
1950
2129
|
* Accounts were destroyed for given asset.
|
|
1951
2130
|
**/
|
|
1952
2131
|
AccountsDestroyed: GenericPalletEvent<
|
|
2132
|
+
Rv,
|
|
1953
2133
|
'PoolAssets',
|
|
1954
2134
|
'AccountsDestroyed',
|
|
1955
2135
|
{ assetId: number; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -1959,6 +2139,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1959
2139
|
* Approvals were destroyed for given asset.
|
|
1960
2140
|
**/
|
|
1961
2141
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
2142
|
+
Rv,
|
|
1962
2143
|
'PoolAssets',
|
|
1963
2144
|
'ApprovalsDestroyed',
|
|
1964
2145
|
{ assetId: number; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -1967,22 +2148,23 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1967
2148
|
/**
|
|
1968
2149
|
* An asset class is in the process of being destroyed.
|
|
1969
2150
|
**/
|
|
1970
|
-
DestructionStarted: GenericPalletEvent<'PoolAssets', 'DestructionStarted', { assetId: number }>;
|
|
2151
|
+
DestructionStarted: GenericPalletEvent<Rv, 'PoolAssets', 'DestructionStarted', { assetId: number }>;
|
|
1971
2152
|
|
|
1972
2153
|
/**
|
|
1973
2154
|
* An asset class was destroyed.
|
|
1974
2155
|
**/
|
|
1975
|
-
Destroyed: GenericPalletEvent<'PoolAssets', 'Destroyed', { assetId: number }>;
|
|
2156
|
+
Destroyed: GenericPalletEvent<Rv, 'PoolAssets', 'Destroyed', { assetId: number }>;
|
|
1976
2157
|
|
|
1977
2158
|
/**
|
|
1978
2159
|
* Some asset class was force-created.
|
|
1979
2160
|
**/
|
|
1980
|
-
ForceCreated: GenericPalletEvent<'PoolAssets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
|
|
2161
|
+
ForceCreated: GenericPalletEvent<Rv, 'PoolAssets', 'ForceCreated', { assetId: number; owner: AccountId32 }>;
|
|
1981
2162
|
|
|
1982
2163
|
/**
|
|
1983
2164
|
* New metadata has been set for an asset.
|
|
1984
2165
|
**/
|
|
1985
2166
|
MetadataSet: GenericPalletEvent<
|
|
2167
|
+
Rv,
|
|
1986
2168
|
'PoolAssets',
|
|
1987
2169
|
'MetadataSet',
|
|
1988
2170
|
{ assetId: number; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
@@ -1991,12 +2173,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1991
2173
|
/**
|
|
1992
2174
|
* Metadata has been cleared for an asset.
|
|
1993
2175
|
**/
|
|
1994
|
-
MetadataCleared: GenericPalletEvent<'PoolAssets', 'MetadataCleared', { assetId: number }>;
|
|
2176
|
+
MetadataCleared: GenericPalletEvent<Rv, 'PoolAssets', 'MetadataCleared', { assetId: number }>;
|
|
1995
2177
|
|
|
1996
2178
|
/**
|
|
1997
2179
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1998
2180
|
**/
|
|
1999
2181
|
ApprovedTransfer: GenericPalletEvent<
|
|
2182
|
+
Rv,
|
|
2000
2183
|
'PoolAssets',
|
|
2001
2184
|
'ApprovedTransfer',
|
|
2002
2185
|
{ assetId: number; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -2006,6 +2189,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2006
2189
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
2007
2190
|
**/
|
|
2008
2191
|
ApprovalCancelled: GenericPalletEvent<
|
|
2192
|
+
Rv,
|
|
2009
2193
|
'PoolAssets',
|
|
2010
2194
|
'ApprovalCancelled',
|
|
2011
2195
|
{ assetId: number; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -2016,6 +2200,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2016
2200
|
* the approved `delegate`.
|
|
2017
2201
|
**/
|
|
2018
2202
|
TransferredApproved: GenericPalletEvent<
|
|
2203
|
+
Rv,
|
|
2019
2204
|
'PoolAssets',
|
|
2020
2205
|
'TransferredApproved',
|
|
2021
2206
|
{ assetId: number; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
|
|
@@ -2024,12 +2209,13 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2024
2209
|
/**
|
|
2025
2210
|
* An asset has had its attributes changed by the `Force` origin.
|
|
2026
2211
|
**/
|
|
2027
|
-
AssetStatusChanged: GenericPalletEvent<'PoolAssets', 'AssetStatusChanged', { assetId: number }>;
|
|
2212
|
+
AssetStatusChanged: GenericPalletEvent<Rv, 'PoolAssets', 'AssetStatusChanged', { assetId: number }>;
|
|
2028
2213
|
|
|
2029
2214
|
/**
|
|
2030
2215
|
* The min_balance of an asset has been updated by the asset owner.
|
|
2031
2216
|
**/
|
|
2032
2217
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
2218
|
+
Rv,
|
|
2033
2219
|
'PoolAssets',
|
|
2034
2220
|
'AssetMinBalanceChanged',
|
|
2035
2221
|
{ assetId: number; newMinBalance: bigint }
|
|
@@ -2038,17 +2224,22 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2038
2224
|
/**
|
|
2039
2225
|
* Some account `who` was created with a deposit from `depositor`.
|
|
2040
2226
|
**/
|
|
2041
|
-
Touched: GenericPalletEvent<
|
|
2227
|
+
Touched: GenericPalletEvent<
|
|
2228
|
+
Rv,
|
|
2229
|
+
'PoolAssets',
|
|
2230
|
+
'Touched',
|
|
2231
|
+
{ assetId: number; who: AccountId32; depositor: AccountId32 }
|
|
2232
|
+
>;
|
|
2042
2233
|
|
|
2043
2234
|
/**
|
|
2044
2235
|
* Some account `who` was blocked.
|
|
2045
2236
|
**/
|
|
2046
|
-
Blocked: GenericPalletEvent<'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
|
|
2237
|
+
Blocked: GenericPalletEvent<Rv, 'PoolAssets', 'Blocked', { assetId: number; who: AccountId32 }>;
|
|
2047
2238
|
|
|
2048
2239
|
/**
|
|
2049
2240
|
* Generic pallet event
|
|
2050
2241
|
**/
|
|
2051
|
-
[prop: string]: GenericPalletEvent
|
|
2242
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
2052
2243
|
};
|
|
2053
2244
|
/**
|
|
2054
2245
|
* Pallet `AssetConversion`'s events
|
|
@@ -2058,6 +2249,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2058
2249
|
* A successful call of the `CretaPool` extrinsic will create this event.
|
|
2059
2250
|
**/
|
|
2060
2251
|
PoolCreated: GenericPalletEvent<
|
|
2252
|
+
Rv,
|
|
2061
2253
|
'AssetConversion',
|
|
2062
2254
|
'PoolCreated',
|
|
2063
2255
|
{
|
|
@@ -2089,6 +2281,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2089
2281
|
* A successful call of the `AddLiquidity` extrinsic will create this event.
|
|
2090
2282
|
**/
|
|
2091
2283
|
LiquidityAdded: GenericPalletEvent<
|
|
2284
|
+
Rv,
|
|
2092
2285
|
'AssetConversion',
|
|
2093
2286
|
'LiquidityAdded',
|
|
2094
2287
|
{
|
|
@@ -2133,6 +2326,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2133
2326
|
* A successful call of the `RemoveLiquidity` extrinsic will create this event.
|
|
2134
2327
|
**/
|
|
2135
2328
|
LiquidityRemoved: GenericPalletEvent<
|
|
2329
|
+
Rv,
|
|
2136
2330
|
'AssetConversion',
|
|
2137
2331
|
'LiquidityRemoved',
|
|
2138
2332
|
{
|
|
@@ -2183,6 +2377,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2183
2377
|
* and `SwapTokenForExactToken` will generate this event.
|
|
2184
2378
|
**/
|
|
2185
2379
|
SwapExecuted: GenericPalletEvent<
|
|
2380
|
+
Rv,
|
|
2186
2381
|
'AssetConversion',
|
|
2187
2382
|
'SwapExecuted',
|
|
2188
2383
|
{
|
|
@@ -2196,12 +2391,6 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2196
2391
|
**/
|
|
2197
2392
|
sendTo: AccountId32;
|
|
2198
2393
|
|
|
2199
|
-
/**
|
|
2200
|
-
* The route of asset ids that the swap went through.
|
|
2201
|
-
* E.g. A -> Dot -> B
|
|
2202
|
-
**/
|
|
2203
|
-
path: Array<StagingXcmV3MultilocationMultiLocation>;
|
|
2204
|
-
|
|
2205
2394
|
/**
|
|
2206
2395
|
* The amount of the first asset that was swapped.
|
|
2207
2396
|
**/
|
|
@@ -2211,41 +2400,44 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2211
2400
|
* The amount of the second asset that was received.
|
|
2212
2401
|
**/
|
|
2213
2402
|
amountOut: bigint;
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* The route of asset IDs with amounts that the swap went through.
|
|
2406
|
+
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2407
|
+
**/
|
|
2408
|
+
path: Array<[StagingXcmV3MultilocationMultiLocation, bigint]>;
|
|
2214
2409
|
}
|
|
2215
2410
|
>;
|
|
2216
2411
|
|
|
2217
2412
|
/**
|
|
2218
|
-
*
|
|
2413
|
+
* Assets have been converted from one to another.
|
|
2219
2414
|
**/
|
|
2220
|
-
|
|
2415
|
+
SwapCreditExecuted: GenericPalletEvent<
|
|
2416
|
+
Rv,
|
|
2221
2417
|
'AssetConversion',
|
|
2222
|
-
'
|
|
2418
|
+
'SwapCreditExecuted',
|
|
2223
2419
|
{
|
|
2224
2420
|
/**
|
|
2225
|
-
* The
|
|
2226
|
-
**/
|
|
2227
|
-
from: AccountId32;
|
|
2228
|
-
|
|
2229
|
-
/**
|
|
2230
|
-
* The account that the assets were transferred to.
|
|
2421
|
+
* The amount of the first asset that was swapped.
|
|
2231
2422
|
**/
|
|
2232
|
-
|
|
2423
|
+
amountIn: bigint;
|
|
2233
2424
|
|
|
2234
2425
|
/**
|
|
2235
|
-
* The asset that was
|
|
2426
|
+
* The amount of the second asset that was received.
|
|
2236
2427
|
**/
|
|
2237
|
-
|
|
2428
|
+
amountOut: bigint;
|
|
2238
2429
|
|
|
2239
2430
|
/**
|
|
2240
|
-
* The
|
|
2431
|
+
* The route of asset IDs with amounts that the swap went through.
|
|
2432
|
+
* E.g. (A, amount_in) -> (Dot, amount_out) -> (B, amount_out)
|
|
2241
2433
|
**/
|
|
2242
|
-
|
|
2434
|
+
path: Array<[StagingXcmV3MultilocationMultiLocation, bigint]>;
|
|
2243
2435
|
}
|
|
2244
2436
|
>;
|
|
2245
2437
|
|
|
2246
2438
|
/**
|
|
2247
2439
|
* Generic pallet event
|
|
2248
2440
|
**/
|
|
2249
|
-
[prop: string]: GenericPalletEvent
|
|
2441
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
2250
2442
|
};
|
|
2251
2443
|
}
|