@argonprotocol/mainchain 1.4.5 → 1.4.6-dev.41832e0b
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/artifacts/contracts/ArgonToken.sol/ArgonToken.json +3 -3
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +3 -3
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +123 -37
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/browser/index.d.ts +131 -76
- package/browser/index.js +483 -159
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +3 -3
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +3 -3
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +123 -37
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/lib/index.cjs +544 -161
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +131 -76
- package/lib/index.d.ts +131 -76
- package/lib/index.js +541 -158
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-errors.ts +4 -2
- package/src/interfaces/augment-api-events.ts +6 -1
- package/src/interfaces/augment-api-tx.ts +20 -5
- package/src/interfaces/augment-types.ts +0 -18
- package/src/interfaces/definitions.ts +0 -42
- package/src/interfaces/lookup.ts +15 -2
- package/src/interfaces/types-lookup.ts +26 -2
- package/src/interfaces/ethereum/index.ts +0 -4
- package/src/interfaces/ethereum/types.ts +0 -66
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"type": "fallback"
|
|
115
115
|
}
|
|
116
116
|
],
|
|
117
|
-
"bytecode": "
|
|
118
|
-
"deployedBytecode": "
|
|
117
|
+
"bytecode": "0x60a0604052604051610d7d380380610d7d8339810160408190526100229161036c565b82828282818051610046576040516330a289cf60e21b815260040160405180910390fd5b61005082826100b1565b50508160405161005f90610330565b6001600160a01b039091168152602001604051809103905ff080158015610088573d5f5f3e3d5ffd5b506001600160a01b03166080526100a66100a160805190565b61010f565b50505050505061043d565b6100ba8261017c565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115610103576100fe82826101fa565b505050565b61010b61029b565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61014e5f516020610d5d5f395f51905f52546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a1610179816102bc565b50565b806001600160a01b03163b5f036101b657604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f61020784846102f9565b905080801561022857505f3d118061022857505f846001600160a01b03163b115b1561023d5761023561030c565b915050610295565b801561026757604051639996b31560e01b81526001600160a01b03851660048201526024016101ad565b3d1561027a57610275610325565b610293565b60405163d6bda27560e01b815260040160405180910390fd5b505b92915050565b34156102ba5760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166102e557604051633173bdd160e11b81525f60048201526024016101ad565b805f516020610d5d5f395f51905f526101d9565b5f5f5f835160208501865af49392505050565b6040513d81523d5f602083013e3d602001810160405290565b6040513d5f823e3d81fd5b6104e68061087783390190565b80516001600160a01b0381168114610353575f5ffd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f5f5f6060848603121561037e575f5ffd5b6103878461033d565b92506103956020850161033d565b60408501519092506001600160401b038111156103b0575f5ffd5b8401601f810186136103c0575f5ffd5b80516001600160401b038111156103d9576103d9610358565b604051601f8201601f19908116603f011681016001600160401b038111828210171561040757610407610358565b60405281815282820160200188101561041e575f5ffd5b8160208401602083015e5f602083830101528093505050509250925092565b6080516104236104545f395f601001526104235ff3fe608060405261000c61000e565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361007a575f356001600160e01b03191663278f794360e11b14610070576040516334ad5dbb60e21b815260040160405180910390fd5b610078610082565b565b6100786100b0565b5f8061009136600481846102e1565b81019061009e919061031c565b915091506100ac82826100c0565b5050565b6100786100bb61011a565b610151565b6100c98261016f565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101125761010d82826101ea565b505050565b6100ac61028b565b5f61014c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b365f5f375f5f365f845af43d5f5f3e80801561016b573d5ff35b3d5ffd5b806001600160a01b03163b5f036101a957604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f6101f784846102aa565b905080801561021857505f3d118061021857505f846001600160a01b03163b115b1561022d576102256102bd565b915050610285565b801561025757604051639996b31560e01b81526001600160a01b03851660048201526024016101a0565b3d1561026a576102656102d6565b610283565b60405163d6bda27560e01b815260040160405180910390fd5b505b92915050565b34156100785760405163b398979f60e01b815260040160405180910390fd5b5f5f5f835160208501865af49392505050565b6040513d81523d5f602083013e3d602001810160405290565b6040513d5f823e3d81fd5b5f5f858511156102ef575f5ffd5b838611156102fb575f5ffd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f5f6040838503121561032d575f5ffd5b82356001600160a01b0381168114610343575f5ffd5b9150602083013567ffffffffffffffff81111561035e575f5ffd5b8301601f8101851361036e575f5ffd5b803567ffffffffffffffff81111561038857610388610308565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103b7576103b7610308565b6040528181528282016020018710156103ce575f5ffd5b816020840160208301375f60208383010152809350505050925092905056fea2646970667358221220c6da87eea7b69da543d36ac7b83458efe061c9b7c29bf1c22b91b8a9cf8c0cab64736f6c634300082300336080604052348015600e575f5ffd5b506040516104e63803806104e6833981016040819052602b9160b4565b806001600160a01b038116605857604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b605f816065565b505060df565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121560c3575f5ffd5b81516001600160a01b038116811460d8575f5ffd5b9392505050565b6103fa806100ec5f395ff3fe608060405260043610610049575f3560e01c8063715018a61461004d5780638da5cb5b146100635780639623609d1461008e578063ad3cb1cc146100a1578063f2fde38b146100de575b5f5ffd5b348015610058575f5ffd5b506100616100fd565b005b34801561006e575f5ffd5b505f546040516001600160a01b0390911681526020015b60405180910390f35b61006161009c366004610260565b610110565b3480156100ac575f5ffd5b506100d1604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100859190610365565b3480156100e9575f5ffd5b506100616100f836600461037e565b61017b565b6101056101bd565b61010e5f6101e9565b565b6101186101bd565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906101489086908690600401610399565b5f604051808303818588803b15801561015f575f5ffd5b505af1158015610171573d5f5f3e3d5ffd5b5050505050505050565b6101836101bd565b6001600160a01b0381166101b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101ba816101e9565b50565b5f546001600160a01b0316331461010e5760405163118cdaa760e01b81523360048201526024016101a8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101ba575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f5f5f60608486031215610272575f5ffd5b833561027d81610238565b9250602084013561028d81610238565b9150604084013567ffffffffffffffff8111156102a8575f5ffd5b8401601f810186136102b8575f5ffd5b803567ffffffffffffffff8111156102d2576102d261024c565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103015761030161024c565b604052818152828201602001881015610318575f5ffd5b816020840160208301375f602083830101528093505050509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6103776020830184610337565b9392505050565b5f6020828403121561038e575f5ffd5b813561037781610238565b6001600160a01b03831681526040602082018190525f906103bc90830184610337565b94935050505056fea264697066735822122061b7d945b272496e3ce5c522b8dbecb68e8abd611b1db3dd20a954a93ec3c53664736f6c63430008230033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
|
|
118
|
+
"deployedBytecode": "0x608060405261000c61000e565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361007a575f356001600160e01b03191663278f794360e11b14610070576040516334ad5dbb60e21b815260040160405180910390fd5b610078610082565b565b6100786100b0565b5f8061009136600481846102e1565b81019061009e919061031c565b915091506100ac82826100c0565b5050565b6100786100bb61011a565b610151565b6100c98261016f565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a28051156101125761010d82826101ea565b505050565b6100ac61028b565b5f61014c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b365f5f375f5f365f845af43d5f5f3e80801561016b573d5ff35b3d5ffd5b806001600160a01b03163b5f036101a957604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60605f6101f784846102aa565b905080801561021857505f3d118061021857505f846001600160a01b03163b115b1561022d576102256102bd565b915050610285565b801561025757604051639996b31560e01b81526001600160a01b03851660048201526024016101a0565b3d1561026a576102656102d6565b610283565b60405163d6bda27560e01b815260040160405180910390fd5b505b92915050565b34156100785760405163b398979f60e01b815260040160405180910390fd5b5f5f5f835160208501865af49392505050565b6040513d81523d5f602083013e3d602001810160405290565b6040513d5f823e3d81fd5b5f5f858511156102ef575f5ffd5b838611156102fb575f5ffd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f5f6040838503121561032d575f5ffd5b82356001600160a01b0381168114610343575f5ffd5b9150602083013567ffffffffffffffff81111561035e575f5ffd5b8301601f8101851361036e575f5ffd5b803567ffffffffffffffff81111561038857610388610308565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156103b7576103b7610308565b6040528181528282016020018710156103ce575f5ffd5b816020840160208301375f60208383010152809350505050925092905056fea2646970667358221220c6da87eea7b69da543d36ac7b83458efe061c9b7c29bf1c22b91b8a9cf8c0cab64736f6c63430008230033",
|
|
119
119
|
"linkReferences": {},
|
|
120
120
|
"deployedLinkReferences": {},
|
|
121
121
|
"immutableReferences": {
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
]
|
|
128
128
|
},
|
|
129
129
|
"inputSourceName": "project/contracts/ProxyArtifacts.sol",
|
|
130
|
-
"buildInfoId": "solc-
|
|
130
|
+
"buildInfoId": "solc-0_8_35-beb8df952405ec55b2bc54201ffcd6097ae4e14a"
|
|
131
131
|
}
|
package/browser/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
|
|
2
|
-
import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json,
|
|
2
|
+
import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize, Struct, Enum } from '@polkadot/types-codec';
|
|
3
3
|
export { BTreeMap, Bool, Bytes, Compact, Enum, Null, Option, Range, Result, Struct, Text, Tuple, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
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';
|
|
@@ -99,7 +99,7 @@ export { GenericAddress, GenericBlock, GenericEvent } from '@polkadot/types/gene
|
|
|
99
99
|
import BigNumber from 'bignumber.js';
|
|
100
100
|
import { Abi, Hex, createPublicClient } from 'viem';
|
|
101
101
|
import * as generated_js from './generated.js';
|
|
102
|
-
import { hashMintingGatewayTransferOutOfArgonRequest as hashMintingGatewayTransferOutOfArgonRequest$1, hashMintingGatewayMintingAuthorization as hashMintingGatewayMintingAuthorization$1, ArgonTokenEvents, ArgonotTokenEvents, CanonicalMintableBurnableERC20Events, ICanonicalTokenEvents, MINTING_GATEWAY_UPDATE_KINDS, MintingGatewayEvents, ProxyAdminEvents, TransparentUpgradeableProxyEvents, argonTokenAbi, argonotTokenAbi, canonicalMintableBurnableErc20Abi, encodeMintingGatewayCouncilSnapshot, encodeMintingGatewayGlobalIssuanceCouncilRotateTarget, encodeMintingGatewayMintingAuthorityActivationTarget, encodeMintingGatewayMintingAuthorityDeactivateTarget, hashMintingGatewayActivateMintingAuthority, hashMintingGatewayActivateMintingAuthorityApproval, hashMintingGatewayGatewayUpdateApproval, hashMintingGatewayGlobalIssuanceCouncil, hashMintingGatewayMintingAuthority,
|
|
102
|
+
import { hashMintingGatewayTransferOutOfArgonRequest as hashMintingGatewayTransferOutOfArgonRequest$1, hashMintingGatewayMintingAuthorization as hashMintingGatewayMintingAuthorization$1, ArgonTokenEvents, ArgonotTokenEvents, CanonicalMintableBurnableERC20Events, ICanonicalTokenEvents, MINTING_GATEWAY_UPDATE_KINDS, MintingGatewayEvents, ProxyAdminEvents, TransparentUpgradeableProxyEvents, argonTokenAbi, argonotTokenAbi, canonicalMintableBurnableErc20Abi, encodeMintingGatewayCouncilSnapshot, encodeMintingGatewayGlobalIssuanceCouncilRotateTarget, encodeMintingGatewayMintingAuthorityActivationTarget, encodeMintingGatewayMintingAuthorityDeactivateTarget, hashMintingGatewayActivateMintingAuthority, hashMintingGatewayActivateMintingAuthorityApproval, hashMintingGatewayGatewayUpdateApproval, hashMintingGatewayGlobalIssuanceCouncil, hashMintingGatewayMintingAuthority, hashMintingGatewayRotateGlobalIssuanceCouncil, hashMintingGatewayRotateGlobalIssuanceCouncilApproval, iCanonicalTokenAbi, mintingGatewayAbi, proxyAdminAbi, transparentUpgradeableProxyAbi, MintingGatewayGlobalIssuanceCouncilRotated, MintingGatewayMintingAuthorityActivated, MintingGatewayMintingAuthorityDeactivated, MintingGatewayTransferOutOfArgonCanceled, MintingGatewayTransferOutOfArgonFinalized, MintingGatewayTransferToArgonStarted } from './generated.js';
|
|
103
103
|
import * as hashing_js from './hashing.js';
|
|
104
104
|
import { BlockHeader } from '@ethereumjs/block';
|
|
105
105
|
export { hexToU8a, u8aEq, u8aToHex } from '@polkadot/util';
|
|
@@ -1176,8 +1176,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1176
1176
|
**/
|
|
1177
1177
|
InvalidMintingAuthorityCollateral: AugmentedError<ApiType>;
|
|
1178
1178
|
/**
|
|
1179
|
-
*
|
|
1180
|
-
* Minting Authority signing key.
|
|
1179
|
+
* Reserved legacy error for invalid signer-keyed deactivation signatures.
|
|
1181
1180
|
**/
|
|
1182
1181
|
InvalidMintingAuthorityDeactivationSignature: AugmentedError<ApiType>;
|
|
1183
1182
|
/**
|
|
@@ -1392,10 +1391,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1392
1391
|
BlockBodyHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1393
1392
|
BLSPreparePublicKeysFailed: AugmentedError<ApiType>;
|
|
1394
1393
|
BLSVerificationFailed: AugmentedError<ApiType>;
|
|
1394
|
+
ExecutionHeaderAnchorAlreadyImported: AugmentedError<ApiType>;
|
|
1395
|
+
ExecutionHeaderAnchorNotHistorical: AugmentedError<ApiType>;
|
|
1395
1396
|
ExpectedFinalizedHeaderNotStored: AugmentedError<ApiType>;
|
|
1396
1397
|
ForkDataHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1397
1398
|
Halted: AugmentedError<ApiType>;
|
|
1398
1399
|
HeaderHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1400
|
+
InvalidBackfillHeaderRoot: AugmentedError<ApiType>;
|
|
1399
1401
|
InvalidExecutionHeaderProof: AugmentedError<ApiType>;
|
|
1400
1402
|
/**
|
|
1401
1403
|
* The gap between finalized headers is larger than the retained historical window.
|
|
@@ -2777,7 +2779,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2777
2779
|
destinationSigningKey: H160;
|
|
2778
2780
|
}>;
|
|
2779
2781
|
/**
|
|
2780
|
-
* An operator queued the
|
|
2782
|
+
* An operator queued the council-approved Ethereum deactivation for a Minting Authority.
|
|
2781
2783
|
**/
|
|
2782
2784
|
MintingAuthorityDeactivationQueued: AugmentedEvent<ApiType, [
|
|
2783
2785
|
destinationChain: PalletCrosschainTransferSourceChain,
|
|
@@ -2971,6 +2973,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2971
2973
|
blockHash: H256;
|
|
2972
2974
|
slot: u64;
|
|
2973
2975
|
}>;
|
|
2976
|
+
ExecutionHeaderAnchorBackfilled: AugmentedEvent<ApiType, [
|
|
2977
|
+
beaconRoot: H256,
|
|
2978
|
+
slot: u64,
|
|
2979
|
+
blockHash: H256,
|
|
2980
|
+
blockNumber: u64
|
|
2981
|
+
], {
|
|
2982
|
+
beaconRoot: H256;
|
|
2983
|
+
slot: u64;
|
|
2984
|
+
blockHash: H256;
|
|
2985
|
+
blockNumber: u64;
|
|
2986
|
+
}>;
|
|
2974
2987
|
ExecutionHeaderAnchorImported: AugmentedEvent<ApiType, [
|
|
2975
2988
|
blockHash: H256,
|
|
2976
2989
|
blockNumber: u64
|
|
@@ -6001,9 +6014,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6001
6014
|
Compact<u128>,
|
|
6002
6015
|
Compact<u128>
|
|
6003
6016
|
]>;
|
|
6004
|
-
deactivateMintingAuthority: AugmentedSubmittable<(destinationSigningKey: H160 | string | Uint8Array
|
|
6005
|
-
H160
|
|
6006
|
-
U8aFixed
|
|
6017
|
+
deactivateMintingAuthority: AugmentedSubmittable<(destinationSigningKey: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6018
|
+
H160
|
|
6007
6019
|
]>;
|
|
6008
6020
|
forceSetGlobalIssuanceCouncil: AugmentedSubmittable<(destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array, afterNonce: Compact<u64> | AnyNumber | Uint8Array, memberAccountIds: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6009
6021
|
PalletCrosschainTransferSourceChain,
|
|
@@ -6095,6 +6107,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6095
6107
|
PalletEthereumVerifierCheckpointUpdate,
|
|
6096
6108
|
PalletEthereumVerifierForkVersions
|
|
6097
6109
|
]>;
|
|
6110
|
+
importTrustedExecutionHeaderBackfill: AugmentedSubmittable<(expectedBeaconRoot: H256 | string | Uint8Array, header: SnowbridgeBeaconPrimitivesBeaconHeader | {
|
|
6111
|
+
slot?: any;
|
|
6112
|
+
proposerIndex?: any;
|
|
6113
|
+
parentRoot?: any;
|
|
6114
|
+
stateRoot?: any;
|
|
6115
|
+
bodyRoot?: any;
|
|
6116
|
+
} | string | Uint8Array, executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof | {
|
|
6117
|
+
executionHeader?: any;
|
|
6118
|
+
executionBranch?: any;
|
|
6119
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6120
|
+
H256,
|
|
6121
|
+
SnowbridgeBeaconPrimitivesBeaconHeader,
|
|
6122
|
+
PalletEthereumVerifierExecutionHeaderProof
|
|
6123
|
+
]>;
|
|
6098
6124
|
/**
|
|
6099
6125
|
* Halt or resume all pallet operations. May only be called by root.
|
|
6100
6126
|
**/
|
|
@@ -8249,52 +8275,6 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
8249
8275
|
}
|
|
8250
8276
|
}
|
|
8251
8277
|
|
|
8252
|
-
/** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof */
|
|
8253
|
-
interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
|
|
8254
|
-
readonly nodes: Vec<Bytes>;
|
|
8255
|
-
readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
|
|
8256
|
-
}
|
|
8257
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof */
|
|
8258
|
-
interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
|
|
8259
|
-
readonly anchorBlockHash: H256;
|
|
8260
|
-
readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
|
|
8261
|
-
}
|
|
8262
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionHeader */
|
|
8263
|
-
interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
|
|
8264
|
-
readonly rlp: Bytes;
|
|
8265
|
-
}
|
|
8266
|
-
/** @name ArgonPrimitivesEthereumEthereumLog */
|
|
8267
|
-
interface ArgonPrimitivesEthereumEthereumLog extends Struct {
|
|
8268
|
-
readonly address: H160;
|
|
8269
|
-
readonly topics: Vec<H256>;
|
|
8270
|
-
readonly data: Bytes;
|
|
8271
|
-
}
|
|
8272
|
-
/** @name ArgonPrimitivesEthereumEthereumProof */
|
|
8273
|
-
interface ArgonPrimitivesEthereumEthereumProof extends Struct {
|
|
8274
|
-
readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
|
|
8275
|
-
readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
|
|
8276
|
-
}
|
|
8277
|
-
/** @name ArgonPrimitivesEthereumEthereumReceiptLog */
|
|
8278
|
-
interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
|
|
8279
|
-
readonly transactionIndex: Compact<u64>;
|
|
8280
|
-
readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
|
|
8281
|
-
}
|
|
8282
|
-
/** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt */
|
|
8283
|
-
interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
|
|
8284
|
-
readonly transactionIndex: Compact<u64>;
|
|
8285
|
-
readonly nodeIndexes: Vec<u16>;
|
|
8286
|
-
}
|
|
8287
|
-
/** @name ArgonPrimitivesEthereumEthereumVerifyError */
|
|
8288
|
-
interface ArgonPrimitivesEthereumEthereumVerifyError extends Enum {
|
|
8289
|
-
readonly isVerifierUnavailable: boolean;
|
|
8290
|
-
readonly isAnchorNotFound: boolean;
|
|
8291
|
-
readonly isInvalidHeader: boolean;
|
|
8292
|
-
readonly isInvalidHeaderChain: boolean;
|
|
8293
|
-
readonly isLogNotFound: boolean;
|
|
8294
|
-
readonly isInvalidProof: boolean;
|
|
8295
|
-
readonly type: 'VerifierUnavailable' | 'AnchorNotFound' | 'InvalidHeader' | 'InvalidHeaderChain' | 'LogNotFound' | 'InvalidProof';
|
|
8296
|
-
}
|
|
8297
|
-
|
|
8298
8278
|
declare module '@polkadot/types/types/registry' {
|
|
8299
8279
|
interface InterfaceTypes {
|
|
8300
8280
|
AbridgedCandidateReceipt: AbridgedCandidateReceipt;
|
|
@@ -8333,14 +8313,6 @@ declare module '@polkadot/types/types/registry' {
|
|
|
8333
8313
|
ApprovalFlag: ApprovalFlag;
|
|
8334
8314
|
Approvals: Approvals;
|
|
8335
8315
|
ApprovalVotingParams: ApprovalVotingParams;
|
|
8336
|
-
ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
|
|
8337
|
-
ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
|
|
8338
|
-
ArgonPrimitivesEthereumEthereumExecutionHeader: ArgonPrimitivesEthereumEthereumExecutionHeader;
|
|
8339
|
-
ArgonPrimitivesEthereumEthereumLog: ArgonPrimitivesEthereumEthereumLog;
|
|
8340
|
-
ArgonPrimitivesEthereumEthereumProof: ArgonPrimitivesEthereumEthereumProof;
|
|
8341
|
-
ArgonPrimitivesEthereumEthereumReceiptLog: ArgonPrimitivesEthereumEthereumReceiptLog;
|
|
8342
|
-
ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
|
|
8343
|
-
ArgonPrimitivesEthereumEthereumVerifyError: ArgonPrimitivesEthereumEthereumVerifyError;
|
|
8344
8316
|
ArithmeticError: ArithmeticError;
|
|
8345
8317
|
AssetApproval: AssetApproval;
|
|
8346
8318
|
AssetApprovalKey: AssetApprovalKey;
|
|
@@ -11074,6 +11046,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11074
11046
|
readonly blockHash: H256;
|
|
11075
11047
|
readonly blockNumber: u64;
|
|
11076
11048
|
} & Struct;
|
|
11049
|
+
readonly isExecutionHeaderAnchorBackfilled: boolean;
|
|
11050
|
+
readonly asExecutionHeaderAnchorBackfilled: {
|
|
11051
|
+
readonly beaconRoot: H256;
|
|
11052
|
+
readonly slot: u64;
|
|
11053
|
+
readonly blockHash: H256;
|
|
11054
|
+
readonly blockNumber: u64;
|
|
11055
|
+
} & Struct;
|
|
11077
11056
|
readonly isSyncCommitteeUpdated: boolean;
|
|
11078
11057
|
readonly asSyncCommitteeUpdated: {
|
|
11079
11058
|
readonly period: u64;
|
|
@@ -11082,7 +11061,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11082
11061
|
readonly asOperatingModeChanged: {
|
|
11083
11062
|
readonly mode: PalletEthereumVerifierBasicOperatingMode;
|
|
11084
11063
|
} & Struct;
|
|
11085
|
-
readonly type: 'BeaconHeaderImported' | 'ExecutionHeaderAnchorImported' | 'SyncCommitteeUpdated' | 'OperatingModeChanged';
|
|
11064
|
+
readonly type: 'BeaconHeaderImported' | 'ExecutionHeaderAnchorImported' | 'ExecutionHeaderAnchorBackfilled' | 'SyncCommitteeUpdated' | 'OperatingModeChanged';
|
|
11086
11065
|
}
|
|
11087
11066
|
/** @name PalletEthereumVerifierBasicOperatingMode (127) */
|
|
11088
11067
|
interface PalletEthereumVerifierBasicOperatingMode extends Enum {
|
|
@@ -12237,11 +12216,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
12237
12216
|
readonly asSubmit: {
|
|
12238
12217
|
readonly update: PalletEthereumVerifierUpdate;
|
|
12239
12218
|
} & Struct;
|
|
12219
|
+
readonly isImportTrustedExecutionHeaderBackfill: boolean;
|
|
12220
|
+
readonly asImportTrustedExecutionHeaderBackfill: {
|
|
12221
|
+
readonly expectedBeaconRoot: H256;
|
|
12222
|
+
readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
12223
|
+
readonly executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof;
|
|
12224
|
+
} & Struct;
|
|
12240
12225
|
readonly isSetOperatingMode: boolean;
|
|
12241
12226
|
readonly asSetOperatingMode: {
|
|
12242
12227
|
readonly mode: PalletEthereumVerifierBasicOperatingMode;
|
|
12243
12228
|
} & Struct;
|
|
12244
|
-
readonly type: 'ForceCheckpoint' | 'Submit' | 'SetOperatingMode';
|
|
12229
|
+
readonly type: 'ForceCheckpoint' | 'Submit' | 'ImportTrustedExecutionHeaderBackfill' | 'SetOperatingMode';
|
|
12245
12230
|
}
|
|
12246
12231
|
/** @name PalletEthereumVerifierCheckpointUpdate (281) */
|
|
12247
12232
|
interface PalletEthereumVerifierCheckpointUpdate extends Struct {
|
|
@@ -12415,7 +12400,6 @@ declare module '@polkadot/types/lookup' {
|
|
|
12415
12400
|
readonly isDeactivateMintingAuthority: boolean;
|
|
12416
12401
|
readonly asDeactivateMintingAuthority: {
|
|
12417
12402
|
readonly destinationSigningKey: H160;
|
|
12418
|
-
readonly signature: U8aFixed;
|
|
12419
12403
|
} & Struct;
|
|
12420
12404
|
readonly isTransferOut: boolean;
|
|
12421
12405
|
readonly asTransferOut: {
|
|
@@ -13197,6 +13181,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13197
13181
|
readonly timestampMillis: Compact<u64>;
|
|
13198
13182
|
readonly blockHash: H256;
|
|
13199
13183
|
readonly parentHash: H256;
|
|
13184
|
+
readonly stateRoot: H256;
|
|
13200
13185
|
readonly receiptsRoot: H256;
|
|
13201
13186
|
}
|
|
13202
13187
|
/** @name PalletEthereumVerifierSyncCommitteePrepared (534) */
|
|
@@ -13241,6 +13226,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
13241
13226
|
readonly isInvalidSyncCommitteeMerkleProof: boolean;
|
|
13242
13227
|
readonly isInvalidExecutionHeaderProof: boolean;
|
|
13243
13228
|
readonly isInvalidFinalizedHeaderGap: boolean;
|
|
13229
|
+
readonly isInvalidBackfillHeaderRoot: boolean;
|
|
13230
|
+
readonly isExecutionHeaderAnchorAlreadyImported: boolean;
|
|
13231
|
+
readonly isExecutionHeaderAnchorNotHistorical: boolean;
|
|
13244
13232
|
readonly isHeaderHashTreeRootFailed: boolean;
|
|
13245
13233
|
readonly isBlockBodyHashTreeRootFailed: boolean;
|
|
13246
13234
|
readonly isSyncCommitteeHashTreeRootFailed: boolean;
|
|
@@ -13253,7 +13241,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13253
13241
|
readonly isInvalidUpdateSlot: boolean;
|
|
13254
13242
|
readonly isInvalidSyncCommitteeUpdate: boolean;
|
|
13255
13243
|
readonly isHalted: boolean;
|
|
13256
|
-
readonly type: 'SkippedSyncCommitteePeriod' | 'SyncCommitteeUpdateRequired' | 'IrrelevantUpdate' | 'NotBootstrapped' | 'SyncCommitteeParticipantsNotSupermajority' | 'InvalidHeaderMerkleProof' | 'InvalidSyncCommitteeMerkleProof' | 'InvalidExecutionHeaderProof' | 'InvalidFinalizedHeaderGap' | 'HeaderHashTreeRootFailed' | 'BlockBodyHashTreeRootFailed' | 'SyncCommitteeHashTreeRootFailed' | 'SigningRootHashTreeRootFailed' | 'ForkDataHashTreeRootFailed' | 'ExpectedFinalizedHeaderNotStored' | 'BlsPreparePublicKeysFailed' | 'BlsVerificationFailed' | 'UnexpectedBeaconPreset' | 'InvalidUpdateSlot' | 'InvalidSyncCommitteeUpdate' | 'Halted';
|
|
13244
|
+
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';
|
|
13257
13245
|
}
|
|
13258
13246
|
/** @name PalletCrosschainTransferGlobalIssuanceCouncil (546) */
|
|
13259
13247
|
interface PalletCrosschainTransferGlobalIssuanceCouncil extends Struct {
|
|
@@ -13743,6 +13731,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
13743
13731
|
isFunded: boolean;
|
|
13744
13732
|
createdAtArgonBlock: number;
|
|
13745
13733
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
13734
|
+
couponFeesPaid: bigint;
|
|
13746
13735
|
constructor(data: IBitcoinLock);
|
|
13747
13736
|
/**
|
|
13748
13737
|
* Gets the UTXO reference by ID.
|
|
@@ -13903,6 +13892,7 @@ interface IBitcoinLock {
|
|
|
13903
13892
|
utxoSatoshis?: bigint;
|
|
13904
13893
|
vaultPubkey: string;
|
|
13905
13894
|
securityFees: bigint;
|
|
13895
|
+
couponFeesPaid: bigint;
|
|
13906
13896
|
vaultClaimPubkey: string;
|
|
13907
13897
|
ownerPubkey: string;
|
|
13908
13898
|
vaultXpubSources: {
|
|
@@ -13921,11 +13911,6 @@ interface IBitcoinLock {
|
|
|
13921
13911
|
declare const MINTING_GATEWAY_RUNTIME_DECIMALS = 6;
|
|
13922
13912
|
declare const MINTING_GATEWAY_TOKEN_DECIMALS = 18;
|
|
13923
13913
|
declare const MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE: bigint;
|
|
13924
|
-
type MintingGatewayActivityBlockLocator = {
|
|
13925
|
-
blockNumber: bigint;
|
|
13926
|
-
startGatewayActivityNonce: bigint;
|
|
13927
|
-
endGatewayActivityNonce: bigint;
|
|
13928
|
-
};
|
|
13929
13914
|
|
|
13930
13915
|
type EvmContractArtifact = {
|
|
13931
13916
|
abi: Abi;
|
|
@@ -13951,7 +13936,6 @@ declare const EvmContracts_MINTING_GATEWAY_RUNTIME_DECIMALS: typeof MINTING_GATE
|
|
|
13951
13936
|
declare const EvmContracts_MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE: typeof MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE;
|
|
13952
13937
|
declare const EvmContracts_MINTING_GATEWAY_TOKEN_DECIMALS: typeof MINTING_GATEWAY_TOKEN_DECIMALS;
|
|
13953
13938
|
declare const EvmContracts_MINTING_GATEWAY_UPDATE_KINDS: typeof MINTING_GATEWAY_UPDATE_KINDS;
|
|
13954
|
-
type EvmContracts_MintingGatewayActivityBlockLocator = MintingGatewayActivityBlockLocator;
|
|
13955
13939
|
declare const EvmContracts_MintingGatewayEvents: typeof MintingGatewayEvents;
|
|
13956
13940
|
type EvmContracts_MintingGatewayTransferOutOfArgonRequest = MintingGatewayTransferOutOfArgonRequest;
|
|
13957
13941
|
declare const EvmContracts_ProxyAdminEvents: typeof ProxyAdminEvents;
|
|
@@ -13970,7 +13954,6 @@ declare const EvmContracts_hashMintingGatewayActivateMintingAuthorityApproval: t
|
|
|
13970
13954
|
declare const EvmContracts_hashMintingGatewayGatewayUpdateApproval: typeof hashMintingGatewayGatewayUpdateApproval;
|
|
13971
13955
|
declare const EvmContracts_hashMintingGatewayGlobalIssuanceCouncil: typeof hashMintingGatewayGlobalIssuanceCouncil;
|
|
13972
13956
|
declare const EvmContracts_hashMintingGatewayMintingAuthority: typeof hashMintingGatewayMintingAuthority;
|
|
13973
|
-
declare const EvmContracts_hashMintingGatewayMintingAuthorityDeactivation: typeof hashMintingGatewayMintingAuthorityDeactivation;
|
|
13974
13957
|
declare const EvmContracts_hashMintingGatewayMintingAuthorization: typeof hashMintingGatewayMintingAuthorization;
|
|
13975
13958
|
declare const EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncil: typeof hashMintingGatewayRotateGlobalIssuanceCouncil;
|
|
13976
13959
|
declare const EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncilApproval: typeof hashMintingGatewayRotateGlobalIssuanceCouncilApproval;
|
|
@@ -13983,7 +13966,7 @@ declare const EvmContracts_proxyAdminArtifact: typeof proxyAdminArtifact;
|
|
|
13983
13966
|
declare const EvmContracts_transparentUpgradeableProxyAbi: typeof transparentUpgradeableProxyAbi;
|
|
13984
13967
|
declare const EvmContracts_transparentUpgradeableProxyArtifact: typeof transparentUpgradeableProxyArtifact;
|
|
13985
13968
|
declare namespace EvmContracts {
|
|
13986
|
-
export { EvmContracts_ArgonTokenEvents as ArgonTokenEvents, EvmContracts_ArgonotTokenEvents as ArgonotTokenEvents, EvmContracts_CanonicalMintableBurnableERC20Events as CanonicalMintableBurnableERC20Events, type EvmContracts_EvmContractArtifact as EvmContractArtifact, EvmContracts_ICanonicalTokenEvents as ICanonicalTokenEvents, EvmContracts_MINTING_GATEWAY_RUNTIME_DECIMALS as MINTING_GATEWAY_RUNTIME_DECIMALS, EvmContracts_MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE as MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE, EvmContracts_MINTING_GATEWAY_TOKEN_DECIMALS as MINTING_GATEWAY_TOKEN_DECIMALS, EvmContracts_MINTING_GATEWAY_UPDATE_KINDS as MINTING_GATEWAY_UPDATE_KINDS,
|
|
13969
|
+
export { EvmContracts_ArgonTokenEvents as ArgonTokenEvents, EvmContracts_ArgonotTokenEvents as ArgonotTokenEvents, EvmContracts_CanonicalMintableBurnableERC20Events as CanonicalMintableBurnableERC20Events, type EvmContracts_EvmContractArtifact as EvmContractArtifact, EvmContracts_ICanonicalTokenEvents as ICanonicalTokenEvents, EvmContracts_MINTING_GATEWAY_RUNTIME_DECIMALS as MINTING_GATEWAY_RUNTIME_DECIMALS, EvmContracts_MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE as MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE, EvmContracts_MINTING_GATEWAY_TOKEN_DECIMALS as MINTING_GATEWAY_TOKEN_DECIMALS, EvmContracts_MINTING_GATEWAY_UPDATE_KINDS as MINTING_GATEWAY_UPDATE_KINDS, EvmContracts_MintingGatewayEvents as MintingGatewayEvents, type EvmContracts_MintingGatewayTransferOutOfArgonRequest as MintingGatewayTransferOutOfArgonRequest, EvmContracts_ProxyAdminEvents as ProxyAdminEvents, EvmContracts_TransparentUpgradeableProxyEvents as TransparentUpgradeableProxyEvents, EvmContracts_argonTokenAbi as argonTokenAbi, EvmContracts_argonTokenArtifact as argonTokenArtifact, EvmContracts_argonotTokenAbi as argonotTokenAbi, EvmContracts_argonotTokenArtifact as argonotTokenArtifact, EvmContracts_canonicalMintableBurnableErc20Abi as canonicalMintableBurnableErc20Abi, EvmContracts_encodeMintingGatewayCouncilSnapshot as encodeMintingGatewayCouncilSnapshot, EvmContracts_encodeMintingGatewayGlobalIssuanceCouncilRotateTarget as encodeMintingGatewayGlobalIssuanceCouncilRotateTarget, EvmContracts_encodeMintingGatewayMintingAuthorityActivationTarget as encodeMintingGatewayMintingAuthorityActivationTarget, EvmContracts_encodeMintingGatewayMintingAuthorityDeactivateTarget as encodeMintingGatewayMintingAuthorityDeactivateTarget, EvmContracts_hashMintingGatewayActivateMintingAuthority as hashMintingGatewayActivateMintingAuthority, EvmContracts_hashMintingGatewayActivateMintingAuthorityApproval as hashMintingGatewayActivateMintingAuthorityApproval, EvmContracts_hashMintingGatewayGatewayUpdateApproval as hashMintingGatewayGatewayUpdateApproval, EvmContracts_hashMintingGatewayGlobalIssuanceCouncil as hashMintingGatewayGlobalIssuanceCouncil, EvmContracts_hashMintingGatewayMintingAuthority as hashMintingGatewayMintingAuthority, EvmContracts_hashMintingGatewayMintingAuthorization as hashMintingGatewayMintingAuthorization, EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncil as hashMintingGatewayRotateGlobalIssuanceCouncil, EvmContracts_hashMintingGatewayRotateGlobalIssuanceCouncilApproval as hashMintingGatewayRotateGlobalIssuanceCouncilApproval, EvmContracts_hashMintingGatewayTransferOutOfArgonRequest as hashMintingGatewayTransferOutOfArgonRequest, EvmContracts_iCanonicalTokenAbi as iCanonicalTokenAbi, EvmContracts_mintingGatewayAbi as mintingGatewayAbi, EvmContracts_mintingGatewayArtifact as mintingGatewayArtifact, EvmContracts_proxyAdminAbi as proxyAdminAbi, EvmContracts_proxyAdminArtifact as proxyAdminArtifact, EvmContracts_transparentUpgradeableProxyAbi as transparentUpgradeableProxyAbi, EvmContracts_transparentUpgradeableProxyArtifact as transparentUpgradeableProxyArtifact };
|
|
13987
13970
|
}
|
|
13988
13971
|
|
|
13989
13972
|
type EthereumReceipt = Awaited<ReturnType<ReturnType<typeof createPublicClient>['getTransactionReceipt']>>;
|
|
@@ -14124,6 +14107,7 @@ type EthereumVersionedLightClientUpdate = {
|
|
|
14124
14107
|
};
|
|
14125
14108
|
type EthereumBeaconGenesisResponse = {
|
|
14126
14109
|
data: {
|
|
14110
|
+
genesis_time: string;
|
|
14127
14111
|
genesis_fork_version: string;
|
|
14128
14112
|
genesis_validators_root: string;
|
|
14129
14113
|
};
|
|
@@ -14202,6 +14186,77 @@ declare function buildGatewayActivityProofPayload(client: IArgonQueryable & Pick
|
|
|
14202
14186
|
throughExecutionBlockNumber?: bigint;
|
|
14203
14187
|
}): Promise<EthereumGatewayActivityProofPayload | null>;
|
|
14204
14188
|
|
|
14189
|
+
declare function buildExecutionHeaderProof(finalizedHeader: EthereumLightClientHeader): {
|
|
14190
|
+
executionHeader: {
|
|
14191
|
+
Deneb: {
|
|
14192
|
+
blobGasUsed: string;
|
|
14193
|
+
excessBlobGas: string;
|
|
14194
|
+
parentHash: string;
|
|
14195
|
+
feeRecipient: string;
|
|
14196
|
+
stateRoot: string;
|
|
14197
|
+
receiptsRoot: string;
|
|
14198
|
+
logsBloom: string;
|
|
14199
|
+
prevRandao: string;
|
|
14200
|
+
blockNumber: string;
|
|
14201
|
+
gasLimit: string;
|
|
14202
|
+
gasUsed: string;
|
|
14203
|
+
timestamp: string;
|
|
14204
|
+
extraData: string;
|
|
14205
|
+
baseFeePerGas: string;
|
|
14206
|
+
blockHash: string;
|
|
14207
|
+
transactionsRoot: string;
|
|
14208
|
+
withdrawalsRoot: string;
|
|
14209
|
+
};
|
|
14210
|
+
Capella?: undefined;
|
|
14211
|
+
} | {
|
|
14212
|
+
Capella: {
|
|
14213
|
+
parentHash: string;
|
|
14214
|
+
feeRecipient: string;
|
|
14215
|
+
stateRoot: string;
|
|
14216
|
+
receiptsRoot: string;
|
|
14217
|
+
logsBloom: string;
|
|
14218
|
+
prevRandao: string;
|
|
14219
|
+
blockNumber: string;
|
|
14220
|
+
gasLimit: string;
|
|
14221
|
+
gasUsed: string;
|
|
14222
|
+
timestamp: string;
|
|
14223
|
+
extraData: string;
|
|
14224
|
+
baseFeePerGas: string;
|
|
14225
|
+
blockHash: string;
|
|
14226
|
+
transactionsRoot: string;
|
|
14227
|
+
withdrawalsRoot: string;
|
|
14228
|
+
};
|
|
14229
|
+
Deneb?: undefined;
|
|
14230
|
+
};
|
|
14231
|
+
executionBranch: `0x${string}`[];
|
|
14232
|
+
};
|
|
14233
|
+
|
|
14234
|
+
type EthereumExecutionHeaderBackfillPayload = {
|
|
14235
|
+
targetExecutionBlockNumber: bigint;
|
|
14236
|
+
expectedBeaconRoot: Hex;
|
|
14237
|
+
header: {
|
|
14238
|
+
slot: string;
|
|
14239
|
+
proposerIndex: string;
|
|
14240
|
+
parentRoot: Hex;
|
|
14241
|
+
stateRoot: Hex;
|
|
14242
|
+
bodyRoot: Hex;
|
|
14243
|
+
};
|
|
14244
|
+
executionHeaderProof: ReturnType<typeof buildExecutionHeaderProof>;
|
|
14245
|
+
executionBlockNumber: bigint;
|
|
14246
|
+
executionBlockHash: Hex;
|
|
14247
|
+
};
|
|
14248
|
+
declare function buildGatewayExecutionHeaderBackfill(client: IArgonQueryable & Pick<ArgonClient, 'consts'>, options: EthereumExecutionSource & {
|
|
14249
|
+
beaconApiUrl: string;
|
|
14250
|
+
gatewayAddress: Hex;
|
|
14251
|
+
throughExecutionBlockNumber?: bigint;
|
|
14252
|
+
targetExecutionBlockNumber?: bigint;
|
|
14253
|
+
}): Promise<EthereumExecutionHeaderBackfillPayload | null>;
|
|
14254
|
+
declare function buildGatewayExecutionHeaderBackfills(client: IArgonQueryable & Pick<ArgonClient, 'consts'>, options: EthereumExecutionSource & {
|
|
14255
|
+
beaconApiUrl: string;
|
|
14256
|
+
gatewayAddress: Hex;
|
|
14257
|
+
throughExecutionBlockNumber?: bigint;
|
|
14258
|
+
}): Promise<EthereumExecutionHeaderBackfillPayload[]>;
|
|
14259
|
+
|
|
14205
14260
|
type EthereumBeaconSyncState = {
|
|
14206
14261
|
isBootstrapped: false;
|
|
14207
14262
|
hasNextSyncCommittee: boolean;
|
|
@@ -14236,4 +14291,4 @@ declare function waitForLoad(): Promise<void>;
|
|
|
14236
14291
|
declare function getClient(host: string, options?: ApiOptions): Promise<ArgonClient>;
|
|
14237
14292
|
declare function getOfflineRegistry(): TypeRegistry;
|
|
14238
14293
|
|
|
14239
|
-
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 };
|
|
14294
|
+
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 };
|