@argonprotocol/mainchain 1.4.9-dev.c62e171b → 1.4.9-dev.fab648f5
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 +261 -233
- package/browser/index.js +100 -22
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +123 -46
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +261 -233
- package/lib/index.d.ts +261 -233
- package/lib/index.js +99 -22
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +31 -23
- package/src/interfaces/augment-api-errors.ts +27 -15
- package/src/interfaces/augment-api-events.ts +31 -21
- package/src/interfaces/augment-api-query.ts +25 -47
- package/src/interfaces/augment-api-runtime.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +13 -13
- package/src/interfaces/augment-api.ts +0 -1
- package/src/interfaces/augment-types.ts +0 -1
- package/src/interfaces/lookup.ts +125 -112
- package/src/interfaces/registry.ts +4 -3
- package/src/interfaces/types-lookup.ts +140 -120
package/browser/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
|
|
|
5
5
|
export { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import { AccountId32, Percent, H160, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, Balance, Weight, AccountId20, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, BalanceOf, BlockNumberFor, BlockNumberOf, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H2048, H32, H512, HeaderPartial, I32F32, IndicesLookupSource, Justifications, KeyTypeId, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletsOrigin, PalletVersion, Pays, Perbill, Permill, Perquintill, PerU16, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
export { AccountId, AccountId32, Block, Call, H160, H256, Header, MultiAddress, Permill, SignedBlock } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletCrosschainTransferSourceChain, PalletCrosschainTransferGatewayState, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferAssetKind, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, PalletEthereumVerifierBasicOperatingMode, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutTransferOutOfArgon, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesEthereumEthereumBeaconPreset, PalletEthereumVerifierSyncCommitteePrepared, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingMintUtxo, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLotSummary, PalletTreasuryBondLot, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, ArgonPrimitivesVaultTreasuryBonusApprovalProof, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
|
|
8
|
+
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletCrosschainTransferSourceChain, PalletCrosschainTransferGatewayState, PalletCrosschainTransferGatewaySyncPause, PalletCrosschainTransferCouncilApprovalTargetId, PalletCrosschainTransferAssetKind, PalletCrosschainTransferTransferToArgonActivity, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, PalletEthereumVerifierBasicOperatingMode, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesProvidersOperationalRewardKind, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletTreasuryBondProgramId, PalletTreasuryBondReleaseReason, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksOrphanedUtxo, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletCrosschainTransferChainConfig, PalletCrosschainTransferCouncilApprovalQueueEntry, PalletCrosschainTransferGlobalIssuanceCouncil, PalletCrosschainTransferMintingAuthority, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletCrosschainTransferTransferOutPendingCollateralizationRequest, PalletCrosschainTransferSourceChainCirculation, PalletCrosschainTransferTransferOutTransferOutOfArgon, PalletCrosschainTransferAccountTransferTotals, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesEthereumEthereumBeaconPreset, PalletEthereumVerifierSyncCommitteePrepared, PalletEthereumVerifierExecutionHeaderAnchor, PalletEthereumVerifierFinalizedBeaconHeaderState, PalletEthereumVerifierForkVersions, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletLocalchainTransferQueuedTransferOut, ArgonPrimitivesBlockSealMiningBidStats, PalletMiningSlotMinerNonceScoring, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsFrameInfo, PalletMintMintAction, PalletMintMintQueueCursor, PalletMintPendingMintUtxo, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexArgonotAverageFrameAccumulator, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLotSummary, PalletTreasuryBondLot, PalletTreasuryFrameArgonotBondParticipants, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, ArgonPrimitivesVaultTreasuryBonusApprovalProof, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
|
|
9
9
|
export * from '@polkadot/types/lookup';
|
|
10
10
|
import { Observable, IExtrinsic } from '@polkadot/types/types';
|
|
11
11
|
import { AugmentedRpc } from '@polkadot/rpc-core/types';
|
|
@@ -294,11 +294,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
294
294
|
* completes the remaining uncovered amount.
|
|
295
295
|
**/
|
|
296
296
|
minTransferCollateralIncrement: u128 & AugmentedConst<ApiType>;
|
|
297
|
-
/**
|
|
298
|
-
* Retention window, in ticks, for recent Argon transfer evidence used by operational
|
|
299
|
-
* accounts.
|
|
300
|
-
**/
|
|
301
|
-
recentTransferRetentionTicks: u64 & AugmentedConst<ApiType>;
|
|
302
297
|
/**
|
|
303
298
|
* Minting authority tip rate applied to transfer-out requests in basis points.
|
|
304
299
|
**/
|
|
@@ -455,45 +450,59 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
455
450
|
};
|
|
456
451
|
operationalAccounts: {
|
|
457
452
|
/**
|
|
458
|
-
* Additional argon amount (base units) required per
|
|
453
|
+
* Additional argon amount (base units) required per follow-on access code after an account
|
|
454
|
+
* becomes operational.
|
|
459
455
|
**/
|
|
460
|
-
|
|
456
|
+
bitcoinLockSizeForAccessCode: u128 & AugmentedConst<ApiType>;
|
|
461
457
|
/**
|
|
462
|
-
* Maximum number of available
|
|
458
|
+
* Maximum number of available access codes allowed at once.
|
|
463
459
|
**/
|
|
464
|
-
|
|
460
|
+
maxAvailableAccessCodes: u32 & AugmentedConst<ApiType>;
|
|
465
461
|
/**
|
|
466
|
-
* Maximum number of encrypted server bytes stored per
|
|
462
|
+
* Maximum number of encrypted server bytes stored per network account.
|
|
467
463
|
**/
|
|
468
464
|
maxEncryptedServerLen: u32 & AugmentedConst<ApiType>;
|
|
469
465
|
/**
|
|
470
|
-
*
|
|
466
|
+
* Minimum bitcoin amount required to register.
|
|
471
467
|
**/
|
|
472
|
-
|
|
468
|
+
minimumBitcoin: u128 & AugmentedConst<ApiType>;
|
|
469
|
+
/**
|
|
470
|
+
* Minimum bond amount required to register.
|
|
471
|
+
**/
|
|
472
|
+
minimumBonds: u128 & AugmentedConst<ApiType>;
|
|
473
|
+
/**
|
|
474
|
+
* Minimum Uniswap transfer amount required to register.
|
|
475
|
+
**/
|
|
476
|
+
minimumUniswapTransfer: u128 & AugmentedConst<ApiType>;
|
|
473
477
|
/**
|
|
474
478
|
* Mining seats required to become operational.
|
|
475
479
|
**/
|
|
476
480
|
miningSeatsForOperational: u32 & AugmentedConst<ApiType>;
|
|
477
481
|
/**
|
|
478
|
-
* Mining seats required per
|
|
482
|
+
* Mining seats required per follow-on access code after an account becomes
|
|
483
|
+
* operational.
|
|
479
484
|
**/
|
|
480
|
-
|
|
485
|
+
miningSeatsPerAccessCode: u32 & AugmentedConst<ApiType>;
|
|
481
486
|
/**
|
|
482
|
-
*
|
|
487
|
+
* Default bonus reward paid every operational certification threshold.
|
|
483
488
|
**/
|
|
484
|
-
|
|
489
|
+
operationalCertificationBonusReward: u128 & AugmentedConst<ApiType>;
|
|
490
|
+
/**
|
|
491
|
+
* Default reward paid when an account becomes operationally certified.
|
|
492
|
+
**/
|
|
493
|
+
operationalCertificationReward: u128 & AugmentedConst<ApiType>;
|
|
485
494
|
/**
|
|
486
|
-
*
|
|
495
|
+
* Number of operational certifications required per bonus reward.
|
|
487
496
|
**/
|
|
488
|
-
|
|
497
|
+
operationalCertificationsPerBonusReward: u32 & AugmentedConst<ApiType>;
|
|
489
498
|
/**
|
|
490
|
-
*
|
|
499
|
+
* Minimum total Uniswap transfer amount required for operational certification.
|
|
491
500
|
**/
|
|
492
|
-
|
|
501
|
+
operationalMinimumUniswapTransfer: u128 & AugmentedConst<ApiType>;
|
|
493
502
|
/**
|
|
494
|
-
*
|
|
503
|
+
* Minimum vault securitization required to become operational.
|
|
495
504
|
**/
|
|
496
|
-
|
|
505
|
+
operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
|
|
497
506
|
};
|
|
498
507
|
ownership: {
|
|
499
508
|
/**
|
|
@@ -1539,7 +1548,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1539
1548
|
**/
|
|
1540
1549
|
InvalidBidAmount: AugmentedError<ApiType>;
|
|
1541
1550
|
/**
|
|
1542
|
-
* Mining slot bidding currently requires prior operational-account
|
|
1551
|
+
* Mining slot bidding currently requires a prior operational-account upgrade.
|
|
1543
1552
|
**/
|
|
1544
1553
|
OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
|
|
1545
1554
|
/**
|
|
@@ -1723,29 +1732,37 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1723
1732
|
**/
|
|
1724
1733
|
AccountAlreadyLinked: AugmentedError<ApiType>;
|
|
1725
1734
|
/**
|
|
1726
|
-
* The account is already
|
|
1735
|
+
* The account is already operationally certified.
|
|
1727
1736
|
**/
|
|
1728
|
-
|
|
1737
|
+
AlreadyOperationallyCertified: AugmentedError<ApiType>;
|
|
1729
1738
|
/**
|
|
1730
1739
|
* The caller already registered an operational account.
|
|
1731
1740
|
**/
|
|
1732
1741
|
AlreadyRegistered: AugmentedError<ApiType>;
|
|
1742
|
+
/**
|
|
1743
|
+
* An account cannot grant access to itself.
|
|
1744
|
+
**/
|
|
1745
|
+
CannotGrantAccessToSelf: AugmentedError<ApiType>;
|
|
1733
1746
|
/**
|
|
1734
1747
|
* The encrypted server payload exceeds the configured max length.
|
|
1735
1748
|
**/
|
|
1736
1749
|
EncryptedServerTooLong: AugmentedError<ApiType>;
|
|
1737
1750
|
/**
|
|
1738
|
-
*
|
|
1751
|
+
* The upstream access proof is invalid.
|
|
1739
1752
|
**/
|
|
1740
|
-
|
|
1753
|
+
InvalidAccessProof: AugmentedError<ApiType>;
|
|
1741
1754
|
/**
|
|
1742
|
-
*
|
|
1755
|
+
* One of the linked account ownership proofs is invalid.
|
|
1743
1756
|
**/
|
|
1744
|
-
|
|
1757
|
+
InvalidAccountProof: AugmentedError<ApiType>;
|
|
1745
1758
|
/**
|
|
1746
1759
|
* The caller is not one of the accounts included in the registration.
|
|
1747
1760
|
**/
|
|
1748
1761
|
InvalidRegistrationSubmitter: AugmentedError<ApiType>;
|
|
1762
|
+
/**
|
|
1763
|
+
* The requested account does not currently satisfy the minimums.
|
|
1764
|
+
**/
|
|
1765
|
+
MinimumsNotMet: AugmentedError<ApiType>;
|
|
1749
1766
|
/**
|
|
1750
1767
|
* The operational account has no pending rewards to claim.
|
|
1751
1768
|
**/
|
|
@@ -1759,17 +1776,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1759
1776
|
**/
|
|
1760
1777
|
NotEligibleForActivation: AugmentedError<ApiType>;
|
|
1761
1778
|
/**
|
|
1762
|
-
* The
|
|
1779
|
+
* The requested account has not registered operational accounts.
|
|
1763
1780
|
**/
|
|
1764
1781
|
NotOperationalAccount: AugmentedError<ApiType>;
|
|
1765
1782
|
/**
|
|
1766
|
-
* The caller is not the
|
|
1783
|
+
* The caller is not the upstream account for the requested downstream account.
|
|
1767
1784
|
**/
|
|
1768
|
-
|
|
1769
|
-
/**
|
|
1770
|
-
* The referral proof has expired.
|
|
1771
|
-
**/
|
|
1772
|
-
ReferralProofExpired: AugmentedError<ApiType>;
|
|
1785
|
+
NotUpstreamOfDownstream: AugmentedError<ApiType>;
|
|
1773
1786
|
/**
|
|
1774
1787
|
* A valid invite is required to register an operational account.
|
|
1775
1788
|
**/
|
|
@@ -1790,6 +1803,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1790
1803
|
* The treasury does not currently have enough available reserves for the claim.
|
|
1791
1804
|
**/
|
|
1792
1805
|
TreasuryInsufficientFunds: AugmentedError<ApiType>;
|
|
1806
|
+
/**
|
|
1807
|
+
* The requested upstream account does not have any available access codes.
|
|
1808
|
+
**/
|
|
1809
|
+
UpstreamHasNoAvailableAccessCodes: AugmentedError<ApiType>;
|
|
1810
|
+
/**
|
|
1811
|
+
* The requested upstream account does not have a registered operational account.
|
|
1812
|
+
**/
|
|
1813
|
+
UpstreamNotOperationalAccount: AugmentedError<ApiType>;
|
|
1793
1814
|
};
|
|
1794
1815
|
ownership: {
|
|
1795
1816
|
/**
|
|
@@ -2108,7 +2129,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2108
2129
|
**/
|
|
2109
2130
|
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
2110
2131
|
/**
|
|
2111
|
-
* Vault creation currently requires prior operational-account
|
|
2132
|
+
* Vault creation currently requires a prior operational-account upgrade.
|
|
2112
2133
|
**/
|
|
2113
2134
|
OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
|
|
2114
2135
|
/**
|
|
@@ -3464,22 +3485,30 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3464
3485
|
};
|
|
3465
3486
|
operationalAccounts: {
|
|
3466
3487
|
/**
|
|
3467
|
-
* Account has
|
|
3488
|
+
* Account has met the registration minimums.
|
|
3468
3489
|
**/
|
|
3469
|
-
|
|
3490
|
+
AccountMeetsMinimums: AugmentedEvent<ApiType, [
|
|
3470
3491
|
account: AccountId32
|
|
3471
3492
|
], {
|
|
3472
3493
|
account: AccountId32;
|
|
3473
3494
|
}>;
|
|
3474
3495
|
/**
|
|
3475
|
-
*
|
|
3496
|
+
* Account has become operationally certified.
|
|
3497
|
+
**/
|
|
3498
|
+
AccountOperationallyCertified: AugmentedEvent<ApiType, [
|
|
3499
|
+
account: AccountId32
|
|
3500
|
+
], {
|
|
3501
|
+
account: AccountId32;
|
|
3502
|
+
}>;
|
|
3503
|
+
/**
|
|
3504
|
+
* An upstream account updated the encrypted server payload for a downstream account.
|
|
3476
3505
|
**/
|
|
3477
3506
|
EncryptedServerUpdated: AugmentedEvent<ApiType, [
|
|
3478
|
-
|
|
3479
|
-
|
|
3507
|
+
upstreamAccount: AccountId32,
|
|
3508
|
+
downstreamAccount: AccountId32
|
|
3480
3509
|
], {
|
|
3481
|
-
|
|
3482
|
-
|
|
3510
|
+
upstreamAccount: AccountId32;
|
|
3511
|
+
downstreamAccount: AccountId32;
|
|
3483
3512
|
}>;
|
|
3484
3513
|
/**
|
|
3485
3514
|
* An operational account was registered with its linked accounts.
|
|
@@ -3487,15 +3516,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3487
3516
|
OperationalAccountRegistered: AugmentedEvent<ApiType, [
|
|
3488
3517
|
operationalAccount: AccountId32,
|
|
3489
3518
|
vaultAccount: AccountId32,
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
sponsor: Option<AccountId32>
|
|
3519
|
+
miningAccount: AccountId32,
|
|
3520
|
+
upstreamAccount: Option<AccountId32>
|
|
3493
3521
|
], {
|
|
3494
3522
|
operationalAccount: AccountId32;
|
|
3495
3523
|
vaultAccount: AccountId32;
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
sponsor: Option<AccountId32>;
|
|
3524
|
+
miningAccount: AccountId32;
|
|
3525
|
+
upstreamAccount: Option<AccountId32>;
|
|
3499
3526
|
}>;
|
|
3500
3527
|
/**
|
|
3501
3528
|
* Operational progress was forced by root.
|
|
@@ -3503,19 +3530,23 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3503
3530
|
OperationalProgressForced: AugmentedEvent<ApiType, [
|
|
3504
3531
|
account: AccountId32,
|
|
3505
3532
|
updateOperationalProgress: bool,
|
|
3506
|
-
|
|
3533
|
+
meetsMinimums: bool,
|
|
3534
|
+
uniswapArgonTransfersInAmount: u128,
|
|
3535
|
+
accountBitcoinAmount: u128,
|
|
3536
|
+
accountVaultBondAmount: u128,
|
|
3507
3537
|
vaultCreated: bool,
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
observedMiningSeatTotal: u32
|
|
3538
|
+
operatorVaultBitcoinAmount: u128,
|
|
3539
|
+
miningSeatCount: u32
|
|
3511
3540
|
], {
|
|
3512
3541
|
account: AccountId32;
|
|
3513
3542
|
updateOperationalProgress: bool;
|
|
3514
|
-
|
|
3543
|
+
meetsMinimums: bool;
|
|
3544
|
+
uniswapArgonTransfersInAmount: u128;
|
|
3545
|
+
accountBitcoinAmount: u128;
|
|
3546
|
+
accountVaultBondAmount: u128;
|
|
3515
3547
|
vaultCreated: bool;
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
observedMiningSeatTotal: u32;
|
|
3548
|
+
operatorVaultBitcoinAmount: u128;
|
|
3549
|
+
miningSeatCount: u32;
|
|
3519
3550
|
}>;
|
|
3520
3551
|
/**
|
|
3521
3552
|
* A reward is earned for an operational account, but not yet claimed.
|
|
@@ -3547,11 +3578,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3547
3578
|
* Reward config values were updated.
|
|
3548
3579
|
**/
|
|
3549
3580
|
RewardsConfigUpdated: AugmentedEvent<ApiType, [
|
|
3550
|
-
|
|
3551
|
-
|
|
3581
|
+
operationalCertificationReward: u128,
|
|
3582
|
+
operationalCertificationBonusReward: u128
|
|
3552
3583
|
], {
|
|
3553
|
-
|
|
3554
|
-
|
|
3584
|
+
operationalCertificationReward: u128;
|
|
3585
|
+
operationalCertificationBonusReward: u128;
|
|
3555
3586
|
}>;
|
|
3556
3587
|
};
|
|
3557
3588
|
ownership: {
|
|
@@ -4586,6 +4617,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4586
4617
|
AccountId32,
|
|
4587
4618
|
ArgonPrimitivesBitcoinUtxoRef
|
|
4588
4619
|
]>;
|
|
4620
|
+
/**
|
|
4621
|
+
* Index of active UTXO IDs per owner account.
|
|
4622
|
+
**/
|
|
4623
|
+
utxoIdsByOwnerAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
|
|
4624
|
+
AccountId32,
|
|
4625
|
+
u64
|
|
4626
|
+
]>;
|
|
4589
4627
|
/**
|
|
4590
4628
|
* Index of active UTXO IDs per vault
|
|
4591
4629
|
**/
|
|
@@ -4811,16 +4849,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4811
4849
|
globalIssuanceCouncilByHash: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCrosschainTransferGlobalIssuanceCouncil>>, [
|
|
4812
4850
|
H256
|
|
4813
4851
|
]>;
|
|
4814
|
-
/**
|
|
4815
|
-
* Accounts whose recent-transfer evidence expires at a given tick.
|
|
4816
|
-
**/
|
|
4817
|
-
inboundTransfersExpiringAt: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [
|
|
4818
|
-
u64
|
|
4819
|
-
]>;
|
|
4820
|
-
/**
|
|
4821
|
-
* Latest tick whose recent-transfer expiration bucket was cleaned up.
|
|
4822
|
-
**/
|
|
4823
|
-
lastTransferExpiryCleanupTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
4824
4852
|
/**
|
|
4825
4853
|
* The latest queued council hash that should govern the next queue entry on each destination
|
|
4826
4854
|
* chain.
|
|
@@ -4892,12 +4920,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4892
4920
|
previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<ApiType, (arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<u128>>, [
|
|
4893
4921
|
PalletCrosschainTransferSourceChain
|
|
4894
4922
|
]>;
|
|
4895
|
-
/**
|
|
4896
|
-
* Count of still-retained qualifying Argon transfers for each local account.
|
|
4897
|
-
**/
|
|
4898
|
-
recentArgonTransfersByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [
|
|
4899
|
-
AccountId32
|
|
4900
|
-
]>;
|
|
4901
4923
|
/**
|
|
4902
4924
|
* Outbound transfers by transfer id.
|
|
4903
4925
|
**/
|
|
@@ -4911,6 +4933,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4911
4933
|
transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<ApiType, (arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array) => Observable<Option<u128>>, [
|
|
4912
4934
|
PalletCrosschainTransferSourceChain
|
|
4913
4935
|
]>;
|
|
4936
|
+
/**
|
|
4937
|
+
* Cumulative inbound and outbound transfer totals for each local account.
|
|
4938
|
+
**/
|
|
4939
|
+
transferTotalsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletCrosschainTransferAccountTransferTotals>, [
|
|
4940
|
+
AccountId32
|
|
4941
|
+
]>;
|
|
4914
4942
|
};
|
|
4915
4943
|
digests: {
|
|
4916
4944
|
tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, [
|
|
@@ -5286,32 +5314,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
5286
5314
|
};
|
|
5287
5315
|
operationalAccounts: {
|
|
5288
5316
|
/**
|
|
5289
|
-
*
|
|
5317
|
+
* Opaque encrypted upstream server payload keyed by the downstream account.
|
|
5290
5318
|
**/
|
|
5291
|
-
|
|
5292
|
-
U8aFixed
|
|
5293
|
-
]>;
|
|
5294
|
-
/**
|
|
5295
|
-
* Referral codes to clear after their referral proof expiration frame.
|
|
5296
|
-
**/
|
|
5297
|
-
consumedReferralCodesByExpiration: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<Null>>, [
|
|
5298
|
-
u64,
|
|
5299
|
-
U8aFixed
|
|
5300
|
-
]>;
|
|
5301
|
-
/**
|
|
5302
|
-
* Opaque encrypted sponsor server payload keyed by the sponsee operational account.
|
|
5303
|
-
**/
|
|
5304
|
-
encryptedServerBySponsee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
5319
|
+
encryptedServerByDownstreamAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
5305
5320
|
AccountId32
|
|
5306
5321
|
]>;
|
|
5307
|
-
/**
|
|
5308
|
-
* Oldest referral expiration frame that still has cleanup work to resume.
|
|
5309
|
-
**/
|
|
5310
|
-
expiredReferralCodeCleanupFrame: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
5311
5322
|
/**
|
|
5312
5323
|
* Whether operational-account access is invite-only.
|
|
5313
5324
|
*
|
|
5314
|
-
* When enabled, registration requires
|
|
5325
|
+
* When enabled, registration requires an upstream invite and vault creation plus
|
|
5315
5326
|
* mining-slot bidding remain restricted to registered operational accounts.
|
|
5316
5327
|
*
|
|
5317
5328
|
* Existing live raw chain specs do not contain this key, so the default remains invite-only
|
|
@@ -6619,21 +6630,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6619
6630
|
* Force-update operational progress markers for an account.
|
|
6620
6631
|
**/
|
|
6621
6632
|
forceSetProgress: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, patch: PalletOperationalAccountsOperationalProgressPatch | {
|
|
6622
|
-
|
|
6633
|
+
uniswapArgonTransfersInAmount?: any;
|
|
6634
|
+
accountBitcoinAmount?: any;
|
|
6635
|
+
accountVaultBondAmount?: any;
|
|
6623
6636
|
vaultCreated?: any;
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
observedMiningSeatTotal?: any;
|
|
6637
|
+
vaultBitcoinAmount?: any;
|
|
6638
|
+
miningSeatCount?: any;
|
|
6627
6639
|
} | string | Uint8Array, updateOperationalProgress: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6628
6640
|
AccountId32,
|
|
6629
6641
|
PalletOperationalAccountsOperationalProgressPatch,
|
|
6630
6642
|
bool
|
|
6631
6643
|
]>;
|
|
6632
6644
|
/**
|
|
6633
|
-
* Register vault
|
|
6645
|
+
* Register vault and mining accounts for an operational account.
|
|
6634
6646
|
* Any account in the registration may submit the transaction.
|
|
6635
|
-
*
|
|
6636
|
-
* When invite-only is enabled, a valid referral proof is required.
|
|
6647
|
+
* When invite-only is enabled, the registration must include an upstream access proof.
|
|
6637
6648
|
**/
|
|
6638
6649
|
register: AugmentedSubmittable<(registration: PalletOperationalAccountsRegistration | {
|
|
6639
6650
|
V1: any;
|
|
@@ -6641,16 +6652,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6641
6652
|
PalletOperationalAccountsRegistration
|
|
6642
6653
|
]>;
|
|
6643
6654
|
/**
|
|
6644
|
-
* Store an opaque encrypted
|
|
6655
|
+
* Store an opaque encrypted upstream server payload for a downstream account.
|
|
6645
6656
|
**/
|
|
6646
|
-
|
|
6657
|
+
setEncryptedServerForDownstreamAccount: AugmentedSubmittable<(downstreamAccount: AccountId32 | string | Uint8Array, encryptedServer: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6647
6658
|
AccountId32,
|
|
6648
6659
|
Bytes
|
|
6649
6660
|
]>;
|
|
6650
6661
|
/**
|
|
6651
|
-
* Update reward amounts for operational accounts.
|
|
6662
|
+
* Update certification reward amounts for operational accounts.
|
|
6652
6663
|
**/
|
|
6653
|
-
setRewardConfig: AugmentedSubmittable<(
|
|
6664
|
+
setRewardConfig: AugmentedSubmittable<(operationalCertificationReward: u128 | AnyNumber | Uint8Array, operationalCertificationBonusReward: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6654
6665
|
u128,
|
|
6655
6666
|
u128
|
|
6656
6667
|
]>;
|
|
@@ -11163,12 +11174,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
11163
11174
|
readonly asOperationalAccountRegistered: {
|
|
11164
11175
|
readonly operationalAccount: AccountId32;
|
|
11165
11176
|
readonly vaultAccount: AccountId32;
|
|
11166
|
-
readonly
|
|
11167
|
-
readonly
|
|
11168
|
-
readonly sponsor: Option<AccountId32>;
|
|
11177
|
+
readonly miningAccount: AccountId32;
|
|
11178
|
+
readonly upstreamAccount: Option<AccountId32>;
|
|
11169
11179
|
} & Struct;
|
|
11170
|
-
readonly
|
|
11171
|
-
readonly
|
|
11180
|
+
readonly isAccountMeetsMinimums: boolean;
|
|
11181
|
+
readonly asAccountMeetsMinimums: {
|
|
11182
|
+
readonly account: AccountId32;
|
|
11183
|
+
} & Struct;
|
|
11184
|
+
readonly isAccountOperationallyCertified: boolean;
|
|
11185
|
+
readonly asAccountOperationallyCertified: {
|
|
11172
11186
|
readonly account: AccountId32;
|
|
11173
11187
|
} & Struct;
|
|
11174
11188
|
readonly isOperationalRewardEarned: boolean;
|
|
@@ -11186,31 +11200,33 @@ declare module '@polkadot/types/lookup' {
|
|
|
11186
11200
|
} & Struct;
|
|
11187
11201
|
readonly isRewardsConfigUpdated: boolean;
|
|
11188
11202
|
readonly asRewardsConfigUpdated: {
|
|
11189
|
-
readonly
|
|
11190
|
-
readonly
|
|
11203
|
+
readonly operationalCertificationReward: u128;
|
|
11204
|
+
readonly operationalCertificationBonusReward: u128;
|
|
11191
11205
|
} & Struct;
|
|
11192
11206
|
readonly isOperationalProgressForced: boolean;
|
|
11193
11207
|
readonly asOperationalProgressForced: {
|
|
11194
11208
|
readonly account: AccountId32;
|
|
11195
11209
|
readonly updateOperationalProgress: bool;
|
|
11196
|
-
readonly
|
|
11210
|
+
readonly meetsMinimums: bool;
|
|
11211
|
+
readonly uniswapArgonTransfersInAmount: u128;
|
|
11212
|
+
readonly accountBitcoinAmount: u128;
|
|
11213
|
+
readonly accountVaultBondAmount: u128;
|
|
11197
11214
|
readonly vaultCreated: bool;
|
|
11198
|
-
readonly
|
|
11199
|
-
readonly
|
|
11200
|
-
readonly observedMiningSeatTotal: u32;
|
|
11215
|
+
readonly operatorVaultBitcoinAmount: u128;
|
|
11216
|
+
readonly miningSeatCount: u32;
|
|
11201
11217
|
} & Struct;
|
|
11202
11218
|
readonly isEncryptedServerUpdated: boolean;
|
|
11203
11219
|
readonly asEncryptedServerUpdated: {
|
|
11204
|
-
readonly
|
|
11205
|
-
readonly
|
|
11220
|
+
readonly upstreamAccount: AccountId32;
|
|
11221
|
+
readonly downstreamAccount: AccountId32;
|
|
11206
11222
|
} & Struct;
|
|
11207
|
-
readonly type: 'OperationalAccountRegistered' | '
|
|
11223
|
+
readonly type: 'OperationalAccountRegistered' | 'AccountMeetsMinimums' | 'AccountOperationallyCertified' | 'OperationalRewardEarned' | 'OperationalRewardsClaimed' | 'RewardsConfigUpdated' | 'OperationalProgressForced' | 'EncryptedServerUpdated';
|
|
11208
11224
|
}
|
|
11209
11225
|
/** @name ArgonPrimitivesProvidersOperationalRewardKind (126) */
|
|
11210
11226
|
interface ArgonPrimitivesProvidersOperationalRewardKind extends Enum {
|
|
11211
|
-
readonly
|
|
11212
|
-
readonly
|
|
11213
|
-
readonly type: '
|
|
11227
|
+
readonly isCertification: boolean;
|
|
11228
|
+
readonly isOperationalCertificationBonus: boolean;
|
|
11229
|
+
readonly type: 'Certification' | 'OperationalCertificationBonus';
|
|
11214
11230
|
}
|
|
11215
11231
|
/** @name PalletEthereumVerifierEvent (127) */
|
|
11216
11232
|
interface PalletEthereumVerifierEvent extends Enum {
|
|
@@ -12338,8 +12354,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
12338
12354
|
} & Struct;
|
|
12339
12355
|
readonly isSetRewardConfig: boolean;
|
|
12340
12356
|
readonly asSetRewardConfig: {
|
|
12341
|
-
readonly
|
|
12342
|
-
readonly
|
|
12357
|
+
readonly operationalCertificationReward: u128;
|
|
12358
|
+
readonly operationalCertificationBonusReward: u128;
|
|
12343
12359
|
} & Struct;
|
|
12344
12360
|
readonly isForceSetProgress: boolean;
|
|
12345
12361
|
readonly asForceSetProgress: {
|
|
@@ -12347,9 +12363,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
12347
12363
|
readonly patch: PalletOperationalAccountsOperationalProgressPatch;
|
|
12348
12364
|
readonly updateOperationalProgress: bool;
|
|
12349
12365
|
} & Struct;
|
|
12350
|
-
readonly
|
|
12351
|
-
readonly
|
|
12352
|
-
readonly
|
|
12366
|
+
readonly isSetEncryptedServerForDownstreamAccount: boolean;
|
|
12367
|
+
readonly asSetEncryptedServerForDownstreamAccount: {
|
|
12368
|
+
readonly downstreamAccount: AccountId32;
|
|
12353
12369
|
readonly encryptedServer: Bytes;
|
|
12354
12370
|
} & Struct;
|
|
12355
12371
|
readonly isActivate: boolean;
|
|
@@ -12357,7 +12373,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12357
12373
|
readonly asClaimRewards: {
|
|
12358
12374
|
readonly amount: u128;
|
|
12359
12375
|
} & Struct;
|
|
12360
|
-
readonly type: 'Register' | 'SetRewardConfig' | 'ForceSetProgress' | '
|
|
12376
|
+
readonly type: 'Register' | 'SetRewardConfig' | 'ForceSetProgress' | 'SetEncryptedServerForDownstreamAccount' | 'Activate' | 'ClaimRewards';
|
|
12361
12377
|
}
|
|
12362
12378
|
/** @name PalletOperationalAccountsRegistration (275) */
|
|
12363
12379
|
interface PalletOperationalAccountsRegistration extends Enum {
|
|
@@ -12371,12 +12387,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
12371
12387
|
readonly encryptionPubkey: PalletOperationalAccountsOpaqueEncryptionPubkey;
|
|
12372
12388
|
readonly operationalAccountProof: PalletOperationalAccountsAccountOwnershipProof;
|
|
12373
12389
|
readonly vaultAccount: AccountId32;
|
|
12374
|
-
readonly
|
|
12375
|
-
readonly miningBotAccount: AccountId32;
|
|
12390
|
+
readonly miningAccount: AccountId32;
|
|
12376
12391
|
readonly vaultAccountProof: PalletOperationalAccountsAccountOwnershipProof;
|
|
12377
|
-
readonly
|
|
12378
|
-
readonly
|
|
12379
|
-
readonly referralProof: Option<PalletOperationalAccountsReferralProof>;
|
|
12392
|
+
readonly miningAccountProof: PalletOperationalAccountsAccountOwnershipProof;
|
|
12393
|
+
readonly accessProof: Option<PalletOperationalAccountsUpstreamAccessProof>;
|
|
12380
12394
|
}
|
|
12381
12395
|
/** @name PalletOperationalAccountsOpaqueEncryptionPubkey (277) */
|
|
12382
12396
|
interface PalletOperationalAccountsOpaqueEncryptionPubkey extends U8aFixed {
|
|
@@ -12385,21 +12399,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
12385
12399
|
interface PalletOperationalAccountsAccountOwnershipProof extends Struct {
|
|
12386
12400
|
readonly signature: SpRuntimeMultiSignature;
|
|
12387
12401
|
}
|
|
12388
|
-
/** @name
|
|
12389
|
-
interface
|
|
12390
|
-
readonly
|
|
12391
|
-
readonly
|
|
12392
|
-
readonly sponsor: AccountId32;
|
|
12393
|
-
readonly expiresAtFrame: Compact<u64>;
|
|
12394
|
-
readonly sponsorSignature: SpRuntimeMultiSignature;
|
|
12402
|
+
/** @name PalletOperationalAccountsUpstreamAccessProof (280) */
|
|
12403
|
+
interface PalletOperationalAccountsUpstreamAccessProof extends Struct {
|
|
12404
|
+
readonly upstreamAccount: AccountId32;
|
|
12405
|
+
readonly signature: SpRuntimeMultiSignature;
|
|
12395
12406
|
}
|
|
12396
12407
|
/** @name PalletOperationalAccountsOperationalProgressPatch (281) */
|
|
12397
12408
|
interface PalletOperationalAccountsOperationalProgressPatch extends Struct {
|
|
12398
|
-
readonly
|
|
12409
|
+
readonly uniswapArgonTransfersInAmount: Option<u128>;
|
|
12410
|
+
readonly accountBitcoinAmount: Option<u128>;
|
|
12411
|
+
readonly accountVaultBondAmount: Option<u128>;
|
|
12399
12412
|
readonly vaultCreated: Option<bool>;
|
|
12400
|
-
readonly
|
|
12401
|
-
readonly
|
|
12402
|
-
readonly observedMiningSeatTotal: Option<u32>;
|
|
12413
|
+
readonly vaultBitcoinAmount: Option<u128>;
|
|
12414
|
+
readonly miningSeatCount: Option<u32>;
|
|
12403
12415
|
}
|
|
12404
12416
|
/** @name PalletEthereumVerifierCall (283) */
|
|
12405
12417
|
interface PalletEthereumVerifierCall extends Enum {
|
|
@@ -12926,7 +12938,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12926
12938
|
readonly fundHoldExtensions: BTreeMap<u64, u128>;
|
|
12927
12939
|
readonly createdAtArgonBlock: Compact<u32>;
|
|
12928
12940
|
}
|
|
12929
|
-
/** @name PalletBitcoinLocksLockReleaseRequest (
|
|
12941
|
+
/** @name PalletBitcoinLocksLockReleaseRequest (419) */
|
|
12930
12942
|
interface PalletBitcoinLocksLockReleaseRequest extends Struct {
|
|
12931
12943
|
readonly utxoId: Compact<u64>;
|
|
12932
12944
|
readonly vaultId: Compact<u32>;
|
|
@@ -12935,7 +12947,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12935
12947
|
readonly toScriptPubkey: Bytes;
|
|
12936
12948
|
readonly redemptionAmount: Compact<u128>;
|
|
12937
12949
|
}
|
|
12938
|
-
/** @name PalletBitcoinLocksOrphanedUtxo (
|
|
12950
|
+
/** @name PalletBitcoinLocksOrphanedUtxo (421) */
|
|
12939
12951
|
interface PalletBitcoinLocksOrphanedUtxo extends Struct {
|
|
12940
12952
|
readonly utxoId: Compact<u64>;
|
|
12941
12953
|
readonly vaultId: Compact<u32>;
|
|
@@ -12943,13 +12955,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
12943
12955
|
readonly recordedArgonBlockNumber: Compact<u32>;
|
|
12944
12956
|
readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
|
|
12945
12957
|
}
|
|
12946
|
-
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (
|
|
12958
|
+
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (423) */
|
|
12947
12959
|
interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
|
|
12948
12960
|
readonly bitcoinNetworkFee: u64;
|
|
12949
12961
|
readonly toScriptPubkey: Bytes;
|
|
12950
12962
|
readonly createdAtArgonBlockNumber: u32;
|
|
12951
12963
|
}
|
|
12952
|
-
/** @name PalletBitcoinLocksError (
|
|
12964
|
+
/** @name PalletBitcoinLocksError (430) */
|
|
12953
12965
|
interface PalletBitcoinLocksError extends Enum {
|
|
12954
12966
|
readonly isInsufficientFunds: boolean;
|
|
12955
12967
|
readonly isInsufficientVaultFunds: boolean;
|
|
@@ -12989,7 +13001,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12989
13001
|
readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
|
|
12990
13002
|
readonly type: 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericVaultError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive' | 'ExpirationAtBlockOverflow' | 'NoRatchetingAvailable' | 'LockInProcessOfRelease' | 'LockPendingFunding' | 'OverflowError' | 'IneligibleMicrogonRateRequested' | 'OrphanedUtxoFundingConflict' | 'OrphanedUtxoReleaseRequested' | 'FundingUtxoCannotBeReleased' | 'MaxOrphanedUtxoReleaseRequestsExceeded';
|
|
12991
13003
|
}
|
|
12992
|
-
/** @name ArgonPrimitivesVaultVaultError (
|
|
13004
|
+
/** @name ArgonPrimitivesVaultVaultError (431) */
|
|
12993
13005
|
interface ArgonPrimitivesVaultVaultError extends Enum {
|
|
12994
13006
|
readonly isVaultClosed: boolean;
|
|
12995
13007
|
readonly isAccountWouldBeBelowMinimum: boolean;
|
|
@@ -13006,7 +13018,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13006
13018
|
readonly isCommittedArgonotsBelowEncumberedBacking: boolean;
|
|
13007
13019
|
readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive' | 'CommittedArgonotsBelowEncumberedBacking';
|
|
13008
13020
|
}
|
|
13009
|
-
/** @name PalletNotariesError (
|
|
13021
|
+
/** @name PalletNotariesError (443) */
|
|
13010
13022
|
interface PalletNotariesError extends Enum {
|
|
13011
13023
|
readonly isProposalNotFound: boolean;
|
|
13012
13024
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -13019,7 +13031,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13019
13031
|
readonly isInvalidNotary: boolean;
|
|
13020
13032
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
13021
13033
|
}
|
|
13022
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
13034
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (447) */
|
|
13023
13035
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
13024
13036
|
readonly notebookNumber: Compact<u32>;
|
|
13025
13037
|
readonly tick: Compact<u64>;
|
|
@@ -13027,7 +13039,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13027
13039
|
readonly secretHash: H256;
|
|
13028
13040
|
readonly parentSecret: Option<H256>;
|
|
13029
13041
|
}
|
|
13030
|
-
/** @name PalletNotebookError (
|
|
13042
|
+
/** @name PalletNotebookError (450) */
|
|
13031
13043
|
interface PalletNotebookError extends Enum {
|
|
13032
13044
|
readonly isDuplicateNotebookNumber: boolean;
|
|
13033
13045
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -13046,17 +13058,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
13046
13058
|
readonly isInvalidNotebookSubmissionTick: boolean;
|
|
13047
13059
|
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
|
|
13048
13060
|
}
|
|
13049
|
-
/** @name PalletLocalchainTransferQueuedTransferOut (
|
|
13061
|
+
/** @name PalletLocalchainTransferQueuedTransferOut (451) */
|
|
13050
13062
|
interface PalletLocalchainTransferQueuedTransferOut extends Struct {
|
|
13051
13063
|
readonly accountId: AccountId32;
|
|
13052
13064
|
readonly amount: u128;
|
|
13053
13065
|
readonly expirationTick: u64;
|
|
13054
13066
|
readonly notaryId: u32;
|
|
13055
13067
|
}
|
|
13056
|
-
/** @name FrameSupportPalletId (
|
|
13068
|
+
/** @name FrameSupportPalletId (453) */
|
|
13057
13069
|
interface FrameSupportPalletId extends U8aFixed {
|
|
13058
13070
|
}
|
|
13059
|
-
/** @name PalletLocalchainTransferError (
|
|
13071
|
+
/** @name PalletLocalchainTransferError (454) */
|
|
13060
13072
|
interface PalletLocalchainTransferError extends Enum {
|
|
13061
13073
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
13062
13074
|
readonly isInsufficientFunds: boolean;
|
|
@@ -13068,7 +13080,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13068
13080
|
readonly isNoAvailableTransferId: boolean;
|
|
13069
13081
|
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer' | 'NotaryLockedForTransfer' | 'NoAvailableTransferId';
|
|
13070
13082
|
}
|
|
13071
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
13083
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (458) */
|
|
13072
13084
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
13073
13085
|
readonly notaryId: Compact<u32>;
|
|
13074
13086
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -13076,12 +13088,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
13076
13088
|
readonly blockVotesCount: Compact<u32>;
|
|
13077
13089
|
readonly blockVotingPower: Compact<u128>;
|
|
13078
13090
|
}
|
|
13079
|
-
/** @name PalletBlockSealSpecError (
|
|
13091
|
+
/** @name PalletBlockSealSpecError (463) */
|
|
13080
13092
|
interface PalletBlockSealSpecError extends Enum {
|
|
13081
13093
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
13082
13094
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
13083
13095
|
}
|
|
13084
|
-
/** @name PalletDomainsError (
|
|
13096
|
+
/** @name PalletDomainsError (465) */
|
|
13085
13097
|
interface PalletDomainsError extends Enum {
|
|
13086
13098
|
readonly isDomainNotRegistered: boolean;
|
|
13087
13099
|
readonly isNotDomainOwner: boolean;
|
|
@@ -13090,19 +13102,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
13090
13102
|
readonly isAccountDecodingError: boolean;
|
|
13091
13103
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
13092
13104
|
}
|
|
13093
|
-
/** @name PalletPriceIndexCpiMeasurementBucket (
|
|
13105
|
+
/** @name PalletPriceIndexCpiMeasurementBucket (467) */
|
|
13094
13106
|
interface PalletPriceIndexCpiMeasurementBucket extends Struct {
|
|
13095
13107
|
readonly tickRange: ITuple<[u64, u64]>;
|
|
13096
13108
|
readonly totalCpi: i128;
|
|
13097
13109
|
readonly measurementsCount: u32;
|
|
13098
13110
|
}
|
|
13099
|
-
/** @name PalletPriceIndexArgonotAverageFrameAccumulator (
|
|
13111
|
+
/** @name PalletPriceIndexArgonotAverageFrameAccumulator (471) */
|
|
13100
13112
|
interface PalletPriceIndexArgonotAverageFrameAccumulator extends Struct {
|
|
13101
13113
|
readonly frameId: Compact<u64>;
|
|
13102
13114
|
readonly totalMicrogonsPerArgonot: Compact<u128>;
|
|
13103
13115
|
readonly sampleCount: Compact<u32>;
|
|
13104
13116
|
}
|
|
13105
|
-
/** @name PalletPriceIndexError (
|
|
13117
|
+
/** @name PalletPriceIndexError (472) */
|
|
13106
13118
|
interface PalletPriceIndexError extends Enum {
|
|
13107
13119
|
readonly isNotAuthorizedOperator: boolean;
|
|
13108
13120
|
readonly isMissingValue: boolean;
|
|
@@ -13110,7 +13122,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13110
13122
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
13111
13123
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
13112
13124
|
}
|
|
13113
|
-
/** @name PalletGrandpaStoredState (
|
|
13125
|
+
/** @name PalletGrandpaStoredState (473) */
|
|
13114
13126
|
interface PalletGrandpaStoredState extends Enum {
|
|
13115
13127
|
readonly isLive: boolean;
|
|
13116
13128
|
readonly isPendingPause: boolean;
|
|
@@ -13126,14 +13138,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
13126
13138
|
} & Struct;
|
|
13127
13139
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
13128
13140
|
}
|
|
13129
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
13141
|
+
/** @name PalletGrandpaStoredPendingChange (474) */
|
|
13130
13142
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
13131
13143
|
readonly scheduledAt: u32;
|
|
13132
13144
|
readonly delay: u32;
|
|
13133
13145
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
13134
13146
|
readonly forced: Option<u32>;
|
|
13135
13147
|
}
|
|
13136
|
-
/** @name PalletGrandpaError (
|
|
13148
|
+
/** @name PalletGrandpaError (476) */
|
|
13137
13149
|
interface PalletGrandpaError extends Enum {
|
|
13138
13150
|
readonly isPauseFailed: boolean;
|
|
13139
13151
|
readonly isResumeFailed: boolean;
|
|
@@ -13144,13 +13156,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
13144
13156
|
readonly isDuplicateOffenceReport: boolean;
|
|
13145
13157
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
13146
13158
|
}
|
|
13147
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
13159
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (477) */
|
|
13148
13160
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
13149
13161
|
readonly blockAuthorAccountId: AccountId32;
|
|
13150
13162
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
13151
13163
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
13152
13164
|
}
|
|
13153
|
-
/** @name PalletBlockSealError (
|
|
13165
|
+
/** @name PalletBlockSealError (479) */
|
|
13154
13166
|
interface PalletBlockSealError extends Enum {
|
|
13155
13167
|
readonly isInvalidVoteSealStrength: boolean;
|
|
13156
13168
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -13175,72 +13187,72 @@ declare module '@polkadot/types/lookup' {
|
|
|
13175
13187
|
readonly isDuplicateVoteBlockAtTick: boolean;
|
|
13176
13188
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
|
|
13177
13189
|
}
|
|
13178
|
-
/** @name PalletBlockRewardsError (
|
|
13190
|
+
/** @name PalletBlockRewardsError (483) */
|
|
13179
13191
|
type PalletBlockRewardsError = Null;
|
|
13180
|
-
/** @name PalletMintPendingMintUtxo (
|
|
13192
|
+
/** @name PalletMintPendingMintUtxo (484) */
|
|
13181
13193
|
interface PalletMintPendingMintUtxo extends Struct {
|
|
13182
13194
|
readonly utxoId: Compact<u64>;
|
|
13183
13195
|
readonly accountId: AccountId32;
|
|
13184
13196
|
readonly remainingAmount: Compact<u128>;
|
|
13185
13197
|
readonly maxAmountPerFrame: Compact<u128>;
|
|
13186
13198
|
}
|
|
13187
|
-
/** @name PalletMintMintQueueCursor (
|
|
13199
|
+
/** @name PalletMintMintQueueCursor (486) */
|
|
13188
13200
|
interface PalletMintMintQueueCursor extends Struct {
|
|
13189
13201
|
readonly payoutStartIndex: Compact<u64>;
|
|
13190
13202
|
readonly payoutCursorIndex: Compact<u64>;
|
|
13191
13203
|
readonly payoutCursorFrameId: Option<u64>;
|
|
13192
13204
|
}
|
|
13193
|
-
/** @name PalletMintMintAction (
|
|
13205
|
+
/** @name PalletMintMintAction (489) */
|
|
13194
13206
|
interface PalletMintMintAction extends Struct {
|
|
13195
13207
|
readonly argonBurned: u128;
|
|
13196
13208
|
readonly argonMinted: u128;
|
|
13197
13209
|
readonly bitcoinMinted: u128;
|
|
13198
13210
|
}
|
|
13199
|
-
/** @name PalletMintError (
|
|
13211
|
+
/** @name PalletMintError (491) */
|
|
13200
13212
|
interface PalletMintError extends Enum {
|
|
13201
13213
|
readonly isTooManyPendingMints: boolean;
|
|
13202
13214
|
readonly type: 'TooManyPendingMints';
|
|
13203
13215
|
}
|
|
13204
|
-
/** @name PalletBalancesBalanceLock (
|
|
13216
|
+
/** @name PalletBalancesBalanceLock (493) */
|
|
13205
13217
|
interface PalletBalancesBalanceLock extends Struct {
|
|
13206
13218
|
readonly id: U8aFixed;
|
|
13207
13219
|
readonly amount: u128;
|
|
13208
13220
|
readonly reasons: PalletBalancesReasons;
|
|
13209
13221
|
}
|
|
13210
|
-
/** @name PalletBalancesReasons (
|
|
13222
|
+
/** @name PalletBalancesReasons (494) */
|
|
13211
13223
|
interface PalletBalancesReasons extends Enum {
|
|
13212
13224
|
readonly isFee: boolean;
|
|
13213
13225
|
readonly isMisc: boolean;
|
|
13214
13226
|
readonly isAll: boolean;
|
|
13215
13227
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
13216
13228
|
}
|
|
13217
|
-
/** @name PalletBalancesReserveData (
|
|
13229
|
+
/** @name PalletBalancesReserveData (497) */
|
|
13218
13230
|
interface PalletBalancesReserveData extends Struct {
|
|
13219
13231
|
readonly id: U8aFixed;
|
|
13220
13232
|
readonly amount: u128;
|
|
13221
13233
|
}
|
|
13222
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
13234
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (500) */
|
|
13223
13235
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
13224
13236
|
readonly id: ArgonRuntimeRuntimeHoldReason;
|
|
13225
13237
|
readonly amount: u128;
|
|
13226
13238
|
}
|
|
13227
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
13239
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (503) */
|
|
13228
13240
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
13229
13241
|
readonly id: ArgonRuntimeRuntimeFreezeReason;
|
|
13230
13242
|
readonly amount: u128;
|
|
13231
13243
|
}
|
|
13232
|
-
/** @name ArgonRuntimeRuntimeFreezeReason (
|
|
13244
|
+
/** @name ArgonRuntimeRuntimeFreezeReason (504) */
|
|
13233
13245
|
interface ArgonRuntimeRuntimeFreezeReason extends Enum {
|
|
13234
13246
|
readonly isBlockRewards: boolean;
|
|
13235
13247
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
13236
13248
|
readonly type: 'BlockRewards';
|
|
13237
13249
|
}
|
|
13238
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
13250
|
+
/** @name PalletBlockRewardsFreezeReason (505) */
|
|
13239
13251
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
13240
13252
|
readonly isMaturationPeriod: boolean;
|
|
13241
13253
|
readonly type: 'MaturationPeriod';
|
|
13242
13254
|
}
|
|
13243
|
-
/** @name PalletBalancesError (
|
|
13255
|
+
/** @name PalletBalancesError (507) */
|
|
13244
13256
|
interface PalletBalancesError extends Enum {
|
|
13245
13257
|
readonly isVestingBalance: boolean;
|
|
13246
13258
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -13256,7 +13268,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13256
13268
|
readonly isDeltaZero: boolean;
|
|
13257
13269
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
13258
13270
|
}
|
|
13259
|
-
/** @name PalletTxPauseError (
|
|
13271
|
+
/** @name PalletTxPauseError (509) */
|
|
13260
13272
|
interface PalletTxPauseError extends Enum {
|
|
13261
13273
|
readonly isIsPaused: boolean;
|
|
13262
13274
|
readonly isIsUnpaused: boolean;
|
|
@@ -13264,56 +13276,56 @@ declare module '@polkadot/types/lookup' {
|
|
|
13264
13276
|
readonly isNotFound: boolean;
|
|
13265
13277
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
13266
13278
|
}
|
|
13267
|
-
/** @name PalletTransactionPaymentReleases (
|
|
13279
|
+
/** @name PalletTransactionPaymentReleases (510) */
|
|
13268
13280
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
13269
13281
|
readonly isV1Ancient: boolean;
|
|
13270
13282
|
readonly isV2: boolean;
|
|
13271
13283
|
readonly type: 'V1Ancient' | 'V2';
|
|
13272
13284
|
}
|
|
13273
|
-
/** @name FrameSupportStorageNoDrop (
|
|
13285
|
+
/** @name FrameSupportStorageNoDrop (511) */
|
|
13274
13286
|
interface FrameSupportStorageNoDrop extends FrameSupportTokensFungibleImbalance {
|
|
13275
13287
|
}
|
|
13276
|
-
/** @name FrameSupportTokensFungibleImbalance (
|
|
13288
|
+
/** @name FrameSupportTokensFungibleImbalance (512) */
|
|
13277
13289
|
interface FrameSupportTokensFungibleImbalance extends Struct {
|
|
13278
13290
|
readonly amount: u128;
|
|
13279
13291
|
}
|
|
13280
|
-
/** @name PalletUtilityError (
|
|
13292
|
+
/** @name PalletUtilityError (513) */
|
|
13281
13293
|
interface PalletUtilityError extends Enum {
|
|
13282
13294
|
readonly isTooManyCalls: boolean;
|
|
13283
13295
|
readonly type: 'TooManyCalls';
|
|
13284
13296
|
}
|
|
13285
|
-
/** @name PalletSudoError (
|
|
13297
|
+
/** @name PalletSudoError (514) */
|
|
13286
13298
|
interface PalletSudoError extends Enum {
|
|
13287
13299
|
readonly isRequireSudo: boolean;
|
|
13288
13300
|
readonly type: 'RequireSudo';
|
|
13289
13301
|
}
|
|
13290
|
-
/** @name PalletTreasuryFrameVaultCapital (
|
|
13302
|
+
/** @name PalletTreasuryFrameVaultCapital (515) */
|
|
13291
13303
|
interface PalletTreasuryFrameVaultCapital extends Struct {
|
|
13292
13304
|
readonly frameId: Compact<u64>;
|
|
13293
13305
|
readonly vaults: BTreeMap<u32, PalletTreasuryVaultCapital>;
|
|
13294
13306
|
}
|
|
13295
|
-
/** @name PalletTreasuryVaultCapital (
|
|
13307
|
+
/** @name PalletTreasuryVaultCapital (517) */
|
|
13296
13308
|
interface PalletTreasuryVaultCapital extends Struct {
|
|
13297
13309
|
readonly bondLotAllocations: Vec<PalletTreasuryBondLotAllocation>;
|
|
13298
13310
|
readonly eligibleBonds: Compact<u32>;
|
|
13299
13311
|
}
|
|
13300
|
-
/** @name PalletTreasuryBondLotAllocation (
|
|
13312
|
+
/** @name PalletTreasuryBondLotAllocation (519) */
|
|
13301
13313
|
interface PalletTreasuryBondLotAllocation extends Struct {
|
|
13302
13314
|
readonly bondLotId: Compact<u64>;
|
|
13303
13315
|
readonly prorata: u128;
|
|
13304
13316
|
}
|
|
13305
|
-
/** @name PalletTreasuryFrameArgonotBondParticipants (
|
|
13317
|
+
/** @name PalletTreasuryFrameArgonotBondParticipants (524) */
|
|
13306
13318
|
interface PalletTreasuryFrameArgonotBondParticipants extends Struct {
|
|
13307
13319
|
readonly frameId: Compact<u64>;
|
|
13308
13320
|
readonly totalBonds: Compact<u32>;
|
|
13309
13321
|
readonly bondLots: Vec<PalletTreasuryBondLotSummary>;
|
|
13310
13322
|
}
|
|
13311
|
-
/** @name PalletTreasuryBondLotSummary (
|
|
13323
|
+
/** @name PalletTreasuryBondLotSummary (526) */
|
|
13312
13324
|
interface PalletTreasuryBondLotSummary extends Struct {
|
|
13313
13325
|
readonly bondLotId: Compact<u64>;
|
|
13314
13326
|
readonly bonds: Compact<u32>;
|
|
13315
13327
|
}
|
|
13316
|
-
/** @name PalletTreasuryBondLot (
|
|
13328
|
+
/** @name PalletTreasuryBondLot (528) */
|
|
13317
13329
|
interface PalletTreasuryBondLot extends Struct {
|
|
13318
13330
|
readonly owner: AccountId32;
|
|
13319
13331
|
readonly program: PalletTreasuryBondProgram;
|
|
@@ -13326,7 +13338,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13326
13338
|
readonly releaseFrameId: Option<u64>;
|
|
13327
13339
|
readonly releaseReason: Option<PalletTreasuryBondReleaseReason>;
|
|
13328
13340
|
}
|
|
13329
|
-
/** @name PalletTreasuryBondProgram (
|
|
13341
|
+
/** @name PalletTreasuryBondProgram (529) */
|
|
13330
13342
|
interface PalletTreasuryBondProgram extends Enum {
|
|
13331
13343
|
readonly isVault: boolean;
|
|
13332
13344
|
readonly asVault: {
|
|
@@ -13367,57 +13379,60 @@ declare module '@polkadot/types/lookup' {
|
|
|
13367
13379
|
/** @name PalletOperationalAccountsOperationalAccount (535) */
|
|
13368
13380
|
interface PalletOperationalAccountsOperationalAccount extends Struct {
|
|
13369
13381
|
readonly vaultAccount: AccountId32;
|
|
13370
|
-
readonly
|
|
13371
|
-
readonly miningBotAccount: AccountId32;
|
|
13382
|
+
readonly miningAccount: AccountId32;
|
|
13372
13383
|
readonly encryptionPubkey: PalletOperationalAccountsOpaqueEncryptionPubkey;
|
|
13373
|
-
readonly
|
|
13374
|
-
readonly
|
|
13384
|
+
readonly upstreamAccount: Option<AccountId32>;
|
|
13385
|
+
readonly uniswapArgonTransfersInAmount: u128;
|
|
13386
|
+
readonly accountBitcoinAmount: u128;
|
|
13387
|
+
readonly accountVaultBondAmount: u128;
|
|
13375
13388
|
readonly vaultCreated: bool;
|
|
13376
|
-
readonly
|
|
13377
|
-
readonly
|
|
13378
|
-
readonly hasTreasuryPoolParticipation: bool;
|
|
13389
|
+
readonly vaultBitcoinAccrual: u128;
|
|
13390
|
+
readonly vaultBitcoinAppliedTotal: u128;
|
|
13379
13391
|
readonly miningSeatAccrual: Compact<u32>;
|
|
13380
13392
|
readonly miningSeatAppliedTotal: Compact<u32>;
|
|
13381
|
-
readonly
|
|
13382
|
-
readonly
|
|
13383
|
-
readonly
|
|
13393
|
+
readonly operationalCertificationsCount: Compact<u32>;
|
|
13394
|
+
readonly accessCodePending: bool;
|
|
13395
|
+
readonly availableAccessCodes: Compact<u32>;
|
|
13384
13396
|
readonly rewardsEarnedCount: Compact<u32>;
|
|
13385
13397
|
readonly rewardsEarnedAmount: u128;
|
|
13386
13398
|
readonly rewardsCollectedAmount: u128;
|
|
13387
|
-
readonly
|
|
13399
|
+
readonly isOperationallyCertified: bool;
|
|
13388
13400
|
}
|
|
13389
|
-
/** @name PalletOperationalAccountsRewardsConfig (
|
|
13401
|
+
/** @name PalletOperationalAccountsRewardsConfig (536) */
|
|
13390
13402
|
interface PalletOperationalAccountsRewardsConfig extends Struct {
|
|
13391
|
-
readonly
|
|
13392
|
-
readonly
|
|
13403
|
+
readonly operationalCertificationReward: Compact<u128>;
|
|
13404
|
+
readonly operationalCertificationBonusReward: Compact<u128>;
|
|
13393
13405
|
}
|
|
13394
|
-
/** @name PalletOperationalAccountsError (
|
|
13406
|
+
/** @name PalletOperationalAccountsError (538) */
|
|
13395
13407
|
interface PalletOperationalAccountsError extends Enum {
|
|
13396
13408
|
readonly isAlreadyRegistered: boolean;
|
|
13397
13409
|
readonly isInvalidRegistrationSubmitter: boolean;
|
|
13398
13410
|
readonly isAccountAlreadyLinked: boolean;
|
|
13399
13411
|
readonly isInvalidAccountProof: boolean;
|
|
13400
13412
|
readonly isNotOperationalAccount: boolean;
|
|
13401
|
-
readonly isInvalidReferralProof: boolean;
|
|
13402
|
-
readonly isReferralProofExpired: boolean;
|
|
13403
13413
|
readonly isRegistrationInviteRequired: boolean;
|
|
13414
|
+
readonly isInvalidAccessProof: boolean;
|
|
13415
|
+
readonly isUpstreamNotOperationalAccount: boolean;
|
|
13416
|
+
readonly isMinimumsNotMet: boolean;
|
|
13417
|
+
readonly isCannotGrantAccessToSelf: boolean;
|
|
13404
13418
|
readonly isNoProgressUpdateProvided: boolean;
|
|
13405
13419
|
readonly isEncryptedServerTooLong: boolean;
|
|
13406
|
-
readonly
|
|
13420
|
+
readonly isNotUpstreamOfDownstream: boolean;
|
|
13407
13421
|
readonly isNoPendingRewards: boolean;
|
|
13408
13422
|
readonly isRewardClaimBelowMinimum: boolean;
|
|
13409
13423
|
readonly isRewardClaimNotWholeArgon: boolean;
|
|
13410
13424
|
readonly isRewardClaimExceedsPending: boolean;
|
|
13411
13425
|
readonly isTreasuryInsufficientFunds: boolean;
|
|
13412
|
-
readonly
|
|
13426
|
+
readonly isAlreadyOperationallyCertified: boolean;
|
|
13413
13427
|
readonly isNotEligibleForActivation: boolean;
|
|
13414
|
-
readonly
|
|
13428
|
+
readonly isUpstreamHasNoAvailableAccessCodes: boolean;
|
|
13429
|
+
readonly type: 'AlreadyRegistered' | 'InvalidRegistrationSubmitter' | 'AccountAlreadyLinked' | 'InvalidAccountProof' | 'NotOperationalAccount' | 'RegistrationInviteRequired' | 'InvalidAccessProof' | 'UpstreamNotOperationalAccount' | 'MinimumsNotMet' | 'CannotGrantAccessToSelf' | 'NoProgressUpdateProvided' | 'EncryptedServerTooLong' | 'NotUpstreamOfDownstream' | 'NoPendingRewards' | 'RewardClaimBelowMinimum' | 'RewardClaimNotWholeArgon' | 'RewardClaimExceedsPending' | 'TreasuryInsufficientFunds' | 'AlreadyOperationallyCertified' | 'NotEligibleForActivation' | 'UpstreamHasNoAvailableAccessCodes';
|
|
13415
13430
|
}
|
|
13416
|
-
/** @name PalletEthereumVerifierFinalizedBeaconHeaderState (
|
|
13431
|
+
/** @name PalletEthereumVerifierFinalizedBeaconHeaderState (539) */
|
|
13417
13432
|
interface PalletEthereumVerifierFinalizedBeaconHeaderState extends Struct {
|
|
13418
13433
|
readonly slot: Compact<u64>;
|
|
13419
13434
|
}
|
|
13420
|
-
/** @name PalletEthereumVerifierExecutionHeaderAnchor (
|
|
13435
|
+
/** @name PalletEthereumVerifierExecutionHeaderAnchor (540) */
|
|
13421
13436
|
interface PalletEthereumVerifierExecutionHeaderAnchor extends Struct {
|
|
13422
13437
|
readonly blockNumber: Compact<u64>;
|
|
13423
13438
|
readonly timestampMillis: Compact<u64>;
|
|
@@ -13426,38 +13441,38 @@ declare module '@polkadot/types/lookup' {
|
|
|
13426
13441
|
readonly stateRoot: H256;
|
|
13427
13442
|
readonly receiptsRoot: H256;
|
|
13428
13443
|
}
|
|
13429
|
-
/** @name PalletEthereumVerifierSyncCommitteePrepared (
|
|
13444
|
+
/** @name PalletEthereumVerifierSyncCommitteePrepared (541) */
|
|
13430
13445
|
interface PalletEthereumVerifierSyncCommitteePrepared extends Struct {
|
|
13431
13446
|
readonly root: H256;
|
|
13432
13447
|
readonly pubkeys: Vec<SnowbridgeMilagroBlsKeysPublicKey>;
|
|
13433
13448
|
readonly aggregatePubkey: SnowbridgeMilagroBlsKeysPublicKey;
|
|
13434
13449
|
}
|
|
13435
|
-
/** @name SnowbridgeMilagroBlsKeysPublicKey (
|
|
13450
|
+
/** @name SnowbridgeMilagroBlsKeysPublicKey (543) */
|
|
13436
13451
|
interface SnowbridgeMilagroBlsKeysPublicKey extends Struct {
|
|
13437
13452
|
readonly point: SnowbridgeAmclBls381Ecp;
|
|
13438
13453
|
}
|
|
13439
|
-
/** @name SnowbridgeAmclBls381Ecp (
|
|
13454
|
+
/** @name SnowbridgeAmclBls381Ecp (544) */
|
|
13440
13455
|
interface SnowbridgeAmclBls381Ecp extends Struct {
|
|
13441
13456
|
readonly x: SnowbridgeAmclBls381Fp;
|
|
13442
13457
|
readonly y: SnowbridgeAmclBls381Fp;
|
|
13443
13458
|
readonly z: SnowbridgeAmclBls381Fp;
|
|
13444
13459
|
}
|
|
13445
|
-
/** @name SnowbridgeAmclBls381Fp (
|
|
13460
|
+
/** @name SnowbridgeAmclBls381Fp (545) */
|
|
13446
13461
|
interface SnowbridgeAmclBls381Fp extends Struct {
|
|
13447
13462
|
readonly x: SnowbridgeAmclBls381Big;
|
|
13448
13463
|
readonly xes: i32;
|
|
13449
13464
|
}
|
|
13450
|
-
/** @name SnowbridgeAmclBls381Big (
|
|
13465
|
+
/** @name SnowbridgeAmclBls381Big (546) */
|
|
13451
13466
|
interface SnowbridgeAmclBls381Big extends Struct {
|
|
13452
13467
|
readonly w: Vec<i32>;
|
|
13453
13468
|
}
|
|
13454
|
-
/** @name ArgonPrimitivesEthereumEthereumBeaconPreset (
|
|
13469
|
+
/** @name ArgonPrimitivesEthereumEthereumBeaconPreset (550) */
|
|
13455
13470
|
interface ArgonPrimitivesEthereumEthereumBeaconPreset extends Enum {
|
|
13456
13471
|
readonly isMainnet: boolean;
|
|
13457
13472
|
readonly isMinimal: boolean;
|
|
13458
13473
|
readonly type: 'Mainnet' | 'Minimal';
|
|
13459
13474
|
}
|
|
13460
|
-
/** @name PalletEthereumVerifierError (
|
|
13475
|
+
/** @name PalletEthereumVerifierError (551) */
|
|
13461
13476
|
interface PalletEthereumVerifierError extends Enum {
|
|
13462
13477
|
readonly isSkippedSyncCommitteePeriod: boolean;
|
|
13463
13478
|
readonly isSyncCommitteeUpdateRequired: boolean;
|
|
@@ -13485,6 +13500,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
13485
13500
|
readonly isHalted: boolean;
|
|
13486
13501
|
readonly type: 'SkippedSyncCommitteePeriod' | 'SyncCommitteeUpdateRequired' | 'IrrelevantUpdate' | 'NotBootstrapped' | 'SyncCommitteeParticipantsNotSupermajority' | 'InvalidHeaderMerkleProof' | 'InvalidSyncCommitteeMerkleProof' | 'InvalidExecutionHeaderProof' | 'InvalidFinalizedHeaderGap' | 'InvalidBackfillHeaderRoot' | 'ExecutionHeaderAnchorAlreadyImported' | 'ExecutionHeaderAnchorNotHistorical' | 'HeaderHashTreeRootFailed' | 'BlockBodyHashTreeRootFailed' | 'SyncCommitteeHashTreeRootFailed' | 'SigningRootHashTreeRootFailed' | 'ForkDataHashTreeRootFailed' | 'ExpectedFinalizedHeaderNotStored' | 'BlsPreparePublicKeysFailed' | 'BlsVerificationFailed' | 'UnexpectedBeaconPreset' | 'InvalidUpdateSlot' | 'InvalidSyncCommitteeUpdate' | 'Halted';
|
|
13487
13502
|
}
|
|
13503
|
+
/** @name PalletCrosschainTransferAccountTransferTotals (552) */
|
|
13504
|
+
interface PalletCrosschainTransferAccountTransferTotals extends Struct {
|
|
13505
|
+
readonly microgonsIn: u128;
|
|
13506
|
+
readonly microgonsOut: u128;
|
|
13507
|
+
readonly argonTransfersInCount: Compact<u32>;
|
|
13508
|
+
readonly argonTransfersOutCount: Compact<u32>;
|
|
13509
|
+
readonly micronotsIn: u128;
|
|
13510
|
+
readonly micronotsOut: u128;
|
|
13511
|
+
readonly argonotTransfersInCount: Compact<u32>;
|
|
13512
|
+
readonly argonotTransfersOutCount: Compact<u32>;
|
|
13513
|
+
}
|
|
13488
13514
|
/** @name PalletCrosschainTransferGlobalIssuanceCouncil (554) */
|
|
13489
13515
|
interface PalletCrosschainTransferGlobalIssuanceCouncil extends Struct {
|
|
13490
13516
|
readonly epochMicrogonsPerArgonot: u128;
|
|
@@ -13751,6 +13777,12 @@ type IBigIntLike = bigint | {
|
|
|
13751
13777
|
};
|
|
13752
13778
|
|
|
13753
13779
|
type ITxProgressCallback = (progressToInBlock: number, result?: TxResult) => void;
|
|
13780
|
+
type IBlockInclusion = {
|
|
13781
|
+
blockHash: Uint8Array;
|
|
13782
|
+
blockNumber?: number;
|
|
13783
|
+
extrinsicIndex: number;
|
|
13784
|
+
events: GenericEvent[];
|
|
13785
|
+
};
|
|
13754
13786
|
declare class TxResult {
|
|
13755
13787
|
#private;
|
|
13756
13788
|
protected readonly client: ArgonClient;
|
|
@@ -13800,14 +13832,10 @@ declare class TxResult {
|
|
|
13800
13832
|
accountAddress: string;
|
|
13801
13833
|
nonce: number;
|
|
13802
13834
|
});
|
|
13803
|
-
setSeenInBlock(block:
|
|
13804
|
-
|
|
13805
|
-
blockNumber?: number;
|
|
13806
|
-
extrinsicIndex: number;
|
|
13807
|
-
events: GenericEvent[];
|
|
13808
|
-
}): Promise<void>;
|
|
13809
|
-
setFinalized(): void;
|
|
13835
|
+
setSeenInBlock(block: IBlockInclusion): Promise<void>;
|
|
13836
|
+
setFinalized(): Promise<void>;
|
|
13810
13837
|
onSubscriptionResult(result: ISubmittableResult): void;
|
|
13838
|
+
private publishSeenInBlock;
|
|
13811
13839
|
private updateProgress;
|
|
13812
13840
|
private parseEvents;
|
|
13813
13841
|
}
|