@webb-tools/tangle-substrate-types 0.5.4 → 0.5.8
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/build/interfaces/augment-api-consts.d.ts +147 -4
- package/build/interfaces/augment-api-errors.d.ts +403 -0
- package/build/interfaces/augment-api-events.d.ts +543 -2
- package/build/interfaces/augment-api-query.d.ts +159 -2
- package/build/interfaces/augment-api-tx.d.ts +745 -1
- package/build/interfaces/augment-types.d.ts +21 -2
- package/build/interfaces/lookup.d.ts +1470 -356
- package/build/interfaces/lookup.js +1464 -350
- package/build/interfaces/registry.d.ts +61 -1
- package/build/interfaces/types-lookup.d.ts +1592 -348
- package/build/metadata/static-latest.d.ts +1 -1
- package/build/metadata/static-latest.js +1 -1
- package/build/package.json +1 -1
- package/package.json +4 -4
- package/playground.ts +86 -0
- package/src/interfaces/augment-api-consts.ts +147 -11
- package/src/interfaces/augment-api-errors.ts +403 -0
- package/src/interfaces/augment-api-events.ts +321 -30
- package/src/interfaces/augment-api-query.ts +150 -87
- package/src/interfaces/augment-api-tx.ts +361 -54
- package/src/interfaces/augment-types.ts +21 -2
- package/src/interfaces/lookup.ts +1465 -351
- package/src/interfaces/registry.ts +61 -1
- package/src/interfaces/types-lookup.ts +1650 -348
- package/src/metadata/metadata.json +1 -1
- package/src/metadata/static-latest.ts +1 -1
- package/ts-types/playground.d.ts +1 -0
- package/ts-types/src/interfaces/augment-api-consts.d.ts +147 -4
- package/ts-types/src/interfaces/augment-api-errors.d.ts +403 -0
- package/ts-types/src/interfaces/augment-api-events.d.ts +543 -2
- package/ts-types/src/interfaces/augment-api-query.d.ts +159 -2
- package/ts-types/src/interfaces/augment-api-tx.d.ts +745 -1
- package/ts-types/src/interfaces/augment-types.d.ts +21 -2
- package/ts-types/src/interfaces/lookup.d.ts +1470 -356
- package/ts-types/src/interfaces/registry.d.ts +61 -1
- package/ts-types/src/interfaces/types-lookup.d.ts +1592 -348
- package/ts-types/src/metadata/static-latest.d.ts +1 -1
- package/ts-types/tsconfig.tsbuildinfo +1 -1
|
@@ -1,12 +1,50 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/consts';
|
|
2
2
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
3
|
-
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
-
import type { Codec } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights,
|
|
3
|
+
import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
+
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
+
import type { AccountId32, H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
+
import { SpWeightsWeightV2Weight, FrameSupportPalletId, StagingXcmV4AssetAssetId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
9
9
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
10
|
+
assets: {
|
|
11
|
+
/**
|
|
12
|
+
* The amount of funds that must be reserved when creating a new approval.
|
|
13
|
+
**/
|
|
14
|
+
approvalDeposit: u128 & AugmentedConst<ApiType>;
|
|
15
|
+
/**
|
|
16
|
+
* The amount of funds that must be reserved for a non-provider asset account to be
|
|
17
|
+
* maintained.
|
|
18
|
+
**/
|
|
19
|
+
assetAccountDeposit: u128 & AugmentedConst<ApiType>;
|
|
20
|
+
/**
|
|
21
|
+
* The basic amount of funds that must be reserved for an asset.
|
|
22
|
+
**/
|
|
23
|
+
assetDeposit: u128 & AugmentedConst<ApiType>;
|
|
24
|
+
/**
|
|
25
|
+
* The basic amount of funds that must be reserved when adding metadata to your asset.
|
|
26
|
+
**/
|
|
27
|
+
metadataDepositBase: u128 & AugmentedConst<ApiType>;
|
|
28
|
+
/**
|
|
29
|
+
* The additional funds that must be reserved for the number of bytes you store in your
|
|
30
|
+
* metadata.
|
|
31
|
+
**/
|
|
32
|
+
metadataDepositPerByte: u128 & AugmentedConst<ApiType>;
|
|
33
|
+
/**
|
|
34
|
+
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
|
|
35
|
+
*
|
|
36
|
+
* Must be configured to result in a weight that makes each call fit in a block.
|
|
37
|
+
**/
|
|
38
|
+
removeItemsLimit: u32 & AugmentedConst<ApiType>;
|
|
39
|
+
/**
|
|
40
|
+
* The maximum length of a name or symbol stored on-chain.
|
|
41
|
+
**/
|
|
42
|
+
stringLimit: u32 & AugmentedConst<ApiType>;
|
|
43
|
+
/**
|
|
44
|
+
* Generic const
|
|
45
|
+
**/
|
|
46
|
+
[key: string]: Codec;
|
|
47
|
+
};
|
|
10
48
|
babe: {
|
|
11
49
|
/**
|
|
12
50
|
* The amount of time, in slots, that each epoch should last.
|
|
@@ -497,6 +535,40 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
497
535
|
**/
|
|
498
536
|
[key: string]: Codec;
|
|
499
537
|
};
|
|
538
|
+
multiAssetDelegation: {
|
|
539
|
+
/**
|
|
540
|
+
* The duration for which the bond is locked.
|
|
541
|
+
**/
|
|
542
|
+
bondDuration: u32 & AugmentedConst<ApiType>;
|
|
543
|
+
/**
|
|
544
|
+
* Number of rounds that delegation bond less requests must wait before being executable.
|
|
545
|
+
**/
|
|
546
|
+
delegationBondLessDelay: u32 & AugmentedConst<ApiType>;
|
|
547
|
+
/**
|
|
548
|
+
* Number of rounds that delegators remain bonded before the exit request is executable.
|
|
549
|
+
**/
|
|
550
|
+
leaveDelegatorsDelay: u32 & AugmentedConst<ApiType>;
|
|
551
|
+
/**
|
|
552
|
+
* Number of rounds that operators remain bonded before the exit request is executable.
|
|
553
|
+
**/
|
|
554
|
+
leaveOperatorsDelay: u32 & AugmentedConst<ApiType>;
|
|
555
|
+
/**
|
|
556
|
+
* The minimum amount of bond required for a delegate.
|
|
557
|
+
**/
|
|
558
|
+
minDelegateAmount: u128 & AugmentedConst<ApiType>;
|
|
559
|
+
/**
|
|
560
|
+
* The minimum amount of bond required for an operator.
|
|
561
|
+
**/
|
|
562
|
+
minOperatorBondAmount: u128 & AugmentedConst<ApiType>;
|
|
563
|
+
/**
|
|
564
|
+
* Number of rounds operator requests to decrease self-bond must wait to be executable.
|
|
565
|
+
**/
|
|
566
|
+
operatorBondLessDelay: u32 & AugmentedConst<ApiType>;
|
|
567
|
+
/**
|
|
568
|
+
* Generic const
|
|
569
|
+
**/
|
|
570
|
+
[key: string]: Codec;
|
|
571
|
+
};
|
|
500
572
|
multisig: {
|
|
501
573
|
/**
|
|
502
574
|
* The base amount of currency needed to reserve for creating a multisig execution or to
|
|
@@ -551,6 +623,49 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
551
623
|
**/
|
|
552
624
|
[key: string]: Codec;
|
|
553
625
|
};
|
|
626
|
+
proxy: {
|
|
627
|
+
/**
|
|
628
|
+
* The base amount of currency needed to reserve for creating an announcement.
|
|
629
|
+
*
|
|
630
|
+
* This is held when a new storage item holding a `Balance` is created (typically 16
|
|
631
|
+
* bytes).
|
|
632
|
+
**/
|
|
633
|
+
announcementDepositBase: u128 & AugmentedConst<ApiType>;
|
|
634
|
+
/**
|
|
635
|
+
* The amount of currency needed per announcement made.
|
|
636
|
+
*
|
|
637
|
+
* This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
|
|
638
|
+
* into a pre-existing storage value.
|
|
639
|
+
**/
|
|
640
|
+
announcementDepositFactor: u128 & AugmentedConst<ApiType>;
|
|
641
|
+
/**
|
|
642
|
+
* The maximum amount of time-delayed announcements that are allowed to be pending.
|
|
643
|
+
**/
|
|
644
|
+
maxPending: u32 & AugmentedConst<ApiType>;
|
|
645
|
+
/**
|
|
646
|
+
* The maximum amount of proxies allowed for a single account.
|
|
647
|
+
**/
|
|
648
|
+
maxProxies: u32 & AugmentedConst<ApiType>;
|
|
649
|
+
/**
|
|
650
|
+
* The base amount of currency needed to reserve for creating a proxy.
|
|
651
|
+
*
|
|
652
|
+
* This is held for an additional storage item whose value size is
|
|
653
|
+
* `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
|
|
654
|
+
**/
|
|
655
|
+
proxyDepositBase: u128 & AugmentedConst<ApiType>;
|
|
656
|
+
/**
|
|
657
|
+
* The amount of currency needed per proxy added.
|
|
658
|
+
*
|
|
659
|
+
* This is held for adding 32 bytes plus an instance of `ProxyType` more into a
|
|
660
|
+
* pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
|
|
661
|
+
* into account `32 + proxy_type.encode().len()` bytes of data.
|
|
662
|
+
**/
|
|
663
|
+
proxyDepositFactor: u128 & AugmentedConst<ApiType>;
|
|
664
|
+
/**
|
|
665
|
+
* Generic const
|
|
666
|
+
**/
|
|
667
|
+
[key: string]: Codec;
|
|
668
|
+
};
|
|
554
669
|
roles: {
|
|
555
670
|
/**
|
|
556
671
|
* Max roles per account.
|
|
@@ -650,6 +765,34 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
650
765
|
**/
|
|
651
766
|
[key: string]: Codec;
|
|
652
767
|
};
|
|
768
|
+
sygmaBridge: {
|
|
769
|
+
/**
|
|
770
|
+
* EIP712 Verifying contract address
|
|
771
|
+
* This is used in EIP712 typed data domain
|
|
772
|
+
**/
|
|
773
|
+
destVerifyingContractAddress: H160 & AugmentedConst<ApiType>;
|
|
774
|
+
/**
|
|
775
|
+
* Pallet ChainID
|
|
776
|
+
* This is used in EIP712 typed data domain
|
|
777
|
+
**/
|
|
778
|
+
eip712ChainID: U256 & AugmentedConst<ApiType>;
|
|
779
|
+
/**
|
|
780
|
+
* Fee reserve account
|
|
781
|
+
**/
|
|
782
|
+
feeReserveAccount: AccountId32 & AugmentedConst<ApiType>;
|
|
783
|
+
/**
|
|
784
|
+
* AssetId and ResourceId pairs
|
|
785
|
+
**/
|
|
786
|
+
resourcePairs: Vec<ITuple<[StagingXcmV4AssetAssetId, U8aFixed]>> & AugmentedConst<ApiType>;
|
|
787
|
+
/**
|
|
788
|
+
* Bridge transfer reserve accounts mapping with designated assets
|
|
789
|
+
**/
|
|
790
|
+
transferReserveAccounts: BTreeMap<StagingXcmV4AssetAssetId, AccountId32> & AugmentedConst<ApiType>;
|
|
791
|
+
/**
|
|
792
|
+
* Generic const
|
|
793
|
+
**/
|
|
794
|
+
[key: string]: Codec;
|
|
795
|
+
};
|
|
653
796
|
system: {
|
|
654
797
|
/**
|
|
655
798
|
* Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
|
@@ -3,6 +3,95 @@ import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
|
3
3
|
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
4
4
|
declare module '@polkadot/api-base/types/errors' {
|
|
5
5
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
6
|
+
assets: {
|
|
7
|
+
/**
|
|
8
|
+
* The asset-account already exists.
|
|
9
|
+
**/
|
|
10
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
11
|
+
/**
|
|
12
|
+
* The asset is not live, and likely being destroyed.
|
|
13
|
+
**/
|
|
14
|
+
AssetNotLive: AugmentedError<ApiType>;
|
|
15
|
+
/**
|
|
16
|
+
* Invalid metadata given.
|
|
17
|
+
**/
|
|
18
|
+
BadMetadata: AugmentedError<ApiType>;
|
|
19
|
+
/**
|
|
20
|
+
* Invalid witness data given.
|
|
21
|
+
**/
|
|
22
|
+
BadWitness: AugmentedError<ApiType>;
|
|
23
|
+
/**
|
|
24
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
25
|
+
**/
|
|
26
|
+
BalanceLow: AugmentedError<ApiType>;
|
|
27
|
+
/**
|
|
28
|
+
* Callback action resulted in error
|
|
29
|
+
**/
|
|
30
|
+
CallbackFailed: AugmentedError<ApiType>;
|
|
31
|
+
/**
|
|
32
|
+
* The origin account is frozen.
|
|
33
|
+
**/
|
|
34
|
+
Frozen: AugmentedError<ApiType>;
|
|
35
|
+
/**
|
|
36
|
+
* The asset status is not the expected status.
|
|
37
|
+
**/
|
|
38
|
+
IncorrectStatus: AugmentedError<ApiType>;
|
|
39
|
+
/**
|
|
40
|
+
* The asset ID is already taken.
|
|
41
|
+
**/
|
|
42
|
+
InUse: AugmentedError<ApiType>;
|
|
43
|
+
/**
|
|
44
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
45
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
46
|
+
**/
|
|
47
|
+
LiveAsset: AugmentedError<ApiType>;
|
|
48
|
+
/**
|
|
49
|
+
* Minimum balance should be non-zero.
|
|
50
|
+
**/
|
|
51
|
+
MinBalanceZero: AugmentedError<ApiType>;
|
|
52
|
+
/**
|
|
53
|
+
* The account to alter does not exist.
|
|
54
|
+
**/
|
|
55
|
+
NoAccount: AugmentedError<ApiType>;
|
|
56
|
+
/**
|
|
57
|
+
* The asset-account doesn't have an associated deposit.
|
|
58
|
+
**/
|
|
59
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
60
|
+
/**
|
|
61
|
+
* The signing account has no permission to do the operation.
|
|
62
|
+
**/
|
|
63
|
+
NoPermission: AugmentedError<ApiType>;
|
|
64
|
+
/**
|
|
65
|
+
* The asset should be frozen before the given operation.
|
|
66
|
+
**/
|
|
67
|
+
NotFrozen: AugmentedError<ApiType>;
|
|
68
|
+
/**
|
|
69
|
+
* No approval exists that would allow the transfer.
|
|
70
|
+
**/
|
|
71
|
+
Unapproved: AugmentedError<ApiType>;
|
|
72
|
+
/**
|
|
73
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
74
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
75
|
+
* fewer then the maximum number of consumers has been reached.
|
|
76
|
+
**/
|
|
77
|
+
UnavailableConsumer: AugmentedError<ApiType>;
|
|
78
|
+
/**
|
|
79
|
+
* The given asset ID is unknown.
|
|
80
|
+
**/
|
|
81
|
+
Unknown: AugmentedError<ApiType>;
|
|
82
|
+
/**
|
|
83
|
+
* The operation would result in funds being burned.
|
|
84
|
+
**/
|
|
85
|
+
WouldBurn: AugmentedError<ApiType>;
|
|
86
|
+
/**
|
|
87
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
88
|
+
**/
|
|
89
|
+
WouldDie: AugmentedError<ApiType>;
|
|
90
|
+
/**
|
|
91
|
+
* Generic error
|
|
92
|
+
**/
|
|
93
|
+
[key: string]: AugmentedError<ApiType>;
|
|
94
|
+
};
|
|
6
95
|
babe: {
|
|
7
96
|
/**
|
|
8
97
|
* A given equivocation report is valid but already previously reported.
|
|
@@ -1056,6 +1145,116 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1056
1145
|
**/
|
|
1057
1146
|
[key: string]: AugmentedError<ApiType>;
|
|
1058
1147
|
};
|
|
1148
|
+
multiAssetDelegation: {
|
|
1149
|
+
/**
|
|
1150
|
+
* There are active services using the asset.
|
|
1151
|
+
**/
|
|
1152
|
+
ActiveServicesUsingAsset: AugmentedError<ApiType>;
|
|
1153
|
+
/**
|
|
1154
|
+
* The account is already a delegator.
|
|
1155
|
+
**/
|
|
1156
|
+
AlreadyDelegator: AugmentedError<ApiType>;
|
|
1157
|
+
/**
|
|
1158
|
+
* The operator is already leaving.
|
|
1159
|
+
**/
|
|
1160
|
+
AlreadyLeaving: AugmentedError<ApiType>;
|
|
1161
|
+
/**
|
|
1162
|
+
* The account is already an operator.
|
|
1163
|
+
**/
|
|
1164
|
+
AlreadyOperator: AugmentedError<ApiType>;
|
|
1165
|
+
/**
|
|
1166
|
+
* The asset ID is not found
|
|
1167
|
+
**/
|
|
1168
|
+
AssetNotFound: AugmentedError<ApiType>;
|
|
1169
|
+
/**
|
|
1170
|
+
* The asset is not whitelisted
|
|
1171
|
+
**/
|
|
1172
|
+
AssetNotWhitelisted: AugmentedError<ApiType>;
|
|
1173
|
+
/**
|
|
1174
|
+
* The blueprint ID is already whitelisted
|
|
1175
|
+
**/
|
|
1176
|
+
BlueprintAlreadyWhitelisted: AugmentedError<ApiType>;
|
|
1177
|
+
/**
|
|
1178
|
+
* The bond less request is not ready.
|
|
1179
|
+
**/
|
|
1180
|
+
BondLessNotReady: AugmentedError<ApiType>;
|
|
1181
|
+
/**
|
|
1182
|
+
* A bond less request already exists.
|
|
1183
|
+
**/
|
|
1184
|
+
BondLessRequestAlreadyExists: AugmentedError<ApiType>;
|
|
1185
|
+
/**
|
|
1186
|
+
* The bond less request is not satisfied.
|
|
1187
|
+
**/
|
|
1188
|
+
BondLessRequestNotSatisfied: AugmentedError<ApiType>;
|
|
1189
|
+
/**
|
|
1190
|
+
* The bond amount is too low.
|
|
1191
|
+
**/
|
|
1192
|
+
BondTooLow: AugmentedError<ApiType>;
|
|
1193
|
+
/**
|
|
1194
|
+
* The account cannot exit.
|
|
1195
|
+
**/
|
|
1196
|
+
CannotExit: AugmentedError<ApiType>;
|
|
1197
|
+
/**
|
|
1198
|
+
* The account has insufficient balance.
|
|
1199
|
+
**/
|
|
1200
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
1201
|
+
/**
|
|
1202
|
+
* There is not active delegation
|
|
1203
|
+
**/
|
|
1204
|
+
NoActiveDelegation: AugmentedError<ApiType>;
|
|
1205
|
+
/**
|
|
1206
|
+
* There is no bond less request.
|
|
1207
|
+
**/
|
|
1208
|
+
NoBondLessRequest: AugmentedError<ApiType>;
|
|
1209
|
+
/**
|
|
1210
|
+
* There is no scheduled bond less request.
|
|
1211
|
+
**/
|
|
1212
|
+
NoScheduledBondLess: AugmentedError<ApiType>;
|
|
1213
|
+
/**
|
|
1214
|
+
* The operator is not active.
|
|
1215
|
+
**/
|
|
1216
|
+
NotActiveOperator: AugmentedError<ApiType>;
|
|
1217
|
+
/**
|
|
1218
|
+
* The account is not an operator.
|
|
1219
|
+
**/
|
|
1220
|
+
NotAnOperator: AugmentedError<ApiType>;
|
|
1221
|
+
/**
|
|
1222
|
+
* The origin is not authorized to perform this action
|
|
1223
|
+
**/
|
|
1224
|
+
NotAuthorized: AugmentedError<ApiType>;
|
|
1225
|
+
/**
|
|
1226
|
+
* The account is not a delegator.
|
|
1227
|
+
**/
|
|
1228
|
+
NotDelegator: AugmentedError<ApiType>;
|
|
1229
|
+
/**
|
|
1230
|
+
* The account is not leaving as an operator.
|
|
1231
|
+
**/
|
|
1232
|
+
NotLeavingOperator: AugmentedError<ApiType>;
|
|
1233
|
+
/**
|
|
1234
|
+
* The round does not match the scheduled leave round.
|
|
1235
|
+
**/
|
|
1236
|
+
NotLeavingRound: AugmentedError<ApiType>;
|
|
1237
|
+
/**
|
|
1238
|
+
* The operator is not offline.
|
|
1239
|
+
**/
|
|
1240
|
+
NotOfflineOperator: AugmentedError<ApiType>;
|
|
1241
|
+
/**
|
|
1242
|
+
* There is no withdraw request.
|
|
1243
|
+
**/
|
|
1244
|
+
NoWithdrawRequest: AugmentedError<ApiType>;
|
|
1245
|
+
/**
|
|
1246
|
+
* The unstake is not ready.
|
|
1247
|
+
**/
|
|
1248
|
+
UnstakeNotReady: AugmentedError<ApiType>;
|
|
1249
|
+
/**
|
|
1250
|
+
* A withdraw request already exists.
|
|
1251
|
+
**/
|
|
1252
|
+
WithdrawRequestAlreadyExists: AugmentedError<ApiType>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Generic error
|
|
1255
|
+
**/
|
|
1256
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1257
|
+
};
|
|
1059
1258
|
multisig: {
|
|
1060
1259
|
/**
|
|
1061
1260
|
* Call is already approved by this signatory.
|
|
@@ -1298,6 +1497,44 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1298
1497
|
**/
|
|
1299
1498
|
[key: string]: AugmentedError<ApiType>;
|
|
1300
1499
|
};
|
|
1500
|
+
proxy: {
|
|
1501
|
+
/**
|
|
1502
|
+
* Account is already a proxy.
|
|
1503
|
+
**/
|
|
1504
|
+
Duplicate: AugmentedError<ApiType>;
|
|
1505
|
+
/**
|
|
1506
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
1507
|
+
**/
|
|
1508
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1509
|
+
/**
|
|
1510
|
+
* Cannot add self as proxy.
|
|
1511
|
+
**/
|
|
1512
|
+
NoSelfProxy: AugmentedError<ApiType>;
|
|
1513
|
+
/**
|
|
1514
|
+
* Proxy registration not found.
|
|
1515
|
+
**/
|
|
1516
|
+
NotFound: AugmentedError<ApiType>;
|
|
1517
|
+
/**
|
|
1518
|
+
* Sender is not a proxy of the account to be proxied.
|
|
1519
|
+
**/
|
|
1520
|
+
NotProxy: AugmentedError<ApiType>;
|
|
1521
|
+
/**
|
|
1522
|
+
* There are too many proxies registered or too many announcements pending.
|
|
1523
|
+
**/
|
|
1524
|
+
TooMany: AugmentedError<ApiType>;
|
|
1525
|
+
/**
|
|
1526
|
+
* Announcement, if made at all, was made too recently.
|
|
1527
|
+
**/
|
|
1528
|
+
Unannounced: AugmentedError<ApiType>;
|
|
1529
|
+
/**
|
|
1530
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
1531
|
+
**/
|
|
1532
|
+
Unproxyable: AugmentedError<ApiType>;
|
|
1533
|
+
/**
|
|
1534
|
+
* Generic error
|
|
1535
|
+
**/
|
|
1536
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1537
|
+
};
|
|
1301
1538
|
roles: {
|
|
1302
1539
|
/**
|
|
1303
1540
|
* Rewards already claimed
|
|
@@ -1565,6 +1802,172 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1565
1802
|
**/
|
|
1566
1803
|
[key: string]: AugmentedError<ApiType>;
|
|
1567
1804
|
};
|
|
1805
|
+
sygmaAccessSegregator: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Failed to grant extrinsic access permission to an account
|
|
1808
|
+
**/
|
|
1809
|
+
GrantAccessFailed: AugmentedError<ApiType>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Function unimplemented
|
|
1812
|
+
**/
|
|
1813
|
+
Unimplemented: AugmentedError<ApiType>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Generic error
|
|
1816
|
+
**/
|
|
1817
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1818
|
+
};
|
|
1819
|
+
sygmaBasicFeeHandler: {
|
|
1820
|
+
/**
|
|
1821
|
+
* Account has not gained access permission
|
|
1822
|
+
**/
|
|
1823
|
+
AccessDenied: AugmentedError<ApiType>;
|
|
1824
|
+
/**
|
|
1825
|
+
* Function unimplemented
|
|
1826
|
+
**/
|
|
1827
|
+
Unimplemented: AugmentedError<ApiType>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Generic error
|
|
1830
|
+
**/
|
|
1831
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1832
|
+
};
|
|
1833
|
+
sygmaBridge: {
|
|
1834
|
+
/**
|
|
1835
|
+
* Account has not gained access permission
|
|
1836
|
+
**/
|
|
1837
|
+
AccessDenied: AugmentedError<ApiType>;
|
|
1838
|
+
/**
|
|
1839
|
+
* Asset not bound to a resource id
|
|
1840
|
+
**/
|
|
1841
|
+
AssetNotBound: AugmentedError<ApiType>;
|
|
1842
|
+
/**
|
|
1843
|
+
* Protected operation, must be performed by relayer
|
|
1844
|
+
**/
|
|
1845
|
+
BadMpcSignature: AugmentedError<ApiType>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Bridge is paused
|
|
1848
|
+
**/
|
|
1849
|
+
BridgePaused: AugmentedError<ApiType>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Bridge is unpaused
|
|
1852
|
+
**/
|
|
1853
|
+
BridgeUnpaused: AugmentedError<ApiType>;
|
|
1854
|
+
/**
|
|
1855
|
+
* Failed on the decimal converter
|
|
1856
|
+
**/
|
|
1857
|
+
DecimalConversionFail: AugmentedError<ApiType>;
|
|
1858
|
+
/**
|
|
1859
|
+
* Deposit nonce has reached max integer value
|
|
1860
|
+
**/
|
|
1861
|
+
DepositNonceOverflow: AugmentedError<ApiType>;
|
|
1862
|
+
/**
|
|
1863
|
+
* Dest chain id not match
|
|
1864
|
+
**/
|
|
1865
|
+
DestChainIDNotMatch: AugmentedError<ApiType>;
|
|
1866
|
+
/**
|
|
1867
|
+
* Dest domain not supported
|
|
1868
|
+
**/
|
|
1869
|
+
DestDomainNotSupported: AugmentedError<ApiType>;
|
|
1870
|
+
/**
|
|
1871
|
+
* Proposal list empty
|
|
1872
|
+
**/
|
|
1873
|
+
EmptyProposalList: AugmentedError<ApiType>;
|
|
1874
|
+
/**
|
|
1875
|
+
* Failed to extract destination data
|
|
1876
|
+
**/
|
|
1877
|
+
ExtractDestDataFailed: AugmentedError<ApiType>;
|
|
1878
|
+
/**
|
|
1879
|
+
* The withdrawn amount can not cover the fee payment
|
|
1880
|
+
**/
|
|
1881
|
+
FeeTooExpensive: AugmentedError<ApiType>;
|
|
1882
|
+
/**
|
|
1883
|
+
* Insufficient balance on sender account
|
|
1884
|
+
**/
|
|
1885
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
1886
|
+
InvalidDepositDataInvalidAmount: AugmentedError<ApiType>;
|
|
1887
|
+
/**
|
|
1888
|
+
* Deposit data not correct
|
|
1889
|
+
**/
|
|
1890
|
+
InvalidDepositDataInvalidLength: AugmentedError<ApiType>;
|
|
1891
|
+
InvalidDepositDataInvalidRecipient: AugmentedError<ApiType>;
|
|
1892
|
+
InvalidDepositDataInvalidRecipientLength: AugmentedError<ApiType>;
|
|
1893
|
+
InvalidDepositDataRecipientLengthNotMatch: AugmentedError<ApiType>;
|
|
1894
|
+
/**
|
|
1895
|
+
* Fee config option missing
|
|
1896
|
+
**/
|
|
1897
|
+
MissingFeeConfig: AugmentedError<ApiType>;
|
|
1898
|
+
/**
|
|
1899
|
+
* MPC address not set
|
|
1900
|
+
**/
|
|
1901
|
+
MissingMpcAddress: AugmentedError<ApiType>;
|
|
1902
|
+
/**
|
|
1903
|
+
* MPC address can not be updated
|
|
1904
|
+
**/
|
|
1905
|
+
MpcAddrNotUpdatable: AugmentedError<ApiType>;
|
|
1906
|
+
/**
|
|
1907
|
+
* Asset not bound to a liquidity holder account
|
|
1908
|
+
**/
|
|
1909
|
+
NoLiquidityHolderAccountBound: AugmentedError<ApiType>;
|
|
1910
|
+
/**
|
|
1911
|
+
* Proposal has either failed or succeeded
|
|
1912
|
+
**/
|
|
1913
|
+
ProposalAlreadyComplete: AugmentedError<ApiType>;
|
|
1914
|
+
/**
|
|
1915
|
+
* Asset transactor execution failed
|
|
1916
|
+
**/
|
|
1917
|
+
TransactFailedDeposit: AugmentedError<ApiType>;
|
|
1918
|
+
TransactFailedFeeDeposit: AugmentedError<ApiType>;
|
|
1919
|
+
TransactFailedHoldInReserved: AugmentedError<ApiType>;
|
|
1920
|
+
TransactFailedReleaseFromReserved: AugmentedError<ApiType>;
|
|
1921
|
+
TransactFailedWithdraw: AugmentedError<ApiType>;
|
|
1922
|
+
/**
|
|
1923
|
+
* Transactor operation failed
|
|
1924
|
+
**/
|
|
1925
|
+
TransactorFailed: AugmentedError<ApiType>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Function unimplemented
|
|
1928
|
+
**/
|
|
1929
|
+
Unimplemented: AugmentedError<ApiType>;
|
|
1930
|
+
/**
|
|
1931
|
+
* Generic error
|
|
1932
|
+
**/
|
|
1933
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1934
|
+
};
|
|
1935
|
+
sygmaFeeHandlerRouter: {
|
|
1936
|
+
/**
|
|
1937
|
+
* Account has not gained access permission
|
|
1938
|
+
**/
|
|
1939
|
+
AccessDenied: AugmentedError<ApiType>;
|
|
1940
|
+
/**
|
|
1941
|
+
* Function unimplemented
|
|
1942
|
+
**/
|
|
1943
|
+
Unimplemented: AugmentedError<ApiType>;
|
|
1944
|
+
/**
|
|
1945
|
+
* Generic error
|
|
1946
|
+
**/
|
|
1947
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1948
|
+
};
|
|
1949
|
+
sygmaPercentageFeeHandler: {
|
|
1950
|
+
/**
|
|
1951
|
+
* Account has not gained access permission
|
|
1952
|
+
**/
|
|
1953
|
+
AccessDenied: AugmentedError<ApiType>;
|
|
1954
|
+
/**
|
|
1955
|
+
* Fee rate is out of range [0, 10000)
|
|
1956
|
+
**/
|
|
1957
|
+
FeeRateOutOfRange: AugmentedError<ApiType>;
|
|
1958
|
+
/**
|
|
1959
|
+
* Percentage fee bound is invalid
|
|
1960
|
+
**/
|
|
1961
|
+
InvalidFeeBound: AugmentedError<ApiType>;
|
|
1962
|
+
/**
|
|
1963
|
+
* Function unimplemented
|
|
1964
|
+
**/
|
|
1965
|
+
Unimplemented: AugmentedError<ApiType>;
|
|
1966
|
+
/**
|
|
1967
|
+
* Generic error
|
|
1968
|
+
**/
|
|
1969
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1970
|
+
};
|
|
1568
1971
|
system: {
|
|
1569
1972
|
/**
|
|
1570
1973
|
* The origin filter prevent the call to be dispatched.
|