@dedot/chaintypes 0.233.0 → 0.234.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/hydration/consts.d.ts +119 -47
- package/hydration/errors.d.ts +91 -130
- package/hydration/events.d.ts +340 -432
- package/hydration/index.d.ts +2 -3
- package/hydration/json-rpc.d.ts +10 -17
- package/hydration/query.d.ts +157 -277
- package/hydration/runtime.d.ts +21 -123
- package/hydration/tx.d.ts +502 -315
- package/hydration/types.d.ts +1366 -1284
- package/package.json +2 -2
- package/paseo-asset-hub/consts.d.ts +0 -34
- package/paseo-asset-hub/errors.d.ts +0 -28
- package/paseo-asset-hub/events.d.ts +20 -205
- package/paseo-asset-hub/index.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +23 -66
- package/paseo-asset-hub/runtime.d.ts +15 -12
- package/paseo-asset-hub/tx.d.ts +127 -327
- package/paseo-asset-hub/types.d.ts +192 -513
- package/paseo-asset-hub/view-functions.d.ts +7 -7
- package/paseo-hydration/consts.d.ts +5 -0
- package/paseo-hydration/errors.d.ts +1 -1
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/json-rpc.d.ts +0 -10
- package/paseo-hydration/tx.d.ts +2 -1
- package/paseo-hydration/types.d.ts +5 -3
- package/paseo-people/consts.d.ts +75 -0
- package/paseo-people/errors.d.ts +165 -0
- package/paseo-people/events.d.ts +285 -2
- package/paseo-people/index.d.ts +5 -4
- package/paseo-people/query.d.ts +125 -0
- package/paseo-people/tx.d.ts +1286 -2
- package/paseo-people/types.d.ts +1776 -183
package/hydration/consts.d.ts
CHANGED
|
@@ -8,12 +8,13 @@ import type {
|
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
9
|
FrameSupportPalletId,
|
|
10
10
|
SpWeightsWeightV2Weight,
|
|
11
|
-
|
|
11
|
+
PalletReferendaTrackDetails,
|
|
12
12
|
HydradxTraitsOracleOraclePeriod,
|
|
13
13
|
PalletDynamicFeesFeeParams,
|
|
14
14
|
NonZeroU16,
|
|
15
15
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
16
|
-
|
|
16
|
+
StagingXcmV5Junctions,
|
|
17
|
+
StagingXcmV5Location,
|
|
17
18
|
} from './types.js';
|
|
18
19
|
|
|
19
20
|
export interface ChainConsts extends GenericChainConsts {
|
|
@@ -198,6 +199,9 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
198
199
|
palletId: FrameSupportPalletId;
|
|
199
200
|
|
|
200
201
|
/**
|
|
202
|
+
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
203
|
+
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
204
|
+
*
|
|
201
205
|
* The maximum number of approvals that can wait in the spending queue.
|
|
202
206
|
*
|
|
203
207
|
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
|
@@ -209,6 +213,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
209
213
|
**/
|
|
210
214
|
payoutPeriod: number;
|
|
211
215
|
|
|
216
|
+
/**
|
|
217
|
+
* Gets this pallet's derived pot account.
|
|
218
|
+
**/
|
|
219
|
+
potAccount: AccountId32;
|
|
220
|
+
|
|
212
221
|
/**
|
|
213
222
|
* Generic pallet constant
|
|
214
223
|
**/
|
|
@@ -251,6 +260,12 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
251
260
|
**/
|
|
252
261
|
byteDeposit: bigint;
|
|
253
262
|
|
|
263
|
+
/**
|
|
264
|
+
* The amount held on deposit per registered username. This value should change only in
|
|
265
|
+
* runtime upgrades with proper migration of existing deposits.
|
|
266
|
+
**/
|
|
267
|
+
usernameDeposit: bigint;
|
|
268
|
+
|
|
254
269
|
/**
|
|
255
270
|
* The amount held on deposit for a registered subaccount. This should account for the fact
|
|
256
271
|
* that one storage item's value will increase by the size of an account ID, and there will
|
|
@@ -274,6 +289,12 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
274
289
|
**/
|
|
275
290
|
pendingUsernameExpiration: number;
|
|
276
291
|
|
|
292
|
+
/**
|
|
293
|
+
* The number of blocks that must pass to enable the permanent deletion of a username by
|
|
294
|
+
* its respective authority.
|
|
295
|
+
**/
|
|
296
|
+
usernameGracePeriod: number;
|
|
297
|
+
|
|
277
298
|
/**
|
|
278
299
|
* The maximum length of a suffix.
|
|
279
300
|
**/
|
|
@@ -604,9 +625,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
604
625
|
alarmInterval: number;
|
|
605
626
|
|
|
606
627
|
/**
|
|
607
|
-
*
|
|
628
|
+
* A list of tracks.
|
|
629
|
+
*
|
|
630
|
+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
|
608
631
|
**/
|
|
609
|
-
tracks: Array<[number,
|
|
632
|
+
tracks: Array<[number, PalletReferendaTrackDetails]>;
|
|
610
633
|
|
|
611
634
|
/**
|
|
612
635
|
* Generic pallet constant
|
|
@@ -749,6 +772,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
749
772
|
nftCollectionId: bigint;
|
|
750
773
|
burnProtocolFee: Permill;
|
|
751
774
|
|
|
775
|
+
/**
|
|
776
|
+
* Destination account when hub asset is sold
|
|
777
|
+
**/
|
|
778
|
+
hubDestination: AccountId32;
|
|
779
|
+
|
|
752
780
|
/**
|
|
753
781
|
* Generic pallet constant
|
|
754
782
|
**/
|
|
@@ -1310,7 +1338,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1310
1338
|
/**
|
|
1311
1339
|
* EVM address of the external gas faucet contract.
|
|
1312
1340
|
**/
|
|
1313
|
-
faucetAddress:
|
|
1341
|
+
faucetAddress: H160;
|
|
1314
1342
|
|
|
1315
1343
|
/**
|
|
1316
1344
|
* Pallet ID used to derive the pallet's sovereign account.
|
|
@@ -1619,6 +1647,27 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1619
1647
|
* Pallet `PolkadotXcm`'s constants
|
|
1620
1648
|
**/
|
|
1621
1649
|
polkadotXcm: {
|
|
1650
|
+
/**
|
|
1651
|
+
* This chain's Universal Location.
|
|
1652
|
+
**/
|
|
1653
|
+
universalLocation: StagingXcmV5Junctions;
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* The latest supported version that we advertise. Generally just set it to
|
|
1657
|
+
* `pallet_xcm::CurrentXcmVersion`.
|
|
1658
|
+
**/
|
|
1659
|
+
advertisedXcmVersion: number;
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* The maximum number of local XCM locks that a single account may have.
|
|
1663
|
+
**/
|
|
1664
|
+
maxLockers: number;
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* The maximum number of consumers a single remote lock may have.
|
|
1668
|
+
**/
|
|
1669
|
+
maxRemoteLockConsumers: number;
|
|
1670
|
+
|
|
1622
1671
|
/**
|
|
1623
1672
|
* Generic pallet constant
|
|
1624
1673
|
**/
|
|
@@ -1716,6 +1765,40 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1716
1765
|
**/
|
|
1717
1766
|
[name: string]: any;
|
|
1718
1767
|
};
|
|
1768
|
+
/**
|
|
1769
|
+
* Pallet `WeightReclaim`'s constants
|
|
1770
|
+
**/
|
|
1771
|
+
weightReclaim: {
|
|
1772
|
+
/**
|
|
1773
|
+
* Generic pallet constant
|
|
1774
|
+
**/
|
|
1775
|
+
[name: string]: any;
|
|
1776
|
+
};
|
|
1777
|
+
/**
|
|
1778
|
+
* Pallet `MultiBlockMigrations`'s constants
|
|
1779
|
+
**/
|
|
1780
|
+
multiBlockMigrations: {
|
|
1781
|
+
/**
|
|
1782
|
+
* The maximal length of an encoded cursor.
|
|
1783
|
+
*
|
|
1784
|
+
* A good default needs to selected such that no migration will ever have a cursor with MEL
|
|
1785
|
+
* above this limit. This is statically checked in `integrity_test`.
|
|
1786
|
+
**/
|
|
1787
|
+
cursorMaxLen: number;
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* The maximal length of an encoded identifier.
|
|
1791
|
+
*
|
|
1792
|
+
* A good default needs to selected such that no migration will ever have an identifier
|
|
1793
|
+
* with MEL above this limit. This is statically checked in `integrity_test`.
|
|
1794
|
+
**/
|
|
1795
|
+
identifierMaxLen: number;
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* Generic pallet constant
|
|
1799
|
+
**/
|
|
1800
|
+
[name: string]: any;
|
|
1801
|
+
};
|
|
1719
1802
|
/**
|
|
1720
1803
|
* Pallet `OrmlXcm`'s constants
|
|
1721
1804
|
**/
|
|
@@ -1732,7 +1815,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1732
1815
|
/**
|
|
1733
1816
|
* Self chain location.
|
|
1734
1817
|
**/
|
|
1735
|
-
selfLocation:
|
|
1818
|
+
selfLocation: StagingXcmV5Location;
|
|
1736
1819
|
|
|
1737
1820
|
/**
|
|
1738
1821
|
* Base XCM weight.
|
|
@@ -1774,6 +1857,36 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1774
1857
|
* Pallet `CollatorSelection`'s constants
|
|
1775
1858
|
**/
|
|
1776
1859
|
collatorSelection: {
|
|
1860
|
+
/**
|
|
1861
|
+
* Account Identifier from which the internal Pot is generated.
|
|
1862
|
+
**/
|
|
1863
|
+
potId: FrameSupportPalletId;
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* Maximum number of candidates that we should have.
|
|
1867
|
+
*
|
|
1868
|
+
* This does not take into account the invulnerables.
|
|
1869
|
+
**/
|
|
1870
|
+
maxCandidates: number;
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* Minimum number eligible collators. Should always be greater than zero. This includes
|
|
1874
|
+
* Invulnerable collators. This ensures that there will always be one collator who can
|
|
1875
|
+
* produce a block.
|
|
1876
|
+
**/
|
|
1877
|
+
minEligibleCollators: number;
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* Maximum number of invulnerables.
|
|
1881
|
+
**/
|
|
1882
|
+
maxInvulnerables: number;
|
|
1883
|
+
kickThreshold: number;
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* Gets this pallet's derived pot account.
|
|
1887
|
+
**/
|
|
1888
|
+
potAccount: AccountId32;
|
|
1889
|
+
|
|
1777
1890
|
/**
|
|
1778
1891
|
* Generic pallet constant
|
|
1779
1892
|
**/
|
|
@@ -1814,47 +1927,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1814
1927
|
**/
|
|
1815
1928
|
[name: string]: any;
|
|
1816
1929
|
};
|
|
1817
|
-
/**
|
|
1818
|
-
* Pallet `Ismp`'s constants
|
|
1819
|
-
**/
|
|
1820
|
-
ismp: {
|
|
1821
|
-
/**
|
|
1822
|
-
* Generic pallet constant
|
|
1823
|
-
**/
|
|
1824
|
-
[name: string]: any;
|
|
1825
|
-
};
|
|
1826
|
-
/**
|
|
1827
|
-
* Pallet `IsmpParachain`'s constants
|
|
1828
|
-
**/
|
|
1829
|
-
ismpParachain: {
|
|
1830
|
-
/**
|
|
1831
|
-
* Generic pallet constant
|
|
1832
|
-
**/
|
|
1833
|
-
[name: string]: any;
|
|
1834
|
-
};
|
|
1835
|
-
/**
|
|
1836
|
-
* Pallet `Hyperbridge`'s constants
|
|
1837
|
-
**/
|
|
1838
|
-
hyperbridge: {
|
|
1839
|
-
/**
|
|
1840
|
-
* Generic pallet constant
|
|
1841
|
-
**/
|
|
1842
|
-
[name: string]: any;
|
|
1843
|
-
};
|
|
1844
|
-
/**
|
|
1845
|
-
* Pallet `TokenGateway`'s constants
|
|
1846
|
-
**/
|
|
1847
|
-
tokenGateway: {
|
|
1848
|
-
/**
|
|
1849
|
-
* The decimals of the native currency
|
|
1850
|
-
**/
|
|
1851
|
-
decimals: number;
|
|
1852
|
-
|
|
1853
|
-
/**
|
|
1854
|
-
* Generic pallet constant
|
|
1855
|
-
**/
|
|
1856
|
-
[name: string]: any;
|
|
1857
|
-
};
|
|
1858
1930
|
/**
|
|
1859
1931
|
* Pallet `EmaOracle`'s constants
|
|
1860
1932
|
**/
|
package/hydration/errors.d.ts
CHANGED
|
@@ -466,6 +466,27 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
466
466
|
**/
|
|
467
467
|
NotExpired: GenericPalletError;
|
|
468
468
|
|
|
469
|
+
/**
|
|
470
|
+
* The username cannot be removed because it's still in the grace period.
|
|
471
|
+
**/
|
|
472
|
+
TooEarly: GenericPalletError;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* The username cannot be removed because it is not unbinding.
|
|
476
|
+
**/
|
|
477
|
+
NotUnbinding: GenericPalletError;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* The username cannot be unbound because it is already unbinding.
|
|
481
|
+
**/
|
|
482
|
+
AlreadyUnbinding: GenericPalletError;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
486
|
+
* trying to unbind a username provided by the system).
|
|
487
|
+
**/
|
|
488
|
+
InsufficientPrivileges: GenericPalletError;
|
|
489
|
+
|
|
469
490
|
/**
|
|
470
491
|
* Generic pallet error
|
|
471
492
|
**/
|
|
@@ -660,6 +681,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
660
681
|
**/
|
|
661
682
|
PrimeAccountNotMember: GenericPalletError;
|
|
662
683
|
|
|
684
|
+
/**
|
|
685
|
+
* Proposal is still active.
|
|
686
|
+
**/
|
|
687
|
+
ProposalActive: GenericPalletError;
|
|
688
|
+
|
|
663
689
|
/**
|
|
664
690
|
* Generic pallet error
|
|
665
691
|
**/
|
|
@@ -754,12 +780,13 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
754
780
|
SenderInSignatories: GenericPalletError;
|
|
755
781
|
|
|
756
782
|
/**
|
|
757
|
-
* Multisig operation not found
|
|
783
|
+
* Multisig operation not found in storage.
|
|
758
784
|
**/
|
|
759
785
|
NotFound: GenericPalletError;
|
|
760
786
|
|
|
761
787
|
/**
|
|
762
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
788
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
789
|
+
* its deposits.
|
|
763
790
|
**/
|
|
764
791
|
NotOwner: GenericPalletError;
|
|
765
792
|
|
|
@@ -1377,7 +1404,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1377
1404
|
SameAssetTradeNotAllowed: GenericPalletError;
|
|
1378
1405
|
|
|
1379
1406
|
/**
|
|
1380
|
-
*
|
|
1407
|
+
* Hub asset reserve update after trade resulted in unexpected Decrease.
|
|
1381
1408
|
**/
|
|
1382
1409
|
HubAssetUpdateError: GenericPalletError;
|
|
1383
1410
|
|
|
@@ -1720,6 +1747,16 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1720
1747
|
**/
|
|
1721
1748
|
NoFarmEntriesSpecified: GenericPalletError;
|
|
1722
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* No assets specified in the withdrawal
|
|
1752
|
+
**/
|
|
1753
|
+
NoAssetsSpecified: GenericPalletError;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* The provided position_id does not match the deposit's associated position.
|
|
1757
|
+
**/
|
|
1758
|
+
PositionIdMismatch: GenericPalletError;
|
|
1759
|
+
|
|
1723
1760
|
/**
|
|
1724
1761
|
* Generic pallet error
|
|
1725
1762
|
**/
|
|
@@ -1827,6 +1864,12 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1827
1864
|
**/
|
|
1828
1865
|
InvalidAmount: GenericPalletError;
|
|
1829
1866
|
|
|
1867
|
+
/**
|
|
1868
|
+
* Deposit limit would be exceeded for a whitelisted account.
|
|
1869
|
+
* Operation rejected to prevent funds being locked on system accounts.
|
|
1870
|
+
**/
|
|
1871
|
+
DepositLimitExceededForWhitelistedAccount: GenericPalletError;
|
|
1872
|
+
|
|
1830
1873
|
/**
|
|
1831
1874
|
* Generic pallet error
|
|
1832
1875
|
**/
|
|
@@ -2124,6 +2167,16 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2124
2167
|
**/
|
|
2125
2168
|
NoPegSource: GenericPalletError;
|
|
2126
2169
|
|
|
2170
|
+
/**
|
|
2171
|
+
* Trade would result in zero amount out.
|
|
2172
|
+
**/
|
|
2173
|
+
ZeroAmountOut: GenericPalletError;
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* Trade would result in zero amount in.
|
|
2177
|
+
**/
|
|
2178
|
+
ZeroAmountIn: GenericPalletError;
|
|
2179
|
+
|
|
2127
2180
|
/**
|
|
2128
2181
|
* Generic pallet error
|
|
2129
2182
|
**/
|
|
@@ -3043,6 +3096,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3043
3096
|
**/
|
|
3044
3097
|
Undefined: GenericPalletError;
|
|
3045
3098
|
|
|
3099
|
+
/**
|
|
3100
|
+
* Address not allowed to deploy contracts either via CREATE or CALL(CREATE).
|
|
3101
|
+
**/
|
|
3102
|
+
CreateOriginNotAllowed: GenericPalletError;
|
|
3103
|
+
|
|
3046
3104
|
/**
|
|
3047
3105
|
* Generic pallet error
|
|
3048
3106
|
**/
|
|
@@ -3528,16 +3586,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3528
3586
|
**/
|
|
3529
3587
|
NotScheduled: GenericPalletError;
|
|
3530
3588
|
|
|
3531
|
-
/**
|
|
3532
|
-
* No code upgrade has been authorized.
|
|
3533
|
-
**/
|
|
3534
|
-
NothingAuthorized: GenericPalletError;
|
|
3535
|
-
|
|
3536
|
-
/**
|
|
3537
|
-
* The given code upgrade has not been authorized.
|
|
3538
|
-
**/
|
|
3539
|
-
Unauthorized: GenericPalletError;
|
|
3540
|
-
|
|
3541
3589
|
/**
|
|
3542
3590
|
* Generic pallet error
|
|
3543
3591
|
**/
|
|
@@ -3670,6 +3718,21 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3670
3718
|
**/
|
|
3671
3719
|
LocalExecutionIncomplete: GenericPalletError;
|
|
3672
3720
|
|
|
3721
|
+
/**
|
|
3722
|
+
* Too many locations authorized to alias origin.
|
|
3723
|
+
**/
|
|
3724
|
+
TooManyAuthorizedAliases: GenericPalletError;
|
|
3725
|
+
|
|
3726
|
+
/**
|
|
3727
|
+
* Expiry block number is in the past.
|
|
3728
|
+
**/
|
|
3729
|
+
ExpiresInPast: GenericPalletError;
|
|
3730
|
+
|
|
3731
|
+
/**
|
|
3732
|
+
* The alias to remove authorization for was not found.
|
|
3733
|
+
**/
|
|
3734
|
+
AliasNotFound: GenericPalletError;
|
|
3735
|
+
|
|
3673
3736
|
/**
|
|
3674
3737
|
* Generic pallet error
|
|
3675
3738
|
**/
|
|
@@ -3769,6 +3832,20 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3769
3832
|
**/
|
|
3770
3833
|
[error: string]: GenericPalletError;
|
|
3771
3834
|
};
|
|
3835
|
+
/**
|
|
3836
|
+
* Pallet `MultiBlockMigrations`'s errors
|
|
3837
|
+
**/
|
|
3838
|
+
multiBlockMigrations: {
|
|
3839
|
+
/**
|
|
3840
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
3841
|
+
**/
|
|
3842
|
+
Ongoing: GenericPalletError;
|
|
3843
|
+
|
|
3844
|
+
/**
|
|
3845
|
+
* Generic pallet error
|
|
3846
|
+
**/
|
|
3847
|
+
[error: string]: GenericPalletError;
|
|
3848
|
+
};
|
|
3772
3849
|
/**
|
|
3773
3850
|
* Pallet `OrmlXcm`'s errors
|
|
3774
3851
|
**/
|
|
@@ -3869,7 +3946,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3869
3946
|
ZeroFee: GenericPalletError;
|
|
3870
3947
|
|
|
3871
3948
|
/**
|
|
3872
|
-
* The
|
|
3949
|
+
* The transferring asset amount is zero.
|
|
3873
3950
|
**/
|
|
3874
3951
|
ZeroAmount: GenericPalletError;
|
|
3875
3952
|
|
|
@@ -4060,122 +4137,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
4060
4137
|
**/
|
|
4061
4138
|
[error: string]: GenericPalletError;
|
|
4062
4139
|
};
|
|
4063
|
-
/**
|
|
4064
|
-
* Pallet `Ismp`'s errors
|
|
4065
|
-
**/
|
|
4066
|
-
ismp: {
|
|
4067
|
-
/**
|
|
4068
|
-
* Invalid ISMP message
|
|
4069
|
-
**/
|
|
4070
|
-
InvalidMessage: GenericPalletError;
|
|
4071
|
-
|
|
4072
|
-
/**
|
|
4073
|
-
* Requested message was not found
|
|
4074
|
-
**/
|
|
4075
|
-
MessageNotFound: GenericPalletError;
|
|
4076
|
-
|
|
4077
|
-
/**
|
|
4078
|
-
* Encountered an error while creating the consensus client.
|
|
4079
|
-
**/
|
|
4080
|
-
ConsensusClientCreationFailed: GenericPalletError;
|
|
4081
|
-
|
|
4082
|
-
/**
|
|
4083
|
-
* Couldn't update unbonding period
|
|
4084
|
-
**/
|
|
4085
|
-
UnbondingPeriodUpdateFailed: GenericPalletError;
|
|
4086
|
-
|
|
4087
|
-
/**
|
|
4088
|
-
* Couldn't update challenge period
|
|
4089
|
-
**/
|
|
4090
|
-
ChallengePeriodUpdateFailed: GenericPalletError;
|
|
4091
|
-
|
|
4092
|
-
/**
|
|
4093
|
-
* Generic pallet error
|
|
4094
|
-
**/
|
|
4095
|
-
[error: string]: GenericPalletError;
|
|
4096
|
-
};
|
|
4097
|
-
/**
|
|
4098
|
-
* Pallet `IsmpParachain`'s errors
|
|
4099
|
-
**/
|
|
4100
|
-
ismpParachain: {
|
|
4101
|
-
/**
|
|
4102
|
-
* Only Parachain Consensus updates should be passed in the inherents.
|
|
4103
|
-
**/
|
|
4104
|
-
InvalidConsensusStateId: GenericPalletError;
|
|
4105
|
-
|
|
4106
|
-
/**
|
|
4107
|
-
* ValidationData must be updated only once in a block.
|
|
4108
|
-
**/
|
|
4109
|
-
ConsensusAlreadyUpdated: GenericPalletError;
|
|
4110
|
-
|
|
4111
|
-
/**
|
|
4112
|
-
* Generic pallet error
|
|
4113
|
-
**/
|
|
4114
|
-
[error: string]: GenericPalletError;
|
|
4115
|
-
};
|
|
4116
|
-
/**
|
|
4117
|
-
* Pallet `Hyperbridge`'s errors
|
|
4118
|
-
**/
|
|
4119
|
-
hyperbridge: {
|
|
4120
|
-
/**
|
|
4121
|
-
* Generic pallet error
|
|
4122
|
-
**/
|
|
4123
|
-
[error: string]: GenericPalletError;
|
|
4124
|
-
};
|
|
4125
|
-
/**
|
|
4126
|
-
* Pallet `TokenGateway`'s errors
|
|
4127
|
-
**/
|
|
4128
|
-
tokenGateway: {
|
|
4129
|
-
/**
|
|
4130
|
-
* A asset that has not been registered
|
|
4131
|
-
**/
|
|
4132
|
-
UnregisteredAsset: GenericPalletError;
|
|
4133
|
-
|
|
4134
|
-
/**
|
|
4135
|
-
* Error while teleporting asset
|
|
4136
|
-
**/
|
|
4137
|
-
AssetTeleportError: GenericPalletError;
|
|
4138
|
-
|
|
4139
|
-
/**
|
|
4140
|
-
* Coprocessor was not configured in the runtime
|
|
4141
|
-
**/
|
|
4142
|
-
CoprocessorNotConfigured: GenericPalletError;
|
|
4143
|
-
|
|
4144
|
-
/**
|
|
4145
|
-
* Asset or update Dispatch Error
|
|
4146
|
-
**/
|
|
4147
|
-
DispatchError: GenericPalletError;
|
|
4148
|
-
|
|
4149
|
-
/**
|
|
4150
|
-
* Asset Id creation failed
|
|
4151
|
-
**/
|
|
4152
|
-
AssetCreationError: GenericPalletError;
|
|
4153
|
-
|
|
4154
|
-
/**
|
|
4155
|
-
* Asset decimals not found
|
|
4156
|
-
**/
|
|
4157
|
-
AssetDecimalsNotFound: GenericPalletError;
|
|
4158
|
-
|
|
4159
|
-
/**
|
|
4160
|
-
* Protocol Params have not been initialized
|
|
4161
|
-
**/
|
|
4162
|
-
NotInitialized: GenericPalletError;
|
|
4163
|
-
|
|
4164
|
-
/**
|
|
4165
|
-
* Unknown Asset
|
|
4166
|
-
**/
|
|
4167
|
-
UnknownAsset: GenericPalletError;
|
|
4168
|
-
|
|
4169
|
-
/**
|
|
4170
|
-
* Only root or asset owner can update asset
|
|
4171
|
-
**/
|
|
4172
|
-
NotAssetOwner: GenericPalletError;
|
|
4173
|
-
|
|
4174
|
-
/**
|
|
4175
|
-
* Generic pallet error
|
|
4176
|
-
**/
|
|
4177
|
-
[error: string]: GenericPalletError;
|
|
4178
|
-
};
|
|
4179
4140
|
/**
|
|
4180
4141
|
* Pallet `EmaOracle`'s errors
|
|
4181
4142
|
**/
|