@argonprotocol/mainchain 1.1.0-rc.8 → 1.2.0
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/README.md +3 -3
- package/lib/chunk-BQR6FEVP.js +854 -0
- package/lib/chunk-BQR6FEVP.js.map +1 -0
- package/lib/chunk-CHGCEO2U.cjs +2567 -0
- package/lib/chunk-CHGCEO2U.cjs.map +1 -0
- package/lib/chunk-EY3HYZMJ.cjs +854 -0
- package/lib/chunk-EY3HYZMJ.cjs.map +1 -0
- package/lib/chunk-RXCQYVE7.js +2567 -0
- package/lib/chunk-RXCQYVE7.js.map +1 -0
- package/lib/cli.cjs +5 -3346
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +5 -3342
- package/lib/cli.js.map +1 -1
- package/lib/clis/index.cjs +4 -3354
- package/lib/clis/index.cjs.map +1 -1
- package/lib/clis/index.d.cts +1 -2
- package/lib/clis/index.d.ts +1 -2
- package/lib/clis/index.js +14 -3342
- package/lib/clis/index.js.map +1 -1
- package/lib/index.cjs +80 -2579
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +851 -666
- package/lib/index.d.ts +851 -666
- package/lib/index.js +43 -2471
- package/lib/index.js.map +1 -1
- package/package.json +10 -7
package/lib/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as _polkadot_api_base_types from '@polkadot/api-base/types';
|
|
2
2
|
import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
|
|
3
|
-
import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, U8aFixed, U256, i128, Result, Null, BTreeMap, Compact, Text, HashMap, U64, f64, Json, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize, Struct, Enum } from '@polkadot/types-codec';
|
|
4
|
-
import { ITuple, AnyNumber, IMethod, Codec
|
|
3
|
+
import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, U8aFixed, U256, i128, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U64, f64, Json, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize, Struct, Enum } from '@polkadot/types-codec';
|
|
4
|
+
import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
|
|
5
5
|
export * from '@polkadot/types-codec/types';
|
|
6
6
|
import { Percent, AccountId32, H256, MultiAddress, Call, Hash, SignedBlock, BlockNumber, Header, StorageData, AccountId, Justification, H160, H64, KeyValue, Index, Block, ExtrinsicInclusionMode, KeyTypeId, 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, 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
|
-
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo,
|
|
7
|
+
import { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpWeightsRuntimeDbWeight, SpVersionRuntimeVersion, FrameSupportTokensMiscBalanceStatus, SpRuntimeDispatchError, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinBitcoinRejectedReason, ArgonPrimitivesBlockSealBlockPayout, PalletDomainsDomainRegistration, ArgonPrimitivesDomainZoneRecord, ArgonRuntimeOriginCaller, SpConsensusGrandpaAppPublic, PalletHyperbridgeVersionedHostParams, PalletIsmpErrorsHandlingError, IsmpEventsRequestResponseHandled, IsmpEventsTimeoutHandled, IsmpHostStateMachine, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, ArgonPrimitivesBlockSealMiningRegistration, PalletMintMintType, PalletMultisigTimepoint, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesNotaryNotaryMeta, ArgonNotaryAuditErrorVerifyError, PalletProxyDepositKind, ArgonRuntimeProxyType, FrameSystemDispatchEventInfo, PalletBalancesAccountData, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockedBitcoin, PalletBitcoinLocksLockReleaseRequest, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, PalletLiquidityPoolsLiquidityPoolCapital, PalletLiquidityPoolsLiquidityPool, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningSlotConfig, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, PalletVaultsVaultFrameFeeRevenue, ArgonPrimitivesVault, ArgonPrimitivesBitcoinBitcoinXPub, PalletBalancesAdjustmentDirection, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesInherentsBitcoinUtxoSync, SpConsensusGrandpaEquivocationProof, SpCoreVoid, IsmpMessagingCreateConsensusState, PalletIsmpUtilsFundMessageParams, IsmpMessagingMessage, PalletIsmpUtilsUpdateConsensusState, IsmpGrandpaAddStateMachine, ArgonRuntimeSessionKeys, ArgonPrimitivesNotebookSignedNotebookHeader, PalletTokenGatewayAssetRegistration, PalletTokenGatewayTeleportParams, PalletTokenGatewayPrecisionUpdate, TokenGatewayPrimitivesGatewayAssetUpdate, PalletVaultsVaultConfig, ArgonPrimitivesVaultVaultTerms, ArgonPrimitivesBitcoinOpaqueBitcoinXpub } from '@polkadot/types/lookup';
|
|
8
8
|
export * from '@polkadot/types/lookup';
|
|
9
9
|
import * as _polkadot_types_types from '@polkadot/types/types';
|
|
10
10
|
import { Observable, IExtrinsic } from '@polkadot/types/types';
|
|
11
11
|
import { AugmentedRpc } from '@polkadot/rpc-core/types';
|
|
12
|
-
import { StorageKey, Metadata, Data, GenericEvent as
|
|
12
|
+
import { StorageKey, Metadata, Data, GenericEvent, Header as Header$2, ArgonPrimitivesVault as ArgonPrimitivesVault$1 } from '@polkadot/types';
|
|
13
13
|
export * from '@polkadot/types';
|
|
14
14
|
import { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
|
|
15
15
|
import { EpochAuthorship, OpaqueKeyOwnershipProof, AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
|
|
@@ -90,10 +90,9 @@ export { KeypairType } from '@polkadot/util-crypto/types';
|
|
|
90
90
|
import { ISubmittableResult } from '@polkadot/types/types/extrinsic';
|
|
91
91
|
import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
|
|
92
92
|
import { SignerOptions, ApiDecoration } from '@polkadot/api/types';
|
|
93
|
-
import * as nanoevents from 'nanoevents';
|
|
94
|
-
import { Header as Header$1, DispatchError as DispatchError$1 } from '@polkadot/types/interfaces';
|
|
95
|
-
export * from '@polkadot/types/interfaces';
|
|
96
93
|
import BigNumber from 'bignumber.js';
|
|
94
|
+
import { DispatchError as DispatchError$1, Header as Header$1 } from '@polkadot/types/interfaces';
|
|
95
|
+
export * from '@polkadot/types/interfaces';
|
|
97
96
|
|
|
98
97
|
declare module '@polkadot/api-base/types/consts' {
|
|
99
98
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
@@ -137,7 +136,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
137
136
|
**/
|
|
138
137
|
lockDurationBlocks: u64 & AugmentedConst<ApiType>;
|
|
139
138
|
/**
|
|
140
|
-
* The bitcoin blocks after
|
|
139
|
+
* The bitcoin blocks after a BitcoinLock expires which the vault will be allowed to claim
|
|
141
140
|
* a bitcoin
|
|
142
141
|
**/
|
|
143
142
|
lockReclamationBlocks: u64 & AugmentedConst<ApiType>;
|
|
@@ -145,6 +144,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
145
144
|
* Number of bitcoin blocks a vault has to counter-sign a bitcoin release
|
|
146
145
|
**/
|
|
147
146
|
lockReleaseCosignDeadlineBlocks: u64 & AugmentedConst<ApiType>;
|
|
147
|
+
/**
|
|
148
|
+
* Pallet storage requires bounds, so we have to set a maximum number that can expire in a
|
|
149
|
+
* single block
|
|
150
|
+
**/
|
|
151
|
+
maxConcurrentlyExpiringLocks: u32 & AugmentedConst<ApiType>;
|
|
148
152
|
/**
|
|
149
153
|
* Maximum releasing utxos at a time
|
|
150
154
|
**/
|
|
@@ -260,7 +264,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
260
264
|
};
|
|
261
265
|
miningSlot: {
|
|
262
266
|
/**
|
|
263
|
-
* The max percent swing for the argonots per slot (from the last percent
|
|
267
|
+
* The max percent swing for the argonots per slot (from the last percent)
|
|
264
268
|
**/
|
|
265
269
|
argonotsPercentAdjustmentDamper: u128 & AugmentedConst<ApiType>;
|
|
266
270
|
/**
|
|
@@ -268,7 +272,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
268
272
|
**/
|
|
269
273
|
bidIncrements: u128 & AugmentedConst<ApiType>;
|
|
270
274
|
/**
|
|
271
|
-
*
|
|
275
|
+
* The number of frames a miner operates for
|
|
276
|
+
**/
|
|
277
|
+
framesPerMiningTerm: u32 & AugmentedConst<ApiType>;
|
|
278
|
+
/**
|
|
279
|
+
* How many new miners can be in the cohort for each slot. The actual maximum will adjust
|
|
280
|
+
* dynamically
|
|
272
281
|
**/
|
|
273
282
|
maxCohortSize: u32 & AugmentedConst<ApiType>;
|
|
274
283
|
/**
|
|
@@ -277,18 +286,26 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
277
286
|
**/
|
|
278
287
|
maximumArgonotProrataPercent: Percent & AugmentedConst<ApiType>;
|
|
279
288
|
/**
|
|
280
|
-
* The
|
|
289
|
+
* The minimum number of miners per cohort
|
|
281
290
|
**/
|
|
282
|
-
|
|
291
|
+
minCohortSize: u32 & AugmentedConst<ApiType>;
|
|
283
292
|
/**
|
|
284
293
|
* The minimum argonots needed per seat
|
|
285
294
|
**/
|
|
286
295
|
minimumArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
|
|
296
|
+
/**
|
|
297
|
+
* The damper on the price per seat adjustment (from the last price)
|
|
298
|
+
**/
|
|
299
|
+
pricePerSeatAdjustmentDamper: u128 & AugmentedConst<ApiType>;
|
|
287
300
|
/**
|
|
288
301
|
* The target number of bids per slot. This will adjust the argonots per seat up or
|
|
289
302
|
* down to ensure mining slots are filled.
|
|
290
303
|
**/
|
|
291
304
|
targetBidsPerSlot: u32 & AugmentedConst<ApiType>;
|
|
305
|
+
/**
|
|
306
|
+
* The target price per seat.
|
|
307
|
+
**/
|
|
308
|
+
targetPricePerSeat: u128 & AugmentedConst<ApiType>;
|
|
292
309
|
};
|
|
293
310
|
mint: {
|
|
294
311
|
/**
|
|
@@ -519,27 +536,14 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
519
536
|
batchedCallsLimit: u32 & AugmentedConst<ApiType>;
|
|
520
537
|
};
|
|
521
538
|
vaults: {
|
|
522
|
-
/**
|
|
523
|
-
* Pallet storage requires bounds, so we have to set a maximum number that can expire in a
|
|
524
|
-
* single block
|
|
525
|
-
**/
|
|
526
|
-
maxConcurrentlyExpiringObligations: u32 & AugmentedConst<ApiType>;
|
|
527
539
|
/**
|
|
528
540
|
* The max pending vault term changes per block
|
|
529
541
|
**/
|
|
530
542
|
maxPendingTermModificationsPerTick: u32 & AugmentedConst<ApiType>;
|
|
531
543
|
/**
|
|
532
|
-
*
|
|
533
|
-
**/
|
|
534
|
-
minimumObligationAmount: u128 & AugmentedConst<ApiType>;
|
|
535
|
-
/**
|
|
536
|
-
* The number of ticks that a funding change will be delayed before it takes effect
|
|
544
|
+
* The max number of vaults that can be created
|
|
537
545
|
**/
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* Argon blocks per day
|
|
541
|
-
**/
|
|
542
|
-
ticksPerDay: u64 & AugmentedConst<ApiType>;
|
|
546
|
+
maxVaults: u32 & AugmentedConst<ApiType>;
|
|
543
547
|
};
|
|
544
548
|
}
|
|
545
549
|
}
|
|
@@ -627,10 +631,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
627
631
|
BitcoinUnableToBeDecodedForRelease: AugmentedError<ApiType>;
|
|
628
632
|
BitcoinUtxoNotFound: AugmentedError<ApiType>;
|
|
629
633
|
/**
|
|
630
|
-
*
|
|
634
|
+
* An overflow occurred recording a lock expiration
|
|
631
635
|
**/
|
|
632
636
|
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
633
|
-
|
|
637
|
+
GenericVaultError: AugmentedError<ApiType>;
|
|
634
638
|
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
635
639
|
InsufficientFunds: AugmentedError<ApiType>;
|
|
636
640
|
InsufficientSatoshisLocked: AugmentedError<ApiType>;
|
|
@@ -643,16 +647,25 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
643
647
|
* Funding would result in an overflow of the balance type
|
|
644
648
|
**/
|
|
645
649
|
InvalidVaultAmount: AugmentedError<ApiType>;
|
|
650
|
+
/**
|
|
651
|
+
* A lock in process of release cannot be ratcheted
|
|
652
|
+
**/
|
|
653
|
+
LockInProcessOfRelease: AugmentedError<ApiType>;
|
|
646
654
|
LockNotFound: AugmentedError<ApiType>;
|
|
647
|
-
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
648
655
|
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
649
|
-
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
650
656
|
NoPermissions: AugmentedError<ApiType>;
|
|
657
|
+
/**
|
|
658
|
+
* Nothing to ratchet
|
|
659
|
+
**/
|
|
660
|
+
NoRatchetingAvailable: AugmentedError<ApiType>;
|
|
651
661
|
/**
|
|
652
662
|
* No Vault public keys are available
|
|
653
663
|
**/
|
|
654
664
|
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
655
|
-
|
|
665
|
+
/**
|
|
666
|
+
* An overflow or underflow occurred while calculating the redemption price
|
|
667
|
+
**/
|
|
668
|
+
OverflowError: AugmentedError<ApiType>;
|
|
656
669
|
/**
|
|
657
670
|
* This bitcoin redemption has not been locked in
|
|
658
671
|
**/
|
|
@@ -662,6 +675,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
662
675
|
**/
|
|
663
676
|
UnableToGenerateVaultBitcoinPubkey: AugmentedError<ApiType>;
|
|
664
677
|
UnrecoverableHold: AugmentedError<ApiType>;
|
|
678
|
+
/**
|
|
679
|
+
* The lock is not verified
|
|
680
|
+
**/
|
|
681
|
+
UnverifiedLock: AugmentedError<ApiType>;
|
|
665
682
|
VaultClosed: AugmentedError<ApiType>;
|
|
666
683
|
VaultNotFound: AugmentedError<ApiType>;
|
|
667
684
|
/**
|
|
@@ -997,42 +1014,42 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
997
1014
|
VaultNotAcceptingMiningBonds: AugmentedError<ApiType>;
|
|
998
1015
|
};
|
|
999
1016
|
miningSlot: {
|
|
1000
|
-
AccountWouldBeBelowMinimum: AugmentedError<ApiType>;
|
|
1001
1017
|
/**
|
|
1002
1018
|
* The mining bid cannot be reduced
|
|
1003
1019
|
**/
|
|
1004
1020
|
BidCannotBeReduced: AugmentedError<ApiType>;
|
|
1021
|
+
/**
|
|
1022
|
+
* The given bid isn't high enough to be in the cohort
|
|
1023
|
+
**/
|
|
1005
1024
|
BidTooLow: AugmentedError<ApiType>;
|
|
1006
1025
|
/**
|
|
1007
|
-
*
|
|
1026
|
+
* An account can only have one active registration
|
|
1008
1027
|
**/
|
|
1009
|
-
CannotRegisterDuplicateKeys: AugmentedError<ApiType>;
|
|
1010
1028
|
CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
|
|
1011
1029
|
/**
|
|
1012
|
-
*
|
|
1030
|
+
* The funding account does not have enough funds to cover the bid
|
|
1013
1031
|
**/
|
|
1014
|
-
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
1015
|
-
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
1016
1032
|
InsufficientFunds: AugmentedError<ApiType>;
|
|
1033
|
+
/**
|
|
1034
|
+
* This funding account does not hold the minimum argonots needed
|
|
1035
|
+
**/
|
|
1017
1036
|
InsufficientOwnershipTokens: AugmentedError<ApiType>;
|
|
1018
|
-
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
1019
1037
|
/**
|
|
1020
1038
|
* Bids must be in allowed increments
|
|
1021
1039
|
**/
|
|
1022
1040
|
InvalidBidAmount: AugmentedError<ApiType>;
|
|
1023
1041
|
/**
|
|
1024
|
-
*
|
|
1042
|
+
* Bidding for the next cohort has closed
|
|
1025
1043
|
**/
|
|
1026
|
-
InvalidKeyFormat: AugmentedError<ApiType>;
|
|
1027
|
-
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
1028
|
-
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
1029
|
-
NoPermissions: AugmentedError<ApiType>;
|
|
1030
|
-
ObligationNotFound: AugmentedError<ApiType>;
|
|
1031
1044
|
SlotNotTakingBids: AugmentedError<ApiType>;
|
|
1045
|
+
/**
|
|
1046
|
+
* The cohort registration overflowed
|
|
1047
|
+
**/
|
|
1032
1048
|
TooManyBlockRegistrants: AugmentedError<ApiType>;
|
|
1049
|
+
/**
|
|
1050
|
+
* The argonots on hold cannot be released
|
|
1051
|
+
**/
|
|
1033
1052
|
UnrecoverableHold: AugmentedError<ApiType>;
|
|
1034
|
-
VaultClosed: AugmentedError<ApiType>;
|
|
1035
|
-
VaultNotFound: AugmentedError<ApiType>;
|
|
1036
1053
|
};
|
|
1037
1054
|
mint: {
|
|
1038
1055
|
TooManyPendingMints: AugmentedError<ApiType>;
|
|
@@ -1059,7 +1076,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1059
1076
|
**/
|
|
1060
1077
|
NoApprovalsNeeded: AugmentedError<ApiType>;
|
|
1061
1078
|
/**
|
|
1062
|
-
* Multisig operation not found
|
|
1079
|
+
* Multisig operation not found in storage.
|
|
1063
1080
|
**/
|
|
1064
1081
|
NotFound: AugmentedError<ApiType>;
|
|
1065
1082
|
/**
|
|
@@ -1067,7 +1084,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1067
1084
|
**/
|
|
1068
1085
|
NoTimepoint: AugmentedError<ApiType>;
|
|
1069
1086
|
/**
|
|
1070
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
1087
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
1088
|
+
* its deposits.
|
|
1071
1089
|
**/
|
|
1072
1090
|
NotOwner: AugmentedError<ApiType>;
|
|
1073
1091
|
/**
|
|
@@ -1410,24 +1428,22 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1410
1428
|
* The proposed transaction would take the account below the minimum (existential) balance
|
|
1411
1429
|
**/
|
|
1412
1430
|
AccountBelowMinimumBalance: AugmentedError<ApiType>;
|
|
1413
|
-
/**
|
|
1414
|
-
* Too many base fee maturations were inserted per tick
|
|
1415
|
-
**/
|
|
1416
|
-
BaseFeeOverflow: AugmentedError<ApiType>;
|
|
1417
1431
|
/**
|
|
1418
1432
|
* Bitcoin conversion to compressed pubkey failed
|
|
1419
1433
|
**/
|
|
1420
1434
|
BitcoinConversionFailed: AugmentedError<ApiType>;
|
|
1421
|
-
/**
|
|
1422
|
-
* There are too many obligations expiring in the given expiration block
|
|
1423
|
-
**/
|
|
1424
|
-
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
1425
1435
|
/**
|
|
1426
1436
|
* A funding change is already scheduled
|
|
1427
1437
|
**/
|
|
1428
1438
|
FundingChangeAlreadyScheduled: AugmentedError<ApiType>;
|
|
1429
1439
|
HoldUnexpectedlyModified: AugmentedError<ApiType>;
|
|
1440
|
+
/**
|
|
1441
|
+
* The user doesn't have enough funds to complete this request
|
|
1442
|
+
**/
|
|
1430
1443
|
InsufficientFunds: AugmentedError<ApiType>;
|
|
1444
|
+
/**
|
|
1445
|
+
* There aren't enough funds in the vault to cover the requested bitcoin lock
|
|
1446
|
+
**/
|
|
1431
1447
|
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
1432
1448
|
/**
|
|
1433
1449
|
* An internal processing error occurred
|
|
@@ -1450,19 +1466,15 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1450
1466
|
* Unable to decode xpubkey
|
|
1451
1467
|
**/
|
|
1452
1468
|
InvalidXpubkey: AugmentedError<ApiType>;
|
|
1453
|
-
|
|
1454
|
-
|
|
1469
|
+
/**
|
|
1470
|
+
* Internally, the vault ids are maxed out
|
|
1471
|
+
**/
|
|
1455
1472
|
NoMoreVaultIds: AugmentedError<ApiType>;
|
|
1456
1473
|
NoPermissions: AugmentedError<ApiType>;
|
|
1457
1474
|
/**
|
|
1458
1475
|
* No Vault public keys are available
|
|
1459
1476
|
**/
|
|
1460
1477
|
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
1461
|
-
/**
|
|
1462
|
-
* An error occurred processing an obligation completion
|
|
1463
|
-
**/
|
|
1464
|
-
ObligationCompletionError: AugmentedError<ApiType>;
|
|
1465
|
-
ObligationNotFound: AugmentedError<ApiType>;
|
|
1466
1478
|
/**
|
|
1467
1479
|
* The vault bitcoin xpubkey has already been used
|
|
1468
1480
|
**/
|
|
@@ -1488,6 +1500,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1488
1500
|
* The XPub is unsafe to use in a public blockchain (aka, unhardened)
|
|
1489
1501
|
**/
|
|
1490
1502
|
UnsafeXpubkey: AugmentedError<ApiType>;
|
|
1503
|
+
/**
|
|
1504
|
+
* This vault is closed
|
|
1505
|
+
**/
|
|
1491
1506
|
VaultClosed: AugmentedError<ApiType>;
|
|
1492
1507
|
VaultNotFound: AugmentedError<ApiType>;
|
|
1493
1508
|
/**
|
|
@@ -1731,65 +1746,64 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1731
1746
|
bitcoinLocks: {
|
|
1732
1747
|
BitcoinCosignPastDue: AugmentedEvent<ApiType, [
|
|
1733
1748
|
utxoId: u64,
|
|
1734
|
-
obligationId: u64,
|
|
1735
1749
|
vaultId: u32,
|
|
1736
1750
|
compensationAmount: u128,
|
|
1737
|
-
compensationStillOwed: u128,
|
|
1738
1751
|
compensatedAccountId: AccountId32
|
|
1739
1752
|
], {
|
|
1740
1753
|
utxoId: u64;
|
|
1741
|
-
obligationId: u64;
|
|
1742
1754
|
vaultId: u32;
|
|
1743
1755
|
compensationAmount: u128;
|
|
1744
|
-
compensationStillOwed: u128;
|
|
1745
1756
|
compensatedAccountId: AccountId32;
|
|
1746
1757
|
}>;
|
|
1747
1758
|
BitcoinLockBurned: AugmentedEvent<ApiType, [
|
|
1748
1759
|
utxoId: u64,
|
|
1749
1760
|
vaultId: u32,
|
|
1750
|
-
obligationId: u64,
|
|
1751
|
-
amountBurned: u128,
|
|
1752
|
-
amountHeld: u128,
|
|
1753
1761
|
wasUtxoSpent: bool
|
|
1754
1762
|
], {
|
|
1755
1763
|
utxoId: u64;
|
|
1756
1764
|
vaultId: u32;
|
|
1757
|
-
obligationId: u64;
|
|
1758
|
-
amountBurned: u128;
|
|
1759
|
-
amountHeld: u128;
|
|
1760
1765
|
wasUtxoSpent: bool;
|
|
1761
1766
|
}>;
|
|
1762
1767
|
BitcoinLockCreated: AugmentedEvent<ApiType, [
|
|
1763
1768
|
utxoId: u64,
|
|
1764
1769
|
vaultId: u32,
|
|
1765
|
-
obligationId: u64,
|
|
1766
1770
|
lockPrice: u128,
|
|
1767
1771
|
accountId: AccountId32
|
|
1768
1772
|
], {
|
|
1769
1773
|
utxoId: u64;
|
|
1770
1774
|
vaultId: u32;
|
|
1771
|
-
obligationId: u64;
|
|
1772
1775
|
lockPrice: u128;
|
|
1773
1776
|
accountId: AccountId32;
|
|
1774
1777
|
}>;
|
|
1778
|
+
BitcoinLockRatcheted: AugmentedEvent<ApiType, [
|
|
1779
|
+
utxoId: u64,
|
|
1780
|
+
vaultId: u32,
|
|
1781
|
+
originalLockPrice: u128,
|
|
1782
|
+
newLockPrice: u128,
|
|
1783
|
+
amountBurned: u128,
|
|
1784
|
+
accountId: AccountId32
|
|
1785
|
+
], {
|
|
1786
|
+
utxoId: u64;
|
|
1787
|
+
vaultId: u32;
|
|
1788
|
+
originalLockPrice: u128;
|
|
1789
|
+
newLockPrice: u128;
|
|
1790
|
+
amountBurned: u128;
|
|
1791
|
+
accountId: AccountId32;
|
|
1792
|
+
}>;
|
|
1775
1793
|
BitcoinUtxoCosigned: AugmentedEvent<ApiType, [
|
|
1776
1794
|
utxoId: u64,
|
|
1777
|
-
obligationId: u64,
|
|
1778
1795
|
vaultId: u32,
|
|
1779
1796
|
signature: Bytes
|
|
1780
1797
|
], {
|
|
1781
1798
|
utxoId: u64;
|
|
1782
|
-
obligationId: u64;
|
|
1783
1799
|
vaultId: u32;
|
|
1784
1800
|
signature: Bytes;
|
|
1785
1801
|
}>;
|
|
1786
1802
|
BitcoinUtxoCosignRequested: AugmentedEvent<ApiType, [
|
|
1787
1803
|
utxoId: u64,
|
|
1788
|
-
obligationId: u64,
|
|
1789
1804
|
vaultId: u32
|
|
1790
1805
|
], {
|
|
1791
1806
|
utxoId: u64;
|
|
1792
|
-
obligationId: u64;
|
|
1793
1807
|
vaultId: u32;
|
|
1794
1808
|
}>;
|
|
1795
1809
|
/**
|
|
@@ -1802,6 +1816,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1802
1816
|
utxoId: u64;
|
|
1803
1817
|
error: SpRuntimeDispatchError;
|
|
1804
1818
|
}>;
|
|
1819
|
+
/**
|
|
1820
|
+
* An error occurred while completing a lock
|
|
1821
|
+
**/
|
|
1822
|
+
LockExpirationError: AugmentedEvent<ApiType, [
|
|
1823
|
+
utxoId: u64,
|
|
1824
|
+
error: SpRuntimeDispatchError
|
|
1825
|
+
], {
|
|
1826
|
+
utxoId: u64;
|
|
1827
|
+
error: SpRuntimeDispatchError;
|
|
1828
|
+
}>;
|
|
1805
1829
|
};
|
|
1806
1830
|
bitcoinUtxos: {
|
|
1807
1831
|
UtxoExpiredError: AugmentedEvent<ApiType, [
|
|
@@ -2253,12 +2277,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2253
2277
|
* Funds from the active bid pool have been distributed
|
|
2254
2278
|
**/
|
|
2255
2279
|
BidPoolDistributed: AugmentedEvent<ApiType, [
|
|
2256
|
-
|
|
2280
|
+
frameId: u64,
|
|
2257
2281
|
bidPoolDistributed: u128,
|
|
2258
2282
|
bidPoolBurned: u128,
|
|
2259
2283
|
bidPoolShares: u32
|
|
2260
2284
|
], {
|
|
2261
|
-
|
|
2285
|
+
frameId: u64;
|
|
2262
2286
|
bidPoolDistributed: u128;
|
|
2263
2287
|
bidPoolBurned: u128;
|
|
2264
2288
|
bidPoolShares: u32;
|
|
@@ -2267,11 +2291,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2267
2291
|
* An error occurred burning from the bid pool
|
|
2268
2292
|
**/
|
|
2269
2293
|
CouldNotBurnBidPool: AugmentedEvent<ApiType, [
|
|
2270
|
-
|
|
2294
|
+
frameId: u64,
|
|
2271
2295
|
amount: u128,
|
|
2272
2296
|
dispatchError: SpRuntimeDispatchError
|
|
2273
2297
|
], {
|
|
2274
|
-
|
|
2298
|
+
frameId: u64;
|
|
2275
2299
|
amount: u128;
|
|
2276
2300
|
dispatchError: SpRuntimeDispatchError;
|
|
2277
2301
|
}>;
|
|
@@ -2280,14 +2304,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2280
2304
|
**/
|
|
2281
2305
|
CouldNotDistributeBidPool: AugmentedEvent<ApiType, [
|
|
2282
2306
|
accountId: AccountId32,
|
|
2283
|
-
|
|
2307
|
+
frameId: u64,
|
|
2284
2308
|
vaultId: u32,
|
|
2285
2309
|
amount: u128,
|
|
2286
2310
|
dispatchError: SpRuntimeDispatchError,
|
|
2287
2311
|
isForVault: bool
|
|
2288
2312
|
], {
|
|
2289
2313
|
accountId: AccountId32;
|
|
2290
|
-
|
|
2314
|
+
frameId: u64;
|
|
2291
2315
|
vaultId: u32;
|
|
2292
2316
|
amount: u128;
|
|
2293
2317
|
dispatchError: SpRuntimeDispatchError;
|
|
@@ -2297,13 +2321,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2297
2321
|
* An error occurred releasing a contributor hold
|
|
2298
2322
|
**/
|
|
2299
2323
|
ErrorRefundingLiquidityPoolCapital: AugmentedEvent<ApiType, [
|
|
2300
|
-
|
|
2324
|
+
frameId: u64,
|
|
2301
2325
|
vaultId: u32,
|
|
2302
2326
|
amount: u128,
|
|
2303
2327
|
accountId: AccountId32,
|
|
2304
2328
|
dispatchError: SpRuntimeDispatchError
|
|
2305
2329
|
], {
|
|
2306
|
-
|
|
2330
|
+
frameId: u64;
|
|
2307
2331
|
vaultId: u32;
|
|
2308
2332
|
amount: u128;
|
|
2309
2333
|
accountId: AccountId32;
|
|
@@ -2313,11 +2337,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2313
2337
|
* The next bid pool has been locked in
|
|
2314
2338
|
**/
|
|
2315
2339
|
NextBidPoolCapitalLocked: AugmentedEvent<ApiType, [
|
|
2316
|
-
|
|
2340
|
+
frameId: u64,
|
|
2317
2341
|
totalActivatedCapital: u128,
|
|
2318
2342
|
participatingVaults: u32
|
|
2319
2343
|
], {
|
|
2320
|
-
|
|
2344
|
+
frameId: u64;
|
|
2321
2345
|
totalActivatedCapital: u128;
|
|
2322
2346
|
participatingVaults: u32;
|
|
2323
2347
|
}>;
|
|
@@ -2326,12 +2350,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2326
2350
|
* capital
|
|
2327
2351
|
**/
|
|
2328
2352
|
RefundedLiquidityPoolCapital: AugmentedEvent<ApiType, [
|
|
2329
|
-
|
|
2353
|
+
frameId: u64,
|
|
2330
2354
|
vaultId: u32,
|
|
2331
2355
|
amount: u128,
|
|
2332
2356
|
accountId: AccountId32
|
|
2333
2357
|
], {
|
|
2334
|
-
|
|
2358
|
+
frameId: u64;
|
|
2335
2359
|
vaultId: u32;
|
|
2336
2360
|
amount: u128;
|
|
2337
2361
|
accountId: AccountId32;
|
|
@@ -2342,9 +2366,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2342
2366
|
* Bids are closed due to the VRF randomized function triggering
|
|
2343
2367
|
**/
|
|
2344
2368
|
MiningBidsClosed: AugmentedEvent<ApiType, [
|
|
2345
|
-
|
|
2369
|
+
frameId: u64
|
|
2346
2370
|
], {
|
|
2347
|
-
|
|
2371
|
+
frameId: u64;
|
|
2348
2372
|
}>;
|
|
2349
2373
|
MiningConfigurationUpdated: AugmentedEvent<ApiType, [
|
|
2350
2374
|
ticksBeforeBidEndForVrfClose: u64,
|
|
@@ -2356,15 +2380,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2356
2380
|
slotBiddingStartAfterTicks: u64;
|
|
2357
2381
|
}>;
|
|
2358
2382
|
NewMiners: AugmentedEvent<ApiType, [
|
|
2359
|
-
startIndex: u32,
|
|
2360
2383
|
newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>,
|
|
2361
2384
|
releasedMiners: u32,
|
|
2362
|
-
|
|
2385
|
+
frameId: u64
|
|
2363
2386
|
], {
|
|
2364
|
-
startIndex: u32;
|
|
2365
2387
|
newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
|
|
2366
2388
|
releasedMiners: u32;
|
|
2367
|
-
|
|
2389
|
+
frameId: u64;
|
|
2368
2390
|
}>;
|
|
2369
2391
|
ReleaseBidError: AugmentedEvent<ApiType, [
|
|
2370
2392
|
accountId: AccountId32,
|
|
@@ -2444,6 +2466,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2444
2466
|
}>;
|
|
2445
2467
|
};
|
|
2446
2468
|
multisig: {
|
|
2469
|
+
/**
|
|
2470
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
2471
|
+
**/
|
|
2472
|
+
DepositPoked: AugmentedEvent<ApiType, [
|
|
2473
|
+
who: AccountId32,
|
|
2474
|
+
callHash: U8aFixed,
|
|
2475
|
+
oldDeposit: u128,
|
|
2476
|
+
newDeposit: u128
|
|
2477
|
+
], {
|
|
2478
|
+
who: AccountId32;
|
|
2479
|
+
callHash: U8aFixed;
|
|
2480
|
+
oldDeposit: u128;
|
|
2481
|
+
newDeposit: u128;
|
|
2482
|
+
}>;
|
|
2447
2483
|
/**
|
|
2448
2484
|
* A multisig operation has been approved by someone.
|
|
2449
2485
|
**/
|
|
@@ -2828,6 +2864,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2828
2864
|
proxy: AccountId32;
|
|
2829
2865
|
callHash: H256;
|
|
2830
2866
|
}>;
|
|
2867
|
+
/**
|
|
2868
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
2869
|
+
**/
|
|
2870
|
+
DepositPoked: AugmentedEvent<ApiType, [
|
|
2871
|
+
who: AccountId32,
|
|
2872
|
+
kind: PalletProxyDepositKind,
|
|
2873
|
+
oldDeposit: u128,
|
|
2874
|
+
newDeposit: u128
|
|
2875
|
+
], {
|
|
2876
|
+
who: AccountId32;
|
|
2877
|
+
kind: PalletProxyDepositKind;
|
|
2878
|
+
oldDeposit: u128;
|
|
2879
|
+
newDeposit: u128;
|
|
2880
|
+
}>;
|
|
2831
2881
|
/**
|
|
2832
2882
|
* A proxy was added.
|
|
2833
2883
|
**/
|
|
@@ -2951,6 +3001,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2951
3001
|
], {
|
|
2952
3002
|
account: AccountId32;
|
|
2953
3003
|
}>;
|
|
3004
|
+
/**
|
|
3005
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
3006
|
+
**/
|
|
3007
|
+
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [
|
|
3008
|
+
codeHash: H256,
|
|
3009
|
+
error: SpRuntimeDispatchError
|
|
3010
|
+
], {
|
|
3011
|
+
codeHash: H256;
|
|
3012
|
+
error: SpRuntimeDispatchError;
|
|
3013
|
+
}>;
|
|
2954
3014
|
/**
|
|
2955
3015
|
* On on-chain remark happened.
|
|
2956
3016
|
**/
|
|
@@ -3083,6 +3143,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3083
3143
|
], {
|
|
3084
3144
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
3085
3145
|
}>;
|
|
3146
|
+
/**
|
|
3147
|
+
* The fallback call was dispatched.
|
|
3148
|
+
**/
|
|
3149
|
+
IfElseFallbackCalled: AugmentedEvent<ApiType, [
|
|
3150
|
+
mainError: SpRuntimeDispatchError
|
|
3151
|
+
], {
|
|
3152
|
+
mainError: SpRuntimeDispatchError;
|
|
3153
|
+
}>;
|
|
3154
|
+
/**
|
|
3155
|
+
* Main call was dispatched.
|
|
3156
|
+
**/
|
|
3157
|
+
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
|
|
3086
3158
|
/**
|
|
3087
3159
|
* A single item within a Batch of dispatches has completed with no error.
|
|
3088
3160
|
**/
|
|
@@ -3097,77 +3169,57 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3097
3169
|
}>;
|
|
3098
3170
|
};
|
|
3099
3171
|
vaults: {
|
|
3100
|
-
|
|
3101
|
-
* An error occurred releasing a base fee hold
|
|
3102
|
-
**/
|
|
3103
|
-
ObligationBaseFeeMaturationError: AugmentedEvent<ApiType, [
|
|
3104
|
-
obligationId: u64,
|
|
3105
|
-
baseFee: u128,
|
|
3172
|
+
FundLockCanceled: AugmentedEvent<ApiType, [
|
|
3106
3173
|
vaultId: u32,
|
|
3107
|
-
|
|
3174
|
+
amount: u128
|
|
3108
3175
|
], {
|
|
3109
|
-
obligationId: u64;
|
|
3110
|
-
baseFee: u128;
|
|
3111
3176
|
vaultId: u32;
|
|
3112
|
-
|
|
3177
|
+
amount: u128;
|
|
3113
3178
|
}>;
|
|
3114
|
-
|
|
3179
|
+
FundsLocked: AugmentedEvent<ApiType, [
|
|
3115
3180
|
vaultId: u32,
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
returnedFee: u128
|
|
3181
|
+
locker: AccountId32,
|
|
3182
|
+
amount: u128,
|
|
3183
|
+
isRatchet: bool
|
|
3120
3184
|
], {
|
|
3121
3185
|
vaultId: u32;
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
returnedFee: u128;
|
|
3186
|
+
locker: AccountId32;
|
|
3187
|
+
amount: u128;
|
|
3188
|
+
isRatchet: bool;
|
|
3126
3189
|
}>;
|
|
3127
|
-
|
|
3190
|
+
FundsReleased: AugmentedEvent<ApiType, [
|
|
3128
3191
|
vaultId: u32,
|
|
3129
|
-
|
|
3130
|
-
returnedFee: u128,
|
|
3131
|
-
releasedFee: u128
|
|
3192
|
+
amount: u128
|
|
3132
3193
|
], {
|
|
3133
3194
|
vaultId: u32;
|
|
3134
|
-
|
|
3135
|
-
returnedFee: u128;
|
|
3136
|
-
releasedFee: u128;
|
|
3195
|
+
amount: u128;
|
|
3137
3196
|
}>;
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
**/
|
|
3141
|
-
ObligationCompletionError: AugmentedEvent<ApiType, [
|
|
3142
|
-
obligationId: u64,
|
|
3197
|
+
FundsReleasedError: AugmentedEvent<ApiType, [
|
|
3198
|
+
vaultId: u32,
|
|
3143
3199
|
error: SpRuntimeDispatchError
|
|
3144
3200
|
], {
|
|
3145
|
-
|
|
3201
|
+
vaultId: u32;
|
|
3146
3202
|
error: SpRuntimeDispatchError;
|
|
3147
3203
|
}>;
|
|
3148
|
-
|
|
3204
|
+
FundsScheduledForRelease: AugmentedEvent<ApiType, [
|
|
3149
3205
|
vaultId: u32,
|
|
3150
|
-
obligationId: u64,
|
|
3151
|
-
fundType: ArgonPrimitivesVaultFundType,
|
|
3152
|
-
beneficiary: AccountId32,
|
|
3153
3206
|
amount: u128,
|
|
3154
|
-
|
|
3207
|
+
releaseHeight: u64
|
|
3155
3208
|
], {
|
|
3156
3209
|
vaultId: u32;
|
|
3157
|
-
obligationId: u64;
|
|
3158
|
-
fundType: ArgonPrimitivesVaultFundType;
|
|
3159
|
-
beneficiary: AccountId32;
|
|
3160
3210
|
amount: u128;
|
|
3161
|
-
|
|
3211
|
+
releaseHeight: u64;
|
|
3162
3212
|
}>;
|
|
3163
|
-
|
|
3213
|
+
LostBitcoinCompensated: AugmentedEvent<ApiType, [
|
|
3164
3214
|
vaultId: u32,
|
|
3165
|
-
|
|
3166
|
-
|
|
3215
|
+
beneficiary: AccountId32,
|
|
3216
|
+
toBeneficiary: u128,
|
|
3217
|
+
burned: u128
|
|
3167
3218
|
], {
|
|
3168
3219
|
vaultId: u32;
|
|
3169
|
-
|
|
3170
|
-
|
|
3220
|
+
beneficiary: AccountId32;
|
|
3221
|
+
toBeneficiary: u128;
|
|
3222
|
+
burned: u128;
|
|
3171
3223
|
}>;
|
|
3172
3224
|
VaultBitcoinXpubChange: AugmentedEvent<ApiType, [
|
|
3173
3225
|
vaultId: u32
|
|
@@ -3176,12 +3228,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3176
3228
|
}>;
|
|
3177
3229
|
VaultClosed: AugmentedEvent<ApiType, [
|
|
3178
3230
|
vaultId: u32,
|
|
3179
|
-
|
|
3180
|
-
|
|
3231
|
+
securitizationRemaining: u128,
|
|
3232
|
+
securitizationReleased: u128
|
|
3181
3233
|
], {
|
|
3182
3234
|
vaultId: u32;
|
|
3183
|
-
|
|
3184
|
-
|
|
3235
|
+
securitizationRemaining: u128;
|
|
3236
|
+
securitizationReleased: u128;
|
|
3185
3237
|
}>;
|
|
3186
3238
|
VaultCreated: AugmentedEvent<ApiType, [
|
|
3187
3239
|
vaultId: u32,
|
|
@@ -3299,6 +3351,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3299
3351
|
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
3300
3352
|
};
|
|
3301
3353
|
bitcoinLocks: {
|
|
3354
|
+
/**
|
|
3355
|
+
* Expiration of bitcoin locks by bitcoin height. Funds are burned since the user did not
|
|
3356
|
+
* unlock it
|
|
3357
|
+
**/
|
|
3358
|
+
lockExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
|
|
3359
|
+
u64
|
|
3360
|
+
]>;
|
|
3302
3361
|
/**
|
|
3303
3362
|
* Stores the block number where the lock was released
|
|
3304
3363
|
**/
|
|
@@ -3321,20 +3380,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3321
3380
|
**/
|
|
3322
3381
|
minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
3323
3382
|
nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
3324
|
-
/**
|
|
3325
|
-
* Mapping of obligation id to lock id
|
|
3326
|
-
**/
|
|
3327
|
-
obligationIdToUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
3328
|
-
u64
|
|
3329
|
-
]>;
|
|
3330
|
-
/**
|
|
3331
|
-
* Stores Utxos that were not paid back in full
|
|
3332
|
-
*
|
|
3333
|
-
* Tuple stores Account, Vault, Still Owed, State
|
|
3334
|
-
**/
|
|
3335
|
-
owedUtxoAggrieved: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, u128, PalletBitcoinLocksLockedBitcoin]>>>, [
|
|
3336
|
-
u64
|
|
3337
|
-
]>;
|
|
3338
3383
|
};
|
|
3339
3384
|
bitcoinUtxos: {
|
|
3340
3385
|
/**
|
|
@@ -3359,7 +3404,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3359
3404
|
]>;
|
|
3360
3405
|
/**
|
|
3361
3406
|
* Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
|
|
3362
|
-
* the expiration block, the
|
|
3407
|
+
* the expiration block, the funds are burned and the UTXO is unlocked.
|
|
3363
3408
|
**/
|
|
3364
3409
|
lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
|
|
3365
3410
|
txid?: any;
|
|
@@ -3400,7 +3445,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3400
3445
|
**/
|
|
3401
3446
|
argonsPerBlock: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
3402
3447
|
/**
|
|
3403
|
-
* The cohort block rewards
|
|
3448
|
+
* The cohort block rewards by mining cohort (ie, with the same starting frame id)
|
|
3404
3449
|
**/
|
|
3405
3450
|
blockRewardsByCohort: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
|
|
3406
3451
|
]>;
|
|
@@ -3682,43 +3727,39 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3682
3727
|
Substrate: any;
|
|
3683
3728
|
} | {
|
|
3684
3729
|
Tendermint: any;
|
|
3730
|
+
} | {
|
|
3731
|
+
Relay: any;
|
|
3685
3732
|
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3686
3733
|
IsmpHostStateMachine
|
|
3687
3734
|
]>;
|
|
3688
3735
|
};
|
|
3689
3736
|
liquidityPools: {
|
|
3690
3737
|
/**
|
|
3691
|
-
* The
|
|
3692
|
-
*
|
|
3738
|
+
* The liquidity pool for the current frame. This correlates with the bids coming in for the
|
|
3739
|
+
* current frame. Sorted with the biggest share last. (current frame + 1)
|
|
3693
3740
|
**/
|
|
3694
|
-
|
|
3695
|
-
u64
|
|
3741
|
+
capitalActive: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
|
|
3696
3742
|
]>;
|
|
3697
3743
|
/**
|
|
3698
|
-
* The liquidity pool
|
|
3744
|
+
* The liquidity pool still raising capital. (current frame + 2)
|
|
3699
3745
|
**/
|
|
3700
|
-
|
|
3746
|
+
capitalRaising: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
|
|
3701
3747
|
]>;
|
|
3702
3748
|
/**
|
|
3703
|
-
* The
|
|
3704
|
-
*
|
|
3749
|
+
* The currently earning contributors for the current epoch's bond funds. Sorted by highest
|
|
3750
|
+
* bids first
|
|
3705
3751
|
**/
|
|
3706
|
-
|
|
3752
|
+
vaultPoolsByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, PalletLiquidityPoolsLiquidityPool>>, [
|
|
3753
|
+
u64
|
|
3707
3754
|
]>;
|
|
3708
3755
|
};
|
|
3709
3756
|
miningSlot: {
|
|
3710
3757
|
/**
|
|
3711
|
-
* Lookup by account id to the corresponding index in
|
|
3758
|
+
* Lookup by account id to the corresponding index in MinersByCohort and MinerXorKeysByCohort
|
|
3712
3759
|
**/
|
|
3713
|
-
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32
|
|
3760
|
+
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [
|
|
3714
3761
|
AccountId32
|
|
3715
3762
|
]>;
|
|
3716
|
-
/**
|
|
3717
|
-
* Miners that are active in the current block (post initialize)
|
|
3718
|
-
**/
|
|
3719
|
-
activeMinersByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
3720
|
-
u32
|
|
3721
|
-
]>;
|
|
3722
3763
|
activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
|
|
3723
3764
|
/**
|
|
3724
3765
|
* Argonots that must be locked to take a Miner role
|
|
@@ -3726,9 +3767,25 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3726
3767
|
argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, [
|
|
3727
3768
|
]>;
|
|
3728
3769
|
/**
|
|
3729
|
-
*
|
|
3770
|
+
* The average price per seat for the last 10 frames (newest first)
|
|
3771
|
+
**/
|
|
3772
|
+
averagePricePerSeat: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, [
|
|
3773
|
+
]>;
|
|
3774
|
+
/**
|
|
3775
|
+
* The cohort set to go into effect in the next slot. The Vec has all
|
|
3776
|
+
* registrants with their bid amount
|
|
3777
|
+
**/
|
|
3778
|
+
bidsForNextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
3779
|
+
]>;
|
|
3780
|
+
/**
|
|
3781
|
+
* Did this block activate a new frame
|
|
3730
3782
|
**/
|
|
3731
3783
|
didStartNewCohort: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3784
|
+
/**
|
|
3785
|
+
* The previous 10 frame start block numbers
|
|
3786
|
+
**/
|
|
3787
|
+
frameStartBlockNumbers: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, [
|
|
3788
|
+
]>;
|
|
3732
3789
|
hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
3733
3790
|
]>;
|
|
3734
3791
|
/**
|
|
@@ -3742,10 +3799,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3742
3799
|
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
3743
3800
|
]>;
|
|
3744
3801
|
/**
|
|
3745
|
-
*
|
|
3746
|
-
|
|
3802
|
+
* Miners that are active in the current block (post initialize) by their starting frame
|
|
3803
|
+
**/
|
|
3804
|
+
minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
3805
|
+
u64
|
|
3806
|
+
]>;
|
|
3807
|
+
/**
|
|
3808
|
+
* This is a lookup of each miner's XOR key to use. It's a blake2 256 hash of the miner account
|
|
3809
|
+
* id and the block hash at time of activation.
|
|
3747
3810
|
**/
|
|
3748
|
-
|
|
3811
|
+
minerXorKeysByCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Vec<U256>>>, [
|
|
3749
3812
|
]>;
|
|
3750
3813
|
/**
|
|
3751
3814
|
* The mining slot configuration set in genesis
|
|
@@ -3753,15 +3816,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3753
3816
|
miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, [
|
|
3754
3817
|
]>;
|
|
3755
3818
|
/**
|
|
3756
|
-
* The next cohort
|
|
3819
|
+
* The number of allow miners to bid for the next mining cohort
|
|
3757
3820
|
**/
|
|
3758
|
-
|
|
3821
|
+
nextCohortSize: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
3759
3822
|
/**
|
|
3760
|
-
* The
|
|
3761
|
-
*
|
|
3823
|
+
* The next frameId. A frame in argon is the 24 hours between the start of two different mining
|
|
3824
|
+
* cohorts.
|
|
3762
3825
|
**/
|
|
3763
|
-
|
|
3764
|
-
]>;
|
|
3826
|
+
nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
3765
3827
|
/**
|
|
3766
3828
|
* The miners released in the last block (only kept for a single block)
|
|
3767
3829
|
**/
|
|
@@ -3772,7 +3834,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3772
3834
|
blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, [
|
|
3773
3835
|
]>;
|
|
3774
3836
|
/**
|
|
3775
|
-
* The amount of argons minted per cohort
|
|
3837
|
+
* The amount of argons minted per mining cohort (ie, grouped by starting frame id)
|
|
3776
3838
|
**/
|
|
3777
3839
|
miningMintPerCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, [
|
|
3778
3840
|
]>;
|
|
@@ -4049,6 +4111,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4049
4111
|
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
|
|
4050
4112
|
u32
|
|
4051
4113
|
]>;
|
|
4114
|
+
/**
|
|
4115
|
+
* The weight reclaimed for the extrinsic.
|
|
4116
|
+
*
|
|
4117
|
+
* This information is available until the end of the extrinsic execution.
|
|
4118
|
+
* More precisely this information is removed in `note_applied_extrinsic`.
|
|
4119
|
+
*
|
|
4120
|
+
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
|
4121
|
+
* reduction.
|
|
4122
|
+
**/
|
|
4123
|
+
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, [
|
|
4124
|
+
]>;
|
|
4052
4125
|
/**
|
|
4053
4126
|
* Whether all inherents have been applied.
|
|
4054
4127
|
**/
|
|
@@ -4132,6 +4205,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4132
4205
|
Substrate: any;
|
|
4133
4206
|
} | {
|
|
4134
4207
|
Tendermint: any;
|
|
4208
|
+
} | {
|
|
4209
|
+
Relay: any;
|
|
4135
4210
|
} | string | Uint8Array) => Observable<Option<u8>>, [
|
|
4136
4211
|
u32,
|
|
4137
4212
|
IsmpHostStateMachine
|
|
@@ -4156,6 +4231,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4156
4231
|
Substrate: any;
|
|
4157
4232
|
} | {
|
|
4158
4233
|
Tendermint: any;
|
|
4234
|
+
} | {
|
|
4235
|
+
Relay: any;
|
|
4159
4236
|
} | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
4160
4237
|
IsmpHostStateMachine
|
|
4161
4238
|
]>;
|
|
@@ -4174,33 +4251,26 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4174
4251
|
]>;
|
|
4175
4252
|
};
|
|
4176
4253
|
vaults: {
|
|
4177
|
-
/**
|
|
4178
|
-
* Completion of bitcoin locks by bitcoin height. Funds are returned to the vault if
|
|
4179
|
-
* unlocked or used as the price of the bitcoin
|
|
4180
|
-
**/
|
|
4181
|
-
bitcoinLockCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
4182
|
-
u64
|
|
4183
|
-
]>;
|
|
4184
|
-
nextObligationId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
4185
|
-
]>;
|
|
4186
4254
|
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
4187
4255
|
/**
|
|
4188
|
-
*
|
|
4256
|
+
* Pending terms that will be committed at the given block number (must be a minimum of 1 slot
|
|
4257
|
+
* change away)
|
|
4189
4258
|
**/
|
|
4190
|
-
|
|
4259
|
+
pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
4191
4260
|
u64
|
|
4192
4261
|
]>;
|
|
4193
4262
|
/**
|
|
4194
|
-
*
|
|
4263
|
+
* Tracks fee revenue from Bitcoin Locks for the last 10 Frames for each vault (a frame is a
|
|
4264
|
+
* "mining day" in Argon). The total revenue for a vault includes Liquidity Pools, of which the
|
|
4265
|
+
* associated data can be found in that pallet.
|
|
4195
4266
|
**/
|
|
4196
|
-
|
|
4197
|
-
|
|
4267
|
+
perFrameFeeRevenueByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameFeeRevenue>>, [
|
|
4268
|
+
u32
|
|
4198
4269
|
]>;
|
|
4199
4270
|
/**
|
|
4200
|
-
*
|
|
4201
|
-
* change away)
|
|
4271
|
+
* The vaults that have funds releasing at a given bitcoin height
|
|
4202
4272
|
**/
|
|
4203
|
-
|
|
4273
|
+
vaultFundsReleasingByHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [
|
|
4204
4274
|
u64
|
|
4205
4275
|
]>;
|
|
4206
4276
|
/**
|
|
@@ -4409,8 +4479,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4409
4479
|
]>;
|
|
4410
4480
|
/**
|
|
4411
4481
|
* Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
|
|
4412
|
-
* release fee will be burned, and the
|
|
4413
|
-
* penalty.
|
|
4482
|
+
* release fee will be burned, and the lock will be allowed to expire without a penalty.
|
|
4414
4483
|
*
|
|
4415
4484
|
* This is submitted as a no-fee transaction off chain to allow keys to remain in cold
|
|
4416
4485
|
* wallets.
|
|
@@ -4426,7 +4495,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4426
4495
|
* The pubkey submitted here will be used to create a script pubkey that will be used in a
|
|
4427
4496
|
* timelock multisig script to lock the bitcoin.
|
|
4428
4497
|
*
|
|
4429
|
-
* NOTE: A "lock-er" must
|
|
4498
|
+
* NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
|
|
4430
4499
|
* LockedBitcoin and be added to the Bitcoin Mint line.
|
|
4431
4500
|
**/
|
|
4432
4501
|
initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
@@ -4434,6 +4503,25 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4434
4503
|
Compact<u64>,
|
|
4435
4504
|
ArgonPrimitivesBitcoinCompressedBitcoinPubkey
|
|
4436
4505
|
]>;
|
|
4506
|
+
/**
|
|
4507
|
+
* Ratcheting allows a user to change the lock price of their bitcoin lock. This is
|
|
4508
|
+
* functionally the same as releasing and re-initializing, but it allows a user to skip
|
|
4509
|
+
* sending transactions through bitcoin and any associated fees. It also allows you to stay
|
|
4510
|
+
* on your original lock expiration without having to pay the full year of fees again.
|
|
4511
|
+
*
|
|
4512
|
+
* Ratcheting "down" - when the price of bitcoin is lower than your lock price, you pay the
|
|
4513
|
+
* full release price and get added back to the mint queue at the current market rate. You
|
|
4514
|
+
* pocket the difference between the already minted "lock price" and the new market value
|
|
4515
|
+
* (which you just had burned). Your new lock price is set to the market low, so you can
|
|
4516
|
+
* take advantage of ratchets "up" in the future.
|
|
4517
|
+
*
|
|
4518
|
+
* Ratcheting "up" - when the price of bitcoin is higher than your lock price, you pay a
|
|
4519
|
+
* prorated fee for the remainder of your existing lock duration. You are added to the mint
|
|
4520
|
+
* queue for the difference in your new lock price vs the previous lock price.
|
|
4521
|
+
**/
|
|
4522
|
+
ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4523
|
+
u64
|
|
4524
|
+
]>;
|
|
4437
4525
|
/**
|
|
4438
4526
|
* Submitted by a Bitcoin holder to trigger the release of their Utxo out of the cosign
|
|
4439
4527
|
* script. A transaction spending the UTXO should be pre-created so that the sighash
|
|
@@ -4662,15 +4750,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4662
4750
|
Substrate: any;
|
|
4663
4751
|
} | {
|
|
4664
4752
|
Tendermint: any;
|
|
4753
|
+
} | {
|
|
4754
|
+
Relay: any;
|
|
4665
4755
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4666
4756
|
Vec<IsmpHostStateMachine>
|
|
4667
4757
|
]>;
|
|
4668
4758
|
};
|
|
4669
4759
|
liquidityPools: {
|
|
4670
4760
|
/**
|
|
4671
|
-
* Bond argons to a Vault's next liquidity pool, tied to the next
|
|
4672
|
-
* tomorrow after noon
|
|
4673
|
-
* activated securitization for the vault.
|
|
4761
|
+
* Bond argons to a Vault's next liquidity pool, tied to the next frame (aka,
|
|
4762
|
+
* tomorrow noon EDT to day after tomorrow noon). The amount bonded to the pool cannot
|
|
4763
|
+
* exceed 1/10th of the activated securitization for the vault.
|
|
4674
4764
|
*
|
|
4675
4765
|
* The bonded argons and profits will be automatically rolled over to the next fund up to
|
|
4676
4766
|
* the max securitization activated.
|
|
@@ -4686,9 +4776,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4686
4776
|
]>;
|
|
4687
4777
|
/**
|
|
4688
4778
|
* Allows a user to remove their bonded argons from the fund after the hold is released
|
|
4689
|
-
* (once
|
|
4779
|
+
* (once epoch starting at bonded frame is complete).
|
|
4690
4780
|
**/
|
|
4691
|
-
unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array,
|
|
4781
|
+
unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, frameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4692
4782
|
u32,
|
|
4693
4783
|
u64
|
|
4694
4784
|
]>;
|
|
@@ -4714,22 +4804,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4714
4804
|
*
|
|
4715
4805
|
* Parameters:
|
|
4716
4806
|
* - `bid`: The amount of argons to bid
|
|
4717
|
-
* - `reward_destination`: The account_id for the mining rewards, or `Owner` for the
|
|
4718
|
-
* submitting user.
|
|
4719
4807
|
* - `keys`: The session "hot" keys for the slot (BlockSealAuthorityId and GrandpaId).
|
|
4720
4808
|
* - `mining_account_id`: This account_id allows you to operate as this miner account id,
|
|
4721
4809
|
* but use funding (argonots and bid) from the submitting account
|
|
4722
4810
|
**/
|
|
4723
|
-
bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array,
|
|
4724
|
-
Owner: any;
|
|
4725
|
-
} | {
|
|
4726
|
-
Account: any;
|
|
4727
|
-
} | string | Uint8Array, keys: ArgonRuntimeSessionKeys | {
|
|
4811
|
+
bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array, keys: ArgonRuntimeSessionKeys | {
|
|
4728
4812
|
grandpa?: any;
|
|
4729
4813
|
blockSealAuthority?: any;
|
|
4730
4814
|
} | string | Uint8Array, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [
|
|
4731
4815
|
u128,
|
|
4732
|
-
ArgonPrimitivesBlockSealRewardDestination,
|
|
4733
4816
|
ArgonRuntimeSessionKeys,
|
|
4734
4817
|
Option<AccountId32>
|
|
4735
4818
|
]>;
|
|
@@ -4892,6 +4975,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4892
4975
|
PalletMultisigTimepoint,
|
|
4893
4976
|
U8aFixed
|
|
4894
4977
|
]>;
|
|
4978
|
+
/**
|
|
4979
|
+
* Poke the deposit reserved for an existing multisig operation.
|
|
4980
|
+
*
|
|
4981
|
+
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
4982
|
+
* the multisig operation.
|
|
4983
|
+
*
|
|
4984
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
4985
|
+
*
|
|
4986
|
+
* - `threshold`: The total number of approvals needed for this multisig.
|
|
4987
|
+
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
4988
|
+
* multisig.
|
|
4989
|
+
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
4990
|
+
*
|
|
4991
|
+
* Emits `DepositPoked` if successful.
|
|
4992
|
+
**/
|
|
4993
|
+
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4994
|
+
u16,
|
|
4995
|
+
Vec<AccountId32>,
|
|
4996
|
+
U8aFixed
|
|
4997
|
+
]>;
|
|
4895
4998
|
};
|
|
4896
4999
|
notaries: {
|
|
4897
5000
|
activate: AugmentedSubmittable<(operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
@@ -5253,6 +5356,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5253
5356
|
Compact<u32>,
|
|
5254
5357
|
Compact<u32>
|
|
5255
5358
|
]>;
|
|
5359
|
+
/**
|
|
5360
|
+
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
5361
|
+
* This can be used by accounts to possibly lower their locked amount.
|
|
5362
|
+
*
|
|
5363
|
+
* The dispatch origin for this call must be _Signed_.
|
|
5364
|
+
*
|
|
5365
|
+
* The transaction fee is waived if the deposit amount has changed.
|
|
5366
|
+
*
|
|
5367
|
+
* Emits `DepositPoked` if successful.
|
|
5368
|
+
**/
|
|
5369
|
+
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, [
|
|
5370
|
+
]>;
|
|
5256
5371
|
/**
|
|
5257
5372
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
5258
5373
|
* `add_proxy`.
|
|
@@ -5750,6 +5865,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5750
5865
|
ArgonRuntimeOriginCaller,
|
|
5751
5866
|
Call
|
|
5752
5867
|
]>;
|
|
5868
|
+
/**
|
|
5869
|
+
* Dispatches a function call with a provided origin.
|
|
5870
|
+
*
|
|
5871
|
+
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
5872
|
+
*
|
|
5873
|
+
* The dispatch origin for this call must be _Root_.
|
|
5874
|
+
**/
|
|
5875
|
+
dispatchAsFallible: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | {
|
|
5876
|
+
system: any;
|
|
5877
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5878
|
+
ArgonRuntimeOriginCaller,
|
|
5879
|
+
Call
|
|
5880
|
+
]>;
|
|
5753
5881
|
/**
|
|
5754
5882
|
* Send a batch of dispatch calls.
|
|
5755
5883
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -5768,6 +5896,35 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5768
5896
|
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5769
5897
|
Vec<Call>
|
|
5770
5898
|
]>;
|
|
5899
|
+
/**
|
|
5900
|
+
* Dispatch a fallback call in the event the main call fails to execute.
|
|
5901
|
+
* May be called from any origin except `None`.
|
|
5902
|
+
*
|
|
5903
|
+
* This function first attempts to dispatch the `main` call.
|
|
5904
|
+
* If the `main` call fails, the `fallback` is attemted.
|
|
5905
|
+
* if the fallback is successfully dispatched, the weights of both calls
|
|
5906
|
+
* are accumulated and an event containing the main call error is deposited.
|
|
5907
|
+
*
|
|
5908
|
+
* In the event of a fallback failure the whole call fails
|
|
5909
|
+
* with the weights returned.
|
|
5910
|
+
*
|
|
5911
|
+
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
5912
|
+
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
5913
|
+
*
|
|
5914
|
+
* ## Dispatch Logic
|
|
5915
|
+
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
5916
|
+
* applying any origin filters.
|
|
5917
|
+
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
5918
|
+
* `fallback` calls.
|
|
5919
|
+
*
|
|
5920
|
+
* ## Use Case
|
|
5921
|
+
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
5922
|
+
* or both.
|
|
5923
|
+
**/
|
|
5924
|
+
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5925
|
+
Call,
|
|
5926
|
+
Call
|
|
5927
|
+
]>;
|
|
5771
5928
|
/**
|
|
5772
5929
|
* Dispatch a function call with a specified weight.
|
|
5773
5930
|
*
|
|
@@ -5786,8 +5943,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5786
5943
|
};
|
|
5787
5944
|
vaults: {
|
|
5788
5945
|
/**
|
|
5789
|
-
* Stop offering additional
|
|
5790
|
-
*
|
|
5946
|
+
* Stop offering additional bitcoin locks from this vault. Will not affect existing
|
|
5947
|
+
* locks. As funds are returned, they will be released to the vault owner.
|
|
5791
5948
|
**/
|
|
5792
5949
|
close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5793
5950
|
u32
|
|
@@ -5801,14 +5958,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5801
5958
|
PalletVaultsVaultConfig
|
|
5802
5959
|
]>;
|
|
5803
5960
|
/**
|
|
5804
|
-
* Modify funds allocated by the vault. This will not affect issued
|
|
5961
|
+
* Modify funds allocated by the vault. This will not affect issued bitcoin locks, but will
|
|
5805
5962
|
* affect the amount of funds available for new ones.
|
|
5806
5963
|
*
|
|
5807
5964
|
* The securitization percent must be maintained or increased.
|
|
5808
5965
|
*
|
|
5809
5966
|
* The amount allocated may not go below the existing reserved amounts, but you can release
|
|
5810
|
-
* funds in this vault as
|
|
5811
|
-
* use the `close` api.
|
|
5967
|
+
* funds in this vault as bitcoin locks are released. To stop issuing any more bitcoin
|
|
5968
|
+
* locks, use the `close` api.
|
|
5812
5969
|
**/
|
|
5813
5970
|
modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array, securitizationRatio: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5814
5971
|
u32,
|
|
@@ -5828,8 +5985,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5828
5985
|
ArgonPrimitivesVaultVaultTerms
|
|
5829
5986
|
]>;
|
|
5830
5987
|
/**
|
|
5831
|
-
* Replace the bitcoin xpubkey for this vault. This will not affect existing
|
|
5832
|
-
* but will be used for any
|
|
5988
|
+
* Replace the bitcoin xpubkey for this vault. This will not affect existing bitcoin locks,
|
|
5989
|
+
* but will be used for any locks after this point. Will be rejected if already
|
|
5833
5990
|
* used.
|
|
5834
5991
|
**/
|
|
5835
5992
|
replaceBitcoinXpub: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
@@ -8007,7 +8164,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
8007
8164
|
readonly codeHash: H256;
|
|
8008
8165
|
readonly checkVersion: bool;
|
|
8009
8166
|
} & Struct;
|
|
8010
|
-
readonly
|
|
8167
|
+
readonly isRejectedInvalidAuthorizedUpgrade: boolean;
|
|
8168
|
+
readonly asRejectedInvalidAuthorizedUpgrade: {
|
|
8169
|
+
readonly codeHash: H256;
|
|
8170
|
+
readonly error: SpRuntimeDispatchError;
|
|
8171
|
+
} & Struct;
|
|
8172
|
+
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'UpgradeAuthorized' | 'RejectedInvalidAuthorizedUpgrade';
|
|
8011
8173
|
}
|
|
8012
8174
|
/** @name FrameSystemDispatchEventInfo (23) */
|
|
8013
8175
|
interface FrameSystemDispatchEventInfo extends Struct {
|
|
@@ -8134,7 +8296,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
8134
8296
|
readonly multisig: AccountId32;
|
|
8135
8297
|
readonly callHash: U8aFixed;
|
|
8136
8298
|
} & Struct;
|
|
8137
|
-
readonly
|
|
8299
|
+
readonly isDepositPoked: boolean;
|
|
8300
|
+
readonly asDepositPoked: {
|
|
8301
|
+
readonly who: AccountId32;
|
|
8302
|
+
readonly callHash: U8aFixed;
|
|
8303
|
+
readonly oldDeposit: u128;
|
|
8304
|
+
readonly newDeposit: u128;
|
|
8305
|
+
} & Struct;
|
|
8306
|
+
readonly type: 'NewMultisig' | 'MultisigApproval' | 'MultisigExecuted' | 'MultisigCancelled' | 'DepositPoked';
|
|
8138
8307
|
}
|
|
8139
8308
|
/** @name PalletMultisigTimepoint (34) */
|
|
8140
8309
|
interface PalletMultisigTimepoint extends Struct {
|
|
@@ -8174,7 +8343,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
8174
8343
|
readonly proxyType: ArgonRuntimeProxyType;
|
|
8175
8344
|
readonly delay: u32;
|
|
8176
8345
|
} & Struct;
|
|
8177
|
-
readonly
|
|
8346
|
+
readonly isDepositPoked: boolean;
|
|
8347
|
+
readonly asDepositPoked: {
|
|
8348
|
+
readonly who: AccountId32;
|
|
8349
|
+
readonly kind: PalletProxyDepositKind;
|
|
8350
|
+
readonly oldDeposit: u128;
|
|
8351
|
+
readonly newDeposit: u128;
|
|
8352
|
+
} & Struct;
|
|
8353
|
+
readonly type: 'ProxyExecuted' | 'PureCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved' | 'DepositPoked';
|
|
8178
8354
|
}
|
|
8179
8355
|
/** @name ArgonRuntimeProxyType (38) */
|
|
8180
8356
|
interface ArgonRuntimeProxyType extends Enum {
|
|
@@ -8186,14 +8362,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
8186
8362
|
readonly isVaultAdmin: boolean;
|
|
8187
8363
|
readonly type: 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin';
|
|
8188
8364
|
}
|
|
8189
|
-
/** @name
|
|
8365
|
+
/** @name PalletProxyDepositKind (40) */
|
|
8366
|
+
interface PalletProxyDepositKind extends Enum {
|
|
8367
|
+
readonly isProxies: boolean;
|
|
8368
|
+
readonly isAnnouncements: boolean;
|
|
8369
|
+
readonly type: 'Proxies' | 'Announcements';
|
|
8370
|
+
}
|
|
8371
|
+
/** @name PalletMiningSlotEvent (41) */
|
|
8190
8372
|
interface PalletMiningSlotEvent extends Enum {
|
|
8191
8373
|
readonly isNewMiners: boolean;
|
|
8192
8374
|
readonly asNewMiners: {
|
|
8193
|
-
readonly startIndex: u32;
|
|
8194
8375
|
readonly newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
|
|
8195
8376
|
readonly releasedMiners: u32;
|
|
8196
|
-
readonly
|
|
8377
|
+
readonly frameId: u64;
|
|
8197
8378
|
} & Struct;
|
|
8198
8379
|
readonly isSlotBidderAdded: boolean;
|
|
8199
8380
|
readonly asSlotBidderAdded: {
|
|
@@ -8219,7 +8400,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8219
8400
|
} & Struct;
|
|
8220
8401
|
readonly isMiningBidsClosed: boolean;
|
|
8221
8402
|
readonly asMiningBidsClosed: {
|
|
8222
|
-
readonly
|
|
8403
|
+
readonly frameId: u64;
|
|
8223
8404
|
} & Struct;
|
|
8224
8405
|
readonly isReleaseBidError: boolean;
|
|
8225
8406
|
readonly asReleaseBidError: {
|
|
@@ -8228,35 +8409,27 @@ declare module '@polkadot/types/lookup' {
|
|
|
8228
8409
|
} & Struct;
|
|
8229
8410
|
readonly type: 'NewMiners' | 'SlotBidderAdded' | 'SlotBidderDropped' | 'ReleaseMinerSeatError' | 'MiningConfigurationUpdated' | 'MiningBidsClosed' | 'ReleaseBidError';
|
|
8230
8411
|
}
|
|
8231
|
-
/** @name ArgonPrimitivesBlockSealMiningRegistration (
|
|
8412
|
+
/** @name ArgonPrimitivesBlockSealMiningRegistration (43) */
|
|
8232
8413
|
interface ArgonPrimitivesBlockSealMiningRegistration extends Struct {
|
|
8233
8414
|
readonly accountId: AccountId32;
|
|
8234
8415
|
readonly externalFundingAccount: Option<AccountId32>;
|
|
8235
|
-
readonly rewardDestination: ArgonPrimitivesBlockSealRewardDestination;
|
|
8236
8416
|
readonly bid: Compact<u128>;
|
|
8237
8417
|
readonly argonots: Compact<u128>;
|
|
8238
8418
|
readonly authorityKeys: ArgonRuntimeSessionKeys;
|
|
8239
|
-
readonly
|
|
8419
|
+
readonly startingFrameId: Compact<u64>;
|
|
8240
8420
|
readonly bidAtTick: Compact<u64>;
|
|
8241
8421
|
}
|
|
8242
|
-
/** @name ArgonRuntimeSessionKeys (
|
|
8422
|
+
/** @name ArgonRuntimeSessionKeys (44) */
|
|
8243
8423
|
interface ArgonRuntimeSessionKeys extends Struct {
|
|
8244
8424
|
readonly grandpa: SpConsensusGrandpaAppPublic;
|
|
8245
8425
|
readonly blockSealAuthority: ArgonPrimitivesBlockSealAppPublic;
|
|
8246
8426
|
}
|
|
8247
|
-
/** @name SpConsensusGrandpaAppPublic (
|
|
8427
|
+
/** @name SpConsensusGrandpaAppPublic (45) */
|
|
8248
8428
|
interface SpConsensusGrandpaAppPublic extends U8aFixed {
|
|
8249
8429
|
}
|
|
8250
|
-
/** @name ArgonPrimitivesBlockSealAppPublic (
|
|
8430
|
+
/** @name ArgonPrimitivesBlockSealAppPublic (46) */
|
|
8251
8431
|
interface ArgonPrimitivesBlockSealAppPublic extends U8aFixed {
|
|
8252
8432
|
}
|
|
8253
|
-
/** @name ArgonPrimitivesBlockSealRewardDestination (47) */
|
|
8254
|
-
interface ArgonPrimitivesBlockSealRewardDestination extends Enum {
|
|
8255
|
-
readonly isOwner: boolean;
|
|
8256
|
-
readonly isAccount: boolean;
|
|
8257
|
-
readonly asAccount: AccountId32;
|
|
8258
|
-
readonly type: 'Owner' | 'Account';
|
|
8259
|
-
}
|
|
8260
8433
|
/** @name PalletBitcoinUtxosEvent (50) */
|
|
8261
8434
|
interface PalletBitcoinUtxosEvent extends Enum {
|
|
8262
8435
|
readonly isUtxoVerified: boolean;
|
|
@@ -8343,109 +8516,90 @@ declare module '@polkadot/types/lookup' {
|
|
|
8343
8516
|
readonly isVaultClosed: boolean;
|
|
8344
8517
|
readonly asVaultClosed: {
|
|
8345
8518
|
readonly vaultId: u32;
|
|
8346
|
-
readonly
|
|
8347
|
-
readonly
|
|
8519
|
+
readonly securitizationRemaining: u128;
|
|
8520
|
+
readonly securitizationReleased: u128;
|
|
8348
8521
|
} & Struct;
|
|
8349
8522
|
readonly isVaultBitcoinXpubChange: boolean;
|
|
8350
8523
|
readonly asVaultBitcoinXpubChange: {
|
|
8351
8524
|
readonly vaultId: u32;
|
|
8352
8525
|
} & Struct;
|
|
8353
|
-
readonly
|
|
8354
|
-
readonly
|
|
8526
|
+
readonly isFundsLocked: boolean;
|
|
8527
|
+
readonly asFundsLocked: {
|
|
8355
8528
|
readonly vaultId: u32;
|
|
8356
|
-
readonly
|
|
8357
|
-
readonly fundType: ArgonPrimitivesVaultFundType;
|
|
8358
|
-
readonly beneficiary: AccountId32;
|
|
8529
|
+
readonly locker: AccountId32;
|
|
8359
8530
|
readonly amount: u128;
|
|
8360
|
-
readonly
|
|
8531
|
+
readonly isRatchet: bool;
|
|
8361
8532
|
} & Struct;
|
|
8362
|
-
readonly
|
|
8363
|
-
readonly
|
|
8533
|
+
readonly isFundLockCanceled: boolean;
|
|
8534
|
+
readonly asFundLockCanceled: {
|
|
8364
8535
|
readonly vaultId: u32;
|
|
8365
|
-
readonly
|
|
8366
|
-
readonly returnedFee: u128;
|
|
8367
|
-
readonly releasedFee: u128;
|
|
8536
|
+
readonly amount: u128;
|
|
8368
8537
|
} & Struct;
|
|
8369
|
-
readonly
|
|
8370
|
-
readonly
|
|
8538
|
+
readonly isFundsScheduledForRelease: boolean;
|
|
8539
|
+
readonly asFundsScheduledForRelease: {
|
|
8371
8540
|
readonly vaultId: u32;
|
|
8372
|
-
readonly obligationId: u64;
|
|
8373
8541
|
readonly amount: u128;
|
|
8542
|
+
readonly releaseHeight: u64;
|
|
8374
8543
|
} & Struct;
|
|
8375
|
-
readonly
|
|
8376
|
-
readonly
|
|
8544
|
+
readonly isLostBitcoinCompensated: boolean;
|
|
8545
|
+
readonly asLostBitcoinCompensated: {
|
|
8377
8546
|
readonly vaultId: u32;
|
|
8378
|
-
readonly obligationId: u64;
|
|
8379
8547
|
readonly beneficiary: AccountId32;
|
|
8380
|
-
readonly
|
|
8381
|
-
readonly
|
|
8548
|
+
readonly toBeneficiary: u128;
|
|
8549
|
+
readonly burned: u128;
|
|
8382
8550
|
} & Struct;
|
|
8383
|
-
readonly
|
|
8384
|
-
readonly
|
|
8385
|
-
readonly
|
|
8386
|
-
readonly
|
|
8551
|
+
readonly isFundsReleased: boolean;
|
|
8552
|
+
readonly asFundsReleased: {
|
|
8553
|
+
readonly vaultId: u32;
|
|
8554
|
+
readonly amount: u128;
|
|
8387
8555
|
} & Struct;
|
|
8388
|
-
readonly
|
|
8389
|
-
readonly
|
|
8390
|
-
readonly obligationId: u64;
|
|
8391
|
-
readonly baseFee: u128;
|
|
8556
|
+
readonly isFundsReleasedError: boolean;
|
|
8557
|
+
readonly asFundsReleasedError: {
|
|
8392
8558
|
readonly vaultId: u32;
|
|
8393
8559
|
readonly error: SpRuntimeDispatchError;
|
|
8394
8560
|
} & Struct;
|
|
8395
|
-
readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | '
|
|
8396
|
-
}
|
|
8397
|
-
/** @name ArgonPrimitivesVaultFundType (57) */
|
|
8398
|
-
interface ArgonPrimitivesVaultFundType extends Enum {
|
|
8399
|
-
readonly isLockedBitcoin: boolean;
|
|
8400
|
-
readonly type: 'LockedBitcoin';
|
|
8401
|
-
}
|
|
8402
|
-
/** @name ArgonPrimitivesVaultObligationExpiration (58) */
|
|
8403
|
-
interface ArgonPrimitivesVaultObligationExpiration extends Enum {
|
|
8404
|
-
readonly isAtTick: boolean;
|
|
8405
|
-
readonly asAtTick: Compact<u64>;
|
|
8406
|
-
readonly isBitcoinBlock: boolean;
|
|
8407
|
-
readonly asBitcoinBlock: Compact<u64>;
|
|
8408
|
-
readonly type: 'AtTick' | 'BitcoinBlock';
|
|
8561
|
+
readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'FundsLocked' | 'FundLockCanceled' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError';
|
|
8409
8562
|
}
|
|
8410
|
-
/** @name PalletBitcoinLocksEvent (
|
|
8563
|
+
/** @name PalletBitcoinLocksEvent (57) */
|
|
8411
8564
|
interface PalletBitcoinLocksEvent extends Enum {
|
|
8412
8565
|
readonly isBitcoinLockCreated: boolean;
|
|
8413
8566
|
readonly asBitcoinLockCreated: {
|
|
8414
8567
|
readonly utxoId: u64;
|
|
8415
8568
|
readonly vaultId: u32;
|
|
8416
|
-
readonly obligationId: u64;
|
|
8417
8569
|
readonly lockPrice: u128;
|
|
8418
8570
|
readonly accountId: AccountId32;
|
|
8419
8571
|
} & Struct;
|
|
8572
|
+
readonly isBitcoinLockRatcheted: boolean;
|
|
8573
|
+
readonly asBitcoinLockRatcheted: {
|
|
8574
|
+
readonly utxoId: u64;
|
|
8575
|
+
readonly vaultId: u32;
|
|
8576
|
+
readonly originalLockPrice: u128;
|
|
8577
|
+
readonly newLockPrice: u128;
|
|
8578
|
+
readonly amountBurned: u128;
|
|
8579
|
+
readonly accountId: AccountId32;
|
|
8580
|
+
} & Struct;
|
|
8420
8581
|
readonly isBitcoinLockBurned: boolean;
|
|
8421
8582
|
readonly asBitcoinLockBurned: {
|
|
8422
8583
|
readonly utxoId: u64;
|
|
8423
8584
|
readonly vaultId: u32;
|
|
8424
|
-
readonly obligationId: u64;
|
|
8425
|
-
readonly amountBurned: u128;
|
|
8426
|
-
readonly amountHeld: u128;
|
|
8427
8585
|
readonly wasUtxoSpent: bool;
|
|
8428
8586
|
} & Struct;
|
|
8429
8587
|
readonly isBitcoinUtxoCosignRequested: boolean;
|
|
8430
8588
|
readonly asBitcoinUtxoCosignRequested: {
|
|
8431
8589
|
readonly utxoId: u64;
|
|
8432
|
-
readonly obligationId: u64;
|
|
8433
8590
|
readonly vaultId: u32;
|
|
8434
8591
|
} & Struct;
|
|
8435
8592
|
readonly isBitcoinUtxoCosigned: boolean;
|
|
8436
8593
|
readonly asBitcoinUtxoCosigned: {
|
|
8437
8594
|
readonly utxoId: u64;
|
|
8438
|
-
readonly obligationId: u64;
|
|
8439
8595
|
readonly vaultId: u32;
|
|
8440
8596
|
readonly signature: Bytes;
|
|
8441
8597
|
} & Struct;
|
|
8442
8598
|
readonly isBitcoinCosignPastDue: boolean;
|
|
8443
8599
|
readonly asBitcoinCosignPastDue: {
|
|
8444
8600
|
readonly utxoId: u64;
|
|
8445
|
-
readonly obligationId: u64;
|
|
8446
8601
|
readonly vaultId: u32;
|
|
8447
8602
|
readonly compensationAmount: u128;
|
|
8448
|
-
readonly compensationStillOwed: u128;
|
|
8449
8603
|
readonly compensatedAccountId: AccountId32;
|
|
8450
8604
|
} & Struct;
|
|
8451
8605
|
readonly isCosignOverdueError: boolean;
|
|
@@ -8453,9 +8607,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
8453
8607
|
readonly utxoId: u64;
|
|
8454
8608
|
readonly error: SpRuntimeDispatchError;
|
|
8455
8609
|
} & Struct;
|
|
8456
|
-
readonly
|
|
8610
|
+
readonly isLockExpirationError: boolean;
|
|
8611
|
+
readonly asLockExpirationError: {
|
|
8612
|
+
readonly utxoId: u64;
|
|
8613
|
+
readonly error: SpRuntimeDispatchError;
|
|
8614
|
+
} & Struct;
|
|
8615
|
+
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError';
|
|
8457
8616
|
}
|
|
8458
|
-
/** @name PalletNotariesEvent (
|
|
8617
|
+
/** @name PalletNotariesEvent (60) */
|
|
8459
8618
|
interface PalletNotariesEvent extends Enum {
|
|
8460
8619
|
readonly isNotaryProposed: boolean;
|
|
8461
8620
|
readonly asNotaryProposed: {
|
|
@@ -8486,13 +8645,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
8486
8645
|
} & Struct;
|
|
8487
8646
|
readonly type: 'NotaryProposed' | 'NotaryActivated' | 'NotaryMetaUpdateQueued' | 'NotaryMetaUpdated' | 'NotaryMetaUpdateError';
|
|
8488
8647
|
}
|
|
8489
|
-
/** @name ArgonPrimitivesNotaryNotaryMeta (
|
|
8648
|
+
/** @name ArgonPrimitivesNotaryNotaryMeta (61) */
|
|
8490
8649
|
interface ArgonPrimitivesNotaryNotaryMeta extends Struct {
|
|
8491
8650
|
readonly name: Bytes;
|
|
8492
8651
|
readonly public: U8aFixed;
|
|
8493
8652
|
readonly hosts: Vec<Bytes>;
|
|
8494
8653
|
}
|
|
8495
|
-
/** @name ArgonPrimitivesNotaryNotaryRecord (
|
|
8654
|
+
/** @name ArgonPrimitivesNotaryNotaryRecord (68) */
|
|
8496
8655
|
interface ArgonPrimitivesNotaryNotaryRecord extends Struct {
|
|
8497
8656
|
readonly notaryId: Compact<u32>;
|
|
8498
8657
|
readonly operatorAccountId: AccountId32;
|
|
@@ -8501,7 +8660,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8501
8660
|
readonly metaUpdatedTick: Compact<u64>;
|
|
8502
8661
|
readonly meta: ArgonPrimitivesNotaryNotaryMeta;
|
|
8503
8662
|
}
|
|
8504
|
-
/** @name PalletNotebookEvent (
|
|
8663
|
+
/** @name PalletNotebookEvent (69) */
|
|
8505
8664
|
interface PalletNotebookEvent extends Enum {
|
|
8506
8665
|
readonly isNotebookSubmitted: boolean;
|
|
8507
8666
|
readonly asNotebookSubmitted: {
|
|
@@ -8522,7 +8681,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8522
8681
|
} & Struct;
|
|
8523
8682
|
readonly type: 'NotebookSubmitted' | 'NotebookAuditFailure' | 'NotebookReadyForReprocess';
|
|
8524
8683
|
}
|
|
8525
|
-
/** @name ArgonNotaryAuditErrorVerifyError (
|
|
8684
|
+
/** @name ArgonNotaryAuditErrorVerifyError (70) */
|
|
8526
8685
|
interface ArgonNotaryAuditErrorVerifyError extends Enum {
|
|
8527
8686
|
readonly isMissingAccountOrigin: boolean;
|
|
8528
8687
|
readonly asMissingAccountOrigin: {
|
|
@@ -8641,13 +8800,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
8641
8800
|
readonly isNoDefaultBlockVote: boolean;
|
|
8642
8801
|
readonly type: 'MissingAccountOrigin' | 'HistoryLookupError' | 'InvalidAccountChangelist' | 'InvalidChainTransfersList' | 'InvalidBalanceChangeRoot' | 'InvalidHeaderTaxRecorded' | 'InvalidPreviousNonce' | 'InvalidPreviousBalance' | 'InvalidPreviousAccountOrigin' | 'InvalidPreviousBalanceChangeNotebook' | 'InvalidBalanceChange' | 'InvalidBalanceChangeSignature' | 'InvalidNoteRecipients' | 'BalanceChangeError' | 'InvalidNetBalanceChangeset' | 'InsufficientBalance' | 'ExceededMaxBalance' | 'BalanceChangeMismatch' | 'BalanceChangeNotNetZero' | 'InvalidDomainLeaseAllocation' | 'TaxBalanceChangeNotNetZero' | 'MissingBalanceProof' | 'InvalidPreviousBalanceProof' | 'InvalidNotebookHash' | 'InvalidNotebookHeaderHash' | 'DuplicateChainTransfer' | 'DuplicatedAccountOriginUid' | 'InvalidNotarySignature' | 'InvalidSecretProvided' | 'NotebookTooOld' | 'CatchupNotebooksMissing' | 'DecodeError' | 'AccountChannelHoldDoesntExist' | 'AccountAlreadyHasChannelHold' | 'ChannelHoldNotReadyForClaim' | 'AccountLocked' | 'MissingChannelHoldNote' | 'InvalidChannelHoldNote' | 'InvalidChannelHoldClaimers' | 'ChannelHoldNoteBelowMinimum' | 'InvalidTaxNoteAccount' | 'InvalidTaxOperation' | 'InsufficientTaxIncluded' | 'InsufficientBlockVoteTax' | 'IneligibleTaxVoter' | 'BlockVoteInvalidSignature' | 'InvalidBlockVoteAllocation' | 'InvalidBlockVoteRoot' | 'InvalidBlockVotesCount' | 'InvalidBlockVotingPower' | 'InvalidBlockVoteList' | 'InvalidComputeProof' | 'InvalidBlockVoteSource' | 'InsufficientBlockVoteMinimum' | 'InvalidBlockVoteTick' | 'InvalidDefaultBlockVote' | 'InvalidDefaultBlockVoteAuthor' | 'NoDefaultBlockVote';
|
|
8643
8802
|
}
|
|
8644
|
-
/** @name ArgonPrimitivesAccountAccountType (
|
|
8803
|
+
/** @name ArgonPrimitivesAccountAccountType (71) */
|
|
8645
8804
|
interface ArgonPrimitivesAccountAccountType extends Enum {
|
|
8646
8805
|
readonly isTax: boolean;
|
|
8647
8806
|
readonly isDeposit: boolean;
|
|
8648
8807
|
readonly type: 'Tax' | 'Deposit';
|
|
8649
8808
|
}
|
|
8650
|
-
/** @name ArgonNotaryAuditAccountHistoryLookupError (
|
|
8809
|
+
/** @name ArgonNotaryAuditAccountHistoryLookupError (72) */
|
|
8651
8810
|
interface ArgonNotaryAuditAccountHistoryLookupError extends Enum {
|
|
8652
8811
|
readonly isRootNotFound: boolean;
|
|
8653
8812
|
readonly isLastChangeNotFound: boolean;
|
|
@@ -8655,7 +8814,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8655
8814
|
readonly isBlockSpecificationNotFound: boolean;
|
|
8656
8815
|
readonly type: 'RootNotFound' | 'LastChangeNotFound' | 'InvalidTransferToLocalchain' | 'BlockSpecificationNotFound';
|
|
8657
8816
|
}
|
|
8658
|
-
/** @name PalletChainTransferEvent (
|
|
8817
|
+
/** @name PalletChainTransferEvent (75) */
|
|
8659
8818
|
interface PalletChainTransferEvent extends Enum {
|
|
8660
8819
|
readonly isTransferToLocalchain: boolean;
|
|
8661
8820
|
readonly asTransferToLocalchain: {
|
|
@@ -8708,7 +8867,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8708
8867
|
} & Struct;
|
|
8709
8868
|
readonly type: 'TransferToLocalchain' | 'TransferToLocalchainExpired' | 'TransferFromLocalchain' | 'TransferFromLocalchainError' | 'TransferToLocalchainRefundError' | 'PossibleInvalidLocalchainTransferAllowed' | 'TaxationError';
|
|
8710
8869
|
}
|
|
8711
|
-
/** @name PalletBlockSealSpecEvent (
|
|
8870
|
+
/** @name PalletBlockSealSpecEvent (76) */
|
|
8712
8871
|
interface PalletBlockSealSpecEvent extends Enum {
|
|
8713
8872
|
readonly isVoteMinimumAdjusted: boolean;
|
|
8714
8873
|
readonly asVoteMinimumAdjusted: {
|
|
@@ -8726,7 +8885,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8726
8885
|
} & Struct;
|
|
8727
8886
|
readonly type: 'VoteMinimumAdjusted' | 'ComputeDifficultyAdjusted';
|
|
8728
8887
|
}
|
|
8729
|
-
/** @name PalletDomainsEvent (
|
|
8888
|
+
/** @name PalletDomainsEvent (77) */
|
|
8730
8889
|
interface PalletDomainsEvent extends Enum {
|
|
8731
8890
|
readonly isZoneRecordUpdated: boolean;
|
|
8732
8891
|
readonly asZoneRecordUpdated: {
|
|
@@ -8759,29 +8918,29 @@ declare module '@polkadot/types/lookup' {
|
|
|
8759
8918
|
} & Struct;
|
|
8760
8919
|
readonly type: 'ZoneRecordUpdated' | 'DomainRegistered' | 'DomainRenewed' | 'DomainExpired' | 'DomainRegistrationCanceled' | 'DomainRegistrationError';
|
|
8761
8920
|
}
|
|
8762
|
-
/** @name ArgonPrimitivesDomainZoneRecord (
|
|
8921
|
+
/** @name ArgonPrimitivesDomainZoneRecord (78) */
|
|
8763
8922
|
interface ArgonPrimitivesDomainZoneRecord extends Struct {
|
|
8764
8923
|
readonly paymentAccount: AccountId32;
|
|
8765
8924
|
readonly notaryId: u32;
|
|
8766
8925
|
readonly versions: BTreeMap<ArgonPrimitivesDomainSemver, ArgonPrimitivesDomainVersionHost>;
|
|
8767
8926
|
}
|
|
8768
|
-
/** @name ArgonPrimitivesDomainSemver (
|
|
8927
|
+
/** @name ArgonPrimitivesDomainSemver (80) */
|
|
8769
8928
|
interface ArgonPrimitivesDomainSemver extends Struct {
|
|
8770
8929
|
readonly major: u32;
|
|
8771
8930
|
readonly minor: u32;
|
|
8772
8931
|
readonly patch: u32;
|
|
8773
8932
|
}
|
|
8774
|
-
/** @name ArgonPrimitivesDomainVersionHost (
|
|
8933
|
+
/** @name ArgonPrimitivesDomainVersionHost (81) */
|
|
8775
8934
|
interface ArgonPrimitivesDomainVersionHost extends Struct {
|
|
8776
8935
|
readonly datastoreId: Bytes;
|
|
8777
8936
|
readonly host: Bytes;
|
|
8778
8937
|
}
|
|
8779
|
-
/** @name PalletDomainsDomainRegistration (
|
|
8938
|
+
/** @name PalletDomainsDomainRegistration (85) */
|
|
8780
8939
|
interface PalletDomainsDomainRegistration extends Struct {
|
|
8781
8940
|
readonly accountId: AccountId32;
|
|
8782
8941
|
readonly registeredAtTick: u64;
|
|
8783
8942
|
}
|
|
8784
|
-
/** @name PalletPriceIndexEvent (
|
|
8943
|
+
/** @name PalletPriceIndexEvent (86) */
|
|
8785
8944
|
interface PalletPriceIndexEvent extends Enum {
|
|
8786
8945
|
readonly isNewIndex: boolean;
|
|
8787
8946
|
readonly isOperatorChanged: boolean;
|
|
@@ -8790,7 +8949,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8790
8949
|
} & Struct;
|
|
8791
8950
|
readonly type: 'NewIndex' | 'OperatorChanged';
|
|
8792
8951
|
}
|
|
8793
|
-
/** @name PalletGrandpaEvent (
|
|
8952
|
+
/** @name PalletGrandpaEvent (87) */
|
|
8794
8953
|
interface PalletGrandpaEvent extends Enum {
|
|
8795
8954
|
readonly isNewAuthorities: boolean;
|
|
8796
8955
|
readonly asNewAuthorities: {
|
|
@@ -8800,7 +8959,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8800
8959
|
readonly isResumed: boolean;
|
|
8801
8960
|
readonly type: 'NewAuthorities' | 'Paused' | 'Resumed';
|
|
8802
8961
|
}
|
|
8803
|
-
/** @name PalletBlockRewardsEvent (
|
|
8962
|
+
/** @name PalletBlockRewardsEvent (90) */
|
|
8804
8963
|
interface PalletBlockRewardsEvent extends Enum {
|
|
8805
8964
|
readonly isRewardCreated: boolean;
|
|
8806
8965
|
readonly asRewardCreated: {
|
|
@@ -8815,7 +8974,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8815
8974
|
} & Struct;
|
|
8816
8975
|
readonly type: 'RewardCreated' | 'RewardCreateError';
|
|
8817
8976
|
}
|
|
8818
|
-
/** @name ArgonPrimitivesBlockSealBlockPayout (
|
|
8977
|
+
/** @name ArgonPrimitivesBlockSealBlockPayout (92) */
|
|
8819
8978
|
interface ArgonPrimitivesBlockSealBlockPayout extends Struct {
|
|
8820
8979
|
readonly accountId: AccountId32;
|
|
8821
8980
|
readonly ownership: Compact<u128>;
|
|
@@ -8823,14 +8982,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
8823
8982
|
readonly rewardType: ArgonPrimitivesBlockSealBlockRewardType;
|
|
8824
8983
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
8825
8984
|
}
|
|
8826
|
-
/** @name ArgonPrimitivesBlockSealBlockRewardType (
|
|
8985
|
+
/** @name ArgonPrimitivesBlockSealBlockRewardType (93) */
|
|
8827
8986
|
interface ArgonPrimitivesBlockSealBlockRewardType extends Enum {
|
|
8828
8987
|
readonly isMiner: boolean;
|
|
8829
8988
|
readonly isVoter: boolean;
|
|
8830
8989
|
readonly isProfitShare: boolean;
|
|
8831
8990
|
readonly type: 'Miner' | 'Voter' | 'ProfitShare';
|
|
8832
8991
|
}
|
|
8833
|
-
/** @name PalletMintEvent (
|
|
8992
|
+
/** @name PalletMintEvent (96) */
|
|
8834
8993
|
interface PalletMintEvent extends Enum {
|
|
8835
8994
|
readonly isBitcoinMint: boolean;
|
|
8836
8995
|
readonly asBitcoinMint: {
|
|
@@ -8855,13 +9014,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
8855
9014
|
} & Struct;
|
|
8856
9015
|
readonly type: 'BitcoinMint' | 'MiningMint' | 'MintError';
|
|
8857
9016
|
}
|
|
8858
|
-
/** @name PalletMintMintType (
|
|
9017
|
+
/** @name PalletMintMintType (101) */
|
|
8859
9018
|
interface PalletMintMintType extends Enum {
|
|
8860
9019
|
readonly isBitcoin: boolean;
|
|
8861
9020
|
readonly isMining: boolean;
|
|
8862
9021
|
readonly type: 'Bitcoin' | 'Mining';
|
|
8863
9022
|
}
|
|
8864
|
-
/** @name PalletBalancesEvent (
|
|
9023
|
+
/** @name PalletBalancesEvent (102) */
|
|
8865
9024
|
interface PalletBalancesEvent extends Enum {
|
|
8866
9025
|
readonly isEndowed: boolean;
|
|
8867
9026
|
readonly asEndowed: {
|
|
@@ -8975,13 +9134,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
8975
9134
|
} & Struct;
|
|
8976
9135
|
readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed' | 'TotalIssuanceForced';
|
|
8977
9136
|
}
|
|
8978
|
-
/** @name FrameSupportTokensMiscBalanceStatus (
|
|
9137
|
+
/** @name FrameSupportTokensMiscBalanceStatus (103) */
|
|
8979
9138
|
interface FrameSupportTokensMiscBalanceStatus extends Enum {
|
|
8980
9139
|
readonly isFree: boolean;
|
|
8981
9140
|
readonly isReserved: boolean;
|
|
8982
9141
|
readonly type: 'Free' | 'Reserved';
|
|
8983
9142
|
}
|
|
8984
|
-
/** @name PalletTxPauseEvent (
|
|
9143
|
+
/** @name PalletTxPauseEvent (105) */
|
|
8985
9144
|
interface PalletTxPauseEvent extends Enum {
|
|
8986
9145
|
readonly isCallPaused: boolean;
|
|
8987
9146
|
readonly asCallPaused: {
|
|
@@ -8993,7 +9152,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8993
9152
|
} & Struct;
|
|
8994
9153
|
readonly type: 'CallPaused' | 'CallUnpaused';
|
|
8995
9154
|
}
|
|
8996
|
-
/** @name PalletTransactionPaymentEvent (
|
|
9155
|
+
/** @name PalletTransactionPaymentEvent (108) */
|
|
8997
9156
|
interface PalletTransactionPaymentEvent extends Enum {
|
|
8998
9157
|
readonly isTransactionFeePaid: boolean;
|
|
8999
9158
|
readonly asTransactionFeePaid: {
|
|
@@ -9003,7 +9162,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9003
9162
|
} & Struct;
|
|
9004
9163
|
readonly type: 'TransactionFeePaid';
|
|
9005
9164
|
}
|
|
9006
|
-
/** @name PalletUtilityEvent (
|
|
9165
|
+
/** @name PalletUtilityEvent (109) */
|
|
9007
9166
|
interface PalletUtilityEvent extends Enum {
|
|
9008
9167
|
readonly isBatchInterrupted: boolean;
|
|
9009
9168
|
readonly asBatchInterrupted: {
|
|
@@ -9021,9 +9180,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
9021
9180
|
readonly asDispatchedAs: {
|
|
9022
9181
|
readonly result: Result<Null, SpRuntimeDispatchError>;
|
|
9023
9182
|
} & Struct;
|
|
9024
|
-
readonly
|
|
9183
|
+
readonly isIfElseMainSuccess: boolean;
|
|
9184
|
+
readonly isIfElseFallbackCalled: boolean;
|
|
9185
|
+
readonly asIfElseFallbackCalled: {
|
|
9186
|
+
readonly mainError: SpRuntimeDispatchError;
|
|
9187
|
+
} & Struct;
|
|
9188
|
+
readonly type: 'BatchInterrupted' | 'BatchCompleted' | 'BatchCompletedWithErrors' | 'ItemCompleted' | 'ItemFailed' | 'DispatchedAs' | 'IfElseMainSuccess' | 'IfElseFallbackCalled';
|
|
9025
9189
|
}
|
|
9026
|
-
/** @name PalletSudoEvent (
|
|
9190
|
+
/** @name PalletSudoEvent (110) */
|
|
9027
9191
|
interface PalletSudoEvent extends Enum {
|
|
9028
9192
|
readonly isSudid: boolean;
|
|
9029
9193
|
readonly asSudid: {
|
|
@@ -9041,7 +9205,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9041
9205
|
} & Struct;
|
|
9042
9206
|
readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone';
|
|
9043
9207
|
}
|
|
9044
|
-
/** @name PalletIsmpEvent (
|
|
9208
|
+
/** @name PalletIsmpEvent (111) */
|
|
9045
9209
|
interface PalletIsmpEvent extends Enum {
|
|
9046
9210
|
readonly isStateMachineUpdated: boolean;
|
|
9047
9211
|
readonly asStateMachineUpdated: {
|
|
@@ -9094,12 +9258,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
9094
9258
|
readonly asGetRequestTimeoutHandled: IsmpEventsTimeoutHandled;
|
|
9095
9259
|
readonly type: 'StateMachineUpdated' | 'StateCommitmentVetoed' | 'ConsensusClientCreated' | 'ConsensusClientFrozen' | 'Response' | 'Request' | 'Errors' | 'PostRequestHandled' | 'PostResponseHandled' | 'GetRequestHandled' | 'PostRequestTimeoutHandled' | 'PostResponseTimeoutHandled' | 'GetRequestTimeoutHandled';
|
|
9096
9260
|
}
|
|
9097
|
-
/** @name IsmpConsensusStateMachineId (
|
|
9261
|
+
/** @name IsmpConsensusStateMachineId (112) */
|
|
9098
9262
|
interface IsmpConsensusStateMachineId extends Struct {
|
|
9099
9263
|
readonly stateId: IsmpHostStateMachine;
|
|
9100
9264
|
readonly consensusStateId: U8aFixed;
|
|
9101
9265
|
}
|
|
9102
|
-
/** @name IsmpHostStateMachine (
|
|
9266
|
+
/** @name IsmpHostStateMachine (113) */
|
|
9103
9267
|
interface IsmpHostStateMachine extends Enum {
|
|
9104
9268
|
readonly isEvm: boolean;
|
|
9105
9269
|
readonly asEvm: u32;
|
|
@@ -9111,29 +9275,34 @@ declare module '@polkadot/types/lookup' {
|
|
|
9111
9275
|
readonly asSubstrate: U8aFixed;
|
|
9112
9276
|
readonly isTendermint: boolean;
|
|
9113
9277
|
readonly asTendermint: U8aFixed;
|
|
9114
|
-
readonly
|
|
9278
|
+
readonly isRelay: boolean;
|
|
9279
|
+
readonly asRelay: {
|
|
9280
|
+
readonly relay: U8aFixed;
|
|
9281
|
+
readonly paraId: u32;
|
|
9282
|
+
} & Struct;
|
|
9283
|
+
readonly type: 'Evm' | 'Polkadot' | 'Kusama' | 'Substrate' | 'Tendermint' | 'Relay';
|
|
9115
9284
|
}
|
|
9116
|
-
/** @name IsmpConsensusStateMachineHeight (
|
|
9285
|
+
/** @name IsmpConsensusStateMachineHeight (114) */
|
|
9117
9286
|
interface IsmpConsensusStateMachineHeight extends Struct {
|
|
9118
9287
|
readonly id: IsmpConsensusStateMachineId;
|
|
9119
9288
|
readonly height: u64;
|
|
9120
9289
|
}
|
|
9121
|
-
/** @name PalletIsmpErrorsHandlingError (
|
|
9290
|
+
/** @name PalletIsmpErrorsHandlingError (117) */
|
|
9122
9291
|
interface PalletIsmpErrorsHandlingError extends Struct {
|
|
9123
9292
|
readonly message: Bytes;
|
|
9124
9293
|
}
|
|
9125
|
-
/** @name IsmpEventsRequestResponseHandled (
|
|
9294
|
+
/** @name IsmpEventsRequestResponseHandled (119) */
|
|
9126
9295
|
interface IsmpEventsRequestResponseHandled extends Struct {
|
|
9127
9296
|
readonly commitment: H256;
|
|
9128
9297
|
readonly relayer: Bytes;
|
|
9129
9298
|
}
|
|
9130
|
-
/** @name IsmpEventsTimeoutHandled (
|
|
9299
|
+
/** @name IsmpEventsTimeoutHandled (120) */
|
|
9131
9300
|
interface IsmpEventsTimeoutHandled extends Struct {
|
|
9132
9301
|
readonly commitment: H256;
|
|
9133
9302
|
readonly source: IsmpHostStateMachine;
|
|
9134
9303
|
readonly dest: IsmpHostStateMachine;
|
|
9135
9304
|
}
|
|
9136
|
-
/** @name IsmpGrandpaEvent (
|
|
9305
|
+
/** @name IsmpGrandpaEvent (121) */
|
|
9137
9306
|
interface IsmpGrandpaEvent extends Enum {
|
|
9138
9307
|
readonly isStateMachineAdded: boolean;
|
|
9139
9308
|
readonly asStateMachineAdded: {
|
|
@@ -9145,7 +9314,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9145
9314
|
} & Struct;
|
|
9146
9315
|
readonly type: 'StateMachineAdded' | 'StateMachineRemoved';
|
|
9147
9316
|
}
|
|
9148
|
-
/** @name PalletHyperbridgeEvent (
|
|
9317
|
+
/** @name PalletHyperbridgeEvent (123) */
|
|
9149
9318
|
interface PalletHyperbridgeEvent extends Enum {
|
|
9150
9319
|
readonly isHostParamsUpdated: boolean;
|
|
9151
9320
|
readonly asHostParamsUpdated: {
|
|
@@ -9164,19 +9333,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
9164
9333
|
} & Struct;
|
|
9165
9334
|
readonly type: 'HostParamsUpdated' | 'RelayerFeeWithdrawn' | 'ProtocolRevenueWithdrawn';
|
|
9166
9335
|
}
|
|
9167
|
-
/** @name PalletHyperbridgeVersionedHostParams (
|
|
9336
|
+
/** @name PalletHyperbridgeVersionedHostParams (124) */
|
|
9168
9337
|
interface PalletHyperbridgeVersionedHostParams extends Enum {
|
|
9169
9338
|
readonly isV1: boolean;
|
|
9170
9339
|
readonly asV1: PalletHyperbridgeSubstrateHostParams;
|
|
9171
9340
|
readonly type: 'V1';
|
|
9172
9341
|
}
|
|
9173
|
-
/** @name PalletHyperbridgeSubstrateHostParams (
|
|
9342
|
+
/** @name PalletHyperbridgeSubstrateHostParams (125) */
|
|
9174
9343
|
interface PalletHyperbridgeSubstrateHostParams extends Struct {
|
|
9175
9344
|
readonly defaultPerByteFee: u128;
|
|
9176
9345
|
readonly perByteFees: BTreeMap<IsmpHostStateMachine, u128>;
|
|
9177
9346
|
readonly assetRegistrationFee: u128;
|
|
9178
9347
|
}
|
|
9179
|
-
/** @name PalletTokenGatewayEvent (
|
|
9348
|
+
/** @name PalletTokenGatewayEvent (129) */
|
|
9180
9349
|
interface PalletTokenGatewayEvent extends Enum {
|
|
9181
9350
|
readonly isAssetTeleported: boolean;
|
|
9182
9351
|
readonly asAssetTeleported: {
|
|
@@ -9204,12 +9373,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
9204
9373
|
} & Struct;
|
|
9205
9374
|
readonly type: 'AssetTeleported' | 'AssetReceived' | 'AssetRefunded' | 'Erc6160AssetRegistrationDispatched';
|
|
9206
9375
|
}
|
|
9207
|
-
/** @name PalletLiquidityPoolsEvent (
|
|
9376
|
+
/** @name PalletLiquidityPoolsEvent (130) */
|
|
9208
9377
|
interface PalletLiquidityPoolsEvent extends Enum {
|
|
9209
9378
|
readonly isCouldNotDistributeBidPool: boolean;
|
|
9210
9379
|
readonly asCouldNotDistributeBidPool: {
|
|
9211
9380
|
readonly accountId: AccountId32;
|
|
9212
|
-
readonly
|
|
9381
|
+
readonly frameId: u64;
|
|
9213
9382
|
readonly vaultId: u32;
|
|
9214
9383
|
readonly amount: u128;
|
|
9215
9384
|
readonly dispatchError: SpRuntimeDispatchError;
|
|
@@ -9217,26 +9386,26 @@ declare module '@polkadot/types/lookup' {
|
|
|
9217
9386
|
} & Struct;
|
|
9218
9387
|
readonly isCouldNotBurnBidPool: boolean;
|
|
9219
9388
|
readonly asCouldNotBurnBidPool: {
|
|
9220
|
-
readonly
|
|
9389
|
+
readonly frameId: u64;
|
|
9221
9390
|
readonly amount: u128;
|
|
9222
9391
|
readonly dispatchError: SpRuntimeDispatchError;
|
|
9223
9392
|
} & Struct;
|
|
9224
9393
|
readonly isBidPoolDistributed: boolean;
|
|
9225
9394
|
readonly asBidPoolDistributed: {
|
|
9226
|
-
readonly
|
|
9395
|
+
readonly frameId: u64;
|
|
9227
9396
|
readonly bidPoolDistributed: u128;
|
|
9228
9397
|
readonly bidPoolBurned: u128;
|
|
9229
9398
|
readonly bidPoolShares: u32;
|
|
9230
9399
|
} & Struct;
|
|
9231
9400
|
readonly isNextBidPoolCapitalLocked: boolean;
|
|
9232
9401
|
readonly asNextBidPoolCapitalLocked: {
|
|
9233
|
-
readonly
|
|
9402
|
+
readonly frameId: u64;
|
|
9234
9403
|
readonly totalActivatedCapital: u128;
|
|
9235
9404
|
readonly participatingVaults: u32;
|
|
9236
9405
|
} & Struct;
|
|
9237
9406
|
readonly isErrorRefundingLiquidityPoolCapital: boolean;
|
|
9238
9407
|
readonly asErrorRefundingLiquidityPoolCapital: {
|
|
9239
|
-
readonly
|
|
9408
|
+
readonly frameId: u64;
|
|
9240
9409
|
readonly vaultId: u32;
|
|
9241
9410
|
readonly amount: u128;
|
|
9242
9411
|
readonly accountId: AccountId32;
|
|
@@ -9244,14 +9413,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
9244
9413
|
} & Struct;
|
|
9245
9414
|
readonly isRefundedLiquidityPoolCapital: boolean;
|
|
9246
9415
|
readonly asRefundedLiquidityPoolCapital: {
|
|
9247
|
-
readonly
|
|
9416
|
+
readonly frameId: u64;
|
|
9248
9417
|
readonly vaultId: u32;
|
|
9249
9418
|
readonly amount: u128;
|
|
9250
9419
|
readonly accountId: AccountId32;
|
|
9251
9420
|
} & Struct;
|
|
9252
9421
|
readonly type: 'CouldNotDistributeBidPool' | 'CouldNotBurnBidPool' | 'BidPoolDistributed' | 'NextBidPoolCapitalLocked' | 'ErrorRefundingLiquidityPoolCapital' | 'RefundedLiquidityPoolCapital';
|
|
9253
9422
|
}
|
|
9254
|
-
/** @name PalletSkipFeelessPaymentEvent (
|
|
9423
|
+
/** @name PalletSkipFeelessPaymentEvent (131) */
|
|
9255
9424
|
interface PalletSkipFeelessPaymentEvent extends Enum {
|
|
9256
9425
|
readonly isFeeSkipped: boolean;
|
|
9257
9426
|
readonly asFeeSkipped: {
|
|
@@ -9259,13 +9428,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
9259
9428
|
} & Struct;
|
|
9260
9429
|
readonly type: 'FeeSkipped';
|
|
9261
9430
|
}
|
|
9262
|
-
/** @name ArgonRuntimeOriginCaller (
|
|
9431
|
+
/** @name ArgonRuntimeOriginCaller (132) */
|
|
9263
9432
|
interface ArgonRuntimeOriginCaller extends Enum {
|
|
9264
9433
|
readonly isSystem: boolean;
|
|
9265
9434
|
readonly asSystem: FrameSupportDispatchRawOrigin;
|
|
9266
9435
|
readonly type: 'System';
|
|
9267
9436
|
}
|
|
9268
|
-
/** @name FrameSupportDispatchRawOrigin (
|
|
9437
|
+
/** @name FrameSupportDispatchRawOrigin (133) */
|
|
9269
9438
|
interface FrameSupportDispatchRawOrigin extends Enum {
|
|
9270
9439
|
readonly isRoot: boolean;
|
|
9271
9440
|
readonly isSigned: boolean;
|
|
@@ -9273,7 +9442,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9273
9442
|
readonly isNone: boolean;
|
|
9274
9443
|
readonly type: 'Root' | 'Signed' | 'None';
|
|
9275
9444
|
}
|
|
9276
|
-
/** @name FrameSystemPhase (
|
|
9445
|
+
/** @name FrameSystemPhase (134) */
|
|
9277
9446
|
interface FrameSystemPhase extends Enum {
|
|
9278
9447
|
readonly isApplyExtrinsic: boolean;
|
|
9279
9448
|
readonly asApplyExtrinsic: u32;
|
|
@@ -9281,17 +9450,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
9281
9450
|
readonly isInitialization: boolean;
|
|
9282
9451
|
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
|
|
9283
9452
|
}
|
|
9284
|
-
/** @name FrameSystemLastRuntimeUpgradeInfo (
|
|
9453
|
+
/** @name FrameSystemLastRuntimeUpgradeInfo (138) */
|
|
9285
9454
|
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
|
|
9286
9455
|
readonly specVersion: Compact<u32>;
|
|
9287
9456
|
readonly specName: Text;
|
|
9288
9457
|
}
|
|
9289
|
-
/** @name FrameSystemCodeUpgradeAuthorization (
|
|
9458
|
+
/** @name FrameSystemCodeUpgradeAuthorization (140) */
|
|
9290
9459
|
interface FrameSystemCodeUpgradeAuthorization extends Struct {
|
|
9291
9460
|
readonly codeHash: H256;
|
|
9292
9461
|
readonly checkVersion: bool;
|
|
9293
9462
|
}
|
|
9294
|
-
/** @name FrameSystemCall (
|
|
9463
|
+
/** @name FrameSystemCall (141) */
|
|
9295
9464
|
interface FrameSystemCall extends Enum {
|
|
9296
9465
|
readonly isRemark: boolean;
|
|
9297
9466
|
readonly asRemark: {
|
|
@@ -9340,41 +9509,41 @@ declare module '@polkadot/types/lookup' {
|
|
|
9340
9509
|
} & Struct;
|
|
9341
9510
|
readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent' | 'AuthorizeUpgrade' | 'AuthorizeUpgradeWithoutChecks' | 'ApplyAuthorizedUpgrade';
|
|
9342
9511
|
}
|
|
9343
|
-
/** @name FrameSystemLimitsBlockWeights (
|
|
9512
|
+
/** @name FrameSystemLimitsBlockWeights (145) */
|
|
9344
9513
|
interface FrameSystemLimitsBlockWeights extends Struct {
|
|
9345
9514
|
readonly baseBlock: SpWeightsWeightV2Weight;
|
|
9346
9515
|
readonly maxBlock: SpWeightsWeightV2Weight;
|
|
9347
9516
|
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
|
|
9348
9517
|
}
|
|
9349
|
-
/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (
|
|
9518
|
+
/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (146) */
|
|
9350
9519
|
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
|
|
9351
9520
|
readonly normal: FrameSystemLimitsWeightsPerClass;
|
|
9352
9521
|
readonly operational: FrameSystemLimitsWeightsPerClass;
|
|
9353
9522
|
readonly mandatory: FrameSystemLimitsWeightsPerClass;
|
|
9354
9523
|
}
|
|
9355
|
-
/** @name FrameSystemLimitsWeightsPerClass (
|
|
9524
|
+
/** @name FrameSystemLimitsWeightsPerClass (147) */
|
|
9356
9525
|
interface FrameSystemLimitsWeightsPerClass extends Struct {
|
|
9357
9526
|
readonly baseExtrinsic: SpWeightsWeightV2Weight;
|
|
9358
9527
|
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
|
|
9359
9528
|
readonly maxTotal: Option<SpWeightsWeightV2Weight>;
|
|
9360
9529
|
readonly reserved: Option<SpWeightsWeightV2Weight>;
|
|
9361
9530
|
}
|
|
9362
|
-
/** @name FrameSystemLimitsBlockLength (
|
|
9531
|
+
/** @name FrameSystemLimitsBlockLength (149) */
|
|
9363
9532
|
interface FrameSystemLimitsBlockLength extends Struct {
|
|
9364
9533
|
readonly max: FrameSupportDispatchPerDispatchClassU32;
|
|
9365
9534
|
}
|
|
9366
|
-
/** @name FrameSupportDispatchPerDispatchClassU32 (
|
|
9535
|
+
/** @name FrameSupportDispatchPerDispatchClassU32 (150) */
|
|
9367
9536
|
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
|
|
9368
9537
|
readonly normal: u32;
|
|
9369
9538
|
readonly operational: u32;
|
|
9370
9539
|
readonly mandatory: u32;
|
|
9371
9540
|
}
|
|
9372
|
-
/** @name SpWeightsRuntimeDbWeight (
|
|
9541
|
+
/** @name SpWeightsRuntimeDbWeight (151) */
|
|
9373
9542
|
interface SpWeightsRuntimeDbWeight extends Struct {
|
|
9374
9543
|
readonly read: u64;
|
|
9375
9544
|
readonly write: u64;
|
|
9376
9545
|
}
|
|
9377
|
-
/** @name SpVersionRuntimeVersion (
|
|
9546
|
+
/** @name SpVersionRuntimeVersion (152) */
|
|
9378
9547
|
interface SpVersionRuntimeVersion extends Struct {
|
|
9379
9548
|
readonly specName: Text;
|
|
9380
9549
|
readonly implName: Text;
|
|
@@ -9385,7 +9554,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9385
9554
|
readonly transactionVersion: u32;
|
|
9386
9555
|
readonly systemVersion: u8;
|
|
9387
9556
|
}
|
|
9388
|
-
/** @name FrameSystemError (
|
|
9557
|
+
/** @name FrameSystemError (157) */
|
|
9389
9558
|
interface FrameSystemError extends Enum {
|
|
9390
9559
|
readonly isInvalidSpecName: boolean;
|
|
9391
9560
|
readonly isSpecVersionNeedsToIncrease: boolean;
|
|
@@ -9398,7 +9567,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9398
9567
|
readonly isUnauthorized: boolean;
|
|
9399
9568
|
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'MultiBlockMigrationsOngoing' | 'NothingAuthorized' | 'Unauthorized';
|
|
9400
9569
|
}
|
|
9401
|
-
/** @name ArgonPrimitivesDigestsDigestset (
|
|
9570
|
+
/** @name ArgonPrimitivesDigestsDigestset (158) */
|
|
9402
9571
|
interface ArgonPrimitivesDigestsDigestset extends Struct {
|
|
9403
9572
|
readonly author: AccountId32;
|
|
9404
9573
|
readonly blockVote: ArgonPrimitivesDigestsBlockVoteDigest;
|
|
@@ -9407,16 +9576,16 @@ declare module '@polkadot/types/lookup' {
|
|
|
9407
9576
|
readonly tick: u64;
|
|
9408
9577
|
readonly notebooks: ArgonPrimitivesDigestsNotebookDigest;
|
|
9409
9578
|
}
|
|
9410
|
-
/** @name ArgonPrimitivesDigestsBlockVoteDigest (
|
|
9579
|
+
/** @name ArgonPrimitivesDigestsBlockVoteDigest (159) */
|
|
9411
9580
|
interface ArgonPrimitivesDigestsBlockVoteDigest extends Struct {
|
|
9412
9581
|
readonly votingPower: Compact<u128>;
|
|
9413
9582
|
readonly votesCount: Compact<u32>;
|
|
9414
9583
|
}
|
|
9415
|
-
/** @name ArgonPrimitivesDigestsParentVotingKeyDigest (
|
|
9584
|
+
/** @name ArgonPrimitivesDigestsParentVotingKeyDigest (161) */
|
|
9416
9585
|
interface ArgonPrimitivesDigestsParentVotingKeyDigest extends Struct {
|
|
9417
9586
|
readonly parentVotingKey: Option<H256>;
|
|
9418
9587
|
}
|
|
9419
|
-
/** @name ArgonPrimitivesForkPower (
|
|
9588
|
+
/** @name ArgonPrimitivesForkPower (164) */
|
|
9420
9589
|
interface ArgonPrimitivesForkPower extends Struct {
|
|
9421
9590
|
readonly isLatestVote: bool;
|
|
9422
9591
|
readonly notebooks: Compact<u64>;
|
|
@@ -9425,18 +9594,18 @@ declare module '@polkadot/types/lookup' {
|
|
|
9425
9594
|
readonly totalComputeDifficulty: U256;
|
|
9426
9595
|
readonly voteCreatedBlocks: Compact<u128>;
|
|
9427
9596
|
}
|
|
9428
|
-
/** @name ArgonPrimitivesDigestsNotebookDigest (
|
|
9597
|
+
/** @name ArgonPrimitivesDigestsNotebookDigest (166) */
|
|
9429
9598
|
interface ArgonPrimitivesDigestsNotebookDigest extends Struct {
|
|
9430
9599
|
readonly notebooks: Vec<ArgonPrimitivesNotebookNotebookAuditResult>;
|
|
9431
9600
|
}
|
|
9432
|
-
/** @name ArgonPrimitivesNotebookNotebookAuditResult (
|
|
9601
|
+
/** @name ArgonPrimitivesNotebookNotebookAuditResult (168) */
|
|
9433
9602
|
interface ArgonPrimitivesNotebookNotebookAuditResult extends Struct {
|
|
9434
9603
|
readonly notaryId: Compact<u32>;
|
|
9435
9604
|
readonly notebookNumber: Compact<u32>;
|
|
9436
9605
|
readonly tick: Compact<u64>;
|
|
9437
9606
|
readonly auditFirstFailure: Option<ArgonNotaryAuditErrorVerifyError>;
|
|
9438
9607
|
}
|
|
9439
|
-
/** @name PalletDigestsError (
|
|
9608
|
+
/** @name PalletDigestsError (170) */
|
|
9440
9609
|
interface PalletDigestsError extends Enum {
|
|
9441
9610
|
readonly isDuplicateBlockVoteDigest: boolean;
|
|
9442
9611
|
readonly isDuplicateAuthorDigest: boolean;
|
|
@@ -9452,7 +9621,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9452
9621
|
readonly isCouldNotDecodeDigest: boolean;
|
|
9453
9622
|
readonly type: 'DuplicateBlockVoteDigest' | 'DuplicateAuthorDigest' | 'DuplicateTickDigest' | 'DuplicateParentVotingKeyDigest' | 'DuplicateNotebookDigest' | 'DuplicateForkPowerDigest' | 'MissingBlockVoteDigest' | 'MissingAuthorDigest' | 'MissingTickDigest' | 'MissingParentVotingKeyDigest' | 'MissingNotebookDigest' | 'CouldNotDecodeDigest';
|
|
9454
9623
|
}
|
|
9455
|
-
/** @name PalletTimestampCall (
|
|
9624
|
+
/** @name PalletTimestampCall (171) */
|
|
9456
9625
|
interface PalletTimestampCall extends Enum {
|
|
9457
9626
|
readonly isSet: boolean;
|
|
9458
9627
|
readonly asSet: {
|
|
@@ -9460,14 +9629,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
9460
9629
|
} & Struct;
|
|
9461
9630
|
readonly type: 'Set';
|
|
9462
9631
|
}
|
|
9463
|
-
/** @name PalletMultisigMultisig (
|
|
9632
|
+
/** @name PalletMultisigMultisig (173) */
|
|
9464
9633
|
interface PalletMultisigMultisig extends Struct {
|
|
9465
9634
|
readonly when: PalletMultisigTimepoint;
|
|
9466
9635
|
readonly deposit: u128;
|
|
9467
9636
|
readonly depositor: AccountId32;
|
|
9468
9637
|
readonly approvals: Vec<AccountId32>;
|
|
9469
9638
|
}
|
|
9470
|
-
/** @name PalletMultisigCall (
|
|
9639
|
+
/** @name PalletMultisigCall (176) */
|
|
9471
9640
|
interface PalletMultisigCall extends Enum {
|
|
9472
9641
|
readonly isAsMultiThreshold1: boolean;
|
|
9473
9642
|
readonly asAsMultiThreshold1: {
|
|
@@ -9497,9 +9666,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
9497
9666
|
readonly timepoint: PalletMultisigTimepoint;
|
|
9498
9667
|
readonly callHash: U8aFixed;
|
|
9499
9668
|
} & Struct;
|
|
9500
|
-
readonly
|
|
9669
|
+
readonly isPokeDeposit: boolean;
|
|
9670
|
+
readonly asPokeDeposit: {
|
|
9671
|
+
readonly threshold: u16;
|
|
9672
|
+
readonly otherSignatories: Vec<AccountId32>;
|
|
9673
|
+
readonly callHash: U8aFixed;
|
|
9674
|
+
} & Struct;
|
|
9675
|
+
readonly type: 'AsMultiThreshold1' | 'AsMulti' | 'ApproveAsMulti' | 'CancelAsMulti' | 'PokeDeposit';
|
|
9501
9676
|
}
|
|
9502
|
-
/** @name PalletProxyCall (
|
|
9677
|
+
/** @name PalletProxyCall (178) */
|
|
9503
9678
|
interface PalletProxyCall extends Enum {
|
|
9504
9679
|
readonly isProxy: boolean;
|
|
9505
9680
|
readonly asProxy: {
|
|
@@ -9556,16 +9731,16 @@ declare module '@polkadot/types/lookup' {
|
|
|
9556
9731
|
readonly forceProxyType: Option<ArgonRuntimeProxyType>;
|
|
9557
9732
|
readonly call: Call;
|
|
9558
9733
|
} & Struct;
|
|
9559
|
-
readonly
|
|
9734
|
+
readonly isPokeDeposit: boolean;
|
|
9735
|
+
readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced' | 'PokeDeposit';
|
|
9560
9736
|
}
|
|
9561
|
-
/** @name PalletTicksCall (
|
|
9737
|
+
/** @name PalletTicksCall (183) */
|
|
9562
9738
|
type PalletTicksCall = Null;
|
|
9563
|
-
/** @name PalletMiningSlotCall (
|
|
9739
|
+
/** @name PalletMiningSlotCall (184) */
|
|
9564
9740
|
interface PalletMiningSlotCall extends Enum {
|
|
9565
9741
|
readonly isBid: boolean;
|
|
9566
9742
|
readonly asBid: {
|
|
9567
9743
|
readonly bid: u128;
|
|
9568
|
-
readonly rewardDestination: ArgonPrimitivesBlockSealRewardDestination;
|
|
9569
9744
|
readonly keys_: ArgonRuntimeSessionKeys;
|
|
9570
9745
|
readonly miningAccountId: Option<AccountId32>;
|
|
9571
9746
|
} & Struct;
|
|
@@ -9576,7 +9751,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9576
9751
|
} & Struct;
|
|
9577
9752
|
readonly type: 'Bid' | 'ConfigureMiningSlotDelay';
|
|
9578
9753
|
}
|
|
9579
|
-
/** @name PalletBitcoinUtxosCall (
|
|
9754
|
+
/** @name PalletBitcoinUtxosCall (185) */
|
|
9580
9755
|
interface PalletBitcoinUtxosCall extends Enum {
|
|
9581
9756
|
readonly isSync: boolean;
|
|
9582
9757
|
readonly asSync: {
|
|
@@ -9593,19 +9768,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
9593
9768
|
} & Struct;
|
|
9594
9769
|
readonly type: 'Sync' | 'SetConfirmedBlock' | 'SetOperator';
|
|
9595
9770
|
}
|
|
9596
|
-
/** @name ArgonPrimitivesInherentsBitcoinUtxoSync (
|
|
9771
|
+
/** @name ArgonPrimitivesInherentsBitcoinUtxoSync (186) */
|
|
9597
9772
|
interface ArgonPrimitivesInherentsBitcoinUtxoSync extends Struct {
|
|
9598
9773
|
readonly spent: BTreeMap<u64, u64>;
|
|
9599
9774
|
readonly verified: BTreeMap<u64, ArgonPrimitivesBitcoinUtxoRef>;
|
|
9600
9775
|
readonly invalid: BTreeMap<u64, ArgonPrimitivesBitcoinBitcoinRejectedReason>;
|
|
9601
9776
|
readonly syncToBlock: ArgonPrimitivesBitcoinBitcoinBlock;
|
|
9602
9777
|
}
|
|
9603
|
-
/** @name ArgonPrimitivesBitcoinBitcoinBlock (
|
|
9778
|
+
/** @name ArgonPrimitivesBitcoinBitcoinBlock (196) */
|
|
9604
9779
|
interface ArgonPrimitivesBitcoinBitcoinBlock extends Struct {
|
|
9605
9780
|
readonly blockHeight: Compact<u64>;
|
|
9606
9781
|
readonly blockHash: ArgonPrimitivesBitcoinH256Le;
|
|
9607
9782
|
}
|
|
9608
|
-
/** @name PalletVaultsCall (
|
|
9783
|
+
/** @name PalletVaultsCall (197) */
|
|
9609
9784
|
interface PalletVaultsCall extends Enum {
|
|
9610
9785
|
readonly isCreate: boolean;
|
|
9611
9786
|
readonly asCreate: {
|
|
@@ -9633,23 +9808,23 @@ declare module '@polkadot/types/lookup' {
|
|
|
9633
9808
|
} & Struct;
|
|
9634
9809
|
readonly type: 'Create' | 'ModifyFunding' | 'ModifyTerms' | 'Close' | 'ReplaceBitcoinXpub';
|
|
9635
9810
|
}
|
|
9636
|
-
/** @name PalletVaultsVaultConfig (
|
|
9811
|
+
/** @name PalletVaultsVaultConfig (198) */
|
|
9637
9812
|
interface PalletVaultsVaultConfig extends Struct {
|
|
9638
9813
|
readonly terms: ArgonPrimitivesVaultVaultTerms;
|
|
9639
9814
|
readonly securitization: Compact<u128>;
|
|
9640
9815
|
readonly bitcoinXpubkey: ArgonPrimitivesBitcoinOpaqueBitcoinXpub;
|
|
9641
9816
|
readonly securitizationRatio: Compact<u128>;
|
|
9642
9817
|
}
|
|
9643
|
-
/** @name ArgonPrimitivesVaultVaultTerms (
|
|
9818
|
+
/** @name ArgonPrimitivesVaultVaultTerms (199) */
|
|
9644
9819
|
interface ArgonPrimitivesVaultVaultTerms extends Struct {
|
|
9645
9820
|
readonly bitcoinAnnualPercentRate: Compact<u128>;
|
|
9646
9821
|
readonly bitcoinBaseFee: Compact<u128>;
|
|
9647
9822
|
readonly liquidityPoolProfitSharing: Compact<Permill>;
|
|
9648
9823
|
}
|
|
9649
|
-
/** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (
|
|
9824
|
+
/** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (203) */
|
|
9650
9825
|
interface ArgonPrimitivesBitcoinOpaqueBitcoinXpub extends U8aFixed {
|
|
9651
9826
|
}
|
|
9652
|
-
/** @name PalletBitcoinLocksCall (
|
|
9827
|
+
/** @name PalletBitcoinLocksCall (205) */
|
|
9653
9828
|
interface PalletBitcoinLocksCall extends Enum {
|
|
9654
9829
|
readonly isInitialize: boolean;
|
|
9655
9830
|
readonly asInitialize: {
|
|
@@ -9668,16 +9843,20 @@ declare module '@polkadot/types/lookup' {
|
|
|
9668
9843
|
readonly utxoId: u64;
|
|
9669
9844
|
readonly signature: Bytes;
|
|
9670
9845
|
} & Struct;
|
|
9846
|
+
readonly isRatchet: boolean;
|
|
9847
|
+
readonly asRatchet: {
|
|
9848
|
+
readonly utxoId: u64;
|
|
9849
|
+
} & Struct;
|
|
9671
9850
|
readonly isAdminModifyMinimumLockedSats: boolean;
|
|
9672
9851
|
readonly asAdminModifyMinimumLockedSats: {
|
|
9673
9852
|
readonly satoshis: u64;
|
|
9674
9853
|
} & Struct;
|
|
9675
|
-
readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'AdminModifyMinimumLockedSats';
|
|
9854
|
+
readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats';
|
|
9676
9855
|
}
|
|
9677
|
-
/** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (
|
|
9856
|
+
/** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (206) */
|
|
9678
9857
|
interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
|
|
9679
9858
|
}
|
|
9680
|
-
/** @name PalletNotariesCall (
|
|
9859
|
+
/** @name PalletNotariesCall (210) */
|
|
9681
9860
|
interface PalletNotariesCall extends Enum {
|
|
9682
9861
|
readonly isPropose: boolean;
|
|
9683
9862
|
readonly asPropose: {
|
|
@@ -9695,7 +9874,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9695
9874
|
} & Struct;
|
|
9696
9875
|
readonly type: 'Propose' | 'Activate' | 'Update';
|
|
9697
9876
|
}
|
|
9698
|
-
/** @name PalletNotebookCall (
|
|
9877
|
+
/** @name PalletNotebookCall (211) */
|
|
9699
9878
|
interface PalletNotebookCall extends Enum {
|
|
9700
9879
|
readonly isSubmit: boolean;
|
|
9701
9880
|
readonly asSubmit: {
|
|
@@ -9707,12 +9886,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
9707
9886
|
} & Struct;
|
|
9708
9887
|
readonly type: 'Submit' | 'Unlock';
|
|
9709
9888
|
}
|
|
9710
|
-
/** @name ArgonPrimitivesNotebookSignedNotebookHeader (
|
|
9889
|
+
/** @name ArgonPrimitivesNotebookSignedNotebookHeader (213) */
|
|
9711
9890
|
interface ArgonPrimitivesNotebookSignedNotebookHeader extends Struct {
|
|
9712
9891
|
readonly header: ArgonPrimitivesNotebookNotebookHeader;
|
|
9713
9892
|
readonly signature: U8aFixed;
|
|
9714
9893
|
}
|
|
9715
|
-
/** @name ArgonPrimitivesNotebookNotebookHeader (
|
|
9894
|
+
/** @name ArgonPrimitivesNotebookNotebookHeader (214) */
|
|
9716
9895
|
interface ArgonPrimitivesNotebookNotebookHeader extends Struct {
|
|
9717
9896
|
readonly version: Compact<u16>;
|
|
9718
9897
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -9730,7 +9909,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9730
9909
|
readonly parentSecret: Option<H256>;
|
|
9731
9910
|
readonly domains: Vec<ITuple<[H256, AccountId32]>>;
|
|
9732
9911
|
}
|
|
9733
|
-
/** @name ArgonPrimitivesNotebookChainTransfer (
|
|
9912
|
+
/** @name ArgonPrimitivesNotebookChainTransfer (217) */
|
|
9734
9913
|
interface ArgonPrimitivesNotebookChainTransfer extends Enum {
|
|
9735
9914
|
readonly isToMainchain: boolean;
|
|
9736
9915
|
readonly asToMainchain: {
|
|
@@ -9743,12 +9922,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
9743
9922
|
} & Struct;
|
|
9744
9923
|
readonly type: 'ToMainchain' | 'ToLocalchain';
|
|
9745
9924
|
}
|
|
9746
|
-
/** @name ArgonPrimitivesBalanceChangeAccountOrigin (
|
|
9925
|
+
/** @name ArgonPrimitivesBalanceChangeAccountOrigin (220) */
|
|
9747
9926
|
interface ArgonPrimitivesBalanceChangeAccountOrigin extends Struct {
|
|
9748
9927
|
readonly notebookNumber: Compact<u32>;
|
|
9749
9928
|
readonly accountUid: Compact<u32>;
|
|
9750
9929
|
}
|
|
9751
|
-
/** @name PalletChainTransferCall (
|
|
9930
|
+
/** @name PalletChainTransferCall (227) */
|
|
9752
9931
|
interface PalletChainTransferCall extends Enum {
|
|
9753
9932
|
readonly isSendToLocalchain: boolean;
|
|
9754
9933
|
readonly asSendToLocalchain: {
|
|
@@ -9757,7 +9936,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9757
9936
|
} & Struct;
|
|
9758
9937
|
readonly type: 'SendToLocalchain';
|
|
9759
9938
|
}
|
|
9760
|
-
/** @name PalletBlockSealSpecCall (
|
|
9939
|
+
/** @name PalletBlockSealSpecCall (228) */
|
|
9761
9940
|
interface PalletBlockSealSpecCall extends Enum {
|
|
9762
9941
|
readonly isConfigure: boolean;
|
|
9763
9942
|
readonly asConfigure: {
|
|
@@ -9766,7 +9945,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9766
9945
|
} & Struct;
|
|
9767
9946
|
readonly type: 'Configure';
|
|
9768
9947
|
}
|
|
9769
|
-
/** @name PalletDomainsCall (
|
|
9948
|
+
/** @name PalletDomainsCall (229) */
|
|
9770
9949
|
interface PalletDomainsCall extends Enum {
|
|
9771
9950
|
readonly isSetZoneRecord: boolean;
|
|
9772
9951
|
readonly asSetZoneRecord: {
|
|
@@ -9775,7 +9954,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9775
9954
|
} & Struct;
|
|
9776
9955
|
readonly type: 'SetZoneRecord';
|
|
9777
9956
|
}
|
|
9778
|
-
/** @name PalletPriceIndexCall (
|
|
9957
|
+
/** @name PalletPriceIndexCall (230) */
|
|
9779
9958
|
interface PalletPriceIndexCall extends Enum {
|
|
9780
9959
|
readonly isSubmit: boolean;
|
|
9781
9960
|
readonly asSubmit: {
|
|
@@ -9787,7 +9966,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9787
9966
|
} & Struct;
|
|
9788
9967
|
readonly type: 'Submit' | 'SetOperator';
|
|
9789
9968
|
}
|
|
9790
|
-
/** @name PalletPriceIndexPriceIndex (
|
|
9969
|
+
/** @name PalletPriceIndexPriceIndex (231) */
|
|
9791
9970
|
interface PalletPriceIndexPriceIndex extends Struct {
|
|
9792
9971
|
readonly btcUsdPrice: Compact<u128>;
|
|
9793
9972
|
readonly argonotUsdPrice: u128;
|
|
@@ -9796,7 +9975,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9796
9975
|
readonly argonTimeWeightedAverageLiquidity: u128;
|
|
9797
9976
|
readonly tick: Compact<u64>;
|
|
9798
9977
|
}
|
|
9799
|
-
/** @name PalletGrandpaCall (
|
|
9978
|
+
/** @name PalletGrandpaCall (232) */
|
|
9800
9979
|
interface PalletGrandpaCall extends Enum {
|
|
9801
9980
|
readonly isReportEquivocation: boolean;
|
|
9802
9981
|
readonly asReportEquivocation: {
|
|
@@ -9815,12 +9994,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
9815
9994
|
} & Struct;
|
|
9816
9995
|
readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled';
|
|
9817
9996
|
}
|
|
9818
|
-
/** @name SpConsensusGrandpaEquivocationProof (
|
|
9997
|
+
/** @name SpConsensusGrandpaEquivocationProof (233) */
|
|
9819
9998
|
interface SpConsensusGrandpaEquivocationProof extends Struct {
|
|
9820
9999
|
readonly setId: u64;
|
|
9821
10000
|
readonly equivocation: SpConsensusGrandpaEquivocation;
|
|
9822
10001
|
}
|
|
9823
|
-
/** @name SpConsensusGrandpaEquivocation (
|
|
10002
|
+
/** @name SpConsensusGrandpaEquivocation (234) */
|
|
9824
10003
|
interface SpConsensusGrandpaEquivocation extends Enum {
|
|
9825
10004
|
readonly isPrevote: boolean;
|
|
9826
10005
|
readonly asPrevote: FinalityGrandpaEquivocationPrevote;
|
|
@@ -9828,7 +10007,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9828
10007
|
readonly asPrecommit: FinalityGrandpaEquivocationPrecommit;
|
|
9829
10008
|
readonly type: 'Prevote' | 'Precommit';
|
|
9830
10009
|
}
|
|
9831
|
-
/** @name FinalityGrandpaEquivocationPrevote (
|
|
10010
|
+
/** @name FinalityGrandpaEquivocationPrevote (235) */
|
|
9832
10011
|
interface FinalityGrandpaEquivocationPrevote extends Struct {
|
|
9833
10012
|
readonly roundNumber: u64;
|
|
9834
10013
|
readonly identity: SpConsensusGrandpaAppPublic;
|
|
@@ -9841,15 +10020,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
9841
10020
|
SpConsensusGrandpaAppSignature
|
|
9842
10021
|
]>;
|
|
9843
10022
|
}
|
|
9844
|
-
/** @name FinalityGrandpaPrevote (
|
|
10023
|
+
/** @name FinalityGrandpaPrevote (236) */
|
|
9845
10024
|
interface FinalityGrandpaPrevote extends Struct {
|
|
9846
10025
|
readonly targetHash: H256;
|
|
9847
10026
|
readonly targetNumber: u32;
|
|
9848
10027
|
}
|
|
9849
|
-
/** @name SpConsensusGrandpaAppSignature (
|
|
10028
|
+
/** @name SpConsensusGrandpaAppSignature (237) */
|
|
9850
10029
|
interface SpConsensusGrandpaAppSignature extends U8aFixed {
|
|
9851
10030
|
}
|
|
9852
|
-
/** @name FinalityGrandpaEquivocationPrecommit (
|
|
10031
|
+
/** @name FinalityGrandpaEquivocationPrecommit (239) */
|
|
9853
10032
|
interface FinalityGrandpaEquivocationPrecommit extends Struct {
|
|
9854
10033
|
readonly roundNumber: u64;
|
|
9855
10034
|
readonly identity: SpConsensusGrandpaAppPublic;
|
|
@@ -9862,14 +10041,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
9862
10041
|
SpConsensusGrandpaAppSignature
|
|
9863
10042
|
]>;
|
|
9864
10043
|
}
|
|
9865
|
-
/** @name FinalityGrandpaPrecommit (
|
|
10044
|
+
/** @name FinalityGrandpaPrecommit (240) */
|
|
9866
10045
|
interface FinalityGrandpaPrecommit extends Struct {
|
|
9867
10046
|
readonly targetHash: H256;
|
|
9868
10047
|
readonly targetNumber: u32;
|
|
9869
10048
|
}
|
|
9870
|
-
/** @name SpCoreVoid (
|
|
10049
|
+
/** @name SpCoreVoid (242) */
|
|
9871
10050
|
type SpCoreVoid = Null;
|
|
9872
|
-
/** @name PalletBlockSealCall (
|
|
10051
|
+
/** @name PalletBlockSealCall (243) */
|
|
9873
10052
|
interface PalletBlockSealCall extends Enum {
|
|
9874
10053
|
readonly isApply: boolean;
|
|
9875
10054
|
readonly asApply: {
|
|
@@ -9877,7 +10056,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9877
10056
|
} & Struct;
|
|
9878
10057
|
readonly type: 'Apply';
|
|
9879
10058
|
}
|
|
9880
|
-
/** @name ArgonPrimitivesInherentsBlockSealInherent (
|
|
10059
|
+
/** @name ArgonPrimitivesInherentsBlockSealInherent (244) */
|
|
9881
10060
|
interface ArgonPrimitivesInherentsBlockSealInherent extends Enum {
|
|
9882
10061
|
readonly isVote: boolean;
|
|
9883
10062
|
readonly asVote: {
|
|
@@ -9890,13 +10069,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
9890
10069
|
readonly isCompute: boolean;
|
|
9891
10070
|
readonly type: 'Vote' | 'Compute';
|
|
9892
10071
|
}
|
|
9893
|
-
/** @name ArgonPrimitivesBalanceChangeMerkleProof (
|
|
10072
|
+
/** @name ArgonPrimitivesBalanceChangeMerkleProof (245) */
|
|
9894
10073
|
interface ArgonPrimitivesBalanceChangeMerkleProof extends Struct {
|
|
9895
10074
|
readonly proof: Vec<H256>;
|
|
9896
10075
|
readonly numberOfLeaves: Compact<u32>;
|
|
9897
10076
|
readonly leafIndex: Compact<u32>;
|
|
9898
10077
|
}
|
|
9899
|
-
/** @name ArgonPrimitivesBlockVoteBlockVoteT (
|
|
10078
|
+
/** @name ArgonPrimitivesBlockVoteBlockVoteT (247) */
|
|
9900
10079
|
interface ArgonPrimitivesBlockVoteBlockVoteT extends Struct {
|
|
9901
10080
|
readonly accountId: AccountId32;
|
|
9902
10081
|
readonly blockHash: H256;
|
|
@@ -9906,7 +10085,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9906
10085
|
readonly blockRewardsAccountId: AccountId32;
|
|
9907
10086
|
readonly tick: Compact<u64>;
|
|
9908
10087
|
}
|
|
9909
|
-
/** @name SpRuntimeMultiSignature (
|
|
10088
|
+
/** @name SpRuntimeMultiSignature (248) */
|
|
9910
10089
|
interface SpRuntimeMultiSignature extends Enum {
|
|
9911
10090
|
readonly isEd25519: boolean;
|
|
9912
10091
|
readonly asEd25519: U8aFixed;
|
|
@@ -9916,7 +10095,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9916
10095
|
readonly asEcdsa: U8aFixed;
|
|
9917
10096
|
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
|
|
9918
10097
|
}
|
|
9919
|
-
/** @name PalletBlockRewardsCall (
|
|
10098
|
+
/** @name PalletBlockRewardsCall (250) */
|
|
9920
10099
|
interface PalletBlockRewardsCall extends Enum {
|
|
9921
10100
|
readonly isSetBlockRewardsPaused: boolean;
|
|
9922
10101
|
readonly asSetBlockRewardsPaused: {
|
|
@@ -9924,9 +10103,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
9924
10103
|
} & Struct;
|
|
9925
10104
|
readonly type: 'SetBlockRewardsPaused';
|
|
9926
10105
|
}
|
|
9927
|
-
/** @name PalletMintCall (
|
|
10106
|
+
/** @name PalletMintCall (251) */
|
|
9928
10107
|
type PalletMintCall = Null;
|
|
9929
|
-
/** @name PalletBalancesCall (
|
|
10108
|
+
/** @name PalletBalancesCall (252) */
|
|
9930
10109
|
interface PalletBalancesCall extends Enum {
|
|
9931
10110
|
readonly isTransferAllowDeath: boolean;
|
|
9932
10111
|
readonly asTransferAllowDeath: {
|
|
@@ -9975,13 +10154,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
9975
10154
|
} & Struct;
|
|
9976
10155
|
readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn';
|
|
9977
10156
|
}
|
|
9978
|
-
/** @name PalletBalancesAdjustmentDirection (
|
|
10157
|
+
/** @name PalletBalancesAdjustmentDirection (253) */
|
|
9979
10158
|
interface PalletBalancesAdjustmentDirection extends Enum {
|
|
9980
10159
|
readonly isIncrease: boolean;
|
|
9981
10160
|
readonly isDecrease: boolean;
|
|
9982
10161
|
readonly type: 'Increase' | 'Decrease';
|
|
9983
10162
|
}
|
|
9984
|
-
/** @name PalletTxPauseCall (
|
|
10163
|
+
/** @name PalletTxPauseCall (255) */
|
|
9985
10164
|
interface PalletTxPauseCall extends Enum {
|
|
9986
10165
|
readonly isPause: boolean;
|
|
9987
10166
|
readonly asPause: {
|
|
@@ -9993,7 +10172,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9993
10172
|
} & Struct;
|
|
9994
10173
|
readonly type: 'Pause' | 'Unpause';
|
|
9995
10174
|
}
|
|
9996
|
-
/** @name PalletUtilityCall (
|
|
10175
|
+
/** @name PalletUtilityCall (256) */
|
|
9997
10176
|
interface PalletUtilityCall extends Enum {
|
|
9998
10177
|
readonly isBatch: boolean;
|
|
9999
10178
|
readonly asBatch: {
|
|
@@ -10022,9 +10201,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
10022
10201
|
readonly call: Call;
|
|
10023
10202
|
readonly weight: SpWeightsWeightV2Weight;
|
|
10024
10203
|
} & Struct;
|
|
10025
|
-
readonly
|
|
10204
|
+
readonly isIfElse: boolean;
|
|
10205
|
+
readonly asIfElse: {
|
|
10206
|
+
readonly main: Call;
|
|
10207
|
+
readonly fallback: Call;
|
|
10208
|
+
} & Struct;
|
|
10209
|
+
readonly isDispatchAsFallible: boolean;
|
|
10210
|
+
readonly asDispatchAsFallible: {
|
|
10211
|
+
readonly asOrigin: ArgonRuntimeOriginCaller;
|
|
10212
|
+
readonly call: Call;
|
|
10213
|
+
} & Struct;
|
|
10214
|
+
readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight' | 'IfElse' | 'DispatchAsFallible';
|
|
10026
10215
|
}
|
|
10027
|
-
/** @name PalletSudoCall (
|
|
10216
|
+
/** @name PalletSudoCall (258) */
|
|
10028
10217
|
interface PalletSudoCall extends Enum {
|
|
10029
10218
|
readonly isSudo: boolean;
|
|
10030
10219
|
readonly asSudo: {
|
|
@@ -10047,7 +10236,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10047
10236
|
readonly isRemoveKey: boolean;
|
|
10048
10237
|
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey';
|
|
10049
10238
|
}
|
|
10050
|
-
/** @name PalletIsmpCall (
|
|
10239
|
+
/** @name PalletIsmpCall (259) */
|
|
10051
10240
|
interface PalletIsmpCall extends Enum {
|
|
10052
10241
|
readonly isHandleUnsigned: boolean;
|
|
10053
10242
|
readonly asHandleUnsigned: {
|
|
@@ -10067,7 +10256,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10067
10256
|
} & Struct;
|
|
10068
10257
|
readonly type: 'HandleUnsigned' | 'CreateConsensusClient' | 'UpdateConsensusState' | 'FundMessage';
|
|
10069
10258
|
}
|
|
10070
|
-
/** @name IsmpMessagingMessage (
|
|
10259
|
+
/** @name IsmpMessagingMessage (261) */
|
|
10071
10260
|
interface IsmpMessagingMessage extends Enum {
|
|
10072
10261
|
readonly isConsensus: boolean;
|
|
10073
10262
|
readonly asConsensus: IsmpMessagingConsensusMessage;
|
|
@@ -10081,26 +10270,26 @@ declare module '@polkadot/types/lookup' {
|
|
|
10081
10270
|
readonly asTimeout: IsmpMessagingTimeoutMessage;
|
|
10082
10271
|
readonly type: 'Consensus' | 'FraudProof' | 'Request' | 'Response' | 'Timeout';
|
|
10083
10272
|
}
|
|
10084
|
-
/** @name IsmpMessagingConsensusMessage (
|
|
10273
|
+
/** @name IsmpMessagingConsensusMessage (262) */
|
|
10085
10274
|
interface IsmpMessagingConsensusMessage extends Struct {
|
|
10086
10275
|
readonly consensusProof: Bytes;
|
|
10087
10276
|
readonly consensusStateId: U8aFixed;
|
|
10088
10277
|
readonly signer: Bytes;
|
|
10089
10278
|
}
|
|
10090
|
-
/** @name IsmpMessagingFraudProofMessage (
|
|
10279
|
+
/** @name IsmpMessagingFraudProofMessage (263) */
|
|
10091
10280
|
interface IsmpMessagingFraudProofMessage extends Struct {
|
|
10092
10281
|
readonly proof1: Bytes;
|
|
10093
10282
|
readonly proof2: Bytes;
|
|
10094
10283
|
readonly consensusStateId: U8aFixed;
|
|
10095
10284
|
readonly signer: Bytes;
|
|
10096
10285
|
}
|
|
10097
|
-
/** @name IsmpMessagingRequestMessage (
|
|
10286
|
+
/** @name IsmpMessagingRequestMessage (264) */
|
|
10098
10287
|
interface IsmpMessagingRequestMessage extends Struct {
|
|
10099
10288
|
readonly requests: Vec<IsmpRouterPostRequest>;
|
|
10100
10289
|
readonly proof: IsmpMessagingProof;
|
|
10101
10290
|
readonly signer: Bytes;
|
|
10102
10291
|
}
|
|
10103
|
-
/** @name IsmpRouterPostRequest (
|
|
10292
|
+
/** @name IsmpRouterPostRequest (266) */
|
|
10104
10293
|
interface IsmpRouterPostRequest extends Struct {
|
|
10105
10294
|
readonly source: IsmpHostStateMachine;
|
|
10106
10295
|
readonly dest: IsmpHostStateMachine;
|
|
@@ -10110,18 +10299,18 @@ declare module '@polkadot/types/lookup' {
|
|
|
10110
10299
|
readonly timeoutTimestamp: u64;
|
|
10111
10300
|
readonly body: Bytes;
|
|
10112
10301
|
}
|
|
10113
|
-
/** @name IsmpMessagingProof (
|
|
10302
|
+
/** @name IsmpMessagingProof (267) */
|
|
10114
10303
|
interface IsmpMessagingProof extends Struct {
|
|
10115
10304
|
readonly height: IsmpConsensusStateMachineHeight;
|
|
10116
10305
|
readonly proof: Bytes;
|
|
10117
10306
|
}
|
|
10118
|
-
/** @name IsmpMessagingResponseMessage (
|
|
10307
|
+
/** @name IsmpMessagingResponseMessage (268) */
|
|
10119
10308
|
interface IsmpMessagingResponseMessage extends Struct {
|
|
10120
10309
|
readonly datagram: IsmpRouterRequestResponse;
|
|
10121
10310
|
readonly proof: IsmpMessagingProof;
|
|
10122
10311
|
readonly signer: Bytes;
|
|
10123
10312
|
}
|
|
10124
|
-
/** @name IsmpRouterRequestResponse (
|
|
10313
|
+
/** @name IsmpRouterRequestResponse (269) */
|
|
10125
10314
|
interface IsmpRouterRequestResponse extends Enum {
|
|
10126
10315
|
readonly isRequest: boolean;
|
|
10127
10316
|
readonly asRequest: Vec<IsmpRouterRequest>;
|
|
@@ -10129,7 +10318,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10129
10318
|
readonly asResponse: Vec<IsmpRouterResponse>;
|
|
10130
10319
|
readonly type: 'Request' | 'Response';
|
|
10131
10320
|
}
|
|
10132
|
-
/** @name IsmpRouterRequest (
|
|
10321
|
+
/** @name IsmpRouterRequest (271) */
|
|
10133
10322
|
interface IsmpRouterRequest extends Enum {
|
|
10134
10323
|
readonly isPost: boolean;
|
|
10135
10324
|
readonly asPost: IsmpRouterPostRequest;
|
|
@@ -10137,7 +10326,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10137
10326
|
readonly asGet: IsmpRouterGetRequest;
|
|
10138
10327
|
readonly type: 'Post' | 'Get';
|
|
10139
10328
|
}
|
|
10140
|
-
/** @name IsmpRouterGetRequest (
|
|
10329
|
+
/** @name IsmpRouterGetRequest (272) */
|
|
10141
10330
|
interface IsmpRouterGetRequest extends Struct {
|
|
10142
10331
|
readonly source: IsmpHostStateMachine;
|
|
10143
10332
|
readonly dest: IsmpHostStateMachine;
|
|
@@ -10148,7 +10337,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10148
10337
|
readonly context: Bytes;
|
|
10149
10338
|
readonly timeoutTimestamp: u64;
|
|
10150
10339
|
}
|
|
10151
|
-
/** @name IsmpRouterResponse (
|
|
10340
|
+
/** @name IsmpRouterResponse (274) */
|
|
10152
10341
|
interface IsmpRouterResponse extends Enum {
|
|
10153
10342
|
readonly isPost: boolean;
|
|
10154
10343
|
readonly asPost: IsmpRouterPostResponse;
|
|
@@ -10156,23 +10345,23 @@ declare module '@polkadot/types/lookup' {
|
|
|
10156
10345
|
readonly asGet: IsmpRouterGetResponse;
|
|
10157
10346
|
readonly type: 'Post' | 'Get';
|
|
10158
10347
|
}
|
|
10159
|
-
/** @name IsmpRouterPostResponse (
|
|
10348
|
+
/** @name IsmpRouterPostResponse (275) */
|
|
10160
10349
|
interface IsmpRouterPostResponse extends Struct {
|
|
10161
10350
|
readonly post: IsmpRouterPostRequest;
|
|
10162
10351
|
readonly response: Bytes;
|
|
10163
10352
|
readonly timeoutTimestamp: u64;
|
|
10164
10353
|
}
|
|
10165
|
-
/** @name IsmpRouterGetResponse (
|
|
10354
|
+
/** @name IsmpRouterGetResponse (276) */
|
|
10166
10355
|
interface IsmpRouterGetResponse extends Struct {
|
|
10167
10356
|
readonly get_: IsmpRouterGetRequest;
|
|
10168
10357
|
readonly values_: Vec<IsmpRouterStorageValue>;
|
|
10169
10358
|
}
|
|
10170
|
-
/** @name IsmpRouterStorageValue (
|
|
10359
|
+
/** @name IsmpRouterStorageValue (278) */
|
|
10171
10360
|
interface IsmpRouterStorageValue extends Struct {
|
|
10172
10361
|
readonly key: Bytes;
|
|
10173
10362
|
readonly value: Option<Bytes>;
|
|
10174
10363
|
}
|
|
10175
|
-
/** @name IsmpMessagingTimeoutMessage (
|
|
10364
|
+
/** @name IsmpMessagingTimeoutMessage (280) */
|
|
10176
10365
|
interface IsmpMessagingTimeoutMessage extends Enum {
|
|
10177
10366
|
readonly isPost: boolean;
|
|
10178
10367
|
readonly asPost: {
|
|
@@ -10190,7 +10379,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10190
10379
|
} & Struct;
|
|
10191
10380
|
readonly type: 'Post' | 'PostResponse' | 'Get';
|
|
10192
10381
|
}
|
|
10193
|
-
/** @name IsmpMessagingCreateConsensusState (
|
|
10382
|
+
/** @name IsmpMessagingCreateConsensusState (282) */
|
|
10194
10383
|
interface IsmpMessagingCreateConsensusState extends Struct {
|
|
10195
10384
|
readonly consensusState: Bytes;
|
|
10196
10385
|
readonly consensusClientId: U8aFixed;
|
|
@@ -10199,29 +10388,29 @@ declare module '@polkadot/types/lookup' {
|
|
|
10199
10388
|
readonly challengePeriods: BTreeMap<IsmpHostStateMachine, u64>;
|
|
10200
10389
|
readonly stateMachineCommitments: Vec<ITuple<[IsmpConsensusStateMachineId, IsmpMessagingStateCommitmentHeight]>>;
|
|
10201
10390
|
}
|
|
10202
|
-
/** @name IsmpMessagingStateCommitmentHeight (
|
|
10391
|
+
/** @name IsmpMessagingStateCommitmentHeight (288) */
|
|
10203
10392
|
interface IsmpMessagingStateCommitmentHeight extends Struct {
|
|
10204
10393
|
readonly commitment: IsmpConsensusStateCommitment;
|
|
10205
10394
|
readonly height: u64;
|
|
10206
10395
|
}
|
|
10207
|
-
/** @name IsmpConsensusStateCommitment (
|
|
10396
|
+
/** @name IsmpConsensusStateCommitment (289) */
|
|
10208
10397
|
interface IsmpConsensusStateCommitment extends Struct {
|
|
10209
10398
|
readonly timestamp: u64;
|
|
10210
10399
|
readonly overlayRoot: Option<H256>;
|
|
10211
10400
|
readonly stateRoot: H256;
|
|
10212
10401
|
}
|
|
10213
|
-
/** @name PalletIsmpUtilsUpdateConsensusState (
|
|
10402
|
+
/** @name PalletIsmpUtilsUpdateConsensusState (290) */
|
|
10214
10403
|
interface PalletIsmpUtilsUpdateConsensusState extends Struct {
|
|
10215
10404
|
readonly consensusStateId: U8aFixed;
|
|
10216
10405
|
readonly unbondingPeriod: Option<u64>;
|
|
10217
10406
|
readonly challengePeriods: BTreeMap<IsmpHostStateMachine, u64>;
|
|
10218
10407
|
}
|
|
10219
|
-
/** @name PalletIsmpUtilsFundMessageParams (
|
|
10408
|
+
/** @name PalletIsmpUtilsFundMessageParams (291) */
|
|
10220
10409
|
interface PalletIsmpUtilsFundMessageParams extends Struct {
|
|
10221
10410
|
readonly commitment: PalletIsmpUtilsMessageCommitment;
|
|
10222
10411
|
readonly amount: u128;
|
|
10223
10412
|
}
|
|
10224
|
-
/** @name PalletIsmpUtilsMessageCommitment (
|
|
10413
|
+
/** @name PalletIsmpUtilsMessageCommitment (292) */
|
|
10225
10414
|
interface PalletIsmpUtilsMessageCommitment extends Enum {
|
|
10226
10415
|
readonly isRequest: boolean;
|
|
10227
10416
|
readonly asRequest: H256;
|
|
@@ -10229,7 +10418,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10229
10418
|
readonly asResponse: H256;
|
|
10230
10419
|
readonly type: 'Request' | 'Response';
|
|
10231
10420
|
}
|
|
10232
|
-
/** @name IsmpGrandpaCall (
|
|
10421
|
+
/** @name IsmpGrandpaCall (293) */
|
|
10233
10422
|
interface IsmpGrandpaCall extends Enum {
|
|
10234
10423
|
readonly isAddStateMachines: boolean;
|
|
10235
10424
|
readonly asAddStateMachines: {
|
|
@@ -10241,12 +10430,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
10241
10430
|
} & Struct;
|
|
10242
10431
|
readonly type: 'AddStateMachines' | 'RemoveStateMachines';
|
|
10243
10432
|
}
|
|
10244
|
-
/** @name IsmpGrandpaAddStateMachine (
|
|
10433
|
+
/** @name IsmpGrandpaAddStateMachine (295) */
|
|
10245
10434
|
interface IsmpGrandpaAddStateMachine extends Struct {
|
|
10246
10435
|
readonly stateMachine: IsmpHostStateMachine;
|
|
10247
10436
|
readonly slotDuration: u64;
|
|
10248
10437
|
}
|
|
10249
|
-
/** @name PalletTokenGatewayCall (
|
|
10438
|
+
/** @name PalletTokenGatewayCall (296) */
|
|
10250
10439
|
interface PalletTokenGatewayCall extends Enum {
|
|
10251
10440
|
readonly isTeleport: boolean;
|
|
10252
10441
|
readonly asTeleport: {
|
|
@@ -10270,7 +10459,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10270
10459
|
} & Struct;
|
|
10271
10460
|
readonly type: 'Teleport' | 'SetTokenGatewayAddresses' | 'CreateErc6160Asset' | 'UpdateErc6160Asset' | 'UpdateAssetPrecision';
|
|
10272
10461
|
}
|
|
10273
|
-
/** @name PalletTokenGatewayTeleportParams (
|
|
10462
|
+
/** @name PalletTokenGatewayTeleportParams (297) */
|
|
10274
10463
|
interface PalletTokenGatewayTeleportParams extends Struct {
|
|
10275
10464
|
readonly assetId: u32;
|
|
10276
10465
|
readonly destination: IsmpHostStateMachine;
|
|
@@ -10282,33 +10471,33 @@ declare module '@polkadot/types/lookup' {
|
|
|
10282
10471
|
readonly callData: Option<Bytes>;
|
|
10283
10472
|
readonly redeem: bool;
|
|
10284
10473
|
}
|
|
10285
|
-
/** @name PalletTokenGatewayAssetRegistration (
|
|
10474
|
+
/** @name PalletTokenGatewayAssetRegistration (301) */
|
|
10286
10475
|
interface PalletTokenGatewayAssetRegistration extends Struct {
|
|
10287
10476
|
readonly localId: u32;
|
|
10288
10477
|
readonly reg: TokenGatewayPrimitivesGatewayAssetRegistration;
|
|
10289
10478
|
readonly native: bool;
|
|
10290
10479
|
readonly precision: BTreeMap<IsmpHostStateMachine, u8>;
|
|
10291
10480
|
}
|
|
10292
|
-
/** @name TokenGatewayPrimitivesGatewayAssetRegistration (
|
|
10481
|
+
/** @name TokenGatewayPrimitivesGatewayAssetRegistration (302) */
|
|
10293
10482
|
interface TokenGatewayPrimitivesGatewayAssetRegistration extends Struct {
|
|
10294
10483
|
readonly name: Bytes;
|
|
10295
10484
|
readonly symbol: Bytes;
|
|
10296
10485
|
readonly chains: Vec<IsmpHostStateMachine>;
|
|
10297
10486
|
readonly minimumBalance: Option<u128>;
|
|
10298
10487
|
}
|
|
10299
|
-
/** @name TokenGatewayPrimitivesGatewayAssetUpdate (
|
|
10488
|
+
/** @name TokenGatewayPrimitivesGatewayAssetUpdate (307) */
|
|
10300
10489
|
interface TokenGatewayPrimitivesGatewayAssetUpdate extends Struct {
|
|
10301
10490
|
readonly assetId: H256;
|
|
10302
10491
|
readonly addChains: Vec<IsmpHostStateMachine>;
|
|
10303
10492
|
readonly removeChains: Vec<IsmpHostStateMachine>;
|
|
10304
10493
|
readonly newAdmins: Vec<ITuple<[IsmpHostStateMachine, H160]>>;
|
|
10305
10494
|
}
|
|
10306
|
-
/** @name PalletTokenGatewayPrecisionUpdate (
|
|
10495
|
+
/** @name PalletTokenGatewayPrecisionUpdate (313) */
|
|
10307
10496
|
interface PalletTokenGatewayPrecisionUpdate extends Struct {
|
|
10308
10497
|
readonly assetId: u32;
|
|
10309
10498
|
readonly precisions: BTreeMap<IsmpHostStateMachine, u8>;
|
|
10310
10499
|
}
|
|
10311
|
-
/** @name PalletLiquidityPoolsCall (
|
|
10500
|
+
/** @name PalletLiquidityPoolsCall (314) */
|
|
10312
10501
|
interface PalletLiquidityPoolsCall extends Enum {
|
|
10313
10502
|
readonly isBondArgons: boolean;
|
|
10314
10503
|
readonly asBondArgons: {
|
|
@@ -10318,11 +10507,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
10318
10507
|
readonly isUnbondArgons: boolean;
|
|
10319
10508
|
readonly asUnbondArgons: {
|
|
10320
10509
|
readonly vaultId: u32;
|
|
10321
|
-
readonly
|
|
10510
|
+
readonly frameId: u64;
|
|
10322
10511
|
} & Struct;
|
|
10323
10512
|
readonly type: 'BondArgons' | 'UnbondArgons';
|
|
10324
10513
|
}
|
|
10325
|
-
/** @name PalletMultisigError (
|
|
10514
|
+
/** @name PalletMultisigError (316) */
|
|
10326
10515
|
interface PalletMultisigError extends Enum {
|
|
10327
10516
|
readonly isMinimumThreshold: boolean;
|
|
10328
10517
|
readonly isAlreadyApproved: boolean;
|
|
@@ -10340,19 +10529,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
10340
10529
|
readonly isAlreadyStored: boolean;
|
|
10341
10530
|
readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
|
|
10342
10531
|
}
|
|
10343
|
-
/** @name PalletProxyProxyDefinition (
|
|
10532
|
+
/** @name PalletProxyProxyDefinition (319) */
|
|
10344
10533
|
interface PalletProxyProxyDefinition extends Struct {
|
|
10345
10534
|
readonly delegate: AccountId32;
|
|
10346
10535
|
readonly proxyType: ArgonRuntimeProxyType;
|
|
10347
10536
|
readonly delay: u32;
|
|
10348
10537
|
}
|
|
10349
|
-
/** @name PalletProxyAnnouncement (
|
|
10538
|
+
/** @name PalletProxyAnnouncement (323) */
|
|
10350
10539
|
interface PalletProxyAnnouncement extends Struct {
|
|
10351
10540
|
readonly real: AccountId32;
|
|
10352
10541
|
readonly callHash: H256;
|
|
10353
10542
|
readonly height: u32;
|
|
10354
10543
|
}
|
|
10355
|
-
/** @name PalletProxyError (
|
|
10544
|
+
/** @name PalletProxyError (325) */
|
|
10356
10545
|
interface PalletProxyError extends Enum {
|
|
10357
10546
|
readonly isTooMany: boolean;
|
|
10358
10547
|
readonly isNotFound: boolean;
|
|
@@ -10364,52 +10553,40 @@ declare module '@polkadot/types/lookup' {
|
|
|
10364
10553
|
readonly isNoSelfProxy: boolean;
|
|
10365
10554
|
readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
|
|
10366
10555
|
}
|
|
10367
|
-
/** @name ArgonPrimitivesTickTicker (
|
|
10556
|
+
/** @name ArgonPrimitivesTickTicker (326) */
|
|
10368
10557
|
interface ArgonPrimitivesTickTicker extends Struct {
|
|
10369
10558
|
readonly tickDurationMillis: Compact<u64>;
|
|
10370
10559
|
readonly channelHoldExpirationTicks: Compact<u64>;
|
|
10371
10560
|
}
|
|
10372
|
-
/** @name PalletTicksError (
|
|
10561
|
+
/** @name PalletTicksError (328) */
|
|
10373
10562
|
type PalletTicksError = Null;
|
|
10374
|
-
/** @name ArgonPrimitivesBlockSealMiningBidStats (
|
|
10563
|
+
/** @name ArgonPrimitivesBlockSealMiningBidStats (341) */
|
|
10375
10564
|
interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
|
|
10376
10565
|
readonly bidsCount: u32;
|
|
10377
10566
|
readonly bidAmountMin: u128;
|
|
10378
10567
|
readonly bidAmountMax: u128;
|
|
10379
10568
|
readonly bidAmountSum: u128;
|
|
10380
10569
|
}
|
|
10381
|
-
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (
|
|
10570
|
+
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (345) */
|
|
10382
10571
|
interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
|
|
10383
10572
|
readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
|
|
10384
10573
|
readonly ticksBetweenSlots: Compact<u64>;
|
|
10385
10574
|
readonly slotBiddingStartAfterTicks: Compact<u64>;
|
|
10386
10575
|
}
|
|
10387
|
-
/** @name PalletMiningSlotError (
|
|
10576
|
+
/** @name PalletMiningSlotError (349) */
|
|
10388
10577
|
interface PalletMiningSlotError extends Enum {
|
|
10389
10578
|
readonly isSlotNotTakingBids: boolean;
|
|
10390
10579
|
readonly isTooManyBlockRegistrants: boolean;
|
|
10391
10580
|
readonly isInsufficientOwnershipTokens: boolean;
|
|
10392
10581
|
readonly isBidTooLow: boolean;
|
|
10393
10582
|
readonly isCannotRegisterOverlappingSessions: boolean;
|
|
10394
|
-
readonly isObligationNotFound: boolean;
|
|
10395
|
-
readonly isNoMoreObligationIds: boolean;
|
|
10396
|
-
readonly isVaultClosed: boolean;
|
|
10397
|
-
readonly isMinimumObligationAmountNotMet: boolean;
|
|
10398
|
-
readonly isExpirationAtBlockOverflow: boolean;
|
|
10399
10583
|
readonly isInsufficientFunds: boolean;
|
|
10400
|
-
readonly isInsufficientVaultFunds: boolean;
|
|
10401
|
-
readonly isNoPermissions: boolean;
|
|
10402
|
-
readonly isHoldUnexpectedlyModified: boolean;
|
|
10403
|
-
readonly isUnrecoverableHold: boolean;
|
|
10404
|
-
readonly isVaultNotFound: boolean;
|
|
10405
|
-
readonly isAccountWouldBeBelowMinimum: boolean;
|
|
10406
|
-
readonly isCannotRegisterDuplicateKeys: boolean;
|
|
10407
|
-
readonly isInvalidKeyFormat: boolean;
|
|
10408
10584
|
readonly isBidCannotBeReduced: boolean;
|
|
10409
10585
|
readonly isInvalidBidAmount: boolean;
|
|
10410
|
-
readonly
|
|
10586
|
+
readonly isUnrecoverableHold: boolean;
|
|
10587
|
+
readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'InsufficientFunds' | 'BidCannotBeReduced' | 'InvalidBidAmount' | 'UnrecoverableHold';
|
|
10411
10588
|
}
|
|
10412
|
-
/** @name ArgonPrimitivesBitcoinUtxoValue (
|
|
10589
|
+
/** @name ArgonPrimitivesBitcoinUtxoValue (350) */
|
|
10413
10590
|
interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
|
|
10414
10591
|
readonly utxoId: u64;
|
|
10415
10592
|
readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
@@ -10417,7 +10594,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10417
10594
|
readonly submittedAtHeight: Compact<u64>;
|
|
10418
10595
|
readonly watchForSpentUntilHeight: Compact<u64>;
|
|
10419
10596
|
}
|
|
10420
|
-
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (
|
|
10597
|
+
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (351) */
|
|
10421
10598
|
interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
|
|
10422
10599
|
readonly isP2wsh: boolean;
|
|
10423
10600
|
readonly asP2wsh: {
|
|
@@ -10425,7 +10602,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10425
10602
|
} & Struct;
|
|
10426
10603
|
readonly type: 'P2wsh';
|
|
10427
10604
|
}
|
|
10428
|
-
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (
|
|
10605
|
+
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (356) */
|
|
10429
10606
|
interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
|
|
10430
10607
|
readonly isBitcoin: boolean;
|
|
10431
10608
|
readonly isTestnet: boolean;
|
|
@@ -10433,7 +10610,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10433
10610
|
readonly isRegtest: boolean;
|
|
10434
10611
|
readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
|
|
10435
10612
|
}
|
|
10436
|
-
/** @name PalletBitcoinUtxosError (
|
|
10613
|
+
/** @name PalletBitcoinUtxosError (359) */
|
|
10437
10614
|
interface PalletBitcoinUtxosError extends Enum {
|
|
10438
10615
|
readonly isNoPermissions: boolean;
|
|
10439
10616
|
readonly isNoBitcoinConfirmedBlock: boolean;
|
|
@@ -10449,19 +10626,20 @@ declare module '@polkadot/types/lookup' {
|
|
|
10449
10626
|
readonly isDuplicateUtxoId: boolean;
|
|
10450
10627
|
readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId';
|
|
10451
10628
|
}
|
|
10452
|
-
/** @name ArgonPrimitivesVault (
|
|
10629
|
+
/** @name ArgonPrimitivesVault (360) */
|
|
10453
10630
|
interface ArgonPrimitivesVault extends Struct {
|
|
10454
10631
|
readonly operatorAccountId: AccountId32;
|
|
10455
10632
|
readonly securitization: Compact<u128>;
|
|
10456
|
-
readonly
|
|
10457
|
-
readonly
|
|
10633
|
+
readonly argonsLocked: Compact<u128>;
|
|
10634
|
+
readonly argonsPendingActivation: Compact<u128>;
|
|
10635
|
+
readonly argonsScheduledForRelease: BTreeMap<u64, u128>;
|
|
10458
10636
|
readonly securitizationRatio: Compact<u128>;
|
|
10459
10637
|
readonly isClosed: bool;
|
|
10460
10638
|
readonly terms: ArgonPrimitivesVaultVaultTerms;
|
|
10461
10639
|
readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
|
|
10462
10640
|
readonly openedTick: Compact<u64>;
|
|
10463
10641
|
}
|
|
10464
|
-
/** @name ArgonPrimitivesBitcoinBitcoinXPub (
|
|
10642
|
+
/** @name ArgonPrimitivesBitcoinBitcoinXPub (368) */
|
|
10465
10643
|
interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
|
|
10466
10644
|
readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
10467
10645
|
readonly depth: Compact<u8>;
|
|
@@ -10470,32 +10648,24 @@ declare module '@polkadot/types/lookup' {
|
|
|
10470
10648
|
readonly chainCode: U8aFixed;
|
|
10471
10649
|
readonly network: ArgonPrimitivesBitcoinNetworkKind;
|
|
10472
10650
|
}
|
|
10473
|
-
/** @name ArgonPrimitivesBitcoinNetworkKind (
|
|
10651
|
+
/** @name ArgonPrimitivesBitcoinNetworkKind (370) */
|
|
10474
10652
|
interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
|
|
10475
10653
|
readonly isMain: boolean;
|
|
10476
10654
|
readonly isTest: boolean;
|
|
10477
10655
|
readonly type: 'Main' | 'Test';
|
|
10478
10656
|
}
|
|
10479
|
-
/** @name
|
|
10480
|
-
interface
|
|
10481
|
-
readonly
|
|
10482
|
-
readonly
|
|
10483
|
-
readonly
|
|
10484
|
-
readonly
|
|
10485
|
-
readonly
|
|
10486
|
-
readonly
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
readonly expiration: ArgonPrimitivesVaultObligationExpiration;
|
|
10490
|
-
readonly bitcoinAnnualPercentRate: Option<u128>;
|
|
10491
|
-
}
|
|
10492
|
-
/** @name PalletVaultsError (368) */
|
|
10657
|
+
/** @name PalletVaultsVaultFrameFeeRevenue (375) */
|
|
10658
|
+
interface PalletVaultsVaultFrameFeeRevenue extends Struct {
|
|
10659
|
+
readonly frameId: Compact<u64>;
|
|
10660
|
+
readonly feeRevenue: Compact<u128>;
|
|
10661
|
+
readonly bitcoinLocksCreated: Compact<u32>;
|
|
10662
|
+
readonly bitcoinLocksMarketValue: Compact<u128>;
|
|
10663
|
+
readonly bitcoinLocksTotalSatoshis: Compact<u64>;
|
|
10664
|
+
readonly satoshisReleased: Compact<u64>;
|
|
10665
|
+
}
|
|
10666
|
+
/** @name PalletVaultsError (377) */
|
|
10493
10667
|
interface PalletVaultsError extends Enum {
|
|
10494
|
-
readonly isObligationNotFound: boolean;
|
|
10495
10668
|
readonly isNoMoreVaultIds: boolean;
|
|
10496
|
-
readonly isNoMoreObligationIds: boolean;
|
|
10497
|
-
readonly isMinimumObligationAmountNotMet: boolean;
|
|
10498
|
-
readonly isExpirationAtBlockOverflow: boolean;
|
|
10499
10669
|
readonly isInsufficientFunds: boolean;
|
|
10500
10670
|
readonly isInsufficientVaultFunds: boolean;
|
|
10501
10671
|
readonly isAccountBelowMinimumBalance: boolean;
|
|
@@ -10521,13 +10691,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
10521
10691
|
readonly isInternalError: boolean;
|
|
10522
10692
|
readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
|
|
10523
10693
|
readonly isFundingChangeAlreadyScheduled: boolean;
|
|
10524
|
-
readonly
|
|
10525
|
-
readonly isBaseFeeOverflow: boolean;
|
|
10526
|
-
readonly type: 'ObligationNotFound' | 'NoMoreVaultIds' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | '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' | 'ObligationCompletionError' | 'BaseFeeOverflow';
|
|
10694
|
+
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';
|
|
10527
10695
|
}
|
|
10528
|
-
/** @name PalletBitcoinLocksLockedBitcoin (
|
|
10696
|
+
/** @name PalletBitcoinLocksLockedBitcoin (378) */
|
|
10529
10697
|
interface PalletBitcoinLocksLockedBitcoin extends Struct {
|
|
10530
|
-
readonly obligationId: Compact<u64>;
|
|
10531
10698
|
readonly vaultId: Compact<u32>;
|
|
10532
10699
|
readonly lockPrice: u128;
|
|
10533
10700
|
readonly ownerAccount: AccountId32;
|
|
@@ -10542,23 +10709,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
10542
10709
|
readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
10543
10710
|
readonly isVerified: bool;
|
|
10544
10711
|
readonly isRejectedNeedsRelease: bool;
|
|
10712
|
+
readonly fundHoldExtensions: BTreeMap<u64, u128>;
|
|
10545
10713
|
}
|
|
10546
|
-
/** @name PalletBitcoinLocksLockReleaseRequest (
|
|
10714
|
+
/** @name PalletBitcoinLocksLockReleaseRequest (381) */
|
|
10547
10715
|
interface PalletBitcoinLocksLockReleaseRequest extends Struct {
|
|
10548
10716
|
readonly utxoId: Compact<u64>;
|
|
10549
|
-
readonly obligationId: Compact<u64>;
|
|
10550
10717
|
readonly vaultId: Compact<u32>;
|
|
10551
10718
|
readonly bitcoinNetworkFee: Compact<u64>;
|
|
10552
10719
|
readonly cosignDueBlock: Compact<u64>;
|
|
10553
10720
|
readonly toScriptPubkey: Bytes;
|
|
10554
10721
|
readonly redemptionPrice: Compact<u128>;
|
|
10555
10722
|
}
|
|
10556
|
-
/** @name PalletBitcoinLocksError (
|
|
10723
|
+
/** @name PalletBitcoinLocksError (388) */
|
|
10557
10724
|
interface PalletBitcoinLocksError extends Enum {
|
|
10558
|
-
readonly isObligationNotFound: boolean;
|
|
10559
|
-
readonly isNoMoreObligationIds: boolean;
|
|
10560
|
-
readonly isMinimumObligationAmountNotMet: boolean;
|
|
10561
|
-
readonly isExpirationAtBlockOverflow: boolean;
|
|
10562
10725
|
readonly isInsufficientFunds: boolean;
|
|
10563
10726
|
readonly isInsufficientVaultFunds: boolean;
|
|
10564
10727
|
readonly isAccountWouldGoBelowMinimumBalance: boolean;
|
|
@@ -10579,21 +10742,22 @@ declare module '@polkadot/types/lookup' {
|
|
|
10579
10742
|
readonly isHoldUnexpectedlyModified: boolean;
|
|
10580
10743
|
readonly isUnrecoverableHold: boolean;
|
|
10581
10744
|
readonly isVaultNotFound: boolean;
|
|
10582
|
-
readonly
|
|
10583
|
-
readonly
|
|
10745
|
+
readonly isGenericVaultError: boolean;
|
|
10746
|
+
readonly asGenericVaultError: ArgonPrimitivesVaultVaultError;
|
|
10584
10747
|
readonly isLockNotFound: boolean;
|
|
10585
10748
|
readonly isNoVaultBitcoinPubkeysAvailable: boolean;
|
|
10586
10749
|
readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
|
|
10587
10750
|
readonly isVaultNotYetActive: boolean;
|
|
10588
|
-
readonly type: 'ObligationNotFound' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericObligationError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive';
|
|
10589
|
-
}
|
|
10590
|
-
/** @name ArgonPrimitivesVaultObligationError (378) */
|
|
10591
|
-
interface ArgonPrimitivesVaultObligationError extends Enum {
|
|
10592
|
-
readonly isObligationNotFound: boolean;
|
|
10593
|
-
readonly isNoMoreObligationIds: boolean;
|
|
10594
|
-
readonly isMinimumObligationAmountNotMet: boolean;
|
|
10595
|
-
readonly isVaultClosed: boolean;
|
|
10596
10751
|
readonly isExpirationAtBlockOverflow: boolean;
|
|
10752
|
+
readonly isNoRatchetingAvailable: boolean;
|
|
10753
|
+
readonly isLockInProcessOfRelease: boolean;
|
|
10754
|
+
readonly isUnverifiedLock: boolean;
|
|
10755
|
+
readonly isOverflowError: boolean;
|
|
10756
|
+
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' | 'UnverifiedLock' | 'OverflowError';
|
|
10757
|
+
}
|
|
10758
|
+
/** @name ArgonPrimitivesVaultVaultError (389) */
|
|
10759
|
+
interface ArgonPrimitivesVaultVaultError extends Enum {
|
|
10760
|
+
readonly isVaultClosed: boolean;
|
|
10597
10761
|
readonly isAccountWouldBeBelowMinimum: boolean;
|
|
10598
10762
|
readonly isInsufficientFunds: boolean;
|
|
10599
10763
|
readonly isInsufficientVaultFunds: boolean;
|
|
@@ -10604,12 +10768,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
10604
10768
|
readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
|
|
10605
10769
|
readonly isInvalidBitcoinScript: boolean;
|
|
10606
10770
|
readonly isInternalError: boolean;
|
|
10607
|
-
readonly isObligationCompletionError: boolean;
|
|
10608
10771
|
readonly isVaultNotYetActive: boolean;
|
|
10609
|
-
readonly
|
|
10610
|
-
readonly type: 'ObligationNotFound' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'VaultClosed' | 'ExpirationAtBlockOverflow' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'ObligationCompletionError' | 'VaultNotYetActive' | 'BaseFeeOverflow';
|
|
10772
|
+
readonly type: 'VaultClosed' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'VaultNotYetActive';
|
|
10611
10773
|
}
|
|
10612
|
-
/** @name PalletNotariesError (
|
|
10774
|
+
/** @name PalletNotariesError (401) */
|
|
10613
10775
|
interface PalletNotariesError extends Enum {
|
|
10614
10776
|
readonly isProposalNotFound: boolean;
|
|
10615
10777
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -10622,7 +10784,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10622
10784
|
readonly isInvalidNotary: boolean;
|
|
10623
10785
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
10624
10786
|
}
|
|
10625
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
10787
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (405) */
|
|
10626
10788
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
10627
10789
|
readonly notebookNumber: Compact<u32>;
|
|
10628
10790
|
readonly tick: Compact<u64>;
|
|
@@ -10630,7 +10792,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10630
10792
|
readonly secretHash: H256;
|
|
10631
10793
|
readonly parentSecret: Option<H256>;
|
|
10632
10794
|
}
|
|
10633
|
-
/** @name PalletNotebookError (
|
|
10795
|
+
/** @name PalletNotebookError (408) */
|
|
10634
10796
|
interface PalletNotebookError extends Enum {
|
|
10635
10797
|
readonly isDuplicateNotebookNumber: boolean;
|
|
10636
10798
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -10649,17 +10811,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
10649
10811
|
readonly isInvalidNotebookSubmissionTick: boolean;
|
|
10650
10812
|
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
|
|
10651
10813
|
}
|
|
10652
|
-
/** @name PalletChainTransferQueuedTransferOut (
|
|
10814
|
+
/** @name PalletChainTransferQueuedTransferOut (409) */
|
|
10653
10815
|
interface PalletChainTransferQueuedTransferOut extends Struct {
|
|
10654
10816
|
readonly accountId: AccountId32;
|
|
10655
10817
|
readonly amount: u128;
|
|
10656
10818
|
readonly expirationTick: u64;
|
|
10657
10819
|
readonly notaryId: u32;
|
|
10658
10820
|
}
|
|
10659
|
-
/** @name FrameSupportPalletId (
|
|
10821
|
+
/** @name FrameSupportPalletId (415) */
|
|
10660
10822
|
interface FrameSupportPalletId extends U8aFixed {
|
|
10661
10823
|
}
|
|
10662
|
-
/** @name PalletChainTransferError (
|
|
10824
|
+
/** @name PalletChainTransferError (416) */
|
|
10663
10825
|
interface PalletChainTransferError extends Enum {
|
|
10664
10826
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
10665
10827
|
readonly isInsufficientFunds: boolean;
|
|
@@ -10669,7 +10831,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10669
10831
|
readonly isInvalidNotaryUsedForTransfer: boolean;
|
|
10670
10832
|
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer';
|
|
10671
10833
|
}
|
|
10672
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
10834
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (420) */
|
|
10673
10835
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
10674
10836
|
readonly notaryId: Compact<u32>;
|
|
10675
10837
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -10677,12 +10839,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
10677
10839
|
readonly blockVotesCount: Compact<u32>;
|
|
10678
10840
|
readonly blockVotingPower: Compact<u128>;
|
|
10679
10841
|
}
|
|
10680
|
-
/** @name PalletBlockSealSpecError (
|
|
10842
|
+
/** @name PalletBlockSealSpecError (425) */
|
|
10681
10843
|
interface PalletBlockSealSpecError extends Enum {
|
|
10682
10844
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
10683
10845
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
10684
10846
|
}
|
|
10685
|
-
/** @name PalletDomainsError (
|
|
10847
|
+
/** @name PalletDomainsError (427) */
|
|
10686
10848
|
interface PalletDomainsError extends Enum {
|
|
10687
10849
|
readonly isDomainNotRegistered: boolean;
|
|
10688
10850
|
readonly isNotDomainOwner: boolean;
|
|
@@ -10691,7 +10853,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10691
10853
|
readonly isAccountDecodingError: boolean;
|
|
10692
10854
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
10693
10855
|
}
|
|
10694
|
-
/** @name PalletPriceIndexError (
|
|
10856
|
+
/** @name PalletPriceIndexError (428) */
|
|
10695
10857
|
interface PalletPriceIndexError extends Enum {
|
|
10696
10858
|
readonly isNotAuthorizedOperator: boolean;
|
|
10697
10859
|
readonly isMissingValue: boolean;
|
|
@@ -10699,7 +10861,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10699
10861
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
10700
10862
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
10701
10863
|
}
|
|
10702
|
-
/** @name PalletGrandpaStoredState (
|
|
10864
|
+
/** @name PalletGrandpaStoredState (429) */
|
|
10703
10865
|
interface PalletGrandpaStoredState extends Enum {
|
|
10704
10866
|
readonly isLive: boolean;
|
|
10705
10867
|
readonly isPendingPause: boolean;
|
|
@@ -10715,14 +10877,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
10715
10877
|
} & Struct;
|
|
10716
10878
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
10717
10879
|
}
|
|
10718
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
10880
|
+
/** @name PalletGrandpaStoredPendingChange (430) */
|
|
10719
10881
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
10720
10882
|
readonly scheduledAt: u32;
|
|
10721
10883
|
readonly delay: u32;
|
|
10722
10884
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
10723
10885
|
readonly forced: Option<u32>;
|
|
10724
10886
|
}
|
|
10725
|
-
/** @name PalletGrandpaError (
|
|
10887
|
+
/** @name PalletGrandpaError (433) */
|
|
10726
10888
|
interface PalletGrandpaError extends Enum {
|
|
10727
10889
|
readonly isPauseFailed: boolean;
|
|
10728
10890
|
readonly isResumeFailed: boolean;
|
|
@@ -10733,13 +10895,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
10733
10895
|
readonly isDuplicateOffenceReport: boolean;
|
|
10734
10896
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
10735
10897
|
}
|
|
10736
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
10898
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (434) */
|
|
10737
10899
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
10738
10900
|
readonly blockAuthorAccountId: AccountId32;
|
|
10739
10901
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
10740
10902
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
10741
10903
|
}
|
|
10742
|
-
/** @name PalletBlockSealError (
|
|
10904
|
+
/** @name PalletBlockSealError (437) */
|
|
10743
10905
|
interface PalletBlockSealError extends Enum {
|
|
10744
10906
|
readonly isInvalidVoteSealStrength: boolean;
|
|
10745
10907
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -10762,43 +10924,43 @@ declare module '@polkadot/types/lookup' {
|
|
|
10762
10924
|
readonly isInvalidComputeBlockTick: boolean;
|
|
10763
10925
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick';
|
|
10764
10926
|
}
|
|
10765
|
-
/** @name PalletBlockRewardsError (
|
|
10927
|
+
/** @name PalletBlockRewardsError (441) */
|
|
10766
10928
|
type PalletBlockRewardsError = Null;
|
|
10767
|
-
/** @name PalletMintMintAction (
|
|
10929
|
+
/** @name PalletMintMintAction (447) */
|
|
10768
10930
|
interface PalletMintMintAction extends Struct {
|
|
10769
10931
|
readonly argonBurned: u128;
|
|
10770
10932
|
readonly argonMinted: u128;
|
|
10771
10933
|
readonly bitcoinMinted: u128;
|
|
10772
10934
|
}
|
|
10773
|
-
/** @name PalletMintError (
|
|
10935
|
+
/** @name PalletMintError (448) */
|
|
10774
10936
|
interface PalletMintError extends Enum {
|
|
10775
10937
|
readonly isTooManyPendingMints: boolean;
|
|
10776
10938
|
readonly type: 'TooManyPendingMints';
|
|
10777
10939
|
}
|
|
10778
|
-
/** @name PalletBalancesBalanceLock (
|
|
10940
|
+
/** @name PalletBalancesBalanceLock (450) */
|
|
10779
10941
|
interface PalletBalancesBalanceLock extends Struct {
|
|
10780
10942
|
readonly id: U8aFixed;
|
|
10781
10943
|
readonly amount: u128;
|
|
10782
10944
|
readonly reasons: PalletBalancesReasons;
|
|
10783
10945
|
}
|
|
10784
|
-
/** @name PalletBalancesReasons (
|
|
10946
|
+
/** @name PalletBalancesReasons (451) */
|
|
10785
10947
|
interface PalletBalancesReasons extends Enum {
|
|
10786
10948
|
readonly isFee: boolean;
|
|
10787
10949
|
readonly isMisc: boolean;
|
|
10788
10950
|
readonly isAll: boolean;
|
|
10789
10951
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
10790
10952
|
}
|
|
10791
|
-
/** @name PalletBalancesReserveData (
|
|
10953
|
+
/** @name PalletBalancesReserveData (454) */
|
|
10792
10954
|
interface PalletBalancesReserveData extends Struct {
|
|
10793
10955
|
readonly id: U8aFixed;
|
|
10794
10956
|
readonly amount: u128;
|
|
10795
10957
|
}
|
|
10796
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
10958
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (457) */
|
|
10797
10959
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
10798
10960
|
readonly id: ArgonRuntimeRuntimeHoldReason;
|
|
10799
10961
|
readonly amount: u128;
|
|
10800
10962
|
}
|
|
10801
|
-
/** @name ArgonRuntimeRuntimeHoldReason (
|
|
10963
|
+
/** @name ArgonRuntimeRuntimeHoldReason (458) */
|
|
10802
10964
|
interface ArgonRuntimeRuntimeHoldReason extends Enum {
|
|
10803
10965
|
readonly isMiningSlot: boolean;
|
|
10804
10966
|
readonly asMiningSlot: PalletMiningSlotHoldReason;
|
|
@@ -10812,49 +10974,49 @@ declare module '@polkadot/types/lookup' {
|
|
|
10812
10974
|
readonly asLiquidityPools: PalletLiquidityPoolsHoldReason;
|
|
10813
10975
|
readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards' | 'LiquidityPools';
|
|
10814
10976
|
}
|
|
10815
|
-
/** @name PalletMiningSlotHoldReason (
|
|
10977
|
+
/** @name PalletMiningSlotHoldReason (459) */
|
|
10816
10978
|
interface PalletMiningSlotHoldReason extends Enum {
|
|
10817
10979
|
readonly isRegisterAsMiner: boolean;
|
|
10818
10980
|
readonly type: 'RegisterAsMiner';
|
|
10819
10981
|
}
|
|
10820
|
-
/** @name PalletVaultsHoldReason (
|
|
10982
|
+
/** @name PalletVaultsHoldReason (460) */
|
|
10821
10983
|
interface PalletVaultsHoldReason extends Enum {
|
|
10822
10984
|
readonly isEnterVault: boolean;
|
|
10823
10985
|
readonly isObligationFee: boolean;
|
|
10824
10986
|
readonly type: 'EnterVault' | 'ObligationFee';
|
|
10825
10987
|
}
|
|
10826
|
-
/** @name PalletBitcoinLocksHoldReason (
|
|
10988
|
+
/** @name PalletBitcoinLocksHoldReason (461) */
|
|
10827
10989
|
interface PalletBitcoinLocksHoldReason extends Enum {
|
|
10828
10990
|
readonly isReleaseBitcoinLock: boolean;
|
|
10829
10991
|
readonly type: 'ReleaseBitcoinLock';
|
|
10830
10992
|
}
|
|
10831
|
-
/** @name PalletBlockRewardsHoldReason (
|
|
10993
|
+
/** @name PalletBlockRewardsHoldReason (462) */
|
|
10832
10994
|
interface PalletBlockRewardsHoldReason extends Enum {
|
|
10833
10995
|
readonly isMaturationPeriod: boolean;
|
|
10834
10996
|
readonly type: 'MaturationPeriod';
|
|
10835
10997
|
}
|
|
10836
|
-
/** @name PalletLiquidityPoolsHoldReason (
|
|
10998
|
+
/** @name PalletLiquidityPoolsHoldReason (463) */
|
|
10837
10999
|
interface PalletLiquidityPoolsHoldReason extends Enum {
|
|
10838
11000
|
readonly isContributedToLiquidityPool: boolean;
|
|
10839
11001
|
readonly type: 'ContributedToLiquidityPool';
|
|
10840
11002
|
}
|
|
10841
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
11003
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (466) */
|
|
10842
11004
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
10843
11005
|
readonly id: ArgonRuntimeRuntimeFreezeReason;
|
|
10844
11006
|
readonly amount: u128;
|
|
10845
11007
|
}
|
|
10846
|
-
/** @name ArgonRuntimeRuntimeFreezeReason (
|
|
11008
|
+
/** @name ArgonRuntimeRuntimeFreezeReason (467) */
|
|
10847
11009
|
interface ArgonRuntimeRuntimeFreezeReason extends Enum {
|
|
10848
11010
|
readonly isBlockRewards: boolean;
|
|
10849
11011
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
10850
11012
|
readonly type: 'BlockRewards';
|
|
10851
11013
|
}
|
|
10852
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
11014
|
+
/** @name PalletBlockRewardsFreezeReason (468) */
|
|
10853
11015
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
10854
11016
|
readonly isMaturationPeriod: boolean;
|
|
10855
11017
|
readonly type: 'MaturationPeriod';
|
|
10856
11018
|
}
|
|
10857
|
-
/** @name PalletBalancesError (
|
|
11019
|
+
/** @name PalletBalancesError (470) */
|
|
10858
11020
|
interface PalletBalancesError extends Enum {
|
|
10859
11021
|
readonly isVestingBalance: boolean;
|
|
10860
11022
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -10870,7 +11032,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10870
11032
|
readonly isDeltaZero: boolean;
|
|
10871
11033
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
10872
11034
|
}
|
|
10873
|
-
/** @name PalletTxPauseError (
|
|
11035
|
+
/** @name PalletTxPauseError (472) */
|
|
10874
11036
|
interface PalletTxPauseError extends Enum {
|
|
10875
11037
|
readonly isIsPaused: boolean;
|
|
10876
11038
|
readonly isIsUnpaused: boolean;
|
|
@@ -10878,23 +11040,23 @@ declare module '@polkadot/types/lookup' {
|
|
|
10878
11040
|
readonly isNotFound: boolean;
|
|
10879
11041
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
10880
11042
|
}
|
|
10881
|
-
/** @name PalletTransactionPaymentReleases (
|
|
11043
|
+
/** @name PalletTransactionPaymentReleases (473) */
|
|
10882
11044
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
10883
11045
|
readonly isV1Ancient: boolean;
|
|
10884
11046
|
readonly isV2: boolean;
|
|
10885
11047
|
readonly type: 'V1Ancient' | 'V2';
|
|
10886
11048
|
}
|
|
10887
|
-
/** @name PalletUtilityError (
|
|
11049
|
+
/** @name PalletUtilityError (474) */
|
|
10888
11050
|
interface PalletUtilityError extends Enum {
|
|
10889
11051
|
readonly isTooManyCalls: boolean;
|
|
10890
11052
|
readonly type: 'TooManyCalls';
|
|
10891
11053
|
}
|
|
10892
|
-
/** @name PalletSudoError (
|
|
11054
|
+
/** @name PalletSudoError (475) */
|
|
10893
11055
|
interface PalletSudoError extends Enum {
|
|
10894
11056
|
readonly isRequireSudo: boolean;
|
|
10895
11057
|
readonly type: 'RequireSudo';
|
|
10896
11058
|
}
|
|
10897
|
-
/** @name PalletIsmpError (
|
|
11059
|
+
/** @name PalletIsmpError (476) */
|
|
10898
11060
|
interface PalletIsmpError extends Enum {
|
|
10899
11061
|
readonly isInvalidMessage: boolean;
|
|
10900
11062
|
readonly isMessageNotFound: boolean;
|
|
@@ -10903,9 +11065,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
10903
11065
|
readonly isChallengePeriodUpdateFailed: boolean;
|
|
10904
11066
|
readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed';
|
|
10905
11067
|
}
|
|
10906
|
-
/** @name PalletHyperbridgeError (
|
|
11068
|
+
/** @name PalletHyperbridgeError (477) */
|
|
10907
11069
|
type PalletHyperbridgeError = Null;
|
|
10908
|
-
/** @name PalletTokenGatewayError (
|
|
11070
|
+
/** @name PalletTokenGatewayError (479) */
|
|
10909
11071
|
interface PalletTokenGatewayError extends Enum {
|
|
10910
11072
|
readonly isUnregisteredAsset: boolean;
|
|
10911
11073
|
readonly isAssetTeleportError: boolean;
|
|
@@ -10918,7 +11080,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10918
11080
|
readonly isNotAssetOwner: boolean;
|
|
10919
11081
|
readonly type: 'UnregisteredAsset' | 'AssetTeleportError' | 'CoprocessorNotConfigured' | 'DispatchError' | 'AssetCreationError' | 'AssetDecimalsNotFound' | 'NotInitialized' | 'UnknownAsset' | 'NotAssetOwner';
|
|
10920
11082
|
}
|
|
10921
|
-
/** @name PalletLiquidityPoolsLiquidityPool (
|
|
11083
|
+
/** @name PalletLiquidityPoolsLiquidityPool (481) */
|
|
10922
11084
|
interface PalletLiquidityPoolsLiquidityPool extends Struct {
|
|
10923
11085
|
readonly contributorBalances: Vec<ITuple<[AccountId32, u128]>>;
|
|
10924
11086
|
readonly doNotRenew: Vec<AccountId32>;
|
|
@@ -10926,13 +11088,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
10926
11088
|
readonly distributedProfits: Option<u128>;
|
|
10927
11089
|
readonly vaultSharingPercent: Compact<Permill>;
|
|
10928
11090
|
}
|
|
10929
|
-
/** @name PalletLiquidityPoolsLiquidityPoolCapital (
|
|
11091
|
+
/** @name PalletLiquidityPoolsLiquidityPoolCapital (490) */
|
|
10930
11092
|
interface PalletLiquidityPoolsLiquidityPoolCapital extends Struct {
|
|
10931
11093
|
readonly vaultId: Compact<u32>;
|
|
10932
11094
|
readonly activatedCapital: Compact<u128>;
|
|
10933
|
-
readonly
|
|
11095
|
+
readonly frameId: Compact<u64>;
|
|
10934
11096
|
}
|
|
10935
|
-
/** @name PalletLiquidityPoolsError (
|
|
11097
|
+
/** @name PalletLiquidityPoolsError (492) */
|
|
10936
11098
|
interface PalletLiquidityPoolsError extends Enum {
|
|
10937
11099
|
readonly isContributionTooLow: boolean;
|
|
10938
11100
|
readonly isVaultNotAcceptingMiningBonds: boolean;
|
|
@@ -10946,33 +11108,35 @@ declare module '@polkadot/types/lookup' {
|
|
|
10946
11108
|
readonly isAlreadyRenewed: boolean;
|
|
10947
11109
|
readonly type: 'ContributionTooLow' | 'VaultNotAcceptingMiningBonds' | 'BelowMinimum' | 'NotAFundContributor' | 'InternalError' | 'CouldNotFindLiquidityPool' | 'MaxContributorsExceeded' | 'ActivatedSecuritizationExceeded' | 'MaxVaultsExceeded' | 'AlreadyRenewed';
|
|
10948
11110
|
}
|
|
10949
|
-
/** @name FrameSystemExtensionsCheckNonZeroSender (
|
|
11111
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (495) */
|
|
10950
11112
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
10951
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
11113
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (496) */
|
|
10952
11114
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
10953
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
11115
|
+
/** @name FrameSystemExtensionsCheckTxVersion (497) */
|
|
10954
11116
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
10955
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
11117
|
+
/** @name FrameSystemExtensionsCheckGenesis (498) */
|
|
10956
11118
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
10957
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
11119
|
+
/** @name FrameSystemExtensionsCheckNonce (501) */
|
|
10958
11120
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
10959
11121
|
}
|
|
10960
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
11122
|
+
/** @name FrameSystemExtensionsCheckWeight (502) */
|
|
10961
11123
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
10962
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
11124
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (503) */
|
|
10963
11125
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
10964
11126
|
}
|
|
10965
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
11127
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (504) */
|
|
10966
11128
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
10967
11129
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
10968
11130
|
}
|
|
10969
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
11131
|
+
/** @name FrameMetadataHashExtensionMode (505) */
|
|
10970
11132
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
10971
11133
|
readonly isDisabled: boolean;
|
|
10972
11134
|
readonly isEnabled: boolean;
|
|
10973
11135
|
readonly type: 'Disabled' | 'Enabled';
|
|
10974
11136
|
}
|
|
10975
|
-
/** @name
|
|
11137
|
+
/** @name FrameSystemExtensionsWeightReclaim (506) */
|
|
11138
|
+
type FrameSystemExtensionsWeightReclaim = Null;
|
|
11139
|
+
/** @name ArgonRuntimeRuntime (508) */
|
|
10976
11140
|
type ArgonRuntimeRuntime = Null;
|
|
10977
11141
|
}
|
|
10978
11142
|
|
|
@@ -11072,6 +11236,53 @@ declare class AccountRegistry {
|
|
|
11072
11236
|
static factory: (name?: string) => AccountRegistry;
|
|
11073
11237
|
}
|
|
11074
11238
|
|
|
11239
|
+
declare const MICROGONS_PER_ARGON = 1000000;
|
|
11240
|
+
declare function formatArgons(x: bigint | number): string;
|
|
11241
|
+
declare function formatPercent(x: BigNumber | undefined): string;
|
|
11242
|
+
type NonNullableProps<T> = {
|
|
11243
|
+
[K in keyof T]-?: Exclude<T[K], undefined | null>;
|
|
11244
|
+
};
|
|
11245
|
+
declare function filterUndefined<T extends Record<string, any>>(obj: Partial<T>): NonNullableProps<T>;
|
|
11246
|
+
declare function gettersToObject<T>(obj: T): Promise<T>;
|
|
11247
|
+
declare function convertFixedU128ToBigNumber(fixedU128: bigint): BigNumber;
|
|
11248
|
+
declare function convertPermillToBigNumber(permill: bigint): BigNumber;
|
|
11249
|
+
declare function eventDataToJson(event: GenericEvent): any;
|
|
11250
|
+
declare function dispatchErrorToString(client: ArgonClient, error: DispatchError$1): string;
|
|
11251
|
+
declare class ExtrinsicError extends Error {
|
|
11252
|
+
readonly errorCode: string;
|
|
11253
|
+
readonly details?: string | undefined;
|
|
11254
|
+
readonly batchInterruptedIndex?: number | undefined;
|
|
11255
|
+
constructor(errorCode: string, details?: string | undefined, batchInterruptedIndex?: number | undefined);
|
|
11256
|
+
toString(): string;
|
|
11257
|
+
}
|
|
11258
|
+
declare function dispatchErrorToExtrinsicError(client: ArgonClient, error: DispatchError$1, batchInterruptedIndex?: number): ExtrinsicError;
|
|
11259
|
+
/**
|
|
11260
|
+
* 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)
|
|
11261
|
+
* @param events The events to check
|
|
11262
|
+
* @param client The client to use
|
|
11263
|
+
* @returns A promise that resolves if the extrinsic was successful, and rejects if it failed
|
|
11264
|
+
*/
|
|
11265
|
+
declare function checkForExtrinsicSuccess(events: EventRecord[], client: ArgonClient): Promise<void>;
|
|
11266
|
+
/**
|
|
11267
|
+
* JSON with support for BigInt in JSON.stringify and JSON.parse
|
|
11268
|
+
*/
|
|
11269
|
+
declare class JsonExt {
|
|
11270
|
+
static stringify(obj: any, space?: number): string;
|
|
11271
|
+
static parse<T = any>(str: string): T;
|
|
11272
|
+
}
|
|
11273
|
+
declare function createNanoEvents<Events extends EventsMap = DefaultEvents>(): TypedEmitter<Events>;
|
|
11274
|
+
declare class TypedEmitter<Events extends EventsMap = DefaultEvents> {
|
|
11275
|
+
private events;
|
|
11276
|
+
emit<K extends keyof Events>(this: this, event: K, ...args: Parameters<Events[K]>): void;
|
|
11277
|
+
on<K extends keyof Events>(this: this, event: K, cb: Events[K]): () => void;
|
|
11278
|
+
}
|
|
11279
|
+
interface EventsMap {
|
|
11280
|
+
[event: string]: any;
|
|
11281
|
+
}
|
|
11282
|
+
interface DefaultEvents extends EventsMap {
|
|
11283
|
+
[event: string]: (...args: any) => void;
|
|
11284
|
+
}
|
|
11285
|
+
|
|
11075
11286
|
type BlockWatchEvents = {
|
|
11076
11287
|
block: (header: Header$1, digests: {
|
|
11077
11288
|
tick: number;
|
|
@@ -11081,7 +11292,7 @@ type BlockWatchEvents = {
|
|
|
11081
11292
|
'bitcoin-verified': (header: Header$1, lockedBitcoin: {
|
|
11082
11293
|
utxoId: number;
|
|
11083
11294
|
vaultId: number;
|
|
11084
|
-
|
|
11295
|
+
lockPrice: bigint;
|
|
11085
11296
|
}) => void;
|
|
11086
11297
|
'mining-bid': (header: Header$1, bid: {
|
|
11087
11298
|
amount: bigint;
|
|
@@ -11098,17 +11309,13 @@ declare function getAuthorFromHeader(client: ArgonClient, header: Header$1): str
|
|
|
11098
11309
|
declare class BlockWatch {
|
|
11099
11310
|
private readonly mainchain;
|
|
11100
11311
|
private options;
|
|
11101
|
-
readonly events:
|
|
11102
|
-
readonly
|
|
11103
|
-
[
|
|
11312
|
+
readonly events: TypedEmitter<BlockWatchEvents>;
|
|
11313
|
+
readonly locksById: {
|
|
11314
|
+
[utxoId: number]: {
|
|
11104
11315
|
vaultId: number;
|
|
11105
|
-
|
|
11106
|
-
utxoId?: number;
|
|
11316
|
+
lockPrice: bigint;
|
|
11107
11317
|
};
|
|
11108
11318
|
};
|
|
11109
|
-
readonly obligationIdByUtxoId: {
|
|
11110
|
-
[utxoId: number]: number;
|
|
11111
|
-
};
|
|
11112
11319
|
private unsubscribe?;
|
|
11113
11320
|
constructor(mainchain: Promise<ArgonClient>, options?: {
|
|
11114
11321
|
finalizedBlocks?: boolean;
|
|
@@ -11122,38 +11329,42 @@ declare class BlockWatch {
|
|
|
11122
11329
|
}
|
|
11123
11330
|
|
|
11124
11331
|
/**
|
|
11125
|
-
* A
|
|
11126
|
-
*
|
|
11332
|
+
* A frame starts with the bidding start time (noon EDT), and ends the next day at noon EDT. Frame 0 was the first day of
|
|
11333
|
+
* bidding, and frame 1 began once the first miners were selected. This occurred on February 24th, 2025 at 12pm EDT.
|
|
11334
|
+
*
|
|
11335
|
+
* This class calculates fromeId from ticks.
|
|
11127
11336
|
*/
|
|
11128
|
-
declare class
|
|
11337
|
+
declare class FrameCalculator {
|
|
11129
11338
|
private miningConfig;
|
|
11130
11339
|
private genesisTick;
|
|
11131
11340
|
getForTick(client: ArgonClient, tick: number): Promise<number>;
|
|
11341
|
+
getTickRangeForFrame(client: ArgonClient, frameId: number): Promise<[number, number]>;
|
|
11132
11342
|
getForHeader(client: ArgonClient, header: Header$2): Promise<number | undefined>;
|
|
11343
|
+
private getConfig;
|
|
11133
11344
|
}
|
|
11134
11345
|
|
|
11135
11346
|
declare class AccountMiners {
|
|
11136
11347
|
private accountset;
|
|
11137
11348
|
private options;
|
|
11138
|
-
events:
|
|
11349
|
+
events: TypedEmitter<{
|
|
11139
11350
|
mined: (header: Header, earnings: {
|
|
11140
11351
|
author: string;
|
|
11141
11352
|
argons: bigint;
|
|
11142
11353
|
argonots: bigint;
|
|
11143
|
-
|
|
11144
|
-
|
|
11354
|
+
forCohortWithStartingFrameId: number;
|
|
11355
|
+
duringFrameId: number;
|
|
11145
11356
|
}) => void;
|
|
11146
11357
|
minted: (header: Header, minted: {
|
|
11147
11358
|
accountId: string;
|
|
11148
11359
|
argons: bigint;
|
|
11149
|
-
|
|
11150
|
-
|
|
11360
|
+
forCohortWithStartingFrameId: number;
|
|
11361
|
+
duringFrameId: number;
|
|
11151
11362
|
}) => void;
|
|
11152
11363
|
}>;
|
|
11153
|
-
|
|
11364
|
+
frameCalculator: FrameCalculator;
|
|
11154
11365
|
private trackedAccountsByAddress;
|
|
11155
11366
|
constructor(accountset: Accountset, registeredMiners: {
|
|
11156
|
-
|
|
11367
|
+
startingFrameId: number;
|
|
11157
11368
|
address: string;
|
|
11158
11369
|
subaccountIndex: number;
|
|
11159
11370
|
}[], options?: {
|
|
@@ -11163,13 +11374,13 @@ declare class AccountMiners {
|
|
|
11163
11374
|
onBlock(header: Header, digests: {
|
|
11164
11375
|
author: string;
|
|
11165
11376
|
tick: number;
|
|
11166
|
-
}, events: GenericEvent
|
|
11167
|
-
[
|
|
11377
|
+
}, events: GenericEvent[]): Promise<{
|
|
11378
|
+
[cohortStartingFrameId: number]: {
|
|
11168
11379
|
argonsMinted: bigint;
|
|
11169
11380
|
argonsMined: bigint;
|
|
11170
11381
|
argonotsMined: bigint;
|
|
11171
11382
|
};
|
|
11172
|
-
|
|
11383
|
+
duringFrameId: number;
|
|
11173
11384
|
}>;
|
|
11174
11385
|
private newCohortMiners;
|
|
11175
11386
|
static loadAt(accountset: Accountset, options?: {
|
|
@@ -11182,10 +11393,12 @@ type SubaccountRange = readonly number[];
|
|
|
11182
11393
|
type IAddressNames = Map<string, string>;
|
|
11183
11394
|
interface ISubaccountMiner {
|
|
11184
11395
|
address: string;
|
|
11185
|
-
seat?: number;
|
|
11186
|
-
bidAmount?: bigint;
|
|
11187
11396
|
subaccountIndex: number;
|
|
11188
|
-
|
|
11397
|
+
seat?: {
|
|
11398
|
+
frameId: number;
|
|
11399
|
+
index: number;
|
|
11400
|
+
bidAmount: bigint;
|
|
11401
|
+
};
|
|
11189
11402
|
isLastDay: boolean;
|
|
11190
11403
|
}
|
|
11191
11404
|
declare class Accountset {
|
|
@@ -11236,6 +11449,7 @@ declare class Accountset {
|
|
|
11236
11449
|
loadRegisteredMiners(api: ApiDecoration<'promise'>): Promise<ISubaccountMiner[]>;
|
|
11237
11450
|
miningSeats(blockHash?: Uint8Array): Promise<(ISubaccountMiner & {
|
|
11238
11451
|
hasWinningBid: boolean;
|
|
11452
|
+
bidAmount?: bigint;
|
|
11239
11453
|
})[]>;
|
|
11240
11454
|
bids(blockHash?: Uint8Array): Promise<{
|
|
11241
11455
|
address: string;
|
|
@@ -11278,7 +11492,6 @@ declare class Accountset {
|
|
|
11278
11492
|
address: string;
|
|
11279
11493
|
}[];
|
|
11280
11494
|
bidAmount: bigint;
|
|
11281
|
-
sendRewardsToSeed?: boolean;
|
|
11282
11495
|
}): Promise<TxSubmitter>;
|
|
11283
11496
|
/**
|
|
11284
11497
|
* Create a mining bid. This will create a bid for each account in the given range from the seed account as funding.
|
|
@@ -11287,7 +11500,6 @@ declare class Accountset {
|
|
|
11287
11500
|
subaccountRange?: SubaccountRange;
|
|
11288
11501
|
bidAmount: bigint;
|
|
11289
11502
|
tip?: bigint;
|
|
11290
|
-
sendRewardsToSeed?: boolean;
|
|
11291
11503
|
}): Promise<{
|
|
11292
11504
|
finalFee?: bigint;
|
|
11293
11505
|
blockHash?: Uint8Array;
|
|
@@ -11307,7 +11519,10 @@ interface IAccountStatus {
|
|
|
11307
11519
|
address: string;
|
|
11308
11520
|
argons: string;
|
|
11309
11521
|
argonots: string;
|
|
11310
|
-
seat?:
|
|
11522
|
+
seat?: {
|
|
11523
|
+
frameId: number;
|
|
11524
|
+
index: number;
|
|
11525
|
+
};
|
|
11311
11526
|
bidPlace?: number;
|
|
11312
11527
|
bidAmount?: bigint;
|
|
11313
11528
|
isWorkingOn?: boolean;
|
|
@@ -11324,8 +11539,8 @@ declare class MiningBids {
|
|
|
11324
11539
|
constructor(client: Promise<ArgonClient>, shouldLog?: boolean);
|
|
11325
11540
|
maxCohortSize(): Promise<number>;
|
|
11326
11541
|
onCohortChange(options: {
|
|
11327
|
-
onBiddingStart?: (
|
|
11328
|
-
onBiddingEnd?: (
|
|
11542
|
+
onBiddingStart?: (cohortStartingFrameId: number) => Promise<void>;
|
|
11543
|
+
onBiddingEnd?: (cohortStartingFrameId: number) => Promise<void>;
|
|
11329
11544
|
}): Promise<{
|
|
11330
11545
|
unsubscribe: () => void;
|
|
11331
11546
|
}>;
|
|
@@ -11337,43 +11552,12 @@ declare class MiningBids {
|
|
|
11337
11552
|
print(): void;
|
|
11338
11553
|
}
|
|
11339
11554
|
|
|
11340
|
-
declare const MICROGONS_PER_ARGON = 1000000;
|
|
11341
|
-
declare function formatArgons(x: bigint | number): string;
|
|
11342
|
-
declare function formatPercent(x: BigNumber | undefined): string;
|
|
11343
|
-
declare function filterUndefined(obj: Record<string, any>): Record<string, any>;
|
|
11344
|
-
declare function gettersToObject<T>(obj: T): Promise<T>;
|
|
11345
|
-
declare function convertFixedU128ToBigNumber(fixedU128: bigint): BigNumber;
|
|
11346
|
-
declare function convertPermillToBigNumber(permill: bigint): BigNumber;
|
|
11347
|
-
declare function eventDataToJson(event: GenericEvent): any;
|
|
11348
|
-
declare function dispatchErrorToString(client: ArgonClient, error: DispatchError$1): string;
|
|
11349
|
-
declare class ExtrinsicError extends Error {
|
|
11350
|
-
readonly errorCode: string;
|
|
11351
|
-
readonly details?: string | undefined;
|
|
11352
|
-
readonly batchInterruptedIndex?: number | undefined;
|
|
11353
|
-
constructor(errorCode: string, details?: string | undefined, batchInterruptedIndex?: number | undefined);
|
|
11354
|
-
toString(): string;
|
|
11355
|
-
}
|
|
11356
|
-
declare function dispatchErrorToExtrinsicError(client: ArgonClient, error: DispatchError$1, batchInterruptedIndex?: number): ExtrinsicError;
|
|
11357
|
-
/**
|
|
11358
|
-
* 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)
|
|
11359
|
-
* @param events The events to check
|
|
11360
|
-
* @param client The client to use
|
|
11361
|
-
* @returns A promise that resolves if the extrinsic was successful, and rejects if it failed
|
|
11362
|
-
*/
|
|
11363
|
-
declare function checkForExtrinsicSuccess(events: EventRecord[], client: ArgonClient): Promise<void>;
|
|
11364
|
-
/**
|
|
11365
|
-
* JSON with support for BigInt in JSON.stringify and JSON.parse
|
|
11366
|
-
*/
|
|
11367
|
-
declare class JsonExt {
|
|
11368
|
-
static stringify(obj: any, space?: number): string;
|
|
11369
|
-
static parse<T = any>(str: string): T;
|
|
11370
|
-
}
|
|
11371
|
-
|
|
11372
11555
|
declare class Vault {
|
|
11373
11556
|
securitization: bigint;
|
|
11374
11557
|
securitizationRatio: BigNumber;
|
|
11375
|
-
|
|
11376
|
-
|
|
11558
|
+
argonsLocked: bigint;
|
|
11559
|
+
argonsPendingActivation: bigint;
|
|
11560
|
+
argonsScheduledForRelease: Map<number, bigint>;
|
|
11377
11561
|
terms: ITerms;
|
|
11378
11562
|
operatorAccountId: string;
|
|
11379
11563
|
isClosed: boolean;
|
|
@@ -11383,6 +11567,7 @@ declare class Vault {
|
|
|
11383
11567
|
openedDate: Date;
|
|
11384
11568
|
constructor(id: number, vault: ArgonPrimitivesVault$1, tickDuration: number);
|
|
11385
11569
|
availableBitcoinSpace(): bigint;
|
|
11570
|
+
getRelockCapacity(): bigint;
|
|
11386
11571
|
recoverySecuritization(): bigint;
|
|
11387
11572
|
minimumSecuritization(): bigint;
|
|
11388
11573
|
activatedSecuritization(): bigint;
|
|
@@ -11405,7 +11590,7 @@ declare class VaultMonitor {
|
|
|
11405
11590
|
vaultOnlyWatchMode?: boolean;
|
|
11406
11591
|
shouldLog?: boolean;
|
|
11407
11592
|
};
|
|
11408
|
-
events:
|
|
11593
|
+
events: TypedEmitter<{
|
|
11409
11594
|
'bitcoin-space-above': (vaultId: number, amount: bigint) => void;
|
|
11410
11595
|
'liquidity-pool-space-above': (vaultId: number, amount: bigint) => void;
|
|
11411
11596
|
}>;
|
|
@@ -11454,7 +11639,7 @@ declare enum SeatReductionReason {
|
|
|
11454
11639
|
MaxBudgetTooLow = "MaxBudgetTooLow"
|
|
11455
11640
|
}
|
|
11456
11641
|
interface IBidHistoryEntry {
|
|
11457
|
-
|
|
11642
|
+
cohortStartingFrameId: number;
|
|
11458
11643
|
blockNumber: number;
|
|
11459
11644
|
tick: number;
|
|
11460
11645
|
bidChanges: {
|
|
@@ -11476,7 +11661,7 @@ interface IBidHistoryEntry {
|
|
|
11476
11661
|
maxSeatsReductionReason?: SeatReductionReason;
|
|
11477
11662
|
}
|
|
11478
11663
|
declare class CohortBidderHistory {
|
|
11479
|
-
readonly
|
|
11664
|
+
readonly cohortStartingFrameId: number;
|
|
11480
11665
|
readonly subaccounts: {
|
|
11481
11666
|
index: number;
|
|
11482
11667
|
isRebid: boolean;
|
|
@@ -11497,7 +11682,7 @@ declare class CohortBidderHistory {
|
|
|
11497
11682
|
private lastBids;
|
|
11498
11683
|
private readonly myAddresses;
|
|
11499
11684
|
private maxSeatsInPlay;
|
|
11500
|
-
constructor(
|
|
11685
|
+
constructor(cohortStartingFrameId: number, subaccounts: {
|
|
11501
11686
|
index: number;
|
|
11502
11687
|
isRebid: boolean;
|
|
11503
11688
|
address: string;
|
|
@@ -11521,7 +11706,7 @@ declare class CohortBidderHistory {
|
|
|
11521
11706
|
|
|
11522
11707
|
declare class CohortBidder {
|
|
11523
11708
|
accountset: Accountset;
|
|
11524
|
-
|
|
11709
|
+
cohortStartingFrameId: number;
|
|
11525
11710
|
subaccounts: {
|
|
11526
11711
|
index: number;
|
|
11527
11712
|
isRebid: boolean;
|
|
@@ -11547,7 +11732,7 @@ declare class CohortBidder {
|
|
|
11547
11732
|
private history;
|
|
11548
11733
|
private millisPerTick?;
|
|
11549
11734
|
private readonly myAddresses;
|
|
11550
|
-
constructor(accountset: Accountset,
|
|
11735
|
+
constructor(accountset: Accountset, cohortStartingFrameId: number, subaccounts: {
|
|
11551
11736
|
index: number;
|
|
11552
11737
|
isRebid: boolean;
|
|
11553
11738
|
address: string;
|
|
@@ -11561,7 +11746,7 @@ declare class CohortBidder {
|
|
|
11561
11746
|
});
|
|
11562
11747
|
stop(): Promise<CohortBidder['stats']>;
|
|
11563
11748
|
start(): Promise<void>;
|
|
11564
|
-
private
|
|
11749
|
+
private checkWinningBids;
|
|
11565
11750
|
private bid;
|
|
11566
11751
|
private checkCurrentSeats;
|
|
11567
11752
|
}
|
|
@@ -11581,9 +11766,9 @@ declare class BidPool {
|
|
|
11581
11766
|
readonly keypair: KeyringPair;
|
|
11582
11767
|
readonly accountRegistry: AccountRegistry;
|
|
11583
11768
|
bidPoolAmount: bigint;
|
|
11584
|
-
|
|
11585
|
-
|
|
11586
|
-
[
|
|
11769
|
+
nextFrameId: number;
|
|
11770
|
+
poolVaultCapitalByFrame: {
|
|
11771
|
+
[frameId: number]: {
|
|
11587
11772
|
[vaultId: number]: IVaultMiningBondFund;
|
|
11588
11773
|
};
|
|
11589
11774
|
};
|
|
@@ -11592,8 +11777,8 @@ declare class BidPool {
|
|
|
11592
11777
|
private blockWatch;
|
|
11593
11778
|
private vaultsById;
|
|
11594
11779
|
private tickDuration?;
|
|
11595
|
-
private
|
|
11596
|
-
private
|
|
11780
|
+
private lastDistributedFrameId?;
|
|
11781
|
+
private FrameSubscriptions;
|
|
11597
11782
|
constructor(client: Promise<ArgonClient>, keypair: KeyringPair, accountRegistry?: AccountRegistry);
|
|
11598
11783
|
private onVaultsUpdated;
|
|
11599
11784
|
getBidPool(): Promise<bigint>;
|
|
@@ -11607,9 +11792,9 @@ declare class BidPool {
|
|
|
11607
11792
|
printDebounce(): void;
|
|
11608
11793
|
getOperatorName(vaultId: number): string;
|
|
11609
11794
|
print(): void;
|
|
11610
|
-
private
|
|
11795
|
+
private setVaultFrameData;
|
|
11611
11796
|
private createBondCapitalTable;
|
|
11612
|
-
private
|
|
11797
|
+
private loadFrameData;
|
|
11613
11798
|
}
|
|
11614
11799
|
|
|
11615
11800
|
declare class BitcoinLocks {
|
|
@@ -11663,4 +11848,4 @@ declare function waitForLoad(): Promise<void>;
|
|
|
11663
11848
|
*/
|
|
11664
11849
|
declare function getClient(host: string): Promise<ArgonClient>;
|
|
11665
11850
|
|
|
11666
|
-
export { AccountMiners, AccountRegistry, Accountset, type ArgonClient, BidPool, BitcoinLocks, BlockWatch, CohortBidder, ExtrinsicError, JsonExt, MICROGONS_PER_ARGON, MiningBids,
|
|
11851
|
+
export { AccountMiners, AccountRegistry, Accountset, type ArgonClient, BidPool, BitcoinLocks, BlockWatch, CohortBidder, CohortBidderHistory, ExtrinsicError, FrameCalculator, JsonExt, MICROGONS_PER_ARGON, MiningBids, TxSubmitter, TypedEmitter, Vault, VaultMonitor, WageProtector, checkForExtrinsicSuccess, convertFixedU128ToBigNumber, convertPermillToBigNumber, createKeyringPair, createNanoEvents, dispatchErrorToExtrinsicError, dispatchErrorToString, eventDataToJson, filterUndefined, formatArgons, formatPercent, getAuthorFromHeader, getClient, getTickFromHeader, gettersToObject, keyringFromSuri, waitForLoad };
|