@argonprotocol/mainchain 1.4.6-dev.4eef1f62 → 1.4.6-dev.6400125a

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 (31) hide show
  1. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +1 -1
  2. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +1 -1
  3. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +128 -37
  4. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
  5. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
  6. package/browser/index.d.ts +7 -16
  7. package/browser/index.js +298 -104
  8. package/browser/index.js.map +1 -1
  9. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +1 -1
  10. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +1 -1
  11. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +128 -37
  12. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
  13. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
  14. package/lib/index.cjs +352 -104
  15. package/lib/index.cjs.map +1 -1
  16. package/lib/index.d.cts +7 -16
  17. package/lib/index.d.ts +7 -16
  18. package/lib/index.js +352 -104
  19. package/lib/index.js.map +1 -1
  20. package/package.json +2 -2
  21. package/src/interfaces/augment-api-consts.ts +1 -0
  22. package/src/interfaces/augment-api-errors.ts +1 -2
  23. package/src/interfaces/augment-api-events.ts +1 -1
  24. package/src/interfaces/augment-api-query.ts +1 -0
  25. package/src/interfaces/augment-api-runtime.ts +1 -0
  26. package/src/interfaces/augment-api-tx.ts +2 -5
  27. package/src/interfaces/augment-api.ts +1 -0
  28. package/src/interfaces/augment-types.ts +1 -0
  29. package/src/interfaces/lookup.ts +3 -1
  30. package/src/interfaces/registry.ts +1 -0
  31. package/src/interfaces/types-lookup.ts +0 -1
@@ -99,7 +99,7 @@ export { GenericAddress, GenericBlock, GenericEvent } from '@polkadot/types/gene
99
99
  import BigNumber from 'bignumber.js';
100
100
  import { Abi, Hex, createPublicClient } from 'viem';
101
101
  import * as generated_js from './generated.js';
102
- import { hashMintingGatewayTransferOutOfArgonRequest as hashMintingGatewayTransferOutOfArgonRequest$1, hashMintingGatewayMintingAuthorization as hashMintingGatewayMintingAuthorization$1, ArgonTokenEvents, ArgonotTokenEvents, CanonicalMintableBurnableERC20Events, ICanonicalTokenEvents, MINTING_GATEWAY_UPDATE_KINDS, MintingGatewayEvents, ProxyAdminEvents, TransparentUpgradeableProxyEvents, argonTokenAbi, argonotTokenAbi, canonicalMintableBurnableErc20Abi, encodeMintingGatewayCouncilSnapshot, encodeMintingGatewayGlobalIssuanceCouncilRotateTarget, encodeMintingGatewayMintingAuthorityActivationTarget, encodeMintingGatewayMintingAuthorityDeactivateTarget, hashMintingGatewayActivateMintingAuthority, hashMintingGatewayActivateMintingAuthorityApproval, hashMintingGatewayGatewayUpdateApproval, hashMintingGatewayGlobalIssuanceCouncil, hashMintingGatewayMintingAuthority, hashMintingGatewayMintingAuthorityDeactivation, hashMintingGatewayRotateGlobalIssuanceCouncil, hashMintingGatewayRotateGlobalIssuanceCouncilApproval, iCanonicalTokenAbi, mintingGatewayAbi, proxyAdminAbi, transparentUpgradeableProxyAbi, MintingGatewayGlobalIssuanceCouncilRotated, MintingGatewayMintingAuthorityActivated, MintingGatewayMintingAuthorityDeactivated, MintingGatewayTransferOutOfArgonCanceled, MintingGatewayTransferOutOfArgonFinalized, MintingGatewayTransferToArgonStarted } from './generated.js';
102
+ import { hashMintingGatewayTransferOutOfArgonRequest as hashMintingGatewayTransferOutOfArgonRequest$1, hashMintingGatewayMintingAuthorization as hashMintingGatewayMintingAuthorization$1, ArgonTokenEvents, ArgonotTokenEvents, CanonicalMintableBurnableERC20Events, ICanonicalTokenEvents, MINTING_GATEWAY_UPDATE_KINDS, MintingGatewayEvents, ProxyAdminEvents, TransparentUpgradeableProxyEvents, argonTokenAbi, argonotTokenAbi, canonicalMintableBurnableErc20Abi, encodeMintingGatewayCouncilSnapshot, encodeMintingGatewayGlobalIssuanceCouncilRotateTarget, encodeMintingGatewayMintingAuthorityActivationTarget, encodeMintingGatewayMintingAuthorityDeactivateTarget, hashMintingGatewayActivateMintingAuthority, hashMintingGatewayActivateMintingAuthorityApproval, hashMintingGatewayGatewayUpdateApproval, hashMintingGatewayGlobalIssuanceCouncil, hashMintingGatewayMintingAuthority, hashMintingGatewayRotateGlobalIssuanceCouncil, hashMintingGatewayRotateGlobalIssuanceCouncilApproval, iCanonicalTokenAbi, mintingGatewayAbi, proxyAdminAbi, transparentUpgradeableProxyAbi, MintingGatewayGlobalIssuanceCouncilRotated, MintingGatewayMintingAuthorityActivated, MintingGatewayMintingAuthorityDeactivated, MintingGatewayTransferOutOfArgonCanceled, MintingGatewayTransferOutOfArgonFinalized, MintingGatewayTransferToArgonStarted } from './generated.js';
103
103
  import * as hashing_js from './hashing.js';
