@dedot/chaintypes 0.122.0 → 0.123.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/kusama-asset-hub/consts.d.ts +98 -2
- package/kusama-asset-hub/errors.d.ts +314 -12
- package/kusama-asset-hub/events.d.ts +157 -3
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +113 -6
- package/kusama-asset-hub/runtime.d.ts +217 -1
- package/kusama-asset-hub/tx.d.ts +581 -1
- package/kusama-asset-hub/types.d.ts +1086 -26
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
|
-
import type { RuntimeVersion, Bytes, Permill } from 'dedot/codecs';
|
|
4
|
+
import type { RuntimeVersion, AccountId32, Bytes, Permill, Perbill } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
9
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
10
|
+
FrameSupportPalletId,
|
|
10
11
|
SpWeightsWeightV2Weight,
|
|
11
12
|
PalletNftsBitFlagsPalletFeature,
|
|
12
|
-
FrameSupportPalletId,
|
|
13
13
|
StagingXcmV4Location,
|
|
14
14
|
} from './types.js';
|
|
15
15
|
|
|
@@ -211,6 +211,36 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
211
211
|
* Pallet `CollatorSelection`'s constants
|
|
212
212
|
**/
|
|
213
213
|
collatorSelection: {
|
|
214
|
+
/**
|
|
215
|
+
* Account Identifier from which the internal Pot is generated.
|
|
216
|
+
**/
|
|
217
|
+
potId: FrameSupportPalletId;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Maximum number of candidates that we should have.
|
|
221
|
+
*
|
|
222
|
+
* This does not take into account the invulnerables.
|
|
223
|
+
**/
|
|
224
|
+
maxCandidates: number;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Minimum number eligible collators. Should always be greater than zero. This includes
|
|
228
|
+
* Invulnerable collators. This ensures that there will always be one collator who can
|
|
229
|
+
* produce a block.
|
|
230
|
+
**/
|
|
231
|
+
minEligibleCollators: number;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Maximum number of invulnerables.
|
|
235
|
+
**/
|
|
236
|
+
maxInvulnerables: number;
|
|
237
|
+
kickThreshold: number;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Gets this pallet's derived pot account.
|
|
241
|
+
**/
|
|
242
|
+
potAccount: AccountId32;
|
|
243
|
+
|
|
214
244
|
/**
|
|
215
245
|
* Generic pallet constant
|
|
216
246
|
**/
|
|
@@ -294,6 +324,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
294
324
|
* Pallet `PolkadotXcm`'s constants
|
|
295
325
|
**/
|
|
296
326
|
polkadotXcm: {
|
|
327
|
+
/**
|
|
328
|
+
* The latest supported version that we advertise. Generally just set it to
|
|
329
|
+
* `pallet_xcm::CurrentXcmVersion`.
|
|
330
|
+
**/
|
|
331
|
+
advertisedXcmVersion: number;
|
|
332
|
+
|
|
297
333
|
/**
|
|
298
334
|
* Generic pallet constant
|
|
299
335
|
**/
|
|
@@ -820,6 +856,66 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
820
856
|
**/
|
|
821
857
|
[name: string]: any;
|
|
822
858
|
};
|
|
859
|
+
/**
|
|
860
|
+
* Pallet `Revive`'s constants
|
|
861
|
+
**/
|
|
862
|
+
revive: {
|
|
863
|
+
/**
|
|
864
|
+
* The amount of balance a caller has to pay for each byte of storage.
|
|
865
|
+
*
|
|
866
|
+
* # Note
|
|
867
|
+
*
|
|
868
|
+
* It is safe to change this value on a live chain as all refunds are pro rata.
|
|
869
|
+
**/
|
|
870
|
+
depositPerByte: bigint;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* The amount of balance a caller has to pay for each storage item.
|
|
874
|
+
*
|
|
875
|
+
* # Note
|
|
876
|
+
*
|
|
877
|
+
* It is safe to change this value on a live chain as all refunds are pro rata.
|
|
878
|
+
**/
|
|
879
|
+
depositPerItem: bigint;
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* The percentage of the storage deposit that should be held for using a code hash.
|
|
883
|
+
* Instantiating a contract, protects the code from being removed. In order to prevent
|
|
884
|
+
* abuse these actions are protected with a percentage of the code deposit.
|
|
885
|
+
**/
|
|
886
|
+
codeHashLockupDepositPercent: Perbill;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Make contract callable functions marked as `#[unstable]` available.
|
|
890
|
+
*
|
|
891
|
+
* Contracts that use `#[unstable]` functions won't be able to be uploaded unless
|
|
892
|
+
* this is set to `true`. This is only meant for testnets and dev nodes in order to
|
|
893
|
+
* experiment with new features.
|
|
894
|
+
*
|
|
895
|
+
* # Warning
|
|
896
|
+
*
|
|
897
|
+
* Do **not** set to `true` on productions chains.
|
|
898
|
+
**/
|
|
899
|
+
unsafeUnstableInterface: boolean;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The [EIP-155](https://eips.ethereum.org/EIPS/eip-155) chain ID.
|
|
903
|
+
*
|
|
904
|
+
* This is a unique identifier assigned to each blockchain network,
|
|
905
|
+
* preventing replay attacks.
|
|
906
|
+
**/
|
|
907
|
+
chainId: bigint;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* The ratio between the decimal representation of the native token and the ETH token.
|
|
911
|
+
**/
|
|
912
|
+
nativeToEthRatio: number;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Generic pallet constant
|
|
916
|
+
**/
|
|
917
|
+
[name: string]: any;
|
|
918
|
+
};
|
|
823
919
|
/**
|
|
824
920
|
* Pallet `StateTrieMigration`'s constants
|
|
825
921
|
**/
|
|
@@ -96,16 +96,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
96
96
|
**/
|
|
97
97
|
NotScheduled: GenericPalletError<Rv>;
|
|
98
98
|
|
|
99
|
-
/**
|
|
100
|
-
* No code upgrade has been authorized.
|
|
101
|
-
**/
|
|
102
|
-
NothingAuthorized: GenericPalletError<Rv>;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* The given code upgrade has not been authorized.
|
|
106
|
-
**/
|
|
107
|
-
Unauthorized: GenericPalletError<Rv>;
|
|
108
|
-
|
|
109
99
|
/**
|
|
110
100
|
* Generic pallet error
|
|
111
101
|
**/
|
|
@@ -504,6 +494,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
504
494
|
**/
|
|
505
495
|
LocalExecutionIncomplete: GenericPalletError<Rv>;
|
|
506
496
|
|
|
497
|
+
/**
|
|
498
|
+
* Too many locations authorized to alias origin.
|
|
499
|
+
**/
|
|
500
|
+
TooManyAuthorizedAliases: GenericPalletError<Rv>;
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Expiry block number is in the past.
|
|
504
|
+
**/
|
|
505
|
+
ExpiresInPast: GenericPalletError<Rv>;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* The alias to remove authorization for was not found.
|
|
509
|
+
**/
|
|
510
|
+
AliasNotFound: GenericPalletError<Rv>;
|
|
511
|
+
|
|
507
512
|
/**
|
|
508
513
|
* Generic pallet error
|
|
509
514
|
**/
|
|
@@ -623,12 +628,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
623
628
|
SenderInSignatories: GenericPalletError<Rv>;
|
|
624
629
|
|
|
625
630
|
/**
|
|
626
|
-
* Multisig operation not found
|
|
631
|
+
* Multisig operation not found in storage.
|
|
627
632
|
**/
|
|
628
633
|
NotFound: GenericPalletError<Rv>;
|
|
629
634
|
|
|
630
635
|
/**
|
|
631
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
636
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
637
|
+
* its deposits.
|
|
632
638
|
**/
|
|
633
639
|
NotOwner: GenericPalletError<Rv>;
|
|
634
640
|
|
|
@@ -867,6 +873,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
867
873
|
**/
|
|
868
874
|
BadAssetId: GenericPalletError<Rv>;
|
|
869
875
|
|
|
876
|
+
/**
|
|
877
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
878
|
+
**/
|
|
879
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
883
|
+
**/
|
|
884
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
885
|
+
|
|
870
886
|
/**
|
|
871
887
|
* Generic pallet error
|
|
872
888
|
**/
|
|
@@ -1317,6 +1333,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1317
1333
|
**/
|
|
1318
1334
|
BadAssetId: GenericPalletError<Rv>;
|
|
1319
1335
|
|
|
1336
|
+
/**
|
|
1337
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1338
|
+
**/
|
|
1339
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1343
|
+
**/
|
|
1344
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
1345
|
+
|
|
1320
1346
|
/**
|
|
1321
1347
|
* Generic pallet error
|
|
1322
1348
|
**/
|
|
@@ -1463,6 +1489,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1463
1489
|
**/
|
|
1464
1490
|
BadAssetId: GenericPalletError<Rv>;
|
|
1465
1491
|
|
|
1492
|
+
/**
|
|
1493
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
1494
|
+
**/
|
|
1495
|
+
ContainsFreezes: GenericPalletError<Rv>;
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
1499
|
+
**/
|
|
1500
|
+
ContainsHolds: GenericPalletError<Rv>;
|
|
1501
|
+
|
|
1466
1502
|
/**
|
|
1467
1503
|
* Generic pallet error
|
|
1468
1504
|
**/
|
|
@@ -1595,6 +1631,272 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1595
1631
|
**/
|
|
1596
1632
|
[error: string]: GenericPalletError<Rv>;
|
|
1597
1633
|
};
|
|
1634
|
+
/**
|
|
1635
|
+
* Pallet `Revive`'s errors
|
|
1636
|
+
**/
|
|
1637
|
+
revive: {
|
|
1638
|
+
/**
|
|
1639
|
+
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
1640
|
+
**/
|
|
1641
|
+
InvalidSchedule: GenericPalletError<Rv>;
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
1645
|
+
**/
|
|
1646
|
+
InvalidCallFlags: GenericPalletError<Rv>;
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* The executed contract exhausted its gas limit.
|
|
1650
|
+
**/
|
|
1651
|
+
OutOfGas: GenericPalletError<Rv>;
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* Performing the requested transfer failed. Probably because there isn't enough
|
|
1655
|
+
* free balance in the sender's account.
|
|
1656
|
+
**/
|
|
1657
|
+
TransferFailed: GenericPalletError<Rv>;
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Performing a call was denied because the calling depth reached the limit
|
|
1661
|
+
* of what is specified in the schedule.
|
|
1662
|
+
**/
|
|
1663
|
+
MaxCallDepthReached: GenericPalletError<Rv>;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* No contract was found at the specified address.
|
|
1667
|
+
**/
|
|
1668
|
+
ContractNotFound: GenericPalletError<Rv>;
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* No code could be found at the supplied code hash.
|
|
1672
|
+
**/
|
|
1673
|
+
CodeNotFound: GenericPalletError<Rv>;
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* No code info could be found at the supplied code hash.
|
|
1677
|
+
**/
|
|
1678
|
+
CodeInfoNotFound: GenericPalletError<Rv>;
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
1682
|
+
**/
|
|
1683
|
+
OutOfBounds: GenericPalletError<Rv>;
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Input passed to a contract API function failed to decode as expected type.
|
|
1687
|
+
**/
|
|
1688
|
+
DecodingFailed: GenericPalletError<Rv>;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Contract trapped during execution.
|
|
1692
|
+
**/
|
|
1693
|
+
ContractTrapped: GenericPalletError<Rv>;
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* The size defined in `T::MaxValueSize` was exceeded.
|
|
1697
|
+
**/
|
|
1698
|
+
ValueTooLarge: GenericPalletError<Rv>;
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* Termination of a contract is not allowed while the contract is already
|
|
1702
|
+
* on the call stack. Can be triggered by `seal_terminate`.
|
|
1703
|
+
**/
|
|
1704
|
+
TerminatedWhileReentrant: GenericPalletError<Rv>;
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
|
1708
|
+
**/
|
|
1709
|
+
InputForwarded: GenericPalletError<Rv>;
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
1713
|
+
**/
|
|
1714
|
+
TooManyTopics: GenericPalletError<Rv>;
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* The chain does not provide a chain extension. Calling the chain extension results
|
|
1718
|
+
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
1719
|
+
* is rejected.
|
|
1720
|
+
**/
|
|
1721
|
+
NoChainExtension: GenericPalletError<Rv>;
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* Failed to decode the XCM program.
|
|
1725
|
+
**/
|
|
1726
|
+
XcmDecodeFailed: GenericPalletError<Rv>;
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* A contract with the same AccountId already exists.
|
|
1730
|
+
**/
|
|
1731
|
+
DuplicateContract: GenericPalletError<Rv>;
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* A contract self destructed in its constructor.
|
|
1735
|
+
*
|
|
1736
|
+
* This can be triggered by a call to `seal_terminate`.
|
|
1737
|
+
**/
|
|
1738
|
+
TerminatedInConstructor: GenericPalletError<Rv>;
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* A call tried to invoke a contract that is flagged as non-reentrant.
|
|
1742
|
+
**/
|
|
1743
|
+
ReentranceDenied: GenericPalletError<Rv>;
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* A contract called into the runtime which then called back into this pallet.
|
|
1747
|
+
**/
|
|
1748
|
+
ReenteredPallet: GenericPalletError<Rv>;
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
1752
|
+
**/
|
|
1753
|
+
StateChangeDenied: GenericPalletError<Rv>;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
1757
|
+
**/
|
|
1758
|
+
StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* More storage was created than allowed by the storage deposit limit.
|
|
1762
|
+
**/
|
|
1763
|
+
StorageDepositLimitExhausted: GenericPalletError<Rv>;
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* Code removal was denied because the code is still in use by at least one contract.
|
|
1767
|
+
**/
|
|
1768
|
+
CodeInUse: GenericPalletError<Rv>;
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* The contract ran to completion but decided to revert its storage changes.
|
|
1772
|
+
* Please note that this error is only returned from extrinsics. When called directly
|
|
1773
|
+
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
|
1774
|
+
* to determine whether a reversion has taken place.
|
|
1775
|
+
**/
|
|
1776
|
+
ContractReverted: GenericPalletError<Rv>;
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* The contract failed to compile or is missing the correct entry points.
|
|
1780
|
+
*
|
|
1781
|
+
* A more detailed error can be found on the node console if debug messages are enabled
|
|
1782
|
+
* by supplying `-lruntime::revive=debug`.
|
|
1783
|
+
**/
|
|
1784
|
+
CodeRejected: GenericPalletError<Rv>;
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
|
|
1788
|
+
**/
|
|
1789
|
+
BlobTooLarge: GenericPalletError<Rv>;
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* The static memory consumption of the blob will be larger than
|
|
1793
|
+
* [`limits::code::STATIC_MEMORY_BYTES`].
|
|
1794
|
+
**/
|
|
1795
|
+
StaticMemoryTooLarge: GenericPalletError<Rv>;
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* The program contains a basic block that is larger than allowed.
|
|
1799
|
+
**/
|
|
1800
|
+
BasicBlockTooLarge: GenericPalletError<Rv>;
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* The program contains an invalid instruction.
|
|
1804
|
+
**/
|
|
1805
|
+
InvalidInstruction: GenericPalletError<Rv>;
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* The contract has reached its maximum number of delegate dependencies.
|
|
1809
|
+
**/
|
|
1810
|
+
MaxDelegateDependenciesReached: GenericPalletError<Rv>;
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* The dependency was not found in the contract's delegate dependencies.
|
|
1814
|
+
**/
|
|
1815
|
+
DelegateDependencyNotFound: GenericPalletError<Rv>;
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* The contract already depends on the given delegate dependency.
|
|
1819
|
+
**/
|
|
1820
|
+
DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
1824
|
+
**/
|
|
1825
|
+
CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* Can not add more data to transient storage.
|
|
1829
|
+
**/
|
|
1830
|
+
OutOfTransientStorage: GenericPalletError<Rv>;
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* The contract tried to call a syscall which does not exist (at its current api level).
|
|
1834
|
+
**/
|
|
1835
|
+
InvalidSyscall: GenericPalletError<Rv>;
|
|
1836
|
+
|
|
1837
|
+
/**
|
|
1838
|
+
* Invalid storage flags were passed to one of the storage syscalls.
|
|
1839
|
+
**/
|
|
1840
|
+
InvalidStorageFlags: GenericPalletError<Rv>;
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* PolkaVM failed during code execution. Probably due to a malformed program.
|
|
1844
|
+
**/
|
|
1845
|
+
ExecutionFailed: GenericPalletError<Rv>;
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* Failed to convert a U256 to a Balance.
|
|
1849
|
+
**/
|
|
1850
|
+
BalanceConversionFailed: GenericPalletError<Rv>;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Failed to convert an EVM balance to a native balance.
|
|
1854
|
+
**/
|
|
1855
|
+
DecimalPrecisionLoss: GenericPalletError<Rv>;
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* Immutable data can only be set during deploys and only be read during calls.
|
|
1859
|
+
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
1860
|
+
**/
|
|
1861
|
+
InvalidImmutableAccess: GenericPalletError<Rv>;
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* An `AccountID32` account tried to interact with the pallet without having a mapping.
|
|
1865
|
+
*
|
|
1866
|
+
* Call [`Pallet::map_account`] in order to create a mapping for the account.
|
|
1867
|
+
**/
|
|
1868
|
+
AccountUnmapped: GenericPalletError<Rv>;
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Tried to map an account that is already mapped.
|
|
1872
|
+
**/
|
|
1873
|
+
AccountAlreadyMapped: GenericPalletError<Rv>;
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* The transaction used to dry-run a contract is invalid.
|
|
1877
|
+
**/
|
|
1878
|
+
InvalidGenericTransaction: GenericPalletError<Rv>;
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* The refcount of a code either over or underflowed.
|
|
1882
|
+
**/
|
|
1883
|
+
RefcountOverOrUnderflow: GenericPalletError<Rv>;
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* Unsupported precompile address
|
|
1887
|
+
**/
|
|
1888
|
+
UnsupportedPrecompileAddress: GenericPalletError<Rv>;
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* Precompile Error
|
|
1892
|
+
**/
|
|
1893
|
+
PrecompileFailure: GenericPalletError<Rv>;
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Generic pallet error
|
|
1897
|
+
**/
|
|
1898
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1899
|
+
};
|
|
1598
1900
|
/**
|
|
1599
1901
|
* Pallet `StateTrieMigration`'s errors
|
|
1600
1902
|
**/
|