@argonprotocol/mainchain 1.6.0-dev.707ec3f0 → 1.6.0-dev.975bc263

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.
@@ -8,7 +8,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
8
8
  import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
9
9
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
10
10
  import type { AccountId32, Call, H160, H256, MultiAddress, Percent, Permill } from '@polkadot/types/interfaces/runtime';
11
- import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBitcoinUtxoSyncV2, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesPriceIndex, ArgonPrimitivesVaultTreasuryBonusApprovalProof, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletAccountSecurityApproval, PalletAccountSecurityAuthorization, PalletBalancesAdjustmentDirection, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockOptions, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryProof, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferChainConfig, PalletCrosschainTransferGatewayActivityStorageProof, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierFork, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexEthereumPriceIndex, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionChangeProof, PalletStabilizerPoolsPositionProof, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryTaperingProgram, PalletVaultsVaultConfig, SnowbridgeBeaconPrimitivesBeaconHeader, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
11
+ import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBitcoinUtxoSyncV2, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesPriceIndex, ArgonPrimitivesVaultTreasuryBonusApprovalProof, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletAccountSecurityApproval, PalletAccountSecurityAuthorization, PalletBalancesAdjustmentDirection, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockOptions, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryProof, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferChainConfig, PalletCrosschainTransferGatewayActivityStorageProof, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierFork, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexEthereumPriceIndex, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionChangeProof, PalletStabilizerPoolsPositionContinuationProof, PalletStabilizerPoolsPositionProof, PalletStabilizerPoolsStabilizerPoolPositionId, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryTaperingProgram, PalletVaultsVaultConfig, SnowbridgeBeaconPrimitivesBeaconHeader, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
12
12
 
13
13
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
14
14
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -249,7 +249,11 @@ declare module '@polkadot/api-base/types/submittable' {
249
249
  **/
250
250
  proveGatewayActivityStorage: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array, proof: PalletCrosschainTransferGatewayActivityStorageProof | { locatorIndex?: any; activityRootSeed?: any; storageProof?: any; activityLogs?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u64>, PalletCrosschainTransferGatewayActivityStorageProof]>;
251
251
  registerCouncilSigner: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, signingKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed]>;
252
- registerMintingAuthority: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, destinationSigningKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array, microgonCollateral: Compact<u128> | AnyNumber | Uint8Array, micronotCollateral: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]>;
252
+ /**
253
+ * Register a gateway signer. Optional ARGON lot IDs select the operator's preferred
254
+ * backing; otherwise Treasury chooses it. All authorities share the operator's lot limit.
255
+ **/
256
+ registerMintingAuthority: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, destinationSigningKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array, microgonCollateral: Compact<u128> | AnyNumber | Uint8Array, micronotCollateral: Compact<u128> | AnyNumber | Uint8Array, bondLotIds: Option<Vec<u64>> | null | Uint8Array | Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>, Option<Vec<u64>>]>;
253
257
  setChainConfig: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferChainConfig]>;
254
258
  setMinimumMintingAuthorityValue: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, minimumValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u128>]>;
255
259
  setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, pricing: PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing | { activationGasCost?: any; signatureGasCost?: any; estimatedWeiPerGas?: any; estimatedMicrogonsPerEth?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing]>;
@@ -799,21 +803,26 @@ declare module '@polkadot/api-base/types/submittable' {
799
803
  };
800
804
  stabilizerPools: {
801
805
  /**
802
- * Register a position or refresh its checkpoint. A new revision forfeits the old
803
- * registration's unclaimed rewards and starts earning at the next frame.
806
+ * Register or refresh eligibility. A new revision preserves accepted earnings and starts
807
+ * fresh eligibility at the next frame; it cannot prove continuity for the prior revision.
804
808
  **/
805
809
  checkpointPosition: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, poolId: H256 | string | Uint8Array, tokenId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionProof | { subscriber?: any; positionManager?: any; poolManager?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H256, U256, PalletStabilizerPoolsPositionProof]>;
810
+ /**
811
+ * Continue the enrollment with another NFT from the same Uniswap PositionManager.
812
+ * The replacement's own reward terms start in the frame after its proven Ethereum block.
813
+ **/
814
+ continueEnrollment: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, replacementUniswapNftId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionContinuationProof | { before?: any; after?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, U256, PalletStabilizerPoolsPositionContinuationProof]>;
806
815
  /**
807
816
  * Approve immutable deployment bindings and the canonical pool key.
808
817
  * Root must verify the pinned implementations and their immutable bindings first.
809
818
  **/
810
819
  registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
811
820
  /**
812
- * Prove a newer revision or an ended subscription to remove the registration and forfeit
813
- * its unclaimed rewards. During review, the report also removes its liquidity from the
814
- * closed frame's total.
821
+ * Any signed account may report a newer revision or ended subscription. Proven rewards
822
+ * remain collectable after resets or removal. A timely continuation also preserves the
823
+ * enrollment and eligibility that has not yet been committed.
815
824
  **/
816
- reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; tokenId?: any } | string | Uint8Array, proof: PalletStabilizerPoolsPositionChangeProof | { Revision: any } | { Subscription: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsPositionChangeProof]>;
825
+ reportPositionChange: AugmentedSubmittable<(position: PalletStabilizerPoolsStabilizerPoolPositionId | { positionManager?: any; uniswapNftId?: any } | string | Uint8Array, proof: PalletStabilizerPoolsPositionChangeProof | { Revision: any } | { Subscription: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStabilizerPoolsStabilizerPoolPositionId, PalletStabilizerPoolsPositionChangeProof]>;
817
826
  };
818
827
  sudo: {
819
828
  /**
@@ -986,6 +995,10 @@ declare module '@polkadot/api-base/types/submittable' {
986
995
  * Settle the signer's available source earnings and collect them in one payment.
987
996
  **/
988
997
  collect: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
998
+ /**
999
+ * Collect a linked account's available earnings into the signer's account.
1000
+ **/
1001
+ collectFor: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
989
1002
  };
990
1003
  txPause: {
991
1004
  /**
@@ -1132,7 +1145,6 @@ declare module '@polkadot/api-base/types/submittable' {
1132
1145
  * its notice and any existing Bitcoin commitment.
1133
1146
  **/
1134
1147
  close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1135
- collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1136
1148
  create: AugmentedSubmittable<(vaultConfig: PalletVaultsVaultConfig | { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletVaultsVaultConfig]>;
1137
1149
  /**
1138
1150
  * Modify funds allocated by the vault without changing existing Bitcoin locks.