@argonprotocol/mainchain 1.4.2 → 1.4.3-dev.00d9506b
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 +73 -67
- package/browser/index.js +11 -2
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +11 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +73 -67
- package/lib/index.d.ts +73 -67
- package/lib/index.js +11 -2
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -4124,6 +4124,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4124
4124
|
AccountId32,
|
|
4125
4125
|
ArgonPrimitivesBitcoinUtxoRef
|
|
4126
4126
|
]>;
|
|
4127
|
+
/**
|
|
4128
|
+
* Index of active UTXO IDs per vault
|
|
4129
|
+
**/
|
|
4130
|
+
utxoIdsByVaultId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [
|
|
4131
|
+
u32,
|
|
4132
|
+
u64
|
|
4133
|
+
]>;
|
|
4127
4134
|
};
|
|
4128
4135
|
bitcoinUtxos: {
|
|
4129
4136
|
/**
|
|
@@ -4301,9 +4308,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4301
4308
|
pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChainTransferQueuedTransferOut>>, [
|
|
4302
4309
|
u32
|
|
4303
4310
|
]>;
|
|
4304
|
-
transfersUsedInBlockNotebooks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u32]>>>, [
|
|
4305
|
-
u32
|
|
4306
|
-
]>;
|
|
4307
4311
|
};
|
|
4308
4312
|
digests: {
|
|
4309
4313
|
tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, [
|
|
@@ -12156,7 +12160,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12156
12160
|
readonly fundHoldExtensions: BTreeMap<u64, u128>;
|
|
12157
12161
|
readonly createdAtArgonBlock: Compact<u32>;
|
|
12158
12162
|
}
|
|
12159
|
-
/** @name PalletBitcoinLocksLockReleaseRequest (
|
|
12163
|
+
/** @name PalletBitcoinLocksLockReleaseRequest (421) */
|
|
12160
12164
|
interface PalletBitcoinLocksLockReleaseRequest extends Struct {
|
|
12161
12165
|
readonly utxoId: Compact<u64>;
|
|
12162
12166
|
readonly vaultId: Compact<u32>;
|
|
@@ -12165,7 +12169,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12165
12169
|
readonly toScriptPubkey: Bytes;
|
|
12166
12170
|
readonly redemptionPrice: Compact<u128>;
|
|
12167
12171
|
}
|
|
12168
|
-
/** @name PalletBitcoinLocksOrphanedUtxo (
|
|
12172
|
+
/** @name PalletBitcoinLocksOrphanedUtxo (423) */
|
|
12169
12173
|
interface PalletBitcoinLocksOrphanedUtxo extends Struct {
|
|
12170
12174
|
readonly utxoId: Compact<u64>;
|
|
12171
12175
|
readonly vaultId: Compact<u32>;
|
|
@@ -12173,20 +12177,20 @@ declare module '@polkadot/types/lookup' {
|
|
|
12173
12177
|
readonly recordedArgonBlockNumber: Compact<u32>;
|
|
12174
12178
|
readonly cosignRequest: Option<PalletBitcoinLocksOrphanedUtxoCosignRequest>;
|
|
12175
12179
|
}
|
|
12176
|
-
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (
|
|
12180
|
+
/** @name PalletBitcoinLocksOrphanedUtxoCosignRequest (425) */
|
|
12177
12181
|
interface PalletBitcoinLocksOrphanedUtxoCosignRequest extends Struct {
|
|
12178
12182
|
readonly bitcoinNetworkFee: u64;
|
|
12179
12183
|
readonly toScriptPubkey: Bytes;
|
|
12180
12184
|
readonly createdAtArgonBlockNumber: u32;
|
|
12181
12185
|
}
|
|
12182
|
-
/** @name PalletBitcoinLocksFeeCoupon (
|
|
12186
|
+
/** @name PalletBitcoinLocksFeeCoupon (432) */
|
|
12183
12187
|
interface PalletBitcoinLocksFeeCoupon extends Struct {
|
|
12184
12188
|
readonly vaultId: Compact<u32>;
|
|
12185
12189
|
readonly maxSatoshis: Compact<u64>;
|
|
12186
12190
|
readonly expirationFrame: Compact<u64>;
|
|
12187
12191
|
readonly maxFeePlusTip: Option<u128>;
|
|
12188
12192
|
}
|
|
12189
|
-
/** @name PalletBitcoinLocksError (
|
|
12193
|
+
/** @name PalletBitcoinLocksError (434) */
|
|
12190
12194
|
interface PalletBitcoinLocksError extends Enum {
|
|
12191
12195
|
readonly isInsufficientFunds: boolean;
|
|
12192
12196
|
readonly isInsufficientVaultFunds: boolean;
|
|
@@ -12231,7 +12235,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12231
12235
|
readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
|
|
12232
12236
|
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' | 'InvalidFeeCoupon' | 'InvalidFeeCouponProof' | 'MaxFeeCouponSatoshisExceeded' | 'FeeCouponAlreadyExists' | 'FeeCouponRequired' | 'OrphanedUtxoFundingConflict' | 'OrphanedUtxoReleaseRequested' | 'FundingUtxoCannotBeReleased' | 'MaxOrphanedUtxoReleaseRequestsExceeded';
|
|
12233
12237
|
}
|
|
12234
|
-
/** @name ArgonPrimitivesVaultVaultError (
|
|
12238
|
+
/** @name ArgonPrimitivesVaultVaultError (435) */
|
|
12235
12239
|
interface ArgonPrimitivesVaultVaultError extends Enum {
|
|
12236
12240
|
readonly isVaultClosed: boolean;
|
|
12237
12241
|
readonly isAccountWouldBeBelowMinimum: boolean;
|
|
@@ -12247,7 +12251,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12247
12251
|
readonly isVaultNotYetActive: boolean;
|
|
12248
12252
|
readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
|
|
12249
12253
|
}
|
|
12250
|
-
/** @name PalletNotariesError (
|
|
12254
|
+
/** @name PalletNotariesError (447) */
|
|
12251
12255
|
interface PalletNotariesError extends Enum {
|
|
12252
12256
|
readonly isProposalNotFound: boolean;
|
|
12253
12257
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -12260,7 +12264,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12260
12264
|
readonly isInvalidNotary: boolean;
|
|
12261
12265
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
12262
12266
|
}
|
|
12263
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
12267
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (451) */
|
|
12264
12268
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
12265
12269
|
readonly notebookNumber: Compact<u32>;
|
|
12266
12270
|
readonly tick: Compact<u64>;
|
|
@@ -12268,7 +12272,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12268
12272
|
readonly secretHash: H256;
|
|
12269
12273
|
readonly parentSecret: Option<H256>;
|
|
12270
12274
|
}
|
|
12271
|
-
/** @name PalletNotebookError (
|
|
12275
|
+
/** @name PalletNotebookError (454) */
|
|
12272
12276
|
interface PalletNotebookError extends Enum {
|
|
12273
12277
|
readonly isDuplicateNotebookNumber: boolean;
|
|
12274
12278
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -12287,17 +12291,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
12287
12291
|
readonly isInvalidNotebookSubmissionTick: boolean;
|
|
12288
12292
|
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
|
|
12289
12293
|
}
|
|
12290
|
-
/** @name PalletChainTransferQueuedTransferOut (
|
|
12294
|
+
/** @name PalletChainTransferQueuedTransferOut (455) */
|
|
12291
12295
|
interface PalletChainTransferQueuedTransferOut extends Struct {
|
|
12292
12296
|
readonly accountId: AccountId32;
|
|
12293
12297
|
readonly amount: u128;
|
|
12294
12298
|
readonly expirationTick: u64;
|
|
12295
12299
|
readonly notaryId: u32;
|
|
12296
12300
|
}
|
|
12297
|
-
/** @name FrameSupportPalletId (
|
|
12301
|
+
/** @name FrameSupportPalletId (457) */
|
|
12298
12302
|
interface FrameSupportPalletId extends U8aFixed {
|
|
12299
12303
|
}
|
|
12300
|
-
/** @name PalletChainTransferError (
|
|
12304
|
+
/** @name PalletChainTransferError (458) */
|
|
12301
12305
|
interface PalletChainTransferError extends Enum {
|
|
12302
12306
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
12303
12307
|
readonly isInsufficientFunds: boolean;
|
|
@@ -12309,7 +12313,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12309
12313
|
readonly isNoAvailableTransferId: boolean;
|
|
12310
12314
|
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer' | 'NotaryLockedForTransfer' | 'NoAvailableTransferId';
|
|
12311
12315
|
}
|
|
12312
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
12316
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (462) */
|
|
12313
12317
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
12314
12318
|
readonly notaryId: Compact<u32>;
|
|
12315
12319
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -12317,12 +12321,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
12317
12321
|
readonly blockVotesCount: Compact<u32>;
|
|
12318
12322
|
readonly blockVotingPower: Compact<u128>;
|
|
12319
12323
|
}
|
|
12320
|
-
/** @name PalletBlockSealSpecError (
|
|
12324
|
+
/** @name PalletBlockSealSpecError (467) */
|
|
12321
12325
|
interface PalletBlockSealSpecError extends Enum {
|
|
12322
12326
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
12323
12327
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
12324
12328
|
}
|
|
12325
|
-
/** @name PalletDomainsError (
|
|
12329
|
+
/** @name PalletDomainsError (469) */
|
|
12326
12330
|
interface PalletDomainsError extends Enum {
|
|
12327
12331
|
readonly isDomainNotRegistered: boolean;
|
|
12328
12332
|
readonly isNotDomainOwner: boolean;
|
|
@@ -12331,13 +12335,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
12331
12335
|
readonly isAccountDecodingError: boolean;
|
|
12332
12336
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
12333
12337
|
}
|
|
12334
|
-
/** @name PalletPriceIndexCpiMeasurementBucket (
|
|
12338
|
+
/** @name PalletPriceIndexCpiMeasurementBucket (471) */
|
|
12335
12339
|
interface PalletPriceIndexCpiMeasurementBucket extends Struct {
|
|
12336
12340
|
readonly tickRange: ITuple<[u64, u64]>;
|
|
12337
12341
|
readonly totalCpi: i128;
|
|
12338
12342
|
readonly measurementsCount: u32;
|
|
12339
12343
|
}
|
|
12340
|
-
/** @name PalletPriceIndexError (
|
|
12344
|
+
/** @name PalletPriceIndexError (473) */
|
|
12341
12345
|
interface PalletPriceIndexError extends Enum {
|
|
12342
12346
|
readonly isNotAuthorizedOperator: boolean;
|
|
12343
12347
|
readonly isMissingValue: boolean;
|
|
@@ -12345,7 +12349,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12345
12349
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
12346
12350
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
12347
12351
|
}
|
|
12348
|
-
/** @name PalletGrandpaStoredState (
|
|
12352
|
+
/** @name PalletGrandpaStoredState (474) */
|
|
12349
12353
|
interface PalletGrandpaStoredState extends Enum {
|
|
12350
12354
|
readonly isLive: boolean;
|
|
12351
12355
|
readonly isPendingPause: boolean;
|
|
@@ -12361,14 +12365,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
12361
12365
|
} & Struct;
|
|
12362
12366
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
12363
12367
|
}
|
|
12364
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
12368
|
+
/** @name PalletGrandpaStoredPendingChange (475) */
|
|
12365
12369
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
12366
12370
|
readonly scheduledAt: u32;
|
|
12367
12371
|
readonly delay: u32;
|
|
12368
12372
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
12369
12373
|
readonly forced: Option<u32>;
|
|
12370
12374
|
}
|
|
12371
|
-
/** @name PalletGrandpaError (
|
|
12375
|
+
/** @name PalletGrandpaError (477) */
|
|
12372
12376
|
interface PalletGrandpaError extends Enum {
|
|
12373
12377
|
readonly isPauseFailed: boolean;
|
|
12374
12378
|
readonly isResumeFailed: boolean;
|
|
@@ -12379,13 +12383,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
12379
12383
|
readonly isDuplicateOffenceReport: boolean;
|
|
12380
12384
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
12381
12385
|
}
|
|
12382
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
12386
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (478) */
|
|
12383
12387
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
12384
12388
|
readonly blockAuthorAccountId: AccountId32;
|
|
12385
12389
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
12386
12390
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
12387
12391
|
}
|
|
12388
|
-
/** @name PalletBlockSealError (
|
|
12392
|
+
/** @name PalletBlockSealError (480) */
|
|
12389
12393
|
interface PalletBlockSealError extends Enum {
|
|
12390
12394
|
readonly isInvalidVoteSealStrength: boolean;
|
|
12391
12395
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -12410,59 +12414,59 @@ declare module '@polkadot/types/lookup' {
|
|
|
12410
12414
|
readonly isDuplicateVoteBlockAtTick: boolean;
|
|
12411
12415
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick' | 'InvalidMinerNonceScore' | 'DuplicateVoteBlockAtTick';
|
|
12412
12416
|
}
|
|
12413
|
-
/** @name PalletBlockRewardsError (
|
|
12417
|
+
/** @name PalletBlockRewardsError (484) */
|
|
12414
12418
|
type PalletBlockRewardsError = Null;
|
|
12415
|
-
/** @name PalletMintMintAction (
|
|
12419
|
+
/** @name PalletMintMintAction (490) */
|
|
12416
12420
|
interface PalletMintMintAction extends Struct {
|
|
12417
12421
|
readonly argonBurned: u128;
|
|
12418
12422
|
readonly argonMinted: u128;
|
|
12419
12423
|
readonly bitcoinMinted: u128;
|
|
12420
12424
|
}
|
|
12421
|
-
/** @name PalletMintError (
|
|
12425
|
+
/** @name PalletMintError (491) */
|
|
12422
12426
|
interface PalletMintError extends Enum {
|
|
12423
12427
|
readonly isTooManyPendingMints: boolean;
|
|
12424
12428
|
readonly type: 'TooManyPendingMints';
|
|
12425
12429
|
}
|
|
12426
|
-
/** @name PalletBalancesBalanceLock (
|
|
12430
|
+
/** @name PalletBalancesBalanceLock (493) */
|
|
12427
12431
|
interface PalletBalancesBalanceLock extends Struct {
|
|
12428
12432
|
readonly id: U8aFixed;
|
|
12429
12433
|
readonly amount: u128;
|
|
12430
12434
|
readonly reasons: PalletBalancesReasons;
|
|
12431
12435
|
}
|
|
12432
|
-
/** @name PalletBalancesReasons (
|
|
12436
|
+
/** @name PalletBalancesReasons (494) */
|
|
12433
12437
|
interface PalletBalancesReasons extends Enum {
|
|
12434
12438
|
readonly isFee: boolean;
|
|
12435
12439
|
readonly isMisc: boolean;
|
|
12436
12440
|
readonly isAll: boolean;
|
|
12437
12441
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
12438
12442
|
}
|
|
12439
|
-
/** @name PalletBalancesReserveData (
|
|
12443
|
+
/** @name PalletBalancesReserveData (497) */
|
|
12440
12444
|
interface PalletBalancesReserveData extends Struct {
|
|
12441
12445
|
readonly id: U8aFixed;
|
|
12442
12446
|
readonly amount: u128;
|
|
12443
12447
|
}
|
|
12444
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
12448
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (500) */
|
|
12445
12449
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
12446
12450
|
readonly id: ArgonRuntimeRuntimeHoldReason;
|
|
12447
12451
|
readonly amount: u128;
|
|
12448
12452
|
}
|
|
12449
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
12453
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (503) */
|
|
12450
12454
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
12451
12455
|
readonly id: ArgonRuntimeRuntimeFreezeReason;
|
|
12452
12456
|
readonly amount: u128;
|
|
12453
12457
|
}
|
|
12454
|
-
/** @name ArgonRuntimeRuntimeFreezeReason (
|
|
12458
|
+
/** @name ArgonRuntimeRuntimeFreezeReason (504) */
|
|
12455
12459
|
interface ArgonRuntimeRuntimeFreezeReason extends Enum {
|
|
12456
12460
|
readonly isBlockRewards: boolean;
|
|
12457
12461
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
12458
12462
|
readonly type: 'BlockRewards';
|
|
12459
12463
|
}
|
|
12460
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
12464
|
+
/** @name PalletBlockRewardsFreezeReason (505) */
|
|
12461
12465
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
12462
12466
|
readonly isMaturationPeriod: boolean;
|
|
12463
12467
|
readonly type: 'MaturationPeriod';
|
|
12464
12468
|
}
|
|
12465
|
-
/** @name PalletBalancesError (
|
|
12469
|
+
/** @name PalletBalancesError (507) */
|
|
12466
12470
|
interface PalletBalancesError extends Enum {
|
|
12467
12471
|
readonly isVestingBalance: boolean;
|
|
12468
12472
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -12478,7 +12482,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12478
12482
|
readonly isDeltaZero: boolean;
|
|
12479
12483
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
12480
12484
|
}
|
|
12481
|
-
/** @name PalletTxPauseError (
|
|
12485
|
+
/** @name PalletTxPauseError (509) */
|
|
12482
12486
|
interface PalletTxPauseError extends Enum {
|
|
12483
12487
|
readonly isIsPaused: boolean;
|
|
12484
12488
|
readonly isIsUnpaused: boolean;
|
|
@@ -12486,30 +12490,30 @@ declare module '@polkadot/types/lookup' {
|
|
|
12486
12490
|
readonly isNotFound: boolean;
|
|
12487
12491
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
12488
12492
|
}
|
|
12489
|
-
/** @name PalletTransactionPaymentReleases (
|
|
12493
|
+
/** @name PalletTransactionPaymentReleases (510) */
|
|
12490
12494
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
12491
12495
|
readonly isV1Ancient: boolean;
|
|
12492
12496
|
readonly isV2: boolean;
|
|
12493
12497
|
readonly type: 'V1Ancient' | 'V2';
|
|
12494
12498
|
}
|
|
12495
|
-
/** @name FrameSupportStorageNoDrop (
|
|
12499
|
+
/** @name FrameSupportStorageNoDrop (511) */
|
|
12496
12500
|
interface FrameSupportStorageNoDrop extends FrameSupportTokensFungibleImbalance {
|
|
12497
12501
|
}
|
|
12498
|
-
/** @name FrameSupportTokensFungibleImbalance (
|
|
12502
|
+
/** @name FrameSupportTokensFungibleImbalance (512) */
|
|
12499
12503
|
interface FrameSupportTokensFungibleImbalance extends Struct {
|
|
12500
12504
|
readonly amount: u128;
|
|
12501
12505
|
}
|
|
12502
|
-
/** @name PalletUtilityError (
|
|
12506
|
+
/** @name PalletUtilityError (513) */
|
|
12503
12507
|
interface PalletUtilityError extends Enum {
|
|
12504
12508
|
readonly isTooManyCalls: boolean;
|
|
12505
12509
|
readonly type: 'TooManyCalls';
|
|
12506
12510
|
}
|
|
12507
|
-
/** @name PalletSudoError (
|
|
12511
|
+
/** @name PalletSudoError (514) */
|
|
12508
12512
|
interface PalletSudoError extends Enum {
|
|
12509
12513
|
readonly isRequireSudo: boolean;
|
|
12510
12514
|
readonly type: 'RequireSudo';
|
|
12511
12515
|
}
|
|
12512
|
-
/** @name PalletIsmpError (
|
|
12516
|
+
/** @name PalletIsmpError (515) */
|
|
12513
12517
|
interface PalletIsmpError extends Enum {
|
|
12514
12518
|
readonly isInvalidMessage: boolean;
|
|
12515
12519
|
readonly isMessageNotFound: boolean;
|
|
@@ -12519,9 +12523,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
12519
12523
|
readonly isErrorChargingFee: boolean;
|
|
12520
12524
|
readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed' | 'ErrorChargingFee';
|
|
12521
12525
|
}
|
|
12522
|
-
/** @name PalletHyperbridgeError (
|
|
12526
|
+
/** @name PalletHyperbridgeError (516) */
|
|
12523
12527
|
type PalletHyperbridgeError = Null;
|
|
12524
|
-
/** @name PalletTokenGatewayError (
|
|
12528
|
+
/** @name PalletTokenGatewayError (518) */
|
|
12525
12529
|
interface PalletTokenGatewayError extends Enum {
|
|
12526
12530
|
readonly isUnregisteredAsset: boolean;
|
|
12527
12531
|
readonly isAssetTeleportError: boolean;
|
|
@@ -12534,13 +12538,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
12534
12538
|
readonly isNotAssetOwner: boolean;
|
|
12535
12539
|
readonly type: 'UnregisteredAsset' | 'AssetTeleportError' | 'CoprocessorNotConfigured' | 'DispatchError' | 'AssetCreationError' | 'AssetDecimalsNotFound' | 'NotInitialized' | 'UnknownAsset' | 'NotAssetOwner';
|
|
12536
12540
|
}
|
|
12537
|
-
/** @name PalletTreasuryTreasuryPool (
|
|
12541
|
+
/** @name PalletTreasuryTreasuryPool (520) */
|
|
12538
12542
|
interface PalletTreasuryTreasuryPool extends Struct {
|
|
12539
12543
|
readonly bondHolders: Vec<ITuple<[AccountId32, u128]>>;
|
|
12540
12544
|
readonly distributedEarnings: Option<u128>;
|
|
12541
12545
|
readonly vaultSharingPercent: Compact<Permill>;
|
|
12542
12546
|
}
|
|
12543
|
-
/** @name PalletTreasuryFunderState (
|
|
12547
|
+
/** @name PalletTreasuryFunderState (527) */
|
|
12544
12548
|
interface PalletTreasuryFunderState extends Struct {
|
|
12545
12549
|
readonly targetPrincipal: Compact<u128>;
|
|
12546
12550
|
readonly bondedPrincipal: Compact<u128>;
|
|
@@ -12549,13 +12553,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
12549
12553
|
readonly lifetimePrincipalDeployed: Compact<u128>;
|
|
12550
12554
|
readonly lifetimePrincipalLastBasisFrame: Compact<u64>;
|
|
12551
12555
|
}
|
|
12552
|
-
/** @name PalletTreasuryTreasuryCapital (
|
|
12556
|
+
/** @name PalletTreasuryTreasuryCapital (529) */
|
|
12553
12557
|
interface PalletTreasuryTreasuryCapital extends Struct {
|
|
12554
12558
|
readonly vaultId: Compact<u32>;
|
|
12555
12559
|
readonly activatedCapital: Compact<u128>;
|
|
12556
12560
|
readonly frameId: Compact<u64>;
|
|
12557
12561
|
}
|
|
12558
|
-
/** @name PalletTreasuryError (
|
|
12562
|
+
/** @name PalletTreasuryError (533) */
|
|
12559
12563
|
interface PalletTreasuryError extends Enum {
|
|
12560
12564
|
readonly isContributionTooLow: boolean;
|
|
12561
12565
|
readonly isVaultNotAcceptingMiningBonds: boolean;
|
|
@@ -12569,12 +12573,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
12569
12573
|
readonly isNotAVaultOperator: boolean;
|
|
12570
12574
|
readonly type: 'ContributionTooLow' | 'VaultNotAcceptingMiningBonds' | 'BelowMinimum' | 'NotAFundContributor' | 'InternalError' | 'CouldNotFindTreasury' | 'MaxContributorsExceeded' | 'MaxVaultsExceeded' | 'AlreadyRenewed' | 'NotAVaultOperator';
|
|
12571
12575
|
}
|
|
12572
|
-
/** @name PalletFeeControlError (
|
|
12576
|
+
/** @name PalletFeeControlError (534) */
|
|
12573
12577
|
interface PalletFeeControlError extends Enum {
|
|
12574
12578
|
readonly isSponsoredFeeTooHigh: boolean;
|
|
12575
12579
|
readonly type: 'SponsoredFeeTooHigh';
|
|
12576
12580
|
}
|
|
12577
|
-
/** @name PalletOperationalAccountsOperationalAccount (
|
|
12581
|
+
/** @name PalletOperationalAccountsOperationalAccount (536) */
|
|
12578
12582
|
interface PalletOperationalAccountsOperationalAccount extends Struct {
|
|
12579
12583
|
readonly vaultAccount: AccountId32;
|
|
12580
12584
|
readonly miningFundingAccount: AccountId32;
|
|
@@ -12597,24 +12601,24 @@ declare module '@polkadot/types/lookup' {
|
|
|
12597
12601
|
readonly rewardsCollectedAmount: u128;
|
|
12598
12602
|
readonly isOperational: bool;
|
|
12599
12603
|
}
|
|
12600
|
-
/** @name PalletOperationalAccountsAccessCodeMetadata (
|
|
12604
|
+
/** @name PalletOperationalAccountsAccessCodeMetadata (537) */
|
|
12601
12605
|
interface PalletOperationalAccountsAccessCodeMetadata extends Struct {
|
|
12602
12606
|
readonly sponsor: AccountId32;
|
|
12603
12607
|
readonly expirationFrame: Compact<u64>;
|
|
12604
12608
|
}
|
|
12605
|
-
/** @name PalletOperationalAccountsRewardsConfig (
|
|
12609
|
+
/** @name PalletOperationalAccountsRewardsConfig (540) */
|
|
12606
12610
|
interface PalletOperationalAccountsRewardsConfig extends Struct {
|
|
12607
12611
|
readonly operationalReferralReward: Compact<u128>;
|
|
12608
12612
|
readonly referralBonusReward: Compact<u128>;
|
|
12609
12613
|
}
|
|
12610
|
-
/** @name ArgonPrimitivesProvidersOperationalRewardPayout (
|
|
12614
|
+
/** @name ArgonPrimitivesProvidersOperationalRewardPayout (542) */
|
|
12611
12615
|
interface ArgonPrimitivesProvidersOperationalRewardPayout extends Struct {
|
|
12612
12616
|
readonly operationalAccount: AccountId32;
|
|
12613
12617
|
readonly payoutAccount: AccountId32;
|
|
12614
12618
|
readonly rewardKind: ArgonPrimitivesProvidersOperationalRewardKind;
|
|
12615
12619
|
readonly amount: u128;
|
|
12616
12620
|
}
|
|
12617
|
-
/** @name PalletOperationalAccountsError (
|
|
12621
|
+
/** @name PalletOperationalAccountsError (545) */
|
|
12618
12622
|
interface PalletOperationalAccountsError extends Enum {
|
|
12619
12623
|
readonly isAlreadyRegistered: boolean;
|
|
12620
12624
|
readonly isInvalidRegistrationSubmitter: boolean;
|
|
@@ -12632,37 +12636,37 @@ declare module '@polkadot/types/lookup' {
|
|
|
12632
12636
|
readonly isNotSponsorOfSponsee: boolean;
|
|
12633
12637
|
readonly type: 'AlreadyRegistered' | 'InvalidRegistrationSubmitter' | 'AccountAlreadyLinked' | 'InvalidAccountProof' | 'NotOperationalAccount' | 'AccessCodeAlreadyRegistered' | 'InvalidAccessCode' | 'InvalidAccessCodeProof' | 'NoIssuableAccessCodes' | 'MaxUnactivatedAccessCodesReached' | 'MaxAccessCodesExpiringPerFrameReached' | 'NoProgressUpdateProvided' | 'EncryptedServerTooLong' | 'NotSponsorOfSponsee';
|
|
12634
12638
|
}
|
|
12635
|
-
/** @name FrameSystemExtensionsAuthorizeCall (
|
|
12639
|
+
/** @name FrameSystemExtensionsAuthorizeCall (548) */
|
|
12636
12640
|
type FrameSystemExtensionsAuthorizeCall = Null;
|
|
12637
|
-
/** @name FrameSystemExtensionsCheckNonZeroSender (
|
|
12641
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (549) */
|
|
12638
12642
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
12639
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
12643
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (550) */
|
|
12640
12644
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
12641
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
12645
|
+
/** @name FrameSystemExtensionsCheckTxVersion (551) */
|
|
12642
12646
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
12643
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
12647
|
+
/** @name FrameSystemExtensionsCheckGenesis (552) */
|
|
12644
12648
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
12645
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
12649
|
+
/** @name FrameSystemExtensionsCheckNonce (555) */
|
|
12646
12650
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
12647
12651
|
}
|
|
12648
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
12652
|
+
/** @name FrameSystemExtensionsCheckWeight (556) */
|
|
12649
12653
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
12650
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
12654
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (557) */
|
|
12651
12655
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
12652
12656
|
}
|
|
12653
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
12657
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (558) */
|
|
12654
12658
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
12655
12659
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
12656
12660
|
}
|
|
12657
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
12661
|
+
/** @name FrameMetadataHashExtensionMode (559) */
|
|
12658
12662
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
12659
12663
|
readonly isDisabled: boolean;
|
|
12660
12664
|
readonly isEnabled: boolean;
|
|
12661
12665
|
readonly type: 'Disabled' | 'Enabled';
|
|
12662
12666
|
}
|
|
12663
|
-
/** @name FrameSystemExtensionsWeightReclaim (
|
|
12667
|
+
/** @name FrameSystemExtensionsWeightReclaim (560) */
|
|
12664
12668
|
type FrameSystemExtensionsWeightReclaim = Null;
|
|
12665
|
-
/** @name ArgonRuntimeRuntime (
|
|
12669
|
+
/** @name ArgonRuntimeRuntime (562) */
|
|
12666
12670
|
type ArgonRuntimeRuntime = Null;
|
|
12667
12671
|
}
|
|
12668
12672
|
|
|
@@ -12855,6 +12859,8 @@ declare class Vault {
|
|
|
12855
12859
|
openedDate: Date;
|
|
12856
12860
|
openedTick: number;
|
|
12857
12861
|
securitizationRatio: number;
|
|
12862
|
+
lockedSatoshis: number;
|
|
12863
|
+
securitizedSatoshis: number;
|
|
12858
12864
|
constructor(id: number, vault: ArgonPrimitivesVault, tickDuration: number);
|
|
12859
12865
|
load(vault: ArgonPrimitivesVault | ArgonPrimitivesVaultV144): void;
|
|
12860
12866
|
availableBitcoinSpace(): bigint;
|