@argonprotocol/mainchain 1.4.5-dev.b0ac0a8f → 1.4.6-dev.4eef1f62
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 +121 -5
- package/browser/index.js +194 -57
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +195 -53
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +121 -5
- package/lib/index.d.ts +121 -5
- package/lib/index.js +198 -56
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +0 -1
- package/src/interfaces/augment-api-errors.ts +3 -0
- package/src/interfaces/augment-api-events.ts +5 -0
- package/src/interfaces/augment-api-query.ts +0 -1
- package/src/interfaces/augment-api-runtime.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +18 -0
- package/src/interfaces/augment-api.ts +0 -1
- package/src/interfaces/augment-types.ts +0 -1
- package/src/interfaces/lookup.ts +15 -4
- package/src/interfaces/registry.ts +0 -1
- package/src/interfaces/types-lookup.ts +26 -1
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, 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, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, 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, 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, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletOperationalAccountsOperationalAccount, PalletOperationalAccountsRewardsConfig, PalletPriceIndexPriceIndex, PalletPriceIndexCpiMeasurementBucket, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, FrameSupportTokensFungibleImbalance, PalletTreasuryBondLot, PalletTreasuryBondLotSummary, PalletTreasuryFrameVaultCapital, ArgonPrimitivesVaultVaultArgonotCommitment, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, PalletEthereumVerifierCheckpointUpdate, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, 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';
|
|
@@ -1392,10 +1392,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1392
1392
|
BlockBodyHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1393
1393
|
BLSPreparePublicKeysFailed: AugmentedError<ApiType>;
|
|
1394
1394
|
BLSVerificationFailed: AugmentedError<ApiType>;
|
|
1395
|
+
ExecutionHeaderAnchorAlreadyImported: AugmentedError<ApiType>;
|
|
1396
|
+
ExecutionHeaderAnchorNotHistorical: AugmentedError<ApiType>;
|
|
1395
1397
|
ExpectedFinalizedHeaderNotStored: AugmentedError<ApiType>;
|
|
1396
1398
|
ForkDataHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1397
1399
|
Halted: AugmentedError<ApiType>;
|
|
1398
1400
|
HeaderHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1401
|
+
InvalidBackfillHeaderRoot: AugmentedError<ApiType>;
|
|
1399
1402
|
InvalidExecutionHeaderProof: AugmentedError<ApiType>;
|
|
1400
1403
|
/**
|
|
1401
1404
|
* The gap between finalized headers is larger than the retained historical window.
|
|
@@ -2971,6 +2974,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2971
2974
|
blockHash: H256;
|
|
2972
2975
|
slot: u64;
|
|
2973
2976
|
}>;
|
|
2977
|
+
ExecutionHeaderAnchorBackfilled: AugmentedEvent<ApiType, [
|
|
2978
|
+
beaconRoot: H256,
|
|
2979
|
+
slot: u64,
|
|
2980
|
+
blockHash: H256,
|
|
2981
|
+
blockNumber: u64
|
|
2982
|
+
], {
|
|
2983
|
+
beaconRoot: H256;
|
|
2984
|
+
slot: u64;
|
|
2985
|
+
blockHash: H256;
|
|
2986
|
+
blockNumber: u64;
|
|
2987
|
+
}>;
|
|
2974
2988
|
ExecutionHeaderAnchorImported: AugmentedEvent<ApiType, [
|
|
2975
2989
|
blockHash: H256,
|
|
2976
2990
|
blockNumber: u64
|
|
@@ -6095,6 +6109,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6095
6109
|
PalletEthereumVerifierCheckpointUpdate,
|
|
6096
6110
|
PalletEthereumVerifierForkVersions
|
|
6097
6111
|
]>;
|
|
6112
|
+
importTrustedExecutionHeaderBackfill: AugmentedSubmittable<(expectedBeaconRoot: H256 | string | Uint8Array, header: SnowbridgeBeaconPrimitivesBeaconHeader | {
|
|
6113
|
+
slot?: any;
|
|
6114
|
+
proposerIndex?: any;
|
|
6115
|
+
parentRoot?: any;
|
|
6116
|
+
stateRoot?: any;
|
|
6117
|
+
bodyRoot?: any;
|
|
6118
|
+
} | string | Uint8Array, executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof | {
|
|
6119
|
+
executionHeader?: any;
|
|
6120
|
+
executionBranch?: any;
|
|
6121
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6122
|
+
H256,
|
|
6123
|
+
SnowbridgeBeaconPrimitivesBeaconHeader,
|
|
6124
|
+
PalletEthereumVerifierExecutionHeaderProof
|
|
6125
|
+
]>;
|
|
6098
6126
|
/**
|
|
6099
6127
|
* Halt or resume all pallet operations. May only be called by root.
|
|
6100
6128
|
**/
|
|
@@ -11020,6 +11048,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11020
11048
|
readonly blockHash: H256;
|
|
11021
11049
|
readonly blockNumber: u64;
|
|
11022
11050
|
} & Struct;
|
|
11051
|
+
readonly isExecutionHeaderAnchorBackfilled: boolean;
|
|
11052
|
+
readonly asExecutionHeaderAnchorBackfilled: {
|
|
11053
|
+
readonly beaconRoot: H256;
|
|
11054
|
+
readonly slot: u64;
|
|
11055
|
+
readonly blockHash: H256;
|
|
11056
|
+
readonly blockNumber: u64;
|
|
11057
|
+
} & Struct;
|
|
11023
11058
|
readonly isSyncCommitteeUpdated: boolean;
|
|
11024
11059
|
readonly asSyncCommitteeUpdated: {
|
|
11025
11060
|
readonly period: u64;
|
|
@@ -11028,7 +11063,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11028
11063
|
readonly asOperatingModeChanged: {
|
|
11029
11064
|
readonly mode: PalletEthereumVerifierBasicOperatingMode;
|
|
11030
11065
|
} & Struct;
|
|
11031
|
-
readonly type: 'BeaconHeaderImported' | 'ExecutionHeaderAnchorImported' | 'SyncCommitteeUpdated' | 'OperatingModeChanged';
|
|
11066
|
+
readonly type: 'BeaconHeaderImported' | 'ExecutionHeaderAnchorImported' | 'ExecutionHeaderAnchorBackfilled' | 'SyncCommitteeUpdated' | 'OperatingModeChanged';
|
|
11032
11067
|
}
|
|
11033
11068
|
/** @name PalletEthereumVerifierBasicOperatingMode (127) */
|
|
11034
11069
|
interface PalletEthereumVerifierBasicOperatingMode extends Enum {
|
|
@@ -12183,11 +12218,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
12183
12218
|
readonly asSubmit: {
|
|
12184
12219
|
readonly update: PalletEthereumVerifierUpdate;
|
|
12185
12220
|
} & Struct;
|
|
12221
|
+
readonly isImportTrustedExecutionHeaderBackfill: boolean;
|
|
12222
|
+
readonly asImportTrustedExecutionHeaderBackfill: {
|
|
12223
|
+
readonly expectedBeaconRoot: H256;
|
|
12224
|
+
readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
12225
|
+
readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
|
|
12226
|
+
} & Struct;
|
|
12186
12227
|
readonly isSetOperatingMode: boolean;
|
|
12187
12228
|
readonly asSetOperatingMode: {
|
|
12188
12229
|
readonly mode: PalletEthereumVerifierBasicOperatingMode;
|
|
12189
12230
|
} & Struct;
|
|
12190
|
-
readonly type: 'ForceCheckpoint' | 'Submit' | 'SetOperatingMode';
|
|
12231
|
+
readonly type: 'ForceCheckpoint' | 'Submit' | 'ImportTrustedExecutionHeaderBackfill' | 'SetOperatingMode';
|
|
12191
12232
|
}
|
|
12192
12233
|
/** @name PalletEthereumVerifierCheckpointUpdate (281) */
|
|
12193
12234
|
interface PalletEthereumVerifierCheckpointUpdate extends Struct {
|
|
@@ -13143,6 +13184,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13143
13184
|
readonly timestampMillis: Compact<u64>;
|
|
13144
13185
|
readonly blockHash: H256;
|
|
13145
13186
|
readonly parentHash: H256;
|
|
13187
|
+
readonly stateRoot: H256;
|
|
13146
13188
|
readonly receiptsRoot: H256;
|
|
13147
13189
|
}
|
|
13148
13190
|
/** @name PalletEthereumVerifierSyncCommitteePrepared (534) */
|
|
@@ -13187,6 +13229,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
13187
13229
|
readonly isInvalidSyncCommitteeMerkleProof: boolean;
|
|
13188
13230
|
readonly isInvalidExecutionHeaderProof: boolean;
|
|
13189
13231
|
readonly isInvalidFinalizedHeaderGap: boolean;
|
|
13232
|
+
readonly isInvalidBackfillHeaderRoot: boolean;
|
|
13233
|
+
readonly isExecutionHeaderAnchorAlreadyImported: boolean;
|
|
13234
|
+
readonly isExecutionHeaderAnchorNotHistorical: boolean;
|
|
13190
13235
|
readonly isHeaderHashTreeRootFailed: boolean;
|
|
13191
13236
|
readonly isBlockBodyHashTreeRootFailed: boolean;
|
|
13192
13237
|
readonly isSyncCommitteeHashTreeRootFailed: boolean;
|
|
@@ -13199,7 +13244,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13199
13244
|
readonly isInvalidUpdateSlot: boolean;
|
|
13200
13245
|
readonly isInvalidSyncCommitteeUpdate: boolean;
|
|
13201
13246
|
readonly isHalted: boolean;
|
|
13202
|
-
readonly type: 'SkippedSyncCommitteePeriod' | 'SyncCommitteeUpdateRequired' | 'IrrelevantUpdate' | 'NotBootstrapped' | 'SyncCommitteeParticipantsNotSupermajority' | 'InvalidHeaderMerkleProof' | 'InvalidSyncCommitteeMerkleProof' | 'InvalidExecutionHeaderProof' | 'InvalidFinalizedHeaderGap' | 'HeaderHashTreeRootFailed' | 'BlockBodyHashTreeRootFailed' | 'SyncCommitteeHashTreeRootFailed' | 'SigningRootHashTreeRootFailed' | 'ForkDataHashTreeRootFailed' | 'ExpectedFinalizedHeaderNotStored' | 'BlsPreparePublicKeysFailed' | 'BlsVerificationFailed' | 'UnexpectedBeaconPreset' | 'InvalidUpdateSlot' | 'InvalidSyncCommitteeUpdate' | 'Halted';
|
|
13247
|
+
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';
|
|
13203
13248
|
}
|
|
13204
13249
|
/** @name PalletCrosschainTransferGlobalIssuanceCouncil (546) */
|
|
13205
13250
|
interface PalletCrosschainTransferGlobalIssuanceCouncil extends Struct {
|
|
@@ -14150,6 +14195,77 @@ declare function buildGatewayActivityProofPayload(client: IArgonQueryable & Pick
|
|
|
14150
14195
|
throughExecutionBlockNumber?: bigint;
|
|
14151
14196
|
}): Promise<EthereumGatewayActivityProofPayload | null>;
|
|
14152
14197
|
|
|
14198
|
+
declare function buildExecutionHeaderProof(finalizedHeader: EthereumLightClientHeader): {
|
|
14199
|
+
executionHeader: {
|
|
14200
|
+
Deneb: {
|
|
14201
|
+
blobGasUsed: string;
|
|
14202
|
+
excessBlobGas: string;
|
|
14203
|
+
parentHash: string;
|
|
14204
|
+
feeRecipient: string;
|
|
14205
|
+
stateRoot: string;
|
|
14206
|
+
receiptsRoot: string;
|
|
14207
|
+
logsBloom: string;
|
|
14208
|
+
prevRandao: string;
|
|
14209
|
+
blockNumber: string;
|
|
14210
|
+
gasLimit: string;
|
|
14211
|
+
gasUsed: string;
|
|
14212
|
+
timestamp: string;
|
|
14213
|
+
extraData: string;
|
|
14214
|
+
baseFeePerGas: string;
|
|
14215
|
+
blockHash: string;
|
|
14216
|
+
transactionsRoot: string;
|
|
14217
|
+
withdrawalsRoot: string;
|
|
14218
|
+
};
|
|
14219
|
+
Capella?: undefined;
|
|
14220
|
+
} | {
|
|
14221
|
+
Capella: {
|
|
14222
|
+
parentHash: string;
|
|
14223
|
+
feeRecipient: string;
|
|
14224
|
+
stateRoot: string;
|
|
14225
|
+
receiptsRoot: string;
|
|
14226
|
+
logsBloom: string;
|
|
14227
|
+
prevRandao: string;
|
|
14228
|
+
blockNumber: string;
|
|
14229
|
+
gasLimit: string;
|
|
14230
|
+
gasUsed: string;
|
|
14231
|
+
timestamp: string;
|
|
14232
|
+
extraData: string;
|
|
14233
|
+
baseFeePerGas: string;
|
|
14234
|
+
blockHash: string;
|
|
14235
|
+
transactionsRoot: string;
|
|
14236
|
+
withdrawalsRoot: string;
|
|
14237
|
+
};
|
|
14238
|
+
Deneb?: undefined;
|
|
14239
|
+
};
|
|
14240
|
+
executionBranch: `0x${string}`[];
|
|
14241
|
+
};
|
|
14242
|
+
|
|
14243
|
+
type EthereumExecutionHeaderBackfillPayload = {
|
|
14244
|
+
targetExecutionBlockNumber: bigint;
|
|
14245
|
+
expectedBeaconRoot: Hex;
|
|
14246
|
+
header: {
|
|
14247
|
+
slot: string;
|
|
14248
|
+
proposerIndex: string;
|
|
14249
|
+
parentRoot: Hex;
|
|
14250
|
+
stateRoot: Hex;
|
|
14251
|
+
bodyRoot: Hex;
|
|
14252
|
+
};
|
|
14253
|
+
executionHeaderProof: ReturnType<typeof buildExecutionHeaderProof>;
|
|
14254
|
+
executionBlockNumber: bigint;
|
|
14255
|
+
executionBlockHash: Hex;
|
|
14256
|
+
};
|
|
14257
|
+
declare function buildGatewayExecutionHeaderBackfill(client: IArgonQueryable & Pick<ArgonClient, 'consts'>, options: EthereumExecutionSource & {
|
|
14258
|
+
beaconApiUrl: string;
|
|
14259
|
+
gatewayAddress: Hex;
|
|
14260
|
+
throughExecutionBlockNumber?: bigint;
|
|
14261
|
+
targetExecutionBlockNumber?: bigint;
|
|
14262
|
+
}): Promise<EthereumExecutionHeaderBackfillPayload | null>;
|
|
14263
|
+
declare function buildGatewayExecutionHeaderBackfills(client: IArgonQueryable & Pick<ArgonClient, 'consts'>, options: EthereumExecutionSource & {
|
|
14264
|
+
beaconApiUrl: string;
|
|
14265
|
+
gatewayAddress: Hex;
|
|
14266
|
+
throughExecutionBlockNumber?: bigint;
|
|
14267
|
+
}): Promise<EthereumExecutionHeaderBackfillPayload[]>;
|
|
14268
|
+
|
|
14153
14269
|
type EthereumBeaconSyncState = {
|
|
14154
14270
|
isBootstrapped: false;
|
|
14155
14271
|
hasNextSyncCommittee: boolean;
|
|
@@ -14184,4 +14300,4 @@ declare function waitForLoad(): Promise<void>;
|
|
|
14184
14300
|
declare function getClient(host: string, options?: ApiOptions): Promise<ArgonClient>;
|
|
14185
14301
|
declare function getOfflineRegistry(): TypeRegistry;
|
|
14186
14302
|
|
|
14187
|
-
export { type ArgonClient, type ArgonFinalizedExecutionHeader, ArgonFinalizedExecutionHeaderPathError, BitcoinLock, type EthereumBeaconBlockResponse, type EthereumBeaconConfigSpecResponse, type EthereumBeaconGenesisResponse, type EthereumBeaconHeaderDetailsResponse, type EthereumEventLocator, type EthereumEventLocatorBlock, type EthereumEventLog, type EthereumEventProof, type EthereumExecutionClient, type EthereumExecutionSource, type EthereumGatewayActivity, type EthereumGatewayActivityProofPayload, type EthereumLightClientBootstrapResponse, type EthereumLightClientHeader, type EthereumLightClientUpdate, type EthereumReceipt, type EthereumVersionedLightClientUpdate, EvmContracts, ExtrinsicError, FIXED_U128_DECIMALS, type IArgonQueryable, type IBitcoinLock, type IBitcoinLockConfig, type IReleaseRequest, type IReleaseRequestDetails, type ISubmittableOptions, type ITerms, type ITxProgressCallback, MICROGONS_PER_ARGON, PERMILL_DECIMALS, PriceIndex, SATS_PER_BTC, TxResult, type TxSigningAccount, TxSubmitter, Vault, WageProtector, buildEthereumEventProof, buildExecutionHeaderChain, buildGatewayActivityProofPayload, checkForExtrinsicSuccess, createKeyringPair, decodeEthereumGatewayActivityLog, decodeEthereumTransferToArgonStartedLog, dispatchErrorToExtrinsicError, dispatchErrorToString, encodeEthereumReceiptForProof, encodeReceiptTrieKey, findEthereumTransferToArgonStartedLogIndexes, formatArgons, fromFixedNumber, getAuthorFromHeader, getBigIntFallback, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestArgonFinalizedExecutionHeader, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, isOutdatedTransactionError, keyringFromSuri, loadExecutionHeader, toFixedNumber, waitForArgonFinalizedExecutionHeader, waitForLoad };
|
|
14303
|
+
export { type ArgonClient, type ArgonFinalizedExecutionHeader, ArgonFinalizedExecutionHeaderPathError, BitcoinLock, type EthereumBeaconBlockResponse, type EthereumBeaconConfigSpecResponse, type EthereumBeaconGenesisResponse, type EthereumBeaconHeaderDetailsResponse, type EthereumEventLocator, type EthereumEventLocatorBlock, type EthereumEventLog, type EthereumEventProof, type EthereumExecutionClient, type EthereumExecutionHeaderBackfillPayload, type EthereumExecutionSource, type EthereumGatewayActivity, type EthereumGatewayActivityProofPayload, type EthereumLightClientBootstrapResponse, type EthereumLightClientHeader, type EthereumLightClientUpdate, type EthereumReceipt, type EthereumVersionedLightClientUpdate, EvmContracts, ExtrinsicError, FIXED_U128_DECIMALS, type IArgonQueryable, type IBitcoinLock, type IBitcoinLockConfig, type IReleaseRequest, type IReleaseRequestDetails, type ISubmittableOptions, type ITerms, type ITxProgressCallback, MICROGONS_PER_ARGON, PERMILL_DECIMALS, PriceIndex, SATS_PER_BTC, TxResult, type TxSigningAccount, TxSubmitter, Vault, WageProtector, buildEthereumEventProof, buildExecutionHeaderChain, buildGatewayActivityProofPayload, buildGatewayExecutionHeaderBackfill, buildGatewayExecutionHeaderBackfills, checkForExtrinsicSuccess, createKeyringPair, decodeEthereumGatewayActivityLog, decodeEthereumTransferToArgonStartedLog, dispatchErrorToExtrinsicError, dispatchErrorToString, encodeEthereumReceiptForProof, encodeReceiptTrieKey, findEthereumTransferToArgonStartedLogIndexes, formatArgons, fromFixedNumber, getAuthorFromHeader, getBigIntFallback, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestArgonFinalizedExecutionHeader, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, isOutdatedTransactionError, keyringFromSuri, loadExecutionHeader, toFixedNumber, waitForArgonFinalizedExecutionHeader, waitForLoad };
|