@webb-tools/tangle-substrate-types 0.5.5 → 0.5.9

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.
Files changed (36) hide show
  1. package/build/interfaces/augment-api-consts.d.ts +104 -4
  2. package/build/interfaces/augment-api-errors.d.ts +365 -0
  3. package/build/interfaces/augment-api-events.d.ts +495 -2
  4. package/build/interfaces/augment-api-query.d.ts +140 -2
  5. package/build/interfaces/augment-api-tx.d.ts +609 -1
  6. package/build/interfaces/augment-types.d.ts +21 -2
  7. package/build/interfaces/lookup.d.ts +1377 -369
  8. package/build/interfaces/lookup.js +1360 -352
  9. package/build/interfaces/registry.d.ts +57 -1
  10. package/build/interfaces/types-lookup.d.ts +1477 -353
  11. package/build/metadata/static-latest.d.ts +1 -1
  12. package/build/metadata/static-latest.js +1 -1
  13. package/build/package.json +1 -1
  14. package/package.json +4 -4
  15. package/src/interfaces/augment-api-consts.ts +104 -4
  16. package/src/interfaces/augment-api-errors.ts +365 -0
  17. package/src/interfaces/augment-api-events.ts +294 -2
  18. package/src/interfaces/augment-api-query.ts +131 -2
  19. package/src/interfaces/augment-api-tx.ts +315 -1
  20. package/src/interfaces/augment-types.ts +21 -2
  21. package/src/interfaces/lookup.ts +1361 -353
  22. package/src/interfaces/registry.ts +57 -1
  23. package/src/interfaces/types-lookup.ts +1531 -353
  24. package/src/metadata/metadata.json +1 -1
  25. package/src/metadata/static-latest.ts +1 -1
  26. package/ts-types/src/interfaces/augment-api-consts.d.ts +104 -4
  27. package/ts-types/src/interfaces/augment-api-errors.d.ts +365 -0
  28. package/ts-types/src/interfaces/augment-api-events.d.ts +495 -2
  29. package/ts-types/src/interfaces/augment-api-query.d.ts +140 -2
  30. package/ts-types/src/interfaces/augment-api-tx.d.ts +609 -1
  31. package/ts-types/src/interfaces/augment-types.d.ts +21 -2
  32. package/ts-types/src/interfaces/lookup.d.ts +1377 -369
  33. package/ts-types/src/interfaces/registry.d.ts +57 -1
  34. package/ts-types/src/interfaces/types-lookup.d.ts +1477 -353
  35. package/ts-types/src/metadata/static-latest.d.ts +1 -1
  36. package/ts-types/tsconfig.tsbuildinfo +1 -1
