@argonprotocol/mainchain 1.4.3-dev.fbc5662c → 1.4.4-dev.abb08dac
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/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
- package/browser/index.d.ts +1884 -465
- package/browser/index.js +6670 -539
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
- package/lib/index.cjs +6692 -551
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1884 -465
- package/lib/index.d.ts +1884 -465
- package/lib/index.js +6683 -542
- package/lib/index.js.map +1 -1
- package/package.json +17 -19
- package/src/interfaces/augment-api-consts.ts +59 -6
- package/src/interfaces/augment-api-errors.ts +212 -11
- package/src/interfaces/augment-api-events.ts +295 -13
- package/src/interfaces/augment-api-query.ts +291 -27
- package/src/interfaces/augment-api-rpc.ts +1 -1
- package/src/interfaces/augment-api-runtime.ts +1 -27
- package/src/interfaces/augment-api-tx.ts +138 -24
- package/src/interfaces/augment-types.ts +7 -3
- package/src/interfaces/definitions.ts +11 -26
- package/src/interfaces/ethereum/types.ts +17 -5
- package/src/interfaces/lookup.ts +700 -301
- package/src/interfaces/registry.ts +56 -16
- package/src/interfaces/types-lookup.ts +845 -322
- package/lib/chunk-3KFMHNNJ.cjs +0 -706
- package/lib/chunk-3KFMHNNJ.cjs.map +0 -1
- package/lib/chunk-D3FCDADJ.cjs +0 -175
- package/lib/chunk-D3FCDADJ.cjs.map +0 -1
- package/lib/chunk-RF6NOJOR.js +0 -706
- package/lib/chunk-RF6NOJOR.js.map +0 -1
- package/lib/chunk-YPXWOFUS.js +0 -175
- package/lib/chunk-YPXWOFUS.js.map +0 -1
- package/lib/lib-CU2JUZW6.cjs +0 -403
- package/lib/lib-CU2JUZW6.cjs.map +0 -1
- package/lib/lib-P3PEMYOB.js +0 -403
- package/lib/lib-P3PEMYOB.js.map +0 -1
- package/lib/setPreset-NCTHSXWD.js +0 -15
- package/lib/setPreset-NCTHSXWD.js.map +0 -1
- package/lib/setPreset-XHOPATBO.cjs +0 -15
- package/lib/setPreset-XHOPATBO.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4-dev.abb08dac",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"homepage": "https://github.com/argonprotocol/mainchain#readme",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "yarn generate:defs && yarn generate:meta && node clean-build.js && yarn tsc",
|
|
17
|
-
"generate:defs": "
|
|
18
|
-
"generate:meta": "
|
|
17
|
+
"generate:defs": "polkadot-types-from-defs --endpoint metadata.json --input ./src/interfaces --package @argonprotocol/mainchain/interfaces",
|
|
18
|
+
"generate:meta": "polkadot-types-from-chain --endpoint metadata.json --output ./src/interfaces --package @argonprotocol/mainchain/interfaces --strict",
|
|
19
19
|
"test": "vitest --run --config vitest.config.ts",
|
|
20
|
-
"tsc": "tsup",
|
|
20
|
+
"tsc": "yarn workspace @argonprotocol/ethereum-contracts build && tsup",
|
|
21
21
|
"watch": "tsup --watch",
|
|
22
|
-
"typecheck": "tsc --noEmit"
|
|
22
|
+
"typecheck": "tsc --noEmit -p tsconfig.test.json"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"lib/",
|
|
@@ -47,28 +47,26 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@chainsafe/persistent-merkle-tree": "1.2.5",
|
|
51
50
|
"@ethereumjs/block": "^10.1.1",
|
|
52
51
|
"@ethereumjs/mpt": "^10.1.1",
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@polkadot/
|
|
56
|
-
"@polkadot/
|
|
57
|
-
"@polkadot/
|
|
58
|
-
"@polkadot/
|
|
59
|
-
"@polkadot/
|
|
60
|
-
"@polkadot/
|
|
61
|
-
"@polkadot/
|
|
62
|
-
"@polkadot/util": "^13.5.5",
|
|
63
|
-
"@polkadot/util-crypto": "^13.5.5",
|
|
52
|
+
"@polkadot/api": "^16.5.6",
|
|
53
|
+
"@polkadot/api-base": "^16.5.6",
|
|
54
|
+
"@polkadot/keyring": "^14.0.3",
|
|
55
|
+
"@polkadot/rpc-core": "^16.5.6",
|
|
56
|
+
"@polkadot/rpc-provider": "^16.5.6",
|
|
57
|
+
"@polkadot/types": "^16.5.6",
|
|
58
|
+
"@polkadot/types-codec": "^16.5.6",
|
|
59
|
+
"@polkadot/util": "^14.0.3",
|
|
60
|
+
"@polkadot/util-crypto": "^14.0.3",
|
|
64
61
|
"bignumber.js": "^9.3.1",
|
|
65
62
|
"bs58check": "^4.0.0",
|
|
66
63
|
"camelcase-keys": "^9.1.3",
|
|
67
64
|
"viem": "^2.38.5"
|
|
68
65
|
},
|
|
69
66
|
"devDependencies": {
|
|
70
|
-
"@argonprotocol/
|
|
71
|
-
"@
|
|
67
|
+
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
68
|
+
"@argonprotocol/testing": "1.4.4-dev.abb08dac",
|
|
69
|
+
"@polkadot/typegen": "^16.5.6",
|
|
72
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
73
71
|
"@types/node": "^20",
|
|
74
72
|
"shx": "^0.4.0",
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
// import type lookup before we augment - in some environments
|
|
5
5
|
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/consts';
|
|
6
|
+
import type {} from '@polkadot/api-base/types/consts';
|
|
7
7
|
|
|
8
8
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
9
|
-
import type {
|
|
9
|
+
import type { u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
10
10
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
11
11
|
import type { AccountId32, Percent } from '@polkadot/types/interfaces/runtime';
|
|
12
12
|
import type {
|
|
@@ -161,21 +161,70 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
161
161
|
targetBlockVotes: u128 & AugmentedConst<ApiType>;
|
|
162
162
|
};
|
|
163
163
|
crosschainTransfer: {
|
|
164
|
+
/**
|
|
165
|
+
* Minimum remaining frame commitment required when reading vault committed collateral
|
|
166
|
+
* capacity for council weighting and Minting Authority collateral.
|
|
167
|
+
**/
|
|
168
|
+
councilRotationFrames: u64 & AugmentedConst<ApiType>;
|
|
169
|
+
/**
|
|
170
|
+
* Default minimum normalized microgon value required to register a Minting Authority on
|
|
171
|
+
* one destination chain.
|
|
172
|
+
**/
|
|
173
|
+
defaultMinimumMintingAuthorityMicrogonValue: u128 & AugmentedConst<ApiType>;
|
|
164
174
|
/**
|
|
165
175
|
* Canonical Ethereum burn-accounting account representing funds moved to Ethereum.
|
|
166
176
|
**/
|
|
167
177
|
ethereumBurnAccount: AccountId32 & AugmentedConst<ApiType>;
|
|
178
|
+
/**
|
|
179
|
+
* Maximum number of ordered gateway activities that may share one receipt proof.
|
|
180
|
+
**/
|
|
181
|
+
maxActivitiesPerReceiptProof: u32 & AugmentedConst<ApiType>;
|
|
182
|
+
/**
|
|
183
|
+
* Maximum number of members the active Global Issuance Council may carry.
|
|
184
|
+
**/
|
|
185
|
+
maxCouncilMembers: u32 & AugmentedConst<ApiType>;
|
|
186
|
+
/**
|
|
187
|
+
* Maximum number of non-terminal transfer-out requests tracked for one destination chain.
|
|
188
|
+
**/
|
|
189
|
+
maxPendingTransferOutsPerDestinationChain: u32 & AugmentedConst<ApiType>;
|
|
190
|
+
/**
|
|
191
|
+
* Maximum execution headers carried in one receipt proof's target-to-anchor chain.
|
|
192
|
+
**/
|
|
193
|
+
maxProofExecutionHeaderDepth: u32 & AugmentedConst<ApiType>;
|
|
194
|
+
/**
|
|
195
|
+
* Maximum number of contiguous queue approvals one council member may submit in one call.
|
|
196
|
+
**/
|
|
197
|
+
maxQueueApprovalsPerCall: u32 & AugmentedConst<ApiType>;
|
|
198
|
+
/**
|
|
199
|
+
* Maximum number of proven receipt proofs that may be supplied in one extrinsic.
|
|
200
|
+
**/
|
|
201
|
+
maxReceiptProofsPerExtrinsic: u32 & AugmentedConst<ApiType>;
|
|
202
|
+
/**
|
|
203
|
+
* Maximum age, in ticks, of the verified Ethereum execution anchor used to open a
|
|
204
|
+
* transfer out.
|
|
205
|
+
**/
|
|
206
|
+
maxVerifiedExecutionBlockAgeTicks: u64 & AugmentedConst<ApiType>;
|
|
207
|
+
/**
|
|
208
|
+
* Minimum normalized collateral increment accepted for one transfer unless the increment
|
|
209
|
+
* completes the remaining uncovered amount.
|
|
210
|
+
**/
|
|
211
|
+
minTransferCollateralIncrement: u128 & AugmentedConst<ApiType>;
|
|
168
212
|
/**
|
|
169
213
|
* Retention window, in ticks, for recent Argon transfer evidence used by operational
|
|
170
214
|
* accounts.
|
|
171
215
|
**/
|
|
172
216
|
recentTransferRetentionTicks: u64 & AugmentedConst<ApiType>;
|
|
173
|
-
};
|
|
174
|
-
ethereumVerifier: {
|
|
175
217
|
/**
|
|
176
|
-
*
|
|
218
|
+
* Minting authority tip rate applied to transfer-out requests in basis points.
|
|
177
219
|
**/
|
|
178
|
-
|
|
220
|
+
transferOutMintingAuthorityTipBasisPoints: u32 & AugmentedConst<ApiType>;
|
|
221
|
+
/**
|
|
222
|
+
* Ethereum-block window added to the latest verified block when opening a
|
|
223
|
+
* transfer out.
|
|
224
|
+
**/
|
|
225
|
+
transferOutValidityEthereumBlocks: u64 & AugmentedConst<ApiType>;
|
|
226
|
+
};
|
|
227
|
+
ethereumVerifier: {
|
|
179
228
|
/**
|
|
180
229
|
* Minimum gap between finalized headers for an update to be free.
|
|
181
230
|
**/
|
|
@@ -396,6 +445,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
396
445
|
* no corresponding constant for time to recovery to target
|
|
397
446
|
**/
|
|
398
447
|
maxArgonChangePerTickAwayFromTarget: u128 & AugmentedConst<ApiType>;
|
|
448
|
+
/**
|
|
449
|
+
* Maximum number of per-frame Argonot floor buckets to retain.
|
|
450
|
+
**/
|
|
451
|
+
maxArgonotFloorHistoryFrames: u32 & AugmentedConst<ApiType>;
|
|
399
452
|
maxArgonTargetChangePerTick: u128 & AugmentedConst<ApiType>;
|
|
400
453
|
/**
|
|
401
454
|
* The maximum number of ticks to preserve a price index
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
// import type lookup before we augment - in some environments
|
|
5
5
|
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/errors';
|
|
6
|
+
import type {} from '@polkadot/api-base/types/errors';
|
|
7
7
|
|
|
8
8
|
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
9
9
|
|
|
@@ -353,36 +353,223 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
353
353
|
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
354
354
|
};
|
|
355
355
|
crosschainTransfer: {
|
|
356
|
+
/**
|
|
357
|
+
* The force-set cut would discard a queue entry that already has local quorum.
|
|
358
|
+
**/
|
|
359
|
+
CannotForceSetQuorumApprovedQueueEntry: AugmentedError<ApiType>;
|
|
360
|
+
/**
|
|
361
|
+
* This council member already approved the queued Minting Authority.
|
|
362
|
+
**/
|
|
363
|
+
CouncilApprovalAlreadyRecorded: AugmentedError<ApiType>;
|
|
364
|
+
/**
|
|
365
|
+
* The Minting Authority approval queue entry does not exist.
|
|
366
|
+
**/
|
|
367
|
+
CouncilApprovalQueueEntryNotFound: AugmentedError<ApiType>;
|
|
368
|
+
/**
|
|
369
|
+
* The account has not registered a council signer for this destination chain.
|
|
370
|
+
**/
|
|
371
|
+
CouncilSignerNotRegistered: AugmentedError<ApiType>;
|
|
372
|
+
/**
|
|
373
|
+
* The supplied Global Issuance Council contains the same account more than once.
|
|
374
|
+
**/
|
|
375
|
+
DuplicateGlobalIssuanceCouncilAccount: AugmentedError<ApiType>;
|
|
376
|
+
/**
|
|
377
|
+
* The supplied Global Issuance Council contains the same signer more than once.
|
|
378
|
+
**/
|
|
379
|
+
DuplicateGlobalIssuanceCouncilSigner: AugmentedError<ApiType>;
|
|
380
|
+
/**
|
|
381
|
+
* This source chain is paused due to gateway sync misalignment and needs operator
|
|
382
|
+
* recovery.
|
|
383
|
+
**/
|
|
384
|
+
GatewaySyncPaused: AugmentedError<ApiType>;
|
|
385
|
+
/**
|
|
386
|
+
* The origin is not an active Global Issuance Council member for the destination chain.
|
|
387
|
+
**/
|
|
388
|
+
GlobalIssuanceCouncilMemberNotFound: AugmentedError<ApiType>;
|
|
389
|
+
/**
|
|
390
|
+
* The active Global Issuance Council has not been seeded for this destination chain.
|
|
391
|
+
**/
|
|
392
|
+
GlobalIssuanceCouncilNotFound: AugmentedError<ApiType>;
|
|
393
|
+
/**
|
|
394
|
+
* The operator does not have enough remaining committed Argonot collateral for this
|
|
395
|
+
* Minting Authority.
|
|
396
|
+
**/
|
|
397
|
+
InsufficientCommittedArgonotCollateral: AugmentedError<ApiType>;
|
|
398
|
+
/**
|
|
399
|
+
* The operator does not have enough remaining committed microgon collateral for this
|
|
400
|
+
* Minting Authority.
|
|
401
|
+
**/
|
|
402
|
+
InsufficientCommittedMicrogonCollateral: AugmentedError<ApiType>;
|
|
356
403
|
/**
|
|
357
404
|
* The burn account lacks enough balance for the payout.
|
|
358
405
|
**/
|
|
359
406
|
InsufficientLiquidity: AugmentedError<ApiType>;
|
|
360
407
|
/**
|
|
361
|
-
* The
|
|
408
|
+
* The authority does not have enough remaining gateway collateral for this transfer row.
|
|
362
409
|
**/
|
|
363
|
-
|
|
410
|
+
InsufficientMintingAuthorityCollateral: AugmentedError<ApiType>;
|
|
364
411
|
/**
|
|
365
412
|
* The configured source-chain shape is incomplete or malformed.
|
|
366
413
|
**/
|
|
367
414
|
InvalidChainConfig: AugmentedError<ApiType>;
|
|
368
415
|
/**
|
|
369
|
-
* The
|
|
416
|
+
* The provided council approval signature did not match the expected Ethereum signer.
|
|
417
|
+
**/
|
|
418
|
+
InvalidCouncilApprovalSignature: AugmentedError<ApiType>;
|
|
419
|
+
/**
|
|
420
|
+
* The provided council signer proof did not match the recovered Ethereum signer.
|
|
370
421
|
**/
|
|
371
|
-
|
|
422
|
+
InvalidCouncilSignerProof: AugmentedError<ApiType>;
|
|
423
|
+
/**
|
|
424
|
+
* The force-set cut point was behind already confirmed queue progress.
|
|
425
|
+
**/
|
|
426
|
+
InvalidForceSetAfterNonce: AugmentedError<ApiType>;
|
|
427
|
+
/**
|
|
428
|
+
* The Ethereum event topics or payload do not match a supported gateway activity.
|
|
429
|
+
**/
|
|
430
|
+
InvalidGatewayActivity: AugmentedError<ApiType>;
|
|
431
|
+
/**
|
|
432
|
+
* The supplied Global Issuance Council is empty or internally inconsistent.
|
|
433
|
+
**/
|
|
434
|
+
InvalidGlobalIssuanceCouncil: AugmentedError<ApiType>;
|
|
435
|
+
/**
|
|
436
|
+
* The council-managed Argonot floor could not be determined from current pricing.
|
|
437
|
+
**/
|
|
438
|
+
InvalidMicrogonsPerArgonot: AugmentedError<ApiType>;
|
|
439
|
+
/**
|
|
440
|
+
* The configured activation repayment pricing is internally invalid.
|
|
441
|
+
**/
|
|
442
|
+
InvalidMintingAuthorityActivationRepaymentPricing: AugmentedError<ApiType>;
|
|
443
|
+
/**
|
|
444
|
+
* The supplied Minting Authority collateral is invalid.
|
|
445
|
+
**/
|
|
446
|
+
InvalidMintingAuthorityCollateral: AugmentedError<ApiType>;
|
|
447
|
+
/**
|
|
448
|
+
* The provided signer-authorized deactivation signature did not match the expected
|
|
449
|
+
* Minting Authority signing key.
|
|
450
|
+
**/
|
|
451
|
+
InvalidMintingAuthorityDeactivationSignature: AugmentedError<ApiType>;
|
|
452
|
+
/**
|
|
453
|
+
* The supplied Minting Authority signing key is invalid.
|
|
454
|
+
**/
|
|
455
|
+
InvalidMintingAuthoritySigningKey: AugmentedError<ApiType>;
|
|
456
|
+
/**
|
|
457
|
+
* The provided Minting Authority signer proof did not match the recovered Ethereum
|
|
458
|
+
* signer.
|
|
459
|
+
**/
|
|
460
|
+
InvalidMintingAuthoritySigningKeyProof: AugmentedError<ApiType>;
|
|
372
461
|
/**
|
|
373
462
|
* The Ethereum verifier rejected the supplied proof.
|
|
374
463
|
**/
|
|
375
464
|
InvalidProof: AugmentedError<ApiType>;
|
|
376
465
|
/**
|
|
377
|
-
* The
|
|
466
|
+
* The provided transfer collateral row is invalid for this transfer asset.
|
|
467
|
+
**/
|
|
468
|
+
InvalidTransferCollateral: AugmentedError<ApiType>;
|
|
469
|
+
/**
|
|
470
|
+
* The transfer collateral signature did not match the authority signing key.
|
|
471
|
+
**/
|
|
472
|
+
InvalidTransferCollateralSignature: AugmentedError<ApiType>;
|
|
473
|
+
/**
|
|
474
|
+
* The provided transfer collateral row did not advance the signer's local reservation.
|
|
475
|
+
**/
|
|
476
|
+
InvalidTransferCollateralUpdate: AugmentedError<ApiType>;
|
|
477
|
+
/**
|
|
478
|
+
* The transfer-out amount must be nonzero.
|
|
479
|
+
**/
|
|
480
|
+
InvalidTransferOutAmount: AugmentedError<ApiType>;
|
|
481
|
+
/**
|
|
482
|
+
* The transfer-out recipient must be nonzero for the destination chain.
|
|
483
|
+
**/
|
|
484
|
+
InvalidTransferOutRecipient: AugmentedError<ApiType>;
|
|
485
|
+
/**
|
|
486
|
+
* The Ethereum event topics or payload do not match `TransferToArgonStarted`.
|
|
487
|
+
**/
|
|
488
|
+
InvalidTransferToArgonActivity: AugmentedError<ApiType>;
|
|
489
|
+
/**
|
|
490
|
+
* The supplied Minting Authority signing key already has a live local authority record.
|
|
491
|
+
**/
|
|
492
|
+
MintingAuthorityAlreadyRegistered: AugmentedError<ApiType>;
|
|
493
|
+
/**
|
|
494
|
+
* The supplied Minting Authority collateral is below the configured per-chain minimum
|
|
495
|
+
* normalized microgon value.
|
|
496
|
+
**/
|
|
497
|
+
MintingAuthorityCollateralBelowMinimum: AugmentedError<ApiType>;
|
|
498
|
+
/**
|
|
499
|
+
* The local Minting Authority did not match the proven Ethereum activity.
|
|
500
|
+
**/
|
|
501
|
+
MintingAuthorityMismatch: AugmentedError<ApiType>;
|
|
502
|
+
/**
|
|
503
|
+
* The supplied Minting Authority signing key does not exist locally.
|
|
504
|
+
**/
|
|
505
|
+
MintingAuthorityNotFound: AugmentedError<ApiType>;
|
|
506
|
+
/**
|
|
507
|
+
* The configured activation repayment pricing is missing for this source chain.
|
|
508
|
+
**/
|
|
509
|
+
MissingMintingAuthorityActivationRepaymentPricing: AugmentedError<ApiType>;
|
|
510
|
+
/**
|
|
511
|
+
* No verifier-backed Ethereum execution block is available to anchor a transfer-out
|
|
512
|
+
* expiry window.
|
|
513
|
+
**/
|
|
514
|
+
MissingVerifiedExecutionBlock: AugmentedError<ApiType>;
|
|
515
|
+
/**
|
|
516
|
+
* At least one council approval signature must be supplied.
|
|
517
|
+
**/
|
|
518
|
+
NoCouncilApprovalSignaturesProvided: AugmentedError<ApiType>;
|
|
519
|
+
/**
|
|
520
|
+
* At least one gateway activity log must be supplied with the receipt proof.
|
|
378
521
|
**/
|
|
379
|
-
|
|
522
|
+
NoGatewayActivitiesProvided: AugmentedError<ApiType>;
|
|
380
523
|
/**
|
|
381
|
-
*
|
|
524
|
+
* At least one proven gateway-activity block must be supplied.
|
|
382
525
|
**/
|
|
383
|
-
|
|
526
|
+
NoGatewayProofBlocksProvided: AugmentedError<ApiType>;
|
|
384
527
|
/**
|
|
385
|
-
* The
|
|
528
|
+
* The latest verifier-backed Ethereum execution block is too old to safely open a new
|
|
529
|
+
* transfer out.
|
|
530
|
+
**/
|
|
531
|
+
StaleVerifiedExecutionBlock: AugmentedError<ApiType>;
|
|
532
|
+
/**
|
|
533
|
+
* The destination chain already tracks the maximum number of non-terminal transfer-out
|
|
534
|
+
* requests.
|
|
535
|
+
**/
|
|
536
|
+
TooManyPendingTransferOuts: AugmentedError<ApiType>;
|
|
537
|
+
/**
|
|
538
|
+
* The collateral increment is below the configured minimum and does not complete the
|
|
539
|
+
* transfer.
|
|
540
|
+
**/
|
|
541
|
+
TransferCollateralIncrementTooSmall: AugmentedError<ApiType>;
|
|
542
|
+
/**
|
|
543
|
+
* The outbound transfer cannot accept more collateral because it is already fully
|
|
544
|
+
* covered.
|
|
545
|
+
**/
|
|
546
|
+
TransferOutAlreadyReady: AugmentedError<ApiType>;
|
|
547
|
+
/**
|
|
548
|
+
* The outbound transfer request is already expired on the latest verified Ethereum block.
|
|
549
|
+
**/
|
|
550
|
+
TransferOutExpired: AugmentedError<ApiType>;
|
|
551
|
+
/**
|
|
552
|
+
* The outbound transfer record does not exist.
|
|
553
|
+
**/
|
|
554
|
+
TransferOutNotFound: AugmentedError<ApiType>;
|
|
555
|
+
/**
|
|
556
|
+
* The proven gateway activity nonce is not the next contiguous nonce.
|
|
557
|
+
**/
|
|
558
|
+
UnexpectedGatewayActivityNonce: AugmentedError<ApiType>;
|
|
559
|
+
/**
|
|
560
|
+
* The local Minting Authority was not in the expected lifecycle state.
|
|
561
|
+
**/
|
|
562
|
+
UnexpectedMintingAuthorityState: AugmentedError<ApiType>;
|
|
563
|
+
/**
|
|
564
|
+
* The caller's expected already-proven gateway activity nonce is stale or incorrect.
|
|
565
|
+
**/
|
|
566
|
+
UnexpectedPreviousGatewayActivityNonce: AugmentedError<ApiType>;
|
|
567
|
+
/**
|
|
568
|
+
* The local owner vault could not be resolved.
|
|
569
|
+
**/
|
|
570
|
+
UnknownOwnerVault: AugmentedError<ApiType>;
|
|
571
|
+
/**
|
|
572
|
+
* The gateway does not match the configured gateway address.
|
|
386
573
|
**/
|
|
387
574
|
UnsupportedGateway: AugmentedError<ApiType>;
|
|
388
575
|
/**
|
|
@@ -390,7 +577,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
390
577
|
**/
|
|
391
578
|
UnsupportedSource: AugmentedError<ApiType>;
|
|
392
579
|
/**
|
|
393
|
-
* The token is not supported under the
|
|
580
|
+
* The token is not supported under the configured gateway.
|
|
394
581
|
**/
|
|
395
582
|
UnsupportedToken: AugmentedError<ApiType>;
|
|
396
583
|
};
|
|
@@ -501,6 +688,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
501
688
|
SyncCommitteeHashTreeRootFailed: AugmentedError<ApiType>;
|
|
502
689
|
SyncCommitteeParticipantsNotSupermajority: AugmentedError<ApiType>;
|
|
503
690
|
SyncCommitteeUpdateRequired: AugmentedError<ApiType>;
|
|
691
|
+
UnexpectedBeaconPreset: AugmentedError<ApiType>;
|
|
504
692
|
};
|
|
505
693
|
feeControl: {
|
|
506
694
|
/**
|
|
@@ -997,6 +1185,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
997
1185
|
};
|
|
998
1186
|
ticks: {};
|
|
999
1187
|
treasury: {
|
|
1188
|
+
/**
|
|
1189
|
+
* Liquidating this bond lot would take the account below its crosschain-encumbered
|
|
1190
|
+
* treasury backing.
|
|
1191
|
+
**/
|
|
1192
|
+
ActiveBondAmountBelowEncumberedBacking: AugmentedError<ApiType>;
|
|
1000
1193
|
/**
|
|
1001
1194
|
* The bond lot is already scheduled for release.
|
|
1002
1195
|
**/
|
|
@@ -1072,6 +1265,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1072
1265
|
* Bitcoin conversion to compressed pubkey failed
|
|
1073
1266
|
**/
|
|
1074
1267
|
BitcoinConversionFailed: AugmentedError<ApiType>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Committed Argonots cannot be reduced below the amount already crosschain-encumbered.
|
|
1270
|
+
**/
|
|
1271
|
+
CommittedArgonotsBelowEncumberedBacking: AugmentedError<ApiType>;
|
|
1075
1272
|
/**
|
|
1076
1273
|
* A funding change is already scheduled
|
|
1077
1274
|
**/
|
|
@@ -1120,6 +1317,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1120
1317
|
* No Vault public keys are available
|
|
1121
1318
|
**/
|
|
1122
1319
|
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
1320
|
+
/**
|
|
1321
|
+
* A vault must clear out all overdue external collect blockers before it can collect.
|
|
1322
|
+
**/
|
|
1323
|
+
OverdueCollectBlockersBeforeCollect: AugmentedError<ApiType>;
|
|
1123
1324
|
/**
|
|
1124
1325
|
* A vault must clear out all pending cosigns before it can collect
|
|
1125
1326
|
**/
|