104
104
  import { BlockHeader } from '@ethereumjs/block';
105
105
  export { hexToU8a, u8aEq, u8aToHex } from '@polkadot/util';
@@ -1176,8 +1176,7 @@ declare module '@polkadot/api-base/types/errors' {
1176
1176
  **/
1177
1177
  InvalidMintingAuthorityCollateral: AugmentedError<ApiType>;
1178
1178
  /**
1179
- * The provided signer-authorized deactivation signature did not match the expected
1180
- * Minting Authority signing key.
1179
+ * Reserved legacy error for invalid signer-keyed deactivation signatures.
1181
1180
  **/
1182
1181
  InvalidMintingAuthorityDeactivationSignature: AugmentedError<ApiType>;
1183
1182
  /**
@@ -2780,7 +2779,7 @@ declare module '@polkadot/api-base/types/events' {
2780
2779
  destinationSigningKey: H160;
2781
2780
  }>;
2782
2781
  /**
2783
- * An operator queued the signer-authorized Ethereum deactivation for a Minting Authority.
2782
+ * An operator queued the council-approved Ethereum deactivation for a Minting Authority.
2784
2783
  **/
2785
2784
  MintingAuthorityDeactivationQueued: AugmentedEvent<ApiType, [
2786
2785
  destinationChain: PalletCrosschainTransferSourceChain,
@@ -6015,9 +6014,8 @@ declare module '@polkadot/api-base/types/submittable' {
6015
6014
  Compact<u128>,
6016
6015
  Compact<u128>
6017
6016
  ]>;
6018
- deactivateMintingAuthority: AugmentedSubmittable<(destinationSigningKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6019
- H160,
6020
- U8aFixed
6017
+ deactivateMintingAuthority: AugmentedSubmittable<(destinationSigningKey: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6018
+ H160
6021
6019
  ]>;
6022
6020
  forceSetGlobalIssuanceCouncil: AugmentedSubmittable<(destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array, afterNonce: Compact<u64> | AnyNumber | Uint8Array, memberAccountIds: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6023
6021
  PalletCrosschainTransferSourceChain,
@@ -12402,7 +12400,6 @@ declare module '@polkadot/types/lookup' {
12402
12400
  readonly isDeactivateMintingAuthority: boolean;
12403
12401
  readonly asDeactivateMintingAuthority: {
12404
12402
  readonly destinationSigningKey: H160;
12405
- readonly signature: U8aFixed;
12406
12403
  } & Struct;
12407
12404
  readonly isTransferOut: boolean;
12408
12405
  readonly asTransferOut: {
@@ -13914,11 +13911,6 @@ interface IBitcoinLock {
13914
13911
  declare const MINTING_GATEWAY_RUNTIME_DECIMALS = 6;
13915
13912
  declare const MINTING_GATEWAY_TOKEN_DECIMALS = 18;
13916
13913
  declare const MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE: bigint;
13917
- type MintingGatewayActivityBlockLocator = {
13918
- blockNumber: bigint;
13919
- startGatewayActivityNonce: bigint;
13920
- endGatewayActivityNonce: bigint;
13921
- };
13922
13914
 
13923
13915
  type EvmContractArtifact = {
13924
13916
  abi: Abi;
@@ -13944,7 +13936,6 @@ declare const EvmContracts_MINTING_GATEWAY_RUNTIME_DECIMALS: typeof MINTING_GATE
13944
13936
  declare const EvmContracts_MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE: typeof MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE;
13945
13937
  declare const EvmContracts_MINTING_GATEWAY_TOKEN_DECIMALS: typeof MINTING_GATEWAY_TOKEN_DECIMALS;
13946
13938
  declare const EvmContracts_MINTING_GATEWAY_UPDATE_KINDS: typeof MINTING_GATEWAY_UPDATE_KINDS;
13947
- type EvmContracts_MintingGatewayActivityBlockLocator = MintingGatewayActivityBlockLocator;
13948
13939
  declare const EvmContracts_MintingGatewayEvents: typeof MintingGatewayEvents;
13949
13940
  type EvmContracts_MintingGatewayTransferOutOfArgonRequest = MintingGatewayTransferOutOfArgonRequest;
13950
13941
  declare const EvmContracts_ProxyAdminEvents: typeof ProxyAdminEvents;
@@ -13963,7 +13954,6 @@ declare const EvmContracts_hashMintingGatewayActivateMintingAuthorityApproval: t
13963
13954
  declare const EvmContracts_hashMintingGatewayGatewayUpdateApproval: typeof hashMintingGatewayGatewayUpdateApproval;
13964
13955
  declare const EvmContracts_hashMintingGatewayGlobalIssuanceCouncil: typeof hashMintingGatewayGlobalIssuanceCouncil;
13965
13956
  declare const EvmContracts_hashMintingGatewayMintingAuthority: typeof hashMintingGatewayMintingAuthority;
13966
- declare const EvmContracts_hashMintingGatewayMintingAuthorityDeactivation: typeof hashMintingGatewayMintingAuthorityDeactivation;
13967
13957
  declare const EvmContracts_hashMintingGatewayMintingAuthorization: typeof hashMintingGatewayMintingAuthorization;
13968
13958
  declare const EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncil: typeof hashMintingGatewayRotateGlobalIssuanceCouncil;
13969
13959
  declare const EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncilApproval: typeof hashMintingGatewayRotateGlobalIssuanceCouncilApproval;
@@ -13976,7 +13966,7 @@ declare const EvmContracts_proxyAdminArtifact: typeof proxyAdminArtifact;
13976
13966
  declare const EvmContracts_transparentUpgradeableProxyAbi: typeof transparentUpgradeableProxyAbi;
13977
13967
  declare const EvmContracts_transparentUpgradeableProxyArtifact: typeof transparentUpgradeableProxyArtifact;
13978
13968
  declare namespace EvmContracts {
13979
- export { EvmContracts_ArgonTokenEvents as ArgonTokenEvents, EvmContracts_ArgonotTokenEvents as ArgonotTokenEvents, EvmContracts_CanonicalMintableBurnableERC20Events as CanonicalMintableBurnableERC20Events, type EvmContracts_EvmContractArtifact as EvmContractArtifact, EvmContracts_ICanonicalTokenEvents as ICanonicalTokenEvents, EvmContracts_MINTING_GATEWAY_RUNTIME_DECIMALS as MINTING_GATEWAY_RUNTIME_DECIMALS, EvmContracts_MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE as MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE, EvmContracts_MINTING_GATEWAY_TOKEN_DECIMALS as MINTING_GATEWAY_TOKEN_DECIMALS, EvmContracts_MINTING_GATEWAY_UPDATE_KINDS as MINTING_GATEWAY_UPDATE_KINDS, type EvmContracts_MintingGatewayActivityBlockLocator as MintingGatewayActivityBlockLocator, EvmContracts_MintingGatewayEvents as MintingGatewayEvents, type EvmContracts_MintingGatewayTransferOutOfArgonRequest as MintingGatewayTransferOutOfArgonRequest, EvmContracts_ProxyAdminEvents as ProxyAdminEvents, EvmContracts_TransparentUpgradeableProxyEvents as TransparentUpgradeableProxyEvents, EvmContracts_argonTokenAbi as argonTokenAbi, EvmContracts_argonTokenArtifact as argonTokenArtifact, EvmContracts_argonotTokenAbi as argonotTokenAbi, EvmContracts_argonotTokenArtifact as argonotTokenArtifact, EvmContracts_canonicalMintableBurnableErc20Abi as canonicalMintableBurnableErc20Abi, EvmContracts_encodeMintingGatewayCouncilSnapshot as encodeMintingGatewayCouncilSnapshot, EvmContracts_encodeMintingGatewayGlobalIssuanceCouncilRotateTarget as encodeMintingGatewayGlobalIssuanceCouncilRotateTarget, EvmContracts_encodeMintingGatewayMintingAuthorityActivationTarget as encodeMintingGatewayMintingAuthorityActivationTarget, EvmContracts_encodeMintingGatewayMintingAuthorityDeactivateTarget as encodeMintingGatewayMintingAuthorityDeactivateTarget, EvmContracts_hashMintingGatewayActivateMintingAuthority as hashMintingGatewayActivateMintingAuthority, EvmContracts_hashMintingGatewayActivateMintingAuthorityApproval as hashMintingGatewayActivateMintingAuthorityApproval, EvmContracts_hashMintingGatewayGatewayUpdateApproval as hashMintingGatewayGatewayUpdateApproval, EvmContracts_hashMintingGatewayGlobalIssuanceCouncil as hashMintingGatewayGlobalIssuanceCouncil, EvmContracts_hashMintingGatewayMintingAuthority as hashMintingGatewayMintingAuthority, EvmContracts_hashMintingGatewayMintingAuthorityDeactivation as hashMintingGatewayMintingAuthorityDeactivation, EvmContracts_hashMintingGatewayMintingAuthorization as hashMintingGatewayMintingAuthorization, EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncil as hashMintingGatewayRotateGlobalIssuanceCouncil, EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncilApproval as hashMintingGatewayRotateGlobalIssuanceCouncilApproval, EvmContracts_hashMintingGatewayTransferOutOfArgonRequest as hashMintingGatewayTransferOutOfArgonRequest, EvmContracts_iCanonicalTokenAbi as iCanonicalTokenAbi, EvmContracts_mintingGatewayAbi as mintingGatewayAbi, EvmContracts_mintingGatewayArtifact as mintingGatewayArtifact, EvmContracts_proxyAdminAbi as proxyAdminAbi, EvmContracts_proxyAdminArtifact as proxyAdminArtifact, EvmContracts_transparentUpgradeableProxyAbi as transparentUpgradeableProxyAbi, EvmContracts_transparentUpgradeableProxyArtifact as transparentUpgradeableProxyArtifact };
13969
+ export { EvmContracts_ArgonTokenEvents as ArgonTokenEvents, EvmContracts_ArgonotTokenEvents as ArgonotTokenEvents, EvmContracts_CanonicalMintableBurnableERC20Events as CanonicalMintableBurnableERC20Events, type EvmContracts_EvmContractArtifact as EvmContractArtifact, EvmContracts_ICanonicalTokenEvents as ICanonicalTokenEvents, EvmContracts_MINTING_GATEWAY_RUNTIME_DECIMALS as MINTING_GATEWAY_RUNTIME_DECIMALS, EvmContracts_MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE as MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE, EvmContracts_MINTING_GATEWAY_TOKEN_DECIMALS as MINTING_GATEWAY_TOKEN_DECIMALS, EvmContracts_MINTING_GATEWAY_UPDATE_KINDS as MINTING_GATEWAY_UPDATE_KINDS, EvmContracts_MintingGatewayEvents as MintingGatewayEvents, type EvmContracts_MintingGatewayTransferOutOfArgonRequest as MintingGatewayTransferOutOfArgonRequest, EvmContracts_ProxyAdminEvents as ProxyAdminEvents, EvmContracts_TransparentUpgradeableProxyEvents as TransparentUpgradeableProxyEvents, EvmContracts_argonTokenAbi as argonTokenAbi, EvmContracts_argonTokenArtifact as argonTokenArtifact, EvmContracts_argonotTokenAbi as argonotTokenAbi, EvmContracts_argonotTokenArtifact as argonotTokenArtifact, EvmContracts_canonicalMintableBurnableErc20Abi as canonicalMintableBurnableErc20Abi, EvmContracts_encodeMintingGatewayCouncilSnapshot as encodeMintingGatewayCouncilSnapshot, EvmContracts_encodeMintingGatewayGlobalIssuanceCouncilRotateTarget as encodeMintingGatewayGlobalIssuanceCouncilRotateTarget, EvmContracts_encodeMintingGatewayMintingAuthorityActivationTarget as encodeMintingGatewayMintingAuthorityActivationTarget, EvmContracts_encodeMintingGatewayMintingAuthorityDeactivateTarget as encodeMintingGatewayMintingAuthorityDeactivateTarget, EvmContracts_hashMintingGatewayActivateMintingAuthority as hashMintingGatewayActivateMintingAuthority, EvmContracts_hashMintingGatewayActivateMintingAuthorityApproval as hashMintingGatewayActivateMintingAuthorityApproval, EvmContracts_hashMintingGatewayGatewayUpdateApproval as hashMintingGatewayGatewayUpdateApproval, EvmContracts_hashMintingGatewayGlobalIssuanceCouncil as hashMintingGatewayGlobalIssuanceCouncil, EvmContracts_hashMintingGatewayMintingAuthority as hashMintingGatewayMintingAuthority, EvmContracts_hashMintingGatewayMintingAuthorization as hashMintingGatewayMintingAuthorization, EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncil as hashMintingGatewayRotateGlobalIssuanceCouncil, EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncilApproval as hashMintingGatewayRotateGlobalIssuanceCouncilApproval, EvmContracts_hashMintingGatewayTransferOutOfArgonRequest as hashMintingGatewayTransferOutOfArgonRequest, EvmContracts_iCanonicalTokenAbi as iCanonicalTokenAbi, EvmContracts_mintingGatewayAbi as mintingGatewayAbi, EvmContracts_mintingGatewayArtifact as mintingGatewayArtifact, EvmContracts_proxyAdminAbi as proxyAdminAbi, EvmContracts_proxyAdminArtifact as proxyAdminArtifact, EvmContracts_transparentUpgradeableProxyAbi as transparentUpgradeableProxyAbi, EvmContracts_transparentUpgradeableProxyArtifact as transparentUpgradeableProxyArtifact };
13980
13970
  }
13981
13971
 
13982
13972
  type EthereumReceipt = Awaited<ReturnType<ReturnType<typeof createPublicClient>['getTransactionReceipt']>>;
@@ -14117,6 +14107,7 @@ type EthereumVersionedLightClientUpdate = {
14117
14107
  };
14118
14108
  type EthereumBeaconGenesisResponse = {
14119
14109
  data: {
14110
+ genesis_time: string;
14120
14111
  genesis_fork_version: string;
14121
14112
  genesis_validators_root: string;
14122
14113
  };