@dedot/chaintypes 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/moonbeam/errors.d.ts +45 -10
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +16 -6
- package/moonbeam/tx.d.ts +79 -13
- package/moonbeam/types.d.ts +59 -13
- package/package.json +3 -3
- package/substrate/consts.d.ts +135 -38
- package/substrate/errors.d.ts +432 -11
- package/substrate/events.d.ts +510 -54
- package/substrate/json-rpc.d.ts +1 -0
- package/substrate/query.d.ts +330 -56
- package/substrate/runtime.d.ts +346 -44
- package/substrate/tx.d.ts +1439 -308
- package/substrate/types.d.ts +1973 -492
package/substrate/types.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import type {
|
|
4
4
|
Phase,
|
|
5
5
|
H256,
|
|
6
|
-
DispatchInfo,
|
|
7
6
|
DispatchError,
|
|
8
7
|
AccountId32,
|
|
9
8
|
Result,
|
|
@@ -13,15 +12,16 @@ import type {
|
|
|
13
12
|
Bytes,
|
|
14
13
|
FixedU64,
|
|
15
14
|
Perquintill,
|
|
16
|
-
FixedArray,
|
|
17
15
|
BytesLike,
|
|
18
16
|
Header,
|
|
19
17
|
MultiAddress,
|
|
20
18
|
MultiAddressLike,
|
|
21
19
|
AccountId32Like,
|
|
22
20
|
PerU16,
|
|
21
|
+
FixedArray,
|
|
23
22
|
Percent,
|
|
24
23
|
Data,
|
|
24
|
+
H160,
|
|
25
25
|
Permill,
|
|
26
26
|
FixedI64,
|
|
27
27
|
Era,
|
|
@@ -61,7 +61,6 @@ export type KitchensinkRuntimeRuntimeEvent =
|
|
|
61
61
|
| { pallet: 'Indices'; palletEvent: PalletIndicesEvent }
|
|
62
62
|
| { pallet: 'Balances'; palletEvent: PalletBalancesEvent }
|
|
63
63
|
| { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
|
|
64
|
-
| { pallet: 'AssetTxPayment'; palletEvent: PalletAssetTxPaymentEvent }
|
|
65
64
|
| { pallet: 'AssetConversionTxPayment'; palletEvent: PalletAssetConversionTxPaymentEvent }
|
|
66
65
|
| { pallet: 'ElectionProviderMultiPhase'; palletEvent: PalletElectionProviderMultiPhaseEvent }
|
|
67
66
|
| { pallet: 'Staking'; palletEvent: PalletStakingPalletEvent }
|
|
@@ -122,7 +121,9 @@ export type KitchensinkRuntimeRuntimeEvent =
|
|
|
122
121
|
| { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
|
|
123
122
|
| { pallet: 'Broker'; palletEvent: PalletBrokerEvent }
|
|
124
123
|
| { pallet: 'Parameters'; palletEvent: PalletParametersEvent }
|
|
125
|
-
| { pallet: 'SkipFeelessPayment'; palletEvent: PalletSkipFeelessPaymentEvent }
|
|
124
|
+
| { pallet: 'SkipFeelessPayment'; palletEvent: PalletSkipFeelessPaymentEvent }
|
|
125
|
+
| { pallet: 'AssetConversionMigration'; palletEvent: PalletAssetConversionOpsEvent }
|
|
126
|
+
| { pallet: 'Revive'; palletEvent: PalletReviveEvent };
|
|
126
127
|
|
|
127
128
|
/**
|
|
128
129
|
* Event for the System pallet.
|
|
@@ -131,11 +132,11 @@ export type FrameSystemEvent =
|
|
|
131
132
|
/**
|
|
132
133
|
* An extrinsic completed successfully.
|
|
133
134
|
**/
|
|
134
|
-
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo:
|
|
135
|
+
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
135
136
|
/**
|
|
136
137
|
* An extrinsic failed.
|
|
137
138
|
**/
|
|
138
|
-
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo:
|
|
139
|
+
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
139
140
|
/**
|
|
140
141
|
* `:code` was updated.
|
|
141
142
|
**/
|
|
@@ -157,10 +158,32 @@ export type FrameSystemEvent =
|
|
|
157
158
|
**/
|
|
158
159
|
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
|
|
159
160
|
|
|
161
|
+
export type FrameSystemDispatchEventInfo = {
|
|
162
|
+
weight: SpWeightsWeightV2Weight;
|
|
163
|
+
class: FrameSupportDispatchDispatchClass;
|
|
164
|
+
paysFee: FrameSupportDispatchPays;
|
|
165
|
+
};
|
|
166
|
+
|
|
160
167
|
export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
|
|
161
168
|
|
|
162
169
|
export type FrameSupportDispatchPays = 'Yes' | 'No';
|
|
163
170
|
|
|
171
|
+
export type SpRuntimeProvingTrieTrieError =
|
|
172
|
+
| 'InvalidStateRoot'
|
|
173
|
+
| 'IncompleteDatabase'
|
|
174
|
+
| 'ValueAtIncompleteKey'
|
|
175
|
+
| 'DecoderError'
|
|
176
|
+
| 'InvalidHash'
|
|
177
|
+
| 'DuplicateKey'
|
|
178
|
+
| 'ExtraneousNode'
|
|
179
|
+
| 'ExtraneousValue'
|
|
180
|
+
| 'ExtraneousHashReference'
|
|
181
|
+
| 'InvalidChildReference'
|
|
182
|
+
| 'ValueMismatch'
|
|
183
|
+
| 'IncompleteProof'
|
|
184
|
+
| 'RootMismatch'
|
|
185
|
+
| 'DecodeError';
|
|
186
|
+
|
|
164
187
|
/**
|
|
165
188
|
* The `Event` enum of this pallet
|
|
166
189
|
**/
|
|
@@ -323,16 +346,6 @@ export type PalletTransactionPaymentEvent =
|
|
|
323
346
|
**/
|
|
324
347
|
{ name: 'TransactionFeePaid'; data: { who: AccountId32; actualFee: bigint; tip: bigint } };
|
|
325
348
|
|
|
326
|
-
/**
|
|
327
|
-
* The `Event` enum of this pallet
|
|
328
|
-
**/
|
|
329
|
-
export type PalletAssetTxPaymentEvent =
|
|
330
|
-
/**
|
|
331
|
-
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
332
|
-
* has been paid by `who` in an asset `asset_id`.
|
|
333
|
-
**/
|
|
334
|
-
{ name: 'AssetTxFeePaid'; data: { who: AccountId32; actualFee: bigint; tip: bigint; assetId?: number | undefined } };
|
|
335
|
-
|
|
336
349
|
/**
|
|
337
350
|
* The `Event` enum of this pallet
|
|
338
351
|
**/
|
|
@@ -341,12 +354,22 @@ export type PalletAssetConversionTxPaymentEvent =
|
|
|
341
354
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
342
355
|
* has been paid by `who` in an asset `asset_id`.
|
|
343
356
|
**/
|
|
344
|
-
| {
|
|
357
|
+
| {
|
|
358
|
+
name: 'AssetTxFeePaid';
|
|
359
|
+
data: {
|
|
360
|
+
who: AccountId32;
|
|
361
|
+
actualFee: bigint;
|
|
362
|
+
tip: bigint;
|
|
363
|
+
assetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
364
|
+
};
|
|
365
|
+
}
|
|
345
366
|
/**
|
|
346
367
|
* A swap of the refund in native currency back to asset failed.
|
|
347
368
|
**/
|
|
348
369
|
| { name: 'AssetRefundFailed'; data: { nativeAmountKept: bigint } };
|
|
349
370
|
|
|
371
|
+
export type FrameSupportTokensFungibleUnionOfNativeOrWithId = { type: 'Native' } | { type: 'WithId'; value: number };
|
|
372
|
+
|
|
350
373
|
/**
|
|
351
374
|
* The `Event` enum of this pallet
|
|
352
375
|
**/
|
|
@@ -355,7 +378,7 @@ export type PalletElectionProviderMultiPhaseEvent =
|
|
|
355
378
|
* A solution was stored with the given compute.
|
|
356
379
|
*
|
|
357
380
|
* The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
|
|
358
|
-
* the stored solution was
|
|
381
|
+
* the stored solution was submitted in the signed phase by a miner with the `AccountId`.
|
|
359
382
|
* Otherwise, the solution was stored either during the unsigned phase or by
|
|
360
383
|
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
|
361
384
|
* room for this one.
|
|
@@ -472,9 +495,12 @@ export type PalletStakingPalletEvent =
|
|
|
472
495
|
**/
|
|
473
496
|
| { name: 'Chilled'; data: { stash: AccountId32 } }
|
|
474
497
|
/**
|
|
475
|
-
*
|
|
498
|
+
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
476
499
|
**/
|
|
477
|
-
| {
|
|
500
|
+
| {
|
|
501
|
+
name: 'PayoutStarted';
|
|
502
|
+
data: { eraIndex: number; validatorStash: AccountId32; page: number; next?: number | undefined };
|
|
503
|
+
}
|
|
478
504
|
/**
|
|
479
505
|
* A validator has set their preferences.
|
|
480
506
|
**/
|
|
@@ -570,7 +596,7 @@ export type PalletDemocracyEvent =
|
|
|
570
596
|
**/
|
|
571
597
|
| { name: 'Voted'; data: { voter: AccountId32; refIndex: number; vote: PalletDemocracyVoteAccountVote } }
|
|
572
598
|
/**
|
|
573
|
-
* An account has
|
|
599
|
+
* An account has seconded a proposal
|
|
574
600
|
**/
|
|
575
601
|
| { name: 'Seconded'; data: { seconder: AccountId32; propIndex: number } }
|
|
576
602
|
/**
|
|
@@ -680,7 +706,19 @@ export type PalletCollectiveEvent =
|
|
|
680
706
|
/**
|
|
681
707
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
682
708
|
**/
|
|
683
|
-
| { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
|
|
709
|
+
| { name: 'Closed'; data: { proposalHash: H256; yes: number; no: number } }
|
|
710
|
+
/**
|
|
711
|
+
* A proposal was killed.
|
|
712
|
+
**/
|
|
713
|
+
| { name: 'Killed'; data: { proposalHash: H256 } }
|
|
714
|
+
/**
|
|
715
|
+
* Some cost for storing a proposal was burned.
|
|
716
|
+
**/
|
|
717
|
+
| { name: 'ProposalCostBurned'; data: { proposalHash: H256; who: AccountId32 } }
|
|
718
|
+
/**
|
|
719
|
+
* Some cost for storing a proposal was released.
|
|
720
|
+
**/
|
|
721
|
+
| { name: 'ProposalCostReleased'; data: { proposalHash: H256; who: AccountId32 } };
|
|
684
722
|
|
|
685
723
|
/**
|
|
686
724
|
* The `Event` enum of this pallet
|
|
@@ -770,18 +808,12 @@ export type PalletGrandpaEvent =
|
|
|
770
808
|
**/
|
|
771
809
|
| { name: 'Resumed' };
|
|
772
810
|
|
|
773
|
-
export type SpConsensusGrandpaAppPublic =
|
|
774
|
-
|
|
775
|
-
export type SpCoreEd25519Public = FixedBytes<32>;
|
|
811
|
+
export type SpConsensusGrandpaAppPublic = FixedBytes<32>;
|
|
776
812
|
|
|
777
813
|
/**
|
|
778
814
|
* The `Event` enum of this pallet
|
|
779
815
|
**/
|
|
780
816
|
export type PalletTreasuryEvent =
|
|
781
|
-
/**
|
|
782
|
-
* New proposal.
|
|
783
|
-
**/
|
|
784
|
-
| { name: 'Proposed'; data: { proposalIndex: number } }
|
|
785
817
|
/**
|
|
786
818
|
* We have ended a spend period and will now allocate funds.
|
|
787
819
|
**/
|
|
@@ -790,10 +822,6 @@ export type PalletTreasuryEvent =
|
|
|
790
822
|
* Some funds have been allocated.
|
|
791
823
|
**/
|
|
792
824
|
| { name: 'Awarded'; data: { proposalIndex: number; award: bigint; account: AccountId32 } }
|
|
793
|
-
/**
|
|
794
|
-
* A proposal was rejected; funds were slashed.
|
|
795
|
-
**/
|
|
796
|
-
| { name: 'Rejected'; data: { proposalIndex: number; slashed: bigint } }
|
|
797
825
|
/**
|
|
798
826
|
* Some of our funds have been burnt.
|
|
799
827
|
**/
|
|
@@ -821,7 +849,7 @@ export type PalletTreasuryEvent =
|
|
|
821
849
|
name: 'AssetSpendApproved';
|
|
822
850
|
data: {
|
|
823
851
|
index: number;
|
|
824
|
-
assetKind:
|
|
852
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
825
853
|
amount: bigint;
|
|
826
854
|
beneficiary: AccountId32;
|
|
827
855
|
validFrom: number;
|
|
@@ -850,9 +878,12 @@ export type PalletTreasuryEvent =
|
|
|
850
878
|
* The `Event` enum of this pallet
|
|
851
879
|
**/
|
|
852
880
|
export type PalletAssetRateEvent =
|
|
853
|
-
| { name: 'AssetRateCreated'; data: { assetKind:
|
|
854
|
-
| { name: 'AssetRateRemoved'; data: { assetKind:
|
|
855
|
-
| {
|
|
881
|
+
| { name: 'AssetRateCreated'; data: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; rate: FixedU128 } }
|
|
882
|
+
| { name: 'AssetRateRemoved'; data: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId } }
|
|
883
|
+
| {
|
|
884
|
+
name: 'AssetRateUpdated';
|
|
885
|
+
data: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; old: FixedU128; new: FixedU128 };
|
|
886
|
+
};
|
|
856
887
|
|
|
857
888
|
/**
|
|
858
889
|
* The `Event` enum of this pallet
|
|
@@ -1059,9 +1090,7 @@ export type PalletImOnlineEvent =
|
|
|
1059
1090
|
**/
|
|
1060
1091
|
| { name: 'SomeOffline'; data: { offline: Array<[AccountId32, SpStakingExposure]> } };
|
|
1061
1092
|
|
|
1062
|
-
export type PalletImOnlineSr25519AppSr25519Public =
|
|
1063
|
-
|
|
1064
|
-
export type SpCoreSr25519Public = FixedBytes<32>;
|
|
1093
|
+
export type PalletImOnlineSr25519AppSr25519Public = FixedBytes<32>;
|
|
1065
1094
|
|
|
1066
1095
|
export type SpStakingExposure = { total: bigint; own: bigint; others: Array<SpStakingIndividualExposure> };
|
|
1067
1096
|
|
|
@@ -1114,6 +1143,14 @@ export type PalletIdentityEvent =
|
|
|
1114
1143
|
* A sub-identity was added to an identity and the deposit paid.
|
|
1115
1144
|
**/
|
|
1116
1145
|
| { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
1146
|
+
/**
|
|
1147
|
+
* An account's sub-identities were set (in bulk).
|
|
1148
|
+
**/
|
|
1149
|
+
| { name: 'SubIdentitiesSet'; data: { main: AccountId32; numberOfSubs: number; newDeposit: bigint } }
|
|
1150
|
+
/**
|
|
1151
|
+
* A given sub-account's associated name was changed by its super-identity.
|
|
1152
|
+
**/
|
|
1153
|
+
| { name: 'SubIdentityRenamed'; data: { sub: AccountId32; main: AccountId32 } }
|
|
1117
1154
|
/**
|
|
1118
1155
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
1119
1156
|
**/
|
|
@@ -1151,7 +1188,19 @@ export type PalletIdentityEvent =
|
|
|
1151
1188
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
1152
1189
|
* identity) has been removed.
|
|
1153
1190
|
**/
|
|
1154
|
-
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
1191
|
+
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
1192
|
+
/**
|
|
1193
|
+
* A username has been unbound.
|
|
1194
|
+
**/
|
|
1195
|
+
| { name: 'UsernameUnbound'; data: { username: Bytes } }
|
|
1196
|
+
/**
|
|
1197
|
+
* A username has been removed.
|
|
1198
|
+
**/
|
|
1199
|
+
| { name: 'UsernameRemoved'; data: { username: Bytes } }
|
|
1200
|
+
/**
|
|
1201
|
+
* A username has been killed.
|
|
1202
|
+
**/
|
|
1203
|
+
| { name: 'UsernameKilled'; data: { username: Bytes } };
|
|
1155
1204
|
|
|
1156
1205
|
/**
|
|
1157
1206
|
* The `Event` enum of this pallet
|
|
@@ -1366,6 +1415,18 @@ export type PalletGluttonEvent =
|
|
|
1366
1415
|
**/
|
|
1367
1416
|
storage: FixedU64;
|
|
1368
1417
|
};
|
|
1418
|
+
}
|
|
1419
|
+
/**
|
|
1420
|
+
* The block length limit has been updated.
|
|
1421
|
+
**/
|
|
1422
|
+
| {
|
|
1423
|
+
name: 'BlockLengthLimitSet';
|
|
1424
|
+
data: {
|
|
1425
|
+
/**
|
|
1426
|
+
* The block length limit.
|
|
1427
|
+
**/
|
|
1428
|
+
blockLength: FixedU64;
|
|
1429
|
+
};
|
|
1369
1430
|
};
|
|
1370
1431
|
|
|
1371
1432
|
/**
|
|
@@ -1652,7 +1713,15 @@ export type PalletAssetsEvent =
|
|
|
1652
1713
|
/**
|
|
1653
1714
|
* Some account `who` was blocked.
|
|
1654
1715
|
**/
|
|
1655
|
-
| { name: 'Blocked'; data: { assetId: number; who: AccountId32 } }
|
|
1716
|
+
| { name: 'Blocked'; data: { assetId: number; who: AccountId32 } }
|
|
1717
|
+
/**
|
|
1718
|
+
* Some assets were deposited (e.g. for transaction fees).
|
|
1719
|
+
**/
|
|
1720
|
+
| { name: 'Deposited'; data: { assetId: number; who: AccountId32; amount: bigint } }
|
|
1721
|
+
/**
|
|
1722
|
+
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1723
|
+
**/
|
|
1724
|
+
| { name: 'Withdrawn'; data: { assetId: number; who: AccountId32; amount: bigint } };
|
|
1656
1725
|
|
|
1657
1726
|
/**
|
|
1658
1727
|
* The `Event` enum of this pallet
|
|
@@ -1760,7 +1829,7 @@ export type PalletNisEvent =
|
|
|
1760
1829
|
**/
|
|
1761
1830
|
| { name: 'Funded'; data: { deficit: bigint } }
|
|
1762
1831
|
/**
|
|
1763
|
-
* A receipt was
|
|
1832
|
+
* A receipt was transferred.
|
|
1764
1833
|
**/
|
|
1765
1834
|
| { name: 'Transferred'; data: { from: AccountId32; to: AccountId32; index: number } };
|
|
1766
1835
|
|
|
@@ -2257,10 +2326,10 @@ export type PalletCoreFellowshipEvent =
|
|
|
2257
2326
|
| { name: 'Swapped'; data: { who: AccountId32; newWho: AccountId32 } };
|
|
2258
2327
|
|
|
2259
2328
|
export type PalletCoreFellowshipParamsType = {
|
|
2260
|
-
activeSalary:
|
|
2261
|
-
passiveSalary:
|
|
2262
|
-
demotionPeriod:
|
|
2263
|
-
minPromotionPeriod:
|
|
2329
|
+
activeSalary: Array<bigint>;
|
|
2330
|
+
passiveSalary: Array<bigint>;
|
|
2331
|
+
demotionPeriod: Array<number>;
|
|
2332
|
+
minPromotionPeriod: Array<number>;
|
|
2264
2333
|
offboardTimeout: number;
|
|
2265
2334
|
};
|
|
2266
2335
|
|
|
@@ -2732,7 +2801,9 @@ export type KitchensinkRuntimeRuntimeCall =
|
|
|
2732
2801
|
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
|
|
2733
2802
|
| { pallet: 'Broker'; palletCall: PalletBrokerCall }
|
|
2734
2803
|
| { pallet: 'Mixnet'; palletCall: PalletMixnetCall }
|
|
2735
|
-
| { pallet: 'Parameters'; palletCall: PalletParametersCall }
|
|
2804
|
+
| { pallet: 'Parameters'; palletCall: PalletParametersCall }
|
|
2805
|
+
| { pallet: 'AssetConversionMigration'; palletCall: PalletAssetConversionOpsCall }
|
|
2806
|
+
| { pallet: 'Revive'; palletCall: PalletReviveCall };
|
|
2736
2807
|
|
|
2737
2808
|
export type KitchensinkRuntimeRuntimeCallLike =
|
|
2738
2809
|
| { pallet: 'System'; palletCall: FrameSystemCallLike }
|
|
@@ -2799,7 +2870,9 @@ export type KitchensinkRuntimeRuntimeCallLike =
|
|
|
2799
2870
|
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
|
|
2800
2871
|
| { pallet: 'Broker'; palletCall: PalletBrokerCallLike }
|
|
2801
2872
|
| { pallet: 'Mixnet'; palletCall: PalletMixnetCallLike }
|
|
2802
|
-
| { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
|
|
2873
|
+
| { pallet: 'Parameters'; palletCall: PalletParametersCallLike }
|
|
2874
|
+
| { pallet: 'AssetConversionMigration'; palletCall: PalletAssetConversionOpsCallLike }
|
|
2875
|
+
| { pallet: 'Revive'; palletCall: PalletReviveCallLike };
|
|
2803
2876
|
|
|
2804
2877
|
/**
|
|
2805
2878
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -3227,7 +3300,7 @@ export type SpConsensusSlotsEquivocationProof = {
|
|
|
3227
3300
|
secondHeader: Header;
|
|
3228
3301
|
};
|
|
3229
3302
|
|
|
3230
|
-
export type SpConsensusBabeAppPublic =
|
|
3303
|
+
export type SpConsensusBabeAppPublic = FixedBytes<32>;
|
|
3231
3304
|
|
|
3232
3305
|
export type SpConsensusSlotsSlot = bigint;
|
|
3233
3306
|
|
|
@@ -3513,7 +3586,7 @@ export type PalletBalancesCall =
|
|
|
3513
3586
|
*
|
|
3514
3587
|
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
3515
3588
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
3516
|
-
*
|
|
3589
|
+
* possibility of churn).
|
|
3517
3590
|
**/
|
|
3518
3591
|
| { name: 'UpgradeAccounts'; params: { who: Array<AccountId32> } }
|
|
3519
3592
|
/**
|
|
@@ -3529,7 +3602,17 @@ export type PalletBalancesCall =
|
|
|
3529
3602
|
*
|
|
3530
3603
|
* # Example
|
|
3531
3604
|
**/
|
|
3532
|
-
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
3605
|
+
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
3606
|
+
/**
|
|
3607
|
+
* Burn the specified liquid free balance from the origin account.
|
|
3608
|
+
*
|
|
3609
|
+
* If the origin's account ends up below the existential deposit as a result
|
|
3610
|
+
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
3611
|
+
*
|
|
3612
|
+
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
3613
|
+
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
3614
|
+
**/
|
|
3615
|
+
| { name: 'Burn'; params: { value: bigint; keepAlive: boolean } };
|
|
3533
3616
|
|
|
3534
3617
|
export type PalletBalancesCallLike =
|
|
3535
3618
|
/**
|
|
@@ -3588,7 +3671,7 @@ export type PalletBalancesCallLike =
|
|
|
3588
3671
|
*
|
|
3589
3672
|
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
3590
3673
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
3591
|
-
*
|
|
3674
|
+
* possibility of churn).
|
|
3592
3675
|
**/
|
|
3593
3676
|
| { name: 'UpgradeAccounts'; params: { who: Array<AccountId32Like> } }
|
|
3594
3677
|
/**
|
|
@@ -3604,7 +3687,17 @@ export type PalletBalancesCallLike =
|
|
|
3604
3687
|
*
|
|
3605
3688
|
* # Example
|
|
3606
3689
|
**/
|
|
3607
|
-
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
3690
|
+
| { name: 'ForceAdjustTotalIssuance'; params: { direction: PalletBalancesAdjustmentDirection; delta: bigint } }
|
|
3691
|
+
/**
|
|
3692
|
+
* Burn the specified liquid free balance from the origin account.
|
|
3693
|
+
*
|
|
3694
|
+
* If the origin's account ends up below the existential deposit as a result
|
|
3695
|
+
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
3696
|
+
*
|
|
3697
|
+
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
3698
|
+
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
3699
|
+
**/
|
|
3700
|
+
| { name: 'Burn'; params: { value: bigint; keepAlive: boolean } };
|
|
3608
3701
|
|
|
3609
3702
|
export type PalletBalancesAdjustmentDirection = 'Increase' | 'Decrease';
|
|
3610
3703
|
|
|
@@ -3791,7 +3884,8 @@ export type PalletStakingPalletCall =
|
|
|
3791
3884
|
* - Three extra DB entries.
|
|
3792
3885
|
*
|
|
3793
3886
|
* NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
|
|
3794
|
-
* unless the `origin` falls below _existential deposit_ and gets removed
|
|
3887
|
+
* unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed
|
|
3888
|
+
* as dust.
|
|
3795
3889
|
**/
|
|
3796
3890
|
| { name: 'Bond'; params: { value: bigint; payee: PalletStakingRewardDestination } }
|
|
3797
3891
|
/**
|
|
@@ -3814,7 +3908,7 @@ export type PalletStakingPalletCall =
|
|
|
3814
3908
|
/**
|
|
3815
3909
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
3816
3910
|
* period ends. If this leaves an amount actively bonded less than
|
|
3817
|
-
*
|
|
3911
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
3818
3912
|
*
|
|
3819
3913
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
3820
3914
|
*
|
|
@@ -3851,7 +3945,7 @@ export type PalletStakingPalletCall =
|
|
|
3851
3945
|
* this call results in a complete removal of all the data related to the stash account.
|
|
3852
3946
|
* In this case, the `num_slashing_spans` must be larger or equal to the number of
|
|
3853
3947
|
* slashing spans associated with the stash account in the [`SlashingSpans`] storage type,
|
|
3854
|
-
* otherwise the call will fail. The call weight is directly
|
|
3948
|
+
* otherwise the call will fail. The call weight is directly proportional to
|
|
3855
3949
|
* `num_slashing_spans`.
|
|
3856
3950
|
*
|
|
3857
3951
|
* ## Complexity
|
|
@@ -3935,7 +4029,7 @@ export type PalletStakingPalletCall =
|
|
|
3935
4029
|
**/
|
|
3936
4030
|
| { name: 'SetValidatorCount'; params: { new: number } }
|
|
3937
4031
|
/**
|
|
3938
|
-
* Increments the ideal number of validators
|
|
4032
|
+
* Increments the ideal number of validators up to maximum of
|
|
3939
4033
|
* `ElectionProviderBase::MaxWinners`.
|
|
3940
4034
|
*
|
|
3941
4035
|
* The dispatch origin must be Root.
|
|
@@ -3945,7 +4039,7 @@ export type PalletStakingPalletCall =
|
|
|
3945
4039
|
**/
|
|
3946
4040
|
| { name: 'IncreaseValidatorCount'; params: { additional: number } }
|
|
3947
4041
|
/**
|
|
3948
|
-
* Scale up the ideal number of validators by a factor
|
|
4042
|
+
* Scale up the ideal number of validators by a factor up to maximum of
|
|
3949
4043
|
* `ElectionProviderBase::MaxWinners`.
|
|
3950
4044
|
*
|
|
3951
4045
|
* The dispatch origin must be Root.
|
|
@@ -4056,6 +4150,7 @@ export type PalletStakingPalletCall =
|
|
|
4056
4150
|
*
|
|
4057
4151
|
* 1. the `total_balance` of the stash is below existential deposit.
|
|
4058
4152
|
* 2. or, the `ledger.total` of the stash is below existential deposit.
|
|
4153
|
+
* 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
|
|
4059
4154
|
*
|
|
4060
4155
|
* The former can happen in cases like a slash; the latter when a fully unbonded account
|
|
4061
4156
|
* is still receiving staking rewards in `RewardDestination::Staked`.
|
|
@@ -4195,7 +4290,29 @@ export type PalletStakingPalletCall =
|
|
|
4195
4290
|
*
|
|
4196
4291
|
* The dispatch origin must be `T::AdminOrigin`.
|
|
4197
4292
|
**/
|
|
4198
|
-
| { name: 'DeprecateControllerBatch'; params: { controllers: Array<AccountId32> } }
|
|
4293
|
+
| { name: 'DeprecateControllerBatch'; params: { controllers: Array<AccountId32> } }
|
|
4294
|
+
/**
|
|
4295
|
+
* Restores the state of a ledger which is in an inconsistent state.
|
|
4296
|
+
*
|
|
4297
|
+
* The requirements to restore a ledger are the following:
|
|
4298
|
+
* * The stash is bonded; or
|
|
4299
|
+
* * The stash is not bonded but it has a staking lock left behind; or
|
|
4300
|
+
* * If the stash has an associated ledger and its state is inconsistent; or
|
|
4301
|
+
* * If the ledger is not corrupted *but* its staking lock is out of sync.
|
|
4302
|
+
*
|
|
4303
|
+
* The `maybe_*` input parameters will overwrite the corresponding data and metadata of the
|
|
4304
|
+
* ledger associated with the stash. If the input parameters are not set, the ledger will
|
|
4305
|
+
* be reset values from on-chain state.
|
|
4306
|
+
**/
|
|
4307
|
+
| {
|
|
4308
|
+
name: 'RestoreLedger';
|
|
4309
|
+
params: {
|
|
4310
|
+
stash: AccountId32;
|
|
4311
|
+
maybeController?: AccountId32 | undefined;
|
|
4312
|
+
maybeTotal?: bigint | undefined;
|
|
4313
|
+
maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
|
|
4314
|
+
};
|
|
4315
|
+
};
|
|
4199
4316
|
|
|
4200
4317
|
export type PalletStakingPalletCallLike =
|
|
4201
4318
|
/**
|
|
@@ -4213,7 +4330,8 @@ export type PalletStakingPalletCallLike =
|
|
|
4213
4330
|
* - Three extra DB entries.
|
|
4214
4331
|
*
|
|
4215
4332
|
* NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
|
|
4216
|
-
* unless the `origin` falls below _existential deposit_ and gets removed
|
|
4333
|
+
* unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed
|
|
4334
|
+
* as dust.
|
|
4217
4335
|
**/
|
|
4218
4336
|
| { name: 'Bond'; params: { value: bigint; payee: PalletStakingRewardDestination } }
|
|
4219
4337
|
/**
|
|
@@ -4236,7 +4354,7 @@ export type PalletStakingPalletCallLike =
|
|
|
4236
4354
|
/**
|
|
4237
4355
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
4238
4356
|
* period ends. If this leaves an amount actively bonded less than
|
|
4239
|
-
*
|
|
4357
|
+
* [`asset::existential_deposit`], then it is increased to the full amount.
|
|
4240
4358
|
*
|
|
4241
4359
|
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
|
4242
4360
|
*
|
|
@@ -4273,7 +4391,7 @@ export type PalletStakingPalletCallLike =
|
|
|
4273
4391
|
* this call results in a complete removal of all the data related to the stash account.
|
|
4274
4392
|
* In this case, the `num_slashing_spans` must be larger or equal to the number of
|
|
4275
4393
|
* slashing spans associated with the stash account in the [`SlashingSpans`] storage type,
|
|
4276
|
-
* otherwise the call will fail. The call weight is directly
|
|
4394
|
+
* otherwise the call will fail. The call weight is directly proportional to
|
|
4277
4395
|
* `num_slashing_spans`.
|
|
4278
4396
|
*
|
|
4279
4397
|
* ## Complexity
|
|
@@ -4357,7 +4475,7 @@ export type PalletStakingPalletCallLike =
|
|
|
4357
4475
|
**/
|
|
4358
4476
|
| { name: 'SetValidatorCount'; params: { new: number } }
|
|
4359
4477
|
/**
|
|
4360
|
-
* Increments the ideal number of validators
|
|
4478
|
+
* Increments the ideal number of validators up to maximum of
|
|
4361
4479
|
* `ElectionProviderBase::MaxWinners`.
|
|
4362
4480
|
*
|
|
4363
4481
|
* The dispatch origin must be Root.
|
|
@@ -4367,7 +4485,7 @@ export type PalletStakingPalletCallLike =
|
|
|
4367
4485
|
**/
|
|
4368
4486
|
| { name: 'IncreaseValidatorCount'; params: { additional: number } }
|
|
4369
4487
|
/**
|
|
4370
|
-
* Scale up the ideal number of validators by a factor
|
|
4488
|
+
* Scale up the ideal number of validators by a factor up to maximum of
|
|
4371
4489
|
* `ElectionProviderBase::MaxWinners`.
|
|
4372
4490
|
*
|
|
4373
4491
|
* The dispatch origin must be Root.
|
|
@@ -4478,6 +4596,7 @@ export type PalletStakingPalletCallLike =
|
|
|
4478
4596
|
*
|
|
4479
4597
|
* 1. the `total_balance` of the stash is below existential deposit.
|
|
4480
4598
|
* 2. or, the `ledger.total` of the stash is below existential deposit.
|
|
4599
|
+
* 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
|
|
4481
4600
|
*
|
|
4482
4601
|
* The former can happen in cases like a slash; the latter when a fully unbonded account
|
|
4483
4602
|
* is still receiving staking rewards in `RewardDestination::Staked`.
|
|
@@ -4617,7 +4736,29 @@ export type PalletStakingPalletCallLike =
|
|
|
4617
4736
|
*
|
|
4618
4737
|
* The dispatch origin must be `T::AdminOrigin`.
|
|
4619
4738
|
**/
|
|
4620
|
-
| { name: 'DeprecateControllerBatch'; params: { controllers: Array<AccountId32Like> } }
|
|
4739
|
+
| { name: 'DeprecateControllerBatch'; params: { controllers: Array<AccountId32Like> } }
|
|
4740
|
+
/**
|
|
4741
|
+
* Restores the state of a ledger which is in an inconsistent state.
|
|
4742
|
+
*
|
|
4743
|
+
* The requirements to restore a ledger are the following:
|
|
4744
|
+
* * The stash is bonded; or
|
|
4745
|
+
* * The stash is not bonded but it has a staking lock left behind; or
|
|
4746
|
+
* * If the stash has an associated ledger and its state is inconsistent; or
|
|
4747
|
+
* * If the ledger is not corrupted *but* its staking lock is out of sync.
|
|
4748
|
+
*
|
|
4749
|
+
* The `maybe_*` input parameters will overwrite the corresponding data and metadata of the
|
|
4750
|
+
* ledger associated with the stash. If the input parameters are not set, the ledger will
|
|
4751
|
+
* be reset values from on-chain state.
|
|
4752
|
+
**/
|
|
4753
|
+
| {
|
|
4754
|
+
name: 'RestoreLedger';
|
|
4755
|
+
params: {
|
|
4756
|
+
stash: AccountId32Like;
|
|
4757
|
+
maybeController?: AccountId32Like | undefined;
|
|
4758
|
+
maybeTotal?: bigint | undefined;
|
|
4759
|
+
maybeUnlocking?: Array<PalletStakingUnlockChunk> | undefined;
|
|
4760
|
+
};
|
|
4761
|
+
};
|
|
4621
4762
|
|
|
4622
4763
|
export type PalletStakingPalletConfigOp = { type: 'Noop' } | { type: 'Set'; value: bigint } | { type: 'Remove' };
|
|
4623
4764
|
|
|
@@ -4633,6 +4774,8 @@ export type PalletStakingPalletConfigOpPerbill =
|
|
|
4633
4774
|
| { type: 'Set'; value: Perbill }
|
|
4634
4775
|
| { type: 'Remove' };
|
|
4635
4776
|
|
|
4777
|
+
export type PalletStakingUnlockChunk = { value: bigint; era: number };
|
|
4778
|
+
|
|
4636
4779
|
/**
|
|
4637
4780
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4638
4781
|
**/
|
|
@@ -4703,13 +4846,11 @@ export type KitchensinkRuntimeSessionKeys = {
|
|
|
4703
4846
|
beefy: SpConsensusBeefyEcdsaCryptoPublic;
|
|
4704
4847
|
};
|
|
4705
4848
|
|
|
4706
|
-
export type SpAuthorityDiscoveryAppPublic =
|
|
4849
|
+
export type SpAuthorityDiscoveryAppPublic = FixedBytes<32>;
|
|
4707
4850
|
|
|
4708
|
-
export type SpMixnetAppPublic =
|
|
4851
|
+
export type SpMixnetAppPublic = FixedBytes<32>;
|
|
4709
4852
|
|
|
4710
|
-
export type SpConsensusBeefyEcdsaCryptoPublic =
|
|
4711
|
-
|
|
4712
|
-
export type SpCoreEcdsaPublic = FixedBytes<33>;
|
|
4853
|
+
export type SpConsensusBeefyEcdsaCryptoPublic = FixedBytes<33>;
|
|
4713
4854
|
|
|
4714
4855
|
/**
|
|
4715
4856
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5384,7 +5525,29 @@ export type PalletCollectiveCall =
|
|
|
5384
5525
|
| {
|
|
5385
5526
|
name: 'Close';
|
|
5386
5527
|
params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
|
|
5387
|
-
}
|
|
5528
|
+
}
|
|
5529
|
+
/**
|
|
5530
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
5531
|
+
*
|
|
5532
|
+
* Parameters:
|
|
5533
|
+
* - `origin`: must be the `KillOrigin`.
|
|
5534
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
5535
|
+
*
|
|
5536
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
5537
|
+
**/
|
|
5538
|
+
| { name: 'Kill'; params: { proposalHash: H256 } }
|
|
5539
|
+
/**
|
|
5540
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
5541
|
+
*
|
|
5542
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
5543
|
+
*
|
|
5544
|
+
* Parameters:
|
|
5545
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
5546
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
5547
|
+
*
|
|
5548
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
5549
|
+
**/
|
|
5550
|
+
| { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
|
|
5388
5551
|
|
|
5389
5552
|
export type PalletCollectiveCallLike =
|
|
5390
5553
|
/**
|
|
@@ -5500,7 +5663,29 @@ export type PalletCollectiveCallLike =
|
|
|
5500
5663
|
| {
|
|
5501
5664
|
name: 'Close';
|
|
5502
5665
|
params: { proposalHash: H256; index: number; proposalWeightBound: SpWeightsWeightV2Weight; lengthBound: number };
|
|
5503
|
-
}
|
|
5666
|
+
}
|
|
5667
|
+
/**
|
|
5668
|
+
* Disapprove the proposal and burn the cost held for storing this proposal.
|
|
5669
|
+
*
|
|
5670
|
+
* Parameters:
|
|
5671
|
+
* - `origin`: must be the `KillOrigin`.
|
|
5672
|
+
* - `proposal_hash`: The hash of the proposal that should be killed.
|
|
5673
|
+
*
|
|
5674
|
+
* Emits `Killed` and `ProposalCostBurned` if any cost was held for a given proposal.
|
|
5675
|
+
**/
|
|
5676
|
+
| { name: 'Kill'; params: { proposalHash: H256 } }
|
|
5677
|
+
/**
|
|
5678
|
+
* Release the cost held for storing a proposal once the given proposal is completed.
|
|
5679
|
+
*
|
|
5680
|
+
* If there is no associated cost for the given proposal, this call will have no effect.
|
|
5681
|
+
*
|
|
5682
|
+
* Parameters:
|
|
5683
|
+
* - `origin`: must be `Signed` or `Root`.
|
|
5684
|
+
* - `proposal_hash`: The hash of the proposal.
|
|
5685
|
+
*
|
|
5686
|
+
* Emits `ProposalCostReleased` if any cost held for a given proposal.
|
|
5687
|
+
**/
|
|
5688
|
+
| { name: 'ReleaseProposalCost'; params: { proposalHash: H256 } };
|
|
5504
5689
|
|
|
5505
5690
|
/**
|
|
5506
5691
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5921,9 +6106,7 @@ export type FinalityGrandpaEquivocation = {
|
|
|
5921
6106
|
|
|
5922
6107
|
export type FinalityGrandpaPrevote = { targetHash: H256; targetNumber: number };
|
|
5923
6108
|
|
|
5924
|
-
export type SpConsensusGrandpaAppSignature =
|
|
5925
|
-
|
|
5926
|
-
export type SpCoreEd25519Signature = FixedBytes<64>;
|
|
6109
|
+
export type SpConsensusGrandpaAppSignature = FixedBytes<64>;
|
|
5927
6110
|
|
|
5928
6111
|
export type FinalityGrandpaEquivocationPrecommit = {
|
|
5929
6112
|
roundNumber: bigint;
|
|
@@ -5938,63 +6121,6 @@ export type FinalityGrandpaPrecommit = { targetHash: H256; targetNumber: number
|
|
|
5938
6121
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5939
6122
|
**/
|
|
5940
6123
|
export type PalletTreasuryCall =
|
|
5941
|
-
/**
|
|
5942
|
-
* Put forward a suggestion for spending.
|
|
5943
|
-
*
|
|
5944
|
-
* ## Dispatch Origin
|
|
5945
|
-
*
|
|
5946
|
-
* Must be signed.
|
|
5947
|
-
*
|
|
5948
|
-
* ## Details
|
|
5949
|
-
* A deposit proportional to the value is reserved and slashed if the proposal is rejected.
|
|
5950
|
-
* It is returned once the proposal is awarded.
|
|
5951
|
-
*
|
|
5952
|
-
* ### Complexity
|
|
5953
|
-
* - O(1)
|
|
5954
|
-
*
|
|
5955
|
-
* ## Events
|
|
5956
|
-
*
|
|
5957
|
-
* Emits [`Event::Proposed`] if successful.
|
|
5958
|
-
**/
|
|
5959
|
-
| { name: 'ProposeSpend'; params: { value: bigint; beneficiary: MultiAddress } }
|
|
5960
|
-
/**
|
|
5961
|
-
* Reject a proposed spend.
|
|
5962
|
-
*
|
|
5963
|
-
* ## Dispatch Origin
|
|
5964
|
-
*
|
|
5965
|
-
* Must be [`Config::RejectOrigin`].
|
|
5966
|
-
*
|
|
5967
|
-
* ## Details
|
|
5968
|
-
* The original deposit will be slashed.
|
|
5969
|
-
*
|
|
5970
|
-
* ### Complexity
|
|
5971
|
-
* - O(1)
|
|
5972
|
-
*
|
|
5973
|
-
* ## Events
|
|
5974
|
-
*
|
|
5975
|
-
* Emits [`Event::Rejected`] if successful.
|
|
5976
|
-
**/
|
|
5977
|
-
| { name: 'RejectProposal'; params: { proposalId: number } }
|
|
5978
|
-
/**
|
|
5979
|
-
* Approve a proposal.
|
|
5980
|
-
*
|
|
5981
|
-
* ## Dispatch Origin
|
|
5982
|
-
*
|
|
5983
|
-
* Must be [`Config::ApproveOrigin`].
|
|
5984
|
-
*
|
|
5985
|
-
* ## Details
|
|
5986
|
-
*
|
|
5987
|
-
* At a later time, the proposal will be allocated to the beneficiary and the original
|
|
5988
|
-
* deposit will be returned.
|
|
5989
|
-
*
|
|
5990
|
-
* ### Complexity
|
|
5991
|
-
* - O(1).
|
|
5992
|
-
*
|
|
5993
|
-
* ## Events
|
|
5994
|
-
*
|
|
5995
|
-
* No events are emitted from this dispatch.
|
|
5996
|
-
**/
|
|
5997
|
-
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
5998
6124
|
/**
|
|
5999
6125
|
* Propose and approve a spend of treasury funds.
|
|
6000
6126
|
*
|
|
@@ -6069,14 +6195,19 @@ export type PalletTreasuryCall =
|
|
|
6069
6195
|
**/
|
|
6070
6196
|
| {
|
|
6071
6197
|
name: 'Spend';
|
|
6072
|
-
params: {
|
|
6198
|
+
params: {
|
|
6199
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
6200
|
+
amount: bigint;
|
|
6201
|
+
beneficiary: MultiAddress;
|
|
6202
|
+
validFrom?: number | undefined;
|
|
6203
|
+
};
|
|
6073
6204
|
}
|
|
6074
6205
|
/**
|
|
6075
6206
|
* Claim a spend.
|
|
6076
6207
|
*
|
|
6077
6208
|
* ## Dispatch Origin
|
|
6078
6209
|
*
|
|
6079
|
-
* Must be signed
|
|
6210
|
+
* Must be signed
|
|
6080
6211
|
*
|
|
6081
6212
|
* ## Details
|
|
6082
6213
|
*
|
|
@@ -6136,63 +6267,6 @@ export type PalletTreasuryCall =
|
|
|
6136
6267
|
| { name: 'VoidSpend'; params: { index: number } };
|
|
6137
6268
|
|
|
6138
6269
|
export type PalletTreasuryCallLike =
|
|
6139
|
-
/**
|
|
6140
|
-
* Put forward a suggestion for spending.
|
|
6141
|
-
*
|
|
6142
|
-
* ## Dispatch Origin
|
|
6143
|
-
*
|
|
6144
|
-
* Must be signed.
|
|
6145
|
-
*
|
|
6146
|
-
* ## Details
|
|
6147
|
-
* A deposit proportional to the value is reserved and slashed if the proposal is rejected.
|
|
6148
|
-
* It is returned once the proposal is awarded.
|
|
6149
|
-
*
|
|
6150
|
-
* ### Complexity
|
|
6151
|
-
* - O(1)
|
|
6152
|
-
*
|
|
6153
|
-
* ## Events
|
|
6154
|
-
*
|
|
6155
|
-
* Emits [`Event::Proposed`] if successful.
|
|
6156
|
-
**/
|
|
6157
|
-
| { name: 'ProposeSpend'; params: { value: bigint; beneficiary: MultiAddressLike } }
|
|
6158
|
-
/**
|
|
6159
|
-
* Reject a proposed spend.
|
|
6160
|
-
*
|
|
6161
|
-
* ## Dispatch Origin
|
|
6162
|
-
*
|
|
6163
|
-
* Must be [`Config::RejectOrigin`].
|
|
6164
|
-
*
|
|
6165
|
-
* ## Details
|
|
6166
|
-
* The original deposit will be slashed.
|
|
6167
|
-
*
|
|
6168
|
-
* ### Complexity
|
|
6169
|
-
* - O(1)
|
|
6170
|
-
*
|
|
6171
|
-
* ## Events
|
|
6172
|
-
*
|
|
6173
|
-
* Emits [`Event::Rejected`] if successful.
|
|
6174
|
-
**/
|
|
6175
|
-
| { name: 'RejectProposal'; params: { proposalId: number } }
|
|
6176
|
-
/**
|
|
6177
|
-
* Approve a proposal.
|
|
6178
|
-
*
|
|
6179
|
-
* ## Dispatch Origin
|
|
6180
|
-
*
|
|
6181
|
-
* Must be [`Config::ApproveOrigin`].
|
|
6182
|
-
*
|
|
6183
|
-
* ## Details
|
|
6184
|
-
*
|
|
6185
|
-
* At a later time, the proposal will be allocated to the beneficiary and the original
|
|
6186
|
-
* deposit will be returned.
|
|
6187
|
-
*
|
|
6188
|
-
* ### Complexity
|
|
6189
|
-
* - O(1).
|
|
6190
|
-
*
|
|
6191
|
-
* ## Events
|
|
6192
|
-
*
|
|
6193
|
-
* No events are emitted from this dispatch.
|
|
6194
|
-
**/
|
|
6195
|
-
| { name: 'ApproveProposal'; params: { proposalId: number } }
|
|
6196
6270
|
/**
|
|
6197
6271
|
* Propose and approve a spend of treasury funds.
|
|
6198
6272
|
*
|
|
@@ -6267,14 +6341,19 @@ export type PalletTreasuryCallLike =
|
|
|
6267
6341
|
**/
|
|
6268
6342
|
| {
|
|
6269
6343
|
name: 'Spend';
|
|
6270
|
-
params: {
|
|
6344
|
+
params: {
|
|
6345
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
6346
|
+
amount: bigint;
|
|
6347
|
+
beneficiary: MultiAddressLike;
|
|
6348
|
+
validFrom?: number | undefined;
|
|
6349
|
+
};
|
|
6271
6350
|
}
|
|
6272
6351
|
/**
|
|
6273
6352
|
* Claim a spend.
|
|
6274
6353
|
*
|
|
6275
6354
|
* ## Dispatch Origin
|
|
6276
6355
|
*
|
|
6277
|
-
* Must be signed
|
|
6356
|
+
* Must be signed
|
|
6278
6357
|
*
|
|
6279
6358
|
* ## Details
|
|
6280
6359
|
*
|
|
@@ -6343,21 +6422,21 @@ export type PalletAssetRateCall =
|
|
|
6343
6422
|
* ## Complexity
|
|
6344
6423
|
* - O(1)
|
|
6345
6424
|
**/
|
|
6346
|
-
| { name: 'Create'; params: { assetKind:
|
|
6425
|
+
| { name: 'Create'; params: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; rate: FixedU128 } }
|
|
6347
6426
|
/**
|
|
6348
6427
|
* Update the conversion rate to native balance for the given asset.
|
|
6349
6428
|
*
|
|
6350
6429
|
* ## Complexity
|
|
6351
6430
|
* - O(1)
|
|
6352
6431
|
**/
|
|
6353
|
-
| { name: 'Update'; params: { assetKind:
|
|
6432
|
+
| { name: 'Update'; params: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; rate: FixedU128 } }
|
|
6354
6433
|
/**
|
|
6355
6434
|
* Remove an existing conversion rate to native balance for the given asset.
|
|
6356
6435
|
*
|
|
6357
6436
|
* ## Complexity
|
|
6358
6437
|
* - O(1)
|
|
6359
6438
|
**/
|
|
6360
|
-
| { name: 'Remove'; params: { assetKind:
|
|
6439
|
+
| { name: 'Remove'; params: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId } };
|
|
6361
6440
|
|
|
6362
6441
|
export type PalletAssetRateCallLike =
|
|
6363
6442
|
/**
|
|
@@ -6366,21 +6445,21 @@ export type PalletAssetRateCallLike =
|
|
|
6366
6445
|
* ## Complexity
|
|
6367
6446
|
* - O(1)
|
|
6368
6447
|
**/
|
|
6369
|
-
| { name: 'Create'; params: { assetKind:
|
|
6448
|
+
| { name: 'Create'; params: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; rate: FixedU128 } }
|
|
6370
6449
|
/**
|
|
6371
6450
|
* Update the conversion rate to native balance for the given asset.
|
|
6372
6451
|
*
|
|
6373
6452
|
* ## Complexity
|
|
6374
6453
|
* - O(1)
|
|
6375
6454
|
**/
|
|
6376
|
-
| { name: 'Update'; params: { assetKind:
|
|
6455
|
+
| { name: 'Update'; params: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId; rate: FixedU128 } }
|
|
6377
6456
|
/**
|
|
6378
6457
|
* Remove an existing conversion rate to native balance for the given asset.
|
|
6379
6458
|
*
|
|
6380
6459
|
* ## Complexity
|
|
6381
6460
|
* - O(1)
|
|
6382
6461
|
**/
|
|
6383
|
-
| { name: 'Remove'; params: { assetKind:
|
|
6462
|
+
| { name: 'Remove'; params: { assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId } };
|
|
6384
6463
|
|
|
6385
6464
|
/**
|
|
6386
6465
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -6861,9 +6940,7 @@ export type PalletImOnlineHeartbeat = {
|
|
|
6861
6940
|
validatorsLen: number;
|
|
6862
6941
|
};
|
|
6863
6942
|
|
|
6864
|
-
export type PalletImOnlineSr25519AppSr25519Signature =
|
|
6865
|
-
|
|
6866
|
-
export type SpCoreSr25519Signature = FixedBytes<64>;
|
|
6943
|
+
export type PalletImOnlineSr25519AppSr25519Signature = FixedBytes<64>;
|
|
6867
6944
|
|
|
6868
6945
|
/**
|
|
6869
6946
|
* Identity pallet declaration.
|
|
@@ -6928,7 +7005,7 @@ export type PalletIdentityCall =
|
|
|
6928
7005
|
* - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
|
|
6929
7006
|
*
|
|
6930
7007
|
* ```nocompile
|
|
6931
|
-
*
|
|
7008
|
+
* Registrars::<T>::get().get(reg_index).unwrap().fee
|
|
6932
7009
|
* ```
|
|
6933
7010
|
*
|
|
6934
7011
|
* Emits `JudgementRequested` if successful.
|
|
@@ -7056,18 +7133,23 @@ export type PalletIdentityCall =
|
|
|
7056
7133
|
/**
|
|
7057
7134
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
7058
7135
|
*
|
|
7059
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
7060
|
-
*
|
|
7136
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
7137
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
7138
|
+
* parameters to overwrite the existing configuration.
|
|
7061
7139
|
**/
|
|
7062
7140
|
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddress; suffix: Bytes; allocation: number } }
|
|
7063
7141
|
/**
|
|
7064
7142
|
* Remove `authority` from the username authorities.
|
|
7065
7143
|
**/
|
|
7066
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddress } }
|
|
7144
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: MultiAddress } }
|
|
7067
7145
|
/**
|
|
7068
7146
|
* Set the username for `who`. Must be called by a username authority.
|
|
7069
7147
|
*
|
|
7070
|
-
*
|
|
7148
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
7149
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
7150
|
+
* username.
|
|
7151
|
+
*
|
|
7152
|
+
* Users can either pre-sign their usernames or
|
|
7071
7153
|
* accept them later.
|
|
7072
7154
|
*
|
|
7073
7155
|
* Usernames must:
|
|
@@ -7077,7 +7159,12 @@ export type PalletIdentityCall =
|
|
|
7077
7159
|
**/
|
|
7078
7160
|
| {
|
|
7079
7161
|
name: 'SetUsernameFor';
|
|
7080
|
-
params: {
|
|
7162
|
+
params: {
|
|
7163
|
+
who: MultiAddress;
|
|
7164
|
+
username: Bytes;
|
|
7165
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
7166
|
+
useAllocation: boolean;
|
|
7167
|
+
};
|
|
7081
7168
|
}
|
|
7082
7169
|
/**
|
|
7083
7170
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -7095,10 +7182,21 @@ export type PalletIdentityCall =
|
|
|
7095
7182
|
**/
|
|
7096
7183
|
| { name: 'SetPrimaryUsername'; params: { username: Bytes } }
|
|
7097
7184
|
/**
|
|
7098
|
-
*
|
|
7099
|
-
*
|
|
7185
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
7186
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
7187
|
+
* [remove_username](crate::Call::remove_username).
|
|
7188
|
+
**/
|
|
7189
|
+
| { name: 'UnbindUsername'; params: { username: Bytes } }
|
|
7190
|
+
/**
|
|
7191
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
7192
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
7193
|
+
**/
|
|
7194
|
+
| { name: 'RemoveUsername'; params: { username: Bytes } }
|
|
7195
|
+
/**
|
|
7196
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
7197
|
+
* and slashes any deposit associated with it.
|
|
7100
7198
|
**/
|
|
7101
|
-
| { name: '
|
|
7199
|
+
| { name: 'KillUsername'; params: { username: Bytes } };
|
|
7102
7200
|
|
|
7103
7201
|
export type PalletIdentityCallLike =
|
|
7104
7202
|
/**
|
|
@@ -7160,7 +7258,7 @@ export type PalletIdentityCallLike =
|
|
|
7160
7258
|
* - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:
|
|
7161
7259
|
*
|
|
7162
7260
|
* ```nocompile
|
|
7163
|
-
*
|
|
7261
|
+
* Registrars::<T>::get().get(reg_index).unwrap().fee
|
|
7164
7262
|
* ```
|
|
7165
7263
|
*
|
|
7166
7264
|
* Emits `JudgementRequested` if successful.
|
|
@@ -7288,18 +7386,23 @@ export type PalletIdentityCallLike =
|
|
|
7288
7386
|
/**
|
|
7289
7387
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
7290
7388
|
*
|
|
7291
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
7292
|
-
*
|
|
7389
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
7390
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
7391
|
+
* parameters to overwrite the existing configuration.
|
|
7293
7392
|
**/
|
|
7294
7393
|
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
|
|
7295
7394
|
/**
|
|
7296
7395
|
* Remove `authority` from the username authorities.
|
|
7297
7396
|
**/
|
|
7298
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddressLike } }
|
|
7397
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
|
|
7299
7398
|
/**
|
|
7300
7399
|
* Set the username for `who`. Must be called by a username authority.
|
|
7301
7400
|
*
|
|
7302
|
-
*
|
|
7401
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
7402
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
7403
|
+
* username.
|
|
7404
|
+
*
|
|
7405
|
+
* Users can either pre-sign their usernames or
|
|
7303
7406
|
* accept them later.
|
|
7304
7407
|
*
|
|
7305
7408
|
* Usernames must:
|
|
@@ -7309,7 +7412,12 @@ export type PalletIdentityCallLike =
|
|
|
7309
7412
|
**/
|
|
7310
7413
|
| {
|
|
7311
7414
|
name: 'SetUsernameFor';
|
|
7312
|
-
params: {
|
|
7415
|
+
params: {
|
|
7416
|
+
who: MultiAddressLike;
|
|
7417
|
+
username: BytesLike;
|
|
7418
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
7419
|
+
useAllocation: boolean;
|
|
7420
|
+
};
|
|
7313
7421
|
}
|
|
7314
7422
|
/**
|
|
7315
7423
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -7327,10 +7435,21 @@ export type PalletIdentityCallLike =
|
|
|
7327
7435
|
**/
|
|
7328
7436
|
| { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
|
|
7329
7437
|
/**
|
|
7330
|
-
*
|
|
7331
|
-
*
|
|
7438
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
7439
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
7440
|
+
* [remove_username](crate::Call::remove_username).
|
|
7441
|
+
**/
|
|
7442
|
+
| { name: 'UnbindUsername'; params: { username: BytesLike } }
|
|
7443
|
+
/**
|
|
7444
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
7445
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
7332
7446
|
**/
|
|
7333
|
-
| { name: '
|
|
7447
|
+
| { name: 'RemoveUsername'; params: { username: BytesLike } }
|
|
7448
|
+
/**
|
|
7449
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
7450
|
+
* and slashes any deposit associated with it.
|
|
7451
|
+
**/
|
|
7452
|
+
| { name: 'KillUsername'; params: { username: BytesLike } };
|
|
7334
7453
|
|
|
7335
7454
|
export type PalletIdentityLegacyIdentityInfo = {
|
|
7336
7455
|
additional: Array<[Data, Data]>;
|
|
@@ -7354,11 +7473,9 @@ export type PalletIdentityJudgement =
|
|
|
7354
7473
|
| { type: 'Erroneous' };
|
|
7355
7474
|
|
|
7356
7475
|
export type SpRuntimeMultiSignature =
|
|
7357
|
-
| { type: 'Ed25519'; value:
|
|
7358
|
-
| { type: 'Sr25519'; value:
|
|
7359
|
-
| { type: 'Ecdsa'; value:
|
|
7360
|
-
|
|
7361
|
-
export type SpCoreEcdsaSignature = FixedBytes<65>;
|
|
7476
|
+
| { type: 'Ed25519'; value: FixedBytes<64> }
|
|
7477
|
+
| { type: 'Sr25519'; value: FixedBytes<64> }
|
|
7478
|
+
| { type: 'Ecdsa'; value: FixedBytes<65> };
|
|
7362
7479
|
|
|
7363
7480
|
/**
|
|
7364
7481
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -8468,7 +8585,20 @@ export type PalletGluttonCall =
|
|
|
8468
8585
|
*
|
|
8469
8586
|
* Only callable by Root or `AdminOrigin`.
|
|
8470
8587
|
**/
|
|
8471
|
-
| { name: 'SetStorage'; params: { storage: FixedU64 } }
|
|
8588
|
+
| { name: 'SetStorage'; params: { storage: FixedU64 } }
|
|
8589
|
+
/**
|
|
8590
|
+
* Increase the block size by including the specified garbage bytes.
|
|
8591
|
+
**/
|
|
8592
|
+
| { name: 'Bloat'; params: { garbage: Array<FixedBytes<1024>> } }
|
|
8593
|
+
/**
|
|
8594
|
+
* Set how much of the block length should be filled with trash data on each block.
|
|
8595
|
+
*
|
|
8596
|
+
* `1.0` means that all block should be filled. If set to `1.0`, storage proof size will
|
|
8597
|
+
* be close to zero.
|
|
8598
|
+
*
|
|
8599
|
+
* Only callable by Root or `AdminOrigin`.
|
|
8600
|
+
**/
|
|
8601
|
+
| { name: 'SetBlockLength'; params: { blockLength: FixedU64 } };
|
|
8472
8602
|
|
|
8473
8603
|
export type PalletGluttonCallLike =
|
|
8474
8604
|
/**
|
|
@@ -8495,7 +8625,20 @@ export type PalletGluttonCallLike =
|
|
|
8495
8625
|
*
|
|
8496
8626
|
* Only callable by Root or `AdminOrigin`.
|
|
8497
8627
|
**/
|
|
8498
|
-
| { name: 'SetStorage'; params: { storage: FixedU64 } }
|
|
8628
|
+
| { name: 'SetStorage'; params: { storage: FixedU64 } }
|
|
8629
|
+
/**
|
|
8630
|
+
* Increase the block size by including the specified garbage bytes.
|
|
8631
|
+
**/
|
|
8632
|
+
| { name: 'Bloat'; params: { garbage: Array<FixedBytes<1024>> } }
|
|
8633
|
+
/**
|
|
8634
|
+
* Set how much of the block length should be filled with trash data on each block.
|
|
8635
|
+
*
|
|
8636
|
+
* `1.0` means that all block should be filled. If set to `1.0`, storage proof size will
|
|
8637
|
+
* be close to zero.
|
|
8638
|
+
*
|
|
8639
|
+
* Only callable by Root or `AdminOrigin`.
|
|
8640
|
+
**/
|
|
8641
|
+
| { name: 'SetBlockLength'; params: { blockLength: FixedU64 } };
|
|
8499
8642
|
|
|
8500
8643
|
/**
|
|
8501
8644
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -9319,7 +9462,21 @@ export type PalletBountiesCall =
|
|
|
9319
9462
|
* ## Complexity
|
|
9320
9463
|
* - O(1).
|
|
9321
9464
|
**/
|
|
9322
|
-
| { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: Bytes } }
|
|
9465
|
+
| { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: Bytes } }
|
|
9466
|
+
/**
|
|
9467
|
+
* Approve bountry and propose a curator simultaneously.
|
|
9468
|
+
* This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
|
|
9469
|
+
*
|
|
9470
|
+
* May only be called from `T::SpendOrigin`.
|
|
9471
|
+
*
|
|
9472
|
+
* - `bounty_id`: Bounty ID to approve.
|
|
9473
|
+
* - `curator`: The curator account whom will manage this bounty.
|
|
9474
|
+
* - `fee`: The curator fee.
|
|
9475
|
+
*
|
|
9476
|
+
* ## Complexity
|
|
9477
|
+
* - O(1).
|
|
9478
|
+
**/
|
|
9479
|
+
| { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddress; fee: bigint } };
|
|
9323
9480
|
|
|
9324
9481
|
export type PalletBountiesCallLike =
|
|
9325
9482
|
/**
|
|
@@ -9433,8 +9590,22 @@ export type PalletBountiesCallLike =
|
|
|
9433
9590
|
* ## Complexity
|
|
9434
9591
|
* - O(1).
|
|
9435
9592
|
**/
|
|
9436
|
-
| { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: BytesLike } }
|
|
9437
|
-
|
|
9593
|
+
| { name: 'ExtendBountyExpiry'; params: { bountyId: number; remark: BytesLike } }
|
|
9594
|
+
/**
|
|
9595
|
+
* Approve bountry and propose a curator simultaneously.
|
|
9596
|
+
* This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
|
|
9597
|
+
*
|
|
9598
|
+
* May only be called from `T::SpendOrigin`.
|
|
9599
|
+
*
|
|
9600
|
+
* - `bounty_id`: Bounty ID to approve.
|
|
9601
|
+
* - `curator`: The curator account whom will manage this bounty.
|
|
9602
|
+
* - `fee`: The curator fee.
|
|
9603
|
+
*
|
|
9604
|
+
* ## Complexity
|
|
9605
|
+
* - O(1).
|
|
9606
|
+
**/
|
|
9607
|
+
| { name: 'ApproveBountyWithCurator'; params: { bountyId: number; curator: MultiAddressLike; fee: bigint } };
|
|
9608
|
+
|
|
9438
9609
|
/**
|
|
9439
9610
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
9440
9611
|
**/
|
|
@@ -9683,7 +9854,7 @@ export type PalletAssetsCall =
|
|
|
9683
9854
|
*
|
|
9684
9855
|
* Parameters:
|
|
9685
9856
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
9686
|
-
* an existing asset.
|
|
9857
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
9687
9858
|
* - `admin`: The admin of this class of assets. The admin is the initial address of each
|
|
9688
9859
|
* member of the asset class's admin team.
|
|
9689
9860
|
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
@@ -9704,7 +9875,7 @@ export type PalletAssetsCall =
|
|
|
9704
9875
|
* Unlike `create`, no funds are reserved.
|
|
9705
9876
|
*
|
|
9706
9877
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
9707
|
-
* an existing asset.
|
|
9878
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
9708
9879
|
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
|
|
9709
9880
|
* over this asset, but may later change and configure the permissions using
|
|
9710
9881
|
* `transfer_ownership` and `set_team`.
|
|
@@ -9726,8 +9897,6 @@ export type PalletAssetsCall =
|
|
|
9726
9897
|
*
|
|
9727
9898
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
9728
9899
|
* asset.
|
|
9729
|
-
*
|
|
9730
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
9731
9900
|
**/
|
|
9732
9901
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
9733
9902
|
/**
|
|
@@ -10208,7 +10377,26 @@ export type PalletAssetsCall =
|
|
|
10208
10377
|
*
|
|
10209
10378
|
* Weight: `O(1)`
|
|
10210
10379
|
**/
|
|
10211
|
-
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
10380
|
+
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
10381
|
+
/**
|
|
10382
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
10383
|
+
*
|
|
10384
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
10385
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
10386
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
10387
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
10388
|
+
* deposits, etc...
|
|
10389
|
+
*
|
|
10390
|
+
* The dispatch origin of this call must be Signed.
|
|
10391
|
+
*
|
|
10392
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
10393
|
+
* - `dest`: The recipient of the transfer.
|
|
10394
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
10395
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
10396
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
10397
|
+
* guarantee to keep the sender asset account alive (true).
|
|
10398
|
+
**/
|
|
10399
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
|
|
10212
10400
|
|
|
10213
10401
|
export type PalletAssetsCallLike =
|
|
10214
10402
|
/**
|
|
@@ -10222,7 +10410,7 @@ export type PalletAssetsCallLike =
|
|
|
10222
10410
|
*
|
|
10223
10411
|
* Parameters:
|
|
10224
10412
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
10225
|
-
* an existing asset.
|
|
10413
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
10226
10414
|
* - `admin`: The admin of this class of assets. The admin is the initial address of each
|
|
10227
10415
|
* member of the asset class's admin team.
|
|
10228
10416
|
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
@@ -10243,7 +10431,7 @@ export type PalletAssetsCallLike =
|
|
|
10243
10431
|
* Unlike `create`, no funds are reserved.
|
|
10244
10432
|
*
|
|
10245
10433
|
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
10246
|
-
* an existing asset.
|
|
10434
|
+
* an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
|
|
10247
10435
|
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
|
|
10248
10436
|
* over this asset, but may later change and configure the permissions using
|
|
10249
10437
|
* `transfer_ownership` and `set_team`.
|
|
@@ -10265,8 +10453,6 @@ export type PalletAssetsCallLike =
|
|
|
10265
10453
|
*
|
|
10266
10454
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
10267
10455
|
* asset.
|
|
10268
|
-
*
|
|
10269
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
10270
10456
|
**/
|
|
10271
10457
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
10272
10458
|
/**
|
|
@@ -10753,7 +10939,26 @@ export type PalletAssetsCallLike =
|
|
|
10753
10939
|
*
|
|
10754
10940
|
* Weight: `O(1)`
|
|
10755
10941
|
**/
|
|
10756
|
-
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
10942
|
+
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
10943
|
+
/**
|
|
10944
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
10945
|
+
*
|
|
10946
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
10947
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
10948
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
10949
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
10950
|
+
* deposits, etc...
|
|
10951
|
+
*
|
|
10952
|
+
* The dispatch origin of this call must be Signed.
|
|
10953
|
+
*
|
|
10954
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
10955
|
+
* - `dest`: The recipient of the transfer.
|
|
10956
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
10957
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
10958
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
10959
|
+
* guarantee to keep the sender asset account alive (true).
|
|
10960
|
+
**/
|
|
10961
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
|
|
10757
10962
|
|
|
10758
10963
|
/**
|
|
10759
10964
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -10766,8 +10971,8 @@ export type PalletBeefyCall =
|
|
|
10766
10971
|
* will be reported.
|
|
10767
10972
|
**/
|
|
10768
10973
|
| {
|
|
10769
|
-
name: '
|
|
10770
|
-
params: { equivocationProof:
|
|
10974
|
+
name: 'ReportDoubleVoting';
|
|
10975
|
+
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10771
10976
|
}
|
|
10772
10977
|
/**
|
|
10773
10978
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
@@ -10781,8 +10986,8 @@ export type PalletBeefyCall =
|
|
|
10781
10986
|
* reporter.
|
|
10782
10987
|
**/
|
|
10783
10988
|
| {
|
|
10784
|
-
name: '
|
|
10785
|
-
params: { equivocationProof:
|
|
10989
|
+
name: 'ReportDoubleVotingUnsigned';
|
|
10990
|
+
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10786
10991
|
}
|
|
10787
10992
|
/**
|
|
10788
10993
|
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
|
|
@@ -10790,7 +10995,53 @@ export type PalletBeefyCall =
|
|
|
10790
10995
|
*
|
|
10791
10996
|
* Note: `delay_in_blocks` has to be at least 1.
|
|
10792
10997
|
**/
|
|
10793
|
-
| { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
|
|
10998
|
+
| { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
|
|
10999
|
+
/**
|
|
11000
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
11001
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11002
|
+
* If both are valid, the offence will be reported.
|
|
11003
|
+
**/
|
|
11004
|
+
| {
|
|
11005
|
+
name: 'ReportForkVoting';
|
|
11006
|
+
params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11007
|
+
}
|
|
11008
|
+
/**
|
|
11009
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
11010
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11011
|
+
* If both are valid, the offence will be reported.
|
|
11012
|
+
*
|
|
11013
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
11014
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
11015
|
+
* if the block author is defined it will be defined as the equivocation
|
|
11016
|
+
* reporter.
|
|
11017
|
+
**/
|
|
11018
|
+
| {
|
|
11019
|
+
name: 'ReportForkVotingUnsigned';
|
|
11020
|
+
params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11021
|
+
}
|
|
11022
|
+
/**
|
|
11023
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
11024
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11025
|
+
* If both are valid, the offence will be reported.
|
|
11026
|
+
**/
|
|
11027
|
+
| {
|
|
11028
|
+
name: 'ReportFutureBlockVoting';
|
|
11029
|
+
params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11030
|
+
}
|
|
11031
|
+
/**
|
|
11032
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
11033
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11034
|
+
* If both are valid, the offence will be reported.
|
|
11035
|
+
*
|
|
11036
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
11037
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
11038
|
+
* if the block author is defined it will be defined as the equivocation
|
|
11039
|
+
* reporter.
|
|
11040
|
+
**/
|
|
11041
|
+
| {
|
|
11042
|
+
name: 'ReportFutureBlockVotingUnsigned';
|
|
11043
|
+
params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11044
|
+
};
|
|
10794
11045
|
|
|
10795
11046
|
export type PalletBeefyCallLike =
|
|
10796
11047
|
/**
|
|
@@ -10800,8 +11051,8 @@ export type PalletBeefyCallLike =
|
|
|
10800
11051
|
* will be reported.
|
|
10801
11052
|
**/
|
|
10802
11053
|
| {
|
|
10803
|
-
name: '
|
|
10804
|
-
params: { equivocationProof:
|
|
11054
|
+
name: 'ReportDoubleVoting';
|
|
11055
|
+
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10805
11056
|
}
|
|
10806
11057
|
/**
|
|
10807
11058
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
@@ -10815,8 +11066,8 @@ export type PalletBeefyCallLike =
|
|
|
10815
11066
|
* reporter.
|
|
10816
11067
|
**/
|
|
10817
11068
|
| {
|
|
10818
|
-
name: '
|
|
10819
|
-
params: { equivocationProof:
|
|
11069
|
+
name: 'ReportDoubleVotingUnsigned';
|
|
11070
|
+
params: { equivocationProof: SpConsensusBeefyDoubleVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
10820
11071
|
}
|
|
10821
11072
|
/**
|
|
10822
11073
|
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
|
|
@@ -10824,14 +11075,60 @@ export type PalletBeefyCallLike =
|
|
|
10824
11075
|
*
|
|
10825
11076
|
* Note: `delay_in_blocks` has to be at least 1.
|
|
10826
11077
|
**/
|
|
10827
|
-
| { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
|
|
11078
|
+
| { name: 'SetNewGenesis'; params: { delayInBlocks: number } }
|
|
11079
|
+
/**
|
|
11080
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
11081
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11082
|
+
* If both are valid, the offence will be reported.
|
|
11083
|
+
**/
|
|
11084
|
+
| {
|
|
11085
|
+
name: 'ReportForkVoting';
|
|
11086
|
+
params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11087
|
+
}
|
|
11088
|
+
/**
|
|
11089
|
+
* Report fork voting equivocation. This method will verify the equivocation proof
|
|
11090
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11091
|
+
* If both are valid, the offence will be reported.
|
|
11092
|
+
*
|
|
11093
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
11094
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
11095
|
+
* if the block author is defined it will be defined as the equivocation
|
|
11096
|
+
* reporter.
|
|
11097
|
+
**/
|
|
11098
|
+
| {
|
|
11099
|
+
name: 'ReportForkVotingUnsigned';
|
|
11100
|
+
params: { equivocationProof: SpConsensusBeefyForkVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11101
|
+
}
|
|
11102
|
+
/**
|
|
11103
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
11104
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11105
|
+
* If both are valid, the offence will be reported.
|
|
11106
|
+
**/
|
|
11107
|
+
| {
|
|
11108
|
+
name: 'ReportFutureBlockVoting';
|
|
11109
|
+
params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11110
|
+
}
|
|
11111
|
+
/**
|
|
11112
|
+
* Report future block voting equivocation. This method will verify the equivocation proof
|
|
11113
|
+
* and validate the given key ownership proof against the extracted offender.
|
|
11114
|
+
* If both are valid, the offence will be reported.
|
|
11115
|
+
*
|
|
11116
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
11117
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
11118
|
+
* if the block author is defined it will be defined as the equivocation
|
|
11119
|
+
* reporter.
|
|
11120
|
+
**/
|
|
11121
|
+
| {
|
|
11122
|
+
name: 'ReportFutureBlockVotingUnsigned';
|
|
11123
|
+
params: { equivocationProof: SpConsensusBeefyFutureBlockVotingProof; keyOwnerProof: SpSessionMembershipProof };
|
|
11124
|
+
};
|
|
10828
11125
|
|
|
10829
|
-
export type
|
|
11126
|
+
export type SpConsensusBeefyDoubleVotingProof = {
|
|
10830
11127
|
first: SpConsensusBeefyVoteMessage;
|
|
10831
11128
|
second: SpConsensusBeefyVoteMessage;
|
|
10832
11129
|
};
|
|
10833
11130
|
|
|
10834
|
-
export type SpConsensusBeefyEcdsaCryptoSignature =
|
|
11131
|
+
export type SpConsensusBeefyEcdsaCryptoSignature = FixedBytes<65>;
|
|
10835
11132
|
|
|
10836
11133
|
export type SpConsensusBeefyVoteMessage = {
|
|
10837
11134
|
commitment: SpConsensusBeefyCommitment;
|
|
@@ -10847,6 +11144,21 @@ export type SpConsensusBeefyCommitment = {
|
|
|
10847
11144
|
|
|
10848
11145
|
export type SpConsensusBeefyPayload = Array<[FixedBytes<2>, Bytes]>;
|
|
10849
11146
|
|
|
11147
|
+
export type SpConsensusBeefyForkVotingProof = {
|
|
11148
|
+
vote: SpConsensusBeefyVoteMessage;
|
|
11149
|
+
ancestryProof: SpMmrPrimitivesAncestryProof;
|
|
11150
|
+
header: Header;
|
|
11151
|
+
};
|
|
11152
|
+
|
|
11153
|
+
export type SpMmrPrimitivesAncestryProof = {
|
|
11154
|
+
prevPeaks: Array<H256>;
|
|
11155
|
+
prevLeafCount: bigint;
|
|
11156
|
+
leafCount: bigint;
|
|
11157
|
+
items: Array<[bigint, H256]>;
|
|
11158
|
+
};
|
|
11159
|
+
|
|
11160
|
+
export type SpConsensusBeefyFutureBlockVotingProof = { vote: SpConsensusBeefyVoteMessage };
|
|
11161
|
+
|
|
10850
11162
|
/**
|
|
10851
11163
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
10852
11164
|
**/
|
|
@@ -13730,6 +14042,14 @@ export type PalletCoreFellowshipCall =
|
|
|
13730
14042
|
* - `to_rank`: One more than the current rank of `who`.
|
|
13731
14043
|
**/
|
|
13732
14044
|
| { name: 'Promote'; params: { who: AccountId32; toRank: number } }
|
|
14045
|
+
/**
|
|
14046
|
+
* Fast promotions can skip ranks and ignore the `min_promotion_period`.
|
|
14047
|
+
*
|
|
14048
|
+
* This is useful for out-of-band promotions, hence it has its own `FastPromoteOrigin` to
|
|
14049
|
+
* be (possibly) more restrictive than `PromoteOrigin`. Note that the member must already
|
|
14050
|
+
* be inducted.
|
|
14051
|
+
**/
|
|
14052
|
+
| { name: 'PromoteFast'; params: { who: AccountId32; toRank: number } }
|
|
13733
14053
|
/**
|
|
13734
14054
|
* Stop tracking a prior member who is now not a ranked member of the collective.
|
|
13735
14055
|
*
|
|
@@ -13760,7 +14080,17 @@ export type PalletCoreFellowshipCall =
|
|
|
13760
14080
|
*
|
|
13761
14081
|
* - `origin`: A signed origin of a ranked, but not tracked, account.
|
|
13762
14082
|
**/
|
|
13763
|
-
| { name: 'Import' }
|
|
14083
|
+
| { name: 'Import' }
|
|
14084
|
+
/**
|
|
14085
|
+
* Set the parameters partially.
|
|
14086
|
+
*
|
|
14087
|
+
* - `origin`: An origin complying with `ParamsOrigin` or root.
|
|
14088
|
+
* - `partial_params`: The new parameters for the pallet.
|
|
14089
|
+
*
|
|
14090
|
+
* This update config with multiple arguments without duplicating
|
|
14091
|
+
* the fields that does not need to update (set to None).
|
|
14092
|
+
**/
|
|
14093
|
+
| { name: 'SetPartialParams'; params: { partialParams: PalletCoreFellowshipParamsTypeOption } };
|
|
13764
14094
|
|
|
13765
14095
|
export type PalletCoreFellowshipCallLike =
|
|
13766
14096
|
/**
|
|
@@ -13815,6 +14145,14 @@ export type PalletCoreFellowshipCallLike =
|
|
|
13815
14145
|
* - `to_rank`: One more than the current rank of `who`.
|
|
13816
14146
|
**/
|
|
13817
14147
|
| { name: 'Promote'; params: { who: AccountId32Like; toRank: number } }
|
|
14148
|
+
/**
|
|
14149
|
+
* Fast promotions can skip ranks and ignore the `min_promotion_period`.
|
|
14150
|
+
*
|
|
14151
|
+
* This is useful for out-of-band promotions, hence it has its own `FastPromoteOrigin` to
|
|
14152
|
+
* be (possibly) more restrictive than `PromoteOrigin`. Note that the member must already
|
|
14153
|
+
* be inducted.
|
|
14154
|
+
**/
|
|
14155
|
+
| { name: 'PromoteFast'; params: { who: AccountId32Like; toRank: number } }
|
|
13818
14156
|
/**
|
|
13819
14157
|
* Stop tracking a prior member who is now not a ranked member of the collective.
|
|
13820
14158
|
*
|
|
@@ -13845,7 +14183,25 @@ export type PalletCoreFellowshipCallLike =
|
|
|
13845
14183
|
*
|
|
13846
14184
|
* - `origin`: A signed origin of a ranked, but not tracked, account.
|
|
13847
14185
|
**/
|
|
13848
|
-
| { name: 'Import' }
|
|
14186
|
+
| { name: 'Import' }
|
|
14187
|
+
/**
|
|
14188
|
+
* Set the parameters partially.
|
|
14189
|
+
*
|
|
14190
|
+
* - `origin`: An origin complying with `ParamsOrigin` or root.
|
|
14191
|
+
* - `partial_params`: The new parameters for the pallet.
|
|
14192
|
+
*
|
|
14193
|
+
* This update config with multiple arguments without duplicating
|
|
14194
|
+
* the fields that does not need to update (set to None).
|
|
14195
|
+
**/
|
|
14196
|
+
| { name: 'SetPartialParams'; params: { partialParams: PalletCoreFellowshipParamsTypeOption } };
|
|
14197
|
+
|
|
14198
|
+
export type PalletCoreFellowshipParamsTypeOption = {
|
|
14199
|
+
activeSalary: Array<bigint | undefined>;
|
|
14200
|
+
passiveSalary: Array<bigint | undefined>;
|
|
14201
|
+
demotionPeriod: Array<number | undefined>;
|
|
14202
|
+
minPromotionPeriod: Array<number | undefined>;
|
|
14203
|
+
offboardTimeout?: number | undefined;
|
|
14204
|
+
};
|
|
13849
14205
|
|
|
13850
14206
|
/**
|
|
13851
14207
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -15210,8 +15566,13 @@ export type PalletAllianceUnscrupulousItem =
|
|
|
15210
15566
|
**/
|
|
15211
15567
|
export type PalletNominationPoolsCall =
|
|
15212
15568
|
/**
|
|
15213
|
-
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
15214
|
-
*
|
|
15569
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
|
15570
|
+
* account and immediately increases the pools bond.
|
|
15571
|
+
*
|
|
15572
|
+
* The method of transferring the amount to the pool account is determined by
|
|
15573
|
+
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
15574
|
+
* [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
|
|
15575
|
+
* the `origin`, while the pool gains the right to use these funds for staking.
|
|
15215
15576
|
*
|
|
15216
15577
|
* # Note
|
|
15217
15578
|
*
|
|
@@ -15240,7 +15601,7 @@ export type PalletNominationPoolsCall =
|
|
|
15240
15601
|
* The member will earn rewards pro rata based on the members stake vs the sum of the
|
|
15241
15602
|
* members in the pools stake. Rewards do not "expire".
|
|
15242
15603
|
*
|
|
15243
|
-
* See `claim_payout_other` to
|
|
15604
|
+
* See `claim_payout_other` to claim rewards on behalf of some `other` pool member.
|
|
15244
15605
|
**/
|
|
15245
15606
|
| { name: 'ClaimPayout' }
|
|
15246
15607
|
/**
|
|
@@ -15305,7 +15666,10 @@ export type PalletNominationPoolsCall =
|
|
|
15305
15666
|
*
|
|
15306
15667
|
* # Note
|
|
15307
15668
|
*
|
|
15308
|
-
* If the target is the depositor, the pool will be destroyed.
|
|
15669
|
+
* - If the target is the depositor, the pool will be destroyed.
|
|
15670
|
+
* - If the pool has any pending slash, we also try to slash the member before letting them
|
|
15671
|
+
* withdraw. This calculation adds some weight overhead and is only defensive. In reality,
|
|
15672
|
+
* pool slashes must have been already applied via permissionless [`Call::apply_slash`].
|
|
15309
15673
|
**/
|
|
15310
15674
|
| { name: 'WithdrawUnbonded'; params: { memberAccount: MultiAddress; numSlashingSpans: number } }
|
|
15311
15675
|
/**
|
|
@@ -15377,7 +15741,7 @@ export type PalletNominationPoolsCall =
|
|
|
15377
15741
|
| { name: 'SetMetadata'; params: { poolId: number; metadata: Bytes } }
|
|
15378
15742
|
/**
|
|
15379
15743
|
* Update configurations for the nomination pools. The origin for this call must be
|
|
15380
|
-
*
|
|
15744
|
+
* [`Config::AdminOrigin`].
|
|
15381
15745
|
*
|
|
15382
15746
|
* # Arguments
|
|
15383
15747
|
*
|
|
@@ -15445,29 +15809,24 @@ export type PalletNominationPoolsCall =
|
|
|
15445
15809
|
*
|
|
15446
15810
|
* In the case of `origin != other`, `origin` can only bond extra pending rewards of
|
|
15447
15811
|
* `other` members assuming set_claim_permission for the given member is
|
|
15448
|
-
* `
|
|
15812
|
+
* `PermissionlessCompound` or `PermissionlessAll`.
|
|
15449
15813
|
**/
|
|
15450
15814
|
| { name: 'BondExtraOther'; params: { member: MultiAddress; extra: PalletNominationPoolsBondExtra } }
|
|
15451
15815
|
/**
|
|
15452
15816
|
* Allows a pool member to set a claim permission to allow or disallow permissionless
|
|
15453
15817
|
* bonding and withdrawing.
|
|
15454
15818
|
*
|
|
15455
|
-
* By default, this is `Permissioned`, which implies only the pool member themselves can
|
|
15456
|
-
* claim their pending rewards. If a pool member wishes so, they can set this to
|
|
15457
|
-
* `PermissionlessAll` to allow any account to claim their rewards and bond extra to the
|
|
15458
|
-
* pool.
|
|
15459
|
-
*
|
|
15460
15819
|
* # Arguments
|
|
15461
15820
|
*
|
|
15462
15821
|
* * `origin` - Member of a pool.
|
|
15463
|
-
* * `
|
|
15822
|
+
* * `permission` - The permission to be applied.
|
|
15464
15823
|
**/
|
|
15465
15824
|
| { name: 'SetClaimPermission'; params: { permission: PalletNominationPoolsClaimPermission } }
|
|
15466
15825
|
/**
|
|
15467
15826
|
* `origin` can claim payouts on some pool member `other`'s behalf.
|
|
15468
15827
|
*
|
|
15469
|
-
* Pool member `other` must have a `
|
|
15470
|
-
* for this call to be successful.
|
|
15828
|
+
* Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
|
|
15829
|
+
* permission for this call to be successful.
|
|
15471
15830
|
**/
|
|
15472
15831
|
| { name: 'ClaimPayoutOther'; params: { other: AccountId32 } }
|
|
15473
15832
|
/**
|
|
@@ -15518,17 +15877,56 @@ export type PalletNominationPoolsCall =
|
|
|
15518
15877
|
* Set or remove a pool's commission claim permission.
|
|
15519
15878
|
*
|
|
15520
15879
|
* Determines who can claim the pool's pending commission. Only the `Root` role of the pool
|
|
15521
|
-
* is able to
|
|
15880
|
+
* is able to configure commission claim permissions.
|
|
15522
15881
|
**/
|
|
15523
15882
|
| {
|
|
15524
15883
|
name: 'SetCommissionClaimPermission';
|
|
15525
15884
|
params: { poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined };
|
|
15526
|
-
}
|
|
15885
|
+
}
|
|
15886
|
+
/**
|
|
15887
|
+
* Apply a pending slash on a member.
|
|
15888
|
+
*
|
|
15889
|
+
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
15890
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
15891
|
+
*
|
|
15892
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
|
15893
|
+
* slash to be applied, caller may be rewarded with the part of the slash.
|
|
15894
|
+
**/
|
|
15895
|
+
| { name: 'ApplySlash'; params: { memberAccount: MultiAddress } }
|
|
15896
|
+
/**
|
|
15897
|
+
* Migrates delegated funds from the pool account to the `member_account`.
|
|
15898
|
+
*
|
|
15899
|
+
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
15900
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
15901
|
+
*
|
|
15902
|
+
* This is a permission-less call and refunds any fee if claim is successful.
|
|
15903
|
+
*
|
|
15904
|
+
* If the pool has migrated to delegation based staking, the staked tokens of pool members
|
|
15905
|
+
* can be moved and held in their own account. See [`adapter::DelegateStake`]
|
|
15906
|
+
**/
|
|
15907
|
+
| { name: 'MigrateDelegation'; params: { memberAccount: MultiAddress } }
|
|
15908
|
+
/**
|
|
15909
|
+
* Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
|
|
15910
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
15911
|
+
*
|
|
15912
|
+
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
15913
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
15914
|
+
*
|
|
15915
|
+
* This call can be dispatched permissionlessly, and refunds any fee if successful.
|
|
15916
|
+
*
|
|
15917
|
+
* If the pool has already migrated to delegation based staking, this call will fail.
|
|
15918
|
+
**/
|
|
15919
|
+
| { name: 'MigratePoolToDelegateStake'; params: { poolId: number } };
|
|
15527
15920
|
|
|
15528
15921
|
export type PalletNominationPoolsCallLike =
|
|
15529
15922
|
/**
|
|
15530
|
-
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
|
15531
|
-
*
|
|
15923
|
+
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
|
15924
|
+
* account and immediately increases the pools bond.
|
|
15925
|
+
*
|
|
15926
|
+
* The method of transferring the amount to the pool account is determined by
|
|
15927
|
+
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
|
15928
|
+
* [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
|
|
15929
|
+
* the `origin`, while the pool gains the right to use these funds for staking.
|
|
15532
15930
|
*
|
|
15533
15931
|
* # Note
|
|
15534
15932
|
*
|
|
@@ -15557,7 +15955,7 @@ export type PalletNominationPoolsCallLike =
|
|
|
15557
15955
|
* The member will earn rewards pro rata based on the members stake vs the sum of the
|
|
15558
15956
|
* members in the pools stake. Rewards do not "expire".
|
|
15559
15957
|
*
|
|
15560
|
-
* See `claim_payout_other` to
|
|
15958
|
+
* See `claim_payout_other` to claim rewards on behalf of some `other` pool member.
|
|
15561
15959
|
**/
|
|
15562
15960
|
| { name: 'ClaimPayout' }
|
|
15563
15961
|
/**
|
|
@@ -15622,7 +16020,10 @@ export type PalletNominationPoolsCallLike =
|
|
|
15622
16020
|
*
|
|
15623
16021
|
* # Note
|
|
15624
16022
|
*
|
|
15625
|
-
* If the target is the depositor, the pool will be destroyed.
|
|
16023
|
+
* - If the target is the depositor, the pool will be destroyed.
|
|
16024
|
+
* - If the pool has any pending slash, we also try to slash the member before letting them
|
|
16025
|
+
* withdraw. This calculation adds some weight overhead and is only defensive. In reality,
|
|
16026
|
+
* pool slashes must have been already applied via permissionless [`Call::apply_slash`].
|
|
15626
16027
|
**/
|
|
15627
16028
|
| { name: 'WithdrawUnbonded'; params: { memberAccount: MultiAddressLike; numSlashingSpans: number } }
|
|
15628
16029
|
/**
|
|
@@ -15703,7 +16104,7 @@ export type PalletNominationPoolsCallLike =
|
|
|
15703
16104
|
| { name: 'SetMetadata'; params: { poolId: number; metadata: BytesLike } }
|
|
15704
16105
|
/**
|
|
15705
16106
|
* Update configurations for the nomination pools. The origin for this call must be
|
|
15706
|
-
*
|
|
16107
|
+
* [`Config::AdminOrigin`].
|
|
15707
16108
|
*
|
|
15708
16109
|
* # Arguments
|
|
15709
16110
|
*
|
|
@@ -15771,29 +16172,24 @@ export type PalletNominationPoolsCallLike =
|
|
|
15771
16172
|
*
|
|
15772
16173
|
* In the case of `origin != other`, `origin` can only bond extra pending rewards of
|
|
15773
16174
|
* `other` members assuming set_claim_permission for the given member is
|
|
15774
|
-
* `
|
|
16175
|
+
* `PermissionlessCompound` or `PermissionlessAll`.
|
|
15775
16176
|
**/
|
|
15776
16177
|
| { name: 'BondExtraOther'; params: { member: MultiAddressLike; extra: PalletNominationPoolsBondExtra } }
|
|
15777
16178
|
/**
|
|
15778
16179
|
* Allows a pool member to set a claim permission to allow or disallow permissionless
|
|
15779
16180
|
* bonding and withdrawing.
|
|
15780
16181
|
*
|
|
15781
|
-
* By default, this is `Permissioned`, which implies only the pool member themselves can
|
|
15782
|
-
* claim their pending rewards. If a pool member wishes so, they can set this to
|
|
15783
|
-
* `PermissionlessAll` to allow any account to claim their rewards and bond extra to the
|
|
15784
|
-
* pool.
|
|
15785
|
-
*
|
|
15786
16182
|
* # Arguments
|
|
15787
16183
|
*
|
|
15788
16184
|
* * `origin` - Member of a pool.
|
|
15789
|
-
* * `
|
|
16185
|
+
* * `permission` - The permission to be applied.
|
|
15790
16186
|
**/
|
|
15791
16187
|
| { name: 'SetClaimPermission'; params: { permission: PalletNominationPoolsClaimPermission } }
|
|
15792
16188
|
/**
|
|
15793
16189
|
* `origin` can claim payouts on some pool member `other`'s behalf.
|
|
15794
16190
|
*
|
|
15795
|
-
* Pool member `other` must have a `
|
|
15796
|
-
* for this call to be successful.
|
|
16191
|
+
* Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
|
|
16192
|
+
* permission for this call to be successful.
|
|
15797
16193
|
**/
|
|
15798
16194
|
| { name: 'ClaimPayoutOther'; params: { other: AccountId32Like } }
|
|
15799
16195
|
/**
|
|
@@ -15844,12 +16240,46 @@ export type PalletNominationPoolsCallLike =
|
|
|
15844
16240
|
* Set or remove a pool's commission claim permission.
|
|
15845
16241
|
*
|
|
15846
16242
|
* Determines who can claim the pool's pending commission. Only the `Root` role of the pool
|
|
15847
|
-
* is able to
|
|
16243
|
+
* is able to configure commission claim permissions.
|
|
15848
16244
|
**/
|
|
15849
16245
|
| {
|
|
15850
16246
|
name: 'SetCommissionClaimPermission';
|
|
15851
16247
|
params: { poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined };
|
|
15852
|
-
}
|
|
16248
|
+
}
|
|
16249
|
+
/**
|
|
16250
|
+
* Apply a pending slash on a member.
|
|
16251
|
+
*
|
|
16252
|
+
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
16253
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
16254
|
+
*
|
|
16255
|
+
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
|
16256
|
+
* slash to be applied, caller may be rewarded with the part of the slash.
|
|
16257
|
+
**/
|
|
16258
|
+
| { name: 'ApplySlash'; params: { memberAccount: MultiAddressLike } }
|
|
16259
|
+
/**
|
|
16260
|
+
* Migrates delegated funds from the pool account to the `member_account`.
|
|
16261
|
+
*
|
|
16262
|
+
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
16263
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
16264
|
+
*
|
|
16265
|
+
* This is a permission-less call and refunds any fee if claim is successful.
|
|
16266
|
+
*
|
|
16267
|
+
* If the pool has migrated to delegation based staking, the staked tokens of pool members
|
|
16268
|
+
* can be moved and held in their own account. See [`adapter::DelegateStake`]
|
|
16269
|
+
**/
|
|
16270
|
+
| { name: 'MigrateDelegation'; params: { memberAccount: MultiAddressLike } }
|
|
16271
|
+
/**
|
|
16272
|
+
* Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
|
|
16273
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
16274
|
+
*
|
|
16275
|
+
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
|
16276
|
+
* [`adapter::StakeStrategyType::Delegate`].
|
|
16277
|
+
*
|
|
16278
|
+
* This call can be dispatched permissionlessly, and refunds any fee if successful.
|
|
16279
|
+
*
|
|
16280
|
+
* If the pool has already migrated to delegation based staking, this call will fail.
|
|
16281
|
+
**/
|
|
16282
|
+
| { name: 'MigratePoolToDelegateStake'; params: { poolId: number } };
|
|
15853
16283
|
|
|
15854
16284
|
export type PalletNominationPoolsBondExtra = { type: 'FreeBalance'; value: bigint } | { type: 'Rewards' };
|
|
15855
16285
|
|
|
@@ -16065,7 +16495,7 @@ export type PalletAssetConversionCall =
|
|
|
16065
16495
|
* calls to render the liquidity withdrawable and rectify the exchange rate.
|
|
16066
16496
|
*
|
|
16067
16497
|
* Once liquidity is added, someone may successfully call
|
|
16068
|
-
* [`Pallet::swap_exact_tokens_for_tokens`]
|
|
16498
|
+
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
16069
16499
|
**/
|
|
16070
16500
|
| {
|
|
16071
16501
|
name: 'AddLiquidity';
|
|
@@ -16130,6 +16560,26 @@ export type PalletAssetConversionCall =
|
|
|
16130
16560
|
sendTo: AccountId32;
|
|
16131
16561
|
keepAlive: boolean;
|
|
16132
16562
|
};
|
|
16563
|
+
}
|
|
16564
|
+
/**
|
|
16565
|
+
* Touch an existing pool to fulfill prerequisites before providing liquidity, such as
|
|
16566
|
+
* ensuring that the pool's accounts are in place. It is typically useful when a pool
|
|
16567
|
+
* creator removes the pool's accounts and does not provide a liquidity. This action may
|
|
16568
|
+
* involve holding assets from the caller as a deposit for creating the pool's accounts.
|
|
16569
|
+
*
|
|
16570
|
+
* The origin must be Signed.
|
|
16571
|
+
*
|
|
16572
|
+
* - `asset1`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
16573
|
+
* - `asset2`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
16574
|
+
*
|
|
16575
|
+
* Emits `Touched` event when successful.
|
|
16576
|
+
**/
|
|
16577
|
+
| {
|
|
16578
|
+
name: 'Touch';
|
|
16579
|
+
params: {
|
|
16580
|
+
asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
16581
|
+
asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
16582
|
+
};
|
|
16133
16583
|
};
|
|
16134
16584
|
|
|
16135
16585
|
export type PalletAssetConversionCallLike =
|
|
@@ -16160,7 +16610,7 @@ export type PalletAssetConversionCallLike =
|
|
|
16160
16610
|
* calls to render the liquidity withdrawable and rectify the exchange rate.
|
|
16161
16611
|
*
|
|
16162
16612
|
* Once liquidity is added, someone may successfully call
|
|
16163
|
-
* [`Pallet::swap_exact_tokens_for_tokens`]
|
|
16613
|
+
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
16164
16614
|
**/
|
|
16165
16615
|
| {
|
|
16166
16616
|
name: 'AddLiquidity';
|
|
@@ -16225,10 +16675,28 @@ export type PalletAssetConversionCallLike =
|
|
|
16225
16675
|
sendTo: AccountId32Like;
|
|
16226
16676
|
keepAlive: boolean;
|
|
16227
16677
|
};
|
|
16678
|
+
}
|
|
16679
|
+
/**
|
|
16680
|
+
* Touch an existing pool to fulfill prerequisites before providing liquidity, such as
|
|
16681
|
+
* ensuring that the pool's accounts are in place. It is typically useful when a pool
|
|
16682
|
+
* creator removes the pool's accounts and does not provide a liquidity. This action may
|
|
16683
|
+
* involve holding assets from the caller as a deposit for creating the pool's accounts.
|
|
16684
|
+
*
|
|
16685
|
+
* The origin must be Signed.
|
|
16686
|
+
*
|
|
16687
|
+
* - `asset1`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
16688
|
+
* - `asset2`: The asset ID of an existing pool with a pair (asset1, asset2).
|
|
16689
|
+
*
|
|
16690
|
+
* Emits `Touched` event when successful.
|
|
16691
|
+
**/
|
|
16692
|
+
| {
|
|
16693
|
+
name: 'Touch';
|
|
16694
|
+
params: {
|
|
16695
|
+
asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
16696
|
+
asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
16697
|
+
};
|
|
16228
16698
|
};
|
|
16229
16699
|
|
|
16230
|
-
export type FrameSupportTokensFungibleUnionOfNativeOrWithId = { type: 'Native' } | { type: 'WithId'; value: number };
|
|
16231
|
-
|
|
16232
16700
|
/**
|
|
16233
16701
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
16234
16702
|
**/
|
|
@@ -16789,10 +17257,14 @@ export type PalletBrokerCall =
|
|
|
16789
17257
|
* Begin the Bulk Coretime sales rotation.
|
|
16790
17258
|
*
|
|
16791
17259
|
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
16792
|
-
* - `
|
|
16793
|
-
* - `
|
|
17260
|
+
* - `end_price`: The price after the leadin period of Bulk Coretime in the first sale.
|
|
17261
|
+
* - `extra_cores`: Number of extra cores that should be requested on top of the cores
|
|
17262
|
+
* required for `Reservations` and `Leases`.
|
|
17263
|
+
*
|
|
17264
|
+
* This will call [`Self::request_core_count`] internally to set the correct core count on
|
|
17265
|
+
* the relay chain.
|
|
16794
17266
|
**/
|
|
16795
|
-
| { name: 'StartSales'; params: {
|
|
17267
|
+
| { name: 'StartSales'; params: { endPrice: bigint; extraCores: number } }
|
|
16796
17268
|
/**
|
|
16797
17269
|
* Purchase Bulk Coretime in the ongoing Sale.
|
|
16798
17270
|
*
|
|
@@ -16860,13 +17332,12 @@ export type PalletBrokerCall =
|
|
|
16860
17332
|
/**
|
|
16861
17333
|
* Claim the revenue owed from inclusion in the Instantaneous Coretime Pool.
|
|
16862
17334
|
*
|
|
16863
|
-
* - `origin`: Must be a Signed origin
|
|
17335
|
+
* - `origin`: Must be a Signed origin.
|
|
16864
17336
|
* - `region_id`: The Region which was assigned to the Pool.
|
|
16865
|
-
* - `max_timeslices`: The maximum number of timeslices which should be processed. This
|
|
16866
|
-
*
|
|
16867
|
-
* the Region `region_id`. If
|
|
16868
|
-
* required with the `region_id`
|
|
16869
|
-
* collected.
|
|
17337
|
+
* - `max_timeslices`: The maximum number of timeslices which should be processed. This
|
|
17338
|
+
* must be greater than 0. This may affect the weight of the call but should be ideally
|
|
17339
|
+
* made equivalent to the length of the Region `region_id`. If less, further dispatches
|
|
17340
|
+
* will be required with the same `region_id` to claim revenue for the remainder.
|
|
16870
17341
|
**/
|
|
16871
17342
|
| { name: 'ClaimRevenue'; params: { regionId: PalletBrokerRegionId; maxTimeslices: number } }
|
|
16872
17343
|
/**
|
|
@@ -16914,7 +17385,33 @@ export type PalletBrokerCall =
|
|
|
16914
17385
|
* - `core_count`: The desired number of cores to be made available.
|
|
16915
17386
|
**/
|
|
16916
17387
|
| { name: 'RequestCoreCount'; params: { coreCount: number } }
|
|
16917
|
-
| { name: 'NotifyCoreCount'; params: { coreCount: number } }
|
|
17388
|
+
| { name: 'NotifyCoreCount'; params: { coreCount: number } }
|
|
17389
|
+
| { name: 'NotifyRevenue'; params: { revenue: PalletBrokerOnDemandRevenueRecord } }
|
|
17390
|
+
/**
|
|
17391
|
+
* Extrinsic for enabling auto renewal.
|
|
17392
|
+
*
|
|
17393
|
+
* Callable by the sovereign account of the task on the specified core. This account
|
|
17394
|
+
* will be charged at the start of every bulk period for renewing core time.
|
|
17395
|
+
*
|
|
17396
|
+
* - `origin`: Must be the sovereign account of the task
|
|
17397
|
+
* - `core`: The core to which the task to be renewed is currently assigned.
|
|
17398
|
+
* - `task`: The task for which we want to enable auto renewal.
|
|
17399
|
+
* - `workload_end_hint`: should be used when enabling auto-renewal for a core that is not
|
|
17400
|
+
* expiring in the upcoming bulk period (e.g., due to holding a lease) since it would be
|
|
17401
|
+
* inefficient to look up when the core expires to schedule the next renewal.
|
|
17402
|
+
**/
|
|
17403
|
+
| { name: 'EnableAutoRenew'; params: { core: number; task: number; workloadEndHint?: number | undefined } }
|
|
17404
|
+
/**
|
|
17405
|
+
* Extrinsic for disabling auto renewal.
|
|
17406
|
+
*
|
|
17407
|
+
* Callable by the sovereign account of the task on the specified core.
|
|
17408
|
+
*
|
|
17409
|
+
* - `origin`: Must be the sovereign account of the task.
|
|
17410
|
+
* - `core`: The core for which we want to disable auto renewal.
|
|
17411
|
+
* - `task`: The task for which we want to disable auto renewal.
|
|
17412
|
+
**/
|
|
17413
|
+
| { name: 'DisableAutoRenew'; params: { core: number; task: number } }
|
|
17414
|
+
| { name: 'SwapLeases'; params: { id: number; other: number } };
|
|
16918
17415
|
|
|
16919
17416
|
export type PalletBrokerCallLike =
|
|
16920
17417
|
/**
|
|
@@ -16957,10 +17454,14 @@ export type PalletBrokerCallLike =
|
|
|
16957
17454
|
* Begin the Bulk Coretime sales rotation.
|
|
16958
17455
|
*
|
|
16959
17456
|
* - `origin`: Must be Root or pass `AdminOrigin`.
|
|
16960
|
-
* - `
|
|
16961
|
-
* - `
|
|
17457
|
+
* - `end_price`: The price after the leadin period of Bulk Coretime in the first sale.
|
|
17458
|
+
* - `extra_cores`: Number of extra cores that should be requested on top of the cores
|
|
17459
|
+
* required for `Reservations` and `Leases`.
|
|
17460
|
+
*
|
|
17461
|
+
* This will call [`Self::request_core_count`] internally to set the correct core count on
|
|
17462
|
+
* the relay chain.
|
|
16962
17463
|
**/
|
|
16963
|
-
| { name: 'StartSales'; params: {
|
|
17464
|
+
| { name: 'StartSales'; params: { endPrice: bigint; extraCores: number } }
|
|
16964
17465
|
/**
|
|
16965
17466
|
* Purchase Bulk Coretime in the ongoing Sale.
|
|
16966
17467
|
*
|
|
@@ -17028,13 +17529,12 @@ export type PalletBrokerCallLike =
|
|
|
17028
17529
|
/**
|
|
17029
17530
|
* Claim the revenue owed from inclusion in the Instantaneous Coretime Pool.
|
|
17030
17531
|
*
|
|
17031
|
-
* - `origin`: Must be a Signed origin
|
|
17532
|
+
* - `origin`: Must be a Signed origin.
|
|
17032
17533
|
* - `region_id`: The Region which was assigned to the Pool.
|
|
17033
|
-
* - `max_timeslices`: The maximum number of timeslices which should be processed. This
|
|
17034
|
-
*
|
|
17035
|
-
* the Region `region_id`. If
|
|
17036
|
-
* required with the `region_id`
|
|
17037
|
-
* collected.
|
|
17534
|
+
* - `max_timeslices`: The maximum number of timeslices which should be processed. This
|
|
17535
|
+
* must be greater than 0. This may affect the weight of the call but should be ideally
|
|
17536
|
+
* made equivalent to the length of the Region `region_id`. If less, further dispatches
|
|
17537
|
+
* will be required with the same `region_id` to claim revenue for the remainder.
|
|
17038
17538
|
**/
|
|
17039
17539
|
| { name: 'ClaimRevenue'; params: { regionId: PalletBrokerRegionId; maxTimeslices: number } }
|
|
17040
17540
|
/**
|
|
@@ -17082,7 +17582,33 @@ export type PalletBrokerCallLike =
|
|
|
17082
17582
|
* - `core_count`: The desired number of cores to be made available.
|
|
17083
17583
|
**/
|
|
17084
17584
|
| { name: 'RequestCoreCount'; params: { coreCount: number } }
|
|
17085
|
-
| { name: 'NotifyCoreCount'; params: { coreCount: number } }
|
|
17585
|
+
| { name: 'NotifyCoreCount'; params: { coreCount: number } }
|
|
17586
|
+
| { name: 'NotifyRevenue'; params: { revenue: PalletBrokerOnDemandRevenueRecord } }
|
|
17587
|
+
/**
|
|
17588
|
+
* Extrinsic for enabling auto renewal.
|
|
17589
|
+
*
|
|
17590
|
+
* Callable by the sovereign account of the task on the specified core. This account
|
|
17591
|
+
* will be charged at the start of every bulk period for renewing core time.
|
|
17592
|
+
*
|
|
17593
|
+
* - `origin`: Must be the sovereign account of the task
|
|
17594
|
+
* - `core`: The core to which the task to be renewed is currently assigned.
|
|
17595
|
+
* - `task`: The task for which we want to enable auto renewal.
|
|
17596
|
+
* - `workload_end_hint`: should be used when enabling auto-renewal for a core that is not
|
|
17597
|
+
* expiring in the upcoming bulk period (e.g., due to holding a lease) since it would be
|
|
17598
|
+
* inefficient to look up when the core expires to schedule the next renewal.
|
|
17599
|
+
**/
|
|
17600
|
+
| { name: 'EnableAutoRenew'; params: { core: number; task: number; workloadEndHint?: number | undefined } }
|
|
17601
|
+
/**
|
|
17602
|
+
* Extrinsic for disabling auto renewal.
|
|
17603
|
+
*
|
|
17604
|
+
* Callable by the sovereign account of the task on the specified core.
|
|
17605
|
+
*
|
|
17606
|
+
* - `origin`: Must be the sovereign account of the task.
|
|
17607
|
+
* - `core`: The core for which we want to disable auto renewal.
|
|
17608
|
+
* - `task`: The task for which we want to disable auto renewal.
|
|
17609
|
+
**/
|
|
17610
|
+
| { name: 'DisableAutoRenew'; params: { core: number; task: number } }
|
|
17611
|
+
| { name: 'SwapLeases'; params: { id: number; other: number } };
|
|
17086
17612
|
|
|
17087
17613
|
export type PalletBrokerConfigRecord = {
|
|
17088
17614
|
advanceNotice: number;
|
|
@@ -17111,6 +17637,8 @@ export type PalletBrokerRegionId = { begin: number; core: number; mask: PalletBr
|
|
|
17111
17637
|
|
|
17112
17638
|
export type PalletBrokerFinality = 'Provisional' | 'Final';
|
|
17113
17639
|
|
|
17640
|
+
export type PalletBrokerOnDemandRevenueRecord = { until: number; amount: bigint };
|
|
17641
|
+
|
|
17114
17642
|
/**
|
|
17115
17643
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
17116
17644
|
**/
|
|
@@ -17139,7 +17667,7 @@ export type PalletMixnetBoundedMixnode = {
|
|
|
17139
17667
|
externalAddresses: Array<Bytes>;
|
|
17140
17668
|
};
|
|
17141
17669
|
|
|
17142
|
-
export type SpMixnetAppSignature =
|
|
17670
|
+
export type SpMixnetAppSignature = FixedBytes<64>;
|
|
17143
17671
|
|
|
17144
17672
|
/**
|
|
17145
17673
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -17162,9 +17690,10 @@ export type PalletParametersCallLike =
|
|
|
17162
17690
|
**/
|
|
17163
17691
|
{ name: 'SetParameter'; params: { keyValue: KitchensinkRuntimeRuntimeParameters } };
|
|
17164
17692
|
|
|
17165
|
-
export type KitchensinkRuntimeRuntimeParameters =
|
|
17166
|
-
|
|
17167
|
-
|
|
17693
|
+
export type KitchensinkRuntimeRuntimeParameters = {
|
|
17694
|
+
type: 'Storage';
|
|
17695
|
+
value: KitchensinkRuntimeDynamicParamsStorageParameters;
|
|
17696
|
+
};
|
|
17168
17697
|
|
|
17169
17698
|
export type KitchensinkRuntimeDynamicParamsStorageParameters =
|
|
17170
17699
|
| { type: 'BaseDeposit'; value: [KitchensinkRuntimeDynamicParamsStorageBaseDeposit, bigint | undefined] }
|
|
@@ -17174,60 +17703,419 @@ export type KitchensinkRuntimeDynamicParamsStorageBaseDeposit = {};
|
|
|
17174
17703
|
|
|
17175
17704
|
export type KitchensinkRuntimeDynamicParamsStorageByteDeposit = {};
|
|
17176
17705
|
|
|
17177
|
-
export type KitchensinkRuntimeDynamicParamsContractsParameters =
|
|
17178
|
-
| { type: 'DepositPerItem'; value: [KitchensinkRuntimeDynamicParamsContractsDepositPerItem, bigint | undefined] }
|
|
17179
|
-
| { type: 'DepositPerByte'; value: [KitchensinkRuntimeDynamicParamsContractsDepositPerByte, bigint | undefined] }
|
|
17180
|
-
| {
|
|
17181
|
-
type: 'DefaultDepositLimit';
|
|
17182
|
-
value: [KitchensinkRuntimeDynamicParamsContractsDefaultDepositLimit, bigint | undefined];
|
|
17183
|
-
};
|
|
17184
|
-
|
|
17185
|
-
export type KitchensinkRuntimeDynamicParamsContractsDepositPerItem = {};
|
|
17186
|
-
|
|
17187
|
-
export type KitchensinkRuntimeDynamicParamsContractsDepositPerByte = {};
|
|
17188
|
-
|
|
17189
|
-
export type KitchensinkRuntimeDynamicParamsContractsDefaultDepositLimit = {};
|
|
17190
|
-
|
|
17191
|
-
export type SpRuntimeBlakeTwo256 = {};
|
|
17192
|
-
|
|
17193
|
-
export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
|
|
17194
|
-
|
|
17195
17706
|
/**
|
|
17196
|
-
*
|
|
17707
|
+
* Pallet's callable functions.
|
|
17197
17708
|
**/
|
|
17198
|
-
export type
|
|
17709
|
+
export type PalletAssetConversionOpsCall =
|
|
17199
17710
|
/**
|
|
17200
|
-
*
|
|
17711
|
+
* Migrates an existing pool to a new account ID derivation method for a given asset pair.
|
|
17712
|
+
* If the migration is successful, transaction fees are refunded to the caller.
|
|
17713
|
+
*
|
|
17714
|
+
* Must be signed.
|
|
17201
17715
|
**/
|
|
17202
|
-
{
|
|
17716
|
+
{
|
|
17717
|
+
name: 'MigrateToNewAccount';
|
|
17718
|
+
params: {
|
|
17719
|
+
asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
17720
|
+
asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
17721
|
+
};
|
|
17722
|
+
};
|
|
17203
17723
|
|
|
17204
|
-
|
|
17205
|
-
* The `Event` enum of this pallet
|
|
17206
|
-
**/
|
|
17207
|
-
export type PalletRootTestingEvent =
|
|
17724
|
+
export type PalletAssetConversionOpsCallLike =
|
|
17208
17725
|
/**
|
|
17209
|
-
*
|
|
17726
|
+
* Migrates an existing pool to a new account ID derivation method for a given asset pair.
|
|
17727
|
+
* If the migration is successful, transaction fees are refunded to the caller.
|
|
17728
|
+
*
|
|
17729
|
+
* Must be signed.
|
|
17210
17730
|
**/
|
|
17211
|
-
|
|
17731
|
+
{
|
|
17732
|
+
name: 'MigrateToNewAccount';
|
|
17733
|
+
params: {
|
|
17734
|
+
asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
17735
|
+
asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
17736
|
+
};
|
|
17737
|
+
};
|
|
17212
17738
|
|
|
17213
17739
|
/**
|
|
17214
|
-
*
|
|
17740
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
17215
17741
|
**/
|
|
17216
|
-
export type
|
|
17742
|
+
export type PalletReviveCall =
|
|
17217
17743
|
/**
|
|
17218
|
-
*
|
|
17744
|
+
* A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
|
|
17745
|
+
*
|
|
17746
|
+
* # Parameters
|
|
17747
|
+
*
|
|
17748
|
+
* * `payload`: The RLP-encoded [`crate::evm::TransactionLegacySigned`].
|
|
17749
|
+
* * `gas_limit`: The gas limit enforced during contract execution.
|
|
17750
|
+
* * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
|
|
17751
|
+
* storage usage.
|
|
17752
|
+
*
|
|
17753
|
+
* # Note
|
|
17754
|
+
*
|
|
17755
|
+
* This call cannot be dispatched directly; attempting to do so will result in a failed
|
|
17756
|
+
* transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
|
|
17757
|
+
* runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
|
|
17758
|
+
* signer and validating the transaction.
|
|
17219
17759
|
**/
|
|
17220
|
-
| { name: '
|
|
17760
|
+
| { name: 'EthTransact'; params: { payload: Bytes; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint } }
|
|
17221
17761
|
/**
|
|
17222
|
-
*
|
|
17223
|
-
|
|
17224
|
-
|
|
17225
|
-
|
|
17226
|
-
|
|
17227
|
-
* The `
|
|
17228
|
-
|
|
17229
|
-
|
|
17230
|
-
|
|
17762
|
+
* Makes a call to an account, optionally transferring some balance.
|
|
17763
|
+
*
|
|
17764
|
+
* # Parameters
|
|
17765
|
+
*
|
|
17766
|
+
* * `dest`: Address of the contract to call.
|
|
17767
|
+
* * `value`: The balance to transfer from the `origin` to `dest`.
|
|
17768
|
+
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
|
17769
|
+
* * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
|
|
17770
|
+
* caller to pay for the storage consumed.
|
|
17771
|
+
* * `data`: The input data to pass to the contract.
|
|
17772
|
+
*
|
|
17773
|
+
* * If the account is a smart-contract account, the associated code will be
|
|
17774
|
+
* executed and any value will be transferred.
|
|
17775
|
+
* * If the account is a regular account, any value will be transferred.
|
|
17776
|
+
* * If no account exists and the call value is not less than `existential_deposit`,
|
|
17777
|
+
* a regular account will be created and any value will be transferred.
|
|
17778
|
+
**/
|
|
17779
|
+
| {
|
|
17780
|
+
name: 'Call';
|
|
17781
|
+
params: {
|
|
17782
|
+
dest: H160;
|
|
17783
|
+
value: bigint;
|
|
17784
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
17785
|
+
storageDepositLimit: bigint;
|
|
17786
|
+
data: Bytes;
|
|
17787
|
+
};
|
|
17788
|
+
}
|
|
17789
|
+
/**
|
|
17790
|
+
* Instantiates a contract from a previously deployed wasm binary.
|
|
17791
|
+
*
|
|
17792
|
+
* This function is identical to [`Self::instantiate_with_code`] but without the
|
|
17793
|
+
* code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
|
|
17794
|
+
* must be supplied.
|
|
17795
|
+
**/
|
|
17796
|
+
| {
|
|
17797
|
+
name: 'Instantiate';
|
|
17798
|
+
params: {
|
|
17799
|
+
value: bigint;
|
|
17800
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
17801
|
+
storageDepositLimit: bigint;
|
|
17802
|
+
codeHash: H256;
|
|
17803
|
+
data: Bytes;
|
|
17804
|
+
salt?: FixedBytes<32> | undefined;
|
|
17805
|
+
};
|
|
17806
|
+
}
|
|
17807
|
+
/**
|
|
17808
|
+
* Instantiates a new contract from the supplied `code` optionally transferring
|
|
17809
|
+
* some balance.
|
|
17810
|
+
*
|
|
17811
|
+
* This dispatchable has the same effect as calling [`Self::upload_code`] +
|
|
17812
|
+
* [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
|
|
17813
|
+
* also check the documentation of [`Self::upload_code`].
|
|
17814
|
+
*
|
|
17815
|
+
* # Parameters
|
|
17816
|
+
*
|
|
17817
|
+
* * `value`: The balance to transfer from the `origin` to the newly created contract.
|
|
17818
|
+
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
|
17819
|
+
* * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
|
|
17820
|
+
* from the caller to pay for the storage consumed.
|
|
17821
|
+
* * `code`: The contract code to deploy in raw bytes.
|
|
17822
|
+
* * `data`: The input data to pass to the contract constructor.
|
|
17823
|
+
* * `salt`: Used for the address derivation. If `Some` is supplied then `CREATE2`
|
|
17824
|
+
* semantics are used. If `None` then `CRATE1` is used.
|
|
17825
|
+
*
|
|
17826
|
+
*
|
|
17827
|
+
* Instantiation is executed as follows:
|
|
17828
|
+
*
|
|
17829
|
+
* - The supplied `code` is deployed, and a `code_hash` is created for that code.
|
|
17830
|
+
* - If the `code_hash` already exists on the chain the underlying `code` will be shared.
|
|
17831
|
+
* - The destination address is computed based on the sender, code_hash and the salt.
|
|
17832
|
+
* - The smart-contract account is created at the computed address.
|
|
17833
|
+
* - The `value` is transferred to the new account.
|
|
17834
|
+
* - The `deploy` function is executed in the context of the newly-created account.
|
|
17835
|
+
**/
|
|
17836
|
+
| {
|
|
17837
|
+
name: 'InstantiateWithCode';
|
|
17838
|
+
params: {
|
|
17839
|
+
value: bigint;
|
|
17840
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
17841
|
+
storageDepositLimit: bigint;
|
|
17842
|
+
code: Bytes;
|
|
17843
|
+
data: Bytes;
|
|
17844
|
+
salt?: FixedBytes<32> | undefined;
|
|
17845
|
+
};
|
|
17846
|
+
}
|
|
17847
|
+
/**
|
|
17848
|
+
* Upload new `code` without instantiating a contract from it.
|
|
17849
|
+
*
|
|
17850
|
+
* If the code does not already exist a deposit is reserved from the caller
|
|
17851
|
+
* and unreserved only when [`Self::remove_code`] is called. The size of the reserve
|
|
17852
|
+
* depends on the size of the supplied `code`.
|
|
17853
|
+
*
|
|
17854
|
+
* # Note
|
|
17855
|
+
*
|
|
17856
|
+
* Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
|
|
17857
|
+
* To avoid this situation a constructor could employ access control so that it can
|
|
17858
|
+
* only be instantiated by permissioned entities. The same is true when uploading
|
|
17859
|
+
* through [`Self::instantiate_with_code`].
|
|
17860
|
+
**/
|
|
17861
|
+
| { name: 'UploadCode'; params: { code: Bytes; storageDepositLimit: bigint } }
|
|
17862
|
+
/**
|
|
17863
|
+
* Remove the code stored under `code_hash` and refund the deposit to its owner.
|
|
17864
|
+
*
|
|
17865
|
+
* A code can only be removed by its original uploader (its owner) and only if it is
|
|
17866
|
+
* not used by any contract.
|
|
17867
|
+
**/
|
|
17868
|
+
| { name: 'RemoveCode'; params: { codeHash: H256 } }
|
|
17869
|
+
/**
|
|
17870
|
+
* Privileged function that changes the code of an existing contract.
|
|
17871
|
+
*
|
|
17872
|
+
* This takes care of updating refcounts and all other necessary operations. Returns
|
|
17873
|
+
* an error if either the `code_hash` or `dest` do not exist.
|
|
17874
|
+
*
|
|
17875
|
+
* # Note
|
|
17876
|
+
*
|
|
17877
|
+
* This does **not** change the address of the contract in question. This means
|
|
17878
|
+
* that the contract address is no longer derived from its code hash after calling
|
|
17879
|
+
* this dispatchable.
|
|
17880
|
+
**/
|
|
17881
|
+
| { name: 'SetCode'; params: { dest: H160; codeHash: H256 } }
|
|
17882
|
+
/**
|
|
17883
|
+
* Register the callers account id so that it can be used in contract interactions.
|
|
17884
|
+
*
|
|
17885
|
+
* This will error if the origin is already mapped or is a eth native `Address20`. It will
|
|
17886
|
+
* take a deposit that can be released by calling [`Self::unmap_account`].
|
|
17887
|
+
**/
|
|
17888
|
+
| { name: 'MapAccount' }
|
|
17889
|
+
/**
|
|
17890
|
+
* Unregister the callers account id in order to free the deposit.
|
|
17891
|
+
*
|
|
17892
|
+
* There is no reason to ever call this function other than freeing up the deposit.
|
|
17893
|
+
* This is only useful when the account should no longer be used.
|
|
17894
|
+
**/
|
|
17895
|
+
| { name: 'UnmapAccount' }
|
|
17896
|
+
/**
|
|
17897
|
+
* Dispatch an `call` with the origin set to the callers fallback address.
|
|
17898
|
+
*
|
|
17899
|
+
* Every `AccountId32` can control its corresponding fallback account. The fallback account
|
|
17900
|
+
* is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
|
|
17901
|
+
* recovery function in case an `AccountId20` was used without creating a mapping first.
|
|
17902
|
+
**/
|
|
17903
|
+
| { name: 'DispatchAsFallbackAccount'; params: { call: KitchensinkRuntimeRuntimeCall } };
|
|
17904
|
+
|
|
17905
|
+
export type PalletReviveCallLike =
|
|
17906
|
+
/**
|
|
17907
|
+
* A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
|
|
17908
|
+
*
|
|
17909
|
+
* # Parameters
|
|
17910
|
+
*
|
|
17911
|
+
* * `payload`: The RLP-encoded [`crate::evm::TransactionLegacySigned`].
|
|
17912
|
+
* * `gas_limit`: The gas limit enforced during contract execution.
|
|
17913
|
+
* * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
|
|
17914
|
+
* storage usage.
|
|
17915
|
+
*
|
|
17916
|
+
* # Note
|
|
17917
|
+
*
|
|
17918
|
+
* This call cannot be dispatched directly; attempting to do so will result in a failed
|
|
17919
|
+
* transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
|
|
17920
|
+
* runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
|
|
17921
|
+
* signer and validating the transaction.
|
|
17922
|
+
**/
|
|
17923
|
+
| {
|
|
17924
|
+
name: 'EthTransact';
|
|
17925
|
+
params: { payload: BytesLike; gasLimit: SpWeightsWeightV2Weight; storageDepositLimit: bigint };
|
|
17926
|
+
}
|
|
17927
|
+
/**
|
|
17928
|
+
* Makes a call to an account, optionally transferring some balance.
|
|
17929
|
+
*
|
|
17930
|
+
* # Parameters
|
|
17931
|
+
*
|
|
17932
|
+
* * `dest`: Address of the contract to call.
|
|
17933
|
+
* * `value`: The balance to transfer from the `origin` to `dest`.
|
|
17934
|
+
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
|
17935
|
+
* * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
|
|
17936
|
+
* caller to pay for the storage consumed.
|
|
17937
|
+
* * `data`: The input data to pass to the contract.
|
|
17938
|
+
*
|
|
17939
|
+
* * If the account is a smart-contract account, the associated code will be
|
|
17940
|
+
* executed and any value will be transferred.
|
|
17941
|
+
* * If the account is a regular account, any value will be transferred.
|
|
17942
|
+
* * If no account exists and the call value is not less than `existential_deposit`,
|
|
17943
|
+
* a regular account will be created and any value will be transferred.
|
|
17944
|
+
**/
|
|
17945
|
+
| {
|
|
17946
|
+
name: 'Call';
|
|
17947
|
+
params: {
|
|
17948
|
+
dest: H160;
|
|
17949
|
+
value: bigint;
|
|
17950
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
17951
|
+
storageDepositLimit: bigint;
|
|
17952
|
+
data: BytesLike;
|
|
17953
|
+
};
|
|
17954
|
+
}
|
|
17955
|
+
/**
|
|
17956
|
+
* Instantiates a contract from a previously deployed wasm binary.
|
|
17957
|
+
*
|
|
17958
|
+
* This function is identical to [`Self::instantiate_with_code`] but without the
|
|
17959
|
+
* code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
|
|
17960
|
+
* must be supplied.
|
|
17961
|
+
**/
|
|
17962
|
+
| {
|
|
17963
|
+
name: 'Instantiate';
|
|
17964
|
+
params: {
|
|
17965
|
+
value: bigint;
|
|
17966
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
17967
|
+
storageDepositLimit: bigint;
|
|
17968
|
+
codeHash: H256;
|
|
17969
|
+
data: BytesLike;
|
|
17970
|
+
salt?: FixedBytes<32> | undefined;
|
|
17971
|
+
};
|
|
17972
|
+
}
|
|
17973
|
+
/**
|
|
17974
|
+
* Instantiates a new contract from the supplied `code` optionally transferring
|
|
17975
|
+
* some balance.
|
|
17976
|
+
*
|
|
17977
|
+
* This dispatchable has the same effect as calling [`Self::upload_code`] +
|
|
17978
|
+
* [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
|
|
17979
|
+
* also check the documentation of [`Self::upload_code`].
|
|
17980
|
+
*
|
|
17981
|
+
* # Parameters
|
|
17982
|
+
*
|
|
17983
|
+
* * `value`: The balance to transfer from the `origin` to the newly created contract.
|
|
17984
|
+
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
|
17985
|
+
* * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
|
|
17986
|
+
* from the caller to pay for the storage consumed.
|
|
17987
|
+
* * `code`: The contract code to deploy in raw bytes.
|
|
17988
|
+
* * `data`: The input data to pass to the contract constructor.
|
|
17989
|
+
* * `salt`: Used for the address derivation. If `Some` is supplied then `CREATE2`
|
|
17990
|
+
* semantics are used. If `None` then `CRATE1` is used.
|
|
17991
|
+
*
|
|
17992
|
+
*
|
|
17993
|
+
* Instantiation is executed as follows:
|
|
17994
|
+
*
|
|
17995
|
+
* - The supplied `code` is deployed, and a `code_hash` is created for that code.
|
|
17996
|
+
* - If the `code_hash` already exists on the chain the underlying `code` will be shared.
|
|
17997
|
+
* - The destination address is computed based on the sender, code_hash and the salt.
|
|
17998
|
+
* - The smart-contract account is created at the computed address.
|
|
17999
|
+
* - The `value` is transferred to the new account.
|
|
18000
|
+
* - The `deploy` function is executed in the context of the newly-created account.
|
|
18001
|
+
**/
|
|
18002
|
+
| {
|
|
18003
|
+
name: 'InstantiateWithCode';
|
|
18004
|
+
params: {
|
|
18005
|
+
value: bigint;
|
|
18006
|
+
gasLimit: SpWeightsWeightV2Weight;
|
|
18007
|
+
storageDepositLimit: bigint;
|
|
18008
|
+
code: BytesLike;
|
|
18009
|
+
data: BytesLike;
|
|
18010
|
+
salt?: FixedBytes<32> | undefined;
|
|
18011
|
+
};
|
|
18012
|
+
}
|
|
18013
|
+
/**
|
|
18014
|
+
* Upload new `code` without instantiating a contract from it.
|
|
18015
|
+
*
|
|
18016
|
+
* If the code does not already exist a deposit is reserved from the caller
|
|
18017
|
+
* and unreserved only when [`Self::remove_code`] is called. The size of the reserve
|
|
18018
|
+
* depends on the size of the supplied `code`.
|
|
18019
|
+
*
|
|
18020
|
+
* # Note
|
|
18021
|
+
*
|
|
18022
|
+
* Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
|
|
18023
|
+
* To avoid this situation a constructor could employ access control so that it can
|
|
18024
|
+
* only be instantiated by permissioned entities. The same is true when uploading
|
|
18025
|
+
* through [`Self::instantiate_with_code`].
|
|
18026
|
+
**/
|
|
18027
|
+
| { name: 'UploadCode'; params: { code: BytesLike; storageDepositLimit: bigint } }
|
|
18028
|
+
/**
|
|
18029
|
+
* Remove the code stored under `code_hash` and refund the deposit to its owner.
|
|
18030
|
+
*
|
|
18031
|
+
* A code can only be removed by its original uploader (its owner) and only if it is
|
|
18032
|
+
* not used by any contract.
|
|
18033
|
+
**/
|
|
18034
|
+
| { name: 'RemoveCode'; params: { codeHash: H256 } }
|
|
18035
|
+
/**
|
|
18036
|
+
* Privileged function that changes the code of an existing contract.
|
|
18037
|
+
*
|
|
18038
|
+
* This takes care of updating refcounts and all other necessary operations. Returns
|
|
18039
|
+
* an error if either the `code_hash` or `dest` do not exist.
|
|
18040
|
+
*
|
|
18041
|
+
* # Note
|
|
18042
|
+
*
|
|
18043
|
+
* This does **not** change the address of the contract in question. This means
|
|
18044
|
+
* that the contract address is no longer derived from its code hash after calling
|
|
18045
|
+
* this dispatchable.
|
|
18046
|
+
**/
|
|
18047
|
+
| { name: 'SetCode'; params: { dest: H160; codeHash: H256 } }
|
|
18048
|
+
/**
|
|
18049
|
+
* Register the callers account id so that it can be used in contract interactions.
|
|
18050
|
+
*
|
|
18051
|
+
* This will error if the origin is already mapped or is a eth native `Address20`. It will
|
|
18052
|
+
* take a deposit that can be released by calling [`Self::unmap_account`].
|
|
18053
|
+
**/
|
|
18054
|
+
| { name: 'MapAccount' }
|
|
18055
|
+
/**
|
|
18056
|
+
* Unregister the callers account id in order to free the deposit.
|
|
18057
|
+
*
|
|
18058
|
+
* There is no reason to ever call this function other than freeing up the deposit.
|
|
18059
|
+
* This is only useful when the account should no longer be used.
|
|
18060
|
+
**/
|
|
18061
|
+
| { name: 'UnmapAccount' }
|
|
18062
|
+
/**
|
|
18063
|
+
* Dispatch an `call` with the origin set to the callers fallback address.
|
|
18064
|
+
*
|
|
18065
|
+
* Every `AccountId32` can control its corresponding fallback account. The fallback account
|
|
18066
|
+
* is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
|
|
18067
|
+
* recovery function in case an `AccountId20` was used without creating a mapping first.
|
|
18068
|
+
**/
|
|
18069
|
+
| { name: 'DispatchAsFallbackAccount'; params: { call: KitchensinkRuntimeRuntimeCallLike } };
|
|
18070
|
+
|
|
18071
|
+
export type SpRuntimeBlakeTwo256 = {};
|
|
18072
|
+
|
|
18073
|
+
export type PalletConvictionVotingTally = { ayes: bigint; nays: bigint; support: bigint };
|
|
18074
|
+
|
|
18075
|
+
/**
|
|
18076
|
+
* The `Event` enum of this pallet
|
|
18077
|
+
**/
|
|
18078
|
+
export type PalletRemarkEvent =
|
|
18079
|
+
/**
|
|
18080
|
+
* Stored data off chain.
|
|
18081
|
+
**/
|
|
18082
|
+
{ name: 'Stored'; data: { sender: AccountId32; contentHash: H256 } };
|
|
18083
|
+
|
|
18084
|
+
/**
|
|
18085
|
+
* The `Event` enum of this pallet
|
|
18086
|
+
**/
|
|
18087
|
+
export type PalletRootTestingEvent =
|
|
18088
|
+
/**
|
|
18089
|
+
* Event dispatched when the trigger_defensive extrinsic is called.
|
|
18090
|
+
**/
|
|
18091
|
+
'DefensiveTestCall';
|
|
18092
|
+
|
|
18093
|
+
/**
|
|
18094
|
+
* The `Event` enum of this pallet
|
|
18095
|
+
**/
|
|
18096
|
+
export type PalletConvictionVotingEvent =
|
|
18097
|
+
/**
|
|
18098
|
+
* An account has delegated their vote to another account. \[who, target\]
|
|
18099
|
+
**/
|
|
18100
|
+
| { name: 'Delegated'; data: [AccountId32, AccountId32] }
|
|
18101
|
+
/**
|
|
18102
|
+
* An \[account\] has cancelled a previous delegation operation.
|
|
18103
|
+
**/
|
|
18104
|
+
| { name: 'Undelegated'; data: AccountId32 }
|
|
18105
|
+
/**
|
|
18106
|
+
* An account that has voted
|
|
18107
|
+
**/
|
|
18108
|
+
| { name: 'Voted'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } }
|
|
18109
|
+
/**
|
|
18110
|
+
* A vote that been removed
|
|
18111
|
+
**/
|
|
18112
|
+
| { name: 'VoteRemoved'; data: { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote } };
|
|
18113
|
+
|
|
18114
|
+
/**
|
|
18115
|
+
* The `Event` enum of this pallet
|
|
18116
|
+
**/
|
|
18117
|
+
export type PalletWhitelistEvent =
|
|
18118
|
+
| { name: 'CallWhitelisted'; data: { callHash: H256 } }
|
|
17231
18119
|
| { name: 'WhitelistedCallRemoved'; data: { callHash: H256 } }
|
|
17232
18120
|
| {
|
|
17233
18121
|
name: 'WhitelistedCallDispatched';
|
|
@@ -17358,8 +18246,10 @@ export type PalletNominationPoolsEvent =
|
|
|
17358
18246
|
* A member has been removed from a pool.
|
|
17359
18247
|
*
|
|
17360
18248
|
* The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
|
|
18249
|
+
* Any funds that are still delegated (i.e. dangling delegation) are released and are
|
|
18250
|
+
* represented by `released_balance`.
|
|
17361
18251
|
**/
|
|
17362
|
-
| { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32 } }
|
|
18252
|
+
| { name: 'MemberRemoved'; data: { poolId: number; member: AccountId32; releasedBalance: bigint } }
|
|
17363
18253
|
/**
|
|
17364
18254
|
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
|
17365
18255
|
* can never change.
|
|
@@ -17740,7 +18630,7 @@ export type PalletRankedCollectiveVoteRecord = { type: 'Aye'; value: number } |
|
|
|
17740
18630
|
**/
|
|
17741
18631
|
export type PalletAssetConversionEvent =
|
|
17742
18632
|
/**
|
|
17743
|
-
* A successful call of the `
|
|
18633
|
+
* A successful call of the `CreatePool` extrinsic will create this event.
|
|
17744
18634
|
**/
|
|
17745
18635
|
| {
|
|
17746
18636
|
name: 'PoolCreated';
|
|
@@ -17913,6 +18803,23 @@ export type PalletAssetConversionEvent =
|
|
|
17913
18803
|
**/
|
|
17914
18804
|
path: Array<[FrameSupportTokensFungibleUnionOfNativeOrWithId, bigint]>;
|
|
17915
18805
|
};
|
|
18806
|
+
}
|
|
18807
|
+
/**
|
|
18808
|
+
* Pool has been touched in order to fulfill operational requirements.
|
|
18809
|
+
**/
|
|
18810
|
+
| {
|
|
18811
|
+
name: 'Touched';
|
|
18812
|
+
data: {
|
|
18813
|
+
/**
|
|
18814
|
+
* The ID of the pool.
|
|
18815
|
+
**/
|
|
18816
|
+
poolId: [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId];
|
|
18817
|
+
|
|
18818
|
+
/**
|
|
18819
|
+
* The account initiating the touch.
|
|
18820
|
+
**/
|
|
18821
|
+
who: AccountId32;
|
|
18822
|
+
};
|
|
17916
18823
|
};
|
|
17917
18824
|
|
|
17918
18825
|
/**
|
|
@@ -18054,7 +18961,8 @@ export type FrameSupportMessagesProcessMessageError =
|
|
|
18054
18961
|
| { type: 'Corrupt' }
|
|
18055
18962
|
| { type: 'Unsupported' }
|
|
18056
18963
|
| { type: 'Overweight'; value: SpWeightsWeightV2Weight }
|
|
18057
|
-
| { type: 'Yield' }
|
|
18964
|
+
| { type: 'Yield' }
|
|
18965
|
+
| { type: 'StackLimitReached' };
|
|
18058
18966
|
|
|
18059
18967
|
/**
|
|
18060
18968
|
* The `Event` enum of this pallet
|
|
@@ -18374,12 +19282,12 @@ export type PalletBrokerEvent =
|
|
|
18374
19282
|
/**
|
|
18375
19283
|
* The old owner of the Region.
|
|
18376
19284
|
**/
|
|
18377
|
-
oldOwner
|
|
19285
|
+
oldOwner?: AccountId32 | undefined;
|
|
18378
19286
|
|
|
18379
19287
|
/**
|
|
18380
19288
|
* The new owner of the Region.
|
|
18381
19289
|
**/
|
|
18382
|
-
owner
|
|
19290
|
+
owner?: AccountId32 | undefined;
|
|
18383
19291
|
};
|
|
18384
19292
|
}
|
|
18385
19293
|
/**
|
|
@@ -18537,7 +19445,7 @@ export type PalletBrokerEvent =
|
|
|
18537
19445
|
/**
|
|
18538
19446
|
* The price of Bulk Coretime after the Leadin Period.
|
|
18539
19447
|
**/
|
|
18540
|
-
|
|
19448
|
+
endPrice: bigint;
|
|
18541
19449
|
|
|
18542
19450
|
/**
|
|
18543
19451
|
* The first timeslice of the Regions which are being sold in this sale.
|
|
@@ -18551,8 +19459,7 @@ export type PalletBrokerEvent =
|
|
|
18551
19459
|
regionEnd: number;
|
|
18552
19460
|
|
|
18553
19461
|
/**
|
|
18554
|
-
* The number of cores we want to sell, ideally.
|
|
18555
|
-
* no change to the price for the next sale.
|
|
19462
|
+
* The number of cores we want to sell, ideally.
|
|
18556
19463
|
**/
|
|
18557
19464
|
idealCoresSold: number;
|
|
18558
19465
|
|
|
@@ -18828,7 +19735,7 @@ export type PalletBrokerEvent =
|
|
|
18828
19735
|
* Some historical Instantaneous Core Pool payment record has been dropped.
|
|
18829
19736
|
**/
|
|
18830
19737
|
| {
|
|
18831
|
-
name: '
|
|
19738
|
+
name: 'PotentialRenewalDropped';
|
|
18832
19739
|
data: {
|
|
18833
19740
|
/**
|
|
18834
19741
|
* The timeslice whose renewal is no longer available.
|
|
@@ -18840,7 +19747,62 @@ export type PalletBrokerEvent =
|
|
|
18840
19747
|
**/
|
|
18841
19748
|
core: number;
|
|
18842
19749
|
};
|
|
18843
|
-
}
|
|
19750
|
+
}
|
|
19751
|
+
| {
|
|
19752
|
+
name: 'AutoRenewalEnabled';
|
|
19753
|
+
data: {
|
|
19754
|
+
/**
|
|
19755
|
+
* The core for which the renewal was enabled.
|
|
19756
|
+
**/
|
|
19757
|
+
core: number;
|
|
19758
|
+
|
|
19759
|
+
/**
|
|
19760
|
+
* The task for which the renewal was enabled.
|
|
19761
|
+
**/
|
|
19762
|
+
task: number;
|
|
19763
|
+
};
|
|
19764
|
+
}
|
|
19765
|
+
| {
|
|
19766
|
+
name: 'AutoRenewalDisabled';
|
|
19767
|
+
data: {
|
|
19768
|
+
/**
|
|
19769
|
+
* The core for which the renewal was disabled.
|
|
19770
|
+
**/
|
|
19771
|
+
core: number;
|
|
19772
|
+
|
|
19773
|
+
/**
|
|
19774
|
+
* The task for which the renewal was disabled.
|
|
19775
|
+
**/
|
|
19776
|
+
task: number;
|
|
19777
|
+
};
|
|
19778
|
+
}
|
|
19779
|
+
/**
|
|
19780
|
+
* Failed to auto-renew a core, likely due to the payer account not being sufficiently
|
|
19781
|
+
* funded.
|
|
19782
|
+
**/
|
|
19783
|
+
| {
|
|
19784
|
+
name: 'AutoRenewalFailed';
|
|
19785
|
+
data: {
|
|
19786
|
+
/**
|
|
19787
|
+
* The core for which the renewal failed.
|
|
19788
|
+
**/
|
|
19789
|
+
core: number;
|
|
19790
|
+
|
|
19791
|
+
/**
|
|
19792
|
+
* The account which was supposed to pay for renewal.
|
|
19793
|
+
*
|
|
19794
|
+
* If `None` it indicates that we failed to get the sovereign account of a task.
|
|
19795
|
+
**/
|
|
19796
|
+
payer?: AccountId32 | undefined;
|
|
19797
|
+
};
|
|
19798
|
+
}
|
|
19799
|
+
/**
|
|
19800
|
+
* The auto-renewal limit has been reached upon renewing cores.
|
|
19801
|
+
*
|
|
19802
|
+
* This should never happen, given that enable_auto_renew checks for this before enabling
|
|
19803
|
+
* auto-renewal.
|
|
19804
|
+
**/
|
|
19805
|
+
| { name: 'AutoRenewalLimitReached' };
|
|
18844
19806
|
|
|
18845
19807
|
/**
|
|
18846
19808
|
* The `Event` enum of this pallet
|
|
@@ -18871,32 +19833,24 @@ export type PalletParametersEvent =
|
|
|
18871
19833
|
};
|
|
18872
19834
|
};
|
|
18873
19835
|
|
|
18874
|
-
export type KitchensinkRuntimeRuntimeParametersKey =
|
|
18875
|
-
|
|
18876
|
-
|
|
19836
|
+
export type KitchensinkRuntimeRuntimeParametersKey = {
|
|
19837
|
+
type: 'Storage';
|
|
19838
|
+
value: KitchensinkRuntimeDynamicParamsStorageParametersKey;
|
|
19839
|
+
};
|
|
18877
19840
|
|
|
18878
19841
|
export type KitchensinkRuntimeDynamicParamsStorageParametersKey =
|
|
18879
19842
|
| { type: 'BaseDeposit'; value: KitchensinkRuntimeDynamicParamsStorageBaseDeposit }
|
|
18880
19843
|
| { type: 'ByteDeposit'; value: KitchensinkRuntimeDynamicParamsStorageByteDeposit };
|
|
18881
19844
|
|
|
18882
|
-
export type
|
|
18883
|
-
|
|
18884
|
-
|
|
18885
|
-
|
|
18886
|
-
|
|
18887
|
-
export type KitchensinkRuntimeRuntimeParametersValue =
|
|
18888
|
-
| { type: 'Storage'; value: KitchensinkRuntimeDynamicParamsStorageParametersValue }
|
|
18889
|
-
| { type: 'Contract'; value: KitchensinkRuntimeDynamicParamsContractsParametersValue };
|
|
19845
|
+
export type KitchensinkRuntimeRuntimeParametersValue = {
|
|
19846
|
+
type: 'Storage';
|
|
19847
|
+
value: KitchensinkRuntimeDynamicParamsStorageParametersValue;
|
|
19848
|
+
};
|
|
18890
19849
|
|
|
18891
19850
|
export type KitchensinkRuntimeDynamicParamsStorageParametersValue =
|
|
18892
19851
|
| { type: 'BaseDeposit'; value: bigint }
|
|
18893
19852
|
| { type: 'ByteDeposit'; value: bigint };
|
|
18894
19853
|
|
|
18895
|
-
export type KitchensinkRuntimeDynamicParamsContractsParametersValue =
|
|
18896
|
-
| { type: 'DepositPerItem'; value: bigint }
|
|
18897
|
-
| { type: 'DepositPerByte'; value: bigint }
|
|
18898
|
-
| { type: 'DefaultDepositLimit'; value: bigint };
|
|
18899
|
-
|
|
18900
19854
|
/**
|
|
18901
19855
|
* The `Event` enum of this pallet
|
|
18902
19856
|
**/
|
|
@@ -18904,7 +19858,176 @@ export type PalletSkipFeelessPaymentEvent =
|
|
|
18904
19858
|
/**
|
|
18905
19859
|
* A transaction fee was skipped.
|
|
18906
19860
|
**/
|
|
18907
|
-
{ name: 'FeeSkipped'; data: {
|
|
19861
|
+
{ name: 'FeeSkipped'; data: { origin: KitchensinkRuntimeOriginCaller } };
|
|
19862
|
+
|
|
19863
|
+
/**
|
|
19864
|
+
* The `Event` enum of this pallet
|
|
19865
|
+
**/
|
|
19866
|
+
export type PalletAssetConversionOpsEvent =
|
|
19867
|
+
/**
|
|
19868
|
+
* Indicates that a pool has been migrated to the new account ID.
|
|
19869
|
+
**/
|
|
19870
|
+
{
|
|
19871
|
+
name: 'MigratedToNewAccount';
|
|
19872
|
+
data: {
|
|
19873
|
+
/**
|
|
19874
|
+
* Pool's ID.
|
|
19875
|
+
**/
|
|
19876
|
+
poolId: [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId];
|
|
19877
|
+
|
|
19878
|
+
/**
|
|
19879
|
+
* Pool's prior account ID.
|
|
19880
|
+
**/
|
|
19881
|
+
priorAccount: AccountId32;
|
|
19882
|
+
|
|
19883
|
+
/**
|
|
19884
|
+
* Pool's new account ID.
|
|
19885
|
+
**/
|
|
19886
|
+
newAccount: AccountId32;
|
|
19887
|
+
};
|
|
19888
|
+
};
|
|
19889
|
+
|
|
19890
|
+
/**
|
|
19891
|
+
* The `Event` enum of this pallet
|
|
19892
|
+
**/
|
|
19893
|
+
export type PalletReviveEvent =
|
|
19894
|
+
/**
|
|
19895
|
+
* Contract deployed by address at the specified address.
|
|
19896
|
+
**/
|
|
19897
|
+
| { name: 'Instantiated'; data: { deployer: H160; contract: H160 } }
|
|
19898
|
+
/**
|
|
19899
|
+
* Contract has been removed.
|
|
19900
|
+
*
|
|
19901
|
+
* # Note
|
|
19902
|
+
*
|
|
19903
|
+
* The only way for a contract to be removed and emitting this event is by calling
|
|
19904
|
+
* `seal_terminate`.
|
|
19905
|
+
**/
|
|
19906
|
+
| {
|
|
19907
|
+
name: 'Terminated';
|
|
19908
|
+
data: {
|
|
19909
|
+
/**
|
|
19910
|
+
* The contract that was terminated.
|
|
19911
|
+
**/
|
|
19912
|
+
contract: H160;
|
|
19913
|
+
|
|
19914
|
+
/**
|
|
19915
|
+
* The account that received the contracts remaining balance
|
|
19916
|
+
**/
|
|
19917
|
+
beneficiary: H160;
|
|
19918
|
+
};
|
|
19919
|
+
}
|
|
19920
|
+
/**
|
|
19921
|
+
* Code with the specified hash has been stored.
|
|
19922
|
+
**/
|
|
19923
|
+
| { name: 'CodeStored'; data: { codeHash: H256; depositHeld: bigint; uploader: H160 } }
|
|
19924
|
+
/**
|
|
19925
|
+
* A custom event emitted by the contract.
|
|
19926
|
+
**/
|
|
19927
|
+
| {
|
|
19928
|
+
name: 'ContractEmitted';
|
|
19929
|
+
data: {
|
|
19930
|
+
/**
|
|
19931
|
+
* The contract that emitted the event.
|
|
19932
|
+
**/
|
|
19933
|
+
contract: H160;
|
|
19934
|
+
|
|
19935
|
+
/**
|
|
19936
|
+
* Data supplied by the contract. Metadata generated during contract compilation
|
|
19937
|
+
* is needed to decode it.
|
|
19938
|
+
**/
|
|
19939
|
+
data: Bytes;
|
|
19940
|
+
|
|
19941
|
+
/**
|
|
19942
|
+
* A list of topics used to index the event.
|
|
19943
|
+
* Number of topics is capped by [`limits::NUM_EVENT_TOPICS`].
|
|
19944
|
+
**/
|
|
19945
|
+
topics: Array<H256>;
|
|
19946
|
+
};
|
|
19947
|
+
}
|
|
19948
|
+
/**
|
|
19949
|
+
* A code with the specified hash was removed.
|
|
19950
|
+
**/
|
|
19951
|
+
| { name: 'CodeRemoved'; data: { codeHash: H256; depositReleased: bigint; remover: H160 } }
|
|
19952
|
+
/**
|
|
19953
|
+
* A contract's code was updated.
|
|
19954
|
+
**/
|
|
19955
|
+
| {
|
|
19956
|
+
name: 'ContractCodeUpdated';
|
|
19957
|
+
data: {
|
|
19958
|
+
/**
|
|
19959
|
+
* The contract that has been updated.
|
|
19960
|
+
**/
|
|
19961
|
+
contract: H160;
|
|
19962
|
+
|
|
19963
|
+
/**
|
|
19964
|
+
* New code hash that was set for the contract.
|
|
19965
|
+
**/
|
|
19966
|
+
newCodeHash: H256;
|
|
19967
|
+
|
|
19968
|
+
/**
|
|
19969
|
+
* Previous code hash of the contract.
|
|
19970
|
+
**/
|
|
19971
|
+
oldCodeHash: H256;
|
|
19972
|
+
};
|
|
19973
|
+
}
|
|
19974
|
+
/**
|
|
19975
|
+
* A contract was called either by a plain account or another contract.
|
|
19976
|
+
*
|
|
19977
|
+
* # Note
|
|
19978
|
+
*
|
|
19979
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
19980
|
+
* calls. This is because on failure all storage changes including events are
|
|
19981
|
+
* rolled back.
|
|
19982
|
+
**/
|
|
19983
|
+
| {
|
|
19984
|
+
name: 'Called';
|
|
19985
|
+
data: {
|
|
19986
|
+
/**
|
|
19987
|
+
* The caller of the `contract`.
|
|
19988
|
+
**/
|
|
19989
|
+
caller: PalletReviveExecOrigin;
|
|
19990
|
+
|
|
19991
|
+
/**
|
|
19992
|
+
* The contract that was called.
|
|
19993
|
+
**/
|
|
19994
|
+
contract: H160;
|
|
19995
|
+
};
|
|
19996
|
+
}
|
|
19997
|
+
/**
|
|
19998
|
+
* A contract delegate called a code hash.
|
|
19999
|
+
*
|
|
20000
|
+
* # Note
|
|
20001
|
+
*
|
|
20002
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
20003
|
+
* calls. This is because on failure all storage changes including events are
|
|
20004
|
+
* rolled back.
|
|
20005
|
+
**/
|
|
20006
|
+
| {
|
|
20007
|
+
name: 'DelegateCalled';
|
|
20008
|
+
data: {
|
|
20009
|
+
/**
|
|
20010
|
+
* The contract that performed the delegate call and hence in whose context
|
|
20011
|
+
* the `code_hash` is executed.
|
|
20012
|
+
**/
|
|
20013
|
+
contract: H160;
|
|
20014
|
+
|
|
20015
|
+
/**
|
|
20016
|
+
* The code hash that was delegate called.
|
|
20017
|
+
**/
|
|
20018
|
+
codeHash: H256;
|
|
20019
|
+
};
|
|
20020
|
+
}
|
|
20021
|
+
/**
|
|
20022
|
+
* Some funds have been transferred and held as storage deposit.
|
|
20023
|
+
**/
|
|
20024
|
+
| { name: 'StorageDepositTransferredAndHeld'; data: { from: H160; to: H160; amount: bigint } }
|
|
20025
|
+
/**
|
|
20026
|
+
* Some storage deposit funds have been transferred and released.
|
|
20027
|
+
**/
|
|
20028
|
+
| { name: 'StorageDepositTransferredAndReleased'; data: { from: H160; to: H160; amount: bigint } };
|
|
20029
|
+
|
|
20030
|
+
export type PalletReviveExecOrigin = { type: 'Root' } | { type: 'Signed'; value: AccountId32 };
|
|
18908
20031
|
|
|
18909
20032
|
export type FrameSystemLastRuntimeUpgradeInfo = { specVersion: number; specName: string };
|
|
18910
20033
|
|
|
@@ -19064,16 +20187,22 @@ export type PalletBalancesReasons = 'Fee' | 'Misc' | 'All';
|
|
|
19064
20187
|
|
|
19065
20188
|
export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
|
|
19066
20189
|
|
|
19067
|
-
export type
|
|
20190
|
+
export type FrameSupportTokensMiscIdAmount = { id: KitchensinkRuntimeRuntimeHoldReason; amount: bigint };
|
|
19068
20191
|
|
|
19069
20192
|
export type KitchensinkRuntimeRuntimeHoldReason =
|
|
20193
|
+
| { type: 'Council'; value: PalletCollectiveHoldReason }
|
|
20194
|
+
| { type: 'TechnicalCommittee'; value: PalletCollectiveHoldReason }
|
|
19070
20195
|
| { type: 'Contracts'; value: PalletContractsHoldReason }
|
|
19071
20196
|
| { type: 'Preimage'; value: PalletPreimageHoldReason }
|
|
19072
20197
|
| { type: 'Nis'; value: PalletNisHoldReason }
|
|
19073
20198
|
| { type: 'NftFractionalization'; value: PalletNftFractionalizationHoldReason }
|
|
19074
20199
|
| { type: 'TransactionStorage'; value: PalletTransactionStorageHoldReason }
|
|
19075
20200
|
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
|
|
19076
|
-
| { type: '
|
|
20201
|
+
| { type: 'AllianceMotion'; value: PalletCollectiveHoldReason }
|
|
20202
|
+
| { type: 'SafeMode'; value: PalletSafeModeHoldReason }
|
|
20203
|
+
| { type: 'Revive'; value: PalletReviveHoldReason };
|
|
20204
|
+
|
|
20205
|
+
export type PalletCollectiveHoldReason = 'ProposalSubmission';
|
|
19077
20206
|
|
|
19078
20207
|
export type PalletContractsHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve';
|
|
19079
20208
|
|
|
@@ -19089,7 +20218,12 @@ export type PalletStateTrieMigrationHoldReason = 'SlashForMigrate';
|
|
|
19089
20218
|
|
|
19090
20219
|
export type PalletSafeModeHoldReason = 'EnterOrExtend';
|
|
19091
20220
|
|
|
19092
|
-
export type
|
|
20221
|
+
export type PalletReviveHoldReason = 'CodeUploadDepositReserve' | 'StorageDepositReserve' | 'AddressMapping';
|
|
20222
|
+
|
|
20223
|
+
export type FrameSupportTokensMiscIdAmountRuntimeFreezeReason = {
|
|
20224
|
+
id: KitchensinkRuntimeRuntimeFreezeReason;
|
|
20225
|
+
amount: bigint;
|
|
20226
|
+
};
|
|
19093
20227
|
|
|
19094
20228
|
export type KitchensinkRuntimeRuntimeFreezeReason = {
|
|
19095
20229
|
type: 'NominationPools';
|
|
@@ -19232,7 +20366,7 @@ export type PalletElectionProviderMultiPhaseError =
|
|
|
19232
20366
|
**/
|
|
19233
20367
|
| 'TooManyWinners'
|
|
19234
20368
|
/**
|
|
19235
|
-
*
|
|
20369
|
+
* Submission was prepared for a different round.
|
|
19236
20370
|
**/
|
|
19237
20371
|
| 'PreDispatchDifferentRound';
|
|
19238
20372
|
|
|
@@ -19244,8 +20378,6 @@ export type PalletStakingStakingLedger = {
|
|
|
19244
20378
|
legacyClaimedRewards: Array<number>;
|
|
19245
20379
|
};
|
|
19246
20380
|
|
|
19247
|
-
export type PalletStakingUnlockChunk = { value: bigint; era: number };
|
|
19248
|
-
|
|
19249
20381
|
export type PalletStakingNominations = { targets: Array<AccountId32>; submittedIn: number; suppressed: boolean };
|
|
19250
20382
|
|
|
19251
20383
|
export type PalletStakingActiveEraInfo = { index: number; start?: bigint | undefined };
|
|
@@ -19388,7 +20520,23 @@ export type PalletStakingPalletError =
|
|
|
19388
20520
|
/**
|
|
19389
20521
|
* Used when attempting to use deprecated controller account logic.
|
|
19390
20522
|
**/
|
|
19391
|
-
| 'ControllerDeprecated'
|
|
20523
|
+
| 'ControllerDeprecated'
|
|
20524
|
+
/**
|
|
20525
|
+
* Cannot reset a ledger.
|
|
20526
|
+
**/
|
|
20527
|
+
| 'CannotRestoreLedger'
|
|
20528
|
+
/**
|
|
20529
|
+
* Provided reward destination is not allowed.
|
|
20530
|
+
**/
|
|
20531
|
+
| 'RewardDestinationRestricted'
|
|
20532
|
+
/**
|
|
20533
|
+
* Not enough funds available to withdraw.
|
|
20534
|
+
**/
|
|
20535
|
+
| 'NotEnoughFunds'
|
|
20536
|
+
/**
|
|
20537
|
+
* Operation not allowed for virtual stakers.
|
|
20538
|
+
**/
|
|
20539
|
+
| 'VirtualStakerNotAllowed';
|
|
19392
20540
|
|
|
19393
20541
|
export type SpCoreCryptoKeyTypeId = FixedBytes<4>;
|
|
19394
20542
|
|
|
@@ -19557,6 +20705,8 @@ export type PalletDemocracyError =
|
|
|
19557
20705
|
**/
|
|
19558
20706
|
| 'PreimageNotExist';
|
|
19559
20707
|
|
|
20708
|
+
export type FrameSupportTokensFungibleHoldConsideration = bigint;
|
|
20709
|
+
|
|
19560
20710
|
export type PalletCollectiveVotes = {
|
|
19561
20711
|
index: number;
|
|
19562
20712
|
threshold: number;
|
|
@@ -19612,7 +20762,11 @@ export type PalletCollectiveError =
|
|
|
19612
20762
|
/**
|
|
19613
20763
|
* Prime account is not a member
|
|
19614
20764
|
**/
|
|
19615
|
-
| 'PrimeAccountNotMember'
|
|
20765
|
+
| 'PrimeAccountNotMember'
|
|
20766
|
+
/**
|
|
20767
|
+
* Proposal is still active.
|
|
20768
|
+
**/
|
|
20769
|
+
| 'ProposalActive';
|
|
19616
20770
|
|
|
19617
20771
|
export type PalletElectionsPhragmenSeatHolder = { who: AccountId32; stake: bigint; deposit: bigint };
|
|
19618
20772
|
|
|
@@ -19759,7 +20913,7 @@ export type PalletGrandpaError =
|
|
|
19759
20913
|
export type PalletTreasuryProposal = { proposer: AccountId32; value: bigint; beneficiary: AccountId32; bond: bigint };
|
|
19760
20914
|
|
|
19761
20915
|
export type PalletTreasurySpendStatus = {
|
|
19762
|
-
assetKind:
|
|
20916
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
19763
20917
|
amount: bigint;
|
|
19764
20918
|
beneficiary: AccountId32;
|
|
19765
20919
|
validFrom: number;
|
|
@@ -19778,10 +20932,6 @@ export type FrameSupportPalletId = FixedBytes<8>;
|
|
|
19778
20932
|
* Error for the treasury pallet.
|
|
19779
20933
|
**/
|
|
19780
20934
|
export type PalletTreasuryError =
|
|
19781
|
-
/**
|
|
19782
|
-
* Proposer's balance is too low.
|
|
19783
|
-
**/
|
|
19784
|
-
| 'InsufficientProposersBalance'
|
|
19785
20935
|
/**
|
|
19786
20936
|
* No proposal, bounty or spend at that index.
|
|
19787
20937
|
**/
|
|
@@ -19869,7 +21019,6 @@ export type PalletContractsStorageDeletionQueueManager = { insertCounter: number
|
|
|
19869
21019
|
export type PalletContractsSchedule = {
|
|
19870
21020
|
limits: PalletContractsScheduleLimits;
|
|
19871
21021
|
instructionWeights: PalletContractsScheduleInstructionWeights;
|
|
19872
|
-
hostFnWeights: PalletContractsScheduleHostFnWeights;
|
|
19873
21022
|
};
|
|
19874
21023
|
|
|
19875
21024
|
export type PalletContractsScheduleLimits = {
|
|
@@ -19878,76 +21027,12 @@ export type PalletContractsScheduleLimits = {
|
|
|
19878
21027
|
subjectLen: number;
|
|
19879
21028
|
payloadLen: number;
|
|
19880
21029
|
runtimeMemory: number;
|
|
21030
|
+
validatorRuntimeMemory: number;
|
|
21031
|
+
eventRefTime: bigint;
|
|
19881
21032
|
};
|
|
19882
21033
|
|
|
19883
21034
|
export type PalletContractsScheduleInstructionWeights = { base: number };
|
|
19884
21035
|
|
|
19885
|
-
export type PalletContractsScheduleHostFnWeights = {
|
|
19886
|
-
caller: SpWeightsWeightV2Weight;
|
|
19887
|
-
isContract: SpWeightsWeightV2Weight;
|
|
19888
|
-
codeHash: SpWeightsWeightV2Weight;
|
|
19889
|
-
ownCodeHash: SpWeightsWeightV2Weight;
|
|
19890
|
-
callerIsOrigin: SpWeightsWeightV2Weight;
|
|
19891
|
-
callerIsRoot: SpWeightsWeightV2Weight;
|
|
19892
|
-
address: SpWeightsWeightV2Weight;
|
|
19893
|
-
gasLeft: SpWeightsWeightV2Weight;
|
|
19894
|
-
balance: SpWeightsWeightV2Weight;
|
|
19895
|
-
valueTransferred: SpWeightsWeightV2Weight;
|
|
19896
|
-
minimumBalance: SpWeightsWeightV2Weight;
|
|
19897
|
-
blockNumber: SpWeightsWeightV2Weight;
|
|
19898
|
-
now: SpWeightsWeightV2Weight;
|
|
19899
|
-
weightToFee: SpWeightsWeightV2Weight;
|
|
19900
|
-
input: SpWeightsWeightV2Weight;
|
|
19901
|
-
inputPerByte: SpWeightsWeightV2Weight;
|
|
19902
|
-
rReturn: SpWeightsWeightV2Weight;
|
|
19903
|
-
returnPerByte: SpWeightsWeightV2Weight;
|
|
19904
|
-
terminate: SpWeightsWeightV2Weight;
|
|
19905
|
-
random: SpWeightsWeightV2Weight;
|
|
19906
|
-
depositEvent: SpWeightsWeightV2Weight;
|
|
19907
|
-
depositEventPerTopic: SpWeightsWeightV2Weight;
|
|
19908
|
-
depositEventPerByte: SpWeightsWeightV2Weight;
|
|
19909
|
-
debugMessage: SpWeightsWeightV2Weight;
|
|
19910
|
-
debugMessagePerByte: SpWeightsWeightV2Weight;
|
|
19911
|
-
setStorage: SpWeightsWeightV2Weight;
|
|
19912
|
-
setStoragePerNewByte: SpWeightsWeightV2Weight;
|
|
19913
|
-
setStoragePerOldByte: SpWeightsWeightV2Weight;
|
|
19914
|
-
setCodeHash: SpWeightsWeightV2Weight;
|
|
19915
|
-
clearStorage: SpWeightsWeightV2Weight;
|
|
19916
|
-
clearStoragePerByte: SpWeightsWeightV2Weight;
|
|
19917
|
-
containsStorage: SpWeightsWeightV2Weight;
|
|
19918
|
-
containsStoragePerByte: SpWeightsWeightV2Weight;
|
|
19919
|
-
getStorage: SpWeightsWeightV2Weight;
|
|
19920
|
-
getStoragePerByte: SpWeightsWeightV2Weight;
|
|
19921
|
-
takeStorage: SpWeightsWeightV2Weight;
|
|
19922
|
-
takeStoragePerByte: SpWeightsWeightV2Weight;
|
|
19923
|
-
transfer: SpWeightsWeightV2Weight;
|
|
19924
|
-
call: SpWeightsWeightV2Weight;
|
|
19925
|
-
delegateCall: SpWeightsWeightV2Weight;
|
|
19926
|
-
callTransferSurcharge: SpWeightsWeightV2Weight;
|
|
19927
|
-
callPerClonedByte: SpWeightsWeightV2Weight;
|
|
19928
|
-
instantiate: SpWeightsWeightV2Weight;
|
|
19929
|
-
instantiateTransferSurcharge: SpWeightsWeightV2Weight;
|
|
19930
|
-
instantiatePerInputByte: SpWeightsWeightV2Weight;
|
|
19931
|
-
instantiatePerSaltByte: SpWeightsWeightV2Weight;
|
|
19932
|
-
hashSha2256: SpWeightsWeightV2Weight;
|
|
19933
|
-
hashSha2256PerByte: SpWeightsWeightV2Weight;
|
|
19934
|
-
hashKeccak256: SpWeightsWeightV2Weight;
|
|
19935
|
-
hashKeccak256PerByte: SpWeightsWeightV2Weight;
|
|
19936
|
-
hashBlake2256: SpWeightsWeightV2Weight;
|
|
19937
|
-
hashBlake2256PerByte: SpWeightsWeightV2Weight;
|
|
19938
|
-
hashBlake2128: SpWeightsWeightV2Weight;
|
|
19939
|
-
hashBlake2128PerByte: SpWeightsWeightV2Weight;
|
|
19940
|
-
ecdsaRecover: SpWeightsWeightV2Weight;
|
|
19941
|
-
ecdsaToEthAddress: SpWeightsWeightV2Weight;
|
|
19942
|
-
sr25519Verify: SpWeightsWeightV2Weight;
|
|
19943
|
-
sr25519VerifyPerByte: SpWeightsWeightV2Weight;
|
|
19944
|
-
reentranceCount: SpWeightsWeightV2Weight;
|
|
19945
|
-
accountReentranceCount: SpWeightsWeightV2Weight;
|
|
19946
|
-
instantiationNonce: SpWeightsWeightV2Weight;
|
|
19947
|
-
lockDelegateDependency: SpWeightsWeightV2Weight;
|
|
19948
|
-
unlockDelegateDependency: SpWeightsWeightV2Weight;
|
|
19949
|
-
};
|
|
19950
|
-
|
|
19951
21036
|
export type PalletContractsEnvironment = {
|
|
19952
21037
|
accountId: PalletContractsEnvironmentType;
|
|
19953
21038
|
balance: PalletContractsEnvironmentTypeU128;
|
|
@@ -20078,6 +21163,10 @@ export type PalletContractsError =
|
|
|
20078
21163
|
* contract code execution which is not supported.
|
|
20079
21164
|
**/
|
|
20080
21165
|
| 'ReentranceDenied'
|
|
21166
|
+
/**
|
|
21167
|
+
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
21168
|
+
**/
|
|
21169
|
+
| 'StateChangeDenied'
|
|
20081
21170
|
/**
|
|
20082
21171
|
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
20083
21172
|
**/
|
|
@@ -20109,7 +21198,7 @@ export type PalletContractsError =
|
|
|
20109
21198
|
**/
|
|
20110
21199
|
| 'CodeRejected'
|
|
20111
21200
|
/**
|
|
20112
|
-
* An
|
|
21201
|
+
* An indeterministic code was used in a context where this is not permitted.
|
|
20113
21202
|
**/
|
|
20114
21203
|
| 'Indeterministic'
|
|
20115
21204
|
/**
|
|
@@ -20135,7 +21224,11 @@ export type PalletContractsError =
|
|
|
20135
21224
|
/**
|
|
20136
21225
|
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
20137
21226
|
**/
|
|
20138
|
-
| 'CannotAddSelfAsDelegateDependency'
|
|
21227
|
+
| 'CannotAddSelfAsDelegateDependency'
|
|
21228
|
+
/**
|
|
21229
|
+
* Can not add more data to transient storage.
|
|
21230
|
+
**/
|
|
21231
|
+
| 'OutOfTransientStorage';
|
|
20139
21232
|
|
|
20140
21233
|
/**
|
|
20141
21234
|
* Error for the Sudo pallet.
|
|
@@ -20172,7 +21265,14 @@ export type PalletIdentityRegistration = {
|
|
|
20172
21265
|
|
|
20173
21266
|
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
|
|
20174
21267
|
|
|
20175
|
-
export type PalletIdentityAuthorityProperties = {
|
|
21268
|
+
export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
|
|
21269
|
+
|
|
21270
|
+
export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
|
|
21271
|
+
|
|
21272
|
+
export type PalletIdentityProvider =
|
|
21273
|
+
| { type: 'Allocation' }
|
|
21274
|
+
| { type: 'AuthorityDeposit'; value: bigint }
|
|
21275
|
+
| { type: 'System' };
|
|
20176
21276
|
|
|
20177
21277
|
/**
|
|
20178
21278
|
* The `Error` enum of this pallet.
|
|
@@ -20281,7 +21381,24 @@ export type PalletIdentityError =
|
|
|
20281
21381
|
/**
|
|
20282
21382
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
20283
21383
|
**/
|
|
20284
|
-
| 'NotExpired'
|
|
21384
|
+
| 'NotExpired'
|
|
21385
|
+
/**
|
|
21386
|
+
* The username cannot be removed because it's still in the grace period.
|
|
21387
|
+
**/
|
|
21388
|
+
| 'TooEarly'
|
|
21389
|
+
/**
|
|
21390
|
+
* The username cannot be removed because it is not unbinding.
|
|
21391
|
+
**/
|
|
21392
|
+
| 'NotUnbinding'
|
|
21393
|
+
/**
|
|
21394
|
+
* The username cannot be unbound because it is already unbinding.
|
|
21395
|
+
**/
|
|
21396
|
+
| 'AlreadyUnbinding'
|
|
21397
|
+
/**
|
|
21398
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
21399
|
+
* trying to unbind a username provided by the system).
|
|
21400
|
+
**/
|
|
21401
|
+
| 'InsufficientPrivileges';
|
|
20285
21402
|
|
|
20286
21403
|
export type PalletSocietyMemberRecord = {
|
|
20287
21404
|
rank: number;
|
|
@@ -20619,8 +21736,6 @@ export type PalletPreimageRequestStatus =
|
|
|
20619
21736
|
};
|
|
20620
21737
|
};
|
|
20621
21738
|
|
|
20622
|
-
export type FrameSupportTokensFungibleHoldConsideration = bigint;
|
|
20623
|
-
|
|
20624
21739
|
/**
|
|
20625
21740
|
* The `Error` enum of this pallet.
|
|
20626
21741
|
**/
|
|
@@ -20786,7 +21901,8 @@ export type PalletBountiesBountyStatus =
|
|
|
20786
21901
|
| { type: 'Funded' }
|
|
20787
21902
|
| { type: 'CuratorProposed'; value: { curator: AccountId32 } }
|
|
20788
21903
|
| { type: 'Active'; value: { curator: AccountId32; updateDue: number } }
|
|
20789
|
-
| { type: 'PendingPayout'; value: { curator: AccountId32; beneficiary: AccountId32; unlockAt: number } }
|
|
21904
|
+
| { type: 'PendingPayout'; value: { curator: AccountId32; beneficiary: AccountId32; unlockAt: number } }
|
|
21905
|
+
| { type: 'ApprovedWithCurator'; value: { curator: AccountId32 } };
|
|
20790
21906
|
|
|
20791
21907
|
/**
|
|
20792
21908
|
* The `Error` enum of this pallet.
|
|
@@ -21010,20 +22126,36 @@ export type PalletAssetsError =
|
|
|
21010
22126
|
/**
|
|
21011
22127
|
* Callback action resulted in error
|
|
21012
22128
|
**/
|
|
21013
|
-
| 'CallbackFailed'
|
|
22129
|
+
| 'CallbackFailed'
|
|
22130
|
+
/**
|
|
22131
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
22132
|
+
**/
|
|
22133
|
+
| 'BadAssetId';
|
|
21014
22134
|
|
|
21015
22135
|
/**
|
|
21016
22136
|
* The `Error` enum of this pallet.
|
|
21017
22137
|
**/
|
|
21018
22138
|
export type PalletBeefyError =
|
|
21019
22139
|
/**
|
|
21020
|
-
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
22140
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
22141
|
+
**/
|
|
22142
|
+
| 'InvalidKeyOwnershipProof'
|
|
22143
|
+
/**
|
|
22144
|
+
* A double voting proof provided as part of an equivocation report is invalid.
|
|
22145
|
+
**/
|
|
22146
|
+
| 'InvalidDoubleVotingProof'
|
|
22147
|
+
/**
|
|
22148
|
+
* A fork voting proof provided as part of an equivocation report is invalid.
|
|
22149
|
+
**/
|
|
22150
|
+
| 'InvalidForkVotingProof'
|
|
22151
|
+
/**
|
|
22152
|
+
* A future block voting proof provided as part of an equivocation report is invalid.
|
|
21021
22153
|
**/
|
|
21022
|
-
| '
|
|
22154
|
+
| 'InvalidFutureBlockVotingProof'
|
|
21023
22155
|
/**
|
|
21024
|
-
*
|
|
22156
|
+
* The session of the equivocation proof is invalid
|
|
21025
22157
|
**/
|
|
21026
|
-
| '
|
|
22158
|
+
| 'InvalidEquivocationProofSession'
|
|
21027
22159
|
/**
|
|
21028
22160
|
* A given equivocation report is valid but already previously reported.
|
|
21029
22161
|
**/
|
|
@@ -21146,7 +22278,7 @@ export type PalletNisError =
|
|
|
21146
22278
|
**/
|
|
21147
22279
|
| 'Throttled'
|
|
21148
22280
|
/**
|
|
21149
|
-
* The operation would result in a receipt worth an
|
|
22281
|
+
* The operation would result in a receipt worth an insignificant value.
|
|
21150
22282
|
**/
|
|
21151
22283
|
| 'MakesDust'
|
|
21152
22284
|
/**
|
|
@@ -21666,7 +22798,7 @@ export type PalletTransactionStorageError =
|
|
|
21666
22798
|
**/
|
|
21667
22799
|
| 'MissingProof'
|
|
21668
22800
|
/**
|
|
21669
|
-
* Unable to verify proof
|
|
22801
|
+
* Unable to verify proof because state data is missing.
|
|
21670
22802
|
**/
|
|
21671
22803
|
| 'MissingStateData'
|
|
21672
22804
|
/**
|
|
@@ -21840,7 +22972,11 @@ export type PalletReferendaError =
|
|
|
21840
22972
|
/**
|
|
21841
22973
|
* The preimage does not exist.
|
|
21842
22974
|
**/
|
|
21843
|
-
| 'PreimageNotExist'
|
|
22975
|
+
| 'PreimageNotExist'
|
|
22976
|
+
/**
|
|
22977
|
+
* The preimage is stored with a different length than the one provided.
|
|
22978
|
+
**/
|
|
22979
|
+
| 'PreimageStoredWithDifferentLength';
|
|
21844
22980
|
|
|
21845
22981
|
/**
|
|
21846
22982
|
* The `Error` enum of this pallet.
|
|
@@ -22244,14 +23380,32 @@ export type PalletNominationPoolsError =
|
|
|
22244
23380
|
/**
|
|
22245
23381
|
* No imbalance in the ED deposit for the pool.
|
|
22246
23382
|
**/
|
|
22247
|
-
| { name: 'NothingToAdjust' }
|
|
23383
|
+
| { name: 'NothingToAdjust' }
|
|
23384
|
+
/**
|
|
23385
|
+
* No slash pending that can be applied to the member.
|
|
23386
|
+
**/
|
|
23387
|
+
| { name: 'NothingToSlash' }
|
|
23388
|
+
/**
|
|
23389
|
+
* The pool or member delegation has already migrated to delegate stake.
|
|
23390
|
+
**/
|
|
23391
|
+
| { name: 'AlreadyMigrated' }
|
|
23392
|
+
/**
|
|
23393
|
+
* The pool or member delegation has not migrated yet to delegate stake.
|
|
23394
|
+
**/
|
|
23395
|
+
| { name: 'NotMigrated' }
|
|
23396
|
+
/**
|
|
23397
|
+
* This call is not allowed in the current state of the pallet.
|
|
23398
|
+
**/
|
|
23399
|
+
| { name: 'NotSupported' };
|
|
22248
23400
|
|
|
22249
23401
|
export type PalletNominationPoolsDefensiveError =
|
|
22250
23402
|
| 'NotEnoughSpaceInUnbondPool'
|
|
22251
23403
|
| 'PoolNotFound'
|
|
22252
23404
|
| 'RewardPoolNotFound'
|
|
22253
23405
|
| 'SubPoolsNotFound'
|
|
22254
|
-
| 'BondedStashKilledPrematurely'
|
|
23406
|
+
| 'BondedStashKilledPrematurely'
|
|
23407
|
+
| 'DelegationUnsupported'
|
|
23408
|
+
| 'SlashNotApplied';
|
|
22255
23409
|
|
|
22256
23410
|
export type PalletReferendaReferendumInfoTally =
|
|
22257
23411
|
| { type: 'Ongoing'; value: PalletReferendaReferendumStatusTally }
|
|
@@ -22320,7 +23474,11 @@ export type PalletRankedCollectiveError =
|
|
|
22320
23474
|
/**
|
|
22321
23475
|
* The new member to exchange is the same as the old member
|
|
22322
23476
|
**/
|
|
22323
|
-
| 'SameMember'
|
|
23477
|
+
| 'SameMember'
|
|
23478
|
+
/**
|
|
23479
|
+
* The max member count for the rank has been reached.
|
|
23480
|
+
**/
|
|
23481
|
+
| 'TooManyMembers';
|
|
22324
23482
|
|
|
22325
23483
|
export type PalletAssetConversionPoolInfo = { lpToken: number };
|
|
22326
23484
|
|
|
@@ -22597,7 +23755,7 @@ export type PalletBrokerStatusRecord = {
|
|
|
22597
23755
|
export type PalletBrokerSaleInfoRecord = {
|
|
22598
23756
|
saleStart: number;
|
|
22599
23757
|
leadinLength: number;
|
|
22600
|
-
|
|
23758
|
+
endPrice: bigint;
|
|
22601
23759
|
regionBegin: number;
|
|
22602
23760
|
regionEnd: number;
|
|
22603
23761
|
idealCoresSold: number;
|
|
@@ -22607,15 +23765,15 @@ export type PalletBrokerSaleInfoRecord = {
|
|
|
22607
23765
|
coresSold: number;
|
|
22608
23766
|
};
|
|
22609
23767
|
|
|
22610
|
-
export type
|
|
23768
|
+
export type PalletBrokerPotentialRenewalId = { core: number; when: number };
|
|
22611
23769
|
|
|
22612
|
-
export type
|
|
23770
|
+
export type PalletBrokerPotentialRenewalRecord = { price: bigint; completion: PalletBrokerCompletionStatus };
|
|
22613
23771
|
|
|
22614
23772
|
export type PalletBrokerCompletionStatus =
|
|
22615
23773
|
| { type: 'Partial'; value: PalletBrokerCoreMask }
|
|
22616
23774
|
| { type: 'Complete'; value: Array<PalletBrokerScheduleItem> };
|
|
22617
23775
|
|
|
22618
|
-
export type PalletBrokerRegionRecord = { end: number; owner
|
|
23776
|
+
export type PalletBrokerRegionRecord = { end: number; owner?: AccountId32 | undefined; paid?: bigint | undefined };
|
|
22619
23777
|
|
|
22620
23778
|
export type PalletBrokerContributionRecord = { length: number; payee: AccountId32 };
|
|
22621
23779
|
|
|
@@ -22627,6 +23785,8 @@ export type PalletBrokerInstaPoolHistoryRecord = {
|
|
|
22627
23785
|
maybePayout?: bigint | undefined;
|
|
22628
23786
|
};
|
|
22629
23787
|
|
|
23788
|
+
export type PalletBrokerAutoRenewalRecord = { core: number; task: number; nextRenewal: number };
|
|
23789
|
+
|
|
22630
23790
|
/**
|
|
22631
23791
|
* The `Error` enum of this pallet.
|
|
22632
23792
|
**/
|
|
@@ -22745,7 +23905,31 @@ export type PalletBrokerError =
|
|
|
22745
23905
|
/**
|
|
22746
23906
|
* The configuration could not be applied because it is invalid.
|
|
22747
23907
|
**/
|
|
22748
|
-
| 'InvalidConfig'
|
|
23908
|
+
| 'InvalidConfig'
|
|
23909
|
+
/**
|
|
23910
|
+
* The revenue must be claimed for 1 or more timeslices.
|
|
23911
|
+
**/
|
|
23912
|
+
| 'NoClaimTimeslices'
|
|
23913
|
+
/**
|
|
23914
|
+
* The caller doesn't have the permission to enable or disable auto-renewal.
|
|
23915
|
+
**/
|
|
23916
|
+
| 'NoPermission'
|
|
23917
|
+
/**
|
|
23918
|
+
* We reached the limit for auto-renewals.
|
|
23919
|
+
**/
|
|
23920
|
+
| 'TooManyAutoRenewals'
|
|
23921
|
+
/**
|
|
23922
|
+
* Only cores which are assigned to a task can be auto-renewed.
|
|
23923
|
+
**/
|
|
23924
|
+
| 'NonTaskAutoRenewal'
|
|
23925
|
+
/**
|
|
23926
|
+
* Failed to get the sovereign account of a task.
|
|
23927
|
+
**/
|
|
23928
|
+
| 'SovereignAccountNotFound'
|
|
23929
|
+
/**
|
|
23930
|
+
* Attempted to disable auto-renewal for a core that didn't have it enabled.
|
|
23931
|
+
**/
|
|
23932
|
+
| 'AutoRenewalNotEnabled';
|
|
22749
23933
|
|
|
22750
23934
|
/**
|
|
22751
23935
|
* The `Error` enum of this pallet.
|
|
@@ -22756,6 +23940,244 @@ export type PalletExampleTasksError =
|
|
|
22756
23940
|
**/
|
|
22757
23941
|
'NotFound';
|
|
22758
23942
|
|
|
23943
|
+
/**
|
|
23944
|
+
* The `Error` enum of this pallet.
|
|
23945
|
+
**/
|
|
23946
|
+
export type PalletAssetConversionOpsError =
|
|
23947
|
+
/**
|
|
23948
|
+
* Provided asset pair is not supported for pool.
|
|
23949
|
+
**/
|
|
23950
|
+
| 'InvalidAssetPair'
|
|
23951
|
+
/**
|
|
23952
|
+
* The pool doesn't exist.
|
|
23953
|
+
**/
|
|
23954
|
+
| 'PoolNotFound'
|
|
23955
|
+
/**
|
|
23956
|
+
* Pool's balance cannot be zero.
|
|
23957
|
+
**/
|
|
23958
|
+
| 'ZeroBalance'
|
|
23959
|
+
/**
|
|
23960
|
+
* Indicates a partial transfer of balance to the new account during a migration.
|
|
23961
|
+
**/
|
|
23962
|
+
| 'PartialTransfer';
|
|
23963
|
+
|
|
23964
|
+
export type PalletReviveWasmCodeInfo = {
|
|
23965
|
+
owner: AccountId32;
|
|
23966
|
+
deposit: bigint;
|
|
23967
|
+
refcount: bigint;
|
|
23968
|
+
codeLen: number;
|
|
23969
|
+
apiVersion: number;
|
|
23970
|
+
behaviourVersion: number;
|
|
23971
|
+
};
|
|
23972
|
+
|
|
23973
|
+
export type PalletReviveStorageContractInfo = {
|
|
23974
|
+
trieId: Bytes;
|
|
23975
|
+
codeHash: H256;
|
|
23976
|
+
storageBytes: number;
|
|
23977
|
+
storageItems: number;
|
|
23978
|
+
storageByteDeposit: bigint;
|
|
23979
|
+
storageItemDeposit: bigint;
|
|
23980
|
+
storageBaseDeposit: bigint;
|
|
23981
|
+
delegateDependencies: Array<[H256, bigint]>;
|
|
23982
|
+
immutableDataLen: number;
|
|
23983
|
+
};
|
|
23984
|
+
|
|
23985
|
+
export type PalletReviveStorageDeletionQueueManager = { insertCounter: number; deleteCounter: number };
|
|
23986
|
+
|
|
23987
|
+
/**
|
|
23988
|
+
* The `Error` enum of this pallet.
|
|
23989
|
+
**/
|
|
23990
|
+
export type PalletReviveError =
|
|
23991
|
+
/**
|
|
23992
|
+
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
23993
|
+
**/
|
|
23994
|
+
| 'InvalidSchedule'
|
|
23995
|
+
/**
|
|
23996
|
+
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
23997
|
+
**/
|
|
23998
|
+
| 'InvalidCallFlags'
|
|
23999
|
+
/**
|
|
24000
|
+
* The executed contract exhausted its gas limit.
|
|
24001
|
+
**/
|
|
24002
|
+
| 'OutOfGas'
|
|
24003
|
+
/**
|
|
24004
|
+
* Performing the requested transfer failed. Probably because there isn't enough
|
|
24005
|
+
* free balance in the sender's account.
|
|
24006
|
+
**/
|
|
24007
|
+
| 'TransferFailed'
|
|
24008
|
+
/**
|
|
24009
|
+
* Performing a call was denied because the calling depth reached the limit
|
|
24010
|
+
* of what is specified in the schedule.
|
|
24011
|
+
**/
|
|
24012
|
+
| 'MaxCallDepthReached'
|
|
24013
|
+
/**
|
|
24014
|
+
* No contract was found at the specified address.
|
|
24015
|
+
**/
|
|
24016
|
+
| 'ContractNotFound'
|
|
24017
|
+
/**
|
|
24018
|
+
* No code could be found at the supplied code hash.
|
|
24019
|
+
**/
|
|
24020
|
+
| 'CodeNotFound'
|
|
24021
|
+
/**
|
|
24022
|
+
* No code info could be found at the supplied code hash.
|
|
24023
|
+
**/
|
|
24024
|
+
| 'CodeInfoNotFound'
|
|
24025
|
+
/**
|
|
24026
|
+
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
24027
|
+
**/
|
|
24028
|
+
| 'OutOfBounds'
|
|
24029
|
+
/**
|
|
24030
|
+
* Input passed to a contract API function failed to decode as expected type.
|
|
24031
|
+
**/
|
|
24032
|
+
| 'DecodingFailed'
|
|
24033
|
+
/**
|
|
24034
|
+
* Contract trapped during execution.
|
|
24035
|
+
**/
|
|
24036
|
+
| 'ContractTrapped'
|
|
24037
|
+
/**
|
|
24038
|
+
* The size defined in `T::MaxValueSize` was exceeded.
|
|
24039
|
+
**/
|
|
24040
|
+
| 'ValueTooLarge'
|
|
24041
|
+
/**
|
|
24042
|
+
* Termination of a contract is not allowed while the contract is already
|
|
24043
|
+
* on the call stack. Can be triggered by `seal_terminate`.
|
|
24044
|
+
**/
|
|
24045
|
+
| 'TerminatedWhileReentrant'
|
|
24046
|
+
/**
|
|
24047
|
+
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
|
24048
|
+
**/
|
|
24049
|
+
| 'InputForwarded'
|
|
24050
|
+
/**
|
|
24051
|
+
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
24052
|
+
**/
|
|
24053
|
+
| 'TooManyTopics'
|
|
24054
|
+
/**
|
|
24055
|
+
* The chain does not provide a chain extension. Calling the chain extension results
|
|
24056
|
+
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
24057
|
+
* is rejected.
|
|
24058
|
+
**/
|
|
24059
|
+
| 'NoChainExtension'
|
|
24060
|
+
/**
|
|
24061
|
+
* Failed to decode the XCM program.
|
|
24062
|
+
**/
|
|
24063
|
+
| 'XcmDecodeFailed'
|
|
24064
|
+
/**
|
|
24065
|
+
* A contract with the same AccountId already exists.
|
|
24066
|
+
**/
|
|
24067
|
+
| 'DuplicateContract'
|
|
24068
|
+
/**
|
|
24069
|
+
* A contract self destructed in its constructor.
|
|
24070
|
+
*
|
|
24071
|
+
* This can be triggered by a call to `seal_terminate`.
|
|
24072
|
+
**/
|
|
24073
|
+
| 'TerminatedInConstructor'
|
|
24074
|
+
/**
|
|
24075
|
+
* A call tried to invoke a contract that is flagged as non-reentrant.
|
|
24076
|
+
**/
|
|
24077
|
+
| 'ReentranceDenied'
|
|
24078
|
+
/**
|
|
24079
|
+
* A contract called into the runtime which then called back into this pallet.
|
|
24080
|
+
**/
|
|
24081
|
+
| 'ReenteredPallet'
|
|
24082
|
+
/**
|
|
24083
|
+
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
24084
|
+
**/
|
|
24085
|
+
| 'StateChangeDenied'
|
|
24086
|
+
/**
|
|
24087
|
+
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
24088
|
+
**/
|
|
24089
|
+
| 'StorageDepositNotEnoughFunds'
|
|
24090
|
+
/**
|
|
24091
|
+
* More storage was created than allowed by the storage deposit limit.
|
|
24092
|
+
**/
|
|
24093
|
+
| 'StorageDepositLimitExhausted'
|
|
24094
|
+
/**
|
|
24095
|
+
* Code removal was denied because the code is still in use by at least one contract.
|
|
24096
|
+
**/
|
|
24097
|
+
| 'CodeInUse'
|
|
24098
|
+
/**
|
|
24099
|
+
* The contract ran to completion but decided to revert its storage changes.
|
|
24100
|
+
* Please note that this error is only returned from extrinsics. When called directly
|
|
24101
|
+
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
|
24102
|
+
* to determine whether a reversion has taken place.
|
|
24103
|
+
**/
|
|
24104
|
+
| 'ContractReverted'
|
|
24105
|
+
/**
|
|
24106
|
+
* The contract failed to compile or is missing the correct entry points.
|
|
24107
|
+
*
|
|
24108
|
+
* A more detailed error can be found on the node console if debug messages are enabled
|
|
24109
|
+
* by supplying `-lruntime::revive=debug`.
|
|
24110
|
+
**/
|
|
24111
|
+
| 'CodeRejected'
|
|
24112
|
+
/**
|
|
24113
|
+
* The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
|
|
24114
|
+
**/
|
|
24115
|
+
| 'BlobTooLarge'
|
|
24116
|
+
/**
|
|
24117
|
+
* The static memory consumption of the blob will be larger than
|
|
24118
|
+
* [`limits::code::STATIC_MEMORY_BYTES`].
|
|
24119
|
+
**/
|
|
24120
|
+
| 'StaticMemoryTooLarge'
|
|
24121
|
+
/**
|
|
24122
|
+
* The program contains a basic block that is larger than allowed.
|
|
24123
|
+
**/
|
|
24124
|
+
| 'BasicBlockTooLarge'
|
|
24125
|
+
/**
|
|
24126
|
+
* The program contains an invalid instruction.
|
|
24127
|
+
**/
|
|
24128
|
+
| 'InvalidInstruction'
|
|
24129
|
+
/**
|
|
24130
|
+
* The contract has reached its maximum number of delegate dependencies.
|
|
24131
|
+
**/
|
|
24132
|
+
| 'MaxDelegateDependenciesReached'
|
|
24133
|
+
/**
|
|
24134
|
+
* The dependency was not found in the contract's delegate dependencies.
|
|
24135
|
+
**/
|
|
24136
|
+
| 'DelegateDependencyNotFound'
|
|
24137
|
+
/**
|
|
24138
|
+
* The contract already depends on the given delegate dependency.
|
|
24139
|
+
**/
|
|
24140
|
+
| 'DelegateDependencyAlreadyExists'
|
|
24141
|
+
/**
|
|
24142
|
+
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
24143
|
+
**/
|
|
24144
|
+
| 'CannotAddSelfAsDelegateDependency'
|
|
24145
|
+
/**
|
|
24146
|
+
* Can not add more data to transient storage.
|
|
24147
|
+
**/
|
|
24148
|
+
| 'OutOfTransientStorage'
|
|
24149
|
+
/**
|
|
24150
|
+
* The contract tried to call a syscall which does not exist (at its current api level).
|
|
24151
|
+
**/
|
|
24152
|
+
| 'InvalidSyscall'
|
|
24153
|
+
/**
|
|
24154
|
+
* Invalid storage flags were passed to one of the storage syscalls.
|
|
24155
|
+
**/
|
|
24156
|
+
| 'InvalidStorageFlags'
|
|
24157
|
+
/**
|
|
24158
|
+
* PolkaVM failed during code execution. Probably due to a malformed program.
|
|
24159
|
+
**/
|
|
24160
|
+
| 'ExecutionFailed'
|
|
24161
|
+
/**
|
|
24162
|
+
* Failed to convert a U256 to a Balance.
|
|
24163
|
+
**/
|
|
24164
|
+
| 'BalanceConversionFailed'
|
|
24165
|
+
/**
|
|
24166
|
+
* Immutable data can only be set during deploys and only be read during calls.
|
|
24167
|
+
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
24168
|
+
**/
|
|
24169
|
+
| 'InvalidImmutableAccess'
|
|
24170
|
+
/**
|
|
24171
|
+
* An `AccountID32` account tried to interact with the pallet without having a mapping.
|
|
24172
|
+
*
|
|
24173
|
+
* Call [`Pallet::map_account`] in order to create a mapping for the account.
|
|
24174
|
+
**/
|
|
24175
|
+
| 'AccountUnmapped'
|
|
24176
|
+
/**
|
|
24177
|
+
* Tried to map an account that is already mapped.
|
|
24178
|
+
**/
|
|
24179
|
+
| 'AccountAlreadyMapped';
|
|
24180
|
+
|
|
22759
24181
|
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
22760
24182
|
|
|
22761
24183
|
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
@@ -22770,7 +24192,14 @@ export type FrameSystemExtensionsCheckNonce = number;
|
|
|
22770
24192
|
|
|
22771
24193
|
export type FrameSystemExtensionsCheckWeight = {};
|
|
22772
24194
|
|
|
22773
|
-
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
24195
|
+
export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
24196
|
+
tip: bigint;
|
|
24197
|
+
assetId?: FrameSupportTokensFungibleUnionOfNativeOrWithId | undefined;
|
|
24198
|
+
};
|
|
24199
|
+
|
|
24200
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
24201
|
+
|
|
24202
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
22774
24203
|
|
|
22775
24204
|
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
22776
24205
|
|
|
@@ -22793,7 +24222,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
|
22793
24222
|
| { type: 'Custom'; value: number }
|
|
22794
24223
|
| { type: 'BadMandatory' }
|
|
22795
24224
|
| { type: 'MandatoryValidation' }
|
|
22796
|
-
| { type: 'BadSigner' }
|
|
24225
|
+
| { type: 'BadSigner' }
|
|
24226
|
+
| { type: 'IndeterminateImplicit' }
|
|
24227
|
+
| { type: 'UnknownOrigin' };
|
|
22797
24228
|
|
|
22798
24229
|
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
22799
24230
|
| { type: 'CannotLookup' }
|
|
@@ -22820,7 +24251,7 @@ export type SpStatementStoreRuntimeApiValidStatement = { maxCount: number; maxSi
|
|
|
22820
24251
|
|
|
22821
24252
|
export type SpStatementStoreRuntimeApiInvalidStatement = 'BadProof' | 'NoProof' | 'InternalError';
|
|
22822
24253
|
|
|
22823
|
-
export type
|
|
24254
|
+
export type SpRuntimeOpaqueValue = Bytes;
|
|
22824
24255
|
|
|
22825
24256
|
export type SpConsensusBabeBabeConfiguration = {
|
|
22826
24257
|
slotDuration: bigint;
|
|
@@ -22879,6 +24310,50 @@ export type PalletContractsPrimitivesCodeUploadReturnValue = { codeHash: H256; d
|
|
|
22879
24310
|
|
|
22880
24311
|
export type PalletContractsPrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed' | 'MigrationInProgress';
|
|
22881
24312
|
|
|
24313
|
+
export type PalletRevivePrimitivesContractResult = {
|
|
24314
|
+
gasConsumed: SpWeightsWeightV2Weight;
|
|
24315
|
+
gasRequired: SpWeightsWeightV2Weight;
|
|
24316
|
+
storageDeposit: PalletRevivePrimitivesStorageDeposit;
|
|
24317
|
+
debugMessage: Bytes;
|
|
24318
|
+
result: Result<PalletRevivePrimitivesExecReturnValue, DispatchError>;
|
|
24319
|
+
events?: Array<FrameSystemEventRecord> | undefined;
|
|
24320
|
+
};
|
|
24321
|
+
|
|
24322
|
+
export type PalletRevivePrimitivesExecReturnValue = { flags: PalletReviveUapiFlagsReturnFlags; data: Bytes };
|
|
24323
|
+
|
|
24324
|
+
export type PalletReviveUapiFlagsReturnFlags = { bits: number };
|
|
24325
|
+
|
|
24326
|
+
export type PalletRevivePrimitivesStorageDeposit =
|
|
24327
|
+
| { type: 'Refund'; value: bigint }
|
|
24328
|
+
| { type: 'Charge'; value: bigint };
|
|
24329
|
+
|
|
24330
|
+
export type PalletRevivePrimitivesCode = { type: 'Upload'; value: Bytes } | { type: 'Existing'; value: H256 };
|
|
24331
|
+
|
|
24332
|
+
export type PalletRevivePrimitivesContractResultInstantiateReturnValue = {
|
|
24333
|
+
gasConsumed: SpWeightsWeightV2Weight;
|
|
24334
|
+
gasRequired: SpWeightsWeightV2Weight;
|
|
24335
|
+
storageDeposit: PalletRevivePrimitivesStorageDeposit;
|
|
24336
|
+
debugMessage: Bytes;
|
|
24337
|
+
result: Result<PalletRevivePrimitivesInstantiateReturnValue, DispatchError>;
|
|
24338
|
+
events?: Array<FrameSystemEventRecord> | undefined;
|
|
24339
|
+
};
|
|
24340
|
+
|
|
24341
|
+
export type PalletRevivePrimitivesInstantiateReturnValue = {
|
|
24342
|
+
result: PalletRevivePrimitivesExecReturnValue;
|
|
24343
|
+
addr: H160;
|
|
24344
|
+
};
|
|
24345
|
+
|
|
24346
|
+
export type PalletRevivePrimitivesEthContractResult = {
|
|
24347
|
+
fee: bigint;
|
|
24348
|
+
gasRequired: SpWeightsWeightV2Weight;
|
|
24349
|
+
storageDeposit: bigint;
|
|
24350
|
+
result: Result<Bytes, DispatchError>;
|
|
24351
|
+
};
|
|
24352
|
+
|
|
24353
|
+
export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };
|
|
24354
|
+
|
|
24355
|
+
export type PalletRevivePrimitivesContractAccessError = 'DoesntExist' | 'KeyDecodingFailed';
|
|
24356
|
+
|
|
22882
24357
|
export type PalletTransactionPaymentRuntimeDispatchInfo = {
|
|
22883
24358
|
weight: SpWeightsWeightV2Weight;
|
|
22884
24359
|
class: FrameSupportDispatchDispatchClass;
|
|
@@ -22894,7 +24369,11 @@ export type PalletTransactionPaymentInclusionFee = { baseFee: bigint; lenFee: bi
|
|
|
22894
24369
|
|
|
22895
24370
|
export type SpConsensusBeefyValidatorSet = { validators: Array<SpConsensusBeefyEcdsaCryptoPublic>; id: bigint };
|
|
22896
24371
|
|
|
22897
|
-
export type
|
|
24372
|
+
export type SpConsensusBeefyForkVotingProofOpaqueValue = {
|
|
24373
|
+
vote: SpConsensusBeefyVoteMessage;
|
|
24374
|
+
ancestryProof: SpRuntimeOpaqueValue;
|
|
24375
|
+
header: Header;
|
|
24376
|
+
};
|
|
22898
24377
|
|
|
22899
24378
|
export type SpMmrPrimitivesError =
|
|
22900
24379
|
| 'InvalidNumericOp'
|
|
@@ -22910,7 +24389,7 @@ export type SpMmrPrimitivesError =
|
|
|
22910
24389
|
|
|
22911
24390
|
export type SpMmrPrimitivesEncodableOpaqueLeaf = Bytes;
|
|
22912
24391
|
|
|
22913
|
-
export type
|
|
24392
|
+
export type SpMmrPrimitivesLeafProof = { leafIndices: Array<bigint>; leafCount: bigint; items: Array<H256> };
|
|
22914
24393
|
|
|
22915
24394
|
export type SpMixnetSessionStatus = { currentIndex: number; phase: SpMixnetSessionPhase };
|
|
22916
24395
|
|
|
@@ -22981,4 +24460,6 @@ export type KitchensinkRuntimeRuntimeError =
|
|
|
22981
24460
|
| { pallet: 'SafeMode'; palletError: PalletSafeModeError }
|
|
22982
24461
|
| { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
|
|
22983
24462
|
| { pallet: 'Broker'; palletError: PalletBrokerError }
|
|
22984
|
-
| { pallet: 'TasksExample'; palletError: PalletExampleTasksError }
|
|
24463
|
+
| { pallet: 'TasksExample'; palletError: PalletExampleTasksError }
|
|
24464
|
+
| { pallet: 'AssetConversionMigration'; palletError: PalletAssetConversionOpsError }
|
|
24465
|
+
| { pallet: 'Revive'; palletError: PalletReviveError };
|