@argonprotocol/mainchain 1.4.3-dev.2ca7f5d2 → 1.4.3-dev.4117801d
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 +215 -170
- package/browser/index.js +855 -276
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +862 -285
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +215 -170
- package/lib/index.d.ts +215 -170
- package/lib/index.js +862 -285
- package/lib/index.js.map +1 -1
- package/package.json +16 -18
- package/src/interfaces/augment-api-consts.ts +5 -5
- package/src/interfaces/augment-api-errors.ts +6 -1
- package/src/interfaces/augment-api-events.ts +7 -7
- package/src/interfaces/augment-api-query.ts +14 -5
- package/src/interfaces/augment-api-rpc.ts +1 -1
- package/src/interfaces/augment-api-runtime.ts +1 -1
- package/src/interfaces/augment-api-tx.ts +1 -1
- package/src/interfaces/augment-types.ts +1 -1
- package/src/interfaces/lookup.ts +132 -124
- package/src/interfaces/registry.ts +8 -6
- package/src/interfaces/types-lookup.ts +134 -123
- package/lib/chunk-3KFMHNNJ.cjs +0 -706
- package/lib/chunk-3KFMHNNJ.cjs.map +0 -1
- package/lib/chunk-D3FCDADJ.cjs +0 -175
- package/lib/chunk-D3FCDADJ.cjs.map +0 -1
- package/lib/chunk-RF6NOJOR.js +0 -706
- package/lib/chunk-RF6NOJOR.js.map +0 -1
- package/lib/chunk-YPXWOFUS.js +0 -175
- package/lib/chunk-YPXWOFUS.js.map +0 -1
- package/lib/lib-CU2JUZW6.cjs +0 -403
- package/lib/lib-CU2JUZW6.cjs.map +0 -1
- package/lib/lib-P3PEMYOB.js +0 -403
- package/lib/lib-P3PEMYOB.js.map +0 -1
- package/lib/setPreset-NCTHSXWD.js +0 -15
- package/lib/setPreset-NCTHSXWD.js.map +0 -1
- package/lib/setPreset-XHOPATBO.cjs +0 -15
- package/lib/setPreset-XHOPATBO.cjs.map +0 -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, H256, H160, 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, PalletCrosschainTransferBurnNotice, 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, ArgonPrimitivesDigestsDigestset,
|
|
8
|
+
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, ArgonRuntimeRuntimeHoldReason, FrameSupportTokensMiscBalanceStatus, PalletBalancesUnexpectedKind, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletCrosschainTransferSourceChain, PalletCrosschainTransferBurnNotice, 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, 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, PalletVaultsRecentCapacityDrop, PalletVaultsVaultFrameRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, PalletBitcoinLocksLockOptions, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, PalletCrosschainTransferTransferProof, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionProof, PalletEthereumVerifierUpdate, SpConsensusGrandpaEquivocationProof, SpCoreVoid, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesEthereumEthereumLog as ArgonPrimitivesEthereumEthereumLog$1, ArgonPrimitivesEthereumEthereumProof as ArgonPrimitivesEthereumEthereumProof$1 } 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';
|
|
@@ -92,12 +92,12 @@ import { SignerOptions, ApiDecoration, ApiOptions } from '@polkadot/api/types';
|
|
|
92
92
|
export { ApiDecoration } from '@polkadot/api/types';
|
|
93
93
|
import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
|
|
94
94
|
export { SubmittableExtrinsic } from '@polkadot/api/promise/types';
|
|
95
|
-
import { DispatchError as DispatchError$1 } from '@polkadot/types/interfaces';
|
|
96
95
|
import { ISubmittableResult } from '@polkadot/types/types/extrinsic';
|
|
97
96
|
export { IExtrinsic, ISignerPayload, ISubmittableResult, Signer, SignerResult } from '@polkadot/types/types/extrinsic';
|
|
98
97
|
import { GenericEvent } from '@polkadot/types/generic';
|
|
99
98
|
export { GenericAddress, GenericBlock, GenericEvent } from '@polkadot/types/generic';
|
|
100
99
|
import BigNumber from 'bignumber.js';
|
|
100
|
+
import * as __artifacts_contracts_MintingGateway_sol_artifacts_js from './artifacts/contracts/MintingGateway.sol/artifacts.js';
|
|
101
101
|
import { Hex, createPublicClient } from 'viem';
|
|
102
102
|
export { hexToU8a, u8aEq, u8aToHex } from '@polkadot/util';
|
|
103
103
|
|
|
@@ -254,14 +254,14 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
254
254
|
recentTransferRetentionTicks: u64 & AugmentedConst<ApiType>;
|
|
255
255
|
};
|
|
256
256
|
ethereumVerifier: {
|
|
257
|
-
/**
|
|
258
|
-
* Whether the read-only event-log verification API is enabled.
|
|
259
|
-
**/
|
|
260
|
-
eventLogVerifierEnabled: bool & AugmentedConst<ApiType>;
|
|
261
257
|
/**
|
|
262
258
|
* Minimum gap between finalized headers for an update to be free.
|
|
263
259
|
**/
|
|
264
260
|
freeHeadersInterval: u32 & AugmentedConst<ApiType>;
|
|
261
|
+
/**
|
|
262
|
+
* Whether the read-only event-log verification API is enabled.
|
|
263
|
+
**/
|
|
264
|
+
verifyEventLogApiEnabled: bool & AugmentedConst<ApiType>;
|
|
265
265
|
};
|
|
266
266
|
grandpa: {
|
|
267
267
|
/**
|
|
@@ -1028,6 +1028,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1028
1028
|
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
1029
1029
|
};
|
|
1030
1030
|
crosschainTransfer: {
|
|
1031
|
+
/**
|
|
1032
|
+
* The captured reimbursable fee is greater than or equal to the burned Argon amount.
|
|
1033
|
+
**/
|
|
1034
|
+
InsufficientBurnAmountForFee: AugmentedError<ApiType>;
|
|
1031
1035
|
/**
|
|
1032
1036
|
* The burn account lacks enough balance for the payout.
|
|
1033
1037
|
**/
|
|
@@ -1176,6 +1180,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1176
1180
|
SyncCommitteeHashTreeRootFailed: AugmentedError<ApiType>;
|
|
1177
1181
|
SyncCommitteeParticipantsNotSupermajority: AugmentedError<ApiType>;
|
|
1178
1182
|
SyncCommitteeUpdateRequired: AugmentedError<ApiType>;
|
|
1183
|
+
UnexpectedBeaconPreset: AugmentedError<ApiType>;
|
|
1179
1184
|
};
|
|
1180
1185
|
feeControl: {
|
|
1181
1186
|
/**
|
|
@@ -2175,7 +2180,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2175
2180
|
vaultId: u32,
|
|
2176
2181
|
liquidityPromised: u128,
|
|
2177
2182
|
securitization: u128,
|
|
2178
|
-
|
|
2183
|
+
lockedTargetPrice: u128,
|
|
2179
2184
|
accountId: AccountId32,
|
|
2180
2185
|
securityFee: u128
|
|
2181
2186
|
], {
|
|
@@ -2183,7 +2188,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2183
2188
|
vaultId: u32;
|
|
2184
2189
|
liquidityPromised: u128;
|
|
2185
2190
|
securitization: u128;
|
|
2186
|
-
|
|
2191
|
+
lockedTargetPrice: u128;
|
|
2187
2192
|
accountId: AccountId32;
|
|
2188
2193
|
securityFee: u128;
|
|
2189
2194
|
}>;
|
|
@@ -2191,18 +2196,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2191
2196
|
utxoId: u64,
|
|
2192
2197
|
vaultId: u32,
|
|
2193
2198
|
liquidityPromised: u128,
|
|
2194
|
-
|
|
2199
|
+
oldTargetPrice: u128,
|
|
2195
2200
|
securityFee: u128,
|
|
2196
|
-
|
|
2201
|
+
newTargetPrice: u128,
|
|
2197
2202
|
amountBurned: u128,
|
|
2198
2203
|
accountId: AccountId32
|
|
2199
2204
|
], {
|
|
2200
2205
|
utxoId: u64;
|
|
2201
2206
|
vaultId: u32;
|
|
2202
2207
|
liquidityPromised: u128;
|
|
2203
|
-
|
|
2208
|
+
oldTargetPrice: u128;
|
|
2204
2209
|
securityFee: u128;
|
|
2205
|
-
|
|
2210
|
+
newTargetPrice: u128;
|
|
2206
2211
|
amountBurned: u128;
|
|
2207
2212
|
accountId: AccountId32;
|
|
2208
2213
|
}>;
|
|
@@ -3950,7 +3955,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3950
3955
|
u64
|
|
3951
3956
|
]>;
|
|
3952
3957
|
/**
|
|
3953
|
-
* History of microgons per btc
|
|
3958
|
+
* History of target microgons per btc.
|
|
3954
3959
|
**/
|
|
3955
3960
|
microgonPerBtcHistory: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
|
|
3956
3961
|
]>;
|
|
@@ -4187,10 +4192,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4187
4192
|
]>;
|
|
4188
4193
|
};
|
|
4189
4194
|
ethereumVerifier: {
|
|
4195
|
+
/**
|
|
4196
|
+
* Chain-configured beacon preset expected by clients that submit verifier updates.
|
|
4197
|
+
**/
|
|
4198
|
+
beaconPreset: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>, [
|
|
4199
|
+
]>;
|
|
4190
4200
|
/**
|
|
4191
4201
|
* Sync committee for current period
|
|
4192
4202
|
**/
|
|
4193
|
-
currentSyncCommittee: AugmentedQuery<ApiType, () => Observable<
|
|
4203
|
+
currentSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, [
|
|
4194
4204
|
]>;
|
|
4195
4205
|
/**
|
|
4196
4206
|
* Execution header anchors: current position in ring buffer.
|
|
@@ -4249,7 +4259,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4249
4259
|
/**
|
|
4250
4260
|
* Sync committee for next period
|
|
4251
4261
|
**/
|
|
4252
|
-
nextSyncCommittee: AugmentedQuery<ApiType, () => Observable<
|
|
4262
|
+
nextSyncCommittee: AugmentedQuery<ApiType, () => Observable<PalletEthereumVerifierSyncCommitteePrepared>, [
|
|
4253
4263
|
]>;
|
|
4254
4264
|
/**
|
|
4255
4265
|
* The current operating mode of the pallet.
|
|
@@ -9383,7 +9393,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9383
9393
|
readonly vaultId: u32;
|
|
9384
9394
|
readonly liquidityPromised: u128;
|
|
9385
9395
|
readonly securitization: u128;
|
|
9386
|
-
readonly
|
|
9396
|
+
readonly lockedTargetPrice: u128;
|
|
9387
9397
|
readonly accountId: AccountId32;
|
|
9388
9398
|
readonly securityFee: u128;
|
|
9389
9399
|
} & Struct;
|
|
@@ -9392,9 +9402,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
9392
9402
|
readonly utxoId: u64;
|
|
9393
9403
|
readonly vaultId: u32;
|
|
9394
9404
|
readonly liquidityPromised: u128;
|
|
9395
|
-
readonly
|
|
9405
|
+
readonly oldTargetPrice: u128;
|
|
9396
9406
|
readonly securityFee: u128;
|
|
9397
|
-
readonly
|
|
9407
|
+
readonly newTargetPrice: u128;
|
|
9398
9408
|
readonly amountBurned: u128;
|
|
9399
9409
|
readonly accountId: AccountId32;
|
|
9400
9410
|
} & Struct;
|
|
@@ -10859,7 +10869,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10859
10869
|
interface PalletBitcoinLocksLockOptions extends Enum {
|
|
10860
10870
|
readonly isV1: boolean;
|
|
10861
10871
|
readonly asV1: {
|
|
10862
|
-
readonly
|
|
10872
|
+
readonly microgonsAtTargetPerBtc: Option<u128>;
|
|
10863
10873
|
} & Struct;
|
|
10864
10874
|
readonly type: 'V1';
|
|
10865
10875
|
}
|
|
@@ -11342,7 +11352,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11342
11352
|
/** @name PalletEthereumVerifierCheckpointUpdate (276) */
|
|
11343
11353
|
interface PalletEthereumVerifierCheckpointUpdate extends Struct {
|
|
11344
11354
|
readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
11345
|
-
readonly currentSyncCommittee:
|
|
11355
|
+
readonly currentSyncCommittee: PalletEthereumVerifierSyncCommittee;
|
|
11346
11356
|
readonly currentSyncCommitteeBranch: Vec<H256>;
|
|
11347
11357
|
readonly validatorsRoot: H256;
|
|
11348
11358
|
}
|
|
@@ -11354,15 +11364,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
11354
11364
|
readonly stateRoot: H256;
|
|
11355
11365
|
readonly bodyRoot: H256;
|
|
11356
11366
|
}
|
|
11357
|
-
/** @name
|
|
11358
|
-
interface
|
|
11367
|
+
/** @name PalletEthereumVerifierSyncCommittee (278) */
|
|
11368
|
+
interface PalletEthereumVerifierSyncCommittee extends Struct {
|
|
11359
11369
|
readonly pubkeys: Vec<SnowbridgeBeaconPrimitivesPublicKey>;
|
|
11360
11370
|
readonly aggregatePubkey: SnowbridgeBeaconPrimitivesPublicKey;
|
|
11361
11371
|
}
|
|
11362
11372
|
/** @name SnowbridgeBeaconPrimitivesPublicKey (280) */
|
|
11363
11373
|
interface SnowbridgeBeaconPrimitivesPublicKey extends U8aFixed {
|
|
11364
11374
|
}
|
|
11365
|
-
/** @name PalletEthereumVerifierForkVersions (
|
|
11375
|
+
/** @name PalletEthereumVerifierForkVersions (284) */
|
|
11366
11376
|
interface PalletEthereumVerifierForkVersions extends Struct {
|
|
11367
11377
|
readonly genesis: PalletEthereumVerifierFork;
|
|
11368
11378
|
readonly altair: PalletEthereumVerifierFork;
|
|
@@ -11372,40 +11382,40 @@ declare module '@polkadot/types/lookup' {
|
|
|
11372
11382
|
readonly electra: PalletEthereumVerifierFork;
|
|
11373
11383
|
readonly fulu: PalletEthereumVerifierFork;
|
|
11374
11384
|
}
|
|
11375
|
-
/** @name PalletEthereumVerifierFork (
|
|
11385
|
+
/** @name PalletEthereumVerifierFork (285) */
|
|
11376
11386
|
interface PalletEthereumVerifierFork extends Struct {
|
|
11377
11387
|
readonly version: U8aFixed;
|
|
11378
11388
|
readonly epoch: Compact<u64>;
|
|
11379
11389
|
}
|
|
11380
|
-
/** @name PalletEthereumVerifierUpdate (
|
|
11390
|
+
/** @name PalletEthereumVerifierUpdate (286) */
|
|
11381
11391
|
interface PalletEthereumVerifierUpdate extends Struct {
|
|
11382
11392
|
readonly attestedHeader: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
11383
|
-
readonly syncAggregate:
|
|
11393
|
+
readonly syncAggregate: PalletEthereumVerifierSyncAggregate;
|
|
11384
11394
|
readonly signatureSlot: Compact<u64>;
|
|
11385
11395
|
readonly nextSyncCommitteeUpdate: Option<PalletEthereumVerifierNextSyncCommitteeUpdate>;
|
|
11386
11396
|
readonly finalizedHeader: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
11387
11397
|
readonly finalityBranch: Vec<H256>;
|
|
11388
11398
|
}
|
|
11389
|
-
/** @name
|
|
11390
|
-
interface
|
|
11391
|
-
readonly syncCommitteeBits:
|
|
11399
|
+
/** @name PalletEthereumVerifierSyncAggregate (287) */
|
|
11400
|
+
interface PalletEthereumVerifierSyncAggregate extends Struct {
|
|
11401
|
+
readonly syncCommitteeBits: Bytes;
|
|
11392
11402
|
readonly syncCommitteeSignature: SnowbridgeBeaconPrimitivesSignature;
|
|
11393
11403
|
}
|
|
11394
|
-
/** @name SnowbridgeBeaconPrimitivesSignature (
|
|
11404
|
+
/** @name SnowbridgeBeaconPrimitivesSignature (289) */
|
|
11395
11405
|
interface SnowbridgeBeaconPrimitivesSignature extends U8aFixed {
|
|
11396
11406
|
}
|
|
11397
|
-
/** @name PalletEthereumVerifierNextSyncCommitteeUpdate (
|
|
11407
|
+
/** @name PalletEthereumVerifierNextSyncCommitteeUpdate (292) */
|
|
11398
11408
|
interface PalletEthereumVerifierNextSyncCommitteeUpdate extends Struct {
|
|
11399
|
-
readonly nextSyncCommittee:
|
|
11409
|
+
readonly nextSyncCommittee: PalletEthereumVerifierSyncCommittee;
|
|
11400
11410
|
readonly nextSyncCommitteeBranch: Vec<H256>;
|
|
11401
11411
|
}
|
|
11402
|
-
/** @name PalletEthereumVerifierExecutionProof (
|
|
11412
|
+
/** @name PalletEthereumVerifierExecutionProof (293) */
|
|
11403
11413
|
interface PalletEthereumVerifierExecutionProof extends Struct {
|
|
11404
11414
|
readonly header: SnowbridgeBeaconPrimitivesBeaconHeader;
|
|
11405
11415
|
readonly executionHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
|
|
11406
11416
|
readonly executionBranch: Vec<H256>;
|
|
11407
11417
|
}
|
|
11408
|
-
/** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (
|
|
11418
|
+
/** @name SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader (294) */
|
|
11409
11419
|
interface SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader extends Enum {
|
|
11410
11420
|
readonly isCapella: boolean;
|
|
11411
11421
|
readonly asCapella: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
|
|
@@ -11413,7 +11423,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11413
11423
|
readonly asDeneb: SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader;
|
|
11414
11424
|
readonly type: 'Capella' | 'Deneb';
|
|
11415
11425
|
}
|
|
11416
|
-
/** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (
|
|
11426
|
+
/** @name SnowbridgeBeaconPrimitivesExecutionPayloadHeader (295) */
|
|
11417
11427
|
interface SnowbridgeBeaconPrimitivesExecutionPayloadHeader extends Struct {
|
|
11418
11428
|
readonly parentHash: H256;
|
|
11419
11429
|
readonly feeRecipient: H160;
|
|
@@ -11431,7 +11441,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11431
11441
|
readonly transactionsRoot: H256;
|
|
11432
11442
|
readonly withdrawalsRoot: H256;
|
|
11433
11443
|
}
|
|
11434
|
-
/** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (
|
|
11444
|
+
/** @name SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader (296) */
|
|
11435
11445
|
interface SnowbridgeBeaconPrimitivesDenebExecutionPayloadHeader extends Struct {
|
|
11436
11446
|
readonly parentHash: H256;
|
|
11437
11447
|
readonly feeRecipient: H160;
|
|
@@ -11451,7 +11461,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11451
11461
|
readonly blobGasUsed: u64;
|
|
11452
11462
|
readonly excessBlobGas: u64;
|
|
11453
11463
|
}
|
|
11454
|
-
/** @name PalletCrosschainTransferCall (
|
|
11464
|
+
/** @name PalletCrosschainTransferCall (297) */
|
|
11455
11465
|
interface PalletCrosschainTransferCall extends Enum {
|
|
11456
11466
|
readonly isSetChainConfig: boolean;
|
|
11457
11467
|
readonly asSetChainConfig: {
|
|
@@ -11463,7 +11473,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11463
11473
|
} & Struct;
|
|
11464
11474
|
readonly type: 'SetChainConfig' | 'ProveTransfer';
|
|
11465
11475
|
}
|
|
11466
|
-
/** @name PalletCrosschainTransferChainConfig (
|
|
11476
|
+
/** @name PalletCrosschainTransferChainConfig (298) */
|
|
11467
11477
|
interface PalletCrosschainTransferChainConfig extends Enum {
|
|
11468
11478
|
readonly isEthereum: boolean;
|
|
11469
11479
|
readonly asEthereum: {
|
|
@@ -11475,7 +11485,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11475
11485
|
} & Struct;
|
|
11476
11486
|
readonly type: 'Ethereum';
|
|
11477
11487
|
}
|
|
11478
|
-
/** @name PalletCrosschainTransferTransferProof (
|
|
11488
|
+
/** @name PalletCrosschainTransferTransferProof (300) */
|
|
11479
11489
|
interface PalletCrosschainTransferTransferProof extends Enum {
|
|
11480
11490
|
readonly isEthereum: boolean;
|
|
11481
11491
|
readonly asEthereum: {
|
|
@@ -11485,32 +11495,32 @@ declare module '@polkadot/types/lookup' {
|
|
|
11485
11495
|
} & Struct;
|
|
11486
11496
|
readonly type: 'Ethereum';
|
|
11487
11497
|
}
|
|
11488
|
-
/** @name ArgonPrimitivesEthereumEthereumLog (
|
|
11498
|
+
/** @name ArgonPrimitivesEthereumEthereumLog (301) */
|
|
11489
11499
|
interface ArgonPrimitivesEthereumEthereumLog extends Struct {
|
|
11490
11500
|
readonly address: H160;
|
|
11491
11501
|
readonly topics: Vec<H256>;
|
|
11492
11502
|
readonly data: Bytes;
|
|
11493
11503
|
}
|
|
11494
|
-
/** @name ArgonPrimitivesEthereumEthereumProof (
|
|
11504
|
+
/** @name ArgonPrimitivesEthereumEthereumProof (304) */
|
|
11495
11505
|
interface ArgonPrimitivesEthereumEthereumProof extends Struct {
|
|
11496
11506
|
readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
|
|
11497
11507
|
readonly receiptProof: ArgonPrimitivesEthereumEthereumReceiptProof;
|
|
11498
11508
|
}
|
|
11499
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof (
|
|
11509
|
+
/** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof (305) */
|
|
11500
11510
|
interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
|
|
11501
11511
|
readonly anchorBlockHash: H256;
|
|
11502
11512
|
readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
|
|
11503
11513
|
}
|
|
11504
|
-
/** @name ArgonPrimitivesEthereumEthereumExecutionHeader (
|
|
11514
|
+
/** @name ArgonPrimitivesEthereumEthereumExecutionHeader (307) */
|
|
11505
11515
|
interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
|
|
11506
11516
|
readonly rlp: Bytes;
|
|
11507
11517
|
}
|
|
11508
|
-
/** @name ArgonPrimitivesEthereumEthereumReceiptProof (
|
|
11518
|
+
/** @name ArgonPrimitivesEthereumEthereumReceiptProof (310) */
|
|
11509
11519
|
interface ArgonPrimitivesEthereumEthereumReceiptProof extends Struct {
|
|
11510
11520
|
readonly transactionIndex: Compact<u64>;
|
|
11511
11521
|
readonly nodes: Vec<Bytes>;
|
|
11512
11522
|
}
|
|
11513
|
-
/** @name PalletMultisigError (
|
|
11523
|
+
/** @name PalletMultisigError (314) */
|
|
11514
11524
|
interface PalletMultisigError extends Enum {
|
|
11515
11525
|
readonly isMinimumThreshold: boolean;
|
|
11516
11526
|
readonly isAlreadyApproved: boolean;
|
|
@@ -11528,19 +11538,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
11528
11538
|
readonly isAlreadyStored: boolean;
|
|
11529
11539
|
readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
|
|
11530
11540
|
}
|
|
11531
|
-
/** @name PalletProxyProxyDefinition (
|
|
11541
|
+
/** @name PalletProxyProxyDefinition (317) */
|
|
11532
11542
|
interface PalletProxyProxyDefinition extends Struct {
|
|
11533
11543
|
readonly delegate: AccountId32;
|
|
11534
11544
|
readonly proxyType: ArgonRuntimeProxyType;
|
|
11535
11545
|
readonly delay: u32;
|
|
11536
11546
|
}
|
|
11537
|
-
/** @name PalletProxyAnnouncement (
|
|
11547
|
+
/** @name PalletProxyAnnouncement (321) */
|
|
11538
11548
|
interface PalletProxyAnnouncement extends Struct {
|
|
11539
11549
|
readonly real: AccountId32;
|
|
11540
11550
|
readonly callHash: H256;
|
|
11541
11551
|
readonly height: u32;
|
|
11542
11552
|
}
|
|
11543
|
-
/** @name PalletProxyError (
|
|
11553
|
+
/** @name PalletProxyError (323) */
|
|
11544
11554
|
interface PalletProxyError extends Enum {
|
|
11545
11555
|
readonly isTooMany: boolean;
|
|
11546
11556
|
readonly isNotFound: boolean;
|
|
@@ -11552,34 +11562,34 @@ declare module '@polkadot/types/lookup' {
|
|
|
11552
11562
|
readonly isNoSelfProxy: boolean;
|
|
11553
11563
|
readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
|
|
11554
11564
|
}
|
|
11555
|
-
/** @name ArgonPrimitivesTickTicker (
|
|
11565
|
+
/** @name ArgonPrimitivesTickTicker (324) */
|
|
11556
11566
|
interface ArgonPrimitivesTickTicker extends Struct {
|
|
11557
11567
|
readonly tickDurationMillis: Compact<u64>;
|
|
11558
11568
|
readonly channelHoldExpirationTicks: Compact<u64>;
|
|
11559
11569
|
}
|
|
11560
|
-
/** @name PalletTicksError (
|
|
11570
|
+
/** @name PalletTicksError (326) */
|
|
11561
11571
|
type PalletTicksError = Null;
|
|
11562
|
-
/** @name PalletMiningSlotMinerNonceScoring (
|
|
11572
|
+
/** @name PalletMiningSlotMinerNonceScoring (329) */
|
|
11563
11573
|
interface PalletMiningSlotMinerNonceScoring extends Struct {
|
|
11564
11574
|
readonly nonce: U256;
|
|
11565
11575
|
readonly lastWinBlock: Option<u32>;
|
|
11566
11576
|
readonly blocksWonInFrame: u16;
|
|
11567
11577
|
readonly frameStartBlocksWonSurplus: i16;
|
|
11568
11578
|
}
|
|
11569
|
-
/** @name ArgonPrimitivesBlockSealMiningBidStats (
|
|
11579
|
+
/** @name ArgonPrimitivesBlockSealMiningBidStats (341) */
|
|
11570
11580
|
interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
|
|
11571
11581
|
readonly bidsCount: u32;
|
|
11572
11582
|
readonly bidAmountMin: u128;
|
|
11573
11583
|
readonly bidAmountMax: u128;
|
|
11574
11584
|
readonly bidAmountSum: u128;
|
|
11575
11585
|
}
|
|
11576
|
-
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (
|
|
11586
|
+
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (345) */
|
|
11577
11587
|
interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
|
|
11578
11588
|
readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
|
|
11579
11589
|
readonly ticksBetweenSlots: Compact<u64>;
|
|
11580
11590
|
readonly slotBiddingStartAfterTicks: Compact<u64>;
|
|
11581
11591
|
}
|
|
11582
|
-
/** @name PalletMiningSlotError (
|
|
11592
|
+
/** @name PalletMiningSlotError (356) */
|
|
11583
11593
|
interface PalletMiningSlotError extends Enum {
|
|
11584
11594
|
readonly isSlotNotTakingBids: boolean;
|
|
11585
11595
|
readonly isTooManyBlockRegistrants: boolean;
|
|
@@ -11593,7 +11603,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11593
11603
|
readonly isUnrecoverableHold: boolean;
|
|
11594
11604
|
readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'CannotChangeFundingAccount' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'UnrecoverableHold';
|
|
11595
11605
|
}
|
|
11596
|
-
/** @name ArgonPrimitivesBitcoinUtxoValue (
|
|
11606
|
+
/** @name ArgonPrimitivesBitcoinUtxoValue (357) */
|
|
11597
11607
|
interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
|
|
11598
11608
|
readonly utxoId: u64;
|
|
11599
11609
|
readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
@@ -11601,7 +11611,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11601
11611
|
readonly submittedAtHeight: Compact<u64>;
|
|
11602
11612
|
readonly watchForSpentUntilHeight: Compact<u64>;
|
|
11603
11613
|
}
|
|
11604
|
-
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (
|
|
11614
|
+
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (358) */
|
|
11605
11615
|
interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
|
|
11606
11616
|
readonly isP2wsh: boolean;
|
|
11607
11617
|
readonly asP2wsh: {
|
|
@@ -11609,7 +11619,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11609
11619
|
} & Struct;
|
|
11610
11620
|
readonly type: 'P2wsh';
|
|
11611
11621
|
}
|
|
11612
|
-
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (
|
|
11622
|
+
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (367) */
|
|
11613
11623
|
interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
|
|
11614
11624
|
readonly isBitcoin: boolean;
|
|
11615
11625
|
readonly isTestnet: boolean;
|
|
@@ -11617,7 +11627,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11617
11627
|
readonly isRegtest: boolean;
|
|
11618
11628
|
readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
|
|
11619
11629
|
}
|
|
11620
|
-
/** @name PalletBitcoinUtxosError (
|
|
11630
|
+
/** @name PalletBitcoinUtxosError (368) */
|
|
11621
11631
|
interface PalletBitcoinUtxosError extends Enum {
|
|
11622
11632
|
readonly isNoPermissions: boolean;
|
|
11623
11633
|
readonly isNoBitcoinConfirmedBlock: boolean;
|
|
@@ -11636,7 +11646,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11636
11646
|
readonly isLockAlreadyFunded: boolean;
|
|
11637
11647
|
readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId' | 'MaxCandidateUtxosExceeded' | 'UtxoNotCandidate' | 'LockAlreadyFunded';
|
|
11638
11648
|
}
|
|
11639
|
-
/** @name ArgonPrimitivesVault (
|
|
11649
|
+
/** @name ArgonPrimitivesVault (369) */
|
|
11640
11650
|
interface ArgonPrimitivesVault extends Struct {
|
|
11641
11651
|
readonly operatorAccountId: AccountId32;
|
|
11642
11652
|
readonly bitcoinLockDelegateAccount: Option<AccountId32>;
|
|
@@ -11656,7 +11666,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11656
11666
|
readonly openedTick: Compact<u64>;
|
|
11657
11667
|
readonly operationalMinimumReleaseTick: Option<u64>;
|
|
11658
11668
|
}
|
|
11659
|
-
/** @name ArgonPrimitivesBitcoinBitcoinXPub (
|
|
11669
|
+
/** @name ArgonPrimitivesBitcoinBitcoinXPub (377) */
|
|
11660
11670
|
interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
|
|
11661
11671
|
readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
11662
11672
|
readonly depth: Compact<u8>;
|
|
@@ -11665,13 +11675,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11665
11675
|
readonly chainCode: U8aFixed;
|
|
11666
11676
|
readonly network: ArgonPrimitivesBitcoinNetworkKind;
|
|
11667
11677
|
}
|
|
11668
|
-
/** @name ArgonPrimitivesBitcoinNetworkKind (
|
|
11678
|
+
/** @name ArgonPrimitivesBitcoinNetworkKind (379) */
|
|
11669
11679
|
interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
|
|
11670
11680
|
readonly isMain: boolean;
|
|
11671
11681
|
readonly isTest: boolean;
|
|
11672
11682
|
readonly type: 'Main' | 'Test';
|
|
11673
11683
|
}
|
|
11674
|
-
/** @name PalletVaultsVaultFrameRevenue (
|
|
11684
|
+
/** @name PalletVaultsVaultFrameRevenue (388) */
|
|
11675
11685
|
interface PalletVaultsVaultFrameRevenue extends Struct {
|
|
11676
11686
|
readonly frameId: Compact<u64>;
|
|
11677
11687
|
readonly bitcoinLockFeeRevenue: Compact<u128>;
|
|
@@ -11690,14 +11700,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
11690
11700
|
readonly treasuryExternalCapital: Compact<u128>;
|
|
11691
11701
|
readonly uncollectedRevenue: Compact<u128>;
|
|
11692
11702
|
}
|
|
11693
|
-
/** @name PalletVaultsRecentCapacityDrop (
|
|
11703
|
+
/** @name PalletVaultsRecentCapacityDrop (391) */
|
|
11694
11704
|
interface PalletVaultsRecentCapacityDrop extends Struct {
|
|
11695
11705
|
readonly blockNumber: Compact<u32>;
|
|
11696
11706
|
readonly availableBeforeDrop: Compact<u128>;
|
|
11697
11707
|
readonly availableAfterDrop: Compact<u128>;
|
|
11698
11708
|
readonly noFeeFailuresUsed: Compact<u32>;
|
|
11699
11709
|
}
|
|
11700
|
-
/** @name PalletVaultsError (
|
|
11710
|
+
/** @name PalletVaultsError (393) */
|
|
11701
11711
|
interface PalletVaultsError extends Enum {
|
|
11702
11712
|
readonly isNoMoreVaultIds: boolean;
|
|
11703
11713
|
readonly isInsufficientFunds: boolean;
|
|
@@ -11731,11 +11741,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
11731
11741
|
readonly isAccountAlreadyHasVault: boolean;
|
|
11732
11742
|
readonly type: 'NoMoreVaultIds' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'VaultReductionBelowSecuritization' | 'InvalidSecuritization' | 'ReusedVaultBitcoinXpub' | 'InvalidBitcoinScript' | 'InvalidXpubkey' | 'WrongXpubNetwork' | 'UnsafeXpubkey' | 'UnableToDeriveVaultXpubChild' | 'BitcoinConversionFailed' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'VaultNotYetActive' | 'NoVaultBitcoinPubkeysAvailable' | 'TermsModificationOverflow' | 'TermsChangeAlreadyScheduled' | 'InternalError' | 'UnableToGenerateVaultBitcoinPubkey' | 'FundingChangeAlreadyScheduled' | 'InvalidVaultName' | 'PendingCosignsBeforeCollect' | 'PendingOrphanedUtxoCosignsBeforeCollect' | 'AccountAlreadyHasVault';
|
|
11733
11743
|
}
|
|
11734
|
-
/** @name PalletBitcoinLocksLockedBitcoin (
|
|
11744
|
+
/** @name PalletBitcoinLocksLockedBitcoin (394) */
|
|
11735
11745
|
interface PalletBitcoinLocksLockedBitcoin extends Struct {
|
|
11736
11746
|
readonly vaultId: Compact<u32>;
|
|
11737
11747
|
readonly liquidityPromised: Compact<u128>;
|
|
11738
|
-
readonly
|
|
11748
|
+
readonly lockedTargetPrice: Compact<u128>;
|
|
11739
11749
|
readonly ownerAccount: AccountId32;
|
|
11740
11750
|
readonly securitizationRatio: u128;
|
|
11741
11751
|
readonly securityFees: Compact<u128>;
|
|
@@ -11754,16 +11764,16 @@ declare module '@polkadot/types/lookup' {
|
|
|
11754
11764
|
readonly fundHoldExtensions: BTreeMap<u64, u128>;
|
|
11755
11765
|
readonly createdAtArgonBlock: Compact<u32>;
|
|
11756
11766
|
}
|
|
11757
|
-
/** @name PalletBitcoinLocksLockReleaseRequest (
|
|
11767
|
+
/** @name PalletBitcoinLocksLockReleaseRequest (397) */
|
|
11758
11768
|
interface PalletBitcoinLocksLockReleaseRequest extends Struct {
|
|
11759
11769
|
readonly utxoId: Compact<u64>;
|
|
11760
11770
|
readonly vaultId: Compact<u32>;
|
|
11761
11771
|
readonly bitcoinNetworkFee: Compact<u64>;
|
|
11762
11772
|
readonly cosignDueFrame: Compact<u64>;
|
|
11763
11773
|
readonly toScriptPubkey: Bytes;
|
|
11764
|
-
readonly
|
|
11774
|
+
readonly redemptionAmount: Compact<u128>;
|
|
11765
11775
|
}
|
|
11766
|
-
/** @name PalletBitcoinLocksOrphanedUtxo (
|
|
11776
|
+
/** @name PalletBitcoinLocksOrphanedUtxo (399) */
|
|
11767
11777
|
interface PalletBitcoinLocksOrphanedUtxo extends Struct {
|
|
11768
11778
|
readonly utxoId: Compact<u64>;
|
|
11769
11779
|
readonly vaultId: Compact<u32>;
|
|
@@ -11771,13 +11781,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11771
11781
|
readonly recordedArgonBlockNumber: Compact<u32>;
|
|
11772
11782
|
readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
|
|
11773
11783
|
}
|
|
11774
|
-
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (
|
|
11784
|
+
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (401) */
|
|
11775
11785
|
interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
|
|
11776
11786
|
readonly bitcoinNetworkFee: u64;
|
|
11777
11787
|
readonly toScriptPubkey: Bytes;
|
|
11778
11788
|
readonly createdAtArgonBlockNumber: u32;
|
|
11779
11789
|
}
|
|
11780
|
-
/** @name PalletBitcoinLocksError (
|
|
11790
|
+
/** @name PalletBitcoinLocksError (408) */
|
|
11781
11791
|
interface PalletBitcoinLocksError extends Enum {
|
|
11782
11792
|
readonly isInsufficientFunds: boolean;
|
|
11783
11793
|
readonly isInsufficientVaultFunds: boolean;
|
|
@@ -11817,7 +11827,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11817
11827
|
readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
|
|
11818
11828
|
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';
|
|
11819
11829
|
}
|
|
11820
|
-
/** @name ArgonPrimitivesVaultVaultError (
|
|
11830
|
+
/** @name ArgonPrimitivesVaultVaultError (409) */
|
|
11821
11831
|
interface ArgonPrimitivesVaultVaultError extends Enum {
|
|
11822
11832
|
readonly isVaultClosed: boolean;
|
|
11823
11833
|
readonly isAccountWouldBeBelowMinimum: boolean;
|
|
@@ -11833,7 +11843,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11833
11843
|
readonly isVaultNotYetActive: boolean;
|
|
11834
11844
|
readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
|
|
11835
11845
|
}
|
|
11836
|
-
/** @name PalletNotariesError (
|
|
11846
|
+
/** @name PalletNotariesError (421) */
|
|
11837
11847
|
interface PalletNotariesError extends Enum {
|
|
11838
11848
|
readonly isProposalNotFound: boolean;
|
|
11839
11849
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -11846,7 +11856,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11846
11856
|
readonly isInvalidNotary: boolean;
|
|
11847
11857
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
11848
11858
|
}
|
|
11849
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
11859
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (425) */
|
|
11850
11860
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
11851
11861
|
readonly notebookNumber: Compact<u32>;
|
|
11852
11862
|
readonly tick: Compact<u64>;
|
|
@@ -11854,7 +11864,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11854
11864
|
readonly secretHash: H256;
|
|
11855
11865
|
readonly parentSecret: Option<H256>;
|
|
11856
11866
|
}
|
|
11857
|
-
/** @name PalletNotebookError (
|
|
11867
|
+
/** @name PalletNotebookError (428) */
|
|
11858
11868
|
interface PalletNotebookError extends Enum {
|
|
11859
11869
|
readonly isDuplicateNotebookNumber: boolean;
|
|
11860
11870
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -11873,17 +11883,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
11873
11883
|
readonly isInvalidNotebookSubmissionTick: boolean;
|
|
11874
11884
|
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
|
|
11875
11885
|
}
|
|
11876
|
-
/** @name PalletLocalchainTransferQueuedTransferOut (
|
|
11886
|
+
/** @name PalletLocalchainTransferQueuedTransferOut (429) */
|
|
11877
11887
|
interface PalletLocalchainTransferQueuedTransferOut extends Struct {
|
|
11878
11888
|
readonly accountId: AccountId32;
|
|
11879
11889
|
readonly amount: u128;
|
|
11880
11890
|
readonly expirationTick: u64;
|
|
11881
11891
|
readonly notaryId: u32;
|
|
11882
11892
|
}
|
|
11883
|
-
/** @name FrameSupportPalletId (
|
|
11893
|
+
/** @name FrameSupportPalletId (431) */
|
|
11884
11894
|
interface FrameSupportPalletId extends U8aFixed {
|
|
11885
11895
|
}
|
|
11886
|
-
/** @name PalletLocalchainTransferError (
|
|
11896
|
+
/** @name PalletLocalchainTransferError (432) */
|
|
11887
11897
|
interface PalletLocalchainTransferError extends Enum {
|
|
11888
11898
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
11889
11899
|
readonly isInsufficientFunds: boolean;
|
|
@@ -11895,7 +11905,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11895
11905
|
readonly isNoAvailableTransferId: boolean;
|
|
11896
11906
|
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer' | 'NotaryLockedForTransfer' | 'NoAvailableTransferId';
|
|
11897
11907
|
}
|
|
11898
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
11908
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (436) */
|
|
11899
11909
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
11900
11910
|
readonly notaryId: Compact<u32>;
|
|
11901
11911
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -11903,12 +11913,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
11903
11913
|
readonly blockVotesCount: Compact<u32>;
|
|
11904
11914
|
readonly blockVotingPower: Compact<u128>;
|
|
11905
11915
|
}
|
|
11906
|
-
/** @name PalletBlockSealSpecError (
|
|
11916
|
+
/** @name PalletBlockSealSpecError (441) */
|
|
11907
11917
|
interface PalletBlockSealSpecError extends Enum {
|
|
11908
11918
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
11909
11919
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
11910
11920
|
}
|
|
11911
|
-
/** @name PalletDomainsError (
|
|
11921
|
+
/** @name PalletDomainsError (443) */
|
|
11912
11922
|
interface PalletDomainsError extends Enum {
|
|
11913
11923
|
readonly isDomainNotRegistered: boolean;
|
|
11914
11924
|
readonly isNotDomainOwner: boolean;
|
|
@@ -11917,13 +11927,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11917
11927
|
readonly isAccountDecodingError: boolean;
|
|
11918
11928
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
11919
11929
|
}
|
|
11920
|
-
/** @name PalletPriceIndexCpiMeasurementBucket (
|
|
11930
|
+
/** @name PalletPriceIndexCpiMeasurementBucket (445) */
|
|
11921
11931
|
interface PalletPriceIndexCpiMeasurementBucket extends Struct {
|
|
11922
11932
|
readonly tickRange: ITuple<[u64, u64]>;
|
|
11923
11933
|
readonly totalCpi: i128;
|
|
11924
11934
|
readonly measurementsCount: u32;
|
|
11925
11935
|
}
|
|
11926
|
-
/** @name PalletPriceIndexError (
|
|
11936
|
+
/** @name PalletPriceIndexError (447) */
|
|
11927
11937
|
interface PalletPriceIndexError extends Enum {
|
|
11928
11938
|
readonly isNotAuthorizedOperator: boolean;
|
|
11929
11939
|
readonly isMissingValue: boolean;
|
|
@@ -11931,7 +11941,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11931
11941
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
11932
11942
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
11933
11943
|
}
|
|
11934
|
-
/** @name PalletGrandpaStoredState (
|
|
11944
|
+
/** @name PalletGrandpaStoredState (448) */
|
|
11935
11945
|
interface PalletGrandpaStoredState extends Enum {
|
|
11936
11946
|
readonly isLive: boolean;
|
|
11937
11947
|
readonly isPendingPause: boolean;
|
|
@@ -11947,14 +11957,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
11947
11957
|
} & Struct;
|
|
11948
11958
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
11949
11959
|
}
|
|
11950
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
11960
|
+
/** @name PalletGrandpaStoredPendingChange (449) */
|
|
11951
11961
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
11952
11962
|
readonly scheduledAt: u32;
|
|
11953
11963
|
readonly delay: u32;
|
|
11954
11964
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
11955
11965
|
readonly forced: Option<u32>;
|
|
11956
11966
|
}
|
|
11957
|
-
/** @name PalletGrandpaError (
|
|
11967
|
+
/** @name PalletGrandpaError (451) */
|
|
11958
11968
|
interface PalletGrandpaError extends Enum {
|
|
11959
11969
|
readonly isPauseFailed: boolean;
|
|
11960
11970
|
readonly isResumeFailed: boolean;
|
|
@@ -11965,13 +11975,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
11965
11975
|
readonly isDuplicateOffenceReport: boolean;
|
|
11966
11976
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
11967
11977
|
}
|
|
11968
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
11978
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (452) */
|
|
11969
11979
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
11970
11980
|
readonly blockAuthorAccountId: AccountId32;
|
|
11971
11981
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
11972
11982
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
11973
11983
|
}
|
|
11974
|
-
/** @name PalletBlockSealError (
|
|
11984
|
+
/** @name PalletBlockSealError (454) */
|
|
11975
11985
|
interface PalletBlockSealError extends Enum {
|
|
11976
11986
|
readonly isInvalidVoteSealStrength: boolean;
|
|
11977
11987
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -11996,59 +12006,59 @@ declare module '@polkadot/types/lookup' {
|
|
|
11996
12006
|
readonly isDuplicateVoteBlockAtTick: boolean;
|
|
11997
12007
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
|
|
11998
12008
|
}
|
|
11999
|
-
/** @name PalletBlockRewardsError (
|
|
12009
|
+
/** @name PalletBlockRewardsError (458) */
|
|
12000
12010
|
type PalletBlockRewardsError = Null;
|
|
12001
|
-
/** @name PalletMintMintAction (
|
|
12011
|
+
/** @name PalletMintMintAction (464) */
|
|
12002
12012
|
interface PalletMintMintAction extends Struct {
|
|
12003
12013
|
readonly argonBurned: u128;
|
|
12004
12014
|
readonly argonMinted: u128;
|
|
12005
12015
|
readonly bitcoinMinted: u128;
|
|
12006
12016
|
}
|
|
12007
|
-
/** @name PalletMintError (
|
|
12017
|
+
/** @name PalletMintError (465) */
|
|
12008
12018
|
interface PalletMintError extends Enum {
|
|
12009
12019
|
readonly isTooManyPendingMints: boolean;
|
|
12010
12020
|
readonly type: 'TooManyPendingMints';
|
|
12011
12021
|
}
|
|
12012
|
-
/** @name PalletBalancesBalanceLock (
|
|
12022
|
+
/** @name PalletBalancesBalanceLock (467) */
|
|
12013
12023
|
interface PalletBalancesBalanceLock extends Struct {
|
|
12014
12024
|
readonly id: U8aFixed;
|
|
12015
12025
|
readonly amount: u128;
|
|
12016
12026
|
readonly reasons: PalletBalancesReasons;
|
|
12017
12027
|
}
|
|
12018
|
-
/** @name PalletBalancesReasons (
|
|
12028
|
+
/** @name PalletBalancesReasons (468) */
|
|
12019
12029
|
interface PalletBalancesReasons extends Enum {
|
|
12020
12030
|
readonly isFee: boolean;
|
|
12021
12031
|
readonly isMisc: boolean;
|
|
12022
12032
|
readonly isAll: boolean;
|
|
12023
12033
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
12024
12034
|
}
|
|
12025
|
-
/** @name PalletBalancesReserveData (
|
|
12035
|
+
/** @name PalletBalancesReserveData (471) */
|
|
12026
12036
|
interface PalletBalancesReserveData extends Struct {
|
|
12027
12037
|
readonly id: U8aFixed;
|
|
12028
12038
|
readonly amount: u128;
|
|
12029
12039
|
}
|
|
12030
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
12040
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (474) */
|
|
12031
12041
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
12032
12042
|
readonly id: ArgonRuntimeRuntimeHoldReason;
|
|
12033
12043
|
readonly amount: u128;
|
|
12034
12044
|
}
|
|
12035
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
12045
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (477) */
|
|
12036
12046
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
12037
12047
|
readonly id: ArgonRuntimeRuntimeFreezeReason;
|
|
12038
12048
|
readonly amount: u128;
|
|
12039
12049
|
}
|
|
12040
|
-
/** @name ArgonRuntimeRuntimeFreezeReason (
|
|
12050
|
+
/** @name ArgonRuntimeRuntimeFreezeReason (478) */
|
|
12041
12051
|
interface ArgonRuntimeRuntimeFreezeReason extends Enum {
|
|
12042
12052
|
readonly isBlockRewards: boolean;
|
|
12043
12053
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
12044
12054
|
readonly type: 'BlockRewards';
|
|
12045
12055
|
}
|
|
12046
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
12056
|
+
/** @name PalletBlockRewardsFreezeReason (479) */
|
|
12047
12057
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
12048
12058
|
readonly isMaturationPeriod: boolean;
|
|
12049
12059
|
readonly type: 'MaturationPeriod';
|
|
12050
12060
|
}
|
|
12051
|
-
/** @name PalletBalancesError (
|
|
12061
|
+
/** @name PalletBalancesError (481) */
|
|
12052
12062
|
interface PalletBalancesError extends Enum {
|
|
12053
12063
|
readonly isVestingBalance: boolean;
|
|
12054
12064
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -12064,7 +12074,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12064
12074
|
readonly isDeltaZero: boolean;
|
|
12065
12075
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
12066
12076
|
}
|
|
12067
|
-
/** @name PalletTxPauseError (
|
|
12077
|
+
/** @name PalletTxPauseError (483) */
|
|
12068
12078
|
interface PalletTxPauseError extends Enum {
|
|
12069
12079
|
readonly isIsPaused: boolean;
|
|
12070
12080
|
readonly isIsUnpaused: boolean;
|
|
@@ -12072,46 +12082,46 @@ declare module '@polkadot/types/lookup' {
|
|
|
12072
12082
|
readonly isNotFound: boolean;
|
|
12073
12083
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
12074
12084
|
}
|
|
12075
|
-
/** @name PalletTransactionPaymentReleases (
|
|
12085
|
+
/** @name PalletTransactionPaymentReleases (484) */
|
|
12076
12086
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
12077
12087
|
readonly isV1Ancient: boolean;
|
|
12078
12088
|
readonly isV2: boolean;
|
|
12079
12089
|
readonly type: 'V1Ancient' | 'V2';
|
|
12080
12090
|
}
|
|
12081
|
-
/** @name FrameSupportStorageNoDrop (
|
|
12091
|
+
/** @name FrameSupportStorageNoDrop (485) */
|
|
12082
12092
|
interface FrameSupportStorageNoDrop extends FrameSupportTokensFungibleImbalance {
|
|
12083
12093
|
}
|
|
12084
|
-
/** @name FrameSupportTokensFungibleImbalance (
|
|
12094
|
+
/** @name FrameSupportTokensFungibleImbalance (486) */
|
|
12085
12095
|
interface FrameSupportTokensFungibleImbalance extends Struct {
|
|
12086
12096
|
readonly amount: u128;
|
|
12087
12097
|
}
|
|
12088
|
-
/** @name PalletUtilityError (
|
|
12098
|
+
/** @name PalletUtilityError (487) */
|
|
12089
12099
|
interface PalletUtilityError extends Enum {
|
|
12090
12100
|
readonly isTooManyCalls: boolean;
|
|
12091
12101
|
readonly type: 'TooManyCalls';
|
|
12092
12102
|
}
|
|
12093
|
-
/** @name PalletSudoError (
|
|
12103
|
+
/** @name PalletSudoError (488) */
|
|
12094
12104
|
interface PalletSudoError extends Enum {
|
|
12095
12105
|
readonly isRequireSudo: boolean;
|
|
12096
12106
|
readonly type: 'RequireSudo';
|
|
12097
12107
|
}
|
|
12098
|
-
/** @name PalletTreasuryFrameVaultCapital (
|
|
12108
|
+
/** @name PalletTreasuryFrameVaultCapital (489) */
|
|
12099
12109
|
interface PalletTreasuryFrameVaultCapital extends Struct {
|
|
12100
12110
|
readonly frameId: Compact<u64>;
|
|
12101
12111
|
readonly vaults: BTreeMap<u32, PalletTreasuryVaultCapital>;
|
|
12102
12112
|
}
|
|
12103
|
-
/** @name PalletTreasuryVaultCapital (
|
|
12113
|
+
/** @name PalletTreasuryVaultCapital (491) */
|
|
12104
12114
|
interface PalletTreasuryVaultCapital extends Struct {
|
|
12105
12115
|
readonly bondLotAllocations: Vec<PalletTreasuryBondLotAllocation>;
|
|
12106
12116
|
readonly eligibleBonds: Compact<u32>;
|
|
12107
12117
|
readonly vaultSharingPercent: Compact<Permill>;
|
|
12108
12118
|
}
|
|
12109
|
-
/** @name PalletTreasuryBondLotAllocation (
|
|
12119
|
+
/** @name PalletTreasuryBondLotAllocation (493) */
|
|
12110
12120
|
interface PalletTreasuryBondLotAllocation extends Struct {
|
|
12111
12121
|
readonly bondLotId: Compact<u64>;
|
|
12112
12122
|
readonly prorata: u128;
|
|
12113
12123
|
}
|
|
12114
|
-
/** @name PalletTreasuryBondLot (
|
|
12124
|
+
/** @name PalletTreasuryBondLot (498) */
|
|
12115
12125
|
interface PalletTreasuryBondLot extends Struct {
|
|
12116
12126
|
readonly owner: AccountId32;
|
|
12117
12127
|
readonly vaultId: Compact<u32>;
|
|
@@ -12124,12 +12134,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
12124
12134
|
readonly releaseFrameId: Option<u64>;
|
|
12125
12135
|
readonly releaseReason: Option<PalletTreasuryBondReleaseReason>;
|
|
12126
12136
|
}
|
|
12127
|
-
/** @name PalletTreasuryBondLotSummary (
|
|
12137
|
+
/** @name PalletTreasuryBondLotSummary (503) */
|
|
12128
12138
|
interface PalletTreasuryBondLotSummary extends Struct {
|
|
12129
12139
|
readonly bondLotId: Compact<u64>;
|
|
12130
12140
|
readonly bonds: Compact<u32>;
|
|
12131
12141
|
}
|
|
12132
|
-
/** @name PalletTreasuryError (
|
|
12142
|
+
/** @name PalletTreasuryError (505) */
|
|
12133
12143
|
interface PalletTreasuryError extends Enum {
|
|
12134
12144
|
readonly isBondPurchaseRejected: boolean;
|
|
12135
12145
|
readonly isVaultNotAcceptingBondPurchases: boolean;
|
|
@@ -12143,12 +12153,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
12143
12153
|
readonly isBondPurchaseAboveSecurity: boolean;
|
|
12144
12154
|
readonly type: 'BondPurchaseRejected' | 'VaultNotAcceptingBondPurchases' | 'BondPurchaseBelowMinimum' | 'InternalError' | 'MaxAcceptedBondLotsExceeded' | 'MaxPendingBondReleasesExceeded' | 'BondLotNotFound' | 'NotBondLotOwner' | 'BondLotAlreadyReleasing' | 'BondPurchaseAboveSecurity';
|
|
12145
12155
|
}
|
|
12146
|
-
/** @name PalletFeeControlError (
|
|
12156
|
+
/** @name PalletFeeControlError (506) */
|
|
12147
12157
|
interface PalletFeeControlError extends Enum {
|
|
12148
12158
|
readonly isSponsoredFeeTooHigh: boolean;
|
|
12149
12159
|
readonly type: 'SponsoredFeeTooHigh';
|
|
12150
12160
|
}
|
|
12151
|
-
/** @name PalletOperationalAccountsOperationalAccount (
|
|
12161
|
+
/** @name PalletOperationalAccountsOperationalAccount (507) */
|
|
12152
12162
|
interface PalletOperationalAccountsOperationalAccount extends Struct {
|
|
12153
12163
|
readonly vaultAccount: AccountId32;
|
|
12154
12164
|
readonly miningFundingAccount: AccountId32;
|
|
@@ -12170,12 +12180,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
12170
12180
|
readonly rewardsCollectedAmount: u128;
|
|
12171
12181
|
readonly isOperational: bool;
|
|
12172
12182
|
}
|
|
12173
|
-
/** @name PalletOperationalAccountsRewardsConfig (
|
|
12183
|
+
/** @name PalletOperationalAccountsRewardsConfig (509) */
|
|
12174
12184
|
interface PalletOperationalAccountsRewardsConfig extends Struct {
|
|
12175
12185
|
readonly operationalReferralReward: Compact<u128>;
|
|
12176
12186
|
readonly referralBonusReward: Compact<u128>;
|
|
12177
12187
|
}
|
|
12178
|
-
/** @name PalletOperationalAccountsError (
|
|
12188
|
+
/** @name PalletOperationalAccountsError (511) */
|
|
12179
12189
|
interface PalletOperationalAccountsError extends Enum {
|
|
12180
12190
|
readonly isAlreadyRegistered: boolean;
|
|
12181
12191
|
readonly isInvalidRegistrationSubmitter: boolean;
|
|
@@ -12196,43 +12206,49 @@ declare module '@polkadot/types/lookup' {
|
|
|
12196
12206
|
readonly isNotEligibleForActivation: boolean;
|
|
12197
12207
|
readonly type: 'AlreadyRegistered' | 'InvalidRegistrationSubmitter' | 'AccountAlreadyLinked' | 'InvalidAccountProof' | 'NotOperationalAccount' | 'InvalidReferralProof' | 'ReferralProofExpired' | 'NoProgressUpdateProvided' | 'EncryptedServerTooLong' | 'NotSponsorOfSponsee' | 'NoPendingRewards' | 'RewardClaimBelowMinimum' | 'RewardClaimNotWholeArgon' | 'RewardClaimExceedsPending' | 'TreasuryInsufficientFunds' | 'AlreadyOperational' | 'NotEligibleForActivation';
|
|
12198
12208
|
}
|
|
12199
|
-
/** @name PalletEthereumVerifierFinalizedBeaconHeaderState (
|
|
12209
|
+
/** @name PalletEthereumVerifierFinalizedBeaconHeaderState (512) */
|
|
12200
12210
|
interface PalletEthereumVerifierFinalizedBeaconHeaderState extends Struct {
|
|
12201
12211
|
readonly slot: Compact<u64>;
|
|
12202
12212
|
}
|
|
12203
|
-
/** @name PalletEthereumVerifierExecutionHeaderAnchor (
|
|
12213
|
+
/** @name PalletEthereumVerifierExecutionHeaderAnchor (513) */
|
|
12204
12214
|
interface PalletEthereumVerifierExecutionHeaderAnchor extends Struct {
|
|
12205
12215
|
readonly blockNumber: Compact<u64>;
|
|
12206
12216
|
readonly blockHash: H256;
|
|
12207
12217
|
readonly parentHash: H256;
|
|
12208
12218
|
readonly receiptsRoot: H256;
|
|
12209
12219
|
}
|
|
12210
|
-
/** @name
|
|
12211
|
-
interface
|
|
12220
|
+
/** @name PalletEthereumVerifierSyncCommitteePrepared (514) */
|
|
12221
|
+
interface PalletEthereumVerifierSyncCommitteePrepared extends Struct {
|
|
12212
12222
|
readonly root: H256;
|
|
12213
12223
|
readonly pubkeys: Vec<SnowbridgeMilagroBlsKeysPublicKey>;
|
|
12214
12224
|
readonly aggregatePubkey: SnowbridgeMilagroBlsKeysPublicKey;
|
|
12215
12225
|
}
|
|
12216
|
-
/** @name SnowbridgeMilagroBlsKeysPublicKey (
|
|
12226
|
+
/** @name SnowbridgeMilagroBlsKeysPublicKey (516) */
|
|
12217
12227
|
interface SnowbridgeMilagroBlsKeysPublicKey extends Struct {
|
|
12218
12228
|
readonly point: SnowbridgeAmclBls381Ecp;
|
|
12219
12229
|
}
|
|
12220
|
-
/** @name SnowbridgeAmclBls381Ecp (
|
|
12230
|
+
/** @name SnowbridgeAmclBls381Ecp (517) */
|
|
12221
12231
|
interface SnowbridgeAmclBls381Ecp extends Struct {
|
|
12222
12232
|
readonly x: SnowbridgeAmclBls381Fp;
|
|
12223
12233
|
readonly y: SnowbridgeAmclBls381Fp;
|
|
12224
12234
|
readonly z: SnowbridgeAmclBls381Fp;
|
|
12225
12235
|
}
|
|
12226
|
-
/** @name SnowbridgeAmclBls381Fp (
|
|
12236
|
+
/** @name SnowbridgeAmclBls381Fp (518) */
|
|
12227
12237
|
interface SnowbridgeAmclBls381Fp extends Struct {
|
|
12228
12238
|
readonly x: SnowbridgeAmclBls381Big;
|
|
12229
12239
|
readonly xes: i32;
|
|
12230
12240
|
}
|
|
12231
|
-
/** @name SnowbridgeAmclBls381Big (
|
|
12241
|
+
/** @name SnowbridgeAmclBls381Big (519) */
|
|
12232
12242
|
interface SnowbridgeAmclBls381Big extends Struct {
|
|
12233
12243
|
readonly w: Vec<i32>;
|
|
12234
12244
|
}
|
|
12235
|
-
/** @name
|
|
12245
|
+
/** @name ArgonPrimitivesEthereumEthereumBeaconPreset (523) */
|
|
12246
|
+
interface ArgonPrimitivesEthereumEthereumBeaconPreset extends Enum {
|
|
12247
|
+
readonly isMainnet: boolean;
|
|
12248
|
+
readonly isMinimal: boolean;
|
|
12249
|
+
readonly type: 'Mainnet' | 'Minimal';
|
|
12250
|
+
}
|
|
12251
|
+
/** @name PalletEthereumVerifierError (524) */
|
|
12236
12252
|
interface PalletEthereumVerifierError extends Enum {
|
|
12237
12253
|
readonly isSkippedSyncCommitteePeriod: boolean;
|
|
12238
12254
|
readonly isSyncCommitteeUpdateRequired: boolean;
|
|
@@ -12251,12 +12267,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
12251
12267
|
readonly isExpectedFinalizedHeaderNotStored: boolean;
|
|
12252
12268
|
readonly isBlsPreparePublicKeysFailed: boolean;
|
|
12253
12269
|
readonly isBlsVerificationFailed: boolean;
|
|
12270
|
+
readonly isUnexpectedBeaconPreset: boolean;
|
|
12254
12271
|
readonly isInvalidUpdateSlot: boolean;
|
|
12255
12272
|
readonly isInvalidSyncCommitteeUpdate: boolean;
|
|
12256
12273
|
readonly isHalted: boolean;
|
|
12257
|
-
readonly type: 'SkippedSyncCommitteePeriod' | 'SyncCommitteeUpdateRequired' | 'IrrelevantUpdate' | 'NotBootstrapped' | 'SyncCommitteeParticipantsNotSupermajority' | 'InvalidHeaderMerkleProof' | 'InvalidSyncCommitteeMerkleProof' | 'InvalidExecutionHeaderProof' | 'InvalidFinalizedHeaderGap' | 'HeaderHashTreeRootFailed' | 'BlockBodyHashTreeRootFailed' | 'SyncCommitteeHashTreeRootFailed' | 'SigningRootHashTreeRootFailed' | 'ForkDataHashTreeRootFailed' | 'ExpectedFinalizedHeaderNotStored' | 'BlsPreparePublicKeysFailed' | 'BlsVerificationFailed' | 'InvalidUpdateSlot' | 'InvalidSyncCommitteeUpdate' | 'Halted';
|
|
12274
|
+
readonly type: 'SkippedSyncCommitteePeriod' | 'SyncCommitteeUpdateRequired' | 'IrrelevantUpdate' | 'NotBootstrapped' | 'SyncCommitteeParticipantsNotSupermajority' | 'InvalidHeaderMerkleProof' | 'InvalidSyncCommitteeMerkleProof' | 'InvalidExecutionHeaderProof' | 'InvalidFinalizedHeaderGap' | 'HeaderHashTreeRootFailed' | 'BlockBodyHashTreeRootFailed' | 'SyncCommitteeHashTreeRootFailed' | 'SigningRootHashTreeRootFailed' | 'ForkDataHashTreeRootFailed' | 'ExpectedFinalizedHeaderNotStored' | 'BlsPreparePublicKeysFailed' | 'BlsVerificationFailed' | 'UnexpectedBeaconPreset' | 'InvalidUpdateSlot' | 'InvalidSyncCommitteeUpdate' | 'Halted';
|
|
12258
12275
|
}
|
|
12259
|
-
/** @name PalletCrosschainTransferError (
|
|
12276
|
+
/** @name PalletCrosschainTransferError (526) */
|
|
12260
12277
|
interface PalletCrosschainTransferError extends Enum {
|
|
12261
12278
|
readonly isInvalidEthereumEvent: boolean;
|
|
12262
12279
|
readonly isInvalidProof: boolean;
|
|
@@ -12268,39 +12285,40 @@ declare module '@polkadot/types/lookup' {
|
|
|
12268
12285
|
readonly isUnexpectedNonce: boolean;
|
|
12269
12286
|
readonly isInvalidChainConfig: boolean;
|
|
12270
12287
|
readonly isInsufficientLiquidity: boolean;
|
|
12271
|
-
readonly
|
|
12288
|
+
readonly isInsufficientBurnAmountForFee: boolean;
|
|
12289
|
+
readonly type: 'InvalidEthereumEvent' | 'InvalidProof' | 'InvalidRecipient' | 'InvalidAmount' | 'UnsupportedSource' | 'UnsupportedGateway' | 'UnsupportedToken' | 'UnexpectedNonce' | 'InvalidChainConfig' | 'InsufficientLiquidity' | 'InsufficientBurnAmountForFee';
|
|
12272
12290
|
}
|
|
12273
|
-
/** @name FrameSystemExtensionsAuthorizeCall (
|
|
12291
|
+
/** @name FrameSystemExtensionsAuthorizeCall (529) */
|
|
12274
12292
|
type FrameSystemExtensionsAuthorizeCall = Null;
|
|
12275
|
-
/** @name FrameSystemExtensionsCheckNonZeroSender (
|
|
12293
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (530) */
|
|
12276
12294
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
12277
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
12295
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (531) */
|
|
12278
12296
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
12279
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
12297
|
+
/** @name FrameSystemExtensionsCheckTxVersion (532) */
|
|
12280
12298
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
12281
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
12299
|
+
/** @name FrameSystemExtensionsCheckGenesis (533) */
|
|
12282
12300
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
12283
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
12301
|
+
/** @name FrameSystemExtensionsCheckNonce (536) */
|
|
12284
12302
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
12285
12303
|
}
|
|
12286
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
12304
|
+
/** @name FrameSystemExtensionsCheckWeight (537) */
|
|
12287
12305
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
12288
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
12306
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (538) */
|
|
12289
12307
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
12290
12308
|
}
|
|
12291
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
12309
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (539) */
|
|
12292
12310
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
12293
12311
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
12294
12312
|
}
|
|
12295
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
12313
|
+
/** @name FrameMetadataHashExtensionMode (540) */
|
|
12296
12314
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
12297
12315
|
readonly isDisabled: boolean;
|
|
12298
12316
|
readonly isEnabled: boolean;
|
|
12299
12317
|
readonly type: 'Disabled' | 'Enabled';
|
|
12300
12318
|
}
|
|
12301
|
-
/** @name FrameSystemExtensionsWeightReclaim (
|
|
12319
|
+
/** @name FrameSystemExtensionsWeightReclaim (541) */
|
|
12302
12320
|
type FrameSystemExtensionsWeightReclaim = Null;
|
|
12303
|
-
/** @name ArgonRuntimeRuntime (
|
|
12321
|
+
/** @name ArgonRuntimeRuntime (543) */
|
|
12304
12322
|
type ArgonRuntimeRuntime = Null;
|
|
12305
12323
|
}
|
|
12306
12324
|
|
|
@@ -12342,9 +12360,15 @@ declare class WageProtector {
|
|
|
12342
12360
|
}
|
|
12343
12361
|
|
|
12344
12362
|
declare const MICROGONS_PER_ARGON = 1000000;
|
|
12363
|
+
type IDispatchErrorLike = {
|
|
12364
|
+
isModule: boolean;
|
|
12365
|
+
asModule: Parameters<ArgonClient['registry']['findMetaError']>[0];
|
|
12366
|
+
toString(): string;
|
|
12367
|
+
};
|
|
12345
12368
|
declare function formatArgons(microgons: bigint | number): string;
|
|
12346
12369
|
declare function gettersToObject<T>(obj: T): Promise<T>;
|
|
12347
|
-
declare function dispatchErrorToString(client: ArgonClient, error:
|
|
12370
|
+
declare function dispatchErrorToString(client: ArgonClient, error: IDispatchErrorLike): string;
|
|
12371
|
+
declare function isOutdatedTransactionError(error: unknown): boolean;
|
|
12348
12372
|
declare class ExtrinsicError extends Error {
|
|
12349
12373
|
readonly errorCode: string;
|
|
12350
12374
|
readonly details?: string | undefined;
|
|
@@ -12353,7 +12377,7 @@ declare class ExtrinsicError extends Error {
|
|
|
12353
12377
|
constructor(errorCode: string, details?: string | undefined, batchInterruptedIndex?: number | undefined, txFee?: bigint);
|
|
12354
12378
|
toString(): string;
|
|
12355
12379
|
}
|
|
12356
|
-
declare function dispatchErrorToExtrinsicError(client: ArgonClient, error:
|
|
12380
|
+
declare function dispatchErrorToExtrinsicError(client: ArgonClient, error: IDispatchErrorLike, batchInterruptedIndex?: number, txFee?: bigint): ExtrinsicError;
|
|
12357
12381
|
/**
|
|
12358
12382
|
* Check for an extrinsic success event in the given events. Helpful to validate the result of an extrinsic inclusion in a block (it will be included even if it fails)
|
|
12359
12383
|
* @param events The events to check
|
|
@@ -12361,6 +12385,19 @@ declare function dispatchErrorToExtrinsicError(client: ArgonClient, error: Dispa
|
|
|
12361
12385
|
* @returns A promise that resolves if the extrinsic was successful, and rejects if it failed
|
|
12362
12386
|
*/
|
|
12363
12387
|
declare function checkForExtrinsicSuccess(events: EventRecord[], client: ArgonClient): Promise<void>;
|
|
12388
|
+
/**
|
|
12389
|
+
* Return a bigint value using a canonical field first, then named fallback fields on the same source object.
|
|
12390
|
+
* Helpful when reading runtime records that may use older field names across spec versions.
|
|
12391
|
+
* @param value The preferred bigint-like value, usually from the current field name
|
|
12392
|
+
* @param source The object to read fallback fields from
|
|
12393
|
+
* @param fallbackFields The fallback field names to check in order
|
|
12394
|
+
* @param fallback The value to return if no preferred or fallback field is present
|
|
12395
|
+
* @returns The preferred or fallback value converted to bigint
|
|
12396
|
+
*/
|
|
12397
|
+
declare function getBigIntFallback<T extends object>(value: IBigIntLike | undefined, source: T, fallbackFields: readonly string[], fallback?: bigint): bigint;
|
|
12398
|
+
type IBigIntLike = bigint | {
|
|
12399
|
+
toBigInt(): bigint;
|
|
12400
|
+
};
|
|
12364
12401
|
|
|
12365
12402
|
type ITxProgressCallback = (progressToInBlock: number, result?: TxResult) => void;
|
|
12366
12403
|
declare class TxResult {
|
|
@@ -12470,6 +12507,20 @@ declare function getFrameInfoFromHeader(header: Header): {
|
|
|
12470
12507
|
frameRewardTicksRemaining: number;
|
|
12471
12508
|
} | undefined;
|
|
12472
12509
|
|
|
12510
|
+
declare class PriceIndex {
|
|
12511
|
+
btcUsdPrice?: BigNumber;
|
|
12512
|
+
argonotUsdPrice?: BigNumber;
|
|
12513
|
+
argonUsdPrice?: BigNumber;
|
|
12514
|
+
argonUsdTargetPrice?: BigNumber;
|
|
12515
|
+
argonTimeWeightedAverageLiquidity?: BigNumber;
|
|
12516
|
+
lastUpdatedTick?: number;
|
|
12517
|
+
load(client: ArgonClient | ApiDecoration<'promise'>): Promise<this>;
|
|
12518
|
+
getSatoshiPriceInMarketMicrogons(satoshis: bigint | number): bigint;
|
|
12519
|
+
getSatoshiPriceInTargetMicrogons(satoshis: bigint | number): bigint;
|
|
12520
|
+
get rValue(): BigNumber;
|
|
12521
|
+
get argonCpi(): BigNumber;
|
|
12522
|
+
}
|
|
12523
|
+
|
|
12473
12524
|
interface ArgonPrimitivesVaultV144 extends Struct {
|
|
12474
12525
|
readonly operatorAccountId: AccountId32;
|
|
12475
12526
|
readonly securitization: Compact<u128>;
|
|
@@ -12509,6 +12560,9 @@ declare class Vault {
|
|
|
12509
12560
|
load(vault: ArgonPrimitivesVault | ArgonPrimitivesVaultV144): void;
|
|
12510
12561
|
availableBitcoinSpace(): bigint;
|
|
12511
12562
|
availableSecuritization(): bigint;
|
|
12563
|
+
availableBondSpace(priceIndex: PriceIndex, bondLots?: Iterable<{
|
|
12564
|
+
activeBonds: number;
|
|
12565
|
+
}>, bondFullCapacityPerFrame?: boolean): bigint;
|
|
12512
12566
|
getRelockCapacity(): bigint;
|
|
12513
12567
|
securitizationRatioBN(): BigNumber;
|
|
12514
12568
|
activatedSecuritization(): bigint;
|
|
@@ -12549,19 +12603,6 @@ declare function fromFixedNumber(value: bigint, decimals?: number): BigNumber;
|
|
|
12549
12603
|
declare const FIXED_U128_DECIMALS = 18;
|
|
12550
12604
|
declare const PERMILL_DECIMALS = 6;
|
|
12551
12605
|
|
|
12552
|
-
declare class PriceIndex {
|
|
12553
|
-
btcUsdPrice?: BigNumber;
|
|
12554
|
-
argonotUsdPrice?: BigNumber;
|
|
12555
|
-
argonUsdPrice?: BigNumber;
|
|
12556
|
-
argonUsdTargetPrice?: BigNumber;
|
|
12557
|
-
argonTimeWeightedAverageLiquidity?: BigNumber;
|
|
12558
|
-
lastUpdatedTick?: number;
|
|
12559
|
-
load(client: ArgonClient | ApiDecoration<'promise'>): Promise<this>;
|
|
12560
|
-
getBtcMicrogonPrice(satoshis: bigint | number): bigint;
|
|
12561
|
-
get rValue(): BigNumber;
|
|
12562
|
-
get argonCpi(): BigNumber;
|
|
12563
|
-
}
|
|
12564
|
-
|
|
12565
12606
|
declare const SATS_PER_BTC = 100000000n;
|
|
12566
12607
|
type IQueryableClient = ArgonClient | ApiDecoration<'promise'>;
|
|
12567
12608
|
type UtxoRefLike = ArgonPrimitivesBitcoinUtxoRef | {
|
|
@@ -12572,7 +12613,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12572
12613
|
utxoId: number;
|
|
12573
12614
|
p2wshScriptHashHex: string;
|
|
12574
12615
|
vaultId: number;
|
|
12575
|
-
|
|
12616
|
+
lockedTargetPrice: bigint;
|
|
12576
12617
|
liquidityPromised: bigint;
|
|
12577
12618
|
ownerAccount: string;
|
|
12578
12619
|
satoshis: bigint;
|
|
@@ -12607,23 +12648,22 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12607
12648
|
bitcoinTxid: string;
|
|
12608
12649
|
} | undefined>;
|
|
12609
12650
|
findPendingMints(client: IQueryableClient): Promise<bigint[]>;
|
|
12610
|
-
|
|
12651
|
+
calculateRatchetingCosts(client: IQueryableClient, priceIndex: PriceIndex, vault: Vault, microgonsAtTargetPerBtc?: bigint): Promise<{
|
|
12611
12652
|
burnAmount: bigint;
|
|
12612
12653
|
ratchetingFee: bigint;
|
|
12613
|
-
marketRate: bigint;
|
|
12614
12654
|
}>;
|
|
12615
12655
|
ratchet(args: {
|
|
12616
12656
|
client: ArgonClient;
|
|
12617
12657
|
priceIndex: PriceIndex;
|
|
12618
12658
|
txSigner: TxSigningAccount;
|
|
12619
12659
|
vault: Vault;
|
|
12620
|
-
|
|
12660
|
+
microgonsAtTargetPerBtc?: bigint;
|
|
12621
12661
|
} & ISubmittableOptions): Promise<{
|
|
12622
12662
|
txResult: TxResult;
|
|
12623
12663
|
getRatchetResult: () => Promise<{
|
|
12624
12664
|
securityFee: bigint;
|
|
12625
12665
|
txFee: bigint;
|
|
12626
|
-
|
|
12666
|
+
lockedTargetPrice: bigint;
|
|
12627
12667
|
liquidityPromised: bigint;
|
|
12628
12668
|
pendingMint: bigint;
|
|
12629
12669
|
burned: bigint;
|
|
@@ -12631,7 +12671,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12631
12671
|
bitcoinBlockHeight: number;
|
|
12632
12672
|
}>;
|
|
12633
12673
|
}>;
|
|
12634
|
-
|
|
12674
|
+
calculateRedemptionAmount(priceIndex: PriceIndex): bigint;
|
|
12635
12675
|
requestRelease(args: {
|
|
12636
12676
|
client: ArgonClient;
|
|
12637
12677
|
priceIndex: PriceIndex;
|
|
@@ -12651,11 +12691,9 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12651
12691
|
} | undefined>;
|
|
12652
12692
|
getVaultCosignSignature(client: ArgonClient, atHeight: number): Promise<Uint8Array | undefined>;
|
|
12653
12693
|
static getUtxoIdFromEvents(client: IQueryableClient, events: GenericEvent$1[]): Promise<number | undefined>;
|
|
12654
|
-
static
|
|
12655
|
-
static
|
|
12656
|
-
|
|
12657
|
-
lockedMarketRate?: bigint;
|
|
12658
|
-
}): Promise<bigint>;
|
|
12694
|
+
static calculateRedemptionAmountFromSatoshis(priceIndex: PriceIndex, satoshis: bigint, lockedTargetPrice?: bigint): bigint;
|
|
12695
|
+
static calculateRedemptionAmount(priceIndex: PriceIndex, btcMicrogonsAtTarget: bigint, maxMicrogonsAtTarget?: bigint): bigint;
|
|
12696
|
+
private static redemptionMultiplierBn;
|
|
12659
12697
|
static getConfig(client: IQueryableClient): Promise<IBitcoinLockConfig>;
|
|
12660
12698
|
static getBitcoinConfirmedBlockHeight(client: IQueryableClient): Promise<number>;
|
|
12661
12699
|
static submitVaultSignature(args: {
|
|
@@ -12695,7 +12733,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12695
12733
|
satoshis: bigint;
|
|
12696
12734
|
txSigner: TxSigningAccount;
|
|
12697
12735
|
reducedBalanceBy?: bigint;
|
|
12698
|
-
|
|
12736
|
+
microgonsAtTargetPerBtc?: bigint;
|
|
12699
12737
|
tip?: bigint;
|
|
12700
12738
|
initializeForAccountId?: string;
|
|
12701
12739
|
}): Promise<{
|
|
@@ -12726,7 +12764,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
12726
12764
|
createdAtHeight: number;
|
|
12727
12765
|
txResult: TxResult;
|
|
12728
12766
|
}>;
|
|
12729
|
-
static
|
|
12767
|
+
static satoshisRequiredForRedemptionAmount(priceIndex: PriceIndex, redemptionAmount: bigint): bigint;
|
|
12730
12768
|
}
|
|
12731
12769
|
interface IBitcoinLockConfig {
|
|
12732
12770
|
lockReleaseCosignDeadlineFrames: number;
|
|
@@ -12742,13 +12780,13 @@ interface IReleaseRequest {
|
|
|
12742
12780
|
interface IReleaseRequestDetails extends IReleaseRequest {
|
|
12743
12781
|
dueFrame: number;
|
|
12744
12782
|
vaultId: number;
|
|
12745
|
-
|
|
12783
|
+
redemptionAmount: bigint;
|
|
12746
12784
|
}
|
|
12747
12785
|
interface IBitcoinLock {
|
|
12748
12786
|
utxoId: number;
|
|
12749
12787
|
p2wshScriptHashHex: string;
|
|
12750
12788
|
vaultId: number;
|
|
12751
|
-
|
|
12789
|
+
lockedTargetPrice: bigint;
|
|
12752
12790
|
liquidityPromised: bigint;
|
|
12753
12791
|
ownerAccount: string;
|
|
12754
12792
|
satoshis: bigint;
|
|
@@ -12770,6 +12808,12 @@ interface IBitcoinLock {
|
|
|
12770
12808
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
12771
12809
|
}
|
|
12772
12810
|
|
|
12811
|
+
declare const MINTING_GATEWAY_BURN_FOR_TRANSFER_EVENT_NAME: 'BurnForTransfer';
|
|
12812
|
+
declare const MINTING_GATEWAY_RUNTIME_DECIMALS: 6;
|
|
12813
|
+
declare const MINTING_GATEWAY_TOKEN_DECIMALS: 18;
|
|
12814
|
+
declare const MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE: bigint;
|
|
12815
|
+
declare const mintingGatewayArtifact: __artifacts_contracts_MintingGateway_sol_artifacts_js.MintingGateway$Type;
|
|
12816
|
+
|
|
12773
12817
|
type VerifyEventLog = IArgonQueryable['call']['ethereumApis']['verifyEventLog'];
|
|
12774
12818
|
type EthereumVerifyEventLogResult = Awaited<ReturnType<VerifyEventLog>>;
|
|
12775
12819
|
type EthereumReceipt = Awaited<ReturnType<ReturnType<typeof createPublicClient>['getTransactionReceipt']>>;
|
|
@@ -12809,6 +12853,7 @@ type EthereumEventProof = {
|
|
|
12809
12853
|
};
|
|
12810
12854
|
};
|
|
12811
12855
|
declare function buildEthereumEventProof(client: IArgonQueryable, { txHash, logIndex, receipt: providedReceipt, ...executionSource }: EthereumEventLocator): Promise<EthereumEventProof>;
|
|
12856
|
+
declare function findEthereumBurnForTransferLogIndex(receipt: EthereumReceipt, gatewayAddress: Hex): number;
|
|
12812
12857
|
declare function getLatestRetainedAnchor(client: IArgonQueryable): Promise<RetainedExecutionAnchor>;
|
|
12813
12858
|
declare function waitForRetainedExecutionAnchor(client: IArgonQueryable, targetBlockNumber: bigint, options?: {
|
|
12814
12859
|
pollMs?: number;
|
|
@@ -12849,4 +12894,4 @@ declare function waitForLoad(): Promise<void>;
|
|
|
12849
12894
|
declare function getClient(host: string, options?: ApiOptions): Promise<ArgonClient>;
|
|
12850
12895
|
declare function getOfflineRegistry(): TypeRegistry;
|
|
12851
12896
|
|
|
12852
|
-
export { type ArgonClient, BitcoinLock, type EthereumEventLocator, type EthereumEventProof, type EthereumExecutionClient, type EthereumReceipt, type EthereumVerifyEventLogResult, 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, type RetainedExecutionAnchor, SATS_PER_BTC, TxResult, type TxSigningAccount, TxSubmitter, Vault, WageProtector, buildEthereumEventProof, checkForExtrinsicSuccess, createKeyringPair, dispatchErrorToExtrinsicError, dispatchErrorToString, formatArgons, fromFixedNumber, getAuthorFromHeader, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestRetainedAnchor, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, keyringFromSuri, toFixedNumber, waitForLoad, waitForRetainedExecutionAnchor };
|
|
12897
|
+
export { type ArgonClient, BitcoinLock, type EthereumEventLocator, type EthereumEventProof, type EthereumExecutionClient, type EthereumReceipt, type EthereumVerifyEventLogResult, ExtrinsicError, FIXED_U128_DECIMALS, type IArgonQueryable, type IBitcoinLock, type IBitcoinLockConfig, type IReleaseRequest, type IReleaseRequestDetails, type ISubmittableOptions, type ITerms, type ITxProgressCallback, MICROGONS_PER_ARGON, MINTING_GATEWAY_BURN_FOR_TRANSFER_EVENT_NAME, MINTING_GATEWAY_RUNTIME_DECIMALS, MINTING_GATEWAY_RUNTIME_TO_ERC20_SCALE, MINTING_GATEWAY_TOKEN_DECIMALS, PERMILL_DECIMALS, PriceIndex, type RetainedExecutionAnchor, SATS_PER_BTC, TxResult, type TxSigningAccount, TxSubmitter, Vault, WageProtector, buildEthereumEventProof, checkForExtrinsicSuccess, createKeyringPair, dispatchErrorToExtrinsicError, dispatchErrorToString, findEthereumBurnForTransferLogIndex, formatArgons, fromFixedNumber, getAuthorFromHeader, getBigIntFallback, getClient, getEthereumBeaconSyncBootstrapTx, getEthereumBeaconSyncState, getFrameInfoFromHeader, getLatestRetainedAnchor, getNextEthereumBeaconSyncTxs, getOfflineRegistry, getTickFromHeader, gettersToObject, isOutdatedTransactionError, keyringFromSuri, mintingGatewayArtifact, toFixedNumber, waitForLoad, waitForRetainedExecutionAnchor };
|