@dedot/chaintypes 0.0.1-alpha.100
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/LICENSE +201 -0
- package/README.md +5 -0
- package/aleph/consts.d.ts +676 -0
- package/aleph/errors.d.ts +1054 -0
- package/aleph/events.d.ts +1201 -0
- package/aleph/index.d.ts +27 -0
- package/aleph/json-rpc.d.ts +85 -0
- package/aleph/query.d.ts +1573 -0
- package/aleph/runtime.d.ts +596 -0
- package/aleph/tx.d.ts +3440 -0
- package/aleph/types.d.ts +3951 -0
- package/astar/consts.d.ts +737 -0
- package/astar/errors.d.ts +1508 -0
- package/astar/events.d.ts +1878 -0
- package/astar/index.d.ts +27 -0
- package/astar/json-rpc.d.ts +131 -0
- package/astar/query.d.ts +1851 -0
- package/astar/runtime.d.ts +803 -0
- package/astar/tx.d.ts +4516 -0
- package/astar/types.d.ts +6141 -0
- package/index.d.ts +11 -0
- package/index.js +1 -0
- package/index.ts +11 -0
- package/kusama/consts.d.ts +1578 -0
- package/kusama/errors.d.ts +3152 -0
- package/kusama/events.d.ts +3579 -0
- package/kusama/index.d.ts +27 -0
- package/kusama/json-rpc.d.ts +103 -0
- package/kusama/query.d.ts +4229 -0
- package/kusama/runtime.d.ts +1196 -0
- package/kusama/tx.d.ts +9040 -0
- package/kusama/types.d.ts +11369 -0
- package/kusamaAssetHub/consts.d.ts +759 -0
- package/kusamaAssetHub/errors.d.ts +1494 -0
- package/kusamaAssetHub/events.d.ts +2491 -0
- package/kusamaAssetHub/index.d.ts +27 -0
- package/kusamaAssetHub/json-rpc.d.ts +89 -0
- package/kusamaAssetHub/query.d.ts +1662 -0
- package/kusamaAssetHub/runtime.d.ts +555 -0
- package/kusamaAssetHub/tx.d.ts +6192 -0
- package/kusamaAssetHub/types.d.ts +6831 -0
- package/moonbeam/consts.d.ts +1010 -0
- package/moonbeam/errors.d.ts +1932 -0
- package/moonbeam/events.d.ts +2928 -0
- package/moonbeam/index.d.ts +27 -0
- package/moonbeam/json-rpc.d.ts +137 -0
- package/moonbeam/query.d.ts +2282 -0
- package/moonbeam/runtime.d.ts +724 -0
- package/moonbeam/tx.d.ts +6222 -0
- package/moonbeam/types.d.ts +8165 -0
- package/package.json +25 -0
- package/polkadot/consts.d.ts +1313 -0
- package/polkadot/errors.d.ts +2575 -0
- package/polkadot/events.d.ts +2757 -0
- package/polkadot/index.d.ts +27 -0
- package/polkadot/json-rpc.d.ts +103 -0
- package/polkadot/query.d.ts +3693 -0
- package/polkadot/runtime.d.ts +1196 -0
- package/polkadot/tx.d.ts +7706 -0
- package/polkadot/types.d.ts +9893 -0
- package/polkadotAssetHub/consts.d.ts +724 -0
- package/polkadotAssetHub/errors.d.ts +1465 -0
- package/polkadotAssetHub/events.d.ts +2462 -0
- package/polkadotAssetHub/index.d.ts +27 -0
- package/polkadotAssetHub/json-rpc.d.ts +89 -0
- package/polkadotAssetHub/query.d.ts +1640 -0
- package/polkadotAssetHub/runtime.d.ts +558 -0
- package/polkadotAssetHub/tx.d.ts +6121 -0
- package/polkadotAssetHub/types.d.ts +6739 -0
- package/rococo/consts.d.ts +1423 -0
- package/rococo/errors.d.ts +2783 -0
- package/rococo/events.d.ts +3361 -0
- package/rococo/index.d.ts +27 -0
- package/rococo/json-rpc.d.ts +103 -0
- package/rococo/query.d.ts +3561 -0
- package/rococo/runtime.d.ts +1257 -0
- package/rococo/tx.d.ts +10721 -0
- package/rococo/types.d.ts +14828 -0
- package/rococoAssetHub/consts.d.ts +787 -0
- package/rococoAssetHub/errors.d.ts +1523 -0
- package/rococoAssetHub/events.d.ts +2517 -0
- package/rococoAssetHub/index.d.ts +27 -0
- package/rococoAssetHub/json-rpc.d.ts +89 -0
- package/rococoAssetHub/query.d.ts +1682 -0
- package/rococoAssetHub/runtime.d.ts +704 -0
- package/rococoAssetHub/tx.d.ts +9013 -0
- package/rococoAssetHub/types.d.ts +12352 -0
- package/substrate/consts.d.ts +2223 -0
- package/substrate/errors.d.ts +4023 -0
- package/substrate/events.d.ts +5430 -0
- package/substrate/index.d.ts +27 -0
- package/substrate/json-rpc.d.ts +101 -0
- package/substrate/query.d.ts +4083 -0
- package/substrate/runtime.d.ts +971 -0
- package/substrate/tx.d.ts +12501 -0
- package/substrate/types.d.ts +13380 -0
- package/westendAssetHub/consts.d.ts +787 -0
- package/westendAssetHub/errors.d.ts +1523 -0
- package/westendAssetHub/events.d.ts +2477 -0
- package/westendAssetHub/index.d.ts +27 -0
- package/westendAssetHub/json-rpc.d.ts +89 -0
- package/westendAssetHub/query.d.ts +1656 -0
- package/westendAssetHub/runtime.d.ts +652 -0
- package/westendAssetHub/tx.d.ts +8984 -0
- package/westendAssetHub/types.d.ts +12292 -0
package/aleph/types.d.ts
ADDED
|
@@ -0,0 +1,3951 @@
|
|
|
1
|
+
// Generated by @dedot/codegen
|
|
2
|
+
|
|
3
|
+
import type {
|
|
4
|
+
Phase,
|
|
5
|
+
H256,
|
|
6
|
+
DispatchInfo,
|
|
7
|
+
DispatchError,
|
|
8
|
+
AccountId32,
|
|
9
|
+
FixedBytes,
|
|
10
|
+
Result,
|
|
11
|
+
Perbill,
|
|
12
|
+
Bytes,
|
|
13
|
+
BytesLike,
|
|
14
|
+
MultiAddress,
|
|
15
|
+
MultiAddressLike,
|
|
16
|
+
AccountId32Like,
|
|
17
|
+
Percent,
|
|
18
|
+
Data,
|
|
19
|
+
FixedU128,
|
|
20
|
+
Era,
|
|
21
|
+
Header,
|
|
22
|
+
UncheckedExtrinsic,
|
|
23
|
+
} from 'dedot/codecs';
|
|
24
|
+
|
|
25
|
+
export type FrameSystemAccountInfo = {
|
|
26
|
+
nonce: number;
|
|
27
|
+
consumers: number;
|
|
28
|
+
providers: number;
|
|
29
|
+
sufficients: number;
|
|
30
|
+
data: PalletBalancesAccountData;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type PalletBalancesAccountData = {
|
|
34
|
+
free: bigint;
|
|
35
|
+
reserved: bigint;
|
|
36
|
+
frozen: bigint;
|
|
37
|
+
flags: PalletBalancesExtraFlags;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type PalletBalancesExtraFlags = bigint;
|
|
41
|
+
|
|
42
|
+
export type FrameSupportDispatchPerDispatchClass = {
|
|
43
|
+
normal: SpWeightsWeightV2Weight;
|
|
44
|
+
operational: SpWeightsWeightV2Weight;
|
|
45
|
+
mandatory: SpWeightsWeightV2Weight;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export type SpWeightsWeightV2Weight = { refTime: bigint; proofSize: bigint };
|
|
49
|
+
|
|
50
|
+
export type FrameSystemEventRecord = { phase: Phase; event: AlephRuntimeRuntimeEvent; topics: Array<H256> };
|
|
51
|
+
|
|
52
|
+
export type AlephRuntimeRuntimeEvent =
|
|
53
|
+
| { pallet: 'System'; palletEvent: FrameSystemEvent }
|
|
54
|
+
| { pallet: 'Scheduler'; palletEvent: PalletSchedulerEvent }
|
|
55
|
+
| { pallet: 'Balances'; palletEvent: PalletBalancesEvent }
|
|
56
|
+
| { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
|
|
57
|
+
| { pallet: 'Staking'; palletEvent: PalletStakingPalletEvent }
|
|
58
|
+
| { pallet: 'Session'; palletEvent: PalletSessionEvent }
|
|
59
|
+
| { pallet: 'Aleph'; palletEvent: PalletAlephEvent }
|
|
60
|
+
| { pallet: 'Elections'; palletEvent: PalletElectionsEvent }
|
|
61
|
+
| { pallet: 'Treasury'; palletEvent: PalletTreasuryEvent }
|
|
62
|
+
| { pallet: 'Vesting'; palletEvent: PalletVestingEvent }
|
|
63
|
+
| { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
|
|
64
|
+
| { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
|
|
65
|
+
| { pallet: 'Sudo'; palletEvent: PalletSudoEvent }
|
|
66
|
+
| { pallet: 'Contracts'; palletEvent: PalletContractsEvent }
|
|
67
|
+
| { pallet: 'NominationPools'; palletEvent: PalletNominationPoolsEvent }
|
|
68
|
+
| { pallet: 'Identity'; palletEvent: PalletIdentityEvent }
|
|
69
|
+
| { pallet: 'CommitteeManagement'; palletEvent: PalletCommitteeManagementEvent }
|
|
70
|
+
| { pallet: 'Proxy'; palletEvent: PalletProxyEvent }
|
|
71
|
+
| { pallet: 'Operations'; palletEvent: PalletOperationsEvent };
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Event for the System pallet.
|
|
75
|
+
**/
|
|
76
|
+
export type FrameSystemEvent =
|
|
77
|
+
/**
|
|
78
|
+
* An extrinsic completed successfully.
|
|
79
|
+
**/
|
|
80
|
+
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo: DispatchInfo } }
|
|
81
|
+
/**
|
|
82
|
+
* An extrinsic failed.
|
|
83
|
+
**/
|
|
84
|
+
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: DispatchInfo } }
|
|
85
|
+
/**
|
|
86
|
+
* `:code` was updated.
|
|
87
|
+
**/
|
|
88
|
+
| { name: 'CodeUpdated' }
|
|
89
|
+
/**
|
|
90
|
+
* A new account was created.
|
|
91
|
+
**/
|
|
92
|
+
| { name: 'NewAccount'; data: { account: AccountId32 } }
|
|
93
|
+
/**
|
|
94
|
+
* An account was reaped.
|
|
95
|
+
**/
|
|
96
|
+
| { name: 'KilledAccount'; data: { account: AccountId32 } }
|
|
97
|
+
/**
|
|
98
|
+
* On on-chain remark happened.
|
|
99
|
+
**/
|
|
100
|
+
| { name: 'Remarked'; data: { sender: AccountId32; hash: H256 } };
|
|
101
|
+
|
|
102
|
+
export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
|
|
103
|
+
|
|
104
|
+
export type FrameSupportDispatchPays = 'Yes' | 'No';
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Events type.
|
|
108
|
+
**/
|
|
109
|
+
export type PalletSchedulerEvent =
|
|
110
|
+
/**
|
|
111
|
+
* Scheduled some task.
|
|
112
|
+
**/
|
|
113
|
+
| { name: 'Scheduled'; data: { when: number; index: number } }
|
|
114
|
+
/**
|
|
115
|
+
* Canceled some task.
|
|
116
|
+
**/
|
|
117
|
+
| { name: 'Canceled'; data: { when: number; index: number } }
|
|
118
|
+
/**
|
|
119
|
+
* Dispatched some task.
|
|
120
|
+
**/
|
|
121
|
+
| {
|
|
122
|
+
name: 'Dispatched';
|
|
123
|
+
data: { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> };
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The call for the provided hash was not found so the task has been aborted.
|
|
127
|
+
**/
|
|
128
|
+
| { name: 'CallUnavailable'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
129
|
+
/**
|
|
130
|
+
* The given task was unable to be renewed since the agenda is full at that block.
|
|
131
|
+
**/
|
|
132
|
+
| { name: 'PeriodicFailed'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } }
|
|
133
|
+
/**
|
|
134
|
+
* The given task can never be executed since it is overweight.
|
|
135
|
+
**/
|
|
136
|
+
| { name: 'PermanentlyOverweight'; data: { task: [number, number]; id?: FixedBytes<32> | undefined } };
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* The `Event` enum of this pallet
|
|
140
|
+
**/
|
|
141
|
+
export type PalletBalancesEvent =
|
|
142
|
+
/**
|
|
143
|
+
* An account was created with some free balance.
|
|
144
|
+
**/
|
|
145
|
+
| { name: 'Endowed'; data: { account: AccountId32; freeBalance: bigint } }
|
|
146
|
+
/**
|
|
147
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
148
|
+
* resulting in an outright loss.
|
|
149
|
+
**/
|
|
150
|
+
| { name: 'DustLost'; data: { account: AccountId32; amount: bigint } }
|
|
151
|
+
/**
|
|
152
|
+
* Transfer succeeded.
|
|
153
|
+
**/
|
|
154
|
+
| { name: 'Transfer'; data: { from: AccountId32; to: AccountId32; amount: bigint } }
|
|
155
|
+
/**
|
|
156
|
+
* A balance was set by root.
|
|
157
|
+
**/
|
|
158
|
+
| { name: 'BalanceSet'; data: { who: AccountId32; free: bigint } }
|
|
159
|
+
/**
|
|
160
|
+
* Some balance was reserved (moved from free to reserved).
|
|
161
|
+
**/
|
|
162
|
+
| { name: 'Reserved'; data: { who: AccountId32; amount: bigint } }
|
|
163
|
+
/**
|
|
164
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
165
|
+
**/
|
|
166
|
+
| { name: 'Unreserved'; data: { who: AccountId32; amount: bigint } }
|
|
167
|
+
/**
|
|
168
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
169
|
+
* Final argument indicates the destination balance type.
|
|
170
|
+
**/
|
|
171
|
+
| {
|
|
172
|
+
name: 'ReserveRepatriated';
|
|
173
|
+
data: {
|
|
174
|
+
from: AccountId32;
|
|
175
|
+
to: AccountId32;
|
|
176
|
+
amount: bigint;
|
|
177
|
+
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
182
|
+
**/
|
|
183
|
+
| { name: 'Deposit'; data: { who: AccountId32; amount: bigint } }
|
|
184
|
+
/**
|
|
185
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
186
|
+
**/
|
|
187
|
+
| { name: 'Withdraw'; data: { who: AccountId32; amount: bigint } }
|
|
188
|
+
/**
|
|
189
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
190
|
+
**/
|
|
191
|
+
| { name: 'Slashed'; data: { who: AccountId32; amount: bigint } }
|
|
192
|
+
/**
|
|
193
|
+
* Some amount was minted into an account.
|
|
194
|
+
**/
|
|
195
|
+
| { name: 'Minted'; data: { who: AccountId32; amount: bigint } }
|
|
196
|
+
/**
|
|
197
|
+
* Some amount was burned from an account.
|
|
198
|
+
**/
|
|
199
|
+
| { name: 'Burned'; data: { who: AccountId32; amount: bigint } }
|
|
200
|
+
/**
|
|
201
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
202
|
+
**/
|
|
203
|
+
| { name: 'Suspended'; data: { who: AccountId32; amount: bigint } }
|
|
204
|
+
/**
|
|
205
|
+
* Some amount was restored into an account.
|
|
206
|
+
**/
|
|
207
|
+
| { name: 'Restored'; data: { who: AccountId32; amount: bigint } }
|
|
208
|
+
/**
|
|
209
|
+
* An account was upgraded.
|
|
210
|
+
**/
|
|
211
|
+
| { name: 'Upgraded'; data: { who: AccountId32 } }
|
|
212
|
+
/**
|
|
213
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
214
|
+
**/
|
|
215
|
+
| { name: 'Issued'; data: { amount: bigint } }
|
|
216
|
+
/**
|
|
217
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
218
|
+
**/
|
|
219
|
+
| { name: 'Rescinded'; data: { amount: bigint } }
|
|
220
|
+
/**
|
|
221
|
+
* Some balance was locked.
|
|
222
|
+
**/
|
|
223
|
+
| { name: 'Locked'; data: { who: AccountId32; amount: bigint } }
|
|
224
|
+
/**
|
|
225
|
+
* Some balance was unlocked.
|
|
226
|
+
**/
|
|
227
|
+
| { name: 'Unlocked'; data: { who: AccountId32; amount: bigint } }
|
|
228
|
+
/**
|
|
229
|
+
* Some balance was frozen.
|
|
230
|
+
**/
|
|
231
|
+
| { name: 'Frozen'; data: { who: AccountId32; amount: bigint } }
|
|
232
|
+
/**
|
|
233
|
+
* Some balance was thawed.
|
|
234
|
+
**/
|
|
235
|
+
| { name: 'Thawed'; data: { who: AccountId32; amount: bigint } };
|
|
236
|
+
|
|
237
|
+
export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* The `Event` enum of this pallet
|
|
241
|
+
**/
|
|
242
|
+
export type PalletTransactionPaymentEvent =
|
|
243
|
+
/**
|
|
244
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
245
|
+
* has been paid by `who`.
|
|
246
|
+
**/
|
|
247
|
+
{ name: 'TransactionFeePaid'; data: { who: AccountId32; actualFee: bigint; tip: bigint } };
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* The `Event` enum of this pallet
|
|
251
|
+
**/
|
|
252
|
+
export type PalletStakingPalletEvent =
|
|
253
|
+
/**
|
|
254
|
+
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
255
|
+
* the remainder from the maximum amount of reward.
|
|
256
|
+
**/
|
|
257
|
+
| { name: 'EraPaid'; data: { eraIndex: number; validatorPayout: bigint; remainder: bigint } }
|
|
258
|
+
/**
|
|
259
|
+
* The nominator has been rewarded by this amount to this destination.
|
|
260
|
+
**/
|
|
261
|
+
| { name: 'Rewarded'; data: { stash: AccountId32; dest: PalletStakingRewardDestination; amount: bigint } }
|
|
262
|
+
/**
|
|
263
|
+
* A staker (validator or nominator) has been slashed by the given amount.
|
|
264
|
+
**/
|
|
265
|
+
| { name: 'Slashed'; data: { staker: AccountId32; amount: bigint } }
|
|
266
|
+
/**
|
|
267
|
+
* A slash for the given validator, for the given percentage of their stake, at the given
|
|
268
|
+
* era as been reported.
|
|
269
|
+
**/
|
|
270
|
+
| { name: 'SlashReported'; data: { validator: AccountId32; fraction: Perbill; slashEra: number } }
|
|
271
|
+
/**
|
|
272
|
+
* An old slashing report from a prior era was discarded because it could
|
|
273
|
+
* not be processed.
|
|
274
|
+
**/
|
|
275
|
+
| { name: 'OldSlashingReportDiscarded'; data: { sessionIndex: number } }
|
|
276
|
+
/**
|
|
277
|
+
* A new set of stakers was elected.
|
|
278
|
+
**/
|
|
279
|
+
| { name: 'StakersElected' }
|
|
280
|
+
/**
|
|
281
|
+
* An account has bonded this amount. \[stash, amount\]
|
|
282
|
+
*
|
|
283
|
+
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
284
|
+
* it will not be emitted for staking rewards when they are added to stake.
|
|
285
|
+
**/
|
|
286
|
+
| { name: 'Bonded'; data: { stash: AccountId32; amount: bigint } }
|
|
287
|
+
/**
|
|
288
|
+
* An account has unbonded this amount.
|
|
289
|
+
**/
|
|
290
|
+
| { name: 'Unbonded'; data: { stash: AccountId32; amount: bigint } }
|
|
291
|
+
/**
|
|
292
|
+
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
293
|
+
* from the unlocking queue.
|
|
294
|
+
**/
|
|
295
|
+
| { name: 'Withdrawn'; data: { stash: AccountId32; amount: bigint } }
|
|
296
|
+
/**
|
|
297
|
+
* A nominator has been kicked from a validator.
|
|
298
|
+
**/
|
|
299
|
+
| { name: 'Kicked'; data: { nominator: AccountId32; stash: AccountId32 } }
|
|
300
|
+
/**
|
|
301
|
+
* The election failed. No new era is planned.
|
|
302
|
+
**/
|
|
303
|
+
| { name: 'StakingElectionFailed' }
|
|
304
|
+
/**
|
|
305
|
+
* An account has stopped participating as either a validator or nominator.
|
|
306
|
+
**/
|
|
307
|
+
| { name: 'Chilled'; data: { stash: AccountId32 } }
|
|
308
|
+
/**
|
|
309
|
+
* The stakers' rewards are getting paid.
|
|
310
|
+
**/
|
|
311
|
+
| { name: 'PayoutStarted'; data: { eraIndex: number; validatorStash: AccountId32 } }
|
|
312
|
+
/**
|
|
313
|
+
* A validator has set their preferences.
|
|
314
|
+
**/
|
|
315
|
+
| { name: 'ValidatorPrefsSet'; data: { stash: AccountId32; prefs: PalletStakingValidatorPrefs } }
|
|
316
|
+
/**
|
|
317
|
+
* Voters size limit reached.
|
|
318
|
+
**/
|
|
319
|
+
| { name: 'SnapshotVotersSizeExceeded'; data: { size: number } }
|
|
320
|
+
/**
|
|
321
|
+
* Targets size limit reached.
|
|
322
|
+
**/
|
|
323
|
+
| { name: 'SnapshotTargetsSizeExceeded'; data: { size: number } }
|
|
324
|
+
/**
|
|
325
|
+
* A new force era mode was set.
|
|
326
|
+
**/
|
|
327
|
+
| { name: 'ForceEra'; data: { mode: PalletStakingForcing } };
|
|
328
|
+
|
|
329
|
+
export type PalletStakingRewardDestination =
|
|
330
|
+
| { tag: 'Staked' }
|
|
331
|
+
| { tag: 'Stash' }
|
|
332
|
+
| { tag: 'Controller' }
|
|
333
|
+
| { tag: 'Account'; value: AccountId32 }
|
|
334
|
+
| { tag: 'None' };
|
|
335
|
+
|
|
336
|
+
export type PalletStakingValidatorPrefs = { commission: Perbill; blocked: boolean };
|
|
337
|
+
|
|
338
|
+
export type PalletStakingForcing = 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways';
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* The `Event` enum of this pallet
|
|
342
|
+
**/
|
|
343
|
+
export type PalletSessionEvent =
|
|
344
|
+
/**
|
|
345
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
346
|
+
* block number as the type might suggest.
|
|
347
|
+
**/
|
|
348
|
+
{ name: 'NewSession'; data: { sessionIndex: number } };
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* The `Event` enum of this pallet
|
|
352
|
+
**/
|
|
353
|
+
export type PalletAlephEvent =
|
|
354
|
+
| { name: 'ChangeEmergencyFinalizer'; data: PrimitivesAppPublic }
|
|
355
|
+
| { name: 'ScheduleFinalityVersionChange'; data: PrimitivesVersionChange }
|
|
356
|
+
| { name: 'FinalityVersionChange'; data: PrimitivesVersionChange };
|
|
357
|
+
|
|
358
|
+
export type PrimitivesAppPublic = SpCoreEd25519Public;
|
|
359
|
+
|
|
360
|
+
export type SpCoreEd25519Public = FixedBytes<32>;
|
|
361
|
+
|
|
362
|
+
export type PrimitivesVersionChange = { versionIncoming: number; session: number };
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* The `Event` enum of this pallet
|
|
366
|
+
**/
|
|
367
|
+
export type PalletElectionsEvent =
|
|
368
|
+
/**
|
|
369
|
+
* Committee for the next era has changed
|
|
370
|
+
**/
|
|
371
|
+
{ name: 'ChangeValidators'; data: [Array<AccountId32>, Array<AccountId32>, PrimitivesCommitteeSeats] };
|
|
372
|
+
|
|
373
|
+
export type PrimitivesCommitteeSeats = {
|
|
374
|
+
reservedSeats: number;
|
|
375
|
+
nonReservedSeats: number;
|
|
376
|
+
nonReservedFinalitySeats: number;
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* The `Event` enum of this pallet
|
|
381
|
+
**/
|
|
382
|
+
export type PalletTreasuryEvent =
|
|
383
|
+
/**
|
|
384
|
+
* New proposal.
|
|
385
|
+
**/
|
|
386
|
+
| { name: 'Proposed'; data: { proposalIndex: number } }
|
|
387
|
+
/**
|
|
388
|
+
* We have ended a spend period and will now allocate funds.
|
|
389
|
+
**/
|
|
390
|
+
| { name: 'Spending'; data: { budgetRemaining: bigint } }
|
|
391
|
+
/**
|
|
392
|
+
* Some funds have been allocated.
|
|
393
|
+
**/
|
|
394
|
+
| { name: 'Awarded'; data: { proposalIndex: number; award: bigint; account: AccountId32 } }
|
|
395
|
+
/**
|
|
396
|
+
* A proposal was rejected; funds were slashed.
|
|
397
|
+
**/
|
|
398
|
+
| { name: 'Rejected'; data: { proposalIndex: number; slashed: bigint } }
|
|
399
|
+
/**
|
|
400
|
+
* Some of our funds have been burnt.
|
|
401
|
+
**/
|
|
402
|
+
| { name: 'Burnt'; data: { burntFunds: bigint } }
|
|
403
|
+
/**
|
|
404
|
+
* Spending has finished; this is the amount that rolls over until next spend.
|
|
405
|
+
**/
|
|
406
|
+
| { name: 'Rollover'; data: { rolloverBalance: bigint } }
|
|
407
|
+
/**
|
|
408
|
+
* Some funds have been deposited.
|
|
409
|
+
**/
|
|
410
|
+
| { name: 'Deposit'; data: { value: bigint } }
|
|
411
|
+
/**
|
|
412
|
+
* A new spend proposal has been approved.
|
|
413
|
+
**/
|
|
414
|
+
| { name: 'SpendApproved'; data: { proposalIndex: number; amount: bigint; beneficiary: AccountId32 } }
|
|
415
|
+
/**
|
|
416
|
+
* The inactive funds of the pallet have been updated.
|
|
417
|
+
**/
|
|
418
|
+
| { name: 'UpdatedInactive'; data: { reactivated: bigint; deactivated: bigint } };
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* The `Event` enum of this pallet
|
|
422
|
+
**/
|
|
423
|
+
export type PalletVestingEvent =
|
|
424
|
+
/**
|
|
425
|
+
* The amount vested has been updated. This could indicate a change in funds available.
|
|
426
|
+
* The balance given is the amount which is left unvested (and thus locked).
|
|
427
|
+
**/
|
|
428
|
+
| { name: 'VestingUpdated'; data: { account: AccountId32; unvested: bigint } }
|
|
429
|
+
/**
|
|
430
|
+
* An \[account\] has become fully vested.
|
|
431
|
+
**/
|
|
432
|
+
| { name: 'VestingCompleted'; data: { account: AccountId32 } };
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* The `Event` enum of this pallet
|
|
436
|
+
**/
|
|
437
|
+
export type PalletUtilityEvent =
|
|
438
|
+
/**
|
|
439
|
+
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
440
|
+
* well as the error.
|
|
441
|
+
**/
|
|
442
|
+
| { name: 'BatchInterrupted'; data: { index: number; error: DispatchError } }
|
|
443
|
+
/**
|
|
444
|
+
* Batch of dispatches completed fully with no error.
|
|
445
|
+
**/
|
|
446
|
+
| { name: 'BatchCompleted' }
|
|
447
|
+
/**
|
|
448
|
+
* Batch of dispatches completed but has errors.
|
|
449
|
+
**/
|
|
450
|
+
| { name: 'BatchCompletedWithErrors' }
|
|
451
|
+
/**
|
|
452
|
+
* A single item within a Batch of dispatches has completed with no error.
|
|
453
|
+
**/
|
|
454
|
+
| { name: 'ItemCompleted' }
|
|
455
|
+
/**
|
|
456
|
+
* A single item within a Batch of dispatches has completed with error.
|
|
457
|
+
**/
|
|
458
|
+
| { name: 'ItemFailed'; data: { error: DispatchError } }
|
|
459
|
+
/**
|
|
460
|
+
* A call was dispatched.
|
|
461
|
+
**/
|
|
462
|
+
| { name: 'DispatchedAs'; data: { result: Result<[], DispatchError> } };
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* The `Event` enum of this pallet
|
|
466
|
+
**/
|
|
467
|
+
export type PalletMultisigEvent =
|
|
468
|
+
/**
|
|
469
|
+
* A new multisig operation has begun.
|
|
470
|
+
**/
|
|
471
|
+
| { name: 'NewMultisig'; data: { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> } }
|
|
472
|
+
/**
|
|
473
|
+
* A multisig operation has been approved by someone.
|
|
474
|
+
**/
|
|
475
|
+
| {
|
|
476
|
+
name: 'MultisigApproval';
|
|
477
|
+
data: {
|
|
478
|
+
approving: AccountId32;
|
|
479
|
+
timepoint: PalletMultisigTimepoint;
|
|
480
|
+
multisig: AccountId32;
|
|
481
|
+
callHash: FixedBytes<32>;
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* A multisig operation has been executed.
|
|
486
|
+
**/
|
|
487
|
+
| {
|
|
488
|
+
name: 'MultisigExecuted';
|
|
489
|
+
data: {
|
|
490
|
+
approving: AccountId32;
|
|
491
|
+
timepoint: PalletMultisigTimepoint;
|
|
492
|
+
multisig: AccountId32;
|
|
493
|
+
callHash: FixedBytes<32>;
|
|
494
|
+
result: Result<[], DispatchError>;
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* A multisig operation has been cancelled.
|
|
499
|
+
**/
|
|
500
|
+
| {
|
|
501
|
+
name: 'MultisigCancelled';
|
|
502
|
+
data: {
|
|
503
|
+
cancelling: AccountId32;
|
|
504
|
+
timepoint: PalletMultisigTimepoint;
|
|
505
|
+
multisig: AccountId32;
|
|
506
|
+
callHash: FixedBytes<32>;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
export type PalletMultisigTimepoint = { height: number; index: number };
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* The `Event` enum of this pallet
|
|
514
|
+
**/
|
|
515
|
+
export type PalletSudoEvent =
|
|
516
|
+
/**
|
|
517
|
+
* A sudo call just took place.
|
|
518
|
+
**/
|
|
519
|
+
| {
|
|
520
|
+
name: 'Sudid';
|
|
521
|
+
data: {
|
|
522
|
+
/**
|
|
523
|
+
* The result of the call made by the sudo user.
|
|
524
|
+
**/
|
|
525
|
+
sudoResult: Result<[], DispatchError>;
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* The sudo key has been updated.
|
|
530
|
+
**/
|
|
531
|
+
| {
|
|
532
|
+
name: 'KeyChanged';
|
|
533
|
+
data: {
|
|
534
|
+
/**
|
|
535
|
+
* The old sudo key if one was previously set.
|
|
536
|
+
**/
|
|
537
|
+
oldSudoer?: AccountId32 | undefined;
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
542
|
+
**/
|
|
543
|
+
| {
|
|
544
|
+
name: 'SudoAsDone';
|
|
545
|
+
data: {
|
|
546
|
+
/**
|
|
547
|
+
* The result of the call made by the sudo user.
|
|
548
|
+
**/
|
|
549
|
+
sudoResult: Result<[], DispatchError>;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* The `Event` enum of this pallet
|
|
555
|
+
**/
|
|
556
|
+
export type PalletContractsEvent =
|
|
557
|
+
/**
|
|
558
|
+
* Contract deployed by address at the specified address.
|
|
559
|
+
**/
|
|
560
|
+
| { name: 'Instantiated'; data: { deployer: AccountId32; contract: AccountId32 } }
|
|
561
|
+
/**
|
|
562
|
+
* Contract has been removed.
|
|
563
|
+
*
|
|
564
|
+
* # Note
|
|
565
|
+
*
|
|
566
|
+
* The only way for a contract to be removed and emitting this event is by calling
|
|
567
|
+
* `seal_terminate`.
|
|
568
|
+
**/
|
|
569
|
+
| {
|
|
570
|
+
name: 'Terminated';
|
|
571
|
+
data: {
|
|
572
|
+
/**
|
|
573
|
+
* The contract that was terminated.
|
|
574
|
+
**/
|
|
575
|
+
contract: AccountId32;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* The account that received the contracts remaining balance
|
|
579
|
+
**/
|
|
580
|
+
beneficiary: AccountId32;
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* Code with the specified hash has been stored.
|
|
585
|
+
**/
|
|
586
|
+
| { name: 'CodeStored'; data: { codeHash: H256; depositHeld: bigint; uploader: AccountId32 } }
|
|
587
|
+
/**
|
|
588
|
+
* A custom event emitted by the contract.
|
|
589
|
+
**/
|
|
590
|
+
| {
|
|
591
|
+
name: 'ContractEmitted';
|
|
592
|
+
data: {
|
|
593
|
+
/**
|
|
594
|
+
* The contract that emitted the event.
|
|
595
|
+
**/
|
|
596
|
+
contract: AccountId32;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Data supplied by the contract. Metadata generated during contract compilation
|
|
600
|
+
* is needed to decode it.
|
|
601
|
+
**/
|
|
602
|
+
data: Bytes;
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* A code with the specified hash was removed.
|
|
607
|
+
**/
|
|
608
|
+
| { name: 'CodeRemoved'; data: { codeHash: H256; depositReleased: bigint; remover: AccountId32 } }
|
|
609
|
+
/**
|
|
610
|
+
* A contract's code was updated.
|
|
611
|
+
**/
|
|
612
|
+
| {
|
|
613
|
+
name: 'ContractCodeUpdated';
|
|
614
|
+
data: {
|
|
615
|
+
/**
|
|
616
|
+
* The contract that has been updated.
|
|
617
|
+
**/
|
|
618
|
+
contract: AccountId32;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* New code hash that was set for the contract.
|
|
622
|
+
**/
|
|
623
|
+
newCodeHash: H256;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Previous code hash of the contract.
|
|
627
|
+
**/
|
|
628
|
+
oldCodeHash: H256;
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* A contract was called either by a plain account or another contract.
|
|
633
|
+
*
|
|
634
|
+
* # Note
|
|
635
|
+
*
|
|
636
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
637
|
+
* calls. This is because on failure all storage changes including events are
|
|
638
|
+
* rolled back.
|
|
639
|
+
**/
|
|
640
|
+
| {
|
|
641
|
+
name: 'Called';
|
|
642
|
+
data: {
|
|
643
|
+
/**
|
|
644
|
+
* The caller of the `contract`.
|
|
645
|
+
**/
|
|
646
|
+
caller: PalletContractsOrigin;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* The contract that was called.
|
|
650
|
+
**/
|
|
651
|
+
contract: AccountId32;
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* A contract delegate called a code hash.
|
|
656
|
+
*
|
|
657
|
+
* # Note
|
|
658
|
+
*
|
|
659
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
660
|
+
* calls. This is because on failure all storage changes including events are
|
|
661
|
+
* rolled back.
|
|
662
|
+
**/
|
|
663
|
+
| {
|
|
664
|
+
name: 'DelegateCalled';
|
|
665
|
+
data: {
|
|
666
|
+
/**
|
|
667
|
+
* The contract that performed the delegate call and hence in whose context
|
|
668
|
+
* the `code_hash` is executed.
|
|
669
|
+
**/
|
|
670
|
+
contract: AccountId32;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* The code hash that was delegate called.
|
|
674
|
+
**/
|
|
675
|
+
codeHash: H256;
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* Some funds have been transferred and held as storage deposit.
|
|
680
|
+
**/
|
|
681
|
+
| { name: 'StorageDepositTransferredAndHeld'; data: { from: AccountId32; to: AccountId32; amount: bigint } }
|
|
682
|
+
/**
|
|
683
|
+
* Some storage deposit funds have been transferred and released.
|
|
684
|
+
**/
|
|
685
|
+
| { name: 'StorageDepositTransferredAndReleased'; data: { from: AccountId32; to: AccountId32; amount: bigint } };
|
|
686
|
+
|
|
687
|
+
export type PalletContractsOrigin = { tag: 'Root' } | { tag: 'Signed'; value: AccountId32 };
|
|
688
|
+
|
|
689
|
+
export type AlephRuntimeRuntime = {};
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Events of this pallet.
|
|
693
|
+
**/
|
|
694
|
+
export type PalletNominationPoolsEvent =
|
|
695
|
+
/**
|
|
696
|
+
* A pool has been created.
|
|
697
|
+
**/
|
|
698
|
+
| { name: 'Created'; data: { depositor: AccountId32; poolId: number } }
|
|
699
|
+
/**
|
|
700
|
+
* A member has became bonded in a pool.
|
|
701
|
+
**/
|
|
702
|
+
| { name: 'Bonded'; data: { member: AccountId32; poolId: number; bonded: bigint; joined: boolean } }
|
|
703
|
+
/**
|
|
704
|
+
* A payout has been made to a member.
|
|
705
|
+
**/
|
|
706
|
+
| { name: 'PaidOut'; data: { member: AccountId32; poolId: number; payout: bigint } }
|
|
707
|
+
/**
|
|
708
|
+
* A member has unbonded from their pool.
|
|
709
|
+
*
|
|
710
|
+
* - `balance` is the corresponding balance of the number of points that has been
|
|
711
|
+
* requested to be unbonded (the argument of the `unbond` transaction) from the bonded
|
|
712
|
+
* pool.
|
|
713
|
+
* - `points` is the number of points that are issued as a result of `balance` being
|
|
714
|
+
* dissolved into the corresponding unbonding pool.
|
|
715
|
+
* - `era` is the era in which the balance will be unbonded.
|
|
716
|
+
* In the absence of slashing, these values will match. In the presence of slashing, the
|
|
717
|
+
* number of points that are issued in the unbonding pool will be less than the amount
|
|
718
|
+
* requested to be unbonded.
|
|
719
|
+
**/
|
|
720
|
+
| { name: 'Unbonded'; data: { member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number } }
|
|
721
|
+
/**
|
|
722
|
+
* A member has withdrawn from their pool.
|
|
723
|
+
*
|
|
724
|
+
* The given number of `points` have been dissolved in return of `balance`.
|
|
725
|
+
*
|
|
726
|
+
* Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
|
|
727
|
+
* will be 1.
|
|
728
|
+
**/
|
|
729
|
+
| { name: 'Withdrawn'; data: { member: AccountId32; poolId: number; balance: bigint; points: bigint } }
|
|
730
|
+
/**
|
|
731
|
+
* A pool has been destroyed.
|
|
732
|
+
**/
|
|
733
|
+
| { name: 'Destroyed'; data: { poolId: number } }
|
|
734
|
+
/**
|
|
735
|
+
* The state of a pool has changed
|
|
736
|
+
**/
|
|
737
|
+
| { name: 'StateChanged'; data: { poolId: number; newState: PalletNominationPoolsPoolState } }
|
|
738
|
+
/**
|
|
739
|
+
* A member has been removed from a pool.
|
|
740
|
+
*
|
|
741
|
+
* The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
|
|
742
|
+
**/
|
|
743
|
+
| { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32 } }
|
|
744
|
+
/**
|
|
745
|
+
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
|
746
|
+
* can never change.
|
|
747
|
+
**/
|
|
748
|
+
| {
|
|
749
|
+
name: 'RolesUpdated';
|
|
750
|
+
data: { root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined };
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
754
|
+
**/
|
|
755
|
+
| { name: 'PoolSlashed'; data: { poolId: number; balance: bigint } }
|
|
756
|
+
/**
|
|
757
|
+
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
|
758
|
+
**/
|
|
759
|
+
| { name: 'UnbondingPoolSlashed'; data: { poolId: number; era: number; balance: bigint } }
|
|
760
|
+
/**
|
|
761
|
+
* A pool's commission setting has been changed.
|
|
762
|
+
**/
|
|
763
|
+
| { name: 'PoolCommissionUpdated'; data: { poolId: number; current?: [Perbill, AccountId32] | undefined } }
|
|
764
|
+
/**
|
|
765
|
+
* A pool's maximum commission setting has been changed.
|
|
766
|
+
**/
|
|
767
|
+
| { name: 'PoolMaxCommissionUpdated'; data: { poolId: number; maxCommission: Perbill } }
|
|
768
|
+
/**
|
|
769
|
+
* A pool's commission `change_rate` has been changed.
|
|
770
|
+
**/
|
|
771
|
+
| {
|
|
772
|
+
name: 'PoolCommissionChangeRateUpdated';
|
|
773
|
+
data: { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate };
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Pool commission has been claimed.
|
|
777
|
+
**/
|
|
778
|
+
| { name: 'PoolCommissionClaimed'; data: { poolId: number; commission: bigint } };
|
|
779
|
+
|
|
780
|
+
export type PalletNominationPoolsPoolState = 'Open' | 'Blocked' | 'Destroying';
|
|
781
|
+
|
|
782
|
+
export type PalletNominationPoolsCommissionChangeRate = { maxIncrease: Perbill; minDelay: number };
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* The `Event` enum of this pallet
|
|
786
|
+
**/
|
|
787
|
+
export type PalletIdentityEvent =
|
|
788
|
+
/**
|
|
789
|
+
* A name was set or reset (which will remove all judgements).
|
|
790
|
+
**/
|
|
791
|
+
| { name: 'IdentitySet'; data: { who: AccountId32 } }
|
|
792
|
+
/**
|
|
793
|
+
* A name was cleared, and the given balance returned.
|
|
794
|
+
**/
|
|
795
|
+
| { name: 'IdentityCleared'; data: { who: AccountId32; deposit: bigint } }
|
|
796
|
+
/**
|
|
797
|
+
* A name was removed and the given balance slashed.
|
|
798
|
+
**/
|
|
799
|
+
| { name: 'IdentityKilled'; data: { who: AccountId32; deposit: bigint } }
|
|
800
|
+
/**
|
|
801
|
+
* A judgement was asked from a registrar.
|
|
802
|
+
**/
|
|
803
|
+
| { name: 'JudgementRequested'; data: { who: AccountId32; registrarIndex: number } }
|
|
804
|
+
/**
|
|
805
|
+
* A judgement request was retracted.
|
|
806
|
+
**/
|
|
807
|
+
| { name: 'JudgementUnrequested'; data: { who: AccountId32; registrarIndex: number } }
|
|
808
|
+
/**
|
|
809
|
+
* A judgement was given by a registrar.
|
|
810
|
+
**/
|
|
811
|
+
| { name: 'JudgementGiven'; data: { target: AccountId32; registrarIndex: number } }
|
|
812
|
+
/**
|
|
813
|
+
* A registrar was added.
|
|
814
|
+
**/
|
|
815
|
+
| { name: 'RegistrarAdded'; data: { registrarIndex: number } }
|
|
816
|
+
/**
|
|
817
|
+
* A sub-identity was added to an identity and the deposit paid.
|
|
818
|
+
**/
|
|
819
|
+
| { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
820
|
+
/**
|
|
821
|
+
* A sub-identity was removed from an identity and the deposit freed.
|
|
822
|
+
**/
|
|
823
|
+
| { name: 'SubIdentityRemoved'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
824
|
+
/**
|
|
825
|
+
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
826
|
+
* main identity account to the sub-identity account.
|
|
827
|
+
**/
|
|
828
|
+
| { name: 'SubIdentityRevoked'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } };
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* The `Event` enum of this pallet
|
|
832
|
+
**/
|
|
833
|
+
export type PalletCommitteeManagementEvent =
|
|
834
|
+
/**
|
|
835
|
+
* Ban thresholds for the next era has changed
|
|
836
|
+
**/
|
|
837
|
+
| { name: 'SetBanConfig'; data: PrimitivesBanConfig }
|
|
838
|
+
/**
|
|
839
|
+
* Validators have been banned from the committee
|
|
840
|
+
**/
|
|
841
|
+
| { name: 'BanValidators'; data: Array<[AccountId32, PrimitivesBanInfo]> };
|
|
842
|
+
|
|
843
|
+
export type PrimitivesBanConfig = {
|
|
844
|
+
minimalExpectedPerformance: Perbill;
|
|
845
|
+
underperformedSessionCountThreshold: number;
|
|
846
|
+
cleanSessionCounterDelay: number;
|
|
847
|
+
banPeriod: number;
|
|
848
|
+
};
|
|
849
|
+
|
|
850
|
+
export type PrimitivesBanInfo = { reason: PrimitivesBanReason; start: number };
|
|
851
|
+
|
|
852
|
+
export type PrimitivesBanReason = { tag: 'InsufficientUptime'; value: number } | { tag: 'OtherReason'; value: Bytes };
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* The `Event` enum of this pallet
|
|
856
|
+
**/
|
|
857
|
+
export type PalletProxyEvent =
|
|
858
|
+
/**
|
|
859
|
+
* A proxy was executed correctly, with the given.
|
|
860
|
+
**/
|
|
861
|
+
| { name: 'ProxyExecuted'; data: { result: Result<[], DispatchError> } }
|
|
862
|
+
/**
|
|
863
|
+
* A pure account has been created by new proxy with given
|
|
864
|
+
* disambiguation index and proxy type.
|
|
865
|
+
**/
|
|
866
|
+
| {
|
|
867
|
+
name: 'PureCreated';
|
|
868
|
+
data: { pure: AccountId32; who: AccountId32; proxyType: AlephRuntimeProxyType; disambiguationIndex: number };
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* An announcement was placed to make a call in the future.
|
|
872
|
+
**/
|
|
873
|
+
| { name: 'Announced'; data: { real: AccountId32; proxy: AccountId32; callHash: H256 } }
|
|
874
|
+
/**
|
|
875
|
+
* A proxy was added.
|
|
876
|
+
**/
|
|
877
|
+
| {
|
|
878
|
+
name: 'ProxyAdded';
|
|
879
|
+
data: { delegator: AccountId32; delegatee: AccountId32; proxyType: AlephRuntimeProxyType; delay: number };
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* A proxy was removed.
|
|
883
|
+
**/
|
|
884
|
+
| {
|
|
885
|
+
name: 'ProxyRemoved';
|
|
886
|
+
data: { delegator: AccountId32; delegatee: AccountId32; proxyType: AlephRuntimeProxyType; delay: number };
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
export type AlephRuntimeProxyType = 'Any' | 'NonTransfer' | 'Staking' | 'Nomination';
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* The `Event` enum of this pallet
|
|
893
|
+
**/
|
|
894
|
+
export type PalletOperationsEvent =
|
|
895
|
+
/**
|
|
896
|
+
* An account has fixed its consumers counter underflow
|
|
897
|
+
**/
|
|
898
|
+
{ name: 'ConsumersUnderflowFixed'; data: { who: AccountId32 } };
|
|
899
|
+
|
|
900
|
+
export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
904
|
+
**/
|
|
905
|
+
export type FrameSystemCall =
|
|
906
|
+
/**
|
|
907
|
+
* See [`Pallet::remark`].
|
|
908
|
+
**/
|
|
909
|
+
| { name: 'Remark'; params: { remark: Bytes } }
|
|
910
|
+
/**
|
|
911
|
+
* See [`Pallet::set_heap_pages`].
|
|
912
|
+
**/
|
|
913
|
+
| { name: 'SetHeapPages'; params: { pages: bigint } }
|
|
914
|
+
/**
|
|
915
|
+
* See [`Pallet::set_code`].
|
|
916
|
+
**/
|
|
917
|
+
| { name: 'SetCode'; params: { code: Bytes } }
|
|
918
|
+
/**
|
|
919
|
+
* See [`Pallet::set_code_without_checks`].
|
|
920
|
+
**/
|
|
921
|
+
| { name: 'SetCodeWithoutChecks'; params: { code: Bytes } }
|
|
922
|
+
/**
|
|
923
|
+
* See [`Pallet::set_storage`].
|
|
924
|
+
**/
|
|
925
|
+
| { name: 'SetStorage'; params: { items: Array<[Bytes, Bytes]> } }
|
|
926
|
+
/**
|
|
927
|
+
* See [`Pallet::kill_storage`].
|
|
928
|
+
**/
|
|
929
|
+
| { name: 'KillStorage'; params: { keys: Array<Bytes> } }
|
|
930
|
+
/**
|
|
931
|
+
* See [`Pallet::kill_prefix`].
|
|
932
|
+
**/
|
|
933
|
+
| { name: 'KillPrefix'; params: { prefix: Bytes; subkeys: number } }
|
|
934
|
+
/**
|
|
935
|
+
* See [`Pallet::remark_with_event`].
|
|
936
|
+
**/
|
|
937
|
+
| { name: 'RemarkWithEvent'; params: { remark: Bytes } };
|
|
938
|
+
|
|
939
|
+
export type FrameSystemCallLike =
|
|
940
|
+
/**
|
|
941
|
+
* See [`Pallet::remark`].
|
|
942
|
+
**/
|
|
943
|
+
| { name: 'Remark'; params: { remark: BytesLike } }
|
|
944
|
+
/**
|
|
945
|
+
* See [`Pallet::set_heap_pages`].
|
|
946
|
+
**/
|
|
947
|
+
| { name: 'SetHeapPages'; params: { pages: bigint } }
|
|
948
|
+
/**
|
|
949
|
+
* See [`Pallet::set_code`].
|
|
950
|
+
**/
|
|
951
|
+
| { name: 'SetCode'; params: { code: BytesLike } }
|
|
952
|
+
/**
|
|
953
|
+
* See [`Pallet::set_code_without_checks`].
|
|
954
|
+
**/
|
|
955
|
+
| { name: 'SetCodeWithoutChecks'; params: { code: BytesLike } }
|
|
956
|
+
/**
|
|
957
|
+
* See [`Pallet::set_storage`].
|
|
958
|
+
**/
|
|
959
|
+
| { name: 'SetStorage'; params: { items: Array<[BytesLike, BytesLike]> } }
|
|
960
|
+
/**
|
|
961
|
+
* See [`Pallet::kill_storage`].
|
|
962
|
+
**/
|
|
963
|
+
| { name: 'KillStorage'; params: { keys: Array<BytesLike> } }
|
|
964
|
+
/**
|
|
965
|
+
* See [`Pallet::kill_prefix`].
|
|
966
|
+
**/
|
|
967
|
+
| { name: 'KillPrefix'; params: { prefix: BytesLike; subkeys: number } }
|
|
968
|
+
/**
|
|
969
|
+
* See [`Pallet::remark_with_event`].
|
|
970
|
+
**/
|
|
971
|
+
| { name: 'RemarkWithEvent'; params: { remark: BytesLike } };
|
|
972
|
+
|
|
973
|
+
export type FrameSystemLimitsBlockWeights = {
|
|
974
|
+
baseBlock: SpWeightsWeightV2Weight;
|
|
975
|
+
maxBlock: SpWeightsWeightV2Weight;
|
|
976
|
+
perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
export type FrameSupportDispatchPerDispatchClassWeightsPerClass = {
|
|
980
|
+
normal: FrameSystemLimitsWeightsPerClass;
|
|
981
|
+
operational: FrameSystemLimitsWeightsPerClass;
|
|
982
|
+
mandatory: FrameSystemLimitsWeightsPerClass;
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
export type FrameSystemLimitsWeightsPerClass = {
|
|
986
|
+
baseExtrinsic: SpWeightsWeightV2Weight;
|
|
987
|
+
maxExtrinsic?: SpWeightsWeightV2Weight | undefined;
|
|
988
|
+
maxTotal?: SpWeightsWeightV2Weight | undefined;
|
|
989
|
+
reserved?: SpWeightsWeightV2Weight | undefined;
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
export type FrameSystemLimitsBlockLength = { max: FrameSupportDispatchPerDispatchClassU32 };
|
|
993
|
+
|
|
994
|
+
export type FrameSupportDispatchPerDispatchClassU32 = { normal: number; operational: number; mandatory: number };
|
|
995
|
+
|
|
996
|
+
export type SpWeightsRuntimeDbWeight = { read: bigint; write: bigint };
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Error for the System pallet
|
|
1000
|
+
**/
|
|
1001
|
+
export type FrameSystemError =
|
|
1002
|
+
/**
|
|
1003
|
+
* The name of specification does not match between the current runtime
|
|
1004
|
+
* and the new runtime.
|
|
1005
|
+
**/
|
|
1006
|
+
| 'InvalidSpecName'
|
|
1007
|
+
/**
|
|
1008
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
1009
|
+
* and the new runtime.
|
|
1010
|
+
**/
|
|
1011
|
+
| 'SpecVersionNeedsToIncrease'
|
|
1012
|
+
/**
|
|
1013
|
+
* Failed to extract the runtime version from the new runtime.
|
|
1014
|
+
*
|
|
1015
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
1016
|
+
**/
|
|
1017
|
+
| 'FailedToExtractRuntimeVersion'
|
|
1018
|
+
/**
|
|
1019
|
+
* Suicide called when the account has non-default composite data.
|
|
1020
|
+
**/
|
|
1021
|
+
| 'NonDefaultComposite'
|
|
1022
|
+
/**
|
|
1023
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
1024
|
+
**/
|
|
1025
|
+
| 'NonZeroRefCount'
|
|
1026
|
+
/**
|
|
1027
|
+
* The origin filter prevent the call to be dispatched.
|
|
1028
|
+
**/
|
|
1029
|
+
| 'CallFiltered';
|
|
1030
|
+
|
|
1031
|
+
export type PalletSchedulerScheduled = {
|
|
1032
|
+
maybeId?: FixedBytes<32> | undefined;
|
|
1033
|
+
priority: number;
|
|
1034
|
+
call: FrameSupportPreimagesBounded;
|
|
1035
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1036
|
+
origin: AlephRuntimeOriginCaller;
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
export type FrameSupportPreimagesBounded =
|
|
1040
|
+
| { tag: 'Legacy'; value: { hash: H256 } }
|
|
1041
|
+
| { tag: 'Inline'; value: Bytes }
|
|
1042
|
+
| { tag: 'Lookup'; value: { hash: H256; len: number } };
|
|
1043
|
+
|
|
1044
|
+
export type AlephRuntimeRuntimeCall =
|
|
1045
|
+
| { pallet: 'System'; palletCall: FrameSystemCall }
|
|
1046
|
+
| { pallet: 'Scheduler'; palletCall: PalletSchedulerCall }
|
|
1047
|
+
| { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
|
|
1048
|
+
| { pallet: 'Balances'; palletCall: PalletBalancesCall }
|
|
1049
|
+
| { pallet: 'Staking'; palletCall: PalletStakingPalletCall }
|
|
1050
|
+
| { pallet: 'Session'; palletCall: PalletSessionCall }
|
|
1051
|
+
| { pallet: 'Aleph'; palletCall: PalletAlephCall }
|
|
1052
|
+
| { pallet: 'Elections'; palletCall: PalletElectionsCall }
|
|
1053
|
+
| { pallet: 'Treasury'; palletCall: PalletTreasuryCall }
|
|
1054
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCall }
|
|
1055
|
+
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
1056
|
+
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
1057
|
+
| { pallet: 'Sudo'; palletCall: PalletSudoCall }
|
|
1058
|
+
| { pallet: 'Contracts'; palletCall: PalletContractsCall }
|
|
1059
|
+
| { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCall }
|
|
1060
|
+
| { pallet: 'Identity'; palletCall: PalletIdentityCall }
|
|
1061
|
+
| { pallet: 'CommitteeManagement'; palletCall: PalletCommitteeManagementCall }
|
|
1062
|
+
| { pallet: 'Proxy'; palletCall: PalletProxyCall }
|
|
1063
|
+
| { pallet: 'Operations'; palletCall: PalletOperationsCall };
|
|
1064
|
+
|
|
1065
|
+
export type AlephRuntimeRuntimeCallLike =
|
|
1066
|
+
| { pallet: 'System'; palletCall: FrameSystemCallLike }
|
|
1067
|
+
| { pallet: 'Scheduler'; palletCall: PalletSchedulerCallLike }
|
|
1068
|
+
| { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
|
|
1069
|
+
| { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
|
|
1070
|
+
| { pallet: 'Staking'; palletCall: PalletStakingPalletCallLike }
|
|
1071
|
+
| { pallet: 'Session'; palletCall: PalletSessionCallLike }
|
|
1072
|
+
| { pallet: 'Aleph'; palletCall: PalletAlephCallLike }
|
|
1073
|
+
| { pallet: 'Elections'; palletCall: PalletElectionsCallLike }
|
|
1074
|
+
| { pallet: 'Treasury'; palletCall: PalletTreasuryCallLike }
|
|
1075
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
|
|
1076
|
+
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
1077
|
+
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
1078
|
+
| { pallet: 'Sudo'; palletCall: PalletSudoCallLike }
|
|
1079
|
+
| { pallet: 'Contracts'; palletCall: PalletContractsCallLike }
|
|
1080
|
+
| { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCallLike }
|
|
1081
|
+
| { pallet: 'Identity'; palletCall: PalletIdentityCallLike }
|
|
1082
|
+
| { pallet: 'CommitteeManagement'; palletCall: PalletCommitteeManagementCallLike }
|
|
1083
|
+
| { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
|
|
1084
|
+
| { pallet: 'Operations'; palletCall: PalletOperationsCallLike };
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1088
|
+
**/
|
|
1089
|
+
export type PalletSchedulerCall =
|
|
1090
|
+
/**
|
|
1091
|
+
* See [`Pallet::schedule`].
|
|
1092
|
+
**/
|
|
1093
|
+
| {
|
|
1094
|
+
name: 'Schedule';
|
|
1095
|
+
params: {
|
|
1096
|
+
when: number;
|
|
1097
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1098
|
+
priority: number;
|
|
1099
|
+
call: AlephRuntimeRuntimeCall;
|
|
1100
|
+
};
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* See [`Pallet::cancel`].
|
|
1104
|
+
**/
|
|
1105
|
+
| { name: 'Cancel'; params: { when: number; index: number } }
|
|
1106
|
+
/**
|
|
1107
|
+
* See [`Pallet::schedule_named`].
|
|
1108
|
+
**/
|
|
1109
|
+
| {
|
|
1110
|
+
name: 'ScheduleNamed';
|
|
1111
|
+
params: {
|
|
1112
|
+
id: FixedBytes<32>;
|
|
1113
|
+
when: number;
|
|
1114
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1115
|
+
priority: number;
|
|
1116
|
+
call: AlephRuntimeRuntimeCall;
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* See [`Pallet::cancel_named`].
|
|
1121
|
+
**/
|
|
1122
|
+
| { name: 'CancelNamed'; params: { id: FixedBytes<32> } }
|
|
1123
|
+
/**
|
|
1124
|
+
* See [`Pallet::schedule_after`].
|
|
1125
|
+
**/
|
|
1126
|
+
| {
|
|
1127
|
+
name: 'ScheduleAfter';
|
|
1128
|
+
params: {
|
|
1129
|
+
after: number;
|
|
1130
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1131
|
+
priority: number;
|
|
1132
|
+
call: AlephRuntimeRuntimeCall;
|
|
1133
|
+
};
|
|
1134
|
+
}
|
|
1135
|
+
/**
|
|
1136
|
+
* See [`Pallet::schedule_named_after`].
|
|
1137
|
+
**/
|
|
1138
|
+
| {
|
|
1139
|
+
name: 'ScheduleNamedAfter';
|
|
1140
|
+
params: {
|
|
1141
|
+
id: FixedBytes<32>;
|
|
1142
|
+
after: number;
|
|
1143
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1144
|
+
priority: number;
|
|
1145
|
+
call: AlephRuntimeRuntimeCall;
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
export type PalletSchedulerCallLike =
|
|
1150
|
+
/**
|
|
1151
|
+
* See [`Pallet::schedule`].
|
|
1152
|
+
**/
|
|
1153
|
+
| {
|
|
1154
|
+
name: 'Schedule';
|
|
1155
|
+
params: {
|
|
1156
|
+
when: number;
|
|
1157
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1158
|
+
priority: number;
|
|
1159
|
+
call: AlephRuntimeRuntimeCallLike;
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
/**
|
|
1163
|
+
* See [`Pallet::cancel`].
|
|
1164
|
+
**/
|
|
1165
|
+
| { name: 'Cancel'; params: { when: number; index: number } }
|
|
1166
|
+
/**
|
|
1167
|
+
* See [`Pallet::schedule_named`].
|
|
1168
|
+
**/
|
|
1169
|
+
| {
|
|
1170
|
+
name: 'ScheduleNamed';
|
|
1171
|
+
params: {
|
|
1172
|
+
id: FixedBytes<32>;
|
|
1173
|
+
when: number;
|
|
1174
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1175
|
+
priority: number;
|
|
1176
|
+
call: AlephRuntimeRuntimeCallLike;
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* See [`Pallet::cancel_named`].
|
|
1181
|
+
**/
|
|
1182
|
+
| { name: 'CancelNamed'; params: { id: FixedBytes<32> } }
|
|
1183
|
+
/**
|
|
1184
|
+
* See [`Pallet::schedule_after`].
|
|
1185
|
+
**/
|
|
1186
|
+
| {
|
|
1187
|
+
name: 'ScheduleAfter';
|
|
1188
|
+
params: {
|
|
1189
|
+
after: number;
|
|
1190
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1191
|
+
priority: number;
|
|
1192
|
+
call: AlephRuntimeRuntimeCallLike;
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
/**
|
|
1196
|
+
* See [`Pallet::schedule_named_after`].
|
|
1197
|
+
**/
|
|
1198
|
+
| {
|
|
1199
|
+
name: 'ScheduleNamedAfter';
|
|
1200
|
+
params: {
|
|
1201
|
+
id: FixedBytes<32>;
|
|
1202
|
+
after: number;
|
|
1203
|
+
maybePeriodic?: [number, number] | undefined;
|
|
1204
|
+
priority: number;
|
|
1205
|
+
call: AlephRuntimeRuntimeCallLike;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1211
|
+
**/
|
|
1212
|
+
export type PalletTimestampCall =
|
|
1213
|
+
/**
|
|
1214
|
+
* See [`Pallet::set`].
|
|
1215
|
+
**/
|
|
1216
|
+
{ name: 'Set'; params: { now: bigint } };
|
|
1217
|
+
|
|
1218
|
+
export type PalletTimestampCallLike =
|
|
1219
|
+
/**
|
|
1220
|
+
* See [`Pallet::set`].
|
|
1221
|
+
**/
|
|
1222
|
+
{ name: 'Set'; params: { now: bigint } };
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1226
|
+
**/
|
|
1227
|
+
export type PalletBalancesCall =
|
|
1228
|
+
/**
|
|
1229
|
+
* See [`Pallet::transfer_allow_death`].
|
|
1230
|
+
**/
|
|
1231
|
+
| { name: 'TransferAllowDeath'; params: { dest: MultiAddress; value: bigint } }
|
|
1232
|
+
/**
|
|
1233
|
+
* See [`Pallet::force_transfer`].
|
|
1234
|
+
**/
|
|
1235
|
+
| { name: 'ForceTransfer'; params: { source: MultiAddress; dest: MultiAddress; value: bigint } }
|
|
1236
|
+
/**
|
|
1237
|
+
* See [`Pallet::transfer_keep_alive`].
|
|
1238
|
+
**/
|
|
1239
|
+
| { name: 'TransferKeepAlive'; params: { dest: MultiAddress; value: bigint } }
|
|
1240
|
+
/**
|
|
1241
|
+
* See [`Pallet::transfer_all`].
|
|
1242
|
+
**/
|
|
1243
|
+
| { name: 'TransferAll'; params: { dest: MultiAddress; keepAlive: boolean } }
|
|
1244
|
+
/**
|
|
1245
|
+
* See [`Pallet::force_unreserve`].
|
|
1246
|
+
**/
|
|
1247
|
+
| { name: 'ForceUnreserve'; params: { who: MultiAddress; amount: bigint } }
|
|
1248
|
+
/**
|
|
1249
|
+
* See [`Pallet::upgrade_accounts`].
|
|
1250
|
+
**/
|
|
1251
|
+
| { name: 'UpgradeAccounts'; params: { who: Array<AccountId32> } }
|
|
1252
|
+
/**
|
|
1253
|
+
* See [`Pallet::force_set_balance`].
|
|
1254
|
+
**/
|
|
1255
|
+
| { name: 'ForceSetBalance'; params: { who: MultiAddress; newFree: bigint } };
|
|
1256
|
+
|
|
1257
|
+
export type PalletBalancesCallLike =
|
|
1258
|
+
/**
|
|
1259
|
+
* See [`Pallet::transfer_allow_death`].
|
|
1260
|
+
**/
|
|
1261
|
+
| { name: 'TransferAllowDeath'; params: { dest: MultiAddressLike; value: bigint } }
|
|
1262
|
+
/**
|
|
1263
|
+
* See [`Pallet::force_transfer`].
|
|
1264
|
+
**/
|
|
1265
|
+
| { name: 'ForceTransfer'; params: { source: MultiAddressLike; dest: MultiAddressLike; value: bigint } }
|
|
1266
|
+
/**
|
|
1267
|
+
* See [`Pallet::transfer_keep_alive`].
|
|
1268
|
+
**/
|
|
1269
|
+
| { name: 'TransferKeepAlive'; params: { dest: MultiAddressLike; value: bigint } }
|
|
1270
|
+
/**
|
|
1271
|
+
* See [`Pallet::transfer_all`].
|
|
1272
|
+
**/
|
|
1273
|
+
| { name: 'TransferAll'; params: { dest: MultiAddressLike; keepAlive: boolean } }
|
|
1274
|
+
/**
|
|
1275
|
+
* See [`Pallet::force_unreserve`].
|
|
1276
|
+
**/
|
|
1277
|
+
| { name: 'ForceUnreserve'; params: { who: MultiAddressLike; amount: bigint } }
|
|
1278
|
+
/**
|
|
1279
|
+
* See [`Pallet::upgrade_accounts`].
|
|
1280
|
+
**/
|
|
1281
|
+
| { name: 'UpgradeAccounts'; params: { who: Array<AccountId32Like> } }
|
|
1282
|
+
/**
|
|
1283
|
+
* See [`Pallet::force_set_balance`].
|
|
1284
|
+
**/
|
|
1285
|
+
| { name: 'ForceSetBalance'; params: { who: MultiAddressLike; newFree: bigint } };
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1289
|
+
**/
|
|
1290
|
+
export type PalletStakingPalletCall =
|
|
1291
|
+
/**
|
|
1292
|
+
* See [`Pallet::bond`].
|
|
1293
|
+
**/
|
|
1294
|
+
| { name: 'Bond'; params: { value: bigint; payee: PalletStakingRewardDestination } }
|
|
1295
|
+
/**
|
|
1296
|
+
* See [`Pallet::bond_extra`].
|
|
1297
|
+
**/
|
|
1298
|
+
| { name: 'BondExtra'; params: { maxAdditional: bigint } }
|
|
1299
|
+
/**
|
|
1300
|
+
* See [`Pallet::unbond`].
|
|
1301
|
+
**/
|
|
1302
|
+
| { name: 'Unbond'; params: { value: bigint } }
|
|
1303
|
+
/**
|
|
1304
|
+
* See [`Pallet::withdraw_unbonded`].
|
|
1305
|
+
**/
|
|
1306
|
+
| { name: 'WithdrawUnbonded'; params: { numSlashingSpans: number } }
|
|
1307
|
+
/**
|
|
1308
|
+
* See [`Pallet::validate`].
|
|
1309
|
+
**/
|
|
1310
|
+
| { name: 'Validate'; params: { prefs: PalletStakingValidatorPrefs } }
|
|
1311
|
+
/**
|
|
1312
|
+
* See [`Pallet::nominate`].
|
|
1313
|
+
**/
|
|
1314
|
+
| { name: 'Nominate'; params: { targets: Array<MultiAddress> } }
|
|
1315
|
+
/**
|
|
1316
|
+
* See [`Pallet::chill`].
|
|
1317
|
+
**/
|
|
1318
|
+
| { name: 'Chill' }
|
|
1319
|
+
/**
|
|
1320
|
+
* See [`Pallet::set_payee`].
|
|
1321
|
+
**/
|
|
1322
|
+
| { name: 'SetPayee'; params: { payee: PalletStakingRewardDestination } }
|
|
1323
|
+
/**
|
|
1324
|
+
* See [`Pallet::set_controller`].
|
|
1325
|
+
**/
|
|
1326
|
+
| { name: 'SetController' }
|
|
1327
|
+
/**
|
|
1328
|
+
* See [`Pallet::set_validator_count`].
|
|
1329
|
+
**/
|
|
1330
|
+
| { name: 'SetValidatorCount'; params: { new: number } }
|
|
1331
|
+
/**
|
|
1332
|
+
* See [`Pallet::increase_validator_count`].
|
|
1333
|
+
**/
|
|
1334
|
+
| { name: 'IncreaseValidatorCount'; params: { additional: number } }
|
|
1335
|
+
/**
|
|
1336
|
+
* See [`Pallet::scale_validator_count`].
|
|
1337
|
+
**/
|
|
1338
|
+
| { name: 'ScaleValidatorCount'; params: { factor: Percent } }
|
|
1339
|
+
/**
|
|
1340
|
+
* See [`Pallet::force_no_eras`].
|
|
1341
|
+
**/
|
|
1342
|
+
| { name: 'ForceNoEras' }
|
|
1343
|
+
/**
|
|
1344
|
+
* See [`Pallet::force_new_era`].
|
|
1345
|
+
**/
|
|
1346
|
+
| { name: 'ForceNewEra' }
|
|
1347
|
+
/**
|
|
1348
|
+
* See [`Pallet::set_invulnerables`].
|
|
1349
|
+
**/
|
|
1350
|
+
| { name: 'SetInvulnerables'; params: { invulnerables: Array<AccountId32> } }
|
|
1351
|
+
/**
|
|
1352
|
+
* See [`Pallet::force_unstake`].
|
|
1353
|
+
**/
|
|
1354
|
+
| { name: 'ForceUnstake'; params: { stash: AccountId32; numSlashingSpans: number } }
|
|
1355
|
+
/**
|
|
1356
|
+
* See [`Pallet::force_new_era_always`].
|
|
1357
|
+
**/
|
|
1358
|
+
| { name: 'ForceNewEraAlways' }
|
|
1359
|
+
/**
|
|
1360
|
+
* See [`Pallet::cancel_deferred_slash`].
|
|
1361
|
+
**/
|
|
1362
|
+
| { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
|
|
1363
|
+
/**
|
|
1364
|
+
* See [`Pallet::payout_stakers`].
|
|
1365
|
+
**/
|
|
1366
|
+
| { name: 'PayoutStakers'; params: { validatorStash: AccountId32; era: number } }
|
|
1367
|
+
/**
|
|
1368
|
+
* See [`Pallet::rebond`].
|
|
1369
|
+
**/
|
|
1370
|
+
| { name: 'Rebond'; params: { value: bigint } }
|
|
1371
|
+
/**
|
|
1372
|
+
* See [`Pallet::reap_stash`].
|
|
1373
|
+
**/
|
|
1374
|
+
| { name: 'ReapStash'; params: { stash: AccountId32; numSlashingSpans: number } }
|
|
1375
|
+
/**
|
|
1376
|
+
* See [`Pallet::kick`].
|
|
1377
|
+
**/
|
|
1378
|
+
| { name: 'Kick'; params: { who: Array<MultiAddress> } }
|
|
1379
|
+
/**
|
|
1380
|
+
* See [`Pallet::set_staking_configs`].
|
|
1381
|
+
**/
|
|
1382
|
+
| {
|
|
1383
|
+
name: 'SetStakingConfigs';
|
|
1384
|
+
params: {
|
|
1385
|
+
minNominatorBond: PalletStakingPalletConfigOp;
|
|
1386
|
+
minValidatorBond: PalletStakingPalletConfigOp;
|
|
1387
|
+
maxNominatorCount: PalletStakingPalletConfigOpU32;
|
|
1388
|
+
maxValidatorCount: PalletStakingPalletConfigOpU32;
|
|
1389
|
+
chillThreshold: PalletStakingPalletConfigOpPercent;
|
|
1390
|
+
minCommission: PalletStakingPalletConfigOpPerbill;
|
|
1391
|
+
};
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* See [`Pallet::chill_other`].
|
|
1395
|
+
**/
|
|
1396
|
+
| { name: 'ChillOther'; params: { controller: AccountId32 } }
|
|
1397
|
+
/**
|
|
1398
|
+
* See [`Pallet::force_apply_min_commission`].
|
|
1399
|
+
**/
|
|
1400
|
+
| { name: 'ForceApplyMinCommission'; params: { validatorStash: AccountId32 } }
|
|
1401
|
+
/**
|
|
1402
|
+
* See [`Pallet::set_min_commission`].
|
|
1403
|
+
**/
|
|
1404
|
+
| { name: 'SetMinCommission'; params: { new: Perbill } };
|
|
1405
|
+
|
|
1406
|
+
export type PalletStakingPalletCallLike =
|
|
1407
|
+
/**
|
|
1408
|
+
* See [`Pallet::bond`].
|
|
1409
|
+
**/
|
|
1410
|
+
| { name: 'Bond'; params: { value: bigint; payee: PalletStakingRewardDestination } }
|
|
1411
|
+
/**
|
|
1412
|
+
* See [`Pallet::bond_extra`].
|
|
1413
|
+
**/
|
|
1414
|
+
| { name: 'BondExtra'; params: { maxAdditional: bigint } }
|
|
1415
|
+
/**
|
|
1416
|
+
* See [`Pallet::unbond`].
|
|
1417
|
+
**/
|
|
1418
|
+
| { name: 'Unbond'; params: { value: bigint } }
|
|
1419
|
+
/**
|
|
1420
|
+
* See [`Pallet::withdraw_unbonded`].
|
|
1421
|
+
**/
|
|
1422
|
+
| { name: 'WithdrawUnbonded'; params: { numSlashingSpans: number } }
|
|
1423
|
+
/**
|
|
1424
|
+
* See [`Pallet::validate`].
|
|
1425
|
+
**/
|
|
1426
|
+
| { name: 'Validate'; params: { prefs: PalletStakingValidatorPrefs } }
|
|
1427
|
+
/**
|
|
1428
|
+
* See [`Pallet::nominate`].
|
|
1429
|
+
**/
|
|
1430
|
+
| { name: 'Nominate'; params: { targets: Array<MultiAddressLike> } }
|
|
1431
|
+
/**
|
|
1432
|
+
* See [`Pallet::chill`].
|
|
1433
|
+
**/
|
|
1434
|
+
| { name: 'Chill' }
|
|
1435
|
+
/**
|
|
1436
|
+
* See [`Pallet::set_payee`].
|
|
1437
|
+
**/
|
|
1438
|
+
| { name: 'SetPayee'; params: { payee: PalletStakingRewardDestination } }
|
|
1439
|
+
/**
|
|
1440
|
+
* See [`Pallet::set_controller`].
|
|
1441
|
+
**/
|
|
1442
|
+
| { name: 'SetController' }
|
|
1443
|
+
/**
|
|
1444
|
+
* See [`Pallet::set_validator_count`].
|
|
1445
|
+
**/
|
|
1446
|
+
| { name: 'SetValidatorCount'; params: { new: number } }
|
|
1447
|
+
/**
|
|
1448
|
+
* See [`Pallet::increase_validator_count`].
|
|
1449
|
+
**/
|
|
1450
|
+
| { name: 'IncreaseValidatorCount'; params: { additional: number } }
|
|
1451
|
+
/**
|
|
1452
|
+
* See [`Pallet::scale_validator_count`].
|
|
1453
|
+
**/
|
|
1454
|
+
| { name: 'ScaleValidatorCount'; params: { factor: Percent } }
|
|
1455
|
+
/**
|
|
1456
|
+
* See [`Pallet::force_no_eras`].
|
|
1457
|
+
**/
|
|
1458
|
+
| { name: 'ForceNoEras' }
|
|
1459
|
+
/**
|
|
1460
|
+
* See [`Pallet::force_new_era`].
|
|
1461
|
+
**/
|
|
1462
|
+
| { name: 'ForceNewEra' }
|
|
1463
|
+
/**
|
|
1464
|
+
* See [`Pallet::set_invulnerables`].
|
|
1465
|
+
**/
|
|
1466
|
+
| { name: 'SetInvulnerables'; params: { invulnerables: Array<AccountId32Like> } }
|
|
1467
|
+
/**
|
|
1468
|
+
* See [`Pallet::force_unstake`].
|
|
1469
|
+
**/
|
|
1470
|
+
| { name: 'ForceUnstake'; params: { stash: AccountId32Like; numSlashingSpans: number } }
|
|
1471
|
+
/**
|
|
1472
|
+
* See [`Pallet::force_new_era_always`].
|
|
1473
|
+
**/
|
|
1474
|
+
| { name: 'ForceNewEraAlways' }
|
|
1475
|
+
/**
|
|
1476
|
+
* See [`Pallet::cancel_deferred_slash`].
|
|
1477
|
+
**/
|
|
1478
|
+
| { name: 'CancelDeferredSlash'; params: { era: number; slashIndices: Array<number> } }
|
|
1479
|
+
/**
|
|
1480
|
+
* See [`Pallet::payout_stakers`].
|
|
1481
|
+
**/
|
|
1482
|
+
| { name: 'PayoutStakers'; params: { validatorStash: AccountId32Like; era: number } }
|
|
1483
|
+
/**
|
|
1484
|
+
* See [`Pallet::rebond`].
|
|
1485
|
+
**/
|
|
1486
|
+
| { name: 'Rebond'; params: { value: bigint } }
|
|
1487
|
+
/**
|
|
1488
|
+
* See [`Pallet::reap_stash`].
|
|
1489
|
+
**/
|
|
1490
|
+
| { name: 'ReapStash'; params: { stash: AccountId32Like; numSlashingSpans: number } }
|
|
1491
|
+
/**
|
|
1492
|
+
* See [`Pallet::kick`].
|
|
1493
|
+
**/
|
|
1494
|
+
| { name: 'Kick'; params: { who: Array<MultiAddressLike> } }
|
|
1495
|
+
/**
|
|
1496
|
+
* See [`Pallet::set_staking_configs`].
|
|
1497
|
+
**/
|
|
1498
|
+
| {
|
|
1499
|
+
name: 'SetStakingConfigs';
|
|
1500
|
+
params: {
|
|
1501
|
+
minNominatorBond: PalletStakingPalletConfigOp;
|
|
1502
|
+
minValidatorBond: PalletStakingPalletConfigOp;
|
|
1503
|
+
maxNominatorCount: PalletStakingPalletConfigOpU32;
|
|
1504
|
+
maxValidatorCount: PalletStakingPalletConfigOpU32;
|
|
1505
|
+
chillThreshold: PalletStakingPalletConfigOpPercent;
|
|
1506
|
+
minCommission: PalletStakingPalletConfigOpPerbill;
|
|
1507
|
+
};
|
|
1508
|
+
}
|
|
1509
|
+
/**
|
|
1510
|
+
* See [`Pallet::chill_other`].
|
|
1511
|
+
**/
|
|
1512
|
+
| { name: 'ChillOther'; params: { controller: AccountId32Like } }
|
|
1513
|
+
/**
|
|
1514
|
+
* See [`Pallet::force_apply_min_commission`].
|
|
1515
|
+
**/
|
|
1516
|
+
| { name: 'ForceApplyMinCommission'; params: { validatorStash: AccountId32Like } }
|
|
1517
|
+
/**
|
|
1518
|
+
* See [`Pallet::set_min_commission`].
|
|
1519
|
+
**/
|
|
1520
|
+
| { name: 'SetMinCommission'; params: { new: Perbill } };
|
|
1521
|
+
|
|
1522
|
+
export type PalletStakingPalletConfigOp = { tag: 'Noop' } | { tag: 'Set'; value: bigint } | { tag: 'Remove' };
|
|
1523
|
+
|
|
1524
|
+
export type PalletStakingPalletConfigOpU32 = { tag: 'Noop' } | { tag: 'Set'; value: number } | { tag: 'Remove' };
|
|
1525
|
+
|
|
1526
|
+
export type PalletStakingPalletConfigOpPercent = { tag: 'Noop' } | { tag: 'Set'; value: Percent } | { tag: 'Remove' };
|
|
1527
|
+
|
|
1528
|
+
export type PalletStakingPalletConfigOpPerbill = { tag: 'Noop' } | { tag: 'Set'; value: Perbill } | { tag: 'Remove' };
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1532
|
+
**/
|
|
1533
|
+
export type PalletSessionCall =
|
|
1534
|
+
/**
|
|
1535
|
+
* See [`Pallet::set_keys`].
|
|
1536
|
+
**/
|
|
1537
|
+
| { name: 'SetKeys'; params: { keys: AlephRuntimeSessionKeys; proof: Bytes } }
|
|
1538
|
+
/**
|
|
1539
|
+
* See [`Pallet::purge_keys`].
|
|
1540
|
+
**/
|
|
1541
|
+
| { name: 'PurgeKeys' };
|
|
1542
|
+
|
|
1543
|
+
export type PalletSessionCallLike =
|
|
1544
|
+
/**
|
|
1545
|
+
* See [`Pallet::set_keys`].
|
|
1546
|
+
**/
|
|
1547
|
+
| { name: 'SetKeys'; params: { keys: AlephRuntimeSessionKeys; proof: BytesLike } }
|
|
1548
|
+
/**
|
|
1549
|
+
* See [`Pallet::purge_keys`].
|
|
1550
|
+
**/
|
|
1551
|
+
| { name: 'PurgeKeys' };
|
|
1552
|
+
|
|
1553
|
+
export type AlephRuntimeSessionKeys = { aura: SpConsensusAuraSr25519AppSr25519Public; aleph: PrimitivesAppPublic };
|
|
1554
|
+
|
|
1555
|
+
export type SpConsensusAuraSr25519AppSr25519Public = SpCoreSr25519Public;
|
|
1556
|
+
|
|
1557
|
+
export type SpCoreSr25519Public = FixedBytes<32>;
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1561
|
+
**/
|
|
1562
|
+
export type PalletAlephCall =
|
|
1563
|
+
/**
|
|
1564
|
+
* See [`Pallet::set_emergency_finalizer`].
|
|
1565
|
+
**/
|
|
1566
|
+
| { name: 'SetEmergencyFinalizer'; params: { emergencyFinalizer: PrimitivesAppPublic } }
|
|
1567
|
+
/**
|
|
1568
|
+
* See [`Pallet::schedule_finality_version_change`].
|
|
1569
|
+
**/
|
|
1570
|
+
| { name: 'ScheduleFinalityVersionChange'; params: { versionIncoming: number; session: number } };
|
|
1571
|
+
|
|
1572
|
+
export type PalletAlephCallLike =
|
|
1573
|
+
/**
|
|
1574
|
+
* See [`Pallet::set_emergency_finalizer`].
|
|
1575
|
+
**/
|
|
1576
|
+
| { name: 'SetEmergencyFinalizer'; params: { emergencyFinalizer: PrimitivesAppPublic } }
|
|
1577
|
+
/**
|
|
1578
|
+
* See [`Pallet::schedule_finality_version_change`].
|
|
1579
|
+
**/
|
|
1580
|
+
| { name: 'ScheduleFinalityVersionChange'; params: { versionIncoming: number; session: number } };
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1584
|
+
**/
|
|
1585
|
+
export type PalletElectionsCall =
|
|
1586
|
+
/**
|
|
1587
|
+
* See [`Pallet::change_validators`].
|
|
1588
|
+
**/
|
|
1589
|
+
| {
|
|
1590
|
+
name: 'ChangeValidators';
|
|
1591
|
+
params: {
|
|
1592
|
+
reservedValidators?: Array<AccountId32> | undefined;
|
|
1593
|
+
nonReservedValidators?: Array<AccountId32> | undefined;
|
|
1594
|
+
committeeSize?: PrimitivesCommitteeSeats | undefined;
|
|
1595
|
+
};
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* See [`Pallet::set_elections_openness`].
|
|
1599
|
+
**/
|
|
1600
|
+
| { name: 'SetElectionsOpenness'; params: { openness: PrimitivesElectionOpenness } };
|
|
1601
|
+
|
|
1602
|
+
export type PalletElectionsCallLike =
|
|
1603
|
+
/**
|
|
1604
|
+
* See [`Pallet::change_validators`].
|
|
1605
|
+
**/
|
|
1606
|
+
| {
|
|
1607
|
+
name: 'ChangeValidators';
|
|
1608
|
+
params: {
|
|
1609
|
+
reservedValidators?: Array<AccountId32Like> | undefined;
|
|
1610
|
+
nonReservedValidators?: Array<AccountId32Like> | undefined;
|
|
1611
|
+
committeeSize?: PrimitivesCommitteeSeats | undefined;
|
|
1612
|
+
};
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* See [`Pallet::set_elections_openness`].
|
|
1616
|
+
**/
|
|
1617
|
+
| { name: 'SetElectionsOpenness'; params: { openness: PrimitivesElectionOpenness } };
|
|
1618
|
+
|
|
1619
|
+
export type PrimitivesElectionOpenness = 'Permissioned' | 'Permissionless';
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1623
|
+
**/
|
|
1624
|
+
export type PalletTreasuryCall =
|
|
1625
|
+
/**
|
|
1626
|
+
* See [`Pallet::propose_spend`].
|
|
1627
|
+
**/
|
|
1628
|
+
| { name: 'ProposeSpend'; params: { value: bigint; beneficiary: MultiAddress } }
|
|
1629
|
+
/**
|
|
1630
|
+
* See [`Pallet::reject_proposal`].
|
|
1631
|
+
**/
|
|
1632
|
+
| { name: 'RejectProposal'; params: { proposalId: number } }
|
|
1633
|
+
/**
|
|
1634
|
+
* See [`Pallet::approve_proposal`].
|
|
1635
|
+
**/
|
|
1636
|
+
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
1637
|
+
/**
|
|
1638
|
+
* See [`Pallet::spend`].
|
|
1639
|
+
**/
|
|
1640
|
+
| { name: 'Spend'; params: { amount: bigint; beneficiary: MultiAddress } }
|
|
1641
|
+
/**
|
|
1642
|
+
* See [`Pallet::remove_approval`].
|
|
1643
|
+
**/
|
|
1644
|
+
| { name: 'RemoveApproval'; params: { proposalId: number } };
|
|
1645
|
+
|
|
1646
|
+
export type PalletTreasuryCallLike =
|
|
1647
|
+
/**
|
|
1648
|
+
* See [`Pallet::propose_spend`].
|
|
1649
|
+
**/
|
|
1650
|
+
| { name: 'ProposeSpend'; params: { value: bigint; beneficiary: MultiAddressLike } }
|
|
1651
|
+
/**
|
|
1652
|
+
* See [`Pallet::reject_proposal`].
|
|
1653
|
+
**/
|
|
1654
|
+
| { name: 'RejectProposal'; params: { proposalId: number } }
|
|
1655
|
+
/**
|
|
1656
|
+
* See [`Pallet::approve_proposal`].
|
|
1657
|
+
**/
|
|
1658
|
+
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
1659
|
+
/**
|
|
1660
|
+
* See [`Pallet::spend`].
|
|
1661
|
+
**/
|
|
1662
|
+
| { name: 'Spend'; params: { amount: bigint; beneficiary: MultiAddressLike } }
|
|
1663
|
+
/**
|
|
1664
|
+
* See [`Pallet::remove_approval`].
|
|
1665
|
+
**/
|
|
1666
|
+
| { name: 'RemoveApproval'; params: { proposalId: number } };
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1670
|
+
**/
|
|
1671
|
+
export type PalletVestingCall =
|
|
1672
|
+
/**
|
|
1673
|
+
* See [`Pallet::vest`].
|
|
1674
|
+
**/
|
|
1675
|
+
| { name: 'Vest' }
|
|
1676
|
+
/**
|
|
1677
|
+
* See [`Pallet::vest_other`].
|
|
1678
|
+
**/
|
|
1679
|
+
| { name: 'VestOther'; params: { target: MultiAddress } }
|
|
1680
|
+
/**
|
|
1681
|
+
* See [`Pallet::vested_transfer`].
|
|
1682
|
+
**/
|
|
1683
|
+
| { name: 'VestedTransfer'; params: { target: MultiAddress; schedule: PalletVestingVestingInfo } }
|
|
1684
|
+
/**
|
|
1685
|
+
* See [`Pallet::force_vested_transfer`].
|
|
1686
|
+
**/
|
|
1687
|
+
| {
|
|
1688
|
+
name: 'ForceVestedTransfer';
|
|
1689
|
+
params: { source: MultiAddress; target: MultiAddress; schedule: PalletVestingVestingInfo };
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
* See [`Pallet::merge_schedules`].
|
|
1693
|
+
**/
|
|
1694
|
+
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } };
|
|
1695
|
+
|
|
1696
|
+
export type PalletVestingCallLike =
|
|
1697
|
+
/**
|
|
1698
|
+
* See [`Pallet::vest`].
|
|
1699
|
+
**/
|
|
1700
|
+
| { name: 'Vest' }
|
|
1701
|
+
/**
|
|
1702
|
+
* See [`Pallet::vest_other`].
|
|
1703
|
+
**/
|
|
1704
|
+
| { name: 'VestOther'; params: { target: MultiAddressLike } }
|
|
1705
|
+
/**
|
|
1706
|
+
* See [`Pallet::vested_transfer`].
|
|
1707
|
+
**/
|
|
1708
|
+
| { name: 'VestedTransfer'; params: { target: MultiAddressLike; schedule: PalletVestingVestingInfo } }
|
|
1709
|
+
/**
|
|
1710
|
+
* See [`Pallet::force_vested_transfer`].
|
|
1711
|
+
**/
|
|
1712
|
+
| {
|
|
1713
|
+
name: 'ForceVestedTransfer';
|
|
1714
|
+
params: { source: MultiAddressLike; target: MultiAddressLike; schedule: PalletVestingVestingInfo };
|
|
1715
|
+
}
|
|
1716
|
+
/**
|
|
1717
|
+
* See [`Pallet::merge_schedules`].
|
|
1718
|
+
**/
|
|
1719
|
+
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } };
|
|
1720
|
+
|
|
1721
|
+
export type PalletVestingVestingInfo = { locked: bigint; perBlock: bigint; startingBlock: number };
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1725
|
+
**/
|
|
1726
|
+
export type PalletUtilityCall =
|
|
1727
|
+
/**
|
|
1728
|
+
* See [`Pallet::batch`].
|
|
1729
|
+
**/
|
|
1730
|
+
| { name: 'Batch'; params: { calls: Array<AlephRuntimeRuntimeCall> } }
|
|
1731
|
+
/**
|
|
1732
|
+
* See [`Pallet::as_derivative`].
|
|
1733
|
+
**/
|
|
1734
|
+
| { name: 'AsDerivative'; params: { index: number; call: AlephRuntimeRuntimeCall } }
|
|
1735
|
+
/**
|
|
1736
|
+
* See [`Pallet::batch_all`].
|
|
1737
|
+
**/
|
|
1738
|
+
| { name: 'BatchAll'; params: { calls: Array<AlephRuntimeRuntimeCall> } }
|
|
1739
|
+
/**
|
|
1740
|
+
* See [`Pallet::dispatch_as`].
|
|
1741
|
+
**/
|
|
1742
|
+
| { name: 'DispatchAs'; params: { asOrigin: AlephRuntimeOriginCaller; call: AlephRuntimeRuntimeCall } }
|
|
1743
|
+
/**
|
|
1744
|
+
* See [`Pallet::force_batch`].
|
|
1745
|
+
**/
|
|
1746
|
+
| { name: 'ForceBatch'; params: { calls: Array<AlephRuntimeRuntimeCall> } }
|
|
1747
|
+
/**
|
|
1748
|
+
* See [`Pallet::with_weight`].
|
|
1749
|
+
**/
|
|
1750
|
+
| { name: 'WithWeight'; params: { call: AlephRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } };
|
|
1751
|
+
|
|
1752
|
+
export type PalletUtilityCallLike =
|
|
1753
|
+
/**
|
|
1754
|
+
* See [`Pallet::batch`].
|
|
1755
|
+
**/
|
|
1756
|
+
| { name: 'Batch'; params: { calls: Array<AlephRuntimeRuntimeCallLike> } }
|
|
1757
|
+
/**
|
|
1758
|
+
* See [`Pallet::as_derivative`].
|
|
1759
|
+
**/
|
|
1760
|
+
| { name: 'AsDerivative'; params: { index: number; call: AlephRuntimeRuntimeCallLike } }
|
|
1761
|
+
/**
|
|
1762
|
+
* See [`Pallet::batch_all`].
|
|
1763
|
+
**/
|
|
1764
|
+
| { name: 'BatchAll'; params: { calls: Array<AlephRuntimeRuntimeCallLike> } }
|
|
1765
|
+
/**
|
|
1766
|
+
* See [`Pallet::dispatch_as`].
|
|
1767
|
+
**/
|
|
1768
|
+
| { name: 'DispatchAs'; params: { asOrigin: AlephRuntimeOriginCaller; call: AlephRuntimeRuntimeCallLike } }
|
|
1769
|
+
/**
|
|
1770
|
+
* See [`Pallet::force_batch`].
|
|
1771
|
+
**/
|
|
1772
|
+
| { name: 'ForceBatch'; params: { calls: Array<AlephRuntimeRuntimeCallLike> } }
|
|
1773
|
+
/**
|
|
1774
|
+
* See [`Pallet::with_weight`].
|
|
1775
|
+
**/
|
|
1776
|
+
| { name: 'WithWeight'; params: { call: AlephRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } };
|
|
1777
|
+
|
|
1778
|
+
export type AlephRuntimeOriginCaller =
|
|
1779
|
+
| { tag: 'System'; value: FrameSupportDispatchRawOrigin }
|
|
1780
|
+
| { tag: 'Void'; value: SpCoreVoid };
|
|
1781
|
+
|
|
1782
|
+
export type FrameSupportDispatchRawOrigin = { tag: 'Root' } | { tag: 'Signed'; value: AccountId32 } | { tag: 'None' };
|
|
1783
|
+
|
|
1784
|
+
export type SpCoreVoid = null;
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1788
|
+
**/
|
|
1789
|
+
export type PalletMultisigCall =
|
|
1790
|
+
/**
|
|
1791
|
+
* See [`Pallet::as_multi_threshold_1`].
|
|
1792
|
+
**/
|
|
1793
|
+
| { name: 'AsMultiThreshold1'; params: { otherSignatories: Array<AccountId32>; call: AlephRuntimeRuntimeCall } }
|
|
1794
|
+
/**
|
|
1795
|
+
* See [`Pallet::as_multi`].
|
|
1796
|
+
**/
|
|
1797
|
+
| {
|
|
1798
|
+
name: 'AsMulti';
|
|
1799
|
+
params: {
|
|
1800
|
+
threshold: number;
|
|
1801
|
+
otherSignatories: Array<AccountId32>;
|
|
1802
|
+
maybeTimepoint?: PalletMultisigTimepoint | undefined;
|
|
1803
|
+
call: AlephRuntimeRuntimeCall;
|
|
1804
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
/**
|
|
1808
|
+
* See [`Pallet::approve_as_multi`].
|
|
1809
|
+
**/
|
|
1810
|
+
| {
|
|
1811
|
+
name: 'ApproveAsMulti';
|
|
1812
|
+
params: {
|
|
1813
|
+
threshold: number;
|
|
1814
|
+
otherSignatories: Array<AccountId32>;
|
|
1815
|
+
maybeTimepoint?: PalletMultisigTimepoint | undefined;
|
|
1816
|
+
callHash: FixedBytes<32>;
|
|
1817
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
1818
|
+
};
|
|
1819
|
+
}
|
|
1820
|
+
/**
|
|
1821
|
+
* See [`Pallet::cancel_as_multi`].
|
|
1822
|
+
**/
|
|
1823
|
+
| {
|
|
1824
|
+
name: 'CancelAsMulti';
|
|
1825
|
+
params: {
|
|
1826
|
+
threshold: number;
|
|
1827
|
+
otherSignatories: Array<AccountId32>;
|
|
1828
|
+
timepoint: PalletMultisigTimepoint;
|
|
1829
|
+
callHash: FixedBytes<32>;
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
export type PalletMultisigCallLike =
|
|
1834
|
+
/**
|
|
1835
|
+
* See [`Pallet::as_multi_threshold_1`].
|
|
1836
|
+
**/
|
|
1837
|
+
| {
|
|
1838
|
+
name: 'AsMultiThreshold1';
|
|
1839
|
+
params: { otherSignatories: Array<AccountId32Like>; call: AlephRuntimeRuntimeCallLike };
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* See [`Pallet::as_multi`].
|
|
1843
|
+
**/
|
|
1844
|
+
| {
|
|
1845
|
+
name: 'AsMulti';
|
|
1846
|
+
params: {
|
|
1847
|
+
threshold: number;
|
|
1848
|
+
otherSignatories: Array<AccountId32Like>;
|
|
1849
|
+
maybeTimepoint?: PalletMultisigTimepoint | undefined;
|
|
1850
|
+
call: AlephRuntimeRuntimeCallLike;
|
|
1851
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
1852
|
+
};
|
|
1853
|
+
}
|
|
1854
|
+
/**
|
|
1855
|
+
* See [`Pallet::approve_as_multi`].
|
|
1856
|
+
**/
|
|
1857
|
+
| {
|
|
1858
|
+
name: 'ApproveAsMulti';
|
|
1859
|
+
params: {
|
|
1860
|
+
threshold: number;
|
|
1861
|
+
otherSignatories: Array<AccountId32Like>;
|
|
1862
|
+
maybeTimepoint?: PalletMultisigTimepoint | undefined;
|
|
1863
|
+
callHash: FixedBytes<32>;
|
|
1864
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
1865
|
+
};
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* See [`Pallet::cancel_as_multi`].
|
|
1869
|
+
**/
|
|
1870
|
+
| {
|
|
1871
|
+
name: 'CancelAsMulti';
|
|
1872
|
+
params: {
|
|
1873
|
+
threshold: number;
|
|
1874
|
+
otherSignatories: Array<AccountId32Like>;
|
|
1875
|
+
timepoint: PalletMultisigTimepoint;
|
|
1876
|
+
callHash: FixedBytes<32>;
|
|
1877
|
+
};
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1882
|
+
**/
|
|
1883
|
+
export type PalletSudoCall =
|
|
1884
|
+
/**
|
|
1885
|
+
* See [`Pallet::sudo`].
|
|
1886
|
+
**/
|
|
1887
|
+
| { name: 'Sudo'; params: { call: AlephRuntimeRuntimeCall } }
|
|
1888
|
+
/**
|
|
1889
|
+
* See [`Pallet::sudo_unchecked_weight`].
|
|
1890
|
+
**/
|
|
1891
|
+
| { name: 'SudoUncheckedWeight'; params: { call: AlephRuntimeRuntimeCall; weight: SpWeightsWeightV2Weight } }
|
|
1892
|
+
/**
|
|
1893
|
+
* See [`Pallet::set_key`].
|
|
1894
|
+
**/
|
|
1895
|
+
| { name: 'SetKey'; params: { new: MultiAddress } }
|
|
1896
|
+
/**
|
|
1897
|
+
* See [`Pallet::sudo_as`].
|
|
1898
|
+
**/
|
|
1899
|
+
| { name: 'SudoAs'; params: { who: MultiAddress; call: AlephRuntimeRuntimeCall } };
|
|
1900
|
+
|
|
1901
|
+
export type PalletSudoCallLike =
|
|
1902
|
+
/**
|
|
1903
|
+
* See [`Pallet::sudo`].
|
|
1904
|
+
**/
|
|
1905
|
+
| { name: 'Sudo'; params: { call: AlephRuntimeRuntimeCallLike } }
|
|
1906
|
+
/**
|
|
1907
|
+
* See [`Pallet::sudo_unchecked_weight`].
|
|
1908
|
+
**/
|
|
1909
|
+
| { name: 'SudoUncheckedWeight'; params: { call: AlephRuntimeRuntimeCallLike; weight: SpWeightsWeightV2Weight } }
|
|
1910
|
+
/**
|
|
1911
|
+
* See [`Pallet::set_key`].
|
|
1912
|
+
**/
|
|
1913
|
+
| { name: 'SetKey'; params: { new: MultiAddressLike } }
|
|
1914
|
+
/**
|
|
1915
|
+
* See [`Pallet::sudo_as`].
|
|
1916
|
+
**/
|
|
1917
|
+
| { name: 'SudoAs'; params: { who: MultiAddressLike; call: AlephRuntimeRuntimeCallLike } };
|
|
1918
|
+
|
|
1919
|
+
/**
|
|
1920
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1921
|
+
**/
|
|
1922
|
+
export type PalletContractsCall =
|
|
1923
|
+
/**
|
|
1924
|
+
* See [`Pallet::call_old_weight`].
|
|
1925
|
+
**/
|
|
1926
|
+
| {
|
|
1927
|
+
name: 'CallOldWeight';
|
|
1928
|
+
params: {
|
|
1929
|
+
dest: MultiAddress;
|
|
1930
|
+
value: bigint;
|
|
1931
|
+
gasLimit: bigint;
|
|
1932
|
+
storageDepositLimit?: bigint | undefined;
|
|
1933
|
+
data: Bytes;
|
|
1934
|
+
};
|
|
1935
|
+
}
|
|
1936
|
+
/**
|
|
1937
|
+
* See [`Pallet::instantiate_with_code_old_weight`].
|
|
1938
|
+
**/
|
|
1939
|
+
| {
|
|
1940
|
+
name: 'InstantiateWithCodeOldWeight';
|
|
1941
|
+
params: {
|
|
1942
|
+
value: bigint;
|
|
1943
|
+
gasLimit: bigint;
|
|
1944
|
+
storageDepositLimit?: bigint | undefined;
|
|
1945
|
+
code: Bytes;
|
|
1946
|
+
data: Bytes;
|
|
1947
|
+
salt: Bytes;
|
|
1948
|
+
};
|
|
1949
|
+
}
|
|
1950
|
+
/**
|
|
1951
|
+
* See [`Pallet::instantiate_old_weight`].
|
|
1952
|
+
**/
|
|
1953
|
+
| {
|
|
1954
|
+
name: 'InstantiateOldWeight';
|
|
1955
|
+
params: {
|
|
1956
|
+
value: bigint;
|
|
1957
|
+
gasLimit: bigint;
|
|
1958
|
+
storageDepositLimit?: bigint | undefined;
|
|
1959
|
+
codeHash: H256;
|
|
1960
|
+
data: Bytes;
|
|
1961
|
+
salt: Bytes;
|
|
1962
|
+
};
|
|
1963
|
+
}
|
|
1964
|
+
/**
|
|
1965
|
+
* See [`Pallet::upload_code`].
|
|
1966
|
+
**/
|
|
1967
|
+
| {
|
|
1968
|
+
name: 'UploadCode';
|
|
1969
|
+
params: { code: Bytes; storageDepositLimit?: bigint | undefined; determinism: PalletContractsWasmDeterminism };
|
|
1970
|
+
}
|
|
1971
|
+
/**
|
|
1972
|
+
* See [`Pallet::remove_code`].
|
|
1973
|
+
**/
|
|
1974
|
+
| { name: 'RemoveCode'; params: { codeHash: H256 } }
|
|
1975
|
+
/**
|
|
1976
|
+
* See [`Pallet::set_code`].
|
|
1977
|
+
**/
|
|
1978
|
+
| { name: 'SetCode'; params: { dest: MultiAddress; codeHash: H256 } }
|
|
1979
|
+
/**
|
|
1980
|
+
* See [`Pallet::call`].
|
|
1981
|
+
**/
|
|
1982
|
+
| {
|
|
1983
|
+
name: 'Call';
|
|
1984
|
+
params: {
|
|
1985
|
+
dest: MultiAddress;
|
|
1986
|
+
value: bigint;
|
|
1987
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
1988
|
+
storageDepositLimit?: bigint | undefined;
|
|
1989
|
+
data: Bytes;
|
|
1990
|
+
};
|
|
1991
|
+
}
|
|
1992
|
+
/**
|
|
1993
|
+
* See [`Pallet::instantiate_with_code`].
|
|
1994
|
+
**/
|
|
1995
|
+
| {
|
|
1996
|
+
name: 'InstantiateWithCode';
|
|
1997
|
+
params: {
|
|
1998
|
+
value: bigint;
|
|
1999
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
2000
|
+
storageDepositLimit?: bigint | undefined;
|
|
2001
|
+
code: Bytes;
|
|
2002
|
+
data: Bytes;
|
|
2003
|
+
salt: Bytes;
|
|
2004
|
+
};
|
|
2005
|
+
}
|
|
2006
|
+
/**
|
|
2007
|
+
* See [`Pallet::instantiate`].
|
|
2008
|
+
**/
|
|
2009
|
+
| {
|
|
2010
|
+
name: 'Instantiate';
|
|
2011
|
+
params: {
|
|
2012
|
+
value: bigint;
|
|
2013
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
2014
|
+
storageDepositLimit?: bigint | undefined;
|
|
2015
|
+
codeHash: H256;
|
|
2016
|
+
data: Bytes;
|
|
2017
|
+
salt: Bytes;
|
|
2018
|
+
};
|
|
2019
|
+
}
|
|
2020
|
+
/**
|
|
2021
|
+
* See [`Pallet::migrate`].
|
|
2022
|
+
**/
|
|
2023
|
+
| { name: 'Migrate'; params: { weightLimit: SpWeightsWeightV2Weight } };
|
|
2024
|
+
|
|
2025
|
+
export type PalletContractsCallLike =
|
|
2026
|
+
/**
|
|
2027
|
+
* See [`Pallet::call_old_weight`].
|
|
2028
|
+
**/
|
|
2029
|
+
| {
|
|
2030
|
+
name: 'CallOldWeight';
|
|
2031
|
+
params: {
|
|
2032
|
+
dest: MultiAddressLike;
|
|
2033
|
+
value: bigint;
|
|
2034
|
+
gasLimit: bigint;
|
|
2035
|
+
storageDepositLimit?: bigint | undefined;
|
|
2036
|
+
data: BytesLike;
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
* See [`Pallet::instantiate_with_code_old_weight`].
|
|
2041
|
+
**/
|
|
2042
|
+
| {
|
|
2043
|
+
name: 'InstantiateWithCodeOldWeight';
|
|
2044
|
+
params: {
|
|
2045
|
+
value: bigint;
|
|
2046
|
+
gasLimit: bigint;
|
|
2047
|
+
storageDepositLimit?: bigint | undefined;
|
|
2048
|
+
code: BytesLike;
|
|
2049
|
+
data: BytesLike;
|
|
2050
|
+
salt: BytesLike;
|
|
2051
|
+
};
|
|
2052
|
+
}
|
|
2053
|
+
/**
|
|
2054
|
+
* See [`Pallet::instantiate_old_weight`].
|
|
2055
|
+
**/
|
|
2056
|
+
| {
|
|
2057
|
+
name: 'InstantiateOldWeight';
|
|
2058
|
+
params: {
|
|
2059
|
+
value: bigint;
|
|
2060
|
+
gasLimit: bigint;
|
|
2061
|
+
storageDepositLimit?: bigint | undefined;
|
|
2062
|
+
codeHash: H256;
|
|
2063
|
+
data: BytesLike;
|
|
2064
|
+
salt: BytesLike;
|
|
2065
|
+
};
|
|
2066
|
+
}
|
|
2067
|
+
/**
|
|
2068
|
+
* See [`Pallet::upload_code`].
|
|
2069
|
+
**/
|
|
2070
|
+
| {
|
|
2071
|
+
name: 'UploadCode';
|
|
2072
|
+
params: {
|
|
2073
|
+
code: BytesLike;
|
|
2074
|
+
storageDepositLimit?: bigint | undefined;
|
|
2075
|
+
determinism: PalletContractsWasmDeterminism;
|
|
2076
|
+
};
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* See [`Pallet::remove_code`].
|
|
2080
|
+
**/
|
|
2081
|
+
| { name: 'RemoveCode'; params: { codeHash: H256 } }
|
|
2082
|
+
/**
|
|
2083
|
+
* See [`Pallet::set_code`].
|
|
2084
|
+
**/
|
|
2085
|
+
| { name: 'SetCode'; params: { dest: MultiAddressLike; codeHash: H256 } }
|
|
2086
|
+
/**
|
|
2087
|
+
* See [`Pallet::call`].
|
|
2088
|
+
**/
|
|
2089
|
+
| {
|
|
2090
|
+
name: 'Call';
|
|
2091
|
+
params: {
|
|
2092
|
+
dest: MultiAddressLike;
|
|
2093
|
+
value: bigint;
|
|
2094
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
2095
|
+
storageDepositLimit?: bigint | undefined;
|
|
2096
|
+
data: BytesLike;
|
|
2097
|
+
};
|
|
2098
|
+
}
|
|
2099
|
+
/**
|
|
2100
|
+
* See [`Pallet::instantiate_with_code`].
|
|
2101
|
+
**/
|
|
2102
|
+
| {
|
|
2103
|
+
name: 'InstantiateWithCode';
|
|
2104
|
+
params: {
|
|
2105
|
+
value: bigint;
|
|
2106
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
2107
|
+
storageDepositLimit?: bigint | undefined;
|
|
2108
|
+
code: BytesLike;
|
|
2109
|
+
data: BytesLike;
|
|
2110
|
+
salt: BytesLike;
|
|
2111
|
+
};
|
|
2112
|
+
}
|
|
2113
|
+
/**
|
|
2114
|
+
* See [`Pallet::instantiate`].
|
|
2115
|
+
**/
|
|
2116
|
+
| {
|
|
2117
|
+
name: 'Instantiate';
|
|
2118
|
+
params: {
|
|
2119
|
+
value: bigint;
|
|
2120
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
2121
|
+
storageDepositLimit?: bigint | undefined;
|
|
2122
|
+
codeHash: H256;
|
|
2123
|
+
data: BytesLike;
|
|
2124
|
+
salt: BytesLike;
|
|
2125
|
+
};
|
|
2126
|
+
}
|
|
2127
|
+
/**
|
|
2128
|
+
* See [`Pallet::migrate`].
|
|
2129
|
+
**/
|
|
2130
|
+
| { name: 'Migrate'; params: { weightLimit: SpWeightsWeightV2Weight } };
|
|
2131
|
+
|
|
2132
|
+
export type PalletContractsWasmDeterminism = 'Enforced' | 'Relaxed';
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2136
|
+
**/
|
|
2137
|
+
export type PalletNominationPoolsCall =
|
|
2138
|
+
/**
|
|
2139
|
+
* See [`Pallet::join`].
|
|
2140
|
+
**/
|
|
2141
|
+
| { name: 'Join'; params: { amount: bigint; poolId: number } }
|
|
2142
|
+
/**
|
|
2143
|
+
* See [`Pallet::bond_extra`].
|
|
2144
|
+
**/
|
|
2145
|
+
| { name: 'BondExtra'; params: { extra: PalletNominationPoolsBondExtra } }
|
|
2146
|
+
/**
|
|
2147
|
+
* See [`Pallet::claim_payout`].
|
|
2148
|
+
**/
|
|
2149
|
+
| { name: 'ClaimPayout' }
|
|
2150
|
+
/**
|
|
2151
|
+
* See [`Pallet::unbond`].
|
|
2152
|
+
**/
|
|
2153
|
+
| { name: 'Unbond'; params: { memberAccount: MultiAddress; unbondingPoints: bigint } }
|
|
2154
|
+
/**
|
|
2155
|
+
* See [`Pallet::pool_withdraw_unbonded`].
|
|
2156
|
+
**/
|
|
2157
|
+
| { name: 'PoolWithdrawUnbonded'; params: { poolId: number; numSlashingSpans: number } }
|
|
2158
|
+
/**
|
|
2159
|
+
* See [`Pallet::withdraw_unbonded`].
|
|
2160
|
+
**/
|
|
2161
|
+
| { name: 'WithdrawUnbonded'; params: { memberAccount: MultiAddress; numSlashingSpans: number } }
|
|
2162
|
+
/**
|
|
2163
|
+
* See [`Pallet::create`].
|
|
2164
|
+
**/
|
|
2165
|
+
| { name: 'Create'; params: { amount: bigint; root: MultiAddress; nominator: MultiAddress; bouncer: MultiAddress } }
|
|
2166
|
+
/**
|
|
2167
|
+
* See [`Pallet::create_with_pool_id`].
|
|
2168
|
+
**/
|
|
2169
|
+
| {
|
|
2170
|
+
name: 'CreateWithPoolId';
|
|
2171
|
+
params: { amount: bigint; root: MultiAddress; nominator: MultiAddress; bouncer: MultiAddress; poolId: number };
|
|
2172
|
+
}
|
|
2173
|
+
/**
|
|
2174
|
+
* See [`Pallet::nominate`].
|
|
2175
|
+
**/
|
|
2176
|
+
| { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32> } }
|
|
2177
|
+
/**
|
|
2178
|
+
* See [`Pallet::set_state`].
|
|
2179
|
+
**/
|
|
2180
|
+
| { name: 'SetState'; params: { poolId: number; state: PalletNominationPoolsPoolState } }
|
|
2181
|
+
/**
|
|
2182
|
+
* See [`Pallet::set_metadata`].
|
|
2183
|
+
**/
|
|
2184
|
+
| { name: 'SetMetadata'; params: { poolId: number; metadata: Bytes } }
|
|
2185
|
+
/**
|
|
2186
|
+
* See [`Pallet::set_configs`].
|
|
2187
|
+
**/
|
|
2188
|
+
| {
|
|
2189
|
+
name: 'SetConfigs';
|
|
2190
|
+
params: {
|
|
2191
|
+
minJoinBond: PalletNominationPoolsConfigOp;
|
|
2192
|
+
minCreateBond: PalletNominationPoolsConfigOp;
|
|
2193
|
+
maxPools: PalletNominationPoolsConfigOpU32;
|
|
2194
|
+
maxMembers: PalletNominationPoolsConfigOpU32;
|
|
2195
|
+
maxMembersPerPool: PalletNominationPoolsConfigOpU32;
|
|
2196
|
+
globalMaxCommission: PalletNominationPoolsConfigOpPerbill;
|
|
2197
|
+
};
|
|
2198
|
+
}
|
|
2199
|
+
/**
|
|
2200
|
+
* See [`Pallet::update_roles`].
|
|
2201
|
+
**/
|
|
2202
|
+
| {
|
|
2203
|
+
name: 'UpdateRoles';
|
|
2204
|
+
params: {
|
|
2205
|
+
poolId: number;
|
|
2206
|
+
newRoot: PalletNominationPoolsConfigOp004;
|
|
2207
|
+
newNominator: PalletNominationPoolsConfigOp004;
|
|
2208
|
+
newBouncer: PalletNominationPoolsConfigOp004;
|
|
2209
|
+
};
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* See [`Pallet::chill`].
|
|
2213
|
+
**/
|
|
2214
|
+
| { name: 'Chill'; params: { poolId: number } }
|
|
2215
|
+
/**
|
|
2216
|
+
* See [`Pallet::bond_extra_other`].
|
|
2217
|
+
**/
|
|
2218
|
+
| { name: 'BondExtraOther'; params: { member: MultiAddress; extra: PalletNominationPoolsBondExtra } }
|
|
2219
|
+
/**
|
|
2220
|
+
* See [`Pallet::set_claim_permission`].
|
|
2221
|
+
**/
|
|
2222
|
+
| { name: 'SetClaimPermission'; params: { permission: PalletNominationPoolsClaimPermission } }
|
|
2223
|
+
/**
|
|
2224
|
+
* See [`Pallet::claim_payout_other`].
|
|
2225
|
+
**/
|
|
2226
|
+
| { name: 'ClaimPayoutOther'; params: { other: AccountId32 } }
|
|
2227
|
+
/**
|
|
2228
|
+
* See [`Pallet::set_commission`].
|
|
2229
|
+
**/
|
|
2230
|
+
| { name: 'SetCommission'; params: { poolId: number; newCommission?: [Perbill, AccountId32] | undefined } }
|
|
2231
|
+
/**
|
|
2232
|
+
* See [`Pallet::set_commission_max`].
|
|
2233
|
+
**/
|
|
2234
|
+
| { name: 'SetCommissionMax'; params: { poolId: number; maxCommission: Perbill } }
|
|
2235
|
+
/**
|
|
2236
|
+
* See [`Pallet::set_commission_change_rate`].
|
|
2237
|
+
**/
|
|
2238
|
+
| {
|
|
2239
|
+
name: 'SetCommissionChangeRate';
|
|
2240
|
+
params: { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate };
|
|
2241
|
+
}
|
|
2242
|
+
/**
|
|
2243
|
+
* See [`Pallet::claim_commission`].
|
|
2244
|
+
**/
|
|
2245
|
+
| { name: 'ClaimCommission'; params: { poolId: number } };
|
|
2246
|
+
|
|
2247
|
+
export type PalletNominationPoolsCallLike =
|
|
2248
|
+
/**
|
|
2249
|
+
* See [`Pallet::join`].
|
|
2250
|
+
**/
|
|
2251
|
+
| { name: 'Join'; params: { amount: bigint; poolId: number } }
|
|
2252
|
+
/**
|
|
2253
|
+
* See [`Pallet::bond_extra`].
|
|
2254
|
+
**/
|
|
2255
|
+
| { name: 'BondExtra'; params: { extra: PalletNominationPoolsBondExtra } }
|
|
2256
|
+
/**
|
|
2257
|
+
* See [`Pallet::claim_payout`].
|
|
2258
|
+
**/
|
|
2259
|
+
| { name: 'ClaimPayout' }
|
|
2260
|
+
/**
|
|
2261
|
+
* See [`Pallet::unbond`].
|
|
2262
|
+
**/
|
|
2263
|
+
| { name: 'Unbond'; params: { memberAccount: MultiAddressLike; unbondingPoints: bigint } }
|
|
2264
|
+
/**
|
|
2265
|
+
* See [`Pallet::pool_withdraw_unbonded`].
|
|
2266
|
+
**/
|
|
2267
|
+
| { name: 'PoolWithdrawUnbonded'; params: { poolId: number; numSlashingSpans: number } }
|
|
2268
|
+
/**
|
|
2269
|
+
* See [`Pallet::withdraw_unbonded`].
|
|
2270
|
+
**/
|
|
2271
|
+
| { name: 'WithdrawUnbonded'; params: { memberAccount: MultiAddressLike; numSlashingSpans: number } }
|
|
2272
|
+
/**
|
|
2273
|
+
* See [`Pallet::create`].
|
|
2274
|
+
**/
|
|
2275
|
+
| {
|
|
2276
|
+
name: 'Create';
|
|
2277
|
+
params: { amount: bigint; root: MultiAddressLike; nominator: MultiAddressLike; bouncer: MultiAddressLike };
|
|
2278
|
+
}
|
|
2279
|
+
/**
|
|
2280
|
+
* See [`Pallet::create_with_pool_id`].
|
|
2281
|
+
**/
|
|
2282
|
+
| {
|
|
2283
|
+
name: 'CreateWithPoolId';
|
|
2284
|
+
params: {
|
|
2285
|
+
amount: bigint;
|
|
2286
|
+
root: MultiAddressLike;
|
|
2287
|
+
nominator: MultiAddressLike;
|
|
2288
|
+
bouncer: MultiAddressLike;
|
|
2289
|
+
poolId: number;
|
|
2290
|
+
};
|
|
2291
|
+
}
|
|
2292
|
+
/**
|
|
2293
|
+
* See [`Pallet::nominate`].
|
|
2294
|
+
**/
|
|
2295
|
+
| { name: 'Nominate'; params: { poolId: number; validators: Array<AccountId32Like> } }
|
|
2296
|
+
/**
|
|
2297
|
+
* See [`Pallet::set_state`].
|
|
2298
|
+
**/
|
|
2299
|
+
| { name: 'SetState'; params: { poolId: number; state: PalletNominationPoolsPoolState } }
|
|
2300
|
+
/**
|
|
2301
|
+
* See [`Pallet::set_metadata`].
|
|
2302
|
+
**/
|
|
2303
|
+
| { name: 'SetMetadata'; params: { poolId: number; metadata: BytesLike } }
|
|
2304
|
+
/**
|
|
2305
|
+
* See [`Pallet::set_configs`].
|
|
2306
|
+
**/
|
|
2307
|
+
| {
|
|
2308
|
+
name: 'SetConfigs';
|
|
2309
|
+
params: {
|
|
2310
|
+
minJoinBond: PalletNominationPoolsConfigOp;
|
|
2311
|
+
minCreateBond: PalletNominationPoolsConfigOp;
|
|
2312
|
+
maxPools: PalletNominationPoolsConfigOpU32;
|
|
2313
|
+
maxMembers: PalletNominationPoolsConfigOpU32;
|
|
2314
|
+
maxMembersPerPool: PalletNominationPoolsConfigOpU32;
|
|
2315
|
+
globalMaxCommission: PalletNominationPoolsConfigOpPerbill;
|
|
2316
|
+
};
|
|
2317
|
+
}
|
|
2318
|
+
/**
|
|
2319
|
+
* See [`Pallet::update_roles`].
|
|
2320
|
+
**/
|
|
2321
|
+
| {
|
|
2322
|
+
name: 'UpdateRoles';
|
|
2323
|
+
params: {
|
|
2324
|
+
poolId: number;
|
|
2325
|
+
newRoot: PalletNominationPoolsConfigOp004;
|
|
2326
|
+
newNominator: PalletNominationPoolsConfigOp004;
|
|
2327
|
+
newBouncer: PalletNominationPoolsConfigOp004;
|
|
2328
|
+
};
|
|
2329
|
+
}
|
|
2330
|
+
/**
|
|
2331
|
+
* See [`Pallet::chill`].
|
|
2332
|
+
**/
|
|
2333
|
+
| { name: 'Chill'; params: { poolId: number } }
|
|
2334
|
+
/**
|
|
2335
|
+
* See [`Pallet::bond_extra_other`].
|
|
2336
|
+
**/
|
|
2337
|
+
| { name: 'BondExtraOther'; params: { member: MultiAddressLike; extra: PalletNominationPoolsBondExtra } }
|
|
2338
|
+
/**
|
|
2339
|
+
* See [`Pallet::set_claim_permission`].
|
|
2340
|
+
**/
|
|
2341
|
+
| { name: 'SetClaimPermission'; params: { permission: PalletNominationPoolsClaimPermission } }
|
|
2342
|
+
/**
|
|
2343
|
+
* See [`Pallet::claim_payout_other`].
|
|
2344
|
+
**/
|
|
2345
|
+
| { name: 'ClaimPayoutOther'; params: { other: AccountId32Like } }
|
|
2346
|
+
/**
|
|
2347
|
+
* See [`Pallet::set_commission`].
|
|
2348
|
+
**/
|
|
2349
|
+
| { name: 'SetCommission'; params: { poolId: number; newCommission?: [Perbill, AccountId32Like] | undefined } }
|
|
2350
|
+
/**
|
|
2351
|
+
* See [`Pallet::set_commission_max`].
|
|
2352
|
+
**/
|
|
2353
|
+
| { name: 'SetCommissionMax'; params: { poolId: number; maxCommission: Perbill } }
|
|
2354
|
+
/**
|
|
2355
|
+
* See [`Pallet::set_commission_change_rate`].
|
|
2356
|
+
**/
|
|
2357
|
+
| {
|
|
2358
|
+
name: 'SetCommissionChangeRate';
|
|
2359
|
+
params: { poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate };
|
|
2360
|
+
}
|
|
2361
|
+
/**
|
|
2362
|
+
* See [`Pallet::claim_commission`].
|
|
2363
|
+
**/
|
|
2364
|
+
| { name: 'ClaimCommission'; params: { poolId: number } };
|
|
2365
|
+
|
|
2366
|
+
export type PalletNominationPoolsBondExtra = { tag: 'FreeBalance'; value: bigint } | { tag: 'Rewards' };
|
|
2367
|
+
|
|
2368
|
+
export type PalletNominationPoolsConfigOp = { tag: 'Noop' } | { tag: 'Set'; value: bigint } | { tag: 'Remove' };
|
|
2369
|
+
|
|
2370
|
+
export type PalletNominationPoolsConfigOpU32 = { tag: 'Noop' } | { tag: 'Set'; value: number } | { tag: 'Remove' };
|
|
2371
|
+
|
|
2372
|
+
export type PalletNominationPoolsConfigOpPerbill = { tag: 'Noop' } | { tag: 'Set'; value: Perbill } | { tag: 'Remove' };
|
|
2373
|
+
|
|
2374
|
+
export type PalletNominationPoolsConfigOp004 = { tag: 'Noop' } | { tag: 'Set'; value: AccountId32 } | { tag: 'Remove' };
|
|
2375
|
+
|
|
2376
|
+
export type PalletNominationPoolsClaimPermission =
|
|
2377
|
+
| 'Permissioned'
|
|
2378
|
+
| 'PermissionlessCompound'
|
|
2379
|
+
| 'PermissionlessWithdraw'
|
|
2380
|
+
| 'PermissionlessAll';
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Identity pallet declaration.
|
|
2384
|
+
**/
|
|
2385
|
+
export type PalletIdentityCall =
|
|
2386
|
+
/**
|
|
2387
|
+
* See [`Pallet::add_registrar`].
|
|
2388
|
+
**/
|
|
2389
|
+
| { name: 'AddRegistrar'; params: { account: MultiAddress } }
|
|
2390
|
+
/**
|
|
2391
|
+
* See [`Pallet::set_identity`].
|
|
2392
|
+
**/
|
|
2393
|
+
| { name: 'SetIdentity'; params: { info: PalletIdentityIdentityInfo } }
|
|
2394
|
+
/**
|
|
2395
|
+
* See [`Pallet::set_subs`].
|
|
2396
|
+
**/
|
|
2397
|
+
| { name: 'SetSubs'; params: { subs: Array<[AccountId32, Data]> } }
|
|
2398
|
+
/**
|
|
2399
|
+
* See [`Pallet::clear_identity`].
|
|
2400
|
+
**/
|
|
2401
|
+
| { name: 'ClearIdentity' }
|
|
2402
|
+
/**
|
|
2403
|
+
* See [`Pallet::request_judgement`].
|
|
2404
|
+
**/
|
|
2405
|
+
| { name: 'RequestJudgement'; params: { regIndex: number; maxFee: bigint } }
|
|
2406
|
+
/**
|
|
2407
|
+
* See [`Pallet::cancel_request`].
|
|
2408
|
+
**/
|
|
2409
|
+
| { name: 'CancelRequest'; params: { regIndex: number } }
|
|
2410
|
+
/**
|
|
2411
|
+
* See [`Pallet::set_fee`].
|
|
2412
|
+
**/
|
|
2413
|
+
| { name: 'SetFee'; params: { index: number; fee: bigint } }
|
|
2414
|
+
/**
|
|
2415
|
+
* See [`Pallet::set_account_id`].
|
|
2416
|
+
**/
|
|
2417
|
+
| { name: 'SetAccountId'; params: { index: number; new: MultiAddress } }
|
|
2418
|
+
/**
|
|
2419
|
+
* See [`Pallet::set_fields`].
|
|
2420
|
+
**/
|
|
2421
|
+
| { name: 'SetFields'; params: { index: number; fields: PalletIdentityBitFlags } }
|
|
2422
|
+
/**
|
|
2423
|
+
* See [`Pallet::provide_judgement`].
|
|
2424
|
+
**/
|
|
2425
|
+
| {
|
|
2426
|
+
name: 'ProvideJudgement';
|
|
2427
|
+
params: { regIndex: number; target: MultiAddress; judgement: PalletIdentityJudgement; identity: H256 };
|
|
2428
|
+
}
|
|
2429
|
+
/**
|
|
2430
|
+
* See [`Pallet::kill_identity`].
|
|
2431
|
+
**/
|
|
2432
|
+
| { name: 'KillIdentity'; params: { target: MultiAddress } }
|
|
2433
|
+
/**
|
|
2434
|
+
* See [`Pallet::add_sub`].
|
|
2435
|
+
**/
|
|
2436
|
+
| { name: 'AddSub'; params: { sub: MultiAddress; data: Data } }
|
|
2437
|
+
/**
|
|
2438
|
+
* See [`Pallet::rename_sub`].
|
|
2439
|
+
**/
|
|
2440
|
+
| { name: 'RenameSub'; params: { sub: MultiAddress; data: Data } }
|
|
2441
|
+
/**
|
|
2442
|
+
* See [`Pallet::remove_sub`].
|
|
2443
|
+
**/
|
|
2444
|
+
| { name: 'RemoveSub'; params: { sub: MultiAddress } }
|
|
2445
|
+
/**
|
|
2446
|
+
* See [`Pallet::quit_sub`].
|
|
2447
|
+
**/
|
|
2448
|
+
| { name: 'QuitSub' };
|
|
2449
|
+
|
|
2450
|
+
export type PalletIdentityCallLike =
|
|
2451
|
+
/**
|
|
2452
|
+
* See [`Pallet::add_registrar`].
|
|
2453
|
+
**/
|
|
2454
|
+
| { name: 'AddRegistrar'; params: { account: MultiAddressLike } }
|
|
2455
|
+
/**
|
|
2456
|
+
* See [`Pallet::set_identity`].
|
|
2457
|
+
**/
|
|
2458
|
+
| { name: 'SetIdentity'; params: { info: PalletIdentityIdentityInfo } }
|
|
2459
|
+
/**
|
|
2460
|
+
* See [`Pallet::set_subs`].
|
|
2461
|
+
**/
|
|
2462
|
+
| { name: 'SetSubs'; params: { subs: Array<[AccountId32Like, Data]> } }
|
|
2463
|
+
/**
|
|
2464
|
+
* See [`Pallet::clear_identity`].
|
|
2465
|
+
**/
|
|
2466
|
+
| { name: 'ClearIdentity' }
|
|
2467
|
+
/**
|
|
2468
|
+
* See [`Pallet::request_judgement`].
|
|
2469
|
+
**/
|
|
2470
|
+
| { name: 'RequestJudgement'; params: { regIndex: number; maxFee: bigint } }
|
|
2471
|
+
/**
|
|
2472
|
+
* See [`Pallet::cancel_request`].
|
|
2473
|
+
**/
|
|
2474
|
+
| { name: 'CancelRequest'; params: { regIndex: number } }
|
|
2475
|
+
/**
|
|
2476
|
+
* See [`Pallet::set_fee`].
|
|
2477
|
+
**/
|
|
2478
|
+
| { name: 'SetFee'; params: { index: number; fee: bigint } }
|
|
2479
|
+
/**
|
|
2480
|
+
* See [`Pallet::set_account_id`].
|
|
2481
|
+
**/
|
|
2482
|
+
| { name: 'SetAccountId'; params: { index: number; new: MultiAddressLike } }
|
|
2483
|
+
/**
|
|
2484
|
+
* See [`Pallet::set_fields`].
|
|
2485
|
+
**/
|
|
2486
|
+
| { name: 'SetFields'; params: { index: number; fields: PalletIdentityBitFlags } }
|
|
2487
|
+
/**
|
|
2488
|
+
* See [`Pallet::provide_judgement`].
|
|
2489
|
+
**/
|
|
2490
|
+
| {
|
|
2491
|
+
name: 'ProvideJudgement';
|
|
2492
|
+
params: { regIndex: number; target: MultiAddressLike; judgement: PalletIdentityJudgement; identity: H256 };
|
|
2493
|
+
}
|
|
2494
|
+
/**
|
|
2495
|
+
* See [`Pallet::kill_identity`].
|
|
2496
|
+
**/
|
|
2497
|
+
| { name: 'KillIdentity'; params: { target: MultiAddressLike } }
|
|
2498
|
+
/**
|
|
2499
|
+
* See [`Pallet::add_sub`].
|
|
2500
|
+
**/
|
|
2501
|
+
| { name: 'AddSub'; params: { sub: MultiAddressLike; data: Data } }
|
|
2502
|
+
/**
|
|
2503
|
+
* See [`Pallet::rename_sub`].
|
|
2504
|
+
**/
|
|
2505
|
+
| { name: 'RenameSub'; params: { sub: MultiAddressLike; data: Data } }
|
|
2506
|
+
/**
|
|
2507
|
+
* See [`Pallet::remove_sub`].
|
|
2508
|
+
**/
|
|
2509
|
+
| { name: 'RemoveSub'; params: { sub: MultiAddressLike } }
|
|
2510
|
+
/**
|
|
2511
|
+
* See [`Pallet::quit_sub`].
|
|
2512
|
+
**/
|
|
2513
|
+
| { name: 'QuitSub' };
|
|
2514
|
+
|
|
2515
|
+
export type PalletIdentityIdentityInfo = {
|
|
2516
|
+
additional: Array<[Data, Data]>;
|
|
2517
|
+
display: Data;
|
|
2518
|
+
legal: Data;
|
|
2519
|
+
web: Data;
|
|
2520
|
+
riot: Data;
|
|
2521
|
+
email: Data;
|
|
2522
|
+
pgpFingerprint?: FixedBytes<20> | undefined;
|
|
2523
|
+
image: Data;
|
|
2524
|
+
twitter: Data;
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2527
|
+
export type PalletIdentityBitFlags = bigint;
|
|
2528
|
+
|
|
2529
|
+
export type PalletIdentityIdentityField =
|
|
2530
|
+
| 'Display'
|
|
2531
|
+
| 'Legal'
|
|
2532
|
+
| 'Web'
|
|
2533
|
+
| 'Riot'
|
|
2534
|
+
| 'Email'
|
|
2535
|
+
| 'PgpFingerprint'
|
|
2536
|
+
| 'Image'
|
|
2537
|
+
| 'Twitter';
|
|
2538
|
+
|
|
2539
|
+
export type PalletIdentityJudgement =
|
|
2540
|
+
| { tag: 'Unknown' }
|
|
2541
|
+
| { tag: 'FeePaid'; value: bigint }
|
|
2542
|
+
| { tag: 'Reasonable' }
|
|
2543
|
+
| { tag: 'KnownGood' }
|
|
2544
|
+
| { tag: 'OutOfDate' }
|
|
2545
|
+
| { tag: 'LowQuality' }
|
|
2546
|
+
| { tag: 'Erroneous' };
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2550
|
+
**/
|
|
2551
|
+
export type PalletCommitteeManagementCall =
|
|
2552
|
+
/**
|
|
2553
|
+
* See [`Pallet::set_ban_config`].
|
|
2554
|
+
**/
|
|
2555
|
+
| {
|
|
2556
|
+
name: 'SetBanConfig';
|
|
2557
|
+
params: {
|
|
2558
|
+
minimalExpectedPerformance?: number | undefined;
|
|
2559
|
+
underperformedSessionCountThreshold?: number | undefined;
|
|
2560
|
+
cleanSessionCounterDelay?: number | undefined;
|
|
2561
|
+
banPeriod?: number | undefined;
|
|
2562
|
+
};
|
|
2563
|
+
}
|
|
2564
|
+
/**
|
|
2565
|
+
* See [`Pallet::ban_from_committee`].
|
|
2566
|
+
**/
|
|
2567
|
+
| { name: 'BanFromCommittee'; params: { banned: AccountId32; banReason: Bytes } }
|
|
2568
|
+
/**
|
|
2569
|
+
* See [`Pallet::cancel_ban`].
|
|
2570
|
+
**/
|
|
2571
|
+
| { name: 'CancelBan'; params: { banned: AccountId32 } }
|
|
2572
|
+
/**
|
|
2573
|
+
* See [`Pallet::set_lenient_threshold`].
|
|
2574
|
+
**/
|
|
2575
|
+
| { name: 'SetLenientThreshold'; params: { thresholdPercent: number } };
|
|
2576
|
+
|
|
2577
|
+
export type PalletCommitteeManagementCallLike =
|
|
2578
|
+
/**
|
|
2579
|
+
* See [`Pallet::set_ban_config`].
|
|
2580
|
+
**/
|
|
2581
|
+
| {
|
|
2582
|
+
name: 'SetBanConfig';
|
|
2583
|
+
params: {
|
|
2584
|
+
minimalExpectedPerformance?: number | undefined;
|
|
2585
|
+
underperformedSessionCountThreshold?: number | undefined;
|
|
2586
|
+
cleanSessionCounterDelay?: number | undefined;
|
|
2587
|
+
banPeriod?: number | undefined;
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
/**
|
|
2591
|
+
* See [`Pallet::ban_from_committee`].
|
|
2592
|
+
**/
|
|
2593
|
+
| { name: 'BanFromCommittee'; params: { banned: AccountId32Like; banReason: BytesLike } }
|
|
2594
|
+
/**
|
|
2595
|
+
* See [`Pallet::cancel_ban`].
|
|
2596
|
+
**/
|
|
2597
|
+
| { name: 'CancelBan'; params: { banned: AccountId32Like } }
|
|
2598
|
+
/**
|
|
2599
|
+
* See [`Pallet::set_lenient_threshold`].
|
|
2600
|
+
**/
|
|
2601
|
+
| { name: 'SetLenientThreshold'; params: { thresholdPercent: number } };
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2605
|
+
**/
|
|
2606
|
+
export type PalletProxyCall =
|
|
2607
|
+
/**
|
|
2608
|
+
* See [`Pallet::proxy`].
|
|
2609
|
+
**/
|
|
2610
|
+
| {
|
|
2611
|
+
name: 'Proxy';
|
|
2612
|
+
params: { real: MultiAddress; forceProxyType?: AlephRuntimeProxyType | undefined; call: AlephRuntimeRuntimeCall };
|
|
2613
|
+
}
|
|
2614
|
+
/**
|
|
2615
|
+
* See [`Pallet::add_proxy`].
|
|
2616
|
+
**/
|
|
2617
|
+
| { name: 'AddProxy'; params: { delegate: MultiAddress; proxyType: AlephRuntimeProxyType; delay: number } }
|
|
2618
|
+
/**
|
|
2619
|
+
* See [`Pallet::remove_proxy`].
|
|
2620
|
+
**/
|
|
2621
|
+
| { name: 'RemoveProxy'; params: { delegate: MultiAddress; proxyType: AlephRuntimeProxyType; delay: number } }
|
|
2622
|
+
/**
|
|
2623
|
+
* See [`Pallet::remove_proxies`].
|
|
2624
|
+
**/
|
|
2625
|
+
| { name: 'RemoveProxies' }
|
|
2626
|
+
/**
|
|
2627
|
+
* See [`Pallet::create_pure`].
|
|
2628
|
+
**/
|
|
2629
|
+
| { name: 'CreatePure'; params: { proxyType: AlephRuntimeProxyType; delay: number; index: number } }
|
|
2630
|
+
/**
|
|
2631
|
+
* See [`Pallet::kill_pure`].
|
|
2632
|
+
**/
|
|
2633
|
+
| {
|
|
2634
|
+
name: 'KillPure';
|
|
2635
|
+
params: {
|
|
2636
|
+
spawner: MultiAddress;
|
|
2637
|
+
proxyType: AlephRuntimeProxyType;
|
|
2638
|
+
index: number;
|
|
2639
|
+
height: number;
|
|
2640
|
+
extIndex: number;
|
|
2641
|
+
};
|
|
2642
|
+
}
|
|
2643
|
+
/**
|
|
2644
|
+
* See [`Pallet::announce`].
|
|
2645
|
+
**/
|
|
2646
|
+
| { name: 'Announce'; params: { real: MultiAddress; callHash: H256 } }
|
|
2647
|
+
/**
|
|
2648
|
+
* See [`Pallet::remove_announcement`].
|
|
2649
|
+
**/
|
|
2650
|
+
| { name: 'RemoveAnnouncement'; params: { real: MultiAddress; callHash: H256 } }
|
|
2651
|
+
/**
|
|
2652
|
+
* See [`Pallet::reject_announcement`].
|
|
2653
|
+
**/
|
|
2654
|
+
| { name: 'RejectAnnouncement'; params: { delegate: MultiAddress; callHash: H256 } }
|
|
2655
|
+
/**
|
|
2656
|
+
* See [`Pallet::proxy_announced`].
|
|
2657
|
+
**/
|
|
2658
|
+
| {
|
|
2659
|
+
name: 'ProxyAnnounced';
|
|
2660
|
+
params: {
|
|
2661
|
+
delegate: MultiAddress;
|
|
2662
|
+
real: MultiAddress;
|
|
2663
|
+
forceProxyType?: AlephRuntimeProxyType | undefined;
|
|
2664
|
+
call: AlephRuntimeRuntimeCall;
|
|
2665
|
+
};
|
|
2666
|
+
};
|
|
2667
|
+
|
|
2668
|
+
export type PalletProxyCallLike =
|
|
2669
|
+
/**
|
|
2670
|
+
* See [`Pallet::proxy`].
|
|
2671
|
+
**/
|
|
2672
|
+
| {
|
|
2673
|
+
name: 'Proxy';
|
|
2674
|
+
params: {
|
|
2675
|
+
real: MultiAddressLike;
|
|
2676
|
+
forceProxyType?: AlephRuntimeProxyType | undefined;
|
|
2677
|
+
call: AlephRuntimeRuntimeCallLike;
|
|
2678
|
+
};
|
|
2679
|
+
}
|
|
2680
|
+
/**
|
|
2681
|
+
* See [`Pallet::add_proxy`].
|
|
2682
|
+
**/
|
|
2683
|
+
| { name: 'AddProxy'; params: { delegate: MultiAddressLike; proxyType: AlephRuntimeProxyType; delay: number } }
|
|
2684
|
+
/**
|
|
2685
|
+
* See [`Pallet::remove_proxy`].
|
|
2686
|
+
**/
|
|
2687
|
+
| { name: 'RemoveProxy'; params: { delegate: MultiAddressLike; proxyType: AlephRuntimeProxyType; delay: number } }
|
|
2688
|
+
/**
|
|
2689
|
+
* See [`Pallet::remove_proxies`].
|
|
2690
|
+
**/
|
|
2691
|
+
| { name: 'RemoveProxies' }
|
|
2692
|
+
/**
|
|
2693
|
+
* See [`Pallet::create_pure`].
|
|
2694
|
+
**/
|
|
2695
|
+
| { name: 'CreatePure'; params: { proxyType: AlephRuntimeProxyType; delay: number; index: number } }
|
|
2696
|
+
/**
|
|
2697
|
+
* See [`Pallet::kill_pure`].
|
|
2698
|
+
**/
|
|
2699
|
+
| {
|
|
2700
|
+
name: 'KillPure';
|
|
2701
|
+
params: {
|
|
2702
|
+
spawner: MultiAddressLike;
|
|
2703
|
+
proxyType: AlephRuntimeProxyType;
|
|
2704
|
+
index: number;
|
|
2705
|
+
height: number;
|
|
2706
|
+
extIndex: number;
|
|
2707
|
+
};
|
|
2708
|
+
}
|
|
2709
|
+
/**
|
|
2710
|
+
* See [`Pallet::announce`].
|
|
2711
|
+
**/
|
|
2712
|
+
| { name: 'Announce'; params: { real: MultiAddressLike; callHash: H256 } }
|
|
2713
|
+
/**
|
|
2714
|
+
* See [`Pallet::remove_announcement`].
|
|
2715
|
+
**/
|
|
2716
|
+
| { name: 'RemoveAnnouncement'; params: { real: MultiAddressLike; callHash: H256 } }
|
|
2717
|
+
/**
|
|
2718
|
+
* See [`Pallet::reject_announcement`].
|
|
2719
|
+
**/
|
|
2720
|
+
| { name: 'RejectAnnouncement'; params: { delegate: MultiAddressLike; callHash: H256 } }
|
|
2721
|
+
/**
|
|
2722
|
+
* See [`Pallet::proxy_announced`].
|
|
2723
|
+
**/
|
|
2724
|
+
| {
|
|
2725
|
+
name: 'ProxyAnnounced';
|
|
2726
|
+
params: {
|
|
2727
|
+
delegate: MultiAddressLike;
|
|
2728
|
+
real: MultiAddressLike;
|
|
2729
|
+
forceProxyType?: AlephRuntimeProxyType | undefined;
|
|
2730
|
+
call: AlephRuntimeRuntimeCallLike;
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2736
|
+
**/
|
|
2737
|
+
export type PalletOperationsCall =
|
|
2738
|
+
/**
|
|
2739
|
+
* See [`Pallet::fix_accounts_consumers_underflow`].
|
|
2740
|
+
**/
|
|
2741
|
+
{ name: 'FixAccountsConsumersUnderflow'; params: { who: AccountId32 } };
|
|
2742
|
+
|
|
2743
|
+
export type PalletOperationsCallLike =
|
|
2744
|
+
/**
|
|
2745
|
+
* See [`Pallet::fix_accounts_consumers_underflow`].
|
|
2746
|
+
**/
|
|
2747
|
+
{ name: 'FixAccountsConsumersUnderflow'; params: { who: AccountId32Like } };
|
|
2748
|
+
|
|
2749
|
+
export type SpRuntimeBlakeTwo256 = {};
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* The `Error` enum of this pallet.
|
|
2753
|
+
**/
|
|
2754
|
+
export type PalletSchedulerError =
|
|
2755
|
+
/**
|
|
2756
|
+
* Failed to schedule a call
|
|
2757
|
+
**/
|
|
2758
|
+
| 'FailedToSchedule'
|
|
2759
|
+
/**
|
|
2760
|
+
* Cannot find the scheduled call.
|
|
2761
|
+
**/
|
|
2762
|
+
| 'NotFound'
|
|
2763
|
+
/**
|
|
2764
|
+
* Given target block number is in the past.
|
|
2765
|
+
**/
|
|
2766
|
+
| 'TargetBlockNumberInPast'
|
|
2767
|
+
/**
|
|
2768
|
+
* Reschedule failed because it does not change scheduled time.
|
|
2769
|
+
**/
|
|
2770
|
+
| 'RescheduleNoChange'
|
|
2771
|
+
/**
|
|
2772
|
+
* Attempt to use a non-named function on a named task.
|
|
2773
|
+
**/
|
|
2774
|
+
| 'Named';
|
|
2775
|
+
|
|
2776
|
+
export type SpConsensusSlotsSlot = bigint;
|
|
2777
|
+
|
|
2778
|
+
export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
|
|
2779
|
+
|
|
2780
|
+
export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
|
|
2781
|
+
|
|
2782
|
+
export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
|
|
2783
|
+
|
|
2784
|
+
export type PalletBalancesIdAmount = { id: AlephRuntimeRuntimeHoldReason; amount: bigint };
|
|
2785
|
+
|
|
2786
|
+
export type AlephRuntimeRuntimeHoldReason = { tag: 'Contracts'; value: PalletContractsHoldReason };
|
|
2787
|
+
|
|
2788
|
+
export type PalletContractsHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve';
|
|
2789
|
+
|
|
2790
|
+
export type PalletBalancesIdAmount002 = { id: []; amount: bigint };
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* The `Error` enum of this pallet.
|
|
2794
|
+
**/
|
|
2795
|
+
export type PalletBalancesError =
|
|
2796
|
+
/**
|
|
2797
|
+
* Vesting balance too high to send value.
|
|
2798
|
+
**/
|
|
2799
|
+
| 'VestingBalance'
|
|
2800
|
+
/**
|
|
2801
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
2802
|
+
**/
|
|
2803
|
+
| 'LiquidityRestrictions'
|
|
2804
|
+
/**
|
|
2805
|
+
* Balance too low to send value.
|
|
2806
|
+
**/
|
|
2807
|
+
| 'InsufficientBalance'
|
|
2808
|
+
/**
|
|
2809
|
+
* Value too low to create account due to existential deposit.
|
|
2810
|
+
**/
|
|
2811
|
+
| 'ExistentialDeposit'
|
|
2812
|
+
/**
|
|
2813
|
+
* Transfer/payment would kill account.
|
|
2814
|
+
**/
|
|
2815
|
+
| 'Expendability'
|
|
2816
|
+
/**
|
|
2817
|
+
* A vesting schedule already exists for this account.
|
|
2818
|
+
**/
|
|
2819
|
+
| 'ExistingVestingSchedule'
|
|
2820
|
+
/**
|
|
2821
|
+
* Beneficiary account must pre-exist.
|
|
2822
|
+
**/
|
|
2823
|
+
| 'DeadAccount'
|
|
2824
|
+
/**
|
|
2825
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
2826
|
+
**/
|
|
2827
|
+
| 'TooManyReserves'
|
|
2828
|
+
/**
|
|
2829
|
+
* Number of holds exceed `MaxHolds`.
|
|
2830
|
+
**/
|
|
2831
|
+
| 'TooManyHolds'
|
|
2832
|
+
/**
|
|
2833
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
2834
|
+
**/
|
|
2835
|
+
| 'TooManyFreezes';
|
|
2836
|
+
|
|
2837
|
+
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
2838
|
+
|
|
2839
|
+
export type PalletStakingStakingLedger = {
|
|
2840
|
+
stash: AccountId32;
|
|
2841
|
+
total: bigint;
|
|
2842
|
+
active: bigint;
|
|
2843
|
+
unlocking: Array<PalletStakingUnlockChunk>;
|
|
2844
|
+
claimedRewards: Array<number>;
|
|
2845
|
+
};
|
|
2846
|
+
|
|
2847
|
+
export type PalletStakingUnlockChunk = { value: bigint; era: number };
|
|
2848
|
+
|
|
2849
|
+
export type PalletStakingNominations = { targets: Array<AccountId32>; submittedIn: number; suppressed: boolean };
|
|
2850
|
+
|
|
2851
|
+
export type PalletStakingActiveEraInfo = { index: number; start?: bigint | undefined };
|
|
2852
|
+
|
|
2853
|
+
export type PalletStakingExposure = { total: bigint; own: bigint; others: Array<PalletStakingIndividualExposure> };
|
|
2854
|
+
|
|
2855
|
+
export type PalletStakingIndividualExposure = { who: AccountId32; value: bigint };
|
|
2856
|
+
|
|
2857
|
+
export type PalletStakingEraRewardPoints = { total: number; individual: Array<[AccountId32, number]> };
|
|
2858
|
+
|
|
2859
|
+
export type PalletStakingUnappliedSlash = {
|
|
2860
|
+
validator: AccountId32;
|
|
2861
|
+
own: bigint;
|
|
2862
|
+
others: Array<[AccountId32, bigint]>;
|
|
2863
|
+
reporters: Array<AccountId32>;
|
|
2864
|
+
payout: bigint;
|
|
2865
|
+
};
|
|
2866
|
+
|
|
2867
|
+
export type PalletStakingSlashingSlashingSpans = {
|
|
2868
|
+
spanIndex: number;
|
|
2869
|
+
lastStart: number;
|
|
2870
|
+
lastNonzeroSlash: number;
|
|
2871
|
+
prior: Array<number>;
|
|
2872
|
+
};
|
|
2873
|
+
|
|
2874
|
+
export type PalletStakingSlashingSpanRecord = { slashed: bigint; paidOut: bigint };
|
|
2875
|
+
|
|
2876
|
+
/**
|
|
2877
|
+
* The `Error` enum of this pallet.
|
|
2878
|
+
**/
|
|
2879
|
+
export type PalletStakingPalletError =
|
|
2880
|
+
/**
|
|
2881
|
+
* Not a controller account.
|
|
2882
|
+
**/
|
|
2883
|
+
| 'NotController'
|
|
2884
|
+
/**
|
|
2885
|
+
* Not a stash account.
|
|
2886
|
+
**/
|
|
2887
|
+
| 'NotStash'
|
|
2888
|
+
/**
|
|
2889
|
+
* Stash is already bonded.
|
|
2890
|
+
**/
|
|
2891
|
+
| 'AlreadyBonded'
|
|
2892
|
+
/**
|
|
2893
|
+
* Controller is already paired.
|
|
2894
|
+
**/
|
|
2895
|
+
| 'AlreadyPaired'
|
|
2896
|
+
/**
|
|
2897
|
+
* Targets cannot be empty.
|
|
2898
|
+
**/
|
|
2899
|
+
| 'EmptyTargets'
|
|
2900
|
+
/**
|
|
2901
|
+
* Duplicate index.
|
|
2902
|
+
**/
|
|
2903
|
+
| 'DuplicateIndex'
|
|
2904
|
+
/**
|
|
2905
|
+
* Slash record index out of bounds.
|
|
2906
|
+
**/
|
|
2907
|
+
| 'InvalidSlashIndex'
|
|
2908
|
+
/**
|
|
2909
|
+
* Cannot have a validator or nominator role, with value less than the minimum defined by
|
|
2910
|
+
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
2911
|
+
* intention, `chill` first to remove one's role as validator/nominator.
|
|
2912
|
+
**/
|
|
2913
|
+
| 'InsufficientBond'
|
|
2914
|
+
/**
|
|
2915
|
+
* Can not schedule more unlock chunks.
|
|
2916
|
+
**/
|
|
2917
|
+
| 'NoMoreChunks'
|
|
2918
|
+
/**
|
|
2919
|
+
* Can not rebond without unlocking chunks.
|
|
2920
|
+
**/
|
|
2921
|
+
| 'NoUnlockChunk'
|
|
2922
|
+
/**
|
|
2923
|
+
* Attempting to target a stash that still has funds.
|
|
2924
|
+
**/
|
|
2925
|
+
| 'FundedTarget'
|
|
2926
|
+
/**
|
|
2927
|
+
* Invalid era to reward.
|
|
2928
|
+
**/
|
|
2929
|
+
| 'InvalidEraToReward'
|
|
2930
|
+
/**
|
|
2931
|
+
* Invalid number of nominations.
|
|
2932
|
+
**/
|
|
2933
|
+
| 'InvalidNumberOfNominations'
|
|
2934
|
+
/**
|
|
2935
|
+
* Items are not sorted and unique.
|
|
2936
|
+
**/
|
|
2937
|
+
| 'NotSortedAndUnique'
|
|
2938
|
+
/**
|
|
2939
|
+
* Rewards for this era have already been claimed for this validator.
|
|
2940
|
+
**/
|
|
2941
|
+
| 'AlreadyClaimed'
|
|
2942
|
+
/**
|
|
2943
|
+
* Incorrect previous history depth input provided.
|
|
2944
|
+
**/
|
|
2945
|
+
| 'IncorrectHistoryDepth'
|
|
2946
|
+
/**
|
|
2947
|
+
* Incorrect number of slashing spans provided.
|
|
2948
|
+
**/
|
|
2949
|
+
| 'IncorrectSlashingSpans'
|
|
2950
|
+
/**
|
|
2951
|
+
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
2952
|
+
**/
|
|
2953
|
+
| 'BadState'
|
|
2954
|
+
/**
|
|
2955
|
+
* Too many nomination targets supplied.
|
|
2956
|
+
**/
|
|
2957
|
+
| 'TooManyTargets'
|
|
2958
|
+
/**
|
|
2959
|
+
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
2960
|
+
**/
|
|
2961
|
+
| 'BadTarget'
|
|
2962
|
+
/**
|
|
2963
|
+
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
2964
|
+
**/
|
|
2965
|
+
| 'CannotChillOther'
|
|
2966
|
+
/**
|
|
2967
|
+
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
2968
|
+
* settings to keep things safe for the runtime.
|
|
2969
|
+
**/
|
|
2970
|
+
| 'TooManyNominators'
|
|
2971
|
+
/**
|
|
2972
|
+
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
2973
|
+
* staking settings to keep things safe for the runtime.
|
|
2974
|
+
**/
|
|
2975
|
+
| 'TooManyValidators'
|
|
2976
|
+
/**
|
|
2977
|
+
* Commission is too low. Must be at least `MinCommission`.
|
|
2978
|
+
**/
|
|
2979
|
+
| 'CommissionTooLow'
|
|
2980
|
+
/**
|
|
2981
|
+
* Some bound is not met.
|
|
2982
|
+
**/
|
|
2983
|
+
| 'BoundNotMet';
|
|
2984
|
+
|
|
2985
|
+
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* Error for the session pallet.
|
|
2989
|
+
**/
|
|
2990
|
+
export type PalletSessionError =
|
|
2991
|
+
/**
|
|
2992
|
+
* Invalid ownership proof.
|
|
2993
|
+
**/
|
|
2994
|
+
| 'InvalidProof'
|
|
2995
|
+
/**
|
|
2996
|
+
* No associated validator ID for account.
|
|
2997
|
+
**/
|
|
2998
|
+
| 'NoAssociatedValidatorId'
|
|
2999
|
+
/**
|
|
3000
|
+
* Registered duplicate key.
|
|
3001
|
+
**/
|
|
3002
|
+
| 'DuplicatedKey'
|
|
3003
|
+
/**
|
|
3004
|
+
* No keys are associated with this account.
|
|
3005
|
+
**/
|
|
3006
|
+
| 'NoKeys'
|
|
3007
|
+
/**
|
|
3008
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
3009
|
+
**/
|
|
3010
|
+
| 'NoAccount';
|
|
3011
|
+
|
|
3012
|
+
export type PrimitivesEraValidators = { reserved: Array<AccountId32>; nonReserved: Array<AccountId32> };
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* The `Error` enum of this pallet.
|
|
3016
|
+
**/
|
|
3017
|
+
export type PalletElectionsError =
|
|
3018
|
+
| 'NotEnoughValidators'
|
|
3019
|
+
| 'NotEnoughReservedValidators'
|
|
3020
|
+
| 'NotEnoughNonReservedValidators'
|
|
3021
|
+
| 'NonUniqueListOfValidators'
|
|
3022
|
+
| 'NonReservedFinalitySeatsLargerThanNonReservedSeats';
|
|
3023
|
+
|
|
3024
|
+
export type PalletTreasuryProposal = { proposer: AccountId32; value: bigint; beneficiary: AccountId32; bond: bigint };
|
|
3025
|
+
|
|
3026
|
+
export type FrameSupportPalletId = FixedBytes<8>;
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* Error for the treasury pallet.
|
|
3030
|
+
**/
|
|
3031
|
+
export type PalletTreasuryError =
|
|
3032
|
+
/**
|
|
3033
|
+
* Proposer's balance is too low.
|
|
3034
|
+
**/
|
|
3035
|
+
| 'InsufficientProposersBalance'
|
|
3036
|
+
/**
|
|
3037
|
+
* No proposal or bounty at that index.
|
|
3038
|
+
**/
|
|
3039
|
+
| 'InvalidIndex'
|
|
3040
|
+
/**
|
|
3041
|
+
* Too many approvals in the queue.
|
|
3042
|
+
**/
|
|
3043
|
+
| 'TooManyApprovals'
|
|
3044
|
+
/**
|
|
3045
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
3046
|
+
* amount to be spent.
|
|
3047
|
+
**/
|
|
3048
|
+
| 'InsufficientPermission'
|
|
3049
|
+
/**
|
|
3050
|
+
* Proposal has not been approved.
|
|
3051
|
+
**/
|
|
3052
|
+
| 'ProposalNotApproved';
|
|
3053
|
+
|
|
3054
|
+
export type PalletVestingReleases = 'V0' | 'V1';
|
|
3055
|
+
|
|
3056
|
+
/**
|
|
3057
|
+
* Error for the vesting pallet.
|
|
3058
|
+
**/
|
|
3059
|
+
export type PalletVestingError =
|
|
3060
|
+
/**
|
|
3061
|
+
* The account given is not vesting.
|
|
3062
|
+
**/
|
|
3063
|
+
| 'NotVesting'
|
|
3064
|
+
/**
|
|
3065
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
3066
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
3067
|
+
**/
|
|
3068
|
+
| 'AtMaxVestingSchedules'
|
|
3069
|
+
/**
|
|
3070
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
3071
|
+
**/
|
|
3072
|
+
| 'AmountLow'
|
|
3073
|
+
/**
|
|
3074
|
+
* An index was out of bounds of the vesting schedules.
|
|
3075
|
+
**/
|
|
3076
|
+
| 'ScheduleIndexOutOfBounds'
|
|
3077
|
+
/**
|
|
3078
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
3079
|
+
**/
|
|
3080
|
+
| 'InvalidScheduleParams';
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* The `Error` enum of this pallet.
|
|
3084
|
+
**/
|
|
3085
|
+
export type PalletUtilityError =
|
|
3086
|
+
/**
|
|
3087
|
+
* Too many calls batched.
|
|
3088
|
+
**/
|
|
3089
|
+
'TooManyCalls';
|
|
3090
|
+
|
|
3091
|
+
export type PalletMultisigMultisig = {
|
|
3092
|
+
when: PalletMultisigTimepoint;
|
|
3093
|
+
deposit: bigint;
|
|
3094
|
+
depositor: AccountId32;
|
|
3095
|
+
approvals: Array<AccountId32>;
|
|
3096
|
+
};
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* The `Error` enum of this pallet.
|
|
3100
|
+
**/
|
|
3101
|
+
export type PalletMultisigError =
|
|
3102
|
+
/**
|
|
3103
|
+
* Threshold must be 2 or greater.
|
|
3104
|
+
**/
|
|
3105
|
+
| 'MinimumThreshold'
|
|
3106
|
+
/**
|
|
3107
|
+
* Call is already approved by this signatory.
|
|
3108
|
+
**/
|
|
3109
|
+
| 'AlreadyApproved'
|
|
3110
|
+
/**
|
|
3111
|
+
* Call doesn't need any (more) approvals.
|
|
3112
|
+
**/
|
|
3113
|
+
| 'NoApprovalsNeeded'
|
|
3114
|
+
/**
|
|
3115
|
+
* There are too few signatories in the list.
|
|
3116
|
+
**/
|
|
3117
|
+
| 'TooFewSignatories'
|
|
3118
|
+
/**
|
|
3119
|
+
* There are too many signatories in the list.
|
|
3120
|
+
**/
|
|
3121
|
+
| 'TooManySignatories'
|
|
3122
|
+
/**
|
|
3123
|
+
* The signatories were provided out of order; they should be ordered.
|
|
3124
|
+
**/
|
|
3125
|
+
| 'SignatoriesOutOfOrder'
|
|
3126
|
+
/**
|
|
3127
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
3128
|
+
**/
|
|
3129
|
+
| 'SenderInSignatories'
|
|
3130
|
+
/**
|
|
3131
|
+
* Multisig operation not found when attempting to cancel.
|
|
3132
|
+
**/
|
|
3133
|
+
| 'NotFound'
|
|
3134
|
+
/**
|
|
3135
|
+
* Only the account that originally created the multisig is able to cancel it.
|
|
3136
|
+
**/
|
|
3137
|
+
| 'NotOwner'
|
|
3138
|
+
/**
|
|
3139
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
3140
|
+
**/
|
|
3141
|
+
| 'NoTimepoint'
|
|
3142
|
+
/**
|
|
3143
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
3144
|
+
**/
|
|
3145
|
+
| 'WrongTimepoint'
|
|
3146
|
+
/**
|
|
3147
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
3148
|
+
**/
|
|
3149
|
+
| 'UnexpectedTimepoint'
|
|
3150
|
+
/**
|
|
3151
|
+
* The maximum weight information provided was too low.
|
|
3152
|
+
**/
|
|
3153
|
+
| 'MaxWeightTooLow'
|
|
3154
|
+
/**
|
|
3155
|
+
* The data to be stored is already stored.
|
|
3156
|
+
**/
|
|
3157
|
+
| 'AlreadyStored';
|
|
3158
|
+
|
|
3159
|
+
/**
|
|
3160
|
+
* Error for the Sudo pallet
|
|
3161
|
+
**/
|
|
3162
|
+
export type PalletSudoError =
|
|
3163
|
+
/**
|
|
3164
|
+
* Sender must be the Sudo account
|
|
3165
|
+
**/
|
|
3166
|
+
'RequireSudo';
|
|
3167
|
+
|
|
3168
|
+
export type PalletContractsWasmCodeInfo = {
|
|
3169
|
+
owner: AccountId32;
|
|
3170
|
+
deposit: bigint;
|
|
3171
|
+
refcount: bigint;
|
|
3172
|
+
determinism: PalletContractsWasmDeterminism;
|
|
3173
|
+
codeLen: number;
|
|
3174
|
+
};
|
|
3175
|
+
|
|
3176
|
+
export type PalletContractsStorageContractInfo = {
|
|
3177
|
+
trieId: Bytes;
|
|
3178
|
+
codeHash: H256;
|
|
3179
|
+
storageBytes: number;
|
|
3180
|
+
storageItems: number;
|
|
3181
|
+
storageByteDeposit: bigint;
|
|
3182
|
+
storageItemDeposit: bigint;
|
|
3183
|
+
storageBaseDeposit: bigint;
|
|
3184
|
+
delegateDependencies: Array<[H256, bigint]>;
|
|
3185
|
+
};
|
|
3186
|
+
|
|
3187
|
+
export type PalletContractsStorageDeletionQueueManager = { insertCounter: number; deleteCounter: number };
|
|
3188
|
+
|
|
3189
|
+
export type PalletContractsSchedule = {
|
|
3190
|
+
limits: PalletContractsScheduleLimits;
|
|
3191
|
+
instructionWeights: PalletContractsScheduleInstructionWeights;
|
|
3192
|
+
hostFnWeights: PalletContractsScheduleHostFnWeights;
|
|
3193
|
+
};
|
|
3194
|
+
|
|
3195
|
+
export type PalletContractsScheduleLimits = {
|
|
3196
|
+
eventTopics: number;
|
|
3197
|
+
globals: number;
|
|
3198
|
+
locals: number;
|
|
3199
|
+
parameters: number;
|
|
3200
|
+
memoryPages: number;
|
|
3201
|
+
tableSize: number;
|
|
3202
|
+
brTableSize: number;
|
|
3203
|
+
subjectLen: number;
|
|
3204
|
+
payloadLen: number;
|
|
3205
|
+
runtimeMemory: number;
|
|
3206
|
+
};
|
|
3207
|
+
|
|
3208
|
+
export type PalletContractsScheduleInstructionWeights = { base: number };
|
|
3209
|
+
|
|
3210
|
+
export type PalletContractsScheduleHostFnWeights = {
|
|
3211
|
+
caller: SpWeightsWeightV2Weight;
|
|
3212
|
+
isContract: SpWeightsWeightV2Weight;
|
|
3213
|
+
codeHash: SpWeightsWeightV2Weight;
|
|
3214
|
+
ownCodeHash: SpWeightsWeightV2Weight;
|
|
3215
|
+
callerIsOrigin: SpWeightsWeightV2Weight;
|
|
3216
|
+
callerIsRoot: SpWeightsWeightV2Weight;
|
|
3217
|
+
address: SpWeightsWeightV2Weight;
|
|
3218
|
+
gasLeft: SpWeightsWeightV2Weight;
|
|
3219
|
+
balance: SpWeightsWeightV2Weight;
|
|
3220
|
+
valueTransferred: SpWeightsWeightV2Weight;
|
|
3221
|
+
minimumBalance: SpWeightsWeightV2Weight;
|
|
3222
|
+
blockNumber: SpWeightsWeightV2Weight;
|
|
3223
|
+
now: SpWeightsWeightV2Weight;
|
|
3224
|
+
weightToFee: SpWeightsWeightV2Weight;
|
|
3225
|
+
input: SpWeightsWeightV2Weight;
|
|
3226
|
+
inputPerByte: SpWeightsWeightV2Weight;
|
|
3227
|
+
rReturn: SpWeightsWeightV2Weight;
|
|
3228
|
+
returnPerByte: SpWeightsWeightV2Weight;
|
|
3229
|
+
terminate: SpWeightsWeightV2Weight;
|
|
3230
|
+
random: SpWeightsWeightV2Weight;
|
|
3231
|
+
depositEvent: SpWeightsWeightV2Weight;
|
|
3232
|
+
depositEventPerTopic: SpWeightsWeightV2Weight;
|
|
3233
|
+
depositEventPerByte: SpWeightsWeightV2Weight;
|
|
3234
|
+
debugMessage: SpWeightsWeightV2Weight;
|
|
3235
|
+
debugMessagePerByte: SpWeightsWeightV2Weight;
|
|
3236
|
+
setStorage: SpWeightsWeightV2Weight;
|
|
3237
|
+
setStoragePerNewByte: SpWeightsWeightV2Weight;
|
|
3238
|
+
setStoragePerOldByte: SpWeightsWeightV2Weight;
|
|
3239
|
+
setCodeHash: SpWeightsWeightV2Weight;
|
|
3240
|
+
clearStorage: SpWeightsWeightV2Weight;
|
|
3241
|
+
clearStoragePerByte: SpWeightsWeightV2Weight;
|
|
3242
|
+
containsStorage: SpWeightsWeightV2Weight;
|
|
3243
|
+
containsStoragePerByte: SpWeightsWeightV2Weight;
|
|
3244
|
+
getStorage: SpWeightsWeightV2Weight;
|
|
3245
|
+
getStoragePerByte: SpWeightsWeightV2Weight;
|
|
3246
|
+
takeStorage: SpWeightsWeightV2Weight;
|
|
3247
|
+
takeStoragePerByte: SpWeightsWeightV2Weight;
|
|
3248
|
+
transfer: SpWeightsWeightV2Weight;
|
|
3249
|
+
call: SpWeightsWeightV2Weight;
|
|
3250
|
+
delegateCall: SpWeightsWeightV2Weight;
|
|
3251
|
+
callTransferSurcharge: SpWeightsWeightV2Weight;
|
|
3252
|
+
callPerClonedByte: SpWeightsWeightV2Weight;
|
|
3253
|
+
instantiate: SpWeightsWeightV2Weight;
|
|
3254
|
+
instantiateTransferSurcharge: SpWeightsWeightV2Weight;
|
|
3255
|
+
instantiatePerInputByte: SpWeightsWeightV2Weight;
|
|
3256
|
+
instantiatePerSaltByte: SpWeightsWeightV2Weight;
|
|
3257
|
+
hashSha2256: SpWeightsWeightV2Weight;
|
|
3258
|
+
hashSha2256PerByte: SpWeightsWeightV2Weight;
|
|
3259
|
+
hashKeccak256: SpWeightsWeightV2Weight;
|
|
3260
|
+
hashKeccak256PerByte: SpWeightsWeightV2Weight;
|
|
3261
|
+
hashBlake2256: SpWeightsWeightV2Weight;
|
|
3262
|
+
hashBlake2256PerByte: SpWeightsWeightV2Weight;
|
|
3263
|
+
hashBlake2128: SpWeightsWeightV2Weight;
|
|
3264
|
+
hashBlake2128PerByte: SpWeightsWeightV2Weight;
|
|
3265
|
+
ecdsaRecover: SpWeightsWeightV2Weight;
|
|
3266
|
+
ecdsaToEthAddress: SpWeightsWeightV2Weight;
|
|
3267
|
+
sr25519Verify: SpWeightsWeightV2Weight;
|
|
3268
|
+
sr25519VerifyPerByte: SpWeightsWeightV2Weight;
|
|
3269
|
+
reentranceCount: SpWeightsWeightV2Weight;
|
|
3270
|
+
accountReentranceCount: SpWeightsWeightV2Weight;
|
|
3271
|
+
instantiationNonce: SpWeightsWeightV2Weight;
|
|
3272
|
+
addDelegateDependency: SpWeightsWeightV2Weight;
|
|
3273
|
+
removeDelegateDependency: SpWeightsWeightV2Weight;
|
|
3274
|
+
};
|
|
3275
|
+
|
|
3276
|
+
export type PalletContractsEnvironment = {
|
|
3277
|
+
accountId: PalletContractsEnvironmentType;
|
|
3278
|
+
balance: PalletContractsEnvironmentTypeU128;
|
|
3279
|
+
hash: PalletContractsEnvironmentTypeH256;
|
|
3280
|
+
hasher: PalletContractsEnvironmentTypeBlakeTwo256;
|
|
3281
|
+
timestamp: PalletContractsEnvironmentTypeU64;
|
|
3282
|
+
blockNumber: PalletContractsEnvironmentTypeU32;
|
|
3283
|
+
};
|
|
3284
|
+
|
|
3285
|
+
export type PalletContractsEnvironmentType = {};
|
|
3286
|
+
|
|
3287
|
+
export type PalletContractsEnvironmentTypeU128 = {};
|
|
3288
|
+
|
|
3289
|
+
export type PalletContractsEnvironmentTypeH256 = {};
|
|
3290
|
+
|
|
3291
|
+
export type PalletContractsEnvironmentTypeBlakeTwo256 = {};
|
|
3292
|
+
|
|
3293
|
+
export type PalletContractsEnvironmentTypeU64 = {};
|
|
3294
|
+
|
|
3295
|
+
export type PalletContractsEnvironmentTypeU32 = {};
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* The `Error` enum of this pallet.
|
|
3299
|
+
**/
|
|
3300
|
+
export type PalletContractsError =
|
|
3301
|
+
/**
|
|
3302
|
+
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
3303
|
+
**/
|
|
3304
|
+
| 'InvalidSchedule'
|
|
3305
|
+
/**
|
|
3306
|
+
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
3307
|
+
**/
|
|
3308
|
+
| 'InvalidCallFlags'
|
|
3309
|
+
/**
|
|
3310
|
+
* The executed contract exhausted its gas limit.
|
|
3311
|
+
**/
|
|
3312
|
+
| 'OutOfGas'
|
|
3313
|
+
/**
|
|
3314
|
+
* The output buffer supplied to a contract API call was too small.
|
|
3315
|
+
**/
|
|
3316
|
+
| 'OutputBufferTooSmall'
|
|
3317
|
+
/**
|
|
3318
|
+
* Performing the requested transfer failed. Probably because there isn't enough
|
|
3319
|
+
* free balance in the sender's account.
|
|
3320
|
+
**/
|
|
3321
|
+
| 'TransferFailed'
|
|
3322
|
+
/**
|
|
3323
|
+
* Performing a call was denied because the calling depth reached the limit
|
|
3324
|
+
* of what is specified in the schedule.
|
|
3325
|
+
**/
|
|
3326
|
+
| 'MaxCallDepthReached'
|
|
3327
|
+
/**
|
|
3328
|
+
* No contract was found at the specified address.
|
|
3329
|
+
**/
|
|
3330
|
+
| 'ContractNotFound'
|
|
3331
|
+
/**
|
|
3332
|
+
* The code supplied to `instantiate_with_code` exceeds the limit specified in the
|
|
3333
|
+
* current schedule.
|
|
3334
|
+
**/
|
|
3335
|
+
| 'CodeTooLarge'
|
|
3336
|
+
/**
|
|
3337
|
+
* No code could be found at the supplied code hash.
|
|
3338
|
+
**/
|
|
3339
|
+
| 'CodeNotFound'
|
|
3340
|
+
/**
|
|
3341
|
+
* No code info could be found at the supplied code hash.
|
|
3342
|
+
**/
|
|
3343
|
+
| 'CodeInfoNotFound'
|
|
3344
|
+
/**
|
|
3345
|
+
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
3346
|
+
**/
|
|
3347
|
+
| 'OutOfBounds'
|
|
3348
|
+
/**
|
|
3349
|
+
* Input passed to a contract API function failed to decode as expected type.
|
|
3350
|
+
**/
|
|
3351
|
+
| 'DecodingFailed'
|
|
3352
|
+
/**
|
|
3353
|
+
* Contract trapped during execution.
|
|
3354
|
+
**/
|
|
3355
|
+
| 'ContractTrapped'
|
|
3356
|
+
/**
|
|
3357
|
+
* The size defined in `T::MaxValueSize` was exceeded.
|
|
3358
|
+
**/
|
|
3359
|
+
| 'ValueTooLarge'
|
|
3360
|
+
/**
|
|
3361
|
+
* Termination of a contract is not allowed while the contract is already
|
|
3362
|
+
* on the call stack. Can be triggered by `seal_terminate`.
|
|
3363
|
+
**/
|
|
3364
|
+
| 'TerminatedWhileReentrant'
|
|
3365
|
+
/**
|
|
3366
|
+
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
|
3367
|
+
**/
|
|
3368
|
+
| 'InputForwarded'
|
|
3369
|
+
/**
|
|
3370
|
+
* The subject passed to `seal_random` exceeds the limit.
|
|
3371
|
+
**/
|
|
3372
|
+
| 'RandomSubjectTooLong'
|
|
3373
|
+
/**
|
|
3374
|
+
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
3375
|
+
**/
|
|
3376
|
+
| 'TooManyTopics'
|
|
3377
|
+
/**
|
|
3378
|
+
* The chain does not provide a chain extension. Calling the chain extension results
|
|
3379
|
+
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
3380
|
+
* is rejected.
|
|
3381
|
+
**/
|
|
3382
|
+
| 'NoChainExtension'
|
|
3383
|
+
/**
|
|
3384
|
+
* A contract with the same AccountId already exists.
|
|
3385
|
+
**/
|
|
3386
|
+
| 'DuplicateContract'
|
|
3387
|
+
/**
|
|
3388
|
+
* A contract self destructed in its constructor.
|
|
3389
|
+
*
|
|
3390
|
+
* This can be triggered by a call to `seal_terminate`.
|
|
3391
|
+
**/
|
|
3392
|
+
| 'TerminatedInConstructor'
|
|
3393
|
+
/**
|
|
3394
|
+
* A call tried to invoke a contract that is flagged as non-reentrant.
|
|
3395
|
+
* The only other cause is that a call from a contract into the runtime tried to call back
|
|
3396
|
+
* into `pallet-contracts`. This would make the whole pallet reentrant with regard to
|
|
3397
|
+
* contract code execution which is not supported.
|
|
3398
|
+
**/
|
|
3399
|
+
| 'ReentranceDenied'
|
|
3400
|
+
/**
|
|
3401
|
+
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
3402
|
+
**/
|
|
3403
|
+
| 'StorageDepositNotEnoughFunds'
|
|
3404
|
+
/**
|
|
3405
|
+
* More storage was created than allowed by the storage deposit limit.
|
|
3406
|
+
**/
|
|
3407
|
+
| 'StorageDepositLimitExhausted'
|
|
3408
|
+
/**
|
|
3409
|
+
* Code removal was denied because the code is still in use by at least one contract.
|
|
3410
|
+
**/
|
|
3411
|
+
| 'CodeInUse'
|
|
3412
|
+
/**
|
|
3413
|
+
* The contract ran to completion but decided to revert its storage changes.
|
|
3414
|
+
* Please note that this error is only returned from extrinsics. When called directly
|
|
3415
|
+
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
|
3416
|
+
* to determine whether a reversion has taken place.
|
|
3417
|
+
**/
|
|
3418
|
+
| 'ContractReverted'
|
|
3419
|
+
/**
|
|
3420
|
+
* The contract's code was found to be invalid during validation.
|
|
3421
|
+
*
|
|
3422
|
+
* The most likely cause of this is that an API was used which is not supported by the
|
|
3423
|
+
* node. This happens if an older node is used with a new version of ink!. Try updating
|
|
3424
|
+
* your node to the newest available version.
|
|
3425
|
+
*
|
|
3426
|
+
* A more detailed error can be found on the node console if debug messages are enabled
|
|
3427
|
+
* by supplying `-lruntime::contracts=debug`.
|
|
3428
|
+
**/
|
|
3429
|
+
| 'CodeRejected'
|
|
3430
|
+
/**
|
|
3431
|
+
* An indetermistic code was used in a context where this is not permitted.
|
|
3432
|
+
**/
|
|
3433
|
+
| 'Indeterministic'
|
|
3434
|
+
/**
|
|
3435
|
+
* A pending migration needs to complete before the extrinsic can be called.
|
|
3436
|
+
**/
|
|
3437
|
+
| 'MigrationInProgress'
|
|
3438
|
+
/**
|
|
3439
|
+
* Migrate dispatch call was attempted but no migration was performed.
|
|
3440
|
+
**/
|
|
3441
|
+
| 'NoMigrationPerformed'
|
|
3442
|
+
/**
|
|
3443
|
+
* The contract has reached its maximum number of delegate dependencies.
|
|
3444
|
+
**/
|
|
3445
|
+
| 'MaxDelegateDependenciesReached'
|
|
3446
|
+
/**
|
|
3447
|
+
* The dependency was not found in the contract's delegate dependencies.
|
|
3448
|
+
**/
|
|
3449
|
+
| 'DelegateDependencyNotFound'
|
|
3450
|
+
/**
|
|
3451
|
+
* The contract already depends on the given delegate dependency.
|
|
3452
|
+
**/
|
|
3453
|
+
| 'DelegateDependencyAlreadyExists'
|
|
3454
|
+
/**
|
|
3455
|
+
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
3456
|
+
**/
|
|
3457
|
+
| 'CannotAddSelfAsDelegateDependency';
|
|
3458
|
+
|
|
3459
|
+
export type PalletNominationPoolsPoolMember = {
|
|
3460
|
+
poolId: number;
|
|
3461
|
+
points: bigint;
|
|
3462
|
+
lastRecordedRewardCounter: FixedU128;
|
|
3463
|
+
unbondingEras: Array<[number, bigint]>;
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3466
|
+
export type PalletNominationPoolsBondedPoolInner = {
|
|
3467
|
+
commission: PalletNominationPoolsCommission;
|
|
3468
|
+
memberCounter: number;
|
|
3469
|
+
points: bigint;
|
|
3470
|
+
roles: PalletNominationPoolsPoolRoles;
|
|
3471
|
+
state: PalletNominationPoolsPoolState;
|
|
3472
|
+
};
|
|
3473
|
+
|
|
3474
|
+
export type PalletNominationPoolsCommission = {
|
|
3475
|
+
current?: [Perbill, AccountId32] | undefined;
|
|
3476
|
+
max?: Perbill | undefined;
|
|
3477
|
+
changeRate?: PalletNominationPoolsCommissionChangeRate | undefined;
|
|
3478
|
+
throttleFrom?: number | undefined;
|
|
3479
|
+
};
|
|
3480
|
+
|
|
3481
|
+
export type PalletNominationPoolsPoolRoles = {
|
|
3482
|
+
depositor: AccountId32;
|
|
3483
|
+
root?: AccountId32 | undefined;
|
|
3484
|
+
nominator?: AccountId32 | undefined;
|
|
3485
|
+
bouncer?: AccountId32 | undefined;
|
|
3486
|
+
};
|
|
3487
|
+
|
|
3488
|
+
export type PalletNominationPoolsRewardPool = {
|
|
3489
|
+
lastRecordedRewardCounter: FixedU128;
|
|
3490
|
+
lastRecordedTotalPayouts: bigint;
|
|
3491
|
+
totalRewardsClaimed: bigint;
|
|
3492
|
+
totalCommissionPending: bigint;
|
|
3493
|
+
totalCommissionClaimed: bigint;
|
|
3494
|
+
};
|
|
3495
|
+
|
|
3496
|
+
export type PalletNominationPoolsSubPools = {
|
|
3497
|
+
noEra: PalletNominationPoolsUnbondPool;
|
|
3498
|
+
withEra: Array<[number, PalletNominationPoolsUnbondPool]>;
|
|
3499
|
+
};
|
|
3500
|
+
|
|
3501
|
+
export type PalletNominationPoolsUnbondPool = { points: bigint; balance: bigint };
|
|
3502
|
+
|
|
3503
|
+
/**
|
|
3504
|
+
* The `Error` enum of this pallet.
|
|
3505
|
+
**/
|
|
3506
|
+
export type PalletNominationPoolsError =
|
|
3507
|
+
/**
|
|
3508
|
+
* A (bonded) pool id does not exist.
|
|
3509
|
+
**/
|
|
3510
|
+
| { tag: 'PoolNotFound' }
|
|
3511
|
+
/**
|
|
3512
|
+
* An account is not a member.
|
|
3513
|
+
**/
|
|
3514
|
+
| { tag: 'PoolMemberNotFound' }
|
|
3515
|
+
/**
|
|
3516
|
+
* A reward pool does not exist. In all cases this is a system logic error.
|
|
3517
|
+
**/
|
|
3518
|
+
| { tag: 'RewardPoolNotFound' }
|
|
3519
|
+
/**
|
|
3520
|
+
* A sub pool does not exist.
|
|
3521
|
+
**/
|
|
3522
|
+
| { tag: 'SubPoolsNotFound' }
|
|
3523
|
+
/**
|
|
3524
|
+
* An account is already delegating in another pool. An account may only belong to one
|
|
3525
|
+
* pool at a time.
|
|
3526
|
+
**/
|
|
3527
|
+
| { tag: 'AccountBelongsToOtherPool' }
|
|
3528
|
+
/**
|
|
3529
|
+
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
3530
|
+
* anymore to, for example, collect rewards).
|
|
3531
|
+
**/
|
|
3532
|
+
| { tag: 'FullyUnbonding' }
|
|
3533
|
+
/**
|
|
3534
|
+
* The member cannot unbond further chunks due to reaching the limit.
|
|
3535
|
+
**/
|
|
3536
|
+
| { tag: 'MaxUnbondingLimit' }
|
|
3537
|
+
/**
|
|
3538
|
+
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
3539
|
+
**/
|
|
3540
|
+
| { tag: 'CannotWithdrawAny' }
|
|
3541
|
+
/**
|
|
3542
|
+
* The amount does not meet the minimum bond to either join or create a pool.
|
|
3543
|
+
*
|
|
3544
|
+
* The depositor can never unbond to a value less than
|
|
3545
|
+
* `Pallet::depositor_min_bond`. The caller does not have nominating
|
|
3546
|
+
* permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
|
|
3547
|
+
**/
|
|
3548
|
+
| { tag: 'MinimumBondNotMet' }
|
|
3549
|
+
/**
|
|
3550
|
+
* The transaction could not be executed due to overflow risk for the pool.
|
|
3551
|
+
**/
|
|
3552
|
+
| { tag: 'OverflowRisk' }
|
|
3553
|
+
/**
|
|
3554
|
+
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
3555
|
+
* other members to be permissionlessly unbonded.
|
|
3556
|
+
**/
|
|
3557
|
+
| { tag: 'NotDestroying' }
|
|
3558
|
+
/**
|
|
3559
|
+
* The caller does not have nominating permissions for the pool.
|
|
3560
|
+
**/
|
|
3561
|
+
| { tag: 'NotNominator' }
|
|
3562
|
+
/**
|
|
3563
|
+
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
3564
|
+
**/
|
|
3565
|
+
| { tag: 'NotKickerOrDestroying' }
|
|
3566
|
+
/**
|
|
3567
|
+
* The pool is not open to join
|
|
3568
|
+
**/
|
|
3569
|
+
| { tag: 'NotOpen' }
|
|
3570
|
+
/**
|
|
3571
|
+
* The system is maxed out on pools.
|
|
3572
|
+
**/
|
|
3573
|
+
| { tag: 'MaxPools' }
|
|
3574
|
+
/**
|
|
3575
|
+
* Too many members in the pool or system.
|
|
3576
|
+
**/
|
|
3577
|
+
| { tag: 'MaxPoolMembers' }
|
|
3578
|
+
/**
|
|
3579
|
+
* The pools state cannot be changed.
|
|
3580
|
+
**/
|
|
3581
|
+
| { tag: 'CanNotChangeState' }
|
|
3582
|
+
/**
|
|
3583
|
+
* The caller does not have adequate permissions.
|
|
3584
|
+
**/
|
|
3585
|
+
| { tag: 'DoesNotHavePermission' }
|
|
3586
|
+
/**
|
|
3587
|
+
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
3588
|
+
**/
|
|
3589
|
+
| { tag: 'MetadataExceedsMaxLen' }
|
|
3590
|
+
/**
|
|
3591
|
+
* Some error occurred that should never happen. This should be reported to the
|
|
3592
|
+
* maintainers.
|
|
3593
|
+
**/
|
|
3594
|
+
| { tag: 'Defensive'; value: PalletNominationPoolsDefensiveError }
|
|
3595
|
+
/**
|
|
3596
|
+
* Partial unbonding now allowed permissionlessly.
|
|
3597
|
+
**/
|
|
3598
|
+
| { tag: 'PartialUnbondNotAllowedPermissionlessly' }
|
|
3599
|
+
/**
|
|
3600
|
+
* The pool's max commission cannot be set higher than the existing value.
|
|
3601
|
+
**/
|
|
3602
|
+
| { tag: 'MaxCommissionRestricted' }
|
|
3603
|
+
/**
|
|
3604
|
+
* The supplied commission exceeds the max allowed commission.
|
|
3605
|
+
**/
|
|
3606
|
+
| { tag: 'CommissionExceedsMaximum' }
|
|
3607
|
+
/**
|
|
3608
|
+
* The supplied commission exceeds global maximum commission.
|
|
3609
|
+
**/
|
|
3610
|
+
| { tag: 'CommissionExceedsGlobalMaximum' }
|
|
3611
|
+
/**
|
|
3612
|
+
* Not enough blocks have surpassed since the last commission update.
|
|
3613
|
+
**/
|
|
3614
|
+
| { tag: 'CommissionChangeThrottled' }
|
|
3615
|
+
/**
|
|
3616
|
+
* The submitted changes to commission change rate are not allowed.
|
|
3617
|
+
**/
|
|
3618
|
+
| { tag: 'CommissionChangeRateNotAllowed' }
|
|
3619
|
+
/**
|
|
3620
|
+
* There is no pending commission to claim.
|
|
3621
|
+
**/
|
|
3622
|
+
| { tag: 'NoPendingCommission' }
|
|
3623
|
+
/**
|
|
3624
|
+
* No commission current has been set.
|
|
3625
|
+
**/
|
|
3626
|
+
| { tag: 'NoCommissionCurrentSet' }
|
|
3627
|
+
/**
|
|
3628
|
+
* Pool id currently in use.
|
|
3629
|
+
**/
|
|
3630
|
+
| { tag: 'PoolIdInUse' }
|
|
3631
|
+
/**
|
|
3632
|
+
* Pool id provided is not correct/usable.
|
|
3633
|
+
**/
|
|
3634
|
+
| { tag: 'InvalidPoolId' }
|
|
3635
|
+
/**
|
|
3636
|
+
* Bonding extra is restricted to the exact pending reward amount.
|
|
3637
|
+
**/
|
|
3638
|
+
| { tag: 'BondExtraRestricted' };
|
|
3639
|
+
|
|
3640
|
+
export type PalletNominationPoolsDefensiveError =
|
|
3641
|
+
| 'NotEnoughSpaceInUnbondPool'
|
|
3642
|
+
| 'PoolNotFound'
|
|
3643
|
+
| 'RewardPoolNotFound'
|
|
3644
|
+
| 'SubPoolsNotFound'
|
|
3645
|
+
| 'BondedStashKilledPrematurely';
|
|
3646
|
+
|
|
3647
|
+
export type PalletIdentityRegistration = {
|
|
3648
|
+
judgements: Array<[number, PalletIdentityJudgement]>;
|
|
3649
|
+
deposit: bigint;
|
|
3650
|
+
info: PalletIdentityIdentityInfo;
|
|
3651
|
+
};
|
|
3652
|
+
|
|
3653
|
+
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: PalletIdentityBitFlags };
|
|
3654
|
+
|
|
3655
|
+
/**
|
|
3656
|
+
* The `Error` enum of this pallet.
|
|
3657
|
+
**/
|
|
3658
|
+
export type PalletIdentityError =
|
|
3659
|
+
/**
|
|
3660
|
+
* Too many subs-accounts.
|
|
3661
|
+
**/
|
|
3662
|
+
| 'TooManySubAccounts'
|
|
3663
|
+
/**
|
|
3664
|
+
* Account isn't found.
|
|
3665
|
+
**/
|
|
3666
|
+
| 'NotFound'
|
|
3667
|
+
/**
|
|
3668
|
+
* Account isn't named.
|
|
3669
|
+
**/
|
|
3670
|
+
| 'NotNamed'
|
|
3671
|
+
/**
|
|
3672
|
+
* Empty index.
|
|
3673
|
+
**/
|
|
3674
|
+
| 'EmptyIndex'
|
|
3675
|
+
/**
|
|
3676
|
+
* Fee is changed.
|
|
3677
|
+
**/
|
|
3678
|
+
| 'FeeChanged'
|
|
3679
|
+
/**
|
|
3680
|
+
* No identity found.
|
|
3681
|
+
**/
|
|
3682
|
+
| 'NoIdentity'
|
|
3683
|
+
/**
|
|
3684
|
+
* Sticky judgement.
|
|
3685
|
+
**/
|
|
3686
|
+
| 'StickyJudgement'
|
|
3687
|
+
/**
|
|
3688
|
+
* Judgement given.
|
|
3689
|
+
**/
|
|
3690
|
+
| 'JudgementGiven'
|
|
3691
|
+
/**
|
|
3692
|
+
* Invalid judgement.
|
|
3693
|
+
**/
|
|
3694
|
+
| 'InvalidJudgement'
|
|
3695
|
+
/**
|
|
3696
|
+
* The index is invalid.
|
|
3697
|
+
**/
|
|
3698
|
+
| 'InvalidIndex'
|
|
3699
|
+
/**
|
|
3700
|
+
* The target is invalid.
|
|
3701
|
+
**/
|
|
3702
|
+
| 'InvalidTarget'
|
|
3703
|
+
/**
|
|
3704
|
+
* Too many additional fields.
|
|
3705
|
+
**/
|
|
3706
|
+
| 'TooManyFields'
|
|
3707
|
+
/**
|
|
3708
|
+
* Maximum amount of registrars reached. Cannot add any more.
|
|
3709
|
+
**/
|
|
3710
|
+
| 'TooManyRegistrars'
|
|
3711
|
+
/**
|
|
3712
|
+
* Account ID is already named.
|
|
3713
|
+
**/
|
|
3714
|
+
| 'AlreadyClaimed'
|
|
3715
|
+
/**
|
|
3716
|
+
* Sender is not a sub-account.
|
|
3717
|
+
**/
|
|
3718
|
+
| 'NotSub'
|
|
3719
|
+
/**
|
|
3720
|
+
* Sub-account isn't owned by sender.
|
|
3721
|
+
**/
|
|
3722
|
+
| 'NotOwned'
|
|
3723
|
+
/**
|
|
3724
|
+
* The provided judgement was for a different identity.
|
|
3725
|
+
**/
|
|
3726
|
+
| 'JudgementForDifferentIdentity'
|
|
3727
|
+
/**
|
|
3728
|
+
* Error that occurs when there is an issue paying for judgement.
|
|
3729
|
+
**/
|
|
3730
|
+
| 'JudgementPaymentFailed';
|
|
3731
|
+
|
|
3732
|
+
export type PalletCommitteeManagementValidatorTotalRewards = Array<[AccountId32, number]>;
|
|
3733
|
+
|
|
3734
|
+
export type PalletCommitteeManagementCurrentAndNextSessionValidators = {
|
|
3735
|
+
next: PrimitivesSessionValidators;
|
|
3736
|
+
current: PrimitivesSessionValidators;
|
|
3737
|
+
};
|
|
3738
|
+
|
|
3739
|
+
export type PrimitivesSessionValidators = { committee: Array<AccountId32>; nonCommittee: Array<AccountId32> };
|
|
3740
|
+
|
|
3741
|
+
/**
|
|
3742
|
+
* The `Error` enum of this pallet.
|
|
3743
|
+
**/
|
|
3744
|
+
export type PalletCommitteeManagementError =
|
|
3745
|
+
/**
|
|
3746
|
+
* Raised in any scenario [`BanConfig`] is invalid
|
|
3747
|
+
* * `performance_ratio_threshold` must be a number in range [0; 100]
|
|
3748
|
+
* * `underperformed_session_count_threshold` must be a positive number,
|
|
3749
|
+
* * `clean_session_counter_delay` must be a positive number.
|
|
3750
|
+
**/
|
|
3751
|
+
| 'InvalidBanConfig'
|
|
3752
|
+
/**
|
|
3753
|
+
* Ban reason is too big, ie given vector of bytes is greater than
|
|
3754
|
+
* [`primitives::DEFAULT_BAN_REASON_LENGTH`]
|
|
3755
|
+
**/
|
|
3756
|
+
| 'BanReasonTooBig'
|
|
3757
|
+
/**
|
|
3758
|
+
* Lenient threshold not in [0-100] range
|
|
3759
|
+
**/
|
|
3760
|
+
| 'InvalidLenientThreshold';
|
|
3761
|
+
|
|
3762
|
+
export type PalletProxyProxyDefinition = { delegate: AccountId32; proxyType: AlephRuntimeProxyType; delay: number };
|
|
3763
|
+
|
|
3764
|
+
export type PalletProxyAnnouncement = { real: AccountId32; callHash: H256; height: number };
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* The `Error` enum of this pallet.
|
|
3768
|
+
**/
|
|
3769
|
+
export type PalletProxyError =
|
|
3770
|
+
/**
|
|
3771
|
+
* There are too many proxies registered or too many announcements pending.
|
|
3772
|
+
**/
|
|
3773
|
+
| 'TooMany'
|
|
3774
|
+
/**
|
|
3775
|
+
* Proxy registration not found.
|
|
3776
|
+
**/
|
|
3777
|
+
| 'NotFound'
|
|
3778
|
+
/**
|
|
3779
|
+
* Sender is not a proxy of the account to be proxied.
|
|
3780
|
+
**/
|
|
3781
|
+
| 'NotProxy'
|
|
3782
|
+
/**
|
|
3783
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
3784
|
+
**/
|
|
3785
|
+
| 'Unproxyable'
|
|
3786
|
+
/**
|
|
3787
|
+
* Account is already a proxy.
|
|
3788
|
+
**/
|
|
3789
|
+
| 'Duplicate'
|
|
3790
|
+
/**
|
|
3791
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
3792
|
+
**/
|
|
3793
|
+
| 'NoPermission'
|
|
3794
|
+
/**
|
|
3795
|
+
* Announcement, if made at all, was made too recently.
|
|
3796
|
+
**/
|
|
3797
|
+
| 'Unannounced'
|
|
3798
|
+
/**
|
|
3799
|
+
* Cannot add self as proxy.
|
|
3800
|
+
**/
|
|
3801
|
+
| 'NoSelfProxy';
|
|
3802
|
+
|
|
3803
|
+
export type SpRuntimeMultiSignature =
|
|
3804
|
+
| { tag: 'Ed25519'; value: SpCoreEd25519Signature }
|
|
3805
|
+
| { tag: 'Sr25519'; value: SpCoreSr25519Signature }
|
|
3806
|
+
| { tag: 'Ecdsa'; value: SpCoreEcdsaSignature };
|
|
3807
|
+
|
|
3808
|
+
export type SpCoreEd25519Signature = FixedBytes<64>;
|
|
3809
|
+
|
|
3810
|
+
export type SpCoreSr25519Signature = FixedBytes<64>;
|
|
3811
|
+
|
|
3812
|
+
export type SpCoreEcdsaSignature = FixedBytes<65>;
|
|
3813
|
+
|
|
3814
|
+
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
3815
|
+
|
|
3816
|
+
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
3817
|
+
|
|
3818
|
+
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
3819
|
+
|
|
3820
|
+
export type FrameSystemExtensionsCheckGenesis = {};
|
|
3821
|
+
|
|
3822
|
+
export type FrameSystemExtensionsCheckMortality = Era;
|
|
3823
|
+
|
|
3824
|
+
export type FrameSystemExtensionsCheckNonce = number;
|
|
3825
|
+
|
|
3826
|
+
export type FrameSystemExtensionsCheckWeight = {};
|
|
3827
|
+
|
|
3828
|
+
export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
3829
|
+
|
|
3830
|
+
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
3831
|
+
|
|
3832
|
+
export type SpCoreOpaqueMetadata = Bytes;
|
|
3833
|
+
|
|
3834
|
+
export type SpRuntimeTransactionValidityTransactionValidityError =
|
|
3835
|
+
| { tag: 'Invalid'; value: SpRuntimeTransactionValidityInvalidTransaction }
|
|
3836
|
+
| { tag: 'Unknown'; value: SpRuntimeTransactionValidityUnknownTransaction };
|
|
3837
|
+
|
|
3838
|
+
export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
3839
|
+
| { tag: 'Call' }
|
|
3840
|
+
| { tag: 'Payment' }
|
|
3841
|
+
| { tag: 'Future' }
|
|
3842
|
+
| { tag: 'Stale' }
|
|
3843
|
+
| { tag: 'BadProof' }
|
|
3844
|
+
| { tag: 'AncientBirthBlock' }
|
|
3845
|
+
| { tag: 'ExhaustsResources' }
|
|
3846
|
+
| { tag: 'Custom'; value: number }
|
|
3847
|
+
| { tag: 'BadMandatory' }
|
|
3848
|
+
| { tag: 'MandatoryValidation' }
|
|
3849
|
+
| { tag: 'BadSigner' };
|
|
3850
|
+
|
|
3851
|
+
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
3852
|
+
| { tag: 'CannotLookup' }
|
|
3853
|
+
| { tag: 'NoUnsignedValidator' }
|
|
3854
|
+
| { tag: 'Custom'; value: number };
|
|
3855
|
+
|
|
3856
|
+
export type SpInherentsInherentData = { data: Array<[FixedBytes<8>, Bytes]> };
|
|
3857
|
+
|
|
3858
|
+
export type SpInherentsCheckInherentsResult = { okay: boolean; fatalError: boolean; errors: SpInherentsInherentData };
|
|
3859
|
+
|
|
3860
|
+
export type SpRuntimeTransactionValidityTransactionSource = 'InBlock' | 'Local' | 'External';
|
|
3861
|
+
|
|
3862
|
+
export type SpRuntimeTransactionValidityValidTransaction = {
|
|
3863
|
+
priority: bigint;
|
|
3864
|
+
requires: Array<Bytes>;
|
|
3865
|
+
provides: Array<Bytes>;
|
|
3866
|
+
longevity: bigint;
|
|
3867
|
+
propagate: boolean;
|
|
3868
|
+
};
|
|
3869
|
+
|
|
3870
|
+
export type SpConsensusSlotsSlotDuration = bigint;
|
|
3871
|
+
|
|
3872
|
+
export type PalletTransactionPaymentRuntimeDispatchInfo = {
|
|
3873
|
+
weight: SpWeightsWeightV2Weight;
|
|
3874
|
+
class: FrameSupportDispatchDispatchClass;
|
|
3875
|
+
partialFee: bigint;
|
|
3876
|
+
};
|
|
3877
|
+
|
|
3878
|
+
export type PalletTransactionPaymentFeeDetails = {
|
|
3879
|
+
inclusionFee?: PalletTransactionPaymentInclusionFee | undefined;
|
|
3880
|
+
tip: bigint;
|
|
3881
|
+
};
|
|
3882
|
+
|
|
3883
|
+
export type PalletTransactionPaymentInclusionFee = { baseFee: bigint; lenFee: bigint; adjustedWeightFee: bigint };
|
|
3884
|
+
|
|
3885
|
+
export type PrimitivesApiError = 'DecodeKey';
|
|
3886
|
+
|
|
3887
|
+
export type PrimitivesSessionAuthorityData = {
|
|
3888
|
+
authorities: Array<PrimitivesAppPublic>;
|
|
3889
|
+
emergencyFinalizer?: PrimitivesAppPublic | undefined;
|
|
3890
|
+
};
|
|
3891
|
+
|
|
3892
|
+
export type PrimitivesSessionCommittee = { finalityCommittee: Array<AccountId32>; blockProducers: Array<AccountId32> };
|
|
3893
|
+
|
|
3894
|
+
export type PrimitivesSessionValidatorError =
|
|
3895
|
+
| { tag: 'SessionNotWithinRange'; value: { lowerLimit: number; upperLimit: number } }
|
|
3896
|
+
| { tag: 'Other'; value: Bytes };
|
|
3897
|
+
|
|
3898
|
+
export type PalletContractsPrimitivesContractResult = {
|
|
3899
|
+
gasConsumed: SpWeightsWeightV2Weight;
|
|
3900
|
+
gasRequired: SpWeightsWeightV2Weight;
|
|
3901
|
+
storageDeposit: PalletContractsPrimitivesStorageDeposit;
|
|
3902
|
+
debugMessage: Bytes;
|
|
3903
|
+
result: Result<PalletContractsPrimitivesExecReturnValue, DispatchError>;
|
|
3904
|
+
events?: Array<FrameSystemEventRecord> | undefined;
|
|
3905
|
+
};
|
|
3906
|
+
|
|
3907
|
+
export type PalletContractsPrimitivesExecReturnValue = { flags: PalletContractsPrimitivesReturnFlags; data: Bytes };
|
|
3908
|
+
|
|
3909
|
+
export type PalletContractsPrimitivesReturnFlags = { bits: number };
|
|
3910
|
+
|
|
3911
|
+
export type PalletContractsPrimitivesStorageDeposit =
|
|
3912
|
+
| { tag: 'Refund'; value: bigint }
|
|
3913
|
+
| { tag: 'Charge'; value: bigint };
|
|
3914
|
+
|
|
3915
|
+
export type PalletContractsPrimitivesCode = { tag: 'Upload'; value: Bytes } | { tag: 'Existing'; value: H256 };
|
|
3916
|
+
|
|
3917
|
+
export type PalletContractsPrimitivesContractResultResult = {
|
|
3918
|
+
gasConsumed: SpWeightsWeightV2Weight;
|
|
3919
|
+
gasRequired: SpWeightsWeightV2Weight;
|
|
3920
|
+
storageDeposit: PalletContractsPrimitivesStorageDeposit;
|
|
3921
|
+
debugMessage: Bytes;
|
|
3922
|
+
result: Result<PalletContractsPrimitivesInstantiateReturnValue, DispatchError>;
|
|
3923
|
+
events?: Array<FrameSystemEventRecord> | undefined;
|
|
3924
|
+
};
|
|
3925
|
+
|
|
3926
|
+
export type PalletContractsPrimitivesInstantiateReturnValue = {
|
|
3927
|
+
result: PalletContractsPrimitivesExecReturnValue;
|
|
3928
|
+
accountId: AccountId32;
|
|
3929
|
+
};
|
|
3930
|
+
|
|
3931
|
+
export type PalletContractsPrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };
|
|
3932
|
+
|
|
3933
|
+
export type PalletContractsPrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed' | 'MigrationInProgress';
|
|
3934
|
+
|
|
3935
|
+
export type AlephRuntimeRuntimeError =
|
|
3936
|
+
| { tag: 'System'; value: FrameSystemError }
|
|
3937
|
+
| { tag: 'Scheduler'; value: PalletSchedulerError }
|
|
3938
|
+
| { tag: 'Balances'; value: PalletBalancesError }
|
|
3939
|
+
| { tag: 'Staking'; value: PalletStakingPalletError }
|
|
3940
|
+
| { tag: 'Session'; value: PalletSessionError }
|
|
3941
|
+
| { tag: 'Elections'; value: PalletElectionsError }
|
|
3942
|
+
| { tag: 'Treasury'; value: PalletTreasuryError }
|
|
3943
|
+
| { tag: 'Vesting'; value: PalletVestingError }
|
|
3944
|
+
| { tag: 'Utility'; value: PalletUtilityError }
|
|
3945
|
+
| { tag: 'Multisig'; value: PalletMultisigError }
|
|
3946
|
+
| { tag: 'Sudo'; value: PalletSudoError }
|
|
3947
|
+
| { tag: 'Contracts'; value: PalletContractsError }
|
|
3948
|
+
| { tag: 'NominationPools'; value: PalletNominationPoolsError }
|
|
3949
|
+
| { tag: 'Identity'; value: PalletIdentityError }
|
|
3950
|
+
| { tag: 'CommitteeManagement'; value: PalletCommitteeManagementError }
|
|
3951
|
+
| { tag: 'Proxy'; value: PalletProxyError };
|