@dedot/chaintypes 0.219.0 → 0.221.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/consts.d.ts +5 -0
- package/moonbeam/errors.d.ts +8 -0
- package/moonbeam/events.d.ts +10 -1
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +24 -22
- package/moonbeam/runtime.d.ts +36 -0
- package/moonbeam/tx.d.ts +12 -34
- package/moonbeam/types.d.ts +148 -116
- package/moonbeam/view-functions.d.ts +32 -1
- package/package.json +2 -2
package/moonbeam/consts.d.ts
CHANGED
|
@@ -249,6 +249,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
249
249
|
**/
|
|
250
250
|
maxDelegationsPerDelegator: number;
|
|
251
251
|
|
|
252
|
+
/**
|
|
253
|
+
* Maximum number of scheduled delegation requests per (collator, delegator).
|
|
254
|
+
**/
|
|
255
|
+
maxScheduledRequestsPerDelegator: number;
|
|
256
|
+
|
|
252
257
|
/**
|
|
253
258
|
* Minimum stake required for any account to be a collator candidate
|
|
254
259
|
**/
|
package/moonbeam/errors.d.ts
CHANGED
|
@@ -1524,6 +1524,8 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1524
1524
|
|
|
1525
1525
|
/**
|
|
1526
1526
|
* Too many locations authorized to alias origin.
|
|
1527
|
+
*
|
|
1528
|
+
* @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
|
|
1527
1529
|
**/
|
|
1528
1530
|
TooManyAuthorizedAliases: GenericPalletError;
|
|
1529
1531
|
|
|
@@ -1537,6 +1539,12 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1537
1539
|
**/
|
|
1538
1540
|
AliasNotFound: GenericPalletError;
|
|
1539
1541
|
|
|
1542
|
+
/**
|
|
1543
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
1544
|
+
* instruction that caused the error.
|
|
1545
|
+
**/
|
|
1546
|
+
LocalExecutionIncompleteWithError: GenericPalletError;
|
|
1547
|
+
|
|
1540
1548
|
/**
|
|
1541
1549
|
* Generic pallet error
|
|
1542
1550
|
**/
|
package/moonbeam/events.d.ts
CHANGED
|
@@ -531,7 +531,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
531
531
|
>;
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
|
-
* Delegation from candidate state has been
|
|
534
|
+
* Delegation from candidate state has been removed.
|
|
535
535
|
**/
|
|
536
536
|
DelegatorLeftCandidate: GenericPalletEvent<
|
|
537
537
|
'ParachainStaking',
|
|
@@ -823,6 +823,15 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
823
823
|
{ pure: AccountId20; who: AccountId20; proxyType: MoonbeamRuntimeProxyType; disambiguationIndex: number }
|
|
824
824
|
>;
|
|
825
825
|
|
|
826
|
+
/**
|
|
827
|
+
* A pure proxy was killed by its spawner.
|
|
828
|
+
**/
|
|
829
|
+
PureKilled: GenericPalletEvent<
|
|
830
|
+
'Proxy',
|
|
831
|
+
'PureKilled',
|
|
832
|
+
{ pure: AccountId20; spawner: AccountId20; proxyType: MoonbeamRuntimeProxyType; disambiguationIndex: number }
|
|
833
|
+
>;
|
|
834
|
+
|
|
826
835
|
/**
|
|
827
836
|
* An announcement was placed to make a call in the future.
|
|
828
837
|
**/
|
package/moonbeam/index.d.ts
CHANGED
package/moonbeam/query.d.ts
CHANGED
|
@@ -761,16 +761,32 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
761
761
|
>;
|
|
762
762
|
|
|
763
763
|
/**
|
|
764
|
-
* Stores outstanding delegation requests per collator.
|
|
764
|
+
* Stores outstanding delegation requests per collator & delegator.
|
|
765
765
|
*
|
|
766
|
-
*
|
|
766
|
+
* Each `(collator, delegator)` pair can have up to
|
|
767
|
+
* `T::MaxScheduledRequestsPerDelegator` scheduled requests,
|
|
768
|
+
* which are always interpreted and executed in FIFO order.
|
|
769
|
+
*
|
|
770
|
+
* @param {[AccountId20Like, AccountId20Like]} arg
|
|
767
771
|
* @param {Callback<Array<PalletParachainStakingDelegationRequestsScheduledRequest>> =} callback
|
|
768
772
|
**/
|
|
769
773
|
delegationScheduledRequests: GenericStorageQuery<
|
|
770
|
-
(arg: AccountId20Like) => Array<PalletParachainStakingDelegationRequestsScheduledRequest>,
|
|
771
|
-
AccountId20
|
|
774
|
+
(arg: [AccountId20Like, AccountId20Like]) => Array<PalletParachainStakingDelegationRequestsScheduledRequest>,
|
|
775
|
+
[AccountId20, AccountId20]
|
|
772
776
|
>;
|
|
773
777
|
|
|
778
|
+
/**
|
|
779
|
+
* Tracks how many delegators have at least one pending delegation request for a given collator.
|
|
780
|
+
*
|
|
781
|
+
* This is used to enforce that the number of delegators with pending requests per collator
|
|
782
|
+
* does not exceed `MaxTopDelegationsPerCandidate + MaxBottomDelegationsPerCandidate` without
|
|
783
|
+
* having to iterate over all scheduled requests.
|
|
784
|
+
*
|
|
785
|
+
* @param {AccountId20Like} arg
|
|
786
|
+
* @param {Callback<number> =} callback
|
|
787
|
+
**/
|
|
788
|
+
delegationScheduledRequestsPerCollator: GenericStorageQuery<(arg: AccountId20Like) => number, AccountId20>;
|
|
789
|
+
|
|
774
790
|
/**
|
|
775
791
|
* Stores auto-compounding configuration per collator.
|
|
776
792
|
*
|
|
@@ -883,24 +899,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
883
899
|
**/
|
|
884
900
|
enableMarkingOffline: GenericStorageQuery<() => boolean>;
|
|
885
901
|
|
|
886
|
-
/**
|
|
887
|
-
* Temporary storage to track candidates that have been migrated from locks to freezes.
|
|
888
|
-
* This storage should be removed after all accounts have been migrated.
|
|
889
|
-
*
|
|
890
|
-
* @param {AccountId20Like} arg
|
|
891
|
-
* @param {Callback<[] | undefined> =} callback
|
|
892
|
-
**/
|
|
893
|
-
migratedCandidates: GenericStorageQuery<(arg: AccountId20Like) => [] | undefined, AccountId20>;
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* Temporary storage to track delegators that have been migrated from locks to freezes.
|
|
897
|
-
* This storage should be removed after all accounts have been migrated.
|
|
898
|
-
*
|
|
899
|
-
* @param {AccountId20Like} arg
|
|
900
|
-
* @param {Callback<[] | undefined> =} callback
|
|
901
|
-
**/
|
|
902
|
-
migratedDelegators: GenericStorageQuery<(arg: AccountId20Like) => [] | undefined, AccountId20>;
|
|
903
|
-
|
|
904
902
|
/**
|
|
905
903
|
* Generic pallet storage query
|
|
906
904
|
**/
|
|
@@ -936,6 +934,8 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
936
934
|
/**
|
|
937
935
|
*
|
|
938
936
|
* @param {Callback<Percent> =} callback
|
|
937
|
+
*
|
|
938
|
+
* @deprecated use `pallet::EligibleCount` instead
|
|
939
939
|
**/
|
|
940
940
|
eligibleRatio: GenericStorageQuery<() => Percent>;
|
|
941
941
|
|
|
@@ -1435,6 +1435,8 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1435
1435
|
*
|
|
1436
1436
|
* @param {H256} arg
|
|
1437
1437
|
* @param {Callback<PalletPreimageOldRequestStatus | undefined> =} callback
|
|
1438
|
+
*
|
|
1439
|
+
* @deprecated RequestStatusFor
|
|
1438
1440
|
**/
|
|
1439
1441
|
statusFor: GenericStorageQuery<(arg: H256) => PalletPreimageOldRequestStatus | undefined, H256>;
|
|
1440
1442
|
|
package/moonbeam/runtime.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ import type {
|
|
|
28
28
|
BpMessagesInboundMessageDetails,
|
|
29
29
|
SpRuntimeBlock,
|
|
30
30
|
SpRuntimeExtrinsicInclusionMode,
|
|
31
|
+
PolkadotPrimitivesVstagingCoreSelector,
|
|
32
|
+
PolkadotPrimitivesVstagingClaimQueueOffset,
|
|
31
33
|
SpCoreOpaqueMetadata,
|
|
32
34
|
SpInherentsInherentData,
|
|
33
35
|
SpInherentsCheckInherentsResult,
|
|
@@ -264,6 +266,40 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
264
266
|
**/
|
|
265
267
|
[method: string]: GenericRuntimeApiMethod;
|
|
266
268
|
};
|
|
269
|
+
/**
|
|
270
|
+
* @runtimeapi: RelayParentOffsetApi - 0x04e70521a0d3d2f8
|
|
271
|
+
**/
|
|
272
|
+
relayParentOffsetApi: {
|
|
273
|
+
/**
|
|
274
|
+
* Fetch the slot offset that is expected from the relay chain.
|
|
275
|
+
*
|
|
276
|
+
* @callname: RelayParentOffsetApi_relay_parent_offset
|
|
277
|
+
**/
|
|
278
|
+
relayParentOffset: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Generic runtime api call
|
|
282
|
+
**/
|
|
283
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* @runtimeapi: GetCoreSelectorApi - 0x695c80446b8b3d4e
|
|
287
|
+
**/
|
|
288
|
+
getCoreSelectorApi: {
|
|
289
|
+
/**
|
|
290
|
+
* Retrieve core selector and claim queue offset for the next block.
|
|
291
|
+
*
|
|
292
|
+
* @callname: GetCoreSelectorApi_core_selector
|
|
293
|
+
**/
|
|
294
|
+
coreSelector: GenericRuntimeApiMethod<
|
|
295
|
+
() => Promise<[PolkadotPrimitivesVstagingCoreSelector, PolkadotPrimitivesVstagingClaimQueueOffset]>
|
|
296
|
+
>;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Generic runtime api call
|
|
300
|
+
**/
|
|
301
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
302
|
+
};
|
|
267
303
|
/**
|
|
268
304
|
* @runtimeapi: Metadata - 0x37e397fc7c91f5e4
|
|
269
305
|
**/
|
package/moonbeam/tx.d.ts
CHANGED
|
@@ -1084,7 +1084,7 @@ export interface ChainTx<
|
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Request bond less for delegators wrt a specific collator candidate. The delegation's
|
|
1086
1086
|
* rewards for rounds while the request is pending use the reduced bonded amount.
|
|
1087
|
-
* A bond less may not be performed if
|
|
1087
|
+
* A bond less may not be performed if a revoke request is pending for the same delegation.
|
|
1088
1088
|
*
|
|
1089
1089
|
* @param {AccountId20Like} candidate
|
|
1090
1090
|
* @param {bigint} less
|
|
@@ -1255,38 +1255,6 @@ export interface ChainTx<
|
|
|
1255
1255
|
>
|
|
1256
1256
|
>;
|
|
1257
1257
|
|
|
1258
|
-
/**
|
|
1259
|
-
* Batch migrate locks to freezes for a list of accounts.
|
|
1260
|
-
*
|
|
1261
|
-
* This function allows migrating multiple accounts from the old lock-based
|
|
1262
|
-
* staking to the new freeze-based staking in a single transaction.
|
|
1263
|
-
*
|
|
1264
|
-
* Parameters:
|
|
1265
|
-
* - `accounts`: List of tuples containing (account_id, is_collator)
|
|
1266
|
-
* where is_collator indicates if the account is a collator (true) or delegator (false)
|
|
1267
|
-
*
|
|
1268
|
-
* The maximum number of accounts that can be migrated in one batch is MAX_ACCOUNTS_PER_MIGRATION_BATCH.
|
|
1269
|
-
* The batch cannot be empty.
|
|
1270
|
-
*
|
|
1271
|
-
* If 50% or more of the migration attempts are successful, the entire
|
|
1272
|
-
* extrinsic fee is refunded to incentivize successful batch migrations.
|
|
1273
|
-
* Weight is calculated based on actual successful operations performed.
|
|
1274
|
-
*
|
|
1275
|
-
* @param {Array<[AccountId20Like, boolean]>} accounts
|
|
1276
|
-
**/
|
|
1277
|
-
migrateLocksToFreezesBatch: GenericTxCall<
|
|
1278
|
-
(accounts: Array<[AccountId20Like, boolean]>) => ChainSubmittableExtrinsic<
|
|
1279
|
-
{
|
|
1280
|
-
pallet: 'ParachainStaking';
|
|
1281
|
-
palletCall: {
|
|
1282
|
-
name: 'MigrateLocksToFreezesBatch';
|
|
1283
|
-
params: { accounts: Array<[AccountId20Like, boolean]> };
|
|
1284
|
-
};
|
|
1285
|
-
},
|
|
1286
|
-
ChainKnownTypes
|
|
1287
|
-
>
|
|
1288
|
-
>;
|
|
1289
|
-
|
|
1290
1258
|
/**
|
|
1291
1259
|
* Generic pallet tx call
|
|
1292
1260
|
**/
|
|
@@ -2033,7 +2001,7 @@ export interface ChainTx<
|
|
|
2033
2001
|
* `pure` with corresponding parameters.
|
|
2034
2002
|
*
|
|
2035
2003
|
* - `spawner`: The account that originally called `pure` to create this account.
|
|
2036
|
-
* - `index`: The disambiguation index originally passed to `
|
|
2004
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
2037
2005
|
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
2038
2006
|
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
2039
2007
|
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
@@ -5136,6 +5104,8 @@ export interface ChainTx<
|
|
|
5136
5104
|
* Emits [`Event::Paid`] if successful.
|
|
5137
5105
|
*
|
|
5138
5106
|
* @param {number} index
|
|
5107
|
+
*
|
|
5108
|
+
* @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
|
|
5139
5109
|
**/
|
|
5140
5110
|
payout: GenericTxCall<
|
|
5141
5111
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -5172,6 +5142,8 @@ export interface ChainTx<
|
|
|
5172
5142
|
* Emits [`Event::SpendProcessed`] if the spend payout has succeed.
|
|
5173
5143
|
*
|
|
5174
5144
|
* @param {number} index
|
|
5145
|
+
*
|
|
5146
|
+
* @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
|
|
5175
5147
|
**/
|
|
5176
5148
|
checkStatus: GenericTxCall<
|
|
5177
5149
|
(index: number) => ChainSubmittableExtrinsic<
|
|
@@ -5376,6 +5348,8 @@ export interface ChainTx<
|
|
|
5376
5348
|
* @param {XcmVersionedLocation} beneficiary
|
|
5377
5349
|
* @param {XcmVersionedAssets} assets
|
|
5378
5350
|
* @param {number} feeAssetItem
|
|
5351
|
+
*
|
|
5352
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
|
|
5379
5353
|
**/
|
|
5380
5354
|
teleportAssets: GenericTxCall<
|
|
5381
5355
|
(
|
|
@@ -5436,6 +5410,8 @@ export interface ChainTx<
|
|
|
5436
5410
|
* @param {XcmVersionedLocation} beneficiary
|
|
5437
5411
|
* @param {XcmVersionedAssets} assets
|
|
5438
5412
|
* @param {number} feeAssetItem
|
|
5413
|
+
*
|
|
5414
|
+
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
|
|
5439
5415
|
**/
|
|
5440
5416
|
reserveTransferAssets: GenericTxCall<
|
|
5441
5417
|
(
|
|
@@ -6844,6 +6820,8 @@ export interface ChainTx<
|
|
|
6844
6820
|
*
|
|
6845
6821
|
* @param {Header} finalityTarget
|
|
6846
6822
|
* @param {BpHeaderChainJustificationGrandpaJustification} justification
|
|
6823
|
+
*
|
|
6824
|
+
* @deprecated `submit_finality_proof` will be removed in May 2024. Use `submit_finality_proof_ex` instead.
|
|
6847
6825
|
**/
|
|
6848
6826
|
submitFinalityProof: GenericTxCall<
|
|
6849
6827
|
(
|
package/moonbeam/types.d.ts
CHANGED
|
@@ -13,13 +13,13 @@ import type {
|
|
|
13
13
|
Bytes,
|
|
14
14
|
H160,
|
|
15
15
|
BytesLike,
|
|
16
|
+
Header,
|
|
16
17
|
AccountId20Like,
|
|
17
18
|
Data,
|
|
18
19
|
U256,
|
|
19
|
-
Header,
|
|
20
|
-
FixedI64,
|
|
21
|
-
Era,
|
|
22
20
|
UncheckedExtrinsic,
|
|
21
|
+
Era,
|
|
22
|
+
FixedI64,
|
|
23
23
|
} from 'dedot/codecs';
|
|
24
24
|
|
|
25
25
|
export type FrameSystemAccountInfo = {
|
|
@@ -439,7 +439,7 @@ export type PalletParachainStakingEvent =
|
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
442
|
-
* Delegation from candidate state has been
|
|
442
|
+
* Delegation from candidate state has been removed.
|
|
443
443
|
**/
|
|
444
444
|
| {
|
|
445
445
|
name: 'DelegatorLeftCandidate';
|
|
@@ -666,6 +666,18 @@ export type PalletProxyEvent =
|
|
|
666
666
|
name: 'PureCreated';
|
|
667
667
|
data: { pure: AccountId20; who: AccountId20; proxyType: MoonbeamRuntimeProxyType; disambiguationIndex: number };
|
|
668
668
|
}
|
|
669
|
+
/**
|
|
670
|
+
* A pure proxy was killed by its spawner.
|
|
671
|
+
**/
|
|
672
|
+
| {
|
|
673
|
+
name: 'PureKilled';
|
|
674
|
+
data: {
|
|
675
|
+
pure: AccountId20;
|
|
676
|
+
spawner: AccountId20;
|
|
677
|
+
proxyType: MoonbeamRuntimeProxyType;
|
|
678
|
+
disambiguationIndex: number;
|
|
679
|
+
};
|
|
680
|
+
}
|
|
669
681
|
/**
|
|
670
682
|
* An announcement was placed to make a call in the future.
|
|
671
683
|
**/
|
|
@@ -1690,6 +1702,8 @@ export type CumulusPrimitivesParachainInherentParachainInherentData = {
|
|
|
1690
1702
|
relayChainState: SpTrieStorageProof;
|
|
1691
1703
|
downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
|
|
1692
1704
|
horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
|
|
1705
|
+
relayParentDescendants: Array<Header>;
|
|
1706
|
+
collatorPeerId?: Bytes | undefined;
|
|
1693
1707
|
};
|
|
1694
1708
|
|
|
1695
1709
|
export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
@@ -2052,7 +2066,7 @@ export type PalletParachainStakingCall =
|
|
|
2052
2066
|
/**
|
|
2053
2067
|
* Request bond less for delegators wrt a specific collator candidate. The delegation's
|
|
2054
2068
|
* rewards for rounds while the request is pending use the reduced bonded amount.
|
|
2055
|
-
* A bond less may not be performed if
|
|
2069
|
+
* A bond less may not be performed if a revoke request is pending for the same delegation.
|
|
2056
2070
|
**/
|
|
2057
2071
|
| { name: 'ScheduleDelegatorBondLess'; params: { candidate: AccountId20; less: bigint } }
|
|
2058
2072
|
/**
|
|
@@ -2091,25 +2105,7 @@ export type PalletParachainStakingCall =
|
|
|
2091
2105
|
/**
|
|
2092
2106
|
* Set the inflation distribution configuration.
|
|
2093
2107
|
**/
|
|
2094
|
-
| { name: 'SetInflationDistributionConfig'; params: { new: PalletParachainStakingInflationDistributionConfig } }
|
|
2095
|
-
/**
|
|
2096
|
-
* Batch migrate locks to freezes for a list of accounts.
|
|
2097
|
-
*
|
|
2098
|
-
* This function allows migrating multiple accounts from the old lock-based
|
|
2099
|
-
* staking to the new freeze-based staking in a single transaction.
|
|
2100
|
-
*
|
|
2101
|
-
* Parameters:
|
|
2102
|
-
* - `accounts`: List of tuples containing (account_id, is_collator)
|
|
2103
|
-
* where is_collator indicates if the account is a collator (true) or delegator (false)
|
|
2104
|
-
*
|
|
2105
|
-
* The maximum number of accounts that can be migrated in one batch is MAX_ACCOUNTS_PER_MIGRATION_BATCH.
|
|
2106
|
-
* The batch cannot be empty.
|
|
2107
|
-
*
|
|
2108
|
-
* If 50% or more of the migration attempts are successful, the entire
|
|
2109
|
-
* extrinsic fee is refunded to incentivize successful batch migrations.
|
|
2110
|
-
* Weight is calculated based on actual successful operations performed.
|
|
2111
|
-
**/
|
|
2112
|
-
| { name: 'MigrateLocksToFreezesBatch'; params: { accounts: Array<[AccountId20, boolean]> } };
|
|
2108
|
+
| { name: 'SetInflationDistributionConfig'; params: { new: PalletParachainStakingInflationDistributionConfig } };
|
|
2113
2109
|
|
|
2114
2110
|
export type PalletParachainStakingCallLike =
|
|
2115
2111
|
/**
|
|
@@ -2210,7 +2206,7 @@ export type PalletParachainStakingCallLike =
|
|
|
2210
2206
|
/**
|
|
2211
2207
|
* Request bond less for delegators wrt a specific collator candidate. The delegation's
|
|
2212
2208
|
* rewards for rounds while the request is pending use the reduced bonded amount.
|
|
2213
|
-
* A bond less may not be performed if
|
|
2209
|
+
* A bond less may not be performed if a revoke request is pending for the same delegation.
|
|
2214
2210
|
**/
|
|
2215
2211
|
| { name: 'ScheduleDelegatorBondLess'; params: { candidate: AccountId20Like; less: bigint } }
|
|
2216
2212
|
/**
|
|
@@ -2249,25 +2245,7 @@ export type PalletParachainStakingCallLike =
|
|
|
2249
2245
|
/**
|
|
2250
2246
|
* Set the inflation distribution configuration.
|
|
2251
2247
|
**/
|
|
2252
|
-
| { name: 'SetInflationDistributionConfig'; params: { new: PalletParachainStakingInflationDistributionConfig } }
|
|
2253
|
-
/**
|
|
2254
|
-
* Batch migrate locks to freezes for a list of accounts.
|
|
2255
|
-
*
|
|
2256
|
-
* This function allows migrating multiple accounts from the old lock-based
|
|
2257
|
-
* staking to the new freeze-based staking in a single transaction.
|
|
2258
|
-
*
|
|
2259
|
-
* Parameters:
|
|
2260
|
-
* - `accounts`: List of tuples containing (account_id, is_collator)
|
|
2261
|
-
* where is_collator indicates if the account is a collator (true) or delegator (false)
|
|
2262
|
-
*
|
|
2263
|
-
* The maximum number of accounts that can be migrated in one batch is MAX_ACCOUNTS_PER_MIGRATION_BATCH.
|
|
2264
|
-
* The batch cannot be empty.
|
|
2265
|
-
*
|
|
2266
|
-
* If 50% or more of the migration attempts are successful, the entire
|
|
2267
|
-
* extrinsic fee is refunded to incentivize successful batch migrations.
|
|
2268
|
-
* Weight is calculated based on actual successful operations performed.
|
|
2269
|
-
**/
|
|
2270
|
-
| { name: 'MigrateLocksToFreezesBatch'; params: { accounts: Array<[AccountId20Like, boolean]> } };
|
|
2248
|
+
| { name: 'SetInflationDistributionConfig'; params: { new: PalletParachainStakingInflationDistributionConfig } };
|
|
2271
2249
|
|
|
2272
2250
|
/**
|
|
2273
2251
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -2716,7 +2694,8 @@ export type MoonbeamRuntimeOriginCaller =
|
|
|
2716
2694
|
export type FrameSupportDispatchRawOrigin =
|
|
2717
2695
|
| { type: 'Root' }
|
|
2718
2696
|
| { type: 'Signed'; value: AccountId20 }
|
|
2719
|
-
| { type: 'None' }
|
|
2697
|
+
| { type: 'None' }
|
|
2698
|
+
| { type: 'Authorized' };
|
|
2720
2699
|
|
|
2721
2700
|
export type PalletEthereumRawOrigin = { type: 'EthereumTransaction'; value: H160 };
|
|
2722
2701
|
|
|
@@ -2881,7 +2860,7 @@ export type PalletProxyCall =
|
|
|
2881
2860
|
* `pure` with corresponding parameters.
|
|
2882
2861
|
*
|
|
2883
2862
|
* - `spawner`: The account that originally called `pure` to create this account.
|
|
2884
|
-
* - `index`: The disambiguation index originally passed to `
|
|
2863
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
2885
2864
|
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
2886
2865
|
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
2887
2866
|
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
@@ -3059,7 +3038,7 @@ export type PalletProxyCallLike =
|
|
|
3059
3038
|
* `pure` with corresponding parameters.
|
|
3060
3039
|
*
|
|
3061
3040
|
* - `spawner`: The account that originally called `pure` to create this account.
|
|
3062
|
-
* - `index`: The disambiguation index originally passed to `
|
|
3041
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
3063
3042
|
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
3064
3043
|
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
3065
3044
|
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
@@ -8540,8 +8519,10 @@ export type CumulusPalletXcmEvent =
|
|
|
8540
8519
|
|
|
8541
8520
|
export type StagingXcmV5TraitsOutcome =
|
|
8542
8521
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
8543
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
8544
|
-
| { type: 'Error'; value:
|
|
8522
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: StagingXcmV5TraitsInstructionError } }
|
|
8523
|
+
| { type: 'Error'; value: StagingXcmV5TraitsInstructionError };
|
|
8524
|
+
|
|
8525
|
+
export type StagingXcmV5TraitsInstructionError = { index: number; error: XcmV5TraitsError };
|
|
8545
8526
|
|
|
8546
8527
|
/**
|
|
8547
8528
|
* The `Event` enum of this pallet
|
|
@@ -9534,6 +9515,45 @@ export type FrameSystemError =
|
|
|
9534
9515
|
**/
|
|
9535
9516
|
| 'Unauthorized';
|
|
9536
9517
|
|
|
9518
|
+
export type SpRuntimeBlock = { header: Header; extrinsics: Array<FpSelfContainedUncheckedExtrinsic> };
|
|
9519
|
+
|
|
9520
|
+
export type FpSelfContainedUncheckedExtrinsic = UncheckedExtrinsic;
|
|
9521
|
+
|
|
9522
|
+
export type CumulusPalletWeightReclaimStorageWeightReclaim = [
|
|
9523
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9524
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
9525
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
9526
|
+
FrameSystemExtensionsCheckGenesis,
|
|
9527
|
+
FrameSystemExtensionsCheckMortality,
|
|
9528
|
+
FrameSystemExtensionsCheckNonce,
|
|
9529
|
+
FrameSystemExtensionsCheckWeight,
|
|
9530
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
9531
|
+
MoonbeamRuntimeBridgeRejectObsoleteHeadersAndMessages,
|
|
9532
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
9533
|
+
];
|
|
9534
|
+
|
|
9535
|
+
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
9536
|
+
|
|
9537
|
+
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
9538
|
+
|
|
9539
|
+
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
9540
|
+
|
|
9541
|
+
export type FrameSystemExtensionsCheckGenesis = {};
|
|
9542
|
+
|
|
9543
|
+
export type FrameSystemExtensionsCheckMortality = Era;
|
|
9544
|
+
|
|
9545
|
+
export type FrameSystemExtensionsCheckNonce = number;
|
|
9546
|
+
|
|
9547
|
+
export type FrameSystemExtensionsCheckWeight = {};
|
|
9548
|
+
|
|
9549
|
+
export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
9550
|
+
|
|
9551
|
+
export type MoonbeamRuntimeBridgeRejectObsoleteHeadersAndMessages = {};
|
|
9552
|
+
|
|
9553
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
9554
|
+
|
|
9555
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
9556
|
+
|
|
9537
9557
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
9538
9558
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
9539
9559
|
paraHeadHash?: H256 | undefined;
|
|
@@ -9758,7 +9778,6 @@ export type PalletParachainStakingCollatorStatus =
|
|
|
9758
9778
|
| { type: 'Leaving'; value: number };
|
|
9759
9779
|
|
|
9760
9780
|
export type PalletParachainStakingDelegationRequestsScheduledRequest = {
|
|
9761
|
-
delegator: AccountId20;
|
|
9762
9781
|
whenExecutable: number;
|
|
9763
9782
|
action: PalletParachainStakingDelegationRequestsDelegationAction;
|
|
9764
9783
|
};
|
|
@@ -10973,113 +10992,161 @@ export type PalletXcmError =
|
|
|
10973
10992
|
* The desired destination was unreachable, generally because there is a no way of routing
|
|
10974
10993
|
* to it.
|
|
10975
10994
|
**/
|
|
10976
|
-
| 'Unreachable'
|
|
10995
|
+
| { name: 'Unreachable' }
|
|
10977
10996
|
/**
|
|
10978
10997
|
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
10979
10998
|
* Perhaps a lack of space for buffering the message.
|
|
10980
10999
|
**/
|
|
10981
|
-
| 'SendFailure'
|
|
11000
|
+
| { name: 'SendFailure' }
|
|
10982
11001
|
/**
|
|
10983
11002
|
* The message execution fails the filter.
|
|
10984
11003
|
**/
|
|
10985
|
-
| 'Filtered'
|
|
11004
|
+
| { name: 'Filtered' }
|
|
10986
11005
|
/**
|
|
10987
11006
|
* The message's weight could not be determined.
|
|
10988
11007
|
**/
|
|
10989
|
-
| 'UnweighableMessage'
|
|
11008
|
+
| { name: 'UnweighableMessage' }
|
|
10990
11009
|
/**
|
|
10991
11010
|
* The destination `Location` provided cannot be inverted.
|
|
10992
11011
|
**/
|
|
10993
|
-
| 'DestinationNotInvertible'
|
|
11012
|
+
| { name: 'DestinationNotInvertible' }
|
|
10994
11013
|
/**
|
|
10995
11014
|
* The assets to be sent are empty.
|
|
10996
11015
|
**/
|
|
10997
|
-
| 'Empty'
|
|
11016
|
+
| { name: 'Empty' }
|
|
10998
11017
|
/**
|
|
10999
11018
|
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
11000
11019
|
**/
|
|
11001
|
-
| 'CannotReanchor'
|
|
11020
|
+
| { name: 'CannotReanchor' }
|
|
11002
11021
|
/**
|
|
11003
11022
|
* Too many assets have been attempted for transfer.
|
|
11004
11023
|
**/
|
|
11005
|
-
| 'TooManyAssets'
|
|
11024
|
+
| { name: 'TooManyAssets' }
|
|
11006
11025
|
/**
|
|
11007
11026
|
* Origin is invalid for sending.
|
|
11008
11027
|
**/
|
|
11009
|
-
| 'InvalidOrigin'
|
|
11028
|
+
| { name: 'InvalidOrigin' }
|
|
11010
11029
|
/**
|
|
11011
11030
|
* The version of the `Versioned` value used is not able to be interpreted.
|
|
11012
11031
|
**/
|
|
11013
|
-
| 'BadVersion'
|
|
11032
|
+
| { name: 'BadVersion' }
|
|
11014
11033
|
/**
|
|
11015
11034
|
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
11016
11035
|
* desired version of XCM).
|
|
11017
11036
|
**/
|
|
11018
|
-
| 'BadLocation'
|
|
11037
|
+
| { name: 'BadLocation' }
|
|
11019
11038
|
/**
|
|
11020
11039
|
* The referenced subscription could not be found.
|
|
11021
11040
|
**/
|
|
11022
|
-
| 'NoSubscription'
|
|
11041
|
+
| { name: 'NoSubscription' }
|
|
11023
11042
|
/**
|
|
11024
11043
|
* The location is invalid since it already has a subscription from us.
|
|
11025
11044
|
**/
|
|
11026
|
-
| 'AlreadySubscribed'
|
|
11045
|
+
| { name: 'AlreadySubscribed' }
|
|
11027
11046
|
/**
|
|
11028
11047
|
* Could not check-out the assets for teleportation to the destination chain.
|
|
11029
11048
|
**/
|
|
11030
|
-
| 'CannotCheckOutTeleport'
|
|
11049
|
+
| { name: 'CannotCheckOutTeleport' }
|
|
11031
11050
|
/**
|
|
11032
11051
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
11033
11052
|
**/
|
|
11034
|
-
| 'LowBalance'
|
|
11053
|
+
| { name: 'LowBalance' }
|
|
11035
11054
|
/**
|
|
11036
11055
|
* The asset owner has too many locks on the asset.
|
|
11037
11056
|
**/
|
|
11038
|
-
| 'TooManyLocks'
|
|
11057
|
+
| { name: 'TooManyLocks' }
|
|
11039
11058
|
/**
|
|
11040
11059
|
* The given account is not an identifiable sovereign account for any location.
|
|
11041
11060
|
**/
|
|
11042
|
-
| 'AccountNotSovereign'
|
|
11061
|
+
| { name: 'AccountNotSovereign' }
|
|
11043
11062
|
/**
|
|
11044
11063
|
* The operation required fees to be paid which the initiator could not meet.
|
|
11045
11064
|
**/
|
|
11046
|
-
| 'FeesNotMet'
|
|
11065
|
+
| { name: 'FeesNotMet' }
|
|
11047
11066
|
/**
|
|
11048
11067
|
* A remote lock with the corresponding data could not be found.
|
|
11049
11068
|
**/
|
|
11050
|
-
| 'LockNotFound'
|
|
11069
|
+
| { name: 'LockNotFound' }
|
|
11051
11070
|
/**
|
|
11052
11071
|
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
11053
11072
|
**/
|
|
11054
|
-
| 'InUse'
|
|
11073
|
+
| { name: 'InUse' }
|
|
11055
11074
|
/**
|
|
11056
11075
|
* Invalid asset, reserve chain could not be determined for it.
|
|
11057
11076
|
**/
|
|
11058
|
-
| 'InvalidAssetUnknownReserve'
|
|
11077
|
+
| { name: 'InvalidAssetUnknownReserve' }
|
|
11059
11078
|
/**
|
|
11060
11079
|
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
11061
11080
|
**/
|
|
11062
|
-
| 'InvalidAssetUnsupportedReserve'
|
|
11081
|
+
| { name: 'InvalidAssetUnsupportedReserve' }
|
|
11063
11082
|
/**
|
|
11064
11083
|
* Too many assets with different reserve locations have been attempted for transfer.
|
|
11065
11084
|
**/
|
|
11066
|
-
| 'TooManyReserves'
|
|
11085
|
+
| { name: 'TooManyReserves' }
|
|
11067
11086
|
/**
|
|
11068
11087
|
* Local XCM execution incomplete.
|
|
11069
11088
|
**/
|
|
11070
|
-
| 'LocalExecutionIncomplete'
|
|
11089
|
+
| { name: 'LocalExecutionIncomplete' }
|
|
11071
11090
|
/**
|
|
11072
11091
|
* Too many locations authorized to alias origin.
|
|
11073
11092
|
**/
|
|
11074
|
-
| 'TooManyAuthorizedAliases'
|
|
11093
|
+
| { name: 'TooManyAuthorizedAliases' }
|
|
11075
11094
|
/**
|
|
11076
11095
|
* Expiry block number is in the past.
|
|
11077
11096
|
**/
|
|
11078
|
-
| 'ExpiresInPast'
|
|
11097
|
+
| { name: 'ExpiresInPast' }
|
|
11079
11098
|
/**
|
|
11080
11099
|
* The alias to remove authorization for was not found.
|
|
11081
11100
|
**/
|
|
11082
|
-
| 'AliasNotFound'
|
|
11101
|
+
| { name: 'AliasNotFound' }
|
|
11102
|
+
/**
|
|
11103
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
11104
|
+
* instruction that caused the error.
|
|
11105
|
+
**/
|
|
11106
|
+
| { name: 'LocalExecutionIncompleteWithError'; data: { index: number; error: PalletXcmErrorsExecutionError } };
|
|
11107
|
+
|
|
11108
|
+
export type PalletXcmErrorsExecutionError =
|
|
11109
|
+
| 'Overflow'
|
|
11110
|
+
| 'Unimplemented'
|
|
11111
|
+
| 'UntrustedReserveLocation'
|
|
11112
|
+
| 'UntrustedTeleportLocation'
|
|
11113
|
+
| 'LocationFull'
|
|
11114
|
+
| 'LocationNotInvertible'
|
|
11115
|
+
| 'BadOrigin'
|
|
11116
|
+
| 'InvalidLocation'
|
|
11117
|
+
| 'AssetNotFound'
|
|
11118
|
+
| 'FailedToTransactAsset'
|
|
11119
|
+
| 'NotWithdrawable'
|
|
11120
|
+
| 'LocationCannotHold'
|
|
11121
|
+
| 'ExceedsMaxMessageSize'
|
|
11122
|
+
| 'DestinationUnsupported'
|
|
11123
|
+
| 'Transport'
|
|
11124
|
+
| 'Unroutable'
|
|
11125
|
+
| 'UnknownClaim'
|
|
11126
|
+
| 'FailedToDecode'
|
|
11127
|
+
| 'MaxWeightInvalid'
|
|
11128
|
+
| 'NotHoldingFees'
|
|
11129
|
+
| 'TooExpensive'
|
|
11130
|
+
| 'Trap'
|
|
11131
|
+
| 'ExpectationFalse'
|
|
11132
|
+
| 'PalletNotFound'
|
|
11133
|
+
| 'NameMismatch'
|
|
11134
|
+
| 'VersionIncompatible'
|
|
11135
|
+
| 'HoldingWouldOverflow'
|
|
11136
|
+
| 'ExportError'
|
|
11137
|
+
| 'ReanchorFailed'
|
|
11138
|
+
| 'NoDeal'
|
|
11139
|
+
| 'FeesNotMet'
|
|
11140
|
+
| 'LockError'
|
|
11141
|
+
| 'NoPermission'
|
|
11142
|
+
| 'Unanchored'
|
|
11143
|
+
| 'NotDepositable'
|
|
11144
|
+
| 'TooManyAssets'
|
|
11145
|
+
| 'UnhandledXcmVersion'
|
|
11146
|
+
| 'WeightLimitReached'
|
|
11147
|
+
| 'Barrier'
|
|
11148
|
+
| 'WeightNotComputable'
|
|
11149
|
+
| 'ExceedsStackLimit';
|
|
11083
11150
|
|
|
11084
11151
|
export type PalletXcmTransactorRelayIndicesRelayChainIndices = {
|
|
11085
11152
|
staking: number;
|
|
@@ -11606,45 +11673,8 @@ export type BpXcmBridgeHubBridgeLocationsError =
|
|
|
11606
11673
|
| 'UnsupportedXcmVersion'
|
|
11607
11674
|
| 'UnsupportedLaneIdType';
|
|
11608
11675
|
|
|
11609
|
-
export type CumulusPalletWeightReclaimStorageWeightReclaim = [
|
|
11610
|
-
FrameSystemExtensionsCheckNonZeroSender,
|
|
11611
|
-
FrameSystemExtensionsCheckSpecVersion,
|
|
11612
|
-
FrameSystemExtensionsCheckTxVersion,
|
|
11613
|
-
FrameSystemExtensionsCheckGenesis,
|
|
11614
|
-
FrameSystemExtensionsCheckMortality,
|
|
11615
|
-
FrameSystemExtensionsCheckNonce,
|
|
11616
|
-
FrameSystemExtensionsCheckWeight,
|
|
11617
|
-
PalletTransactionPaymentChargeTransactionPayment,
|
|
11618
|
-
MoonbeamRuntimeBridgeRejectObsoleteHeadersAndMessages,
|
|
11619
|
-
FrameMetadataHashExtensionCheckMetadataHash,
|
|
11620
|
-
];
|
|
11621
|
-
|
|
11622
|
-
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
11623
|
-
|
|
11624
|
-
export type FrameSystemExtensionsCheckSpecVersion = {};
|
|
11625
|
-
|
|
11626
|
-
export type FrameSystemExtensionsCheckTxVersion = {};
|
|
11627
|
-
|
|
11628
|
-
export type FrameSystemExtensionsCheckGenesis = {};
|
|
11629
|
-
|
|
11630
|
-
export type FrameSystemExtensionsCheckMortality = Era;
|
|
11631
|
-
|
|
11632
|
-
export type FrameSystemExtensionsCheckNonce = number;
|
|
11633
|
-
|
|
11634
|
-
export type FrameSystemExtensionsCheckWeight = {};
|
|
11635
|
-
|
|
11636
|
-
export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
11637
|
-
|
|
11638
|
-
export type MoonbeamRuntimeBridgeRejectObsoleteHeadersAndMessages = {};
|
|
11639
|
-
|
|
11640
|
-
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
11641
|
-
|
|
11642
|
-
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
11643
|
-
|
|
11644
11676
|
export type SpRuntimeTransactionValidityTransactionSource = 'InBlock' | 'Local' | 'External';
|
|
11645
11677
|
|
|
11646
|
-
export type FpSelfContainedUncheckedExtrinsic = UncheckedExtrinsic;
|
|
11647
|
-
|
|
11648
11678
|
export type SpRuntimeTransactionValidityValidTransaction = {
|
|
11649
11679
|
priority: bigint;
|
|
11650
11680
|
requires: Array<Bytes>;
|
|
@@ -11681,10 +11711,12 @@ export type BpMessagesOutboundMessageDetails = { nonce: bigint; dispatchWeight:
|
|
|
11681
11711
|
|
|
11682
11712
|
export type BpMessagesInboundMessageDetails = { dispatchWeight: SpWeightsWeightV2Weight };
|
|
11683
11713
|
|
|
11684
|
-
export type SpRuntimeBlock = { header: Header; extrinsics: Array<FpSelfContainedUncheckedExtrinsic> };
|
|
11685
|
-
|
|
11686
11714
|
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
11687
11715
|
|
|
11716
|
+
export type PolkadotPrimitivesVstagingCoreSelector = number;
|
|
11717
|
+
|
|
11718
|
+
export type PolkadotPrimitivesVstagingClaimQueueOffset = number;
|
|
11719
|
+
|
|
11688
11720
|
export type SpCoreOpaqueMetadata = Bytes;
|
|
11689
11721
|
|
|
11690
11722
|
export type SpInherentsInherentData = { data: Array<[FixedBytes<8>, Bytes]> };
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
|
|
4
|
+
import type { MoonbeamRuntimeRuntimeCallLike, MoonbeamRuntimeProxyType } from './types.js';
|
|
4
5
|
|
|
5
|
-
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
6
|
+
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
7
|
+
/**
|
|
8
|
+
* Pallet `Proxy`'s view functions
|
|
9
|
+
**/
|
|
10
|
+
proxy: {
|
|
11
|
+
/**
|
|
12
|
+
* Check if a `RuntimeCall` is allowed for a given `ProxyType`.
|
|
13
|
+
*
|
|
14
|
+
* @param {MoonbeamRuntimeRuntimeCallLike} call
|
|
15
|
+
* @param {MoonbeamRuntimeProxyType} proxyType
|
|
16
|
+
**/
|
|
17
|
+
checkPermissions: GenericViewFunction<
|
|
18
|
+
(call: MoonbeamRuntimeRuntimeCallLike, proxyType: MoonbeamRuntimeProxyType) => Promise<boolean>
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Check if one `ProxyType` is a subset of another `ProxyType`.
|
|
23
|
+
*
|
|
24
|
+
* @param {MoonbeamRuntimeProxyType} toCheck
|
|
25
|
+
* @param {MoonbeamRuntimeProxyType} against
|
|
26
|
+
**/
|
|
27
|
+
isSuperset: GenericViewFunction<
|
|
28
|
+
(toCheck: MoonbeamRuntimeProxyType, against: MoonbeamRuntimeProxyType) => Promise<boolean>
|
|
29
|
+
>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Generic pallet view function
|
|
33
|
+
**/
|
|
34
|
+
[name: string]: GenericViewFunction;
|
|
35
|
+
};
|
|
36
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.221.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "7bbcedeab21b18b07ae4f5400d3a1f1dd93da359",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|