@@ -1 +1 @@
1
- {"name":"@webb-tools/tangle-substrate-types","version":"0.5.5","description":"Polkadot.js type definitions required for interacting with Webb's tangle network","main":"./index.js","types":"./index.d.ts","typings":"./index.d.ts","author":"Webb Developers <drew@webb.tools>","license":"Apache-2.0","type":"commonjs","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":"https://github.com/webb-tools/tangle.git","bugs":{"url":"https://github.com/webb-tools/tangle/issues"},"homepage":"https://github.com/webb-tools/tangle","dependencies":{"@babel/cli":"^7.23.9","@babel/core":"^7.24.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.18.6","@babel/plugin-proposal-numeric-separator":"^7.18.6","@babel/plugin-proposal-optional-chaining":"^7.20.7","@babel/plugin-syntax-bigint":"^7.8.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-assertions":"^7.23.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/plugin-syntax-top-level-await":"^7.14.5","@babel/plugin-transform-regenerator":"^7.23.3","@babel/plugin-transform-runtime":"^7.24.0","@babel/preset-env":"^7.24.0","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@babel/register":"^7.23.7","@babel/runtime":"^7.24.0","@open-web3/orml-types":"^2.0.1","@polkadot/api-derive":"10.12.2","@polkadot/dev":"^0.78.11","@polkadot/typegen":"10.12.2","@polkadot/types":"10.12.2","babel-jest":"^29.7.0","babel-plugin-module-extension-resolver":"^1.0.0","babel-plugin-module-resolver":"^5.0.0","babel-plugin-styled-components":"^2.1.4","ecpair":"^2.1.0","elliptic":"^6.5.5","fs-extra":"^11.2.0","glob2base":"^0.0.12","minimatch":"^9.0.3","mkdirp":"^3.0.1","tiny-secp256k1":"^2.2.3"},"devDependencies":{"@types/websocket":"^1.0.10","rimraf":"5.0.5","ts-node":"10.9.2","tsconfig-paths":"^4.2.0","typescript":"5.4.2","websocket":"^1.0.34"},"scripts":{"build":"node ./scripts/build.js","build:interfaces":"yarn build:interfaces:defs && yarn build:interfaces:chain && rm ./src/interfaces/index.ts && rm ./src/interfaces/types.ts","build:interfaces:defs":"npx ts-node node_modules/.bin/polkadot-types-from-defs --input ./src/interfaces --package @webb-tools/tangle-substrate-types --endpoint ./src/metadata/metadata.json","build:interfaces:chain":"npx ts-node node_modules/.bin/polkadot-types-from-chain --endpoint ./src/metadata/metadata.json --output ./src/interfaces","clean":"rm -rf build && rm -rf ts-types","publish-types":"node ./scripts/publish-types.js","update:metadata":"npx ts-node ./scripts/updateMetadata.ts"}}
1
+ {"name":"@webb-tools/tangle-substrate-types","version":"0.5.8","description":"Polkadot.js type definitions required for interacting with Webb's tangle network","main":"./index.js","types":"./index.d.ts","typings":"./index.d.ts","author":"Webb Developers <drew@webb.tools>","license":"Apache-2.0","type":"commonjs","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":"https://github.com/webb-tools/tangle.git","bugs":{"url":"https://github.com/webb-tools/tangle/issues"},"homepage":"https://github.com/webb-tools/tangle","dependencies":{"@babel/cli":"^7.23.9","@babel/core":"^7.24.0","@babel/plugin-proposal-nullish-coalescing-operator":"^7.18.6","@babel/plugin-proposal-numeric-separator":"^7.18.6","@babel/plugin-proposal-optional-chaining":"^7.20.7","@babel/plugin-syntax-bigint":"^7.8.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-assertions":"^7.23.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/plugin-syntax-top-level-await":"^7.14.5","@babel/plugin-transform-regenerator":"^7.23.3","@babel/plugin-transform-runtime":"^7.24.0","@babel/preset-env":"^7.24.0","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@babel/register":"^7.23.7","@babel/runtime":"^7.24.0","@open-web3/orml-types":"^2.0.1","@polkadot/api":"^11.0.2","@polkadot/dev":"^0.78.11","@polkadot/typegen":"^11.0.2","@polkadot/types":"^11.0.2","babel-jest":"^29.7.0","babel-plugin-module-extension-resolver":"^1.0.0","babel-plugin-module-resolver":"^5.0.0","babel-plugin-styled-components":"^2.1.4","ecpair":"^2.1.0","elliptic":"^6.5.5","fs-extra":"^11.2.0","glob2base":"^0.0.12","minimatch":"^9.0.3","mkdirp":"^3.0.1","tiny-secp256k1":"^2.2.3"},"devDependencies":{"@types/websocket":"^1.0.10","rimraf":"5.0.5","ts-node":"10.9.2","tsconfig-paths":"^4.2.0","typescript":"5.4.2","websocket":"^1.0.34"},"scripts":{"build":"node ./scripts/build.js","build:interfaces":"yarn build:interfaces:defs && yarn build:interfaces:chain && rm ./src/interfaces/index.ts && rm ./src/interfaces/types.ts","build:interfaces:defs":"npx ts-node node_modules/.bin/polkadot-types-from-defs --input ./src/interfaces --package @webb-tools/tangle-substrate-types --endpoint ./src/metadata/metadata.json","build:interfaces:chain":"npx ts-node node_modules/.bin/polkadot-types-from-chain --endpoint ./src/metadata/metadata.json --output ./src/interfaces","clean":"rm -rf build && rm -rf ts-types","publish-types":"node ./scripts/publish-types.js","update:metadata":"npx ts-node ./scripts/updateMetadata.ts"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webb-tools/tangle-substrate-types",
3
- "version": "0.5.5",
3
+ "version": "0.5.9",
4
4
  "description": "Polkadot.js type definitions required for interacting with Webb's tangle network",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -36,10 +36,10 @@
36
36
  "@babel/register": "^7.23.7",
37
37
  "@babel/runtime": "^7.24.0",
38
38
  "@open-web3/orml-types": "^2.0.1",
39
- "@polkadot/api-derive": "10.12.2",
39
+ "@polkadot/api": "^11.0.2",
40
40
  "@polkadot/dev": "^0.78.11",
41
- "@polkadot/typegen": "10.12.2",
42
- "@polkadot/types": "10.12.2",
41
+ "@polkadot/typegen": "^11.0.2",
42
+ "@polkadot/types": "^11.0.2",
43
43
  "babel-jest": "^29.7.0",
44
44
  "babel-plugin-module-extension-resolver": "^1.0.0",
45
45
  "babel-plugin-module-resolver": "^5.0.0",
@@ -6,15 +6,53 @@
6
6
  import '@polkadot/api-base/types/consts';
7
7
 
8
8
  import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
9
- import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
- import type { Codec } from '@polkadot/types-codec/types';
11
- import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
12
- import { SpWeightsWeightV2Weight, FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
9
+ import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
+ import type { Codec, ITuple } from '@polkadot/types-codec/types';
11
+ import type { AccountId32, H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
12
+ import { SpWeightsWeightV2Weight, FrameSupportPalletId, StagingXcmV4AssetAssetId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
13
13
 
14
14
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
15
15
 
16
16
  declare module '@polkadot/api-base/types/consts' {
17
17
  interface AugmentedConsts<ApiType extends ApiTypes> {
18
+ assets: {
19
+ /**
20
+ * The amount of funds that must be reserved when creating a new approval.
21
+ **/
22
+ approvalDeposit: u128 & AugmentedConst<ApiType>;
23
+ /**
24
+ * The amount of funds that must be reserved for a non-provider asset account to be
25
+ * maintained.
26
+ **/
27
+ assetAccountDeposit: u128 & AugmentedConst<ApiType>;
28
+ /**
29
+ * The basic amount of funds that must be reserved for an asset.
30
+ **/
31
+ assetDeposit: u128 & AugmentedConst<ApiType>;
32
+ /**
33
+ * The basic amount of funds that must be reserved when adding metadata to your asset.
34
+ **/
35
+ metadataDepositBase: u128 & AugmentedConst<ApiType>;
36
+ /**
37
+ * The additional funds that must be reserved for the number of bytes you store in your
38
+ * metadata.
39
+ **/
40
+ metadataDepositPerByte: u128 & AugmentedConst<ApiType>;
41
+ /**
42
+ * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
43
+ *
44
+ * Must be configured to result in a weight that makes each call fit in a block.
45
+ **/
46
+ removeItemsLimit: u32 & AugmentedConst<ApiType>;
47
+ /**
48
+ * The maximum length of a name or symbol stored on-chain.
49
+ **/
50
+ stringLimit: u32 & AugmentedConst<ApiType>;
51
+ /**
52
+ * Generic const
53
+ **/
54
+ [key: string]: Codec;
55
+ };
18
56
  babe: {
19
57
  /**
20
58
  * The amount of time, in slots, that each epoch should last.
@@ -505,6 +543,40 @@ declare module '@polkadot/api-base/types/consts' {
505
543
  **/
506
544
  [key: string]: Codec;
507
545
  };
546
+ multiAssetDelegation: {
547
+ /**
548
+ * The duration for which the bond is locked.
549
+ **/
550
+ bondDuration: u32 & AugmentedConst<ApiType>;
551
+ /**
552
+ * Number of rounds that delegation bond less requests must wait before being executable.
553
+ **/
554
+ delegationBondLessDelay: u32 & AugmentedConst<ApiType>;
555
+ /**
556
+ * Number of rounds that delegators remain bonded before the exit request is executable.
557
+ **/
558
+ leaveDelegatorsDelay: u32 & AugmentedConst<ApiType>;
559
+ /**
560
+ * Number of rounds that operators remain bonded before the exit request is executable.
561
+ **/
562
+ leaveOperatorsDelay: u32 & AugmentedConst<ApiType>;
563
+ /**
564
+ * The minimum amount of bond required for a delegate.
565
+ **/
566
+ minDelegateAmount: u128 & AugmentedConst<ApiType>;
567
+ /**
568
+ * The minimum amount of bond required for an operator.
569
+ **/
570
+ minOperatorBondAmount: u128 & AugmentedConst<ApiType>;
571
+ /**
572
+ * Number of rounds operator requests to decrease self-bond must wait to be executable.
573
+ **/
574
+ operatorBondLessDelay: u32 & AugmentedConst<ApiType>;
575
+ /**
576
+ * Generic const
577
+ **/
578
+ [key: string]: Codec;
579
+ };
508
580
  multisig: {
509
581
  /**
510
582
  * The base amount of currency needed to reserve for creating a multisig execution or to
@@ -701,6 +773,34 @@ declare module '@polkadot/api-base/types/consts' {
701
773
  **/
702
774
  [key: string]: Codec;
703
775
  };
776
+ sygmaBridge: {
777
+ /**
778
+ * EIP712 Verifying contract address
779
+ * This is used in EIP712 typed data domain
780
+ **/
781
+ destVerifyingContractAddress: H160 & AugmentedConst<ApiType>;
782
+ /**
783
+ * Pallet ChainID
784
+ * This is used in EIP712 typed data domain
785
+ **/
786
+ eip712ChainID: U256 & AugmentedConst<ApiType>;
787
+ /**
788
+ * Fee reserve account
789
+ **/
790
+ feeReserveAccount: AccountId32 & AugmentedConst<ApiType>;
791
+ /**
792
+ * AssetId and ResourceId pairs
793
+ **/
794
+ resourcePairs: Vec<ITuple<[StagingXcmV4AssetAssetId, U8aFixed]>> & AugmentedConst<ApiType>;
795
+ /**
796
+ * Bridge transfer reserve accounts mapping with designated assets
797
+ **/
798
+ transferReserveAccounts: BTreeMap<StagingXcmV4AssetAssetId, AccountId32> & AugmentedConst<ApiType>;
799
+ /**
800
+ * Generic const
801
+ **/
802
+ [key: string]: Codec;
803
+ };
704
804
  system: {
705
805
  /**
706
806
  * Maximum number of block number to block hash mappings to keep (oldest pruned first).
@@ -11,6 +11,95 @@ export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>
11
11
 
12
12
  declare module '@polkadot/api-base/types/errors' {
13
13
  interface AugmentedErrors<ApiType extends ApiTypes> {
14
+ assets: {
15
+ /**
16
+ * The asset-account already exists.
17
+ **/
18
+ AlreadyExists: AugmentedError<ApiType>;
19
+ /**
20
+ * The asset is not live, and likely being destroyed.
21
+ **/
22
+ AssetNotLive: AugmentedError<ApiType>;
23
+ /**
24
+ * Invalid metadata given.
25
+ **/
26
+ BadMetadata: AugmentedError<ApiType>;
27
+ /**
28
+ * Invalid witness data given.
29
+ **/
30
+ BadWitness: AugmentedError<ApiType>;
31
+ /**
32
+ * Account balance must be greater than or equal to the transfer amount.
33
+ **/
34
+ BalanceLow: AugmentedError<ApiType>;
35
+ /**
36
+ * Callback action resulted in error
37
+ **/
38
+ CallbackFailed: AugmentedError<ApiType>;
39
+ /**
40
+ * The origin account is frozen.
41
+ **/
42
+ Frozen: AugmentedError<ApiType>;
43
+ /**
44
+ * The asset status is not the expected status.
45
+ **/
46
+ IncorrectStatus: AugmentedError<ApiType>;
47
+ /**
48
+ * The asset ID is already taken.
49
+ **/
50
+ InUse: AugmentedError<ApiType>;
51
+ /**
52
+ * The asset is a live asset and is actively being used. Usually emit for operations such
53
+ * as `start_destroy` which require the asset to be in a destroying state.
54
+ **/
55
+ LiveAsset: AugmentedError<ApiType>;
56
+ /**
57
+ * Minimum balance should be non-zero.
58
+ **/
59
+ MinBalanceZero: AugmentedError<ApiType>;
60
+ /**
61
+ * The account to alter does not exist.
62
+ **/
63
+ NoAccount: AugmentedError<ApiType>;
64
+ /**
65
+ * The asset-account doesn't have an associated deposit.
66
+ **/
67
+ NoDeposit: AugmentedError<ApiType>;
68
+ /**
69
+ * The signing account has no permission to do the operation.
70
+ **/
71
+ NoPermission: AugmentedError<ApiType>;
72
+ /**
73
+ * The asset should be frozen before the given operation.
74
+ **/
75
+ NotFrozen: AugmentedError<ApiType>;
76
+ /**
77
+ * No approval exists that would allow the transfer.
78
+ **/
79
+ Unapproved: AugmentedError<ApiType>;
80
+ /**
81
+ * Unable to increment the consumer reference counters on the account. Either no provider
82
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
83
+ * fewer then the maximum number of consumers has been reached.
84
+ **/
85
+ UnavailableConsumer: AugmentedError<ApiType>;
86
+ /**
87
+ * The given asset ID is unknown.
88
+ **/
89
+ Unknown: AugmentedError<ApiType>;
90
+ /**
91
+ * The operation would result in funds being burned.
92
+ **/
93
+ WouldBurn: AugmentedError<ApiType>;
94
+ /**
95
+ * The source account would not survive the transfer and it needs to stay alive.
96
+ **/
97
+ WouldDie: AugmentedError<ApiType>;
98
+ /**
99
+ * Generic error
100
+ **/
101
+ [key: string]: AugmentedError<ApiType>;
102
+ };
14
103
  babe: {
15
104
  /**
16
105
  * A given equivocation report is valid but already previously reported.
@@ -1064,6 +1153,116 @@ declare module '@polkadot/api-base/types/errors' {
1064
1153
  **/
1065
1154
  [key: string]: AugmentedError<ApiType>;
1066
1155
  };
1156
+ multiAssetDelegation: {
1157
+ /**
1158
+ * There are active services using the asset.
1159
+ **/
1160
+ ActiveServicesUsingAsset: AugmentedError<ApiType>;
1161
+ /**
1162
+ * The account is already a delegator.
1163
+ **/
1164
+ AlreadyDelegator: AugmentedError<ApiType>;
1165
+ /**
1166
+ * The operator is already leaving.
1167
+ **/
1168
+ AlreadyLeaving: AugmentedError<ApiType>;
1169
+ /**
1170
+ * The account is already an operator.
1171
+ **/
1172
+ AlreadyOperator: AugmentedError<ApiType>;
1173
+ /**
1174
+ * The asset ID is not found
1175
+ **/
1176
+ AssetNotFound: AugmentedError<ApiType>;
1177
+ /**
1178
+ * The asset is not whitelisted
1179
+ **/
1180
+ AssetNotWhitelisted: AugmentedError<ApiType>;
1181
+ /**
1182
+ * The blueprint ID is already whitelisted
1183
+ **/
1184
+ BlueprintAlreadyWhitelisted: AugmentedError<ApiType>;
1185
+ /**
1186
+ * The bond less request is not ready.
1187
+ **/
1188
+ BondLessNotReady: AugmentedError<ApiType>;
1189
+ /**
1190
+ * A bond less request already exists.
1191
+ **/
1192
+ BondLessRequestAlreadyExists: AugmentedError<ApiType>;
1193
+ /**
1194
+ * The bond less request is not satisfied.
1195
+ **/
1196
+ BondLessRequestNotSatisfied: AugmentedError<ApiType>;
1197
+ /**
1198
+ * The bond amount is too low.
1199
+ **/
1200
+ BondTooLow: AugmentedError<ApiType>;
1201
+ /**
1202
+ * The account cannot exit.
1203
+ **/
1204
+ CannotExit: AugmentedError<ApiType>;
1205
+ /**
1206
+ * The account has insufficient balance.
1207
+ **/
1208
+ InsufficientBalance: AugmentedError<ApiType>;
1209
+ /**
1210
+ * There is not active delegation
1211
+ **/
1212
+ NoActiveDelegation: AugmentedError<ApiType>;
1213
+ /**
1214
+ * There is no bond less request.
1215
+ **/
1216
+ NoBondLessRequest: AugmentedError<ApiType>;
1217
+ /**
1218
+ * There is no scheduled bond less request.
1219
+ **/
1220
+ NoScheduledBondLess: AugmentedError<ApiType>;
1221
+ /**
1222
+ * The operator is not active.
1223
+ **/
1224
+ NotActiveOperator: AugmentedError<ApiType>;
1225
+ /**
1226
+ * The account is not an operator.
1227
+ **/
1228
+ NotAnOperator: AugmentedError<ApiType>;
1229
+ /**
1230
+ * The origin is not authorized to perform this action
1231
+ **/
1232
+ NotAuthorized: AugmentedError<ApiType>;
1233
+ /**
1234
+ * The account is not a delegator.
1235
+ **/
1236
+ NotDelegator: AugmentedError<ApiType>;
1237
+ /**
1238
+ * The account is not leaving as an operator.
1239
+ **/
1240
+ NotLeavingOperator: AugmentedError<ApiType>;
1241
+ /**
1242
+ * The round does not match the scheduled leave round.
1243
+ **/
1244
+ NotLeavingRound: AugmentedError<ApiType>;
1245
+ /**
1246
+ * The operator is not offline.
1247
+ **/
1248
+ NotOfflineOperator: AugmentedError<ApiType>;
1249
+ /**
1250
+ * There is no withdraw request.
1251
+ **/
1252
+ NoWithdrawRequest: AugmentedError<ApiType>;
1253
+ /**
1254
+ * The unstake is not ready.
1255
+ **/
1256
+ UnstakeNotReady: AugmentedError<ApiType>;
1257
+ /**
1258
+ * A withdraw request already exists.
1259
+ **/
1260
+ WithdrawRequestAlreadyExists: AugmentedError<ApiType>;
1261
+ /**
1262
+ * Generic error
1263
+ **/
1264
+ [key: string]: AugmentedError<ApiType>;
1265
+ };
1067
1266
  multisig: {
1068
1267
  /**
1069
1268
  * Call is already approved by this signatory.
@@ -1611,6 +1810,172 @@ declare module '@polkadot/api-base/types/errors' {
1611
1810
  **/
1612
1811
  [key: string]: AugmentedError<ApiType>;
1613
1812
  };
1813
+ sygmaAccessSegregator: {
1814
+ /**
1815
+ * Failed to grant extrinsic access permission to an account
1816
+ **/
1817
+ GrantAccessFailed: AugmentedError<ApiType>;
1818
+ /**
1819
+ * Function unimplemented
1820
+ **/
1821
+ Unimplemented: AugmentedError<ApiType>;
1822
+ /**
1823
+ * Generic error
1824
+ **/
1825
+ [key: string]: AugmentedError<ApiType>;
1826
+ };
1827
+ sygmaBasicFeeHandler: {
1828
+ /**
1829
+ * Account has not gained access permission
1830
+ **/
1831
+ AccessDenied: AugmentedError<ApiType>;
1832
+ /**
1833
+ * Function unimplemented
1834
+ **/
1835
+ Unimplemented: AugmentedError<ApiType>;
1836
+ /**
1837
+ * Generic error
1838
+ **/
1839
+ [key: string]: AugmentedError<ApiType>;
1840
+ };
1841
+ sygmaBridge: {
1842
+ /**
1843
+ * Account has not gained access permission
1844
+ **/
1845
+ AccessDenied: AugmentedError<ApiType>;
1846
+ /**
1847
+ * Asset not bound to a resource id
1848
+ **/
1849
+ AssetNotBound: AugmentedError<ApiType>;
1850
+ /**
1851
+ * Protected operation, must be performed by relayer
1852
+ **/
1853
+ BadMpcSignature: AugmentedError<ApiType>;
1854
+ /**
1855
+ * Bridge is paused
1856
+ **/
1857
+ BridgePaused: AugmentedError<ApiType>;
1858
+ /**
1859
+ * Bridge is unpaused
1860
+ **/
1861
+ BridgeUnpaused: AugmentedError<ApiType>;
1862
+ /**
1863
+ * Failed on the decimal converter
1864
+ **/
1865
+ DecimalConversionFail: AugmentedError<ApiType>;
1866
+ /**
1867
+ * Deposit nonce has reached max integer value
1868
+ **/
1869
+ DepositNonceOverflow: AugmentedError<ApiType>;
1870
+ /**
1871
+ * Dest chain id not match
1872
+ **/
1873
+ DestChainIDNotMatch: AugmentedError<ApiType>;
1874
+ /**
1875
+ * Dest domain not supported
1876
+ **/
1877
+ DestDomainNotSupported: AugmentedError<ApiType>;
1878
+ /**
1879
+ * Proposal list empty
1880
+ **/
1881
+ EmptyProposalList: AugmentedError<ApiType>;
1882
+ /**
1883
+ * Failed to extract destination data
1884
+ **/
1885
+ ExtractDestDataFailed: AugmentedError<ApiType>;
1886
+ /**
1887
+ * The withdrawn amount can not cover the fee payment
1888
+ **/
1889
+ FeeTooExpensive: AugmentedError<ApiType>;
1890
+ /**
1891
+ * Insufficient balance on sender account
1892
+ **/
1893
+ InsufficientBalance: AugmentedError<ApiType>;
1894
+ InvalidDepositDataInvalidAmount: AugmentedError<ApiType>;
1895
+ /**
1896
+ * Deposit data not correct
1897
+ **/
1898
+ InvalidDepositDataInvalidLength: AugmentedError<ApiType>;
1899
+ InvalidDepositDataInvalidRecipient: AugmentedError<ApiType>;
1900
+ InvalidDepositDataInvalidRecipientLength: AugmentedError<ApiType>;
1901
+ InvalidDepositDataRecipientLengthNotMatch: AugmentedError<ApiType>;
1902
+ /**
1903
+ * Fee config option missing
1904
+ **/
1905
+ MissingFeeConfig: AugmentedError<ApiType>;
1906
+ /**
1907
+ * MPC address not set
1908
+ **/
1909
+ MissingMpcAddress: AugmentedError<ApiType>;
1910
+ /**
1911
+ * MPC address can not be updated
1912
+ **/
1913
+ MpcAddrNotUpdatable: AugmentedError<ApiType>;
1914
+ /**
1915
+ * Asset not bound to a liquidity holder account
1916
+ **/
1917
+ NoLiquidityHolderAccountBound: AugmentedError<ApiType>;
1918
+ /**
1919
+ * Proposal has either failed or succeeded
1920
+ **/
1921
+ ProposalAlreadyComplete: AugmentedError<ApiType>;
1922
+ /**
1923
+ * Asset transactor execution failed
1924
+ **/
1925
+ TransactFailedDeposit: AugmentedError<ApiType>;
1926
+ TransactFailedFeeDeposit: AugmentedError<ApiType>;
1927
+ TransactFailedHoldInReserved: AugmentedError<ApiType>;
1928
+ TransactFailedReleaseFromReserved: AugmentedError<ApiType>;
1929
+ TransactFailedWithdraw: AugmentedError<ApiType>;
1930
+ /**
1931
+ * Transactor operation failed
1932
+ **/
1933
+ TransactorFailed: AugmentedError<ApiType>;
1934
+ /**
1935
+ * Function unimplemented
1936
+ **/
1937
+ Unimplemented: AugmentedError<ApiType>;
1938
+ /**
1939
+ * Generic error
1940
+ **/
1941
+ [key: string]: AugmentedError<ApiType>;
1942
+ };
1943
+ sygmaFeeHandlerRouter: {
1944
+ /**
1945
+ * Account has not gained access permission
1946
+ **/
1947
+ AccessDenied: AugmentedError<ApiType>;
1948
+ /**
1949
+ * Function unimplemented
1950
+ **/
1951
+ Unimplemented: AugmentedError<ApiType>;
1952
+ /**
1953
+ * Generic error
1954
+ **/
1955
+ [key: string]: AugmentedError<ApiType>;
1956
+ };
1957
+ sygmaPercentageFeeHandler: {
1958
+ /**
1959
+ * Account has not gained access permission
1960
+ **/
1961
+ AccessDenied: AugmentedError<ApiType>;
1962
+ /**
1963
+ * Fee rate is out of range [0, 10000)
1964
+ **/
1965
+ FeeRateOutOfRange: AugmentedError<ApiType>;
1966
+ /**
1967
+ * Percentage fee bound is invalid
1968
+ **/
1969
+ InvalidFeeBound: AugmentedError<ApiType>;
1970
+ /**
1971
+ * Function unimplemented
1972
+ **/
1973
+ Unimplemented: AugmentedError<ApiType>;
1974
+ /**
1975
+ * Generic error
1976
+ **/
1977
+ [key: string]: AugmentedError<ApiType>;
1978
+ };
1614
1979
  system: {
1615
1980
  /**
1616
1981
  * The origin filter prevent the call to be dispatched.