@argonprotocol/mainchain 1.4.10-dev.479c016c → 1.4.10-dev.925a902e
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/index.d.ts +31 -2
- package/browser/index.js +2 -2
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +2 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +31 -2
- package/lib/index.d.ts +31 -2
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +1 -0
- package/src/interfaces/augment-api-errors.ts +4 -0
- package/src/interfaces/augment-api-events.ts +16 -0
- package/src/interfaces/augment-api-query.ts +11 -0
- package/src/interfaces/augment-api-runtime.ts +1 -0
- package/src/interfaces/augment-api.ts +1 -0
- package/src/interfaces/augment-types.ts +1 -0
- package/src/interfaces/lookup.ts +9 -0
- package/src/interfaces/registry.ts +1 -0
- package/src/interfaces/types-lookup.ts +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.10-dev.
|
|
3
|
+
"version": "1.4.10-dev.925a902e",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
68
|
-
"@argonprotocol/testing": "1.4.10-dev.
|
|
68
|
+
"@argonprotocol/testing": "1.4.10-dev.925a902e",
|
|
69
69
|
"@polkadot/typegen": "^16.5.6",
|
|
70
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
71
71
|
"@types/node": "^20",
|
|
@@ -369,6 +369,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
369
369
|
* The account has not registered a council signer for this destination chain.
|
|
370
370
|
**/
|
|
371
371
|
CouncilSignerNotRegistered: AugmentedError<ApiType>;
|
|
372
|
+
/**
|
|
373
|
+
* The account already has a council signer rotation pending for this destination chain.
|
|
374
|
+
**/
|
|
375
|
+
CouncilSignerRotationPending: AugmentedError<ApiType>;
|
|
372
376
|
/**
|
|
373
377
|
* The supplied Global Issuance Council contains the same account more than once.
|
|
374
378
|
**/
|
|
@@ -607,6 +607,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
607
607
|
[destinationChain: PalletCrosschainTransferSourceChain, councilHash: H256],
|
|
608
608
|
{ destinationChain: PalletCrosschainTransferSourceChain; councilHash: H256 }
|
|
609
609
|
>;
|
|
610
|
+
/**
|
|
611
|
+
* A frame transition queued a new Global Issuance Council for destination-chain approval.
|
|
612
|
+
**/
|
|
613
|
+
GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
|
|
614
|
+
ApiType,
|
|
615
|
+
[
|
|
616
|
+
destinationChain: PalletCrosschainTransferSourceChain,
|
|
617
|
+
councilHash: H256,
|
|
618
|
+
approvalQueueNonce: u64,
|
|
619
|
+
],
|
|
620
|
+
{
|
|
621
|
+
destinationChain: PalletCrosschainTransferSourceChain;
|
|
622
|
+
councilHash: H256;
|
|
623
|
+
approvalQueueNonce: u64;
|
|
624
|
+
}
|
|
625
|
+
>;
|
|
610
626
|
/**
|
|
611
627
|
* Root updated the minimum normalized microgon value required to register a Minting
|
|
612
628
|
* Authority on one destination chain.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
2
3
|
|
|
3
4
|
// import type lookup before we augment - in some environments
|
|
4
5
|
// this is required to allow for ambient/previous definitions
|
|
@@ -658,6 +659,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
658
659
|
) => Observable<u64>,
|
|
659
660
|
[PalletCrosschainTransferSourceChain]
|
|
660
661
|
>;
|
|
662
|
+
/**
|
|
663
|
+
* First frame where a new council snapshot may be added to a chain's approval queue.
|
|
664
|
+
**/
|
|
665
|
+
nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
|
|
666
|
+
ApiType,
|
|
667
|
+
(
|
|
668
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
669
|
+
) => Observable<Option<u64>>,
|
|
670
|
+
[PalletCrosschainTransferSourceChain]
|
|
671
|
+
>;
|
|
661
672
|
/**
|
|
662
673
|
* Next outbound transfer nonce for each sending account.
|
|
663
674
|
**/
|
package/src/interfaces/lookup.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
/* eslint-disable sort-keys */
|
|
2
5
|
|
|
3
6
|
export default {
|
|
4
7
|
/**
|
|
@@ -1539,6 +1542,11 @@ export default {
|
|
|
1539
1542
|
destinationChain: 'PalletCrosschainTransferSourceChain',
|
|
1540
1543
|
councilHash: 'H256',
|
|
1541
1544
|
},
|
|
1545
|
+
GlobalIssuanceCouncilRotationQueued: {
|
|
1546
|
+
destinationChain: 'PalletCrosschainTransferSourceChain',
|
|
1547
|
+
councilHash: 'H256',
|
|
1548
|
+
approvalQueueNonce: 'u64',
|
|
1549
|
+
},
|
|
1542
1550
|
CouncilSignerRegistered: {
|
|
1543
1551
|
destinationChain: 'PalletCrosschainTransferSourceChain',
|
|
1544
1552
|
accountId: 'AccountId32',
|
|
@@ -4231,6 +4239,7 @@ export default {
|
|
|
4231
4239
|
'InsufficientMintingAuthorityCollateral',
|
|
4232
4240
|
'TransferCollateralIncrementTooSmall',
|
|
4233
4241
|
'TooManyPendingTransferOuts',
|
|
4242
|
+
'CouncilSignerRotationPending',
|
|
4234
4243
|
],
|
|
4235
4244
|
},
|
|
4236
4245
|
/**
|
|
@@ -1913,6 +1913,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
1913
1913
|
readonly destinationChain: PalletCrosschainTransferSourceChain;
|
|
1914
1914
|
readonly councilHash: H256;
|
|
1915
1915
|
} & Struct;
|
|
1916
|
+
readonly isGlobalIssuanceCouncilRotationQueued: boolean;
|
|
1917
|
+
readonly asGlobalIssuanceCouncilRotationQueued: {
|
|
1918
|
+
readonly destinationChain: PalletCrosschainTransferSourceChain;
|
|
1919
|
+
readonly councilHash: H256;
|
|
1920
|
+
readonly approvalQueueNonce: u64;
|
|
1921
|
+
} & Struct;
|
|
1916
1922
|
readonly isCouncilSignerRegistered: boolean;
|
|
1917
1923
|
readonly asCouncilSignerRegistered: {
|
|
1918
1924
|
readonly destinationChain: PalletCrosschainTransferSourceChain;
|
|
@@ -2028,6 +2034,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2028
2034
|
readonly type:
|
|
2029
2035
|
| 'TransferToArgonSettled'
|
|
2030
2036
|
| 'GlobalIssuanceCouncilForced'
|
|
2037
|
+
| 'GlobalIssuanceCouncilRotationQueued'
|
|
2031
2038
|
| 'CouncilSignerRegistered'
|
|
2032
2039
|
| 'CouncilSignerRotationQueued'
|
|
2033
2040
|
| 'MintingAuthorityRegistered'
|
|
@@ -4914,6 +4921,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
4914
4921
|
readonly isInsufficientMintingAuthorityCollateral: boolean;
|
|
4915
4922
|
readonly isTransferCollateralIncrementTooSmall: boolean;
|
|
4916
4923
|
readonly isTooManyPendingTransferOuts: boolean;
|
|
4924
|
+
readonly isCouncilSignerRotationPending: boolean;
|
|
4917
4925
|
readonly type:
|
|
4918
4926
|
| 'InvalidTransferToArgonActivity'
|
|
4919
4927
|
| 'NoGatewayProofBlocksProvided'
|
|
@@ -4968,7 +4976,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
4968
4976
|
| 'InvalidTransferCollateralSignature'
|
|
4969
4977
|
| 'InsufficientMintingAuthorityCollateral'
|
|
4970
4978
|
| 'TransferCollateralIncrementTooSmall'
|
|
4971
|
-
| 'TooManyPendingTransferOuts'
|
|
4979
|
+
| 'TooManyPendingTransferOuts'
|
|
4980
|
+
| 'CouncilSignerRotationPending';
|
|
4972
4981
|
}
|
|
4973
4982
|
|
|
4974
4983
|
/** @name FrameSystemExtensionsAuthorizeCall (583) */
|