@polkadot/api-augment 14.3.1 → 15.0.1
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/cjs/packageInfo.js +1 -1
- package/cjs/substrate/consts.d.ts +51 -0
- package/cjs/substrate/errors.d.ts +196 -4
- package/cjs/substrate/events.d.ts +142 -20
- package/cjs/substrate/query.d.ts +42 -1
- package/cjs/substrate/runtime.d.ts +68 -2
- package/cjs/substrate/tx.d.ts +231 -13
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/substrate/consts.d.ts +51 -0
- package/substrate/errors.d.ts +196 -4
- package/substrate/events.d.ts +142 -20
- package/substrate/query.d.ts +42 -1
- package/substrate/runtime.d.ts +68 -2
- package/substrate/tx.d.ts +231 -13
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '15.0.1' };
|
|
@@ -248,6 +248,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
248
248
|
[key: string]: Codec;
|
|
249
249
|
};
|
|
250
250
|
broker: {
|
|
251
|
+
maxAutoRenewals: u32 & AugmentedConst<ApiType>;
|
|
251
252
|
/**
|
|
252
253
|
* Maximum number of legacy leases.
|
|
253
254
|
**/
|
|
@@ -1227,6 +1228,56 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1227
1228
|
**/
|
|
1228
1229
|
[key: string]: Codec;
|
|
1229
1230
|
};
|
|
1231
|
+
revive: {
|
|
1232
|
+
apiVersion: u16 & AugmentedConst<ApiType>;
|
|
1233
|
+
/**
|
|
1234
|
+
* The percentage of the storage deposit that should be held for using a code hash.
|
|
1235
|
+
* Instantiating a contract, or calling [`chain_extension::Ext::lock_delegate_dependency`]
|
|
1236
|
+
* protects the code from being removed. In order to prevent abuse these actions are
|
|
1237
|
+
* protected with a percentage of the code deposit.
|
|
1238
|
+
**/
|
|
1239
|
+
codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
|
|
1240
|
+
/**
|
|
1241
|
+
* The amount of balance a caller has to pay for each byte of storage.
|
|
1242
|
+
*
|
|
1243
|
+
* # Note
|
|
1244
|
+
*
|
|
1245
|
+
* It is safe to chage this value on a live chain as all refunds are pro rata.
|
|
1246
|
+
**/
|
|
1247
|
+
depositPerByte: u128 & AugmentedConst<ApiType>;
|
|
1248
|
+
/**
|
|
1249
|
+
* The amount of balance a caller has to pay for each storage item.
|
|
1250
|
+
*
|
|
1251
|
+
* # Note
|
|
1252
|
+
*
|
|
1253
|
+
* It is safe to chage this value on a live chain as all refunds are pro rata.
|
|
1254
|
+
**/
|
|
1255
|
+
depositPerItem: u128 & AugmentedConst<ApiType>;
|
|
1256
|
+
/**
|
|
1257
|
+
* The maximum length of a contract code in bytes.
|
|
1258
|
+
*
|
|
1259
|
+
* This value hugely affects the memory requirements of this pallet since all the code of
|
|
1260
|
+
* all contracts on the call stack will need to be held in memory. Setting of a correct
|
|
1261
|
+
* value will be enforced in [`Pallet::integrity_test`].
|
|
1262
|
+
**/
|
|
1263
|
+
maxCodeLen: u32 & AugmentedConst<ApiType>;
|
|
1264
|
+
/**
|
|
1265
|
+
* Make contract callable functions marked as `#[unstable]` available.
|
|
1266
|
+
*
|
|
1267
|
+
* Contracts that use `#[unstable]` functions won't be able to be uploaded unless
|
|
1268
|
+
* this is set to `true`. This is only meant for testnets and dev nodes in order to
|
|
1269
|
+
* experiment with new features.
|
|
1270
|
+
*
|
|
1271
|
+
* # Warning
|
|
1272
|
+
*
|
|
1273
|
+
* Do **not** set to `true` on productions chains.
|
|
1274
|
+
**/
|
|
1275
|
+
unsafeUnstableInterface: bool & AugmentedConst<ApiType>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Generic const
|
|
1278
|
+
**/
|
|
1279
|
+
[key: string]: Codec;
|
|
1280
|
+
};
|
|
1230
1281
|
safeMode: {
|
|
1231
1282
|
/**
|
|
1232
1283
|
* The amount that will be reserved upon calling [`Pallet::enter`].
|
|
@@ -556,6 +556,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
556
556
|
* The lease expiry time has already passed.
|
|
557
557
|
**/
|
|
558
558
|
AlreadyExpired: AugmentedError<ApiType>;
|
|
559
|
+
/**
|
|
560
|
+
* Attempted to disable auto-renewal for a core that didn't have it enabled.
|
|
561
|
+
**/
|
|
562
|
+
AutoRenewalNotEnabled: AugmentedError<ApiType>;
|
|
559
563
|
/**
|
|
560
564
|
* The pivot mask for the interlacing is complete (and therefore not a strict subset).
|
|
561
565
|
**/
|
|
@@ -585,6 +589,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
585
589
|
* The history item does not exist.
|
|
586
590
|
**/
|
|
587
591
|
NoHistory: AugmentedError<ApiType>;
|
|
592
|
+
/**
|
|
593
|
+
* Only cores which are assigned to a task can be auto-renewed.
|
|
594
|
+
**/
|
|
595
|
+
NonTaskAutoRenewal: AugmentedError<ApiType>;
|
|
596
|
+
/**
|
|
597
|
+
* The caller doesn't have the permission to enable or disable auto-renewal.
|
|
598
|
+
**/
|
|
599
|
+
NoPermission: AugmentedError<ApiType>;
|
|
588
600
|
/**
|
|
589
601
|
* There is no sale happening currently.
|
|
590
602
|
**/
|
|
@@ -617,6 +629,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
617
629
|
* The sale limit has been reached.
|
|
618
630
|
**/
|
|
619
631
|
SoldOut: AugmentedError<ApiType>;
|
|
632
|
+
/**
|
|
633
|
+
* Failed to get the sovereign account of a task.
|
|
634
|
+
**/
|
|
635
|
+
SovereignAccountNotFound: AugmentedError<ApiType>;
|
|
620
636
|
/**
|
|
621
637
|
* An item cannot be dropped because it is still valid.
|
|
622
638
|
**/
|
|
@@ -625,6 +641,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
625
641
|
* The purchase cannot happen yet as the sale period is yet to begin.
|
|
626
642
|
**/
|
|
627
643
|
TooEarly: AugmentedError<ApiType>;
|
|
644
|
+
/**
|
|
645
|
+
* We reached the limit for auto-renewals.
|
|
646
|
+
**/
|
|
647
|
+
TooManyAutoRenewals: AugmentedError<ApiType>;
|
|
628
648
|
/**
|
|
629
649
|
* The maximum amount of leases has already been reached.
|
|
630
650
|
**/
|
|
@@ -2180,10 +2200,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2180
2200
|
* Preimage has already been noted on-chain.
|
|
2181
2201
|
**/
|
|
2182
2202
|
AlreadyNoted: AugmentedError<ApiType>;
|
|
2183
|
-
/**
|
|
2184
|
-
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
|
|
2185
|
-
**/
|
|
2186
|
-
NoCost: AugmentedError<ApiType>;
|
|
2187
2203
|
/**
|
|
2188
2204
|
* The user is not authorized to perform this action.
|
|
2189
2205
|
**/
|
|
@@ -2513,6 +2529,182 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2513
2529
|
**/
|
|
2514
2530
|
[key: string]: AugmentedError<ApiType>;
|
|
2515
2531
|
};
|
|
2532
|
+
revive: {
|
|
2533
|
+
/**
|
|
2534
|
+
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
2535
|
+
**/
|
|
2536
|
+
CannotAddSelfAsDelegateDependency: AugmentedError<ApiType>;
|
|
2537
|
+
/**
|
|
2538
|
+
* No code info could be found at the supplied code hash.
|
|
2539
|
+
**/
|
|
2540
|
+
CodeInfoNotFound: AugmentedError<ApiType>;
|
|
2541
|
+
/**
|
|
2542
|
+
* Code removal was denied because the code is still in use by at least one contract.
|
|
2543
|
+
**/
|
|
2544
|
+
CodeInUse: AugmentedError<ApiType>;
|
|
2545
|
+
/**
|
|
2546
|
+
* No code could be found at the supplied code hash.
|
|
2547
|
+
**/
|
|
2548
|
+
CodeNotFound: AugmentedError<ApiType>;
|
|
2549
|
+
/**
|
|
2550
|
+
* The contract failed to compile or is missing the correct entry points.
|
|
2551
|
+
*
|
|
2552
|
+
* A more detailed error can be found on the node console if debug messages are enabled
|
|
2553
|
+
* by supplying `-lruntime::revive=debug`.
|
|
2554
|
+
**/
|
|
2555
|
+
CodeRejected: AugmentedError<ApiType>;
|
|
2556
|
+
/**
|
|
2557
|
+
* The code supplied to `instantiate_with_code` exceeds the limit specified in the
|
|
2558
|
+
* current schedule.
|
|
2559
|
+
**/
|
|
2560
|
+
CodeTooLarge: AugmentedError<ApiType>;
|
|
2561
|
+
/**
|
|
2562
|
+
* No contract was found at the specified address.
|
|
2563
|
+
**/
|
|
2564
|
+
ContractNotFound: AugmentedError<ApiType>;
|
|
2565
|
+
/**
|
|
2566
|
+
* The contract ran to completion but decided to revert its storage changes.
|
|
2567
|
+
* Please note that this error is only returned from extrinsics. When called directly
|
|
2568
|
+
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
|
2569
|
+
* to determine whether a reversion has taken place.
|
|
2570
|
+
**/
|
|
2571
|
+
ContractReverted: AugmentedError<ApiType>;
|
|
2572
|
+
/**
|
|
2573
|
+
* Contract trapped during execution.
|
|
2574
|
+
**/
|
|
2575
|
+
ContractTrapped: AugmentedError<ApiType>;
|
|
2576
|
+
/**
|
|
2577
|
+
* Input passed to a contract API function failed to decode as expected type.
|
|
2578
|
+
**/
|
|
2579
|
+
DecodingFailed: AugmentedError<ApiType>;
|
|
2580
|
+
/**
|
|
2581
|
+
* The contract already depends on the given delegate dependency.
|
|
2582
|
+
**/
|
|
2583
|
+
DelegateDependencyAlreadyExists: AugmentedError<ApiType>;
|
|
2584
|
+
/**
|
|
2585
|
+
* The dependency was not found in the contract's delegate dependencies.
|
|
2586
|
+
**/
|
|
2587
|
+
DelegateDependencyNotFound: AugmentedError<ApiType>;
|
|
2588
|
+
/**
|
|
2589
|
+
* A contract with the same AccountId already exists.
|
|
2590
|
+
**/
|
|
2591
|
+
DuplicateContract: AugmentedError<ApiType>;
|
|
2592
|
+
/**
|
|
2593
|
+
* PolkaVM failed during code execution. Probably due to a malformed program.
|
|
2594
|
+
**/
|
|
2595
|
+
ExecutionFailed: AugmentedError<ApiType>;
|
|
2596
|
+
/**
|
|
2597
|
+
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
|
2598
|
+
**/
|
|
2599
|
+
InputForwarded: AugmentedError<ApiType>;
|
|
2600
|
+
/**
|
|
2601
|
+
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
2602
|
+
**/
|
|
2603
|
+
InvalidCallFlags: AugmentedError<ApiType>;
|
|
2604
|
+
/**
|
|
2605
|
+
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
2606
|
+
**/
|
|
2607
|
+
InvalidSchedule: AugmentedError<ApiType>;
|
|
2608
|
+
/**
|
|
2609
|
+
* Invalid storage flags were passed to one of the storage syscalls.
|
|
2610
|
+
**/
|
|
2611
|
+
InvalidStorageFlags: AugmentedError<ApiType>;
|
|
2612
|
+
/**
|
|
2613
|
+
* The contract tried to call a syscall which does not exist (at its current api level).
|
|
2614
|
+
**/
|
|
2615
|
+
InvalidSyscall: AugmentedError<ApiType>;
|
|
2616
|
+
/**
|
|
2617
|
+
* Performing a call was denied because the calling depth reached the limit
|
|
2618
|
+
* of what is specified in the schedule.
|
|
2619
|
+
**/
|
|
2620
|
+
MaxCallDepthReached: AugmentedError<ApiType>;
|
|
2621
|
+
/**
|
|
2622
|
+
* The contract has reached its maximum number of delegate dependencies.
|
|
2623
|
+
**/
|
|
2624
|
+
MaxDelegateDependenciesReached: AugmentedError<ApiType>;
|
|
2625
|
+
/**
|
|
2626
|
+
* A pending migration needs to complete before the extrinsic can be called.
|
|
2627
|
+
**/
|
|
2628
|
+
MigrationInProgress: AugmentedError<ApiType>;
|
|
2629
|
+
/**
|
|
2630
|
+
* The chain does not provide a chain extension. Calling the chain extension results
|
|
2631
|
+
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
2632
|
+
* is rejected.
|
|
2633
|
+
**/
|
|
2634
|
+
NoChainExtension: AugmentedError<ApiType>;
|
|
2635
|
+
/**
|
|
2636
|
+
* Migrate dispatch call was attempted but no migration was performed.
|
|
2637
|
+
**/
|
|
2638
|
+
NoMigrationPerformed: AugmentedError<ApiType>;
|
|
2639
|
+
/**
|
|
2640
|
+
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
2641
|
+
**/
|
|
2642
|
+
OutOfBounds: AugmentedError<ApiType>;
|
|
2643
|
+
/**
|
|
2644
|
+
* The executed contract exhausted its gas limit.
|
|
2645
|
+
**/
|
|
2646
|
+
OutOfGas: AugmentedError<ApiType>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Can not add more data to transient storage.
|
|
2649
|
+
**/
|
|
2650
|
+
OutOfTransientStorage: AugmentedError<ApiType>;
|
|
2651
|
+
/**
|
|
2652
|
+
* The output buffer supplied to a contract API call was too small.
|
|
2653
|
+
**/
|
|
2654
|
+
OutputBufferTooSmall: AugmentedError<ApiType>;
|
|
2655
|
+
/**
|
|
2656
|
+
* A contract called into the runtime which then called back into this pallet.
|
|
2657
|
+
**/
|
|
2658
|
+
ReenteredPallet: AugmentedError<ApiType>;
|
|
2659
|
+
/**
|
|
2660
|
+
* A call tried to invoke a contract that is flagged as non-reentrant.
|
|
2661
|
+
**/
|
|
2662
|
+
ReentranceDenied: AugmentedError<ApiType>;
|
|
2663
|
+
/**
|
|
2664
|
+
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
2665
|
+
**/
|
|
2666
|
+
StateChangeDenied: AugmentedError<ApiType>;
|
|
2667
|
+
/**
|
|
2668
|
+
* More storage was created than allowed by the storage deposit limit.
|
|
2669
|
+
**/
|
|
2670
|
+
StorageDepositLimitExhausted: AugmentedError<ApiType>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
2673
|
+
**/
|
|
2674
|
+
StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
|
|
2675
|
+
/**
|
|
2676
|
+
* A contract self destructed in its constructor.
|
|
2677
|
+
*
|
|
2678
|
+
* This can be triggered by a call to `seal_terminate`.
|
|
2679
|
+
**/
|
|
2680
|
+
TerminatedInConstructor: AugmentedError<ApiType>;
|
|
2681
|
+
/**
|
|
2682
|
+
* Termination of a contract is not allowed while the contract is already
|
|
2683
|
+
* on the call stack. Can be triggered by `seal_terminate`.
|
|
2684
|
+
**/
|
|
2685
|
+
TerminatedWhileReentrant: AugmentedError<ApiType>;
|
|
2686
|
+
/**
|
|
2687
|
+
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
2688
|
+
**/
|
|
2689
|
+
TooManyTopics: AugmentedError<ApiType>;
|
|
2690
|
+
/**
|
|
2691
|
+
* Performing the requested transfer failed. Probably because there isn't enough
|
|
2692
|
+
* free balance in the sender's account.
|
|
2693
|
+
**/
|
|
2694
|
+
TransferFailed: AugmentedError<ApiType>;
|
|
2695
|
+
/**
|
|
2696
|
+
* The size defined in `T::MaxValueSize` was exceeded.
|
|
2697
|
+
**/
|
|
2698
|
+
ValueTooLarge: AugmentedError<ApiType>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Failed to decode the XCM program.
|
|
2701
|
+
**/
|
|
2702
|
+
XCMDecodeFailed: AugmentedError<ApiType>;
|
|
2703
|
+
/**
|
|
2704
|
+
* Generic error
|
|
2705
|
+
**/
|
|
2706
|
+
[key: string]: AugmentedError<ApiType>;
|
|
2707
|
+
};
|
|
2516
2708
|
safeMode: {
|
|
2517
2709
|
/**
|
|
2518
2710
|
* The account already has a deposit reserved and can therefore not enter or extend again.
|
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReviveExecOrigin, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -250,11 +250,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
250
250
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
251
251
|
* has been paid by `who` in an asset `asset_id`.
|
|
252
252
|
**/
|
|
253
|
-
AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId:
|
|
253
|
+
AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId: FrameSupportTokensFungibleUnionOfNativeOrWithId], {
|
|
254
254
|
who: AccountId32;
|
|
255
255
|
actualFee: u128;
|
|
256
256
|
tip: u128;
|
|
257
|
-
assetId:
|
|
257
|
+
assetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
258
258
|
}>;
|
|
259
259
|
/**
|
|
260
260
|
* Generic event
|
|
@@ -483,22 +483,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
483
483
|
**/
|
|
484
484
|
[key: string]: AugmentedEvent<ApiType>;
|
|
485
485
|
};
|
|
486
|
-
assetTxPayment: {
|
|
487
|
-
/**
|
|
488
|
-
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
489
|
-
* has been paid by `who` in an asset `asset_id`.
|
|
490
|
-
**/
|
|
491
|
-
AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId: Option<u32>], {
|
|
492
|
-
who: AccountId32;
|
|
493
|
-
actualFee: u128;
|
|
494
|
-
tip: u128;
|
|
495
|
-
assetId: Option<u32>;
|
|
496
|
-
}>;
|
|
497
|
-
/**
|
|
498
|
-
* Generic event
|
|
499
|
-
**/
|
|
500
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
501
|
-
};
|
|
502
486
|
balances: {
|
|
503
487
|
/**
|
|
504
488
|
* A balance was set by root.
|
|
@@ -748,6 +732,29 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
748
732
|
duration: u32;
|
|
749
733
|
task: u32;
|
|
750
734
|
}>;
|
|
735
|
+
AutoRenewalDisabled: AugmentedEvent<ApiType, [core: u16, task: u32], {
|
|
736
|
+
core: u16;
|
|
737
|
+
task: u32;
|
|
738
|
+
}>;
|
|
739
|
+
AutoRenewalEnabled: AugmentedEvent<ApiType, [core: u16, task: u32], {
|
|
740
|
+
core: u16;
|
|
741
|
+
task: u32;
|
|
742
|
+
}>;
|
|
743
|
+
/**
|
|
744
|
+
* Failed to auto-renew a core, likely due to the payer account not being sufficiently
|
|
745
|
+
* funded.
|
|
746
|
+
**/
|
|
747
|
+
AutoRenewalFailed: AugmentedEvent<ApiType, [core: u16, payer: Option<AccountId32>], {
|
|
748
|
+
core: u16;
|
|
749
|
+
payer: Option<AccountId32>;
|
|
750
|
+
}>;
|
|
751
|
+
/**
|
|
752
|
+
* The auto-renewal limit has been reached upon renewing cores.
|
|
753
|
+
*
|
|
754
|
+
* This should never happen, given that enable_auto_renew checks for this before enabling
|
|
755
|
+
* auto-renewal.
|
|
756
|
+
**/
|
|
757
|
+
AutoRenewalLimitReached: AugmentedEvent<ApiType, []>;
|
|
751
758
|
/**
|
|
752
759
|
* Some historical Instantaneous Core Pool Revenue is ready for payout claims.
|
|
753
760
|
**/
|
|
@@ -1106,6 +1113,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1106
1113
|
* An \[account\] has cancelled a previous delegation operation.
|
|
1107
1114
|
**/
|
|
1108
1115
|
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
1116
|
+
/**
|
|
1117
|
+
* An account that has voted
|
|
1118
|
+
**/
|
|
1119
|
+
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
1120
|
+
who: AccountId32;
|
|
1121
|
+
vote: PalletConvictionVotingVoteAccountVote;
|
|
1122
|
+
}>;
|
|
1123
|
+
/**
|
|
1124
|
+
* A vote that been removed
|
|
1125
|
+
**/
|
|
1126
|
+
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
1127
|
+
who: AccountId32;
|
|
1128
|
+
vote: PalletConvictionVotingVoteAccountVote;
|
|
1129
|
+
}>;
|
|
1109
1130
|
/**
|
|
1110
1131
|
* Generic event
|
|
1111
1132
|
**/
|
|
@@ -2352,10 +2373,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2352
2373
|
* A member has been removed from a pool.
|
|
2353
2374
|
*
|
|
2354
2375
|
* The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
|
|
2376
|
+
* Any funds that are still delegated (i.e. dangling delegation) are released and are
|
|
2377
|
+
* represented by `released_balance`.
|
|
2355
2378
|
**/
|
|
2356
|
-
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], {
|
|
2379
|
+
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], {
|
|
2357
2380
|
poolId: u32;
|
|
2358
2381
|
member: AccountId32;
|
|
2382
|
+
releasedBalance: u128;
|
|
2359
2383
|
}>;
|
|
2360
2384
|
/**
|
|
2361
2385
|
* Topped up deficit in frozen ED of the reward pool.
|
|
@@ -3131,6 +3155,104 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3131
3155
|
**/
|
|
3132
3156
|
[key: string]: AugmentedEvent<ApiType>;
|
|
3133
3157
|
};
|
|
3158
|
+
revive: {
|
|
3159
|
+
/**
|
|
3160
|
+
* A contract was called either by a plain account or another contract.
|
|
3161
|
+
*
|
|
3162
|
+
* # Note
|
|
3163
|
+
*
|
|
3164
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
3165
|
+
* calls. This is because on failure all storage changes including events are
|
|
3166
|
+
* rolled back.
|
|
3167
|
+
**/
|
|
3168
|
+
Called: AugmentedEvent<ApiType, [caller: PalletReviveExecOrigin, contract: AccountId32], {
|
|
3169
|
+
caller: PalletReviveExecOrigin;
|
|
3170
|
+
contract: AccountId32;
|
|
3171
|
+
}>;
|
|
3172
|
+
/**
|
|
3173
|
+
* A code with the specified hash was removed.
|
|
3174
|
+
**/
|
|
3175
|
+
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256, depositReleased: u128, remover: AccountId32], {
|
|
3176
|
+
codeHash: H256;
|
|
3177
|
+
depositReleased: u128;
|
|
3178
|
+
remover: AccountId32;
|
|
3179
|
+
}>;
|
|
3180
|
+
/**
|
|
3181
|
+
* Code with the specified hash has been stored.
|
|
3182
|
+
**/
|
|
3183
|
+
CodeStored: AugmentedEvent<ApiType, [codeHash: H256, depositHeld: u128, uploader: AccountId32], {
|
|
3184
|
+
codeHash: H256;
|
|
3185
|
+
depositHeld: u128;
|
|
3186
|
+
uploader: AccountId32;
|
|
3187
|
+
}>;
|
|
3188
|
+
/**
|
|
3189
|
+
* A contract's code was updated.
|
|
3190
|
+
**/
|
|
3191
|
+
ContractCodeUpdated: AugmentedEvent<ApiType, [contract: AccountId32, newCodeHash: H256, oldCodeHash: H256], {
|
|
3192
|
+
contract: AccountId32;
|
|
3193
|
+
newCodeHash: H256;
|
|
3194
|
+
oldCodeHash: H256;
|
|
3195
|
+
}>;
|
|
3196
|
+
/**
|
|
3197
|
+
* A custom event emitted by the contract.
|
|
3198
|
+
**/
|
|
3199
|
+
ContractEmitted: AugmentedEvent<ApiType, [contract: AccountId32, data: Bytes], {
|
|
3200
|
+
contract: AccountId32;
|
|
3201
|
+
data: Bytes;
|
|
3202
|
+
}>;
|
|
3203
|
+
/**
|
|
3204
|
+
* A contract delegate called a code hash.
|
|
3205
|
+
*
|
|
3206
|
+
* # Note
|
|
3207
|
+
*
|
|
3208
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
3209
|
+
* calls. This is because on failure all storage changes including events are
|
|
3210
|
+
* rolled back.
|
|
3211
|
+
**/
|
|
3212
|
+
DelegateCalled: AugmentedEvent<ApiType, [contract: AccountId32, codeHash: H256], {
|
|
3213
|
+
contract: AccountId32;
|
|
3214
|
+
codeHash: H256;
|
|
3215
|
+
}>;
|
|
3216
|
+
/**
|
|
3217
|
+
* Contract deployed by address at the specified address.
|
|
3218
|
+
**/
|
|
3219
|
+
Instantiated: AugmentedEvent<ApiType, [deployer: AccountId32, contract: AccountId32], {
|
|
3220
|
+
deployer: AccountId32;
|
|
3221
|
+
contract: AccountId32;
|
|
3222
|
+
}>;
|
|
3223
|
+
/**
|
|
3224
|
+
* Some funds have been transferred and held as storage deposit.
|
|
3225
|
+
**/
|
|
3226
|
+
StorageDepositTransferredAndHeld: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
|
|
3227
|
+
from: AccountId32;
|
|
3228
|
+
to: AccountId32;
|
|
3229
|
+
amount: u128;
|
|
3230
|
+
}>;
|
|
3231
|
+
/**
|
|
3232
|
+
* Some storage deposit funds have been transferred and released.
|
|
3233
|
+
**/
|
|
3234
|
+
StorageDepositTransferredAndReleased: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
|
|
3235
|
+
from: AccountId32;
|
|
3236
|
+
to: AccountId32;
|
|
3237
|
+
amount: u128;
|
|
3238
|
+
}>;
|
|
3239
|
+
/**
|
|
3240
|
+
* Contract has been removed.
|
|
3241
|
+
*
|
|
3242
|
+
* # Note
|
|
3243
|
+
*
|
|
3244
|
+
* The only way for a contract to be removed and emitting this event is by calling
|
|
3245
|
+
* `seal_terminate`.
|
|
3246
|
+
**/
|
|
3247
|
+
Terminated: AugmentedEvent<ApiType, [contract: AccountId32, beneficiary: AccountId32], {
|
|
3248
|
+
contract: AccountId32;
|
|
3249
|
+
beneficiary: AccountId32;
|
|
3250
|
+
}>;
|
|
3251
|
+
/**
|
|
3252
|
+
* Generic event
|
|
3253
|
+
**/
|
|
3254
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
3255
|
+
};
|
|
3134
3256
|
rootTesting: {
|
|
3135
3257
|
/**
|
|
3136
3258
|
* Event dispatched when the trigger_defensive extrinsic is called.
|
package/cjs/substrate/query.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerOnDemandRevenueRecord, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
|
7
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerAutoRenewalRecord, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerOnDemandRevenueRecord, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletReviveStorageContractInfo, PalletReviveStorageDeletionQueueManager, PalletReviveWasmCodeInfo, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
|
8
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
9
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
10
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -408,6 +408,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
408
408
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
409
409
|
};
|
|
410
410
|
broker: {
|
|
411
|
+
/**
|
|
412
|
+
* Keeping track of cores which have auto-renewal enabled.
|
|
413
|
+
*
|
|
414
|
+
* Sorted by `CoreIndex` to make the removal of cores from auto-renewal more efficient.
|
|
415
|
+
**/
|
|
416
|
+
autoRenewals: AugmentedQuery<ApiType, () => Observable<Vec<PalletBrokerAutoRenewalRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
411
417
|
/**
|
|
412
418
|
* The current configuration of this pallet.
|
|
413
419
|
**/
|
|
@@ -1702,6 +1708,41 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1702
1708
|
**/
|
|
1703
1709
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1704
1710
|
};
|
|
1711
|
+
revive: {
|
|
1712
|
+
/**
|
|
1713
|
+
* A mapping from a contract's code hash to its code info.
|
|
1714
|
+
**/
|
|
1715
|
+
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveWasmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1716
|
+
/**
|
|
1717
|
+
* The code associated with a given account.
|
|
1718
|
+
**/
|
|
1719
|
+
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletReviveStorageContractInfo>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1720
|
+
/**
|
|
1721
|
+
* Evicted contracts that await child trie deletion.
|
|
1722
|
+
*
|
|
1723
|
+
* Child trie deletion is a heavy operation depending on the amount of storage items
|
|
1724
|
+
* stored in said trie. Therefore this operation is performed lazily in `on_idle`.
|
|
1725
|
+
**/
|
|
1726
|
+
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1727
|
+
/**
|
|
1728
|
+
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
1729
|
+
* and the latest deleted contract in queue.
|
|
1730
|
+
**/
|
|
1731
|
+
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1732
|
+
/**
|
|
1733
|
+
* A migration can span across multiple blocks. This storage defines a cursor to track the
|
|
1734
|
+
* progress of the migration, enabling us to resume from the last completed position.
|
|
1735
|
+
**/
|
|
1736
|
+
migrationInProgress: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1737
|
+
/**
|
|
1738
|
+
* A mapping from a contract's code hash to its code.
|
|
1739
|
+
**/
|
|
1740
|
+
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
1741
|
+
/**
|
|
1742
|
+
* Generic query
|
|
1743
|
+
**/
|
|
1744
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1745
|
+
};
|
|
1705
1746
|
safeMode: {
|
|
1706
1747
|
/**
|
|
1707
1748
|
* Holds the reserve that was taken from an account at a specific block number.
|