@argonprotocol/mainchain 1.3.7 → 1.3.8
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 +7 -190
- package/browser/index.d.ts +483 -1978
- package/browser/index.js +110 -1984
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +1006 -70
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +483 -1978
- package/lib/index.d.ts +483 -1978
- package/lib/index.js +1018 -82
- package/lib/index.js.map +1 -1
- package/package.json +6 -14
- package/lib/chunk-4ZBJ5W3P.cjs +0 -743
- package/lib/chunk-4ZBJ5W3P.cjs.map +0 -1
- package/lib/chunk-PE7HFDHD.js +0 -743
- package/lib/chunk-PE7HFDHD.js.map +0 -1
- package/lib/chunk-PXZPYJ4P.js +0 -2982
- package/lib/chunk-PXZPYJ4P.js.map +0 -1
- package/lib/chunk-VXYWJG66.cjs +0 -2982
- package/lib/chunk-VXYWJG66.cjs.map +0 -1
- package/lib/cli.cjs +0 -19
- package/lib/cli.cjs.map +0 -1
- package/lib/cli.d.cts +0 -1
- package/lib/cli.d.ts +0 -1
- package/lib/cli.js +0 -19
- package/lib/cli.js.map +0 -1
- package/lib/clis/index.cjs +0 -30
- package/lib/clis/index.cjs.map +0 -1
- package/lib/clis/index.d.cts +0 -129
- package/lib/clis/index.d.ts +0 -129
- package/lib/clis/index.js +0 -30
- package/lib/clis/index.js.map +0 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import * as _polkadot_api_base_types from '@polkadot/api-base/types';
|
|
2
1
|
import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
|
|
3
2
|
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
3
|
export { BTreeMap, Bool, Bytes, Compact, Enum, Null, Option, Range, Result, Struct, Text, Tuple, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
4
|
import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
|
|
6
5
|
export { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
7
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';
|
|
8
|
-
export { AccountId, AccountId32, Block, Call, H160, H256, Header, MultiAddress, Permill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
export { AccountId, AccountId32, Block, Call, H160, H256, Header, MultiAddress, Permill, SignedBlock } from '@polkadot/types/interfaces/runtime';
|
|
9
8
|
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, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesForkPower, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, PalletChainTransferQueuedTransferOut, ArgonPrimitivesDigestsDigestset, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, IsmpConsensusStateCommitment, PalletLiquidityPoolsLiquidityPoolCapital, PalletLiquidityPoolsPrebondedArgons, PalletLiquidityPoolsLiquidityPool, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningSlotConfig, PalletMintMintAction, PalletMultisigMultisig, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSupportDispatchPerDispatchClassWeight, SpRuntimeDigest, FrameSystemEventRecord, FrameSystemPhase, SpWeightsWeightV2Weight, FrameSystemLastRuntimeUpgradeInfo, ArgonPrimitivesTickTicker, PalletTransactionPaymentReleases, PalletVaultsVaultFrameRevenue, 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';
|
|
10
9
|
export * from '@polkadot/types/lookup';
|
|
11
10
|
import { Observable, IExtrinsic } from '@polkadot/types/types';
|
|
@@ -22,7 +21,7 @@ import { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'
|
|
|
22
21
|
import { ContractCallRequest, ContractExecResult, InstantiateRequestV1, ContractInstantiateResult, CodeUploadRequest, CodeUploadResult, AliveContractInfo, CodeHash, CodeSource, CodeUploadResultValue, ContractCallFlags, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
|
|
23
22
|
import { BlockStats } from '@polkadot/types/interfaces/dev';
|
|
24
23
|
import { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
|
|
25
|
-
import { EthCallRequest, EthFeeHistory, EthRichBlock, EthFilterChanges, EthLog, EthFilter, EthAccount, EthTransaction, EthReceipt, EthWork, EthTransactionRequest, EthSubKind, EthSubParams, EthSyncStatus, BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAddress, EthBlock, EthBloom, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, EthFilterAddress, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthReceiptV0, EthReceiptV3, EthRichHeader, EthStorageProof, EthSubResult, EthSyncInfo, EthTransactionAction, EthTransactionCondition, EthTransactionSignature, EthTransactionStatus, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
|
|
24
|
+
import { EthCallRequest, EthFeeHistory, EthRichBlock, EthFilterChanges, EthLog, EthFilter, EthAccount, EthTransaction, EthReceipt, EthWork, EthTransactionRequest, EthSubKind, EthSubParams, EthSyncStatus, BlockV0, BlockV1, BlockV2, BlockV3, EIP1559Transaction, EIP2930Transaction, EIP7702Transaction, EthAccessList, EthAccessListItem, EthAddress, EthAuthorizationList, EthAuthorizationListItem, EthAuthorizationSignature, EthBlock, EthBloom, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, EthFilterAddress, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLegacyTransactionSignature, EthReceiptV0, EthReceiptV3, EthReceiptV4, EthRichHeader, EthStorageProof, EthSubResult, EthSyncInfo, EthTransactionAction, EthTransactionCondition, EthTransactionSignature, EthTransactionStatus, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2, TransactionV3 } from '@polkadot/types/interfaces/eth';
|
|
26
25
|
import { Extrinsic, AnySignature, EcdsaSignature, Ed25519Signature, Era, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicPayloadV5, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicSignatureV5, ExtrinsicUnknown, ExtrinsicV4, ExtrinsicV5, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
|
|
27
26
|
import { EncodedFinalityProofs, ReportedRoundStates, JustificationNotification, SetId, AuthorityList, GrandpaEquivocationProof, AuthorityIndex, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, RoundState, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';
|
|
28
27
|
import { MmrLeafBatchProof, MmrHash, MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
|
@@ -89,15 +88,18 @@ export { Keyring } from '@polkadot/api';
|
|
|
89
88
|
export { decodeAddress, mnemonicGenerate } from '@polkadot/util-crypto';
|
|
90
89
|
export { InterfaceTypes as interfaces } from '@polkadot/types/types/registry';
|
|
91
90
|
export { KeypairType } from '@polkadot/util-crypto/types';
|
|
91
|
+
import * as _polkadot_api_types from '@polkadot/api/types';
|
|
92
|
+
import { SignerOptions, ApiDecoration, ApiOptions } from '@polkadot/api/types';
|
|
93
|
+
export { ApiDecoration } from '@polkadot/api/types';
|
|
94
|
+
import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
|
|
95
|
+
export { SubmittableExtrinsic } from '@polkadot/api/promise/types';
|
|
92
96
|
import * as _polkadot_types_types_extrinsic from '@polkadot/types/types/extrinsic';
|
|
93
97
|
import { ISubmittableResult } from '@polkadot/types/types/extrinsic';
|
|
94
98
|
export { IExtrinsic, ISignerPayload, ISubmittableResult, Signer, SignerResult } from '@polkadot/types/types/extrinsic';
|
|
95
|
-
import { SubmittableExtrinsic as SubmittableExtrinsic$1 } from '@polkadot/api/promise/types';
|
|
96
|
-
import { SignerOptions, ApiDecoration } from '@polkadot/api/types';
|
|
97
99
|
import { GenericEvent } from '@polkadot/types/generic';
|
|
98
100
|
export { GenericAddress, GenericBlock, GenericEvent } from '@polkadot/types/generic';
|
|
101
|
+
import { DispatchError as DispatchError$1 } from '@polkadot/types/interfaces';
|
|
99
102
|
import BigNumber from 'bignumber.js';
|
|
100
|
-
import { DispatchError as DispatchError$1, Header as Header$1 } from '@polkadot/types/interfaces';
|
|
101
103
|
export { hexToU8a, u8aEq, u8aToHex } from '@polkadot/util';
|
|
102
104
|
|
|
103
105
|
declare module '@polkadot/api-base/types/consts' {
|
|
@@ -980,6 +982,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
980
982
|
* Encountered an error while creating the consensus client.
|
|
981
983
|
**/
|
|
982
984
|
ConsensusClientCreationFailed: AugmentedError<ApiType>;
|
|
985
|
+
/**
|
|
986
|
+
* Error charging fee
|
|
987
|
+
**/
|
|
988
|
+
ErrorChargingFee: AugmentedError<ApiType>;
|
|
983
989
|
/**
|
|
984
990
|
* Invalid ISMP message
|
|
985
991
|
**/
|
|
@@ -1454,6 +1460,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1454
1460
|
TooManyCalls: AugmentedError<ApiType>;
|
|
1455
1461
|
};
|
|
1456
1462
|
vaults: {
|
|
1463
|
+
/**
|
|
1464
|
+
* An account may only be associated with a single vault
|
|
1465
|
+
**/
|
|
1466
|
+
AccountAlreadyHasVault: AugmentedError<ApiType>;
|
|
1457
1467
|
/**
|
|
1458
1468
|
* The proposed transaction would take the account below the minimum (existential) balance
|
|
1459
1469
|
**/
|
|
@@ -1561,30 +1571,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1561
1571
|
/**
|
|
1562
1572
|
* A balance was set by root.
|
|
1563
1573
|
**/
|
|
1564
|
-
BalanceSet: AugmentedEvent<ApiType, [
|
|
1565
|
-
who: AccountId32,
|
|
1566
|
-
free: u128
|
|
1567
|
-
], {
|
|
1574
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
|
|
1568
1575
|
who: AccountId32;
|
|
1569
1576
|
free: u128;
|
|
1570
1577
|
}>;
|
|
1571
1578
|
/**
|
|
1572
1579
|
* Some amount was burned from an account.
|
|
1573
1580
|
**/
|
|
1574
|
-
Burned: AugmentedEvent<ApiType, [
|
|
1575
|
-
who: AccountId32,
|
|
1576
|
-
amount: u128
|
|
1577
|
-
], {
|
|
1581
|
+
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1578
1582
|
who: AccountId32;
|
|
1579
1583
|
amount: u128;
|
|
1580
1584
|
}>;
|
|
1581
1585
|
/**
|
|
1582
1586
|
* Some amount was deposited (e.g. for transaction fees).
|
|
1583
1587
|
**/
|
|
1584
|
-
Deposit: AugmentedEvent<ApiType, [
|
|
1585
|
-
who: AccountId32,
|
|
1586
|
-
amount: u128
|
|
1587
|
-
], {
|
|
1588
|
+
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1588
1589
|
who: AccountId32;
|
|
1589
1590
|
amount: u128;
|
|
1590
1591
|
}>;
|
|
@@ -1592,30 +1593,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1592
1593
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
1593
1594
|
* resulting in an outright loss.
|
|
1594
1595
|
**/
|
|
1595
|
-
DustLost: AugmentedEvent<ApiType, [
|
|
1596
|
-
account: AccountId32,
|
|
1597
|
-
amount: u128
|
|
1598
|
-
], {
|
|
1596
|
+
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
|
|
1599
1597
|
account: AccountId32;
|
|
1600
1598
|
amount: u128;
|
|
1601
1599
|
}>;
|
|
1602
1600
|
/**
|
|
1603
1601
|
* An account was created with some free balance.
|
|
1604
1602
|
**/
|
|
1605
|
-
Endowed: AugmentedEvent<ApiType, [
|
|
1606
|
-
account: AccountId32,
|
|
1607
|
-
freeBalance: u128
|
|
1608
|
-
], {
|
|
1603
|
+
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], {
|
|
1609
1604
|
account: AccountId32;
|
|
1610
1605
|
freeBalance: u128;
|
|
1611
1606
|
}>;
|
|
1612
1607
|
/**
|
|
1613
1608
|
* Some balance was frozen.
|
|
1614
1609
|
**/
|
|
1615
|
-
Frozen: AugmentedEvent<ApiType, [
|
|
1616
|
-
who: AccountId32,
|
|
1617
|
-
amount: u128
|
|
1618
|
-
], {
|
|
1610
|
+
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1619
1611
|
who: AccountId32;
|
|
1620
1612
|
amount: u128;
|
|
1621
1613
|
}>;
|
|
@@ -1628,20 +1620,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1628
1620
|
/**
|
|
1629
1621
|
* Some balance was locked.
|
|
1630
1622
|
**/
|
|
1631
|
-
Locked: AugmentedEvent<ApiType, [
|
|
1632
|
-
who: AccountId32,
|
|
1633
|
-
amount: u128
|
|
1634
|
-
], {
|
|
1623
|
+
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1635
1624
|
who: AccountId32;
|
|
1636
1625
|
amount: u128;
|
|
1637
1626
|
}>;
|
|
1638
1627
|
/**
|
|
1639
1628
|
* Some amount was minted into an account.
|
|
1640
1629
|
**/
|
|
1641
|
-
Minted: AugmentedEvent<ApiType, [
|
|
1642
|
-
who: AccountId32,
|
|
1643
|
-
amount: u128
|
|
1644
|
-
], {
|
|
1630
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1645
1631
|
who: AccountId32;
|
|
1646
1632
|
amount: u128;
|
|
1647
1633
|
}>;
|
|
@@ -1654,10 +1640,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1654
1640
|
/**
|
|
1655
1641
|
* Some balance was reserved (moved from free to reserved).
|
|
1656
1642
|
**/
|
|
1657
|
-
Reserved: AugmentedEvent<ApiType, [
|
|
1658
|
-
who: AccountId32,
|
|
1659
|
-
amount: u128
|
|
1660
|
-
], {
|
|
1643
|
+
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1661
1644
|
who: AccountId32;
|
|
1662
1645
|
amount: u128;
|
|
1663
1646
|
}>;
|
|
@@ -1665,12 +1648,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1665
1648
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
1666
1649
|
* Final argument indicates the destination balance type.
|
|
1667
1650
|
**/
|
|
1668
|
-
ReserveRepatriated: AugmentedEvent<ApiType, [
|
|
1669
|
-
from: AccountId32,
|
|
1670
|
-
to: AccountId32,
|
|
1671
|
-
amount: u128,
|
|
1672
|
-
destinationStatus: FrameSupportTokensMiscBalanceStatus
|
|
1673
|
-
], {
|
|
1651
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
|
|
1674
1652
|
from: AccountId32;
|
|
1675
1653
|
to: AccountId32;
|
|
1676
1654
|
amount: u128;
|
|
@@ -1679,61 +1657,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1679
1657
|
/**
|
|
1680
1658
|
* Some amount was restored into an account.
|
|
1681
1659
|
**/
|
|
1682
|
-
Restored: AugmentedEvent<ApiType, [
|
|
1683
|
-
who: AccountId32,
|
|
1684
|
-
amount: u128
|
|
1685
|
-
], {
|
|
1660
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1686
1661
|
who: AccountId32;
|
|
1687
1662
|
amount: u128;
|
|
1688
1663
|
}>;
|
|
1689
1664
|
/**
|
|
1690
1665
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
1691
1666
|
**/
|
|
1692
|
-
Slashed: AugmentedEvent<ApiType, [
|
|
1693
|
-
who: AccountId32,
|
|
1694
|
-
amount: u128
|
|
1695
|
-
], {
|
|
1667
|
+
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1696
1668
|
who: AccountId32;
|
|
1697
1669
|
amount: u128;
|
|
1698
1670
|
}>;
|
|
1699
1671
|
/**
|
|
1700
1672
|
* Some amount was suspended from an account (it can be restored later).
|
|
1701
1673
|
**/
|
|
1702
|
-
Suspended: AugmentedEvent<ApiType, [
|
|
1703
|
-
who: AccountId32,
|
|
1704
|
-
amount: u128
|
|
1705
|
-
], {
|
|
1674
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1706
1675
|
who: AccountId32;
|
|
1707
1676
|
amount: u128;
|
|
1708
1677
|
}>;
|
|
1709
1678
|
/**
|
|
1710
1679
|
* Some balance was thawed.
|
|
1711
1680
|
**/
|
|
1712
|
-
Thawed: AugmentedEvent<ApiType, [
|
|
1713
|
-
who: AccountId32,
|
|
1714
|
-
amount: u128
|
|
1715
|
-
], {
|
|
1681
|
+
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1716
1682
|
who: AccountId32;
|
|
1717
1683
|
amount: u128;
|
|
1718
1684
|
}>;
|
|
1719
1685
|
/**
|
|
1720
1686
|
* The `TotalIssuance` was forcefully changed.
|
|
1721
1687
|
**/
|
|
1722
|
-
TotalIssuanceForced: AugmentedEvent<ApiType, [
|
|
1723
|
-
old: u128,
|
|
1724
|
-
new_: u128
|
|
1725
|
-
], {
|
|
1688
|
+
TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
|
|
1726
1689
|
old: u128;
|
|
1727
1690
|
new_: u128;
|
|
1728
1691
|
}>;
|
|
1729
1692
|
/**
|
|
1730
1693
|
* Transfer succeeded.
|
|
1731
1694
|
**/
|
|
1732
|
-
Transfer: AugmentedEvent<ApiType, [
|
|
1733
|
-
from: AccountId32,
|
|
1734
|
-
to: AccountId32,
|
|
1735
|
-
amount: u128
|
|
1736
|
-
], {
|
|
1695
|
+
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
|
|
1737
1696
|
from: AccountId32;
|
|
1738
1697
|
to: AccountId32;
|
|
1739
1698
|
amount: u128;
|
|
@@ -1741,20 +1700,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1741
1700
|
/**
|
|
1742
1701
|
* Some balance was unlocked.
|
|
1743
1702
|
**/
|
|
1744
|
-
Unlocked: AugmentedEvent<ApiType, [
|
|
1745
|
-
who: AccountId32,
|
|
1746
|
-
amount: u128
|
|
1747
|
-
], {
|
|
1703
|
+
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1748
1704
|
who: AccountId32;
|
|
1749
1705
|
amount: u128;
|
|
1750
1706
|
}>;
|
|
1751
1707
|
/**
|
|
1752
1708
|
* Some balance was unreserved (moved from reserved to free).
|
|
1753
1709
|
**/
|
|
1754
|
-
Unreserved: AugmentedEvent<ApiType, [
|
|
1755
|
-
who: AccountId32,
|
|
1756
|
-
amount: u128
|
|
1757
|
-
], {
|
|
1710
|
+
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1758
1711
|
who: AccountId32;
|
|
1759
1712
|
amount: u128;
|
|
1760
1713
|
}>;
|
|
@@ -1767,135 +1720,83 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1767
1720
|
/**
|
|
1768
1721
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
1769
1722
|
**/
|
|
1770
|
-
Withdraw: AugmentedEvent<ApiType, [
|
|
1771
|
-
who: AccountId32,
|
|
1772
|
-
amount: u128
|
|
1773
|
-
], {
|
|
1723
|
+
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1774
1724
|
who: AccountId32;
|
|
1775
1725
|
amount: u128;
|
|
1776
1726
|
}>;
|
|
1777
1727
|
};
|
|
1778
1728
|
bitcoinLocks: {
|
|
1779
|
-
BitcoinCosignPastDue: AugmentedEvent<ApiType, [
|
|
1780
|
-
utxoId: u64,
|
|
1781
|
-
vaultId: u32,
|
|
1782
|
-
compensationAmount: u128,
|
|
1783
|
-
compensatedAccountId: AccountId32
|
|
1784
|
-
], {
|
|
1729
|
+
BitcoinCosignPastDue: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32, compensationAmount: u128, compensatedAccountId: AccountId32], {
|
|
1785
1730
|
utxoId: u64;
|
|
1786
1731
|
vaultId: u32;
|
|
1787
1732
|
compensationAmount: u128;
|
|
1788
1733
|
compensatedAccountId: AccountId32;
|
|
1789
1734
|
}>;
|
|
1790
|
-
BitcoinLockBurned: AugmentedEvent<ApiType, [
|
|
1791
|
-
utxoId: u64,
|
|
1792
|
-
vaultId: u32,
|
|
1793
|
-
wasUtxoSpent: bool
|
|
1794
|
-
], {
|
|
1735
|
+
BitcoinLockBurned: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32, wasUtxoSpent: bool], {
|
|
1795
1736
|
utxoId: u64;
|
|
1796
1737
|
vaultId: u32;
|
|
1797
1738
|
wasUtxoSpent: bool;
|
|
1798
1739
|
}>;
|
|
1799
|
-
BitcoinLockCreated: AugmentedEvent<ApiType, [
|
|
1800
|
-
utxoId: u64,
|
|
1801
|
-
vaultId: u32,
|
|
1802
|
-
lockPrice: u128,
|
|
1803
|
-
accountId: AccountId32,
|
|
1804
|
-
securityFee: u128
|
|
1805
|
-
], {
|
|
1740
|
+
BitcoinLockCreated: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32, liquidityPromised: u128, peggedPrice: u128, accountId: AccountId32, securityFee: u128], {
|
|
1806
1741
|
utxoId: u64;
|
|
1807
1742
|
vaultId: u32;
|
|
1808
|
-
|
|
1743
|
+
liquidityPromised: u128;
|
|
1744
|
+
peggedPrice: u128;
|
|
1809
1745
|
accountId: AccountId32;
|
|
1810
1746
|
securityFee: u128;
|
|
1811
1747
|
}>;
|
|
1812
|
-
BitcoinLockRatcheted: AugmentedEvent<ApiType, [
|
|
1813
|
-
utxoId: u64,
|
|
1814
|
-
vaultId: u32,
|
|
1815
|
-
originalLockPrice: u128,
|
|
1816
|
-
securityFee: u128,
|
|
1817
|
-
newLockPrice: u128,
|
|
1818
|
-
amountBurned: u128,
|
|
1819
|
-
accountId: AccountId32
|
|
1820
|
-
], {
|
|
1748
|
+
BitcoinLockRatcheted: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32, liquidityPromised: u128, originalPeggedPrice: u128, securityFee: u128, newPeggedPrice: u128, amountBurned: u128, accountId: AccountId32], {
|
|
1821
1749
|
utxoId: u64;
|
|
1822
1750
|
vaultId: u32;
|
|
1823
|
-
|
|
1751
|
+
liquidityPromised: u128;
|
|
1752
|
+
originalPeggedPrice: u128;
|
|
1824
1753
|
securityFee: u128;
|
|
1825
|
-
|
|
1754
|
+
newPeggedPrice: u128;
|
|
1826
1755
|
amountBurned: u128;
|
|
1827
1756
|
accountId: AccountId32;
|
|
1828
1757
|
}>;
|
|
1829
|
-
BitcoinUtxoCosigned: AugmentedEvent<ApiType, [
|
|
1830
|
-
utxoId: u64,
|
|
1831
|
-
vaultId: u32,
|
|
1832
|
-
signature: Bytes
|
|
1833
|
-
], {
|
|
1758
|
+
BitcoinUtxoCosigned: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32, signature: Bytes], {
|
|
1834
1759
|
utxoId: u64;
|
|
1835
1760
|
vaultId: u32;
|
|
1836
1761
|
signature: Bytes;
|
|
1837
1762
|
}>;
|
|
1838
|
-
BitcoinUtxoCosignRequested: AugmentedEvent<ApiType, [
|
|
1839
|
-
utxoId: u64,
|
|
1840
|
-
vaultId: u32
|
|
1841
|
-
], {
|
|
1763
|
+
BitcoinUtxoCosignRequested: AugmentedEvent<ApiType, [utxoId: u64, vaultId: u32], {
|
|
1842
1764
|
utxoId: u64;
|
|
1843
1765
|
vaultId: u32;
|
|
1844
1766
|
}>;
|
|
1845
1767
|
/**
|
|
1846
1768
|
* An error occurred while refunding an overdue cosigned bitcoin lock
|
|
1847
1769
|
**/
|
|
1848
|
-
CosignOverdueError: AugmentedEvent<ApiType, [
|
|
1849
|
-
utxoId: u64,
|
|
1850
|
-
error: SpRuntimeDispatchError
|
|
1851
|
-
], {
|
|
1770
|
+
CosignOverdueError: AugmentedEvent<ApiType, [utxoId: u64, error: SpRuntimeDispatchError], {
|
|
1852
1771
|
utxoId: u64;
|
|
1853
1772
|
error: SpRuntimeDispatchError;
|
|
1854
1773
|
}>;
|
|
1855
1774
|
/**
|
|
1856
1775
|
* An error occurred while completing a lock
|
|
1857
1776
|
**/
|
|
1858
|
-
LockExpirationError: AugmentedEvent<ApiType, [
|
|
1859
|
-
utxoId: u64,
|
|
1860
|
-
error: SpRuntimeDispatchError
|
|
1861
|
-
], {
|
|
1777
|
+
LockExpirationError: AugmentedEvent<ApiType, [utxoId: u64, error: SpRuntimeDispatchError], {
|
|
1862
1778
|
utxoId: u64;
|
|
1863
1779
|
error: SpRuntimeDispatchError;
|
|
1864
1780
|
}>;
|
|
1865
1781
|
};
|
|
1866
1782
|
bitcoinUtxos: {
|
|
1867
|
-
UtxoExpiredError: AugmentedEvent<ApiType, [
|
|
1868
|
-
utxoRef: ArgonPrimitivesBitcoinUtxoRef,
|
|
1869
|
-
error: SpRuntimeDispatchError
|
|
1870
|
-
], {
|
|
1783
|
+
UtxoExpiredError: AugmentedEvent<ApiType, [utxoRef: ArgonPrimitivesBitcoinUtxoRef, error: SpRuntimeDispatchError], {
|
|
1871
1784
|
utxoRef: ArgonPrimitivesBitcoinUtxoRef;
|
|
1872
1785
|
error: SpRuntimeDispatchError;
|
|
1873
1786
|
}>;
|
|
1874
|
-
UtxoRejected: AugmentedEvent<ApiType, [
|
|
1875
|
-
utxoId: u64,
|
|
1876
|
-
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason
|
|
1877
|
-
], {
|
|
1787
|
+
UtxoRejected: AugmentedEvent<ApiType, [utxoId: u64, rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason], {
|
|
1878
1788
|
utxoId: u64;
|
|
1879
1789
|
rejectedReason: ArgonPrimitivesBitcoinBitcoinRejectedReason;
|
|
1880
1790
|
}>;
|
|
1881
|
-
UtxoRejectedError: AugmentedEvent<ApiType, [
|
|
1882
|
-
utxoId: u64,
|
|
1883
|
-
error: SpRuntimeDispatchError
|
|
1884
|
-
], {
|
|
1791
|
+
UtxoRejectedError: AugmentedEvent<ApiType, [utxoId: u64, error: SpRuntimeDispatchError], {
|
|
1885
1792
|
utxoId: u64;
|
|
1886
1793
|
error: SpRuntimeDispatchError;
|
|
1887
1794
|
}>;
|
|
1888
|
-
UtxoSpent: AugmentedEvent<ApiType, [
|
|
1889
|
-
utxoId: u64,
|
|
1890
|
-
blockHeight: u64
|
|
1891
|
-
], {
|
|
1795
|
+
UtxoSpent: AugmentedEvent<ApiType, [utxoId: u64, blockHeight: u64], {
|
|
1892
1796
|
utxoId: u64;
|
|
1893
1797
|
blockHeight: u64;
|
|
1894
1798
|
}>;
|
|
1895
|
-
UtxoSpentError: AugmentedEvent<ApiType, [
|
|
1896
|
-
utxoId: u64,
|
|
1897
|
-
error: SpRuntimeDispatchError
|
|
1898
|
-
], {
|
|
1799
|
+
UtxoSpentError: AugmentedEvent<ApiType, [utxoId: u64, error: SpRuntimeDispatchError], {
|
|
1899
1800
|
utxoId: u64;
|
|
1900
1801
|
error: SpRuntimeDispatchError;
|
|
1901
1802
|
}>;
|
|
@@ -1905,26 +1806,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1905
1806
|
UtxoVerified: AugmentedEvent<ApiType, [utxoId: u64], {
|
|
1906
1807
|
utxoId: u64;
|
|
1907
1808
|
}>;
|
|
1908
|
-
UtxoVerifiedError: AugmentedEvent<ApiType, [
|
|
1909
|
-
utxoId: u64,
|
|
1910
|
-
error: SpRuntimeDispatchError
|
|
1911
|
-
], {
|
|
1809
|
+
UtxoVerifiedError: AugmentedEvent<ApiType, [utxoId: u64, error: SpRuntimeDispatchError], {
|
|
1912
1810
|
utxoId: u64;
|
|
1913
1811
|
error: SpRuntimeDispatchError;
|
|
1914
1812
|
}>;
|
|
1915
1813
|
};
|
|
1916
1814
|
blockRewards: {
|
|
1917
|
-
RewardCreated: AugmentedEvent<ApiType, [
|
|
1918
|
-
rewards: Vec<ArgonPrimitivesBlockSealBlockPayout>
|
|
1919
|
-
], {
|
|
1815
|
+
RewardCreated: AugmentedEvent<ApiType, [rewards: Vec<ArgonPrimitivesBlockSealBlockPayout>], {
|
|
1920
1816
|
rewards: Vec<ArgonPrimitivesBlockSealBlockPayout>;
|
|
1921
1817
|
}>;
|
|
1922
|
-
RewardCreateError: AugmentedEvent<ApiType, [
|
|
1923
|
-
accountId: AccountId32,
|
|
1924
|
-
argons: Option<u128>,
|
|
1925
|
-
ownership: Option<u128>,
|
|
1926
|
-
error: SpRuntimeDispatchError
|
|
1927
|
-
], {
|
|
1818
|
+
RewardCreateError: AugmentedEvent<ApiType, [accountId: AccountId32, argons: Option<u128>, ownership: Option<u128>, error: SpRuntimeDispatchError], {
|
|
1928
1819
|
accountId: AccountId32;
|
|
1929
1820
|
argons: Option<u128>;
|
|
1930
1821
|
ownership: Option<u128>;
|
|
@@ -1932,23 +1823,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1932
1823
|
}>;
|
|
1933
1824
|
};
|
|
1934
1825
|
blockSealSpec: {
|
|
1935
|
-
ComputeDifficultyAdjusted: AugmentedEvent<ApiType, [
|
|
1936
|
-
expectedBlockTime: u64,
|
|
1937
|
-
actualBlockTime: u64,
|
|
1938
|
-
startDifficulty: u128,
|
|
1939
|
-
newDifficulty: u128
|
|
1940
|
-
], {
|
|
1826
|
+
ComputeDifficultyAdjusted: AugmentedEvent<ApiType, [expectedBlockTime: u64, actualBlockTime: u64, startDifficulty: u128, newDifficulty: u128], {
|
|
1941
1827
|
expectedBlockTime: u64;
|
|
1942
1828
|
actualBlockTime: u64;
|
|
1943
1829
|
startDifficulty: u128;
|
|
1944
1830
|
newDifficulty: u128;
|
|
1945
1831
|
}>;
|
|
1946
|
-
VoteMinimumAdjusted: AugmentedEvent<ApiType, [
|
|
1947
|
-
expectedBlockVotes: u128,
|
|
1948
|
-
actualBlockVotes: u128,
|
|
1949
|
-
startVoteMinimum: u128,
|
|
1950
|
-
newVoteMinimum: u128
|
|
1951
|
-
], {
|
|
1832
|
+
VoteMinimumAdjusted: AugmentedEvent<ApiType, [expectedBlockVotes: u128, actualBlockVotes: u128, startVoteMinimum: u128, newVoteMinimum: u128], {
|
|
1952
1833
|
expectedBlockVotes: u128;
|
|
1953
1834
|
actualBlockVotes: u128;
|
|
1954
1835
|
startVoteMinimum: u128;
|
|
@@ -1960,11 +1841,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1960
1841
|
* A localchain transfer could not be cleaned up properly. Possible invalid transfer
|
|
1961
1842
|
* needing investigation.
|
|
1962
1843
|
**/
|
|
1963
|
-
PossibleInvalidLocalchainTransferAllowed: AugmentedEvent<ApiType, [
|
|
1964
|
-
transferId: u32,
|
|
1965
|
-
notaryId: u32,
|
|
1966
|
-
notebookNumber: u32
|
|
1967
|
-
], {
|
|
1844
|
+
PossibleInvalidLocalchainTransferAllowed: AugmentedEvent<ApiType, [transferId: u32, notaryId: u32, notebookNumber: u32], {
|
|
1968
1845
|
transferId: u32;
|
|
1969
1846
|
notaryId: u32;
|
|
1970
1847
|
notebookNumber: u32;
|
|
@@ -1972,12 +1849,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1972
1849
|
/**
|
|
1973
1850
|
* Taxation failed
|
|
1974
1851
|
**/
|
|
1975
|
-
TaxationError: AugmentedEvent<ApiType, [
|
|
1976
|
-
notaryId: u32,
|
|
1977
|
-
notebookNumber: u32,
|
|
1978
|
-
tax: u128,
|
|
1979
|
-
error: SpRuntimeDispatchError
|
|
1980
|
-
], {
|
|
1852
|
+
TaxationError: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32, tax: u128, error: SpRuntimeDispatchError], {
|
|
1981
1853
|
notaryId: u32;
|
|
1982
1854
|
notebookNumber: u32;
|
|
1983
1855
|
tax: u128;
|
|
@@ -1986,11 +1858,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1986
1858
|
/**
|
|
1987
1859
|
* Transfer from Localchain to Mainchain
|
|
1988
1860
|
**/
|
|
1989
|
-
TransferFromLocalchain: AugmentedEvent<ApiType, [
|
|
1990
|
-
accountId: AccountId32,
|
|
1991
|
-
amount: u128,
|
|
1992
|
-
notaryId: u32
|
|
1993
|
-
], {
|
|
1861
|
+
TransferFromLocalchain: AugmentedEvent<ApiType, [accountId: AccountId32, amount: u128, notaryId: u32], {
|
|
1994
1862
|
accountId: AccountId32;
|
|
1995
1863
|
amount: u128;
|
|
1996
1864
|
notaryId: u32;
|
|
@@ -1998,13 +1866,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1998
1866
|
/**
|
|
1999
1867
|
* A transfer into the mainchain failed
|
|
2000
1868
|
**/
|
|
2001
|
-
TransferFromLocalchainError: AugmentedEvent<ApiType, [
|
|
2002
|
-
accountId: AccountId32,
|
|
2003
|
-
amount: u128,
|
|
2004
|
-
notaryId: u32,
|
|
2005
|
-
notebookNumber: u32,
|
|
2006
|
-
error: SpRuntimeDispatchError
|
|
2007
|
-
], {
|
|
1869
|
+
TransferFromLocalchainError: AugmentedEvent<ApiType, [accountId: AccountId32, amount: u128, notaryId: u32, notebookNumber: u32, error: SpRuntimeDispatchError], {
|
|
2008
1870
|
accountId: AccountId32;
|
|
2009
1871
|
amount: u128;
|
|
2010
1872
|
notaryId: u32;
|
|
@@ -2014,13 +1876,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2014
1876
|
/**
|
|
2015
1877
|
* Funds sent to a localchain
|
|
2016
1878
|
**/
|
|
2017
|
-
TransferToLocalchain: AugmentedEvent<ApiType, [
|
|
2018
|
-
accountId: AccountId32,
|
|
2019
|
-
amount: u128,
|
|
2020
|
-
transferId: u32,
|
|
2021
|
-
notaryId: u32,
|
|
2022
|
-
expirationTick: u64
|
|
2023
|
-
], {
|
|
1879
|
+
TransferToLocalchain: AugmentedEvent<ApiType, [accountId: AccountId32, amount: u128, transferId: u32, notaryId: u32, expirationTick: u64], {
|
|
2024
1880
|
accountId: AccountId32;
|
|
2025
1881
|
amount: u128;
|
|
2026
1882
|
transferId: u32;
|
|
@@ -2030,11 +1886,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2030
1886
|
/**
|
|
2031
1887
|
* Transfer to localchain expired and rolled back
|
|
2032
1888
|
**/
|
|
2033
|
-
TransferToLocalchainExpired: AugmentedEvent<ApiType, [
|
|
2034
|
-
accountId: AccountId32,
|
|
2035
|
-
transferId: u32,
|
|
2036
|
-
notaryId: u32
|
|
2037
|
-
], {
|
|
1889
|
+
TransferToLocalchainExpired: AugmentedEvent<ApiType, [accountId: AccountId32, transferId: u32, notaryId: u32], {
|
|
2038
1890
|
accountId: AccountId32;
|
|
2039
1891
|
transferId: u32;
|
|
2040
1892
|
notaryId: u32;
|
|
@@ -2042,13 +1894,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2042
1894
|
/**
|
|
2043
1895
|
* An expired transfer to localchain failed to be refunded
|
|
2044
1896
|
**/
|
|
2045
|
-
TransferToLocalchainRefundError: AugmentedEvent<ApiType, [
|
|
2046
|
-
accountId: AccountId32,
|
|
2047
|
-
transferId: u32,
|
|
2048
|
-
notaryId: u32,
|
|
2049
|
-
notebookNumber: u32,
|
|
2050
|
-
error: SpRuntimeDispatchError
|
|
2051
|
-
], {
|
|
1897
|
+
TransferToLocalchainRefundError: AugmentedEvent<ApiType, [accountId: AccountId32, transferId: u32, notaryId: u32, notebookNumber: u32, error: SpRuntimeDispatchError], {
|
|
2052
1898
|
accountId: AccountId32;
|
|
2053
1899
|
transferId: u32;
|
|
2054
1900
|
notaryId: u32;
|
|
@@ -2067,10 +1913,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2067
1913
|
/**
|
|
2068
1914
|
* A domain was registered
|
|
2069
1915
|
**/
|
|
2070
|
-
DomainRegistered: AugmentedEvent<ApiType, [
|
|
2071
|
-
domainHash: H256,
|
|
2072
|
-
registration: PalletDomainsDomainRegistration
|
|
2073
|
-
], {
|
|
1916
|
+
DomainRegistered: AugmentedEvent<ApiType, [domainHash: H256, registration: PalletDomainsDomainRegistration], {
|
|
2074
1917
|
domainHash: H256;
|
|
2075
1918
|
registration: PalletDomainsDomainRegistration;
|
|
2076
1919
|
}>;
|
|
@@ -2078,21 +1921,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2078
1921
|
* A domain registration was canceled due to a conflicting registration in the same
|
|
2079
1922
|
* tick
|
|
2080
1923
|
**/
|
|
2081
|
-
DomainRegistrationCanceled: AugmentedEvent<ApiType, [
|
|
2082
|
-
domainHash: H256,
|
|
2083
|
-
registration: PalletDomainsDomainRegistration
|
|
2084
|
-
], {
|
|
1924
|
+
DomainRegistrationCanceled: AugmentedEvent<ApiType, [domainHash: H256, registration: PalletDomainsDomainRegistration], {
|
|
2085
1925
|
domainHash: H256;
|
|
2086
1926
|
registration: PalletDomainsDomainRegistration;
|
|
2087
1927
|
}>;
|
|
2088
1928
|
/**
|
|
2089
1929
|
* A domain registration failed due to an error
|
|
2090
1930
|
**/
|
|
2091
|
-
DomainRegistrationError: AugmentedEvent<ApiType, [
|
|
2092
|
-
domainHash: H256,
|
|
2093
|
-
accountId: AccountId32,
|
|
2094
|
-
error: SpRuntimeDispatchError
|
|
2095
|
-
], {
|
|
1931
|
+
DomainRegistrationError: AugmentedEvent<ApiType, [domainHash: H256, accountId: AccountId32, error: SpRuntimeDispatchError], {
|
|
2096
1932
|
domainHash: H256;
|
|
2097
1933
|
accountId: AccountId32;
|
|
2098
1934
|
error: SpRuntimeDispatchError;
|
|
@@ -2106,10 +1942,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2106
1942
|
/**
|
|
2107
1943
|
* A domain zone record was updated
|
|
2108
1944
|
**/
|
|
2109
|
-
ZoneRecordUpdated: AugmentedEvent<ApiType, [
|
|
2110
|
-
domainHash: H256,
|
|
2111
|
-
zoneRecord: ArgonPrimitivesDomainZoneRecord
|
|
2112
|
-
], {
|
|
1945
|
+
ZoneRecordUpdated: AugmentedEvent<ApiType, [domainHash: H256, zoneRecord: ArgonPrimitivesDomainZoneRecord], {
|
|
2113
1946
|
domainHash: H256;
|
|
2114
1947
|
zoneRecord: ArgonPrimitivesDomainZoneRecord;
|
|
2115
1948
|
}>;
|
|
@@ -2118,9 +1951,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2118
1951
|
/**
|
|
2119
1952
|
* A transaction fee was skipped.
|
|
2120
1953
|
**/
|
|
2121
|
-
FeeSkipped: AugmentedEvent<ApiType, [
|
|
2122
|
-
origin: ArgonRuntimeOriginCaller
|
|
2123
|
-
], {
|
|
1954
|
+
FeeSkipped: AugmentedEvent<ApiType, [origin: ArgonRuntimeOriginCaller], {
|
|
2124
1955
|
origin: ArgonRuntimeOriginCaller;
|
|
2125
1956
|
}>;
|
|
2126
1957
|
};
|
|
@@ -2128,9 +1959,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2128
1959
|
/**
|
|
2129
1960
|
* New authority set has been applied.
|
|
2130
1961
|
**/
|
|
2131
|
-
NewAuthorities: AugmentedEvent<ApiType, [
|
|
2132
|
-
authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>
|
|
2133
|
-
], {
|
|
1962
|
+
NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], {
|
|
2134
1963
|
authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
2135
1964
|
}>;
|
|
2136
1965
|
/**
|
|
@@ -2146,30 +1975,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2146
1975
|
/**
|
|
2147
1976
|
* Hyperbridge governance has now updated it's host params on this chain.
|
|
2148
1977
|
**/
|
|
2149
|
-
HostParamsUpdated: AugmentedEvent<ApiType, [
|
|
2150
|
-
old: PalletHyperbridgeVersionedHostParams,
|
|
2151
|
-
new_: PalletHyperbridgeVersionedHostParams
|
|
2152
|
-
], {
|
|
1978
|
+
HostParamsUpdated: AugmentedEvent<ApiType, [old: PalletHyperbridgeVersionedHostParams, new_: PalletHyperbridgeVersionedHostParams], {
|
|
2153
1979
|
old: PalletHyperbridgeVersionedHostParams;
|
|
2154
1980
|
new_: PalletHyperbridgeVersionedHostParams;
|
|
2155
1981
|
}>;
|
|
2156
|
-
/**
|
|
2157
|
-
* Hyperbridge has withdrawn it's protocol revenue
|
|
2158
|
-
**/
|
|
2159
|
-
ProtocolRevenueWithdrawn: AugmentedEvent<ApiType, [
|
|
2160
|
-
amount: u128,
|
|
2161
|
-
account: AccountId32
|
|
2162
|
-
], {
|
|
2163
|
-
amount: u128;
|
|
2164
|
-
account: AccountId32;
|
|
2165
|
-
}>;
|
|
2166
1982
|
/**
|
|
2167
1983
|
* A relayer has withdrawn some fees
|
|
2168
1984
|
**/
|
|
2169
|
-
RelayerFeeWithdrawn: AugmentedEvent<ApiType, [
|
|
2170
|
-
amount: u128,
|
|
2171
|
-
account: AccountId32
|
|
2172
|
-
], {
|
|
1985
|
+
RelayerFeeWithdrawn: AugmentedEvent<ApiType, [amount: u128, account: AccountId32], {
|
|
2173
1986
|
amount: u128;
|
|
2174
1987
|
account: AccountId32;
|
|
2175
1988
|
}>;
|
|
@@ -2178,25 +1991,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2178
1991
|
/**
|
|
2179
1992
|
* Indicates that a consensus client has been created
|
|
2180
1993
|
**/
|
|
2181
|
-
ConsensusClientCreated: AugmentedEvent<ApiType, [
|
|
2182
|
-
consensusClientId: U8aFixed
|
|
2183
|
-
], {
|
|
1994
|
+
ConsensusClientCreated: AugmentedEvent<ApiType, [consensusClientId: U8aFixed], {
|
|
2184
1995
|
consensusClientId: U8aFixed;
|
|
2185
1996
|
}>;
|
|
2186
1997
|
/**
|
|
2187
1998
|
* Indicates that a consensus client has been created
|
|
2188
1999
|
**/
|
|
2189
|
-
ConsensusClientFrozen: AugmentedEvent<ApiType, [
|
|
2190
|
-
consensusClientId: U8aFixed
|
|
2191
|
-
], {
|
|
2000
|
+
ConsensusClientFrozen: AugmentedEvent<ApiType, [consensusClientId: U8aFixed], {
|
|
2192
2001
|
consensusClientId: U8aFixed;
|
|
2193
2002
|
}>;
|
|
2194
2003
|
/**
|
|
2195
2004
|
* Some errors handling some ismp messages
|
|
2196
2005
|
**/
|
|
2197
|
-
Errors: AugmentedEvent<ApiType, [
|
|
2198
|
-
errors: Vec<PalletIsmpErrorsHandlingError>
|
|
2199
|
-
], {
|
|
2006
|
+
Errors: AugmentedEvent<ApiType, [errors: Vec<PalletIsmpErrorsHandlingError>], {
|
|
2200
2007
|
errors: Vec<PalletIsmpErrorsHandlingError>;
|
|
2201
2008
|
}>;
|
|
2202
2009
|
/**
|
|
@@ -2226,12 +2033,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2226
2033
|
/**
|
|
2227
2034
|
* An Outgoing Request has been deposited
|
|
2228
2035
|
**/
|
|
2229
|
-
Request: AugmentedEvent<ApiType, [
|
|
2230
|
-
destChain: IsmpHostStateMachine,
|
|
2231
|
-
sourceChain: IsmpHostStateMachine,
|
|
2232
|
-
requestNonce: u64,
|
|
2233
|
-
commitment: H256
|
|
2234
|
-
], {
|
|
2036
|
+
Request: AugmentedEvent<ApiType, [destChain: IsmpHostStateMachine, sourceChain: IsmpHostStateMachine, requestNonce: u64, commitment: H256], {
|
|
2235
2037
|
destChain: IsmpHostStateMachine;
|
|
2236
2038
|
sourceChain: IsmpHostStateMachine;
|
|
2237
2039
|
requestNonce: u64;
|
|
@@ -2240,13 +2042,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2240
2042
|
/**
|
|
2241
2043
|
* An Outgoing Response has been deposited
|
|
2242
2044
|
**/
|
|
2243
|
-
Response: AugmentedEvent<ApiType, [
|
|
2244
|
-
destChain: IsmpHostStateMachine,
|
|
2245
|
-
sourceChain: IsmpHostStateMachine,
|
|
2246
|
-
requestNonce: u64,
|
|
2247
|
-
commitment: H256,
|
|
2248
|
-
reqCommitment: H256
|
|
2249
|
-
], {
|
|
2045
|
+
Response: AugmentedEvent<ApiType, [destChain: IsmpHostStateMachine, sourceChain: IsmpHostStateMachine, requestNonce: u64, commitment: H256, reqCommitment: H256], {
|
|
2250
2046
|
destChain: IsmpHostStateMachine;
|
|
2251
2047
|
sourceChain: IsmpHostStateMachine;
|
|
2252
2048
|
requestNonce: u64;
|
|
@@ -2256,20 +2052,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2256
2052
|
/**
|
|
2257
2053
|
* Emitted when a state commitment is vetoed by a fisherman
|
|
2258
2054
|
**/
|
|
2259
|
-
StateCommitmentVetoed: AugmentedEvent<ApiType, [
|
|
2260
|
-
height: IsmpConsensusStateMachineHeight,
|
|
2261
|
-
fisherman: Bytes
|
|
2262
|
-
], {
|
|
2055
|
+
StateCommitmentVetoed: AugmentedEvent<ApiType, [height: IsmpConsensusStateMachineHeight, fisherman: Bytes], {
|
|
2263
2056
|
height: IsmpConsensusStateMachineHeight;
|
|
2264
2057
|
fisherman: Bytes;
|
|
2265
2058
|
}>;
|
|
2266
2059
|
/**
|
|
2267
2060
|
* Emitted when a state machine is successfully updated to a new height
|
|
2268
2061
|
**/
|
|
2269
|
-
StateMachineUpdated: AugmentedEvent<ApiType, [
|
|
2270
|
-
stateMachineId: IsmpConsensusStateMachineId,
|
|
2271
|
-
latestHeight: u64
|
|
2272
|
-
], {
|
|
2062
|
+
StateMachineUpdated: AugmentedEvent<ApiType, [stateMachineId: IsmpConsensusStateMachineId, latestHeight: u64], {
|
|
2273
2063
|
stateMachineId: IsmpConsensusStateMachineId;
|
|
2274
2064
|
latestHeight: u64;
|
|
2275
2065
|
}>;
|
|
@@ -2278,17 +2068,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2278
2068
|
/**
|
|
2279
2069
|
* State machines have been added to whitelist
|
|
2280
2070
|
**/
|
|
2281
|
-
StateMachineAdded: AugmentedEvent<ApiType, [
|
|
2282
|
-
stateMachines: Vec<IsmpHostStateMachine>
|
|
2283
|
-
], {
|
|
2071
|
+
StateMachineAdded: AugmentedEvent<ApiType, [stateMachines: Vec<IsmpHostStateMachine>], {
|
|
2284
2072
|
stateMachines: Vec<IsmpHostStateMachine>;
|
|
2285
2073
|
}>;
|
|
2286
2074
|
/**
|
|
2287
2075
|
* State machines have been removed from the whitelist
|
|
2288
2076
|
**/
|
|
2289
|
-
StateMachineRemoved: AugmentedEvent<ApiType, [
|
|
2290
|
-
stateMachines: Vec<IsmpHostStateMachine>
|
|
2291
|
-
], {
|
|
2077
|
+
StateMachineRemoved: AugmentedEvent<ApiType, [stateMachines: Vec<IsmpHostStateMachine>], {
|
|
2292
2078
|
stateMachines: Vec<IsmpHostStateMachine>;
|
|
2293
2079
|
}>;
|
|
2294
2080
|
};
|
|
@@ -2296,12 +2082,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2296
2082
|
/**
|
|
2297
2083
|
* Funds from the active bid pool have been distributed
|
|
2298
2084
|
**/
|
|
2299
|
-
BidPoolDistributed: AugmentedEvent<ApiType, [
|
|
2300
|
-
frameId: u64,
|
|
2301
|
-
bidPoolDistributed: u128,
|
|
2302
|
-
bidPoolBurned: u128,
|
|
2303
|
-
bidPoolShares: u32
|
|
2304
|
-
], {
|
|
2085
|
+
BidPoolDistributed: AugmentedEvent<ApiType, [frameId: u64, bidPoolDistributed: u128, bidPoolBurned: u128, bidPoolShares: u32], {
|
|
2305
2086
|
frameId: u64;
|
|
2306
2087
|
bidPoolDistributed: u128;
|
|
2307
2088
|
bidPoolBurned: u128;
|
|
@@ -2310,11 +2091,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2310
2091
|
/**
|
|
2311
2092
|
* An error occurred burning from the bid pool
|
|
2312
2093
|
**/
|
|
2313
|
-
CouldNotBurnBidPool: AugmentedEvent<ApiType, [
|
|
2314
|
-
frameId: u64,
|
|
2315
|
-
amount: u128,
|
|
2316
|
-
dispatchError: SpRuntimeDispatchError
|
|
2317
|
-
], {
|
|
2094
|
+
CouldNotBurnBidPool: AugmentedEvent<ApiType, [frameId: u64, amount: u128, dispatchError: SpRuntimeDispatchError], {
|
|
2318
2095
|
frameId: u64;
|
|
2319
2096
|
amount: u128;
|
|
2320
2097
|
dispatchError: SpRuntimeDispatchError;
|
|
@@ -2322,14 +2099,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2322
2099
|
/**
|
|
2323
2100
|
* An error occurred distributing a bid pool
|
|
2324
2101
|
**/
|
|
2325
|
-
CouldNotDistributeBidPool: AugmentedEvent<ApiType, [
|
|
2326
|
-
accountId: AccountId32,
|
|
2327
|
-
frameId: u64,
|
|
2328
|
-
vaultId: u32,
|
|
2329
|
-
amount: u128,
|
|
2330
|
-
dispatchError: SpRuntimeDispatchError,
|
|
2331
|
-
isForVault: bool
|
|
2332
|
-
], {
|
|
2102
|
+
CouldNotDistributeBidPool: AugmentedEvent<ApiType, [accountId: AccountId32, frameId: u64, vaultId: u32, amount: u128, dispatchError: SpRuntimeDispatchError, isForVault: bool], {
|
|
2333
2103
|
accountId: AccountId32;
|
|
2334
2104
|
frameId: u64;
|
|
2335
2105
|
vaultId: u32;
|
|
@@ -2340,13 +2110,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2340
2110
|
/**
|
|
2341
2111
|
* An error occurred releasing a contributor hold
|
|
2342
2112
|
**/
|
|
2343
|
-
ErrorRefundingLiquidityPoolCapital: AugmentedEvent<ApiType, [
|
|
2344
|
-
frameId: u64,
|
|
2345
|
-
vaultId: u32,
|
|
2346
|
-
amount: u128,
|
|
2347
|
-
accountId: AccountId32,
|
|
2348
|
-
dispatchError: SpRuntimeDispatchError
|
|
2349
|
-
], {
|
|
2113
|
+
ErrorRefundingLiquidityPoolCapital: AugmentedEvent<ApiType, [frameId: u64, vaultId: u32, amount: u128, accountId: AccountId32, dispatchError: SpRuntimeDispatchError], {
|
|
2350
2114
|
frameId: u64;
|
|
2351
2115
|
vaultId: u32;
|
|
2352
2116
|
amount: u128;
|
|
@@ -2356,11 +2120,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2356
2120
|
/**
|
|
2357
2121
|
* The next bid pool has been locked in
|
|
2358
2122
|
**/
|
|
2359
|
-
NextBidPoolCapitalLocked: AugmentedEvent<ApiType, [
|
|
2360
|
-
frameId: u64,
|
|
2361
|
-
totalActivatedCapital: u128,
|
|
2362
|
-
participatingVaults: u32
|
|
2363
|
-
], {
|
|
2123
|
+
NextBidPoolCapitalLocked: AugmentedEvent<ApiType, [frameId: u64, totalActivatedCapital: u128, participatingVaults: u32], {
|
|
2364
2124
|
frameId: u64;
|
|
2365
2125
|
totalActivatedCapital: u128;
|
|
2366
2126
|
participatingVaults: u32;
|
|
@@ -2369,12 +2129,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2369
2129
|
* Some mining bond capital was refunded due to less activated vault funds than bond
|
|
2370
2130
|
* capital
|
|
2371
2131
|
**/
|
|
2372
|
-
RefundedLiquidityPoolCapital: AugmentedEvent<ApiType, [
|
|
2373
|
-
frameId: u64,
|
|
2374
|
-
vaultId: u32,
|
|
2375
|
-
amount: u128,
|
|
2376
|
-
accountId: AccountId32
|
|
2377
|
-
], {
|
|
2132
|
+
RefundedLiquidityPoolCapital: AugmentedEvent<ApiType, [frameId: u64, vaultId: u32, amount: u128, accountId: AccountId32], {
|
|
2378
2133
|
frameId: u64;
|
|
2379
2134
|
vaultId: u32;
|
|
2380
2135
|
amount: u128;
|
|
@@ -2383,11 +2138,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2383
2138
|
/**
|
|
2384
2139
|
* The vault operator pre-registered to bond argons for a vault
|
|
2385
2140
|
**/
|
|
2386
|
-
VaultOperatorPrebond: AugmentedEvent<ApiType, [
|
|
2387
|
-
vaultId: u32,
|
|
2388
|
-
accountId: AccountId32,
|
|
2389
|
-
amountPerFrame: u128
|
|
2390
|
-
], {
|
|
2141
|
+
VaultOperatorPrebond: AugmentedEvent<ApiType, [vaultId: u32, accountId: AccountId32, amountPerFrame: u128], {
|
|
2391
2142
|
vaultId: u32;
|
|
2392
2143
|
accountId: AccountId32;
|
|
2393
2144
|
amountPerFrame: u128;
|
|
@@ -2400,51 +2151,30 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2400
2151
|
MiningBidsClosed: AugmentedEvent<ApiType, [frameId: u64], {
|
|
2401
2152
|
frameId: u64;
|
|
2402
2153
|
}>;
|
|
2403
|
-
MiningConfigurationUpdated: AugmentedEvent<ApiType, [
|
|
2404
|
-
ticksBeforeBidEndForVrfClose: u64,
|
|
2405
|
-
ticksBetweenSlots: u64,
|
|
2406
|
-
slotBiddingStartAfterTicks: u64
|
|
2407
|
-
], {
|
|
2154
|
+
MiningConfigurationUpdated: AugmentedEvent<ApiType, [ticksBeforeBidEndForVrfClose: u64, ticksBetweenSlots: u64, slotBiddingStartAfterTicks: u64], {
|
|
2408
2155
|
ticksBeforeBidEndForVrfClose: u64;
|
|
2409
2156
|
ticksBetweenSlots: u64;
|
|
2410
2157
|
slotBiddingStartAfterTicks: u64;
|
|
2411
2158
|
}>;
|
|
2412
|
-
NewMiners: AugmentedEvent<ApiType, [
|
|
2413
|
-
newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>,
|
|
2414
|
-
releasedMiners: u32,
|
|
2415
|
-
frameId: u64
|
|
2416
|
-
], {
|
|
2159
|
+
NewMiners: AugmentedEvent<ApiType, [newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>, releasedMiners: u32, frameId: u64], {
|
|
2417
2160
|
newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
|
|
2418
2161
|
releasedMiners: u32;
|
|
2419
2162
|
frameId: u64;
|
|
2420
2163
|
}>;
|
|
2421
|
-
ReleaseBidError: AugmentedEvent<ApiType, [
|
|
2422
|
-
accountId: AccountId32,
|
|
2423
|
-
error: SpRuntimeDispatchError
|
|
2424
|
-
], {
|
|
2164
|
+
ReleaseBidError: AugmentedEvent<ApiType, [accountId: AccountId32, error: SpRuntimeDispatchError], {
|
|
2425
2165
|
accountId: AccountId32;
|
|
2426
2166
|
error: SpRuntimeDispatchError;
|
|
2427
2167
|
}>;
|
|
2428
|
-
ReleaseMinerSeatError: AugmentedEvent<ApiType, [
|
|
2429
|
-
accountId: AccountId32,
|
|
2430
|
-
error: SpRuntimeDispatchError
|
|
2431
|
-
], {
|
|
2168
|
+
ReleaseMinerSeatError: AugmentedEvent<ApiType, [accountId: AccountId32, error: SpRuntimeDispatchError], {
|
|
2432
2169
|
accountId: AccountId32;
|
|
2433
2170
|
error: SpRuntimeDispatchError;
|
|
2434
2171
|
}>;
|
|
2435
|
-
SlotBidderAdded: AugmentedEvent<ApiType, [
|
|
2436
|
-
accountId: AccountId32,
|
|
2437
|
-
bidAmount: u128,
|
|
2438
|
-
index: u32
|
|
2439
|
-
], {
|
|
2172
|
+
SlotBidderAdded: AugmentedEvent<ApiType, [accountId: AccountId32, bidAmount: u128, index: u32], {
|
|
2440
2173
|
accountId: AccountId32;
|
|
2441
2174
|
bidAmount: u128;
|
|
2442
2175
|
index: u32;
|
|
2443
2176
|
}>;
|
|
2444
|
-
SlotBidderDropped: AugmentedEvent<ApiType, [
|
|
2445
|
-
accountId: AccountId32,
|
|
2446
|
-
preservedArgonotHold: bool
|
|
2447
|
-
], {
|
|
2177
|
+
SlotBidderDropped: AugmentedEvent<ApiType, [accountId: AccountId32, preservedArgonotHold: bool], {
|
|
2448
2178
|
accountId: AccountId32;
|
|
2449
2179
|
preservedArgonotHold: bool;
|
|
2450
2180
|
}>;
|
|
@@ -2453,11 +2183,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2453
2183
|
/**
|
|
2454
2184
|
* Any bitcoins minted
|
|
2455
2185
|
**/
|
|
2456
|
-
BitcoinMint: AugmentedEvent<ApiType, [
|
|
2457
|
-
accountId: AccountId32,
|
|
2458
|
-
utxoId: Option<u64>,
|
|
2459
|
-
amount: u128
|
|
2460
|
-
], {
|
|
2186
|
+
BitcoinMint: AugmentedEvent<ApiType, [accountId: AccountId32, utxoId: Option<u64>, amount: u128], {
|
|
2461
2187
|
accountId: AccountId32;
|
|
2462
2188
|
utxoId: Option<u64>;
|
|
2463
2189
|
amount: u128;
|
|
@@ -2466,12 +2192,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2466
2192
|
* The amount of argons minted for mining. NOTE: accounts below Existential Deposit will
|
|
2467
2193
|
* not be able to mint
|
|
2468
2194
|
**/
|
|
2469
|
-
MiningMint: AugmentedEvent<ApiType, [
|
|
2470
|
-
amount: U256,
|
|
2471
|
-
perMiner: u128,
|
|
2472
|
-
argonCpi: i128,
|
|
2473
|
-
liquidity: u128
|
|
2474
|
-
], {
|
|
2195
|
+
MiningMint: AugmentedEvent<ApiType, [amount: U256, perMiner: u128, argonCpi: i128, liquidity: u128], {
|
|
2475
2196
|
amount: U256;
|
|
2476
2197
|
perMiner: u128;
|
|
2477
2198
|
argonCpi: i128;
|
|
@@ -2481,13 +2202,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2481
2202
|
* Errors encountered while minting. Most often due to mint amount still below Existential
|
|
2482
2203
|
* Deposit
|
|
2483
2204
|
**/
|
|
2484
|
-
MintError: AugmentedEvent<ApiType, [
|
|
2485
|
-
mintType: PalletMintMintType,
|
|
2486
|
-
accountId: AccountId32,
|
|
2487
|
-
utxoId: Option<u64>,
|
|
2488
|
-
amount: u128,
|
|
2489
|
-
error: SpRuntimeDispatchError
|
|
2490
|
-
], {
|
|
2205
|
+
MintError: AugmentedEvent<ApiType, [mintType: PalletMintMintType, accountId: AccountId32, utxoId: Option<u64>, amount: u128, error: SpRuntimeDispatchError], {
|
|
2491
2206
|
mintType: PalletMintMintType;
|
|
2492
2207
|
accountId: AccountId32;
|
|
2493
2208
|
utxoId: Option<u64>;
|
|
@@ -2499,12 +2214,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2499
2214
|
/**
|
|
2500
2215
|
* The deposit for a multisig operation has been updated/poked.
|
|
2501
2216
|
**/
|
|
2502
|
-
DepositPoked: AugmentedEvent<ApiType, [
|
|
2503
|
-
who: AccountId32,
|
|
2504
|
-
callHash: U8aFixed,
|
|
2505
|
-
oldDeposit: u128,
|
|
2506
|
-
newDeposit: u128
|
|
2507
|
-
], {
|
|
2217
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
|
|
2508
2218
|
who: AccountId32;
|
|
2509
2219
|
callHash: U8aFixed;
|
|
2510
2220
|
oldDeposit: u128;
|
|
@@ -2513,12 +2223,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2513
2223
|
/**
|
|
2514
2224
|
* A multisig operation has been approved by someone.
|
|
2515
2225
|
**/
|
|
2516
|
-
MultisigApproval: AugmentedEvent<ApiType, [
|
|
2517
|
-
approving: AccountId32,
|
|
2518
|
-
timepoint: PalletMultisigTimepoint,
|
|
2519
|
-
multisig: AccountId32,
|
|
2520
|
-
callHash: U8aFixed
|
|
2521
|
-
], {
|
|
2226
|
+
MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
|
|
2522
2227
|
approving: AccountId32;
|
|
2523
2228
|
timepoint: PalletMultisigTimepoint;
|
|
2524
2229
|
multisig: AccountId32;
|
|
@@ -2527,12 +2232,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2527
2232
|
/**
|
|
2528
2233
|
* A multisig operation has been cancelled.
|
|
2529
2234
|
**/
|
|
2530
|
-
MultisigCancelled: AugmentedEvent<ApiType, [
|
|
2531
|
-
cancelling: AccountId32,
|
|
2532
|
-
timepoint: PalletMultisigTimepoint,
|
|
2533
|
-
multisig: AccountId32,
|
|
2534
|
-
callHash: U8aFixed
|
|
2535
|
-
], {
|
|
2235
|
+
MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
|
|
2536
2236
|
cancelling: AccountId32;
|
|
2537
2237
|
timepoint: PalletMultisigTimepoint;
|
|
2538
2238
|
multisig: AccountId32;
|
|
@@ -2541,13 +2241,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2541
2241
|
/**
|
|
2542
2242
|
* A multisig operation has been executed.
|
|
2543
2243
|
**/
|
|
2544
|
-
MultisigExecuted: AugmentedEvent<ApiType, [
|
|
2545
|
-
approving: AccountId32,
|
|
2546
|
-
timepoint: PalletMultisigTimepoint,
|
|
2547
|
-
multisig: AccountId32,
|
|
2548
|
-
callHash: U8aFixed,
|
|
2549
|
-
result: Result<Null, SpRuntimeDispatchError>
|
|
2550
|
-
], {
|
|
2244
|
+
MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError>], {
|
|
2551
2245
|
approving: AccountId32;
|
|
2552
2246
|
timepoint: PalletMultisigTimepoint;
|
|
2553
2247
|
multisig: AccountId32;
|
|
@@ -2557,11 +2251,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2557
2251
|
/**
|
|
2558
2252
|
* A new multisig operation has begun.
|
|
2559
2253
|
**/
|
|
2560
|
-
NewMultisig: AugmentedEvent<ApiType, [
|
|
2561
|
-
approving: AccountId32,
|
|
2562
|
-
multisig: AccountId32,
|
|
2563
|
-
callHash: U8aFixed
|
|
2564
|
-
], {
|
|
2254
|
+
NewMultisig: AugmentedEvent<ApiType, [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], {
|
|
2565
2255
|
approving: AccountId32;
|
|
2566
2256
|
multisig: AccountId32;
|
|
2567
2257
|
callHash: U8aFixed;
|
|
@@ -2571,29 +2261,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2571
2261
|
/**
|
|
2572
2262
|
* A notary proposal has been accepted
|
|
2573
2263
|
**/
|
|
2574
|
-
NotaryActivated: AugmentedEvent<ApiType, [
|
|
2575
|
-
notary: ArgonPrimitivesNotaryNotaryRecord
|
|
2576
|
-
], {
|
|
2264
|
+
NotaryActivated: AugmentedEvent<ApiType, [notary: ArgonPrimitivesNotaryNotaryRecord], {
|
|
2577
2265
|
notary: ArgonPrimitivesNotaryNotaryRecord;
|
|
2578
2266
|
}>;
|
|
2579
2267
|
/**
|
|
2580
2268
|
* Notary metadata updated
|
|
2581
2269
|
**/
|
|
2582
|
-
NotaryMetaUpdated: AugmentedEvent<ApiType, [
|
|
2583
|
-
notaryId: u32,
|
|
2584
|
-
meta: ArgonPrimitivesNotaryNotaryMeta
|
|
2585
|
-
], {
|
|
2270
|
+
NotaryMetaUpdated: AugmentedEvent<ApiType, [notaryId: u32, meta: ArgonPrimitivesNotaryNotaryMeta], {
|
|
2586
2271
|
notaryId: u32;
|
|
2587
2272
|
meta: ArgonPrimitivesNotaryNotaryMeta;
|
|
2588
2273
|
}>;
|
|
2589
2274
|
/**
|
|
2590
2275
|
* Error updating queued notary info
|
|
2591
2276
|
**/
|
|
2592
|
-
NotaryMetaUpdateError: AugmentedEvent<ApiType, [
|
|
2593
|
-
notaryId: u32,
|
|
2594
|
-
error: SpRuntimeDispatchError,
|
|
2595
|
-
meta: ArgonPrimitivesNotaryNotaryMeta
|
|
2596
|
-
], {
|
|
2277
|
+
NotaryMetaUpdateError: AugmentedEvent<ApiType, [notaryId: u32, error: SpRuntimeDispatchError, meta: ArgonPrimitivesNotaryNotaryMeta], {
|
|
2597
2278
|
notaryId: u32;
|
|
2598
2279
|
error: SpRuntimeDispatchError;
|
|
2599
2280
|
meta: ArgonPrimitivesNotaryNotaryMeta;
|
|
@@ -2601,11 +2282,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2601
2282
|
/**
|
|
2602
2283
|
* Notary metadata queued for update
|
|
2603
2284
|
**/
|
|
2604
|
-
NotaryMetaUpdateQueued: AugmentedEvent<ApiType, [
|
|
2605
|
-
notaryId: u32,
|
|
2606
|
-
meta: ArgonPrimitivesNotaryNotaryMeta,
|
|
2607
|
-
effectiveTick: u64
|
|
2608
|
-
], {
|
|
2285
|
+
NotaryMetaUpdateQueued: AugmentedEvent<ApiType, [notaryId: u32, meta: ArgonPrimitivesNotaryNotaryMeta, effectiveTick: u64], {
|
|
2609
2286
|
notaryId: u32;
|
|
2610
2287
|
meta: ArgonPrimitivesNotaryNotaryMeta;
|
|
2611
2288
|
effectiveTick: u64;
|
|
@@ -2613,39 +2290,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2613
2290
|
/**
|
|
2614
2291
|
* A user has proposed operating as a notary
|
|
2615
2292
|
**/
|
|
2616
|
-
NotaryProposed: AugmentedEvent<ApiType, [
|
|
2617
|
-
operatorAccount: AccountId32,
|
|
2618
|
-
meta: ArgonPrimitivesNotaryNotaryMeta,
|
|
2619
|
-
expires: u32
|
|
2620
|
-
], {
|
|
2293
|
+
NotaryProposed: AugmentedEvent<ApiType, [operatorAccount: AccountId32, meta: ArgonPrimitivesNotaryNotaryMeta, expires: u32], {
|
|
2621
2294
|
operatorAccount: AccountId32;
|
|
2622
2295
|
meta: ArgonPrimitivesNotaryNotaryMeta;
|
|
2623
2296
|
expires: u32;
|
|
2624
2297
|
}>;
|
|
2625
2298
|
};
|
|
2626
2299
|
notebook: {
|
|
2627
|
-
NotebookAuditFailure: AugmentedEvent<ApiType, [
|
|
2628
|
-
notaryId: u32,
|
|
2629
|
-
notebookNumber: u32,
|
|
2630
|
-
notebookHash: H256,
|
|
2631
|
-
firstFailureReason: ArgonNotaryAuditErrorVerifyError
|
|
2632
|
-
], {
|
|
2300
|
+
NotebookAuditFailure: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32, notebookHash: H256, firstFailureReason: ArgonNotaryAuditErrorVerifyError], {
|
|
2633
2301
|
notaryId: u32;
|
|
2634
2302
|
notebookNumber: u32;
|
|
2635
2303
|
notebookHash: H256;
|
|
2636
2304
|
firstFailureReason: ArgonNotaryAuditErrorVerifyError;
|
|
2637
2305
|
}>;
|
|
2638
|
-
NotebookReadyForReprocess: AugmentedEvent<ApiType, [
|
|
2639
|
-
notaryId: u32,
|
|
2640
|
-
notebookNumber: u32
|
|
2641
|
-
], {
|
|
2306
|
+
NotebookReadyForReprocess: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32], {
|
|
2642
2307
|
notaryId: u32;
|
|
2643
2308
|
notebookNumber: u32;
|
|
2644
2309
|
}>;
|
|
2645
|
-
NotebookSubmitted: AugmentedEvent<ApiType, [
|
|
2646
|
-
notaryId: u32,
|
|
2647
|
-
notebookNumber: u32
|
|
2648
|
-
], {
|
|
2310
|
+
NotebookSubmitted: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32], {
|
|
2649
2311
|
notaryId: u32;
|
|
2650
2312
|
notebookNumber: u32;
|
|
2651
2313
|
}>;
|
|
@@ -2654,30 +2316,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2654
2316
|
/**
|
|
2655
2317
|
* A balance was set by root.
|
|
2656
2318
|
**/
|
|
2657
|
-
BalanceSet: AugmentedEvent<ApiType, [
|
|
2658
|
-
who: AccountId32,
|
|
2659
|
-
free: u128
|
|
2660
|
-
], {
|
|
2319
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
|
|
2661
2320
|
who: AccountId32;
|
|
2662
2321
|
free: u128;
|
|
2663
2322
|
}>;
|
|
2664
2323
|
/**
|
|
2665
2324
|
* Some amount was burned from an account.
|
|
2666
2325
|
**/
|
|
2667
|
-
Burned: AugmentedEvent<ApiType, [
|
|
2668
|
-
who: AccountId32,
|
|
2669
|
-
amount: u128
|
|
2670
|
-
], {
|
|
2326
|
+
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2671
2327
|
who: AccountId32;
|
|
2672
2328
|
amount: u128;
|
|
2673
2329
|
}>;
|
|
2674
2330
|
/**
|
|
2675
2331
|
* Some amount was deposited (e.g. for transaction fees).
|
|
2676
2332
|
**/
|
|
2677
|
-
Deposit: AugmentedEvent<ApiType, [
|
|
2678
|
-
who: AccountId32,
|
|
2679
|
-
amount: u128
|
|
2680
|
-
], {
|
|
2333
|
+
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2681
2334
|
who: AccountId32;
|
|
2682
2335
|
amount: u128;
|
|
2683
2336
|
}>;
|
|
@@ -2685,30 +2338,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2685
2338
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
2686
2339
|
* resulting in an outright loss.
|
|
2687
2340
|
**/
|
|
2688
|
-
DustLost: AugmentedEvent<ApiType, [
|
|
2689
|
-
account: AccountId32,
|
|
2690
|
-
amount: u128
|
|
2691
|
-
], {
|
|
2341
|
+
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
|
|
2692
2342
|
account: AccountId32;
|
|
2693
2343
|
amount: u128;
|
|
2694
2344
|
}>;
|
|
2695
2345
|
/**
|
|
2696
2346
|
* An account was created with some free balance.
|
|
2697
2347
|
**/
|
|
2698
|
-
Endowed: AugmentedEvent<ApiType, [
|
|
2699
|
-
account: AccountId32,
|
|
2700
|
-
freeBalance: u128
|
|
2701
|
-
], {
|
|
2348
|
+
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], {
|
|
2702
2349
|
account: AccountId32;
|
|
2703
2350
|
freeBalance: u128;
|
|
2704
2351
|
}>;
|
|
2705
2352
|
/**
|
|
2706
2353
|
* Some balance was frozen.
|
|
2707
2354
|
**/
|
|
2708
|
-
Frozen: AugmentedEvent<ApiType, [
|
|
2709
|
-
who: AccountId32,
|
|
2710
|
-
amount: u128
|
|
2711
|
-
], {
|
|
2355
|
+
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2712
2356
|
who: AccountId32;
|
|
2713
2357
|
amount: u128;
|
|
2714
2358
|
}>;
|
|
@@ -2721,20 +2365,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2721
2365
|
/**
|
|
2722
2366
|
* Some balance was locked.
|
|
2723
2367
|
**/
|
|
2724
|
-
Locked: AugmentedEvent<ApiType, [
|
|
2725
|
-
who: AccountId32,
|
|
2726
|
-
amount: u128
|
|
2727
|
-
], {
|
|
2368
|
+
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2728
2369
|
who: AccountId32;
|
|
2729
2370
|
amount: u128;
|
|
2730
2371
|
}>;
|
|
2731
2372
|
/**
|
|
2732
2373
|
* Some amount was minted into an account.
|
|
2733
2374
|
**/
|
|
2734
|
-
Minted: AugmentedEvent<ApiType, [
|
|
2735
|
-
who: AccountId32,
|
|
2736
|
-
amount: u128
|
|
2737
|
-
], {
|
|
2375
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2738
2376
|
who: AccountId32;
|
|
2739
2377
|
amount: u128;
|
|
2740
2378
|
}>;
|
|
@@ -2747,10 +2385,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2747
2385
|
/**
|
|
2748
2386
|
* Some balance was reserved (moved from free to reserved).
|
|
2749
2387
|
**/
|
|
2750
|
-
Reserved: AugmentedEvent<ApiType, [
|
|
2751
|
-
who: AccountId32,
|
|
2752
|
-
amount: u128
|
|
2753
|
-
], {
|
|
2388
|
+
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2754
2389
|
who: AccountId32;
|
|
2755
2390
|
amount: u128;
|
|
2756
2391
|
}>;
|
|
@@ -2758,12 +2393,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2758
2393
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
2759
2394
|
* Final argument indicates the destination balance type.
|
|
2760
2395
|
**/
|
|
2761
|
-
ReserveRepatriated: AugmentedEvent<ApiType, [
|
|
2762
|
-
from: AccountId32,
|
|
2763
|
-
to: AccountId32,
|
|
2764
|
-
amount: u128,
|
|
2765
|
-
destinationStatus: FrameSupportTokensMiscBalanceStatus
|
|
2766
|
-
], {
|
|
2396
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
|
|
2767
2397
|
from: AccountId32;
|
|
2768
2398
|
to: AccountId32;
|
|
2769
2399
|
amount: u128;
|
|
@@ -2772,61 +2402,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2772
2402
|
/**
|
|
2773
2403
|
* Some amount was restored into an account.
|
|
2774
2404
|
**/
|
|
2775
|
-
Restored: AugmentedEvent<ApiType, [
|
|
2776
|
-
who: AccountId32,
|
|
2777
|
-
amount: u128
|
|
2778
|
-
], {
|
|
2405
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2779
2406
|
who: AccountId32;
|
|
2780
2407
|
amount: u128;
|
|
2781
2408
|
}>;
|
|
2782
2409
|
/**
|
|
2783
2410
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
2784
2411
|
**/
|
|
2785
|
-
Slashed: AugmentedEvent<ApiType, [
|
|
2786
|
-
who: AccountId32,
|
|
2787
|
-
amount: u128
|
|
2788
|
-
], {
|
|
2412
|
+
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2789
2413
|
who: AccountId32;
|
|
2790
2414
|
amount: u128;
|
|
2791
2415
|
}>;
|
|
2792
2416
|
/**
|
|
2793
2417
|
* Some amount was suspended from an account (it can be restored later).
|
|
2794
2418
|
**/
|
|
2795
|
-
Suspended: AugmentedEvent<ApiType, [
|
|
2796
|
-
who: AccountId32,
|
|
2797
|
-
amount: u128
|
|
2798
|
-
], {
|
|
2419
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2799
2420
|
who: AccountId32;
|
|
2800
2421
|
amount: u128;
|
|
2801
2422
|
}>;
|
|
2802
2423
|
/**
|
|
2803
2424
|
* Some balance was thawed.
|
|
2804
2425
|
**/
|
|
2805
|
-
Thawed: AugmentedEvent<ApiType, [
|
|
2806
|
-
who: AccountId32,
|
|
2807
|
-
amount: u128
|
|
2808
|
-
], {
|
|
2426
|
+
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2809
2427
|
who: AccountId32;
|
|
2810
2428
|
amount: u128;
|
|
2811
2429
|
}>;
|
|
2812
2430
|
/**
|
|
2813
2431
|
* The `TotalIssuance` was forcefully changed.
|
|
2814
2432
|
**/
|
|
2815
|
-
TotalIssuanceForced: AugmentedEvent<ApiType, [
|
|
2816
|
-
old: u128,
|
|
2817
|
-
new_: u128
|
|
2818
|
-
], {
|
|
2433
|
+
TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
|
|
2819
2434
|
old: u128;
|
|
2820
2435
|
new_: u128;
|
|
2821
2436
|
}>;
|
|
2822
2437
|
/**
|
|
2823
2438
|
* Transfer succeeded.
|
|
2824
2439
|
**/
|
|
2825
|
-
Transfer: AugmentedEvent<ApiType, [
|
|
2826
|
-
from: AccountId32,
|
|
2827
|
-
to: AccountId32,
|
|
2828
|
-
amount: u128
|
|
2829
|
-
], {
|
|
2440
|
+
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
|
|
2830
2441
|
from: AccountId32;
|
|
2831
2442
|
to: AccountId32;
|
|
2832
2443
|
amount: u128;
|
|
@@ -2834,20 +2445,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2834
2445
|
/**
|
|
2835
2446
|
* Some balance was unlocked.
|
|
2836
2447
|
**/
|
|
2837
|
-
Unlocked: AugmentedEvent<ApiType, [
|
|
2838
|
-
who: AccountId32,
|
|
2839
|
-
amount: u128
|
|
2840
|
-
], {
|
|
2448
|
+
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2841
2449
|
who: AccountId32;
|
|
2842
2450
|
amount: u128;
|
|
2843
2451
|
}>;
|
|
2844
2452
|
/**
|
|
2845
2453
|
* Some balance was unreserved (moved from reserved to free).
|
|
2846
2454
|
**/
|
|
2847
|
-
Unreserved: AugmentedEvent<ApiType, [
|
|
2848
|
-
who: AccountId32,
|
|
2849
|
-
amount: u128
|
|
2850
|
-
], {
|
|
2455
|
+
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2851
2456
|
who: AccountId32;
|
|
2852
2457
|
amount: u128;
|
|
2853
2458
|
}>;
|
|
@@ -2860,10 +2465,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2860
2465
|
/**
|
|
2861
2466
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
2862
2467
|
**/
|
|
2863
|
-
Withdraw: AugmentedEvent<ApiType, [
|
|
2864
|
-
who: AccountId32,
|
|
2865
|
-
amount: u128
|
|
2866
|
-
], {
|
|
2468
|
+
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
2867
2469
|
who: AccountId32;
|
|
2868
2470
|
amount: u128;
|
|
2869
2471
|
}>;
|
|
@@ -2873,9 +2475,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2873
2475
|
* Event emitted when a new price index is submitted
|
|
2874
2476
|
**/
|
|
2875
2477
|
NewIndex: AugmentedEvent<ApiType, []>;
|
|
2876
|
-
OperatorChanged: AugmentedEvent<ApiType, [
|
|
2877
|
-
operatorId: AccountId32
|
|
2878
|
-
], {
|
|
2478
|
+
OperatorChanged: AugmentedEvent<ApiType, [operatorId: AccountId32], {
|
|
2879
2479
|
operatorId: AccountId32;
|
|
2880
2480
|
}>;
|
|
2881
2481
|
};
|
|
@@ -2883,11 +2483,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2883
2483
|
/**
|
|
2884
2484
|
* An announcement was placed to make a call in the future.
|
|
2885
2485
|
**/
|
|
2886
|
-
Announced: AugmentedEvent<ApiType, [
|
|
2887
|
-
real: AccountId32,
|
|
2888
|
-
proxy: AccountId32,
|
|
2889
|
-
callHash: H256
|
|
2890
|
-
], {
|
|
2486
|
+
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], {
|
|
2891
2487
|
real: AccountId32;
|
|
2892
2488
|
proxy: AccountId32;
|
|
2893
2489
|
callHash: H256;
|
|
@@ -2895,12 +2491,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2895
2491
|
/**
|
|
2896
2492
|
* A deposit stored for proxies or announcements was poked / updated.
|
|
2897
2493
|
**/
|
|
2898
|
-
DepositPoked: AugmentedEvent<ApiType, [
|
|
2899
|
-
who: AccountId32,
|
|
2900
|
-
kind: PalletProxyDepositKind,
|
|
2901
|
-
oldDeposit: u128,
|
|
2902
|
-
newDeposit: u128
|
|
2903
|
-
], {
|
|
2494
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], {
|
|
2904
2495
|
who: AccountId32;
|
|
2905
2496
|
kind: PalletProxyDepositKind;
|
|
2906
2497
|
oldDeposit: u128;
|
|
@@ -2909,12 +2500,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2909
2500
|
/**
|
|
2910
2501
|
* A proxy was added.
|
|
2911
2502
|
**/
|
|
2912
|
-
ProxyAdded: AugmentedEvent<ApiType, [
|
|
2913
|
-
delegator: AccountId32,
|
|
2914
|
-
delegatee: AccountId32,
|
|
2915
|
-
proxyType: ArgonRuntimeProxyType,
|
|
2916
|
-
delay: u32
|
|
2917
|
-
], {
|
|
2503
|
+
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonRuntimeProxyType, delay: u32], {
|
|
2918
2504
|
delegator: AccountId32;
|
|
2919
2505
|
delegatee: AccountId32;
|
|
2920
2506
|
proxyType: ArgonRuntimeProxyType;
|
|
@@ -2923,20 +2509,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2923
2509
|
/**
|
|
2924
2510
|
* A proxy was executed correctly, with the given.
|
|
2925
2511
|
**/
|
|
2926
|
-
ProxyExecuted: AugmentedEvent<ApiType, [
|
|
2927
|
-
result: Result<Null, SpRuntimeDispatchError>
|
|
2928
|
-
], {
|
|
2512
|
+
ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
|
|
2929
2513
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
2930
2514
|
}>;
|
|
2931
2515
|
/**
|
|
2932
2516
|
* A proxy was removed.
|
|
2933
2517
|
**/
|
|
2934
|
-
ProxyRemoved: AugmentedEvent<ApiType, [
|
|
2935
|
-
delegator: AccountId32,
|
|
2936
|
-
delegatee: AccountId32,
|
|
2937
|
-
proxyType: ArgonRuntimeProxyType,
|
|
2938
|
-
delay: u32
|
|
2939
|
-
], {
|
|
2518
|
+
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonRuntimeProxyType, delay: u32], {
|
|
2940
2519
|
delegator: AccountId32;
|
|
2941
2520
|
delegatee: AccountId32;
|
|
2942
2521
|
proxyType: ArgonRuntimeProxyType;
|
|
@@ -2946,26 +2525,27 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2946
2525
|
* A pure account has been created by new proxy with given
|
|
2947
2526
|
* disambiguation index and proxy type.
|
|
2948
2527
|
**/
|
|
2949
|
-
PureCreated: AugmentedEvent<ApiType, [
|
|
2950
|
-
pure: AccountId32,
|
|
2951
|
-
who: AccountId32,
|
|
2952
|
-
proxyType: ArgonRuntimeProxyType,
|
|
2953
|
-
disambiguationIndex: u16
|
|
2954
|
-
], {
|
|
2528
|
+
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: ArgonRuntimeProxyType, disambiguationIndex: u16], {
|
|
2955
2529
|
pure: AccountId32;
|
|
2956
2530
|
who: AccountId32;
|
|
2957
2531
|
proxyType: ArgonRuntimeProxyType;
|
|
2958
2532
|
disambiguationIndex: u16;
|
|
2959
2533
|
}>;
|
|
2534
|
+
/**
|
|
2535
|
+
* A pure proxy was killed by its spawner.
|
|
2536
|
+
**/
|
|
2537
|
+
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: ArgonRuntimeProxyType, disambiguationIndex: u16], {
|
|
2538
|
+
pure: AccountId32;
|
|
2539
|
+
spawner: AccountId32;
|
|
2540
|
+
proxyType: ArgonRuntimeProxyType;
|
|
2541
|
+
disambiguationIndex: u16;
|
|
2542
|
+
}>;
|
|
2960
2543
|
};
|
|
2961
2544
|
sudo: {
|
|
2962
2545
|
/**
|
|
2963
2546
|
* The sudo key has been updated.
|
|
2964
2547
|
**/
|
|
2965
|
-
KeyChanged: AugmentedEvent<ApiType, [
|
|
2966
|
-
old: Option<AccountId32>,
|
|
2967
|
-
new_: AccountId32
|
|
2968
|
-
], {
|
|
2548
|
+
KeyChanged: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: AccountId32], {
|
|
2969
2549
|
old: Option<AccountId32>;
|
|
2970
2550
|
new_: AccountId32;
|
|
2971
2551
|
}>;
|
|
@@ -2976,17 +2556,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2976
2556
|
/**
|
|
2977
2557
|
* A sudo call just took place.
|
|
2978
2558
|
**/
|
|
2979
|
-
Sudid: AugmentedEvent<ApiType, [
|
|
2980
|
-
sudoResult: Result<Null, SpRuntimeDispatchError>
|
|
2981
|
-
], {
|
|
2559
|
+
Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
|
|
2982
2560
|
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
2983
2561
|
}>;
|
|
2984
2562
|
/**
|
|
2985
2563
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
2986
2564
|
**/
|
|
2987
|
-
SudoAsDone: AugmentedEvent<ApiType, [
|
|
2988
|
-
sudoResult: Result<Null, SpRuntimeDispatchError>
|
|
2989
|
-
], {
|
|
2565
|
+
SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
|
|
2990
2566
|
sudoResult: Result<Null, SpRuntimeDispatchError>;
|
|
2991
2567
|
}>;
|
|
2992
2568
|
};
|
|
@@ -2998,19 +2574,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2998
2574
|
/**
|
|
2999
2575
|
* An extrinsic failed.
|
|
3000
2576
|
**/
|
|
3001
|
-
ExtrinsicFailed: AugmentedEvent<ApiType, [
|
|
3002
|
-
dispatchError: SpRuntimeDispatchError,
|
|
3003
|
-
dispatchInfo: FrameSystemDispatchEventInfo
|
|
3004
|
-
], {
|
|
2577
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], {
|
|
3005
2578
|
dispatchError: SpRuntimeDispatchError;
|
|
3006
2579
|
dispatchInfo: FrameSystemDispatchEventInfo;
|
|
3007
2580
|
}>;
|
|
3008
2581
|
/**
|
|
3009
2582
|
* An extrinsic completed successfully.
|
|
3010
2583
|
**/
|
|
3011
|
-
ExtrinsicSuccess: AugmentedEvent<ApiType, [
|
|
3012
|
-
dispatchInfo: FrameSystemDispatchEventInfo
|
|
3013
|
-
], {
|
|
2584
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], {
|
|
3014
2585
|
dispatchInfo: FrameSystemDispatchEventInfo;
|
|
3015
2586
|
}>;
|
|
3016
2587
|
/**
|
|
@@ -3028,30 +2599,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3028
2599
|
/**
|
|
3029
2600
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
3030
2601
|
**/
|
|
3031
|
-
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [
|
|
3032
|
-
codeHash: H256,
|
|
3033
|
-
error: SpRuntimeDispatchError
|
|
3034
|
-
], {
|
|
2602
|
+
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], {
|
|
3035
2603
|
codeHash: H256;
|
|
3036
2604
|
error: SpRuntimeDispatchError;
|
|
3037
2605
|
}>;
|
|
3038
2606
|
/**
|
|
3039
2607
|
* On on-chain remark happened.
|
|
3040
2608
|
**/
|
|
3041
|
-
Remarked: AugmentedEvent<ApiType, [
|
|
3042
|
-
sender: AccountId32,
|
|
3043
|
-
hash_: H256
|
|
3044
|
-
], {
|
|
2609
|
+
Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], {
|
|
3045
2610
|
sender: AccountId32;
|
|
3046
2611
|
hash_: H256;
|
|
3047
2612
|
}>;
|
|
3048
2613
|
/**
|
|
3049
2614
|
* An upgrade was authorized.
|
|
3050
2615
|
**/
|
|
3051
|
-
UpgradeAuthorized: AugmentedEvent<ApiType, [
|
|
3052
|
-
codeHash: H256,
|
|
3053
|
-
checkVersion: bool
|
|
3054
|
-
], {
|
|
2616
|
+
UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], {
|
|
3055
2617
|
codeHash: H256;
|
|
3056
2618
|
checkVersion: bool;
|
|
3057
2619
|
}>;
|
|
@@ -3060,11 +2622,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3060
2622
|
/**
|
|
3061
2623
|
* An asset has been received and transferred to the beneficiary's account
|
|
3062
2624
|
**/
|
|
3063
|
-
AssetReceived: AugmentedEvent<ApiType, [
|
|
3064
|
-
beneficiary: AccountId32,
|
|
3065
|
-
amount: u128,
|
|
3066
|
-
source: IsmpHostStateMachine
|
|
3067
|
-
], {
|
|
2625
|
+
AssetReceived: AugmentedEvent<ApiType, [beneficiary: AccountId32, amount: u128, source: IsmpHostStateMachine], {
|
|
3068
2626
|
beneficiary: AccountId32;
|
|
3069
2627
|
amount: u128;
|
|
3070
2628
|
source: IsmpHostStateMachine;
|
|
@@ -3072,25 +2630,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3072
2630
|
/**
|
|
3073
2631
|
* An asset has been refunded and transferred to the beneficiary's account
|
|
3074
2632
|
**/
|
|
3075
|
-
AssetRefunded: AugmentedEvent<ApiType, [
|
|
3076
|
-
beneficiary: AccountId32,
|
|
3077
|
-
amount: u128,
|
|
3078
|
-
source: IsmpHostStateMachine
|
|
3079
|
-
], {
|
|
2633
|
+
AssetRefunded: AugmentedEvent<ApiType, [beneficiary: AccountId32, amount: u128, source: IsmpHostStateMachine], {
|
|
3080
2634
|
beneficiary: AccountId32;
|
|
3081
2635
|
amount: u128;
|
|
3082
2636
|
source: IsmpHostStateMachine;
|
|
3083
2637
|
}>;
|
|
2638
|
+
/**
|
|
2639
|
+
* An asset has been registered locally
|
|
2640
|
+
**/
|
|
2641
|
+
AssetRegisteredLocally: AugmentedEvent<ApiType, [localId: u32, assetId: H256], {
|
|
2642
|
+
localId: u32;
|
|
2643
|
+
assetId: H256;
|
|
2644
|
+
}>;
|
|
3084
2645
|
/**
|
|
3085
2646
|
* An asset has been teleported
|
|
3086
2647
|
**/
|
|
3087
|
-
AssetTeleported: AugmentedEvent<ApiType, [
|
|
3088
|
-
from: AccountId32,
|
|
3089
|
-
to: H256,
|
|
3090
|
-
amount: u128,
|
|
3091
|
-
dest: IsmpHostStateMachine,
|
|
3092
|
-
commitment: H256
|
|
3093
|
-
], {
|
|
2648
|
+
AssetTeleported: AugmentedEvent<ApiType, [from: AccountId32, to: H256, amount: u128, dest: IsmpHostStateMachine, commitment: H256], {
|
|
3094
2649
|
from: AccountId32;
|
|
3095
2650
|
to: H256;
|
|
3096
2651
|
amount: u128;
|
|
@@ -3100,9 +2655,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3100
2655
|
/**
|
|
3101
2656
|
* ERC6160 asset creation request dispatched to hyperbridge
|
|
3102
2657
|
**/
|
|
3103
|
-
ERC6160AssetRegistrationDispatched: AugmentedEvent<ApiType, [
|
|
3104
|
-
commitment: H256
|
|
3105
|
-
], {
|
|
2658
|
+
ERC6160AssetRegistrationDispatched: AugmentedEvent<ApiType, [commitment: H256], {
|
|
3106
2659
|
commitment: H256;
|
|
3107
2660
|
}>;
|
|
3108
2661
|
};
|
|
@@ -3111,11 +2664,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3111
2664
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
3112
2665
|
* has been paid by `who`.
|
|
3113
2666
|
**/
|
|
3114
|
-
TransactionFeePaid: AugmentedEvent<ApiType, [
|
|
3115
|
-
who: AccountId32,
|
|
3116
|
-
actualFee: u128,
|
|
3117
|
-
tip: u128
|
|
3118
|
-
], {
|
|
2667
|
+
TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], {
|
|
3119
2668
|
who: AccountId32;
|
|
3120
2669
|
actualFee: u128;
|
|
3121
2670
|
tip: u128;
|
|
@@ -3125,17 +2674,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3125
2674
|
/**
|
|
3126
2675
|
* This pallet, or a specific call is now paused.
|
|
3127
2676
|
**/
|
|
3128
|
-
CallPaused: AugmentedEvent<ApiType, [
|
|
3129
|
-
fullName: ITuple<[Bytes, Bytes]>
|
|
3130
|
-
], {
|
|
2677
|
+
CallPaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
|
|
3131
2678
|
fullName: ITuple<[Bytes, Bytes]>;
|
|
3132
2679
|
}>;
|
|
3133
2680
|
/**
|
|
3134
2681
|
* This pallet, or a specific call is now unpaused.
|
|
3135
2682
|
**/
|
|
3136
|
-
CallUnpaused: AugmentedEvent<ApiType, [
|
|
3137
|
-
fullName: ITuple<[Bytes, Bytes]>
|
|
3138
|
-
], {
|
|
2683
|
+
CallUnpaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
|
|
3139
2684
|
fullName: ITuple<[Bytes, Bytes]>;
|
|
3140
2685
|
}>;
|
|
3141
2686
|
};
|
|
@@ -3152,27 +2697,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3152
2697
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
3153
2698
|
* well as the error.
|
|
3154
2699
|
**/
|
|
3155
|
-
BatchInterrupted: AugmentedEvent<ApiType, [
|
|
3156
|
-
index: u32,
|
|
3157
|
-
error: SpRuntimeDispatchError
|
|
3158
|
-
], {
|
|
2700
|
+
BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], {
|
|
3159
2701
|
index: u32;
|
|
3160
2702
|
error: SpRuntimeDispatchError;
|
|
3161
2703
|
}>;
|
|
3162
2704
|
/**
|
|
3163
2705
|
* A call was dispatched.
|
|
3164
2706
|
**/
|
|
3165
|
-
DispatchedAs: AugmentedEvent<ApiType, [
|
|
3166
|
-
result: Result<Null, SpRuntimeDispatchError>
|
|
3167
|
-
], {
|
|
2707
|
+
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
|
|
3168
2708
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
3169
2709
|
}>;
|
|
3170
2710
|
/**
|
|
3171
2711
|
* The fallback call was dispatched.
|
|
3172
2712
|
**/
|
|
3173
|
-
IfElseFallbackCalled: AugmentedEvent<ApiType, [
|
|
3174
|
-
mainError: SpRuntimeDispatchError
|
|
3175
|
-
], {
|
|
2713
|
+
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], {
|
|
3176
2714
|
mainError: SpRuntimeDispatchError;
|
|
3177
2715
|
}>;
|
|
3178
2716
|
/**
|
|
@@ -3186,73 +2724,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3186
2724
|
/**
|
|
3187
2725
|
* A single item within a Batch of dispatches has completed with error.
|
|
3188
2726
|
**/
|
|
3189
|
-
ItemFailed: AugmentedEvent<ApiType, [
|
|
3190
|
-
error: SpRuntimeDispatchError
|
|
3191
|
-
], {
|
|
2727
|
+
ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
|
|
3192
2728
|
error: SpRuntimeDispatchError;
|
|
3193
2729
|
}>;
|
|
3194
2730
|
};
|
|
3195
2731
|
vaults: {
|
|
3196
|
-
FundLockCanceled: AugmentedEvent<ApiType, [
|
|
3197
|
-
vaultId: u32,
|
|
3198
|
-
amount: u128
|
|
3199
|
-
], {
|
|
2732
|
+
FundLockCanceled: AugmentedEvent<ApiType, [vaultId: u32, amount: u128], {
|
|
3200
2733
|
vaultId: u32;
|
|
3201
2734
|
amount: u128;
|
|
3202
2735
|
}>;
|
|
3203
|
-
FundsLocked: AugmentedEvent<ApiType, [
|
|
3204
|
-
vaultId: u32,
|
|
3205
|
-
locker: AccountId32,
|
|
3206
|
-
amount: u128,
|
|
3207
|
-
isRatchet: bool,
|
|
3208
|
-
feeRevenue: u128
|
|
3209
|
-
], {
|
|
2736
|
+
FundsLocked: AugmentedEvent<ApiType, [vaultId: u32, locker: AccountId32, amount: u128, isRatchet: bool, feeRevenue: u128], {
|
|
3210
2737
|
vaultId: u32;
|
|
3211
2738
|
locker: AccountId32;
|
|
3212
2739
|
amount: u128;
|
|
3213
2740
|
isRatchet: bool;
|
|
3214
2741
|
feeRevenue: u128;
|
|
3215
2742
|
}>;
|
|
3216
|
-
FundsReleased: AugmentedEvent<ApiType, [
|
|
3217
|
-
vaultId: u32,
|
|
3218
|
-
amount: u128
|
|
3219
|
-
], {
|
|
2743
|
+
FundsReleased: AugmentedEvent<ApiType, [vaultId: u32, amount: u128], {
|
|
3220
2744
|
vaultId: u32;
|
|
3221
2745
|
amount: u128;
|
|
3222
2746
|
}>;
|
|
3223
|
-
FundsReleasedError: AugmentedEvent<ApiType, [
|
|
3224
|
-
vaultId: u32,
|
|
3225
|
-
error: SpRuntimeDispatchError
|
|
3226
|
-
], {
|
|
2747
|
+
FundsReleasedError: AugmentedEvent<ApiType, [vaultId: u32, error: SpRuntimeDispatchError], {
|
|
3227
2748
|
vaultId: u32;
|
|
3228
2749
|
error: SpRuntimeDispatchError;
|
|
3229
2750
|
}>;
|
|
3230
|
-
FundsScheduledForRelease: AugmentedEvent<ApiType, [
|
|
3231
|
-
vaultId: u32,
|
|
3232
|
-
amount: u128,
|
|
3233
|
-
releaseHeight: u64
|
|
3234
|
-
], {
|
|
2751
|
+
FundsScheduledForRelease: AugmentedEvent<ApiType, [vaultId: u32, amount: u128, releaseHeight: u64], {
|
|
3235
2752
|
vaultId: u32;
|
|
3236
2753
|
amount: u128;
|
|
3237
2754
|
releaseHeight: u64;
|
|
3238
2755
|
}>;
|
|
3239
|
-
LiquidityPoolRecordingError: AugmentedEvent<ApiType, [
|
|
3240
|
-
vaultId: u32,
|
|
3241
|
-
frameId: u64,
|
|
3242
|
-
vaultEarnings: u128,
|
|
3243
|
-
error: SpRuntimeDispatchError
|
|
3244
|
-
], {
|
|
2756
|
+
LiquidityPoolRecordingError: AugmentedEvent<ApiType, [vaultId: u32, frameId: u64, vaultEarnings: u128, error: SpRuntimeDispatchError], {
|
|
3245
2757
|
vaultId: u32;
|
|
3246
2758
|
frameId: u64;
|
|
3247
2759
|
vaultEarnings: u128;
|
|
3248
2760
|
error: SpRuntimeDispatchError;
|
|
3249
2761
|
}>;
|
|
3250
|
-
LostBitcoinCompensated: AugmentedEvent<ApiType, [
|
|
3251
|
-
vaultId: u32,
|
|
3252
|
-
beneficiary: AccountId32,
|
|
3253
|
-
toBeneficiary: u128,
|
|
3254
|
-
burned: u128
|
|
3255
|
-
], {
|
|
2762
|
+
LostBitcoinCompensated: AugmentedEvent<ApiType, [vaultId: u32, beneficiary: AccountId32, toBeneficiary: u128, burned: u128], {
|
|
3256
2763
|
vaultId: u32;
|
|
3257
2764
|
beneficiary: AccountId32;
|
|
3258
2765
|
toBeneficiary: u128;
|
|
@@ -3261,11 +2768,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3261
2768
|
VaultBitcoinXpubChange: AugmentedEvent<ApiType, [vaultId: u32], {
|
|
3262
2769
|
vaultId: u32;
|
|
3263
2770
|
}>;
|
|
3264
|
-
VaultClosed: AugmentedEvent<ApiType, [
|
|
3265
|
-
vaultId: u32,
|
|
3266
|
-
securitizationRemaining: u128,
|
|
3267
|
-
securitizationReleased: u128
|
|
3268
|
-
], {
|
|
2771
|
+
VaultClosed: AugmentedEvent<ApiType, [vaultId: u32, securitizationRemaining: u128, securitizationReleased: u128], {
|
|
3269
2772
|
vaultId: u32;
|
|
3270
2773
|
securitizationRemaining: u128;
|
|
3271
2774
|
securitizationReleased: u128;
|
|
@@ -3273,31 +2776,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3273
2776
|
/**
|
|
3274
2777
|
* The vault collected revenue and cosigned all pending bitcoin locks
|
|
3275
2778
|
**/
|
|
3276
|
-
VaultCollected: AugmentedEvent<ApiType, [
|
|
3277
|
-
vaultId: u32,
|
|
3278
|
-
revenue: u128
|
|
3279
|
-
], {
|
|
2779
|
+
VaultCollected: AugmentedEvent<ApiType, [vaultId: u32, revenue: u128], {
|
|
3280
2780
|
vaultId: u32;
|
|
3281
2781
|
revenue: u128;
|
|
3282
2782
|
}>;
|
|
3283
|
-
VaultCreated: AugmentedEvent<ApiType, [
|
|
3284
|
-
vaultId: u32,
|
|
3285
|
-
securitization: u128,
|
|
3286
|
-
securitizationRatio: u128,
|
|
3287
|
-
operatorAccountId: AccountId32,
|
|
3288
|
-
openedTick: u64
|
|
3289
|
-
], {
|
|
2783
|
+
VaultCreated: AugmentedEvent<ApiType, [vaultId: u32, securitization: u128, securitizationRatio: u128, operatorAccountId: AccountId32, openedTick: u64], {
|
|
3290
2784
|
vaultId: u32;
|
|
3291
2785
|
securitization: u128;
|
|
3292
2786
|
securitizationRatio: u128;
|
|
3293
2787
|
operatorAccountId: AccountId32;
|
|
3294
2788
|
openedTick: u64;
|
|
3295
2789
|
}>;
|
|
3296
|
-
VaultModified: AugmentedEvent<ApiType, [
|
|
3297
|
-
vaultId: u32,
|
|
3298
|
-
securitization: u128,
|
|
3299
|
-
securitizationRatio: u128
|
|
3300
|
-
], {
|
|
2790
|
+
VaultModified: AugmentedEvent<ApiType, [vaultId: u32, securitization: u128, securitizationRatio: u128], {
|
|
3301
2791
|
vaultId: u32;
|
|
3302
2792
|
securitization: u128;
|
|
3303
2793
|
securitizationRatio: u128;
|
|
@@ -3305,11 +2795,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3305
2795
|
/**
|
|
3306
2796
|
* Vault revenue was not collected within the required window, so has been burned
|
|
3307
2797
|
**/
|
|
3308
|
-
VaultRevenueUncollected: AugmentedEvent<ApiType, [
|
|
3309
|
-
vaultId: u32,
|
|
3310
|
-
frameId: u64,
|
|
3311
|
-
amount: u128
|
|
3312
|
-
], {
|
|
2798
|
+
VaultRevenueUncollected: AugmentedEvent<ApiType, [vaultId: u32, frameId: u64, amount: u128], {
|
|
3313
2799
|
vaultId: u32;
|
|
3314
2800
|
frameId: u64;
|
|
3315
2801
|
amount: u128;
|
|
@@ -3317,10 +2803,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3317
2803
|
VaultTermsChanged: AugmentedEvent<ApiType, [vaultId: u32], {
|
|
3318
2804
|
vaultId: u32;
|
|
3319
2805
|
}>;
|
|
3320
|
-
VaultTermsChangeScheduled: AugmentedEvent<ApiType, [
|
|
3321
|
-
vaultId: u32,
|
|
3322
|
-
changeTick: u64
|
|
3323
|
-
], {
|
|
2806
|
+
VaultTermsChangeScheduled: AugmentedEvent<ApiType, [vaultId: u32, changeTick: u64], {
|
|
3324
2807
|
vaultId: u32;
|
|
3325
2808
|
changeTick: u64;
|
|
3326
2809
|
}>;
|
|
@@ -3363,21 +2846,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3363
2846
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
3364
2847
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
3365
2848
|
**/
|
|
3366
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
3367
|
-
AccountId32
|
|
3368
|
-
]>;
|
|
2849
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
|
|
3369
2850
|
/**
|
|
3370
2851
|
* Freeze locks on account balances.
|
|
3371
2852
|
**/
|
|
3372
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
3373
|
-
AccountId32
|
|
3374
|
-
]>;
|
|
2853
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
|
|
3375
2854
|
/**
|
|
3376
2855
|
* Holds on account balances.
|
|
3377
2856
|
**/
|
|
3378
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
3379
|
-
AccountId32
|
|
3380
|
-
]>;
|
|
2857
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
|
|
3381
2858
|
/**
|
|
3382
2859
|
* The total units of outstanding deactivated balance in the system.
|
|
3383
2860
|
**/
|
|
@@ -3388,17 +2865,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3388
2865
|
*
|
|
3389
2866
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
3390
2867
|
**/
|
|
3391
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
3392
|
-
AccountId32
|
|
3393
|
-
]>;
|
|
2868
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
|
|
3394
2869
|
/**
|
|
3395
2870
|
* Named reserves on some account balances.
|
|
3396
2871
|
*
|
|
3397
2872
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
3398
2873
|
**/
|
|
3399
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
3400
|
-
AccountId32
|
|
3401
|
-
]>;
|
|
2874
|
+
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
|
|
3402
2875
|
/**
|
|
3403
2876
|
* The total units issued in the system.
|
|
3404
2877
|
**/
|
|
@@ -3408,31 +2881,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3408
2881
|
/**
|
|
3409
2882
|
* Utxos that have been requested to be cosigned for releasing
|
|
3410
2883
|
**/
|
|
3411
|
-
lockCosignDueByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
|
|
3412
|
-
u64
|
|
3413
|
-
]>;
|
|
2884
|
+
lockCosignDueByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
|
|
3414
2885
|
/**
|
|
3415
2886
|
* Expiration of bitcoin locks by bitcoin height. Funds are burned since the user did not
|
|
3416
2887
|
* unlock it
|
|
3417
2888
|
**/
|
|
3418
|
-
lockExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
|
|
3419
|
-
u64
|
|
3420
|
-
]>;
|
|
2889
|
+
lockExpirationsByBitcoinHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u64]>;
|
|
3421
2890
|
/**
|
|
3422
2891
|
* Stores the block number where the lock was released
|
|
3423
2892
|
**/
|
|
3424
|
-
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
3425
|
-
|
|
3426
|
-
]>;
|
|
3427
|
-
lockReleaseRequestsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>, [
|
|
3428
|
-
u64
|
|
3429
|
-
]>;
|
|
2893
|
+
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
|
|
2894
|
+
lockReleaseRequestsByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockReleaseRequest>>, [u64]>;
|
|
3430
2895
|
/**
|
|
3431
2896
|
* Stores bitcoin utxos that have requested to be released
|
|
3432
2897
|
**/
|
|
3433
|
-
locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [
|
|
3434
|
-
u64
|
|
3435
|
-
]>;
|
|
2898
|
+
locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [u64]>;
|
|
3436
2899
|
/**
|
|
3437
2900
|
* The minimum number of satoshis that can be locked
|
|
3438
2901
|
**/
|
|
@@ -3443,13 +2906,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3443
2906
|
/**
|
|
3444
2907
|
* The genesis set bitcoin network that this chain is tied to
|
|
3445
2908
|
**/
|
|
3446
|
-
bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
|
|
3447
|
-
]>;
|
|
2909
|
+
bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, []>;
|
|
3448
2910
|
/**
|
|
3449
2911
|
* An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
|
|
3450
2912
|
**/
|
|
3451
|
-
confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
3452
|
-
]>;
|
|
2913
|
+
confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
|
|
3453
2914
|
/**
|
|
3454
2915
|
* Check if the inherent was included
|
|
3455
2916
|
**/
|
|
@@ -3457,9 +2918,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3457
2918
|
/**
|
|
3458
2919
|
* Expiration date as a day since unix timestamp mapped to Bitcoin UTXOs
|
|
3459
2920
|
**/
|
|
3460
|
-
lockedUtxoExpirationsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
3461
|
-
u64
|
|
3462
|
-
]>;
|
|
2921
|
+
lockedUtxoExpirationsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBitcoinUtxoRef>>, [u64]>;
|
|
3463
2922
|
/**
|
|
3464
2923
|
* Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
|
|
3465
2924
|
* the expiration block, the funds are burned and the UTXO is unlocked.
|
|
@@ -3467,32 +2926,25 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3467
2926
|
lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
|
|
3468
2927
|
txid?: any;
|
|
3469
2928
|
outputIndex?: any;
|
|
3470
|
-
} | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
3471
|
-
ArgonPrimitivesBitcoinUtxoRef
|
|
3472
|
-
]>;
|
|
2929
|
+
} | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [ArgonPrimitivesBitcoinUtxoRef]>;
|
|
3473
2930
|
/**
|
|
3474
2931
|
* Bitcoin Oracle Operator Account
|
|
3475
2932
|
**/
|
|
3476
2933
|
oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
3477
|
-
previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
3478
|
-
]>;
|
|
2934
|
+
previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
|
|
3479
2935
|
/**
|
|
3480
2936
|
* The last synched bitcoin block
|
|
3481
2937
|
**/
|
|
3482
|
-
synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
3483
|
-
]>;
|
|
2938
|
+
synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, []>;
|
|
3484
2939
|
/**
|
|
3485
2940
|
* Stores if parent block had a confirmed bitcoin block
|
|
3486
2941
|
**/
|
|
3487
2942
|
tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3488
|
-
utxoIdToRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
3489
|
-
u64
|
|
3490
|
-
]>;
|
|
2943
|
+
utxoIdToRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [u64]>;
|
|
3491
2944
|
/**
|
|
3492
2945
|
* Bitcoin UTXOs that have been submitted for ownership confirmation
|
|
3493
2946
|
**/
|
|
3494
|
-
utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
3495
|
-
]>;
|
|
2947
|
+
utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, []>;
|
|
3496
2948
|
};
|
|
3497
2949
|
blockRewards: {
|
|
3498
2950
|
/**
|
|
@@ -3512,9 +2964,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3512
2964
|
/**
|
|
3513
2965
|
* Historical payouts by block number
|
|
3514
2966
|
**/
|
|
3515
|
-
payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [
|
|
3516
|
-
u32
|
|
3517
|
-
]>;
|
|
2967
|
+
payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [u32]>;
|
|
3518
2968
|
};
|
|
3519
2969
|
blockSeal: {
|
|
3520
2970
|
/**
|
|
@@ -3526,8 +2976,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3526
2976
|
* Is the block from a vote seal?
|
|
3527
2977
|
**/
|
|
3528
2978
|
isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3529
|
-
lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, [
|
|
3530
|
-
]>;
|
|
2979
|
+
lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, []>;
|
|
3531
2980
|
lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
3532
2981
|
/**
|
|
3533
2982
|
* The calculated parent voting key for a block. Refers to the Notebook BlockVote Revealed
|
|
@@ -3537,8 +2986,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3537
2986
|
/**
|
|
3538
2987
|
* Ensures only a single inherent is applied
|
|
3539
2988
|
**/
|
|
3540
|
-
tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, [
|
|
3541
|
-
]>;
|
|
2989
|
+
tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, []>;
|
|
3542
2990
|
/**
|
|
3543
2991
|
* The count of votes in the last 3 ticks
|
|
3544
2992
|
**/
|
|
@@ -3573,56 +3021,39 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3573
3021
|
/**
|
|
3574
3022
|
* Temporary store the vote digest
|
|
3575
3023
|
**/
|
|
3576
|
-
tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, [
|
|
3577
|
-
]>;
|
|
3024
|
+
tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, []>;
|
|
3578
3025
|
/**
|
|
3579
3026
|
* Temporary store of any current tick notebooks included in this block (vs tick)
|
|
3580
3027
|
**/
|
|
3581
|
-
tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, [
|
|
3582
|
-
]>;
|
|
3028
|
+
tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, []>;
|
|
3583
3029
|
/**
|
|
3584
3030
|
* Keeps the last 3 vote minimums. The first one applies to the current block.
|
|
3585
3031
|
**/
|
|
3586
3032
|
voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
|
|
3587
3033
|
};
|
|
3588
3034
|
chainTransfer: {
|
|
3589
|
-
expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
3590
|
-
u32,
|
|
3591
|
-
u64
|
|
3592
|
-
]>;
|
|
3035
|
+
expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32, u64]>;
|
|
3593
3036
|
/**
|
|
3594
3037
|
* The admin of the hyperbridge token gateway
|
|
3595
3038
|
**/
|
|
3596
3039
|
hyperbridgeTokenAdmin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
3597
3040
|
nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
3598
|
-
pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChainTransferQueuedTransferOut>>, [
|
|
3599
|
-
|
|
3600
|
-
]>;
|
|
3601
|
-
transfersUsedInBlockNotebooks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u32]>>>, [
|
|
3602
|
-
u32
|
|
3603
|
-
]>;
|
|
3041
|
+
pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChainTransferQueuedTransferOut>>, [u32]>;
|
|
3042
|
+
transfersUsedInBlockNotebooks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u32]>>>, [u32]>;
|
|
3604
3043
|
};
|
|
3605
3044
|
digests: {
|
|
3606
|
-
tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, [
|
|
3607
|
-
]>;
|
|
3045
|
+
tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, []>;
|
|
3608
3046
|
};
|
|
3609
3047
|
domains: {
|
|
3610
|
-
expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
3611
|
-
|
|
3612
|
-
]>;
|
|
3613
|
-
registeredDomains: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>, [
|
|
3614
|
-
H256
|
|
3615
|
-
]>;
|
|
3616
|
-
zoneRecordsByDomain: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>, [
|
|
3617
|
-
H256
|
|
3618
|
-
]>;
|
|
3048
|
+
expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
|
|
3049
|
+
registeredDomains: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>, [H256]>;
|
|
3050
|
+
zoneRecordsByDomain: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>, [H256]>;
|
|
3619
3051
|
};
|
|
3620
3052
|
grandpa: {
|
|
3621
3053
|
/**
|
|
3622
3054
|
* The current list of authorities.
|
|
3623
3055
|
**/
|
|
3624
|
-
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, [
|
|
3625
|
-
]>;
|
|
3056
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []>;
|
|
3626
3057
|
/**
|
|
3627
3058
|
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
3628
3059
|
* in the "set" of Grandpa validators from genesis.
|
|
@@ -3635,8 +3066,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3635
3066
|
/**
|
|
3636
3067
|
* Pending change: (signaled at, scheduled change).
|
|
3637
3068
|
**/
|
|
3638
|
-
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
|
|
3639
|
-
]>;
|
|
3069
|
+
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, []>;
|
|
3640
3070
|
/**
|
|
3641
3071
|
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
3642
3072
|
* members were responsible.
|
|
@@ -3649,9 +3079,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3649
3079
|
*
|
|
3650
3080
|
* TWOX-NOTE: `SetId` is not under user control.
|
|
3651
3081
|
**/
|
|
3652
|
-
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
3653
|
-
u64
|
|
3654
|
-
]>;
|
|
3082
|
+
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]>;
|
|
3655
3083
|
/**
|
|
3656
3084
|
* `true` if we are currently stalled.
|
|
3657
3085
|
**/
|
|
@@ -3665,8 +3093,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3665
3093
|
/**
|
|
3666
3094
|
* The host parameters of the pallet-hyperbridge.
|
|
3667
3095
|
**/
|
|
3668
|
-
hostParams: AugmentedQuery<ApiType, () => Observable<PalletHyperbridgeVersionedHostParams>, [
|
|
3669
|
-
]>;
|
|
3096
|
+
hostParams: AugmentedQuery<ApiType, () => Observable<PalletHyperbridgeVersionedHostParams>, []>;
|
|
3670
3097
|
};
|
|
3671
3098
|
ismp: {
|
|
3672
3099
|
/**
|
|
@@ -3675,9 +3102,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3675
3102
|
challengePeriod: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
|
|
3676
3103
|
stateId?: any;
|
|
3677
3104
|
consensusStateId?: any;
|
|
3678
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3679
|
-
IsmpConsensusStateMachineId
|
|
3680
|
-
]>;
|
|
3105
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [IsmpConsensusStateMachineId]>;
|
|
3681
3106
|
/**
|
|
3682
3107
|
* The child trie root of messages
|
|
3683
3108
|
**/
|
|
@@ -3686,37 +3111,27 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3686
3111
|
* Holds the timestamp at which a consensus client was recently updated.
|
|
3687
3112
|
* Used in ensuring that the configured challenge period elapses.
|
|
3688
3113
|
**/
|
|
3689
|
-
consensusClientUpdateTime: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3690
|
-
U8aFixed
|
|
3691
|
-
]>;
|
|
3114
|
+
consensusClientUpdateTime: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [U8aFixed]>;
|
|
3692
3115
|
/**
|
|
3693
3116
|
* A mapping of consensus state identifier to it's associated consensus client identifier
|
|
3694
3117
|
**/
|
|
3695
|
-
consensusStateClient: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<U8aFixed>>, [
|
|
3696
|
-
U8aFixed
|
|
3697
|
-
]>;
|
|
3118
|
+
consensusStateClient: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<U8aFixed>>, [U8aFixed]>;
|
|
3698
3119
|
/**
|
|
3699
3120
|
* Holds a map of consensus state identifiers to their consensus state.
|
|
3700
3121
|
**/
|
|
3701
|
-
consensusStates: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
3702
|
-
U8aFixed
|
|
3703
|
-
]>;
|
|
3122
|
+
consensusStates: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [U8aFixed]>;
|
|
3704
3123
|
/**
|
|
3705
3124
|
* Holds a map of consensus clients frozen due to byzantine
|
|
3706
3125
|
* behaviour
|
|
3707
3126
|
**/
|
|
3708
|
-
frozenConsensusClients: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<bool>, [
|
|
3709
|
-
U8aFixed
|
|
3710
|
-
]>;
|
|
3127
|
+
frozenConsensusClients: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<bool>, [U8aFixed]>;
|
|
3711
3128
|
/**
|
|
3712
3129
|
* The latest verified height for a state machine
|
|
3713
3130
|
**/
|
|
3714
3131
|
latestStateMachineHeight: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
|
|
3715
3132
|
stateId?: any;
|
|
3716
3133
|
consensusStateId?: any;
|
|
3717
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3718
|
-
IsmpConsensusStateMachineId
|
|
3719
|
-
]>;
|
|
3134
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [IsmpConsensusStateMachineId]>;
|
|
3720
3135
|
/**
|
|
3721
3136
|
* Latest nonce for messages sent from this chain
|
|
3722
3137
|
**/
|
|
@@ -3727,16 +3142,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3727
3142
|
previousStateMachineHeight: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
|
|
3728
3143
|
stateId?: any;
|
|
3729
3144
|
consensusStateId?: any;
|
|
3730
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3731
|
-
IsmpConsensusStateMachineId
|
|
3732
|
-
]>;
|
|
3145
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [IsmpConsensusStateMachineId]>;
|
|
3733
3146
|
/**
|
|
3734
3147
|
* Tracks requests that have been responded to
|
|
3735
3148
|
* The key is the request commitment
|
|
3736
3149
|
**/
|
|
3737
|
-
responded: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [
|
|
3738
|
-
H256
|
|
3739
|
-
]>;
|
|
3150
|
+
responded: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [H256]>;
|
|
3740
3151
|
/**
|
|
3741
3152
|
* Holds a map of state machine heights to their verified state commitments. These state
|
|
3742
3153
|
* commitments end up here after they are successfully verified by a `ConsensusClient`
|
|
@@ -3744,9 +3155,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3744
3155
|
stateCommitments: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
|
|
3745
3156
|
id?: any;
|
|
3746
3157
|
height?: any;
|
|
3747
|
-
} | string | Uint8Array) => Observable<Option<IsmpConsensusStateCommitment>>, [
|
|
3748
|
-
IsmpConsensusStateMachineHeight
|
|
3749
|
-
]>;
|
|
3158
|
+
} | string | Uint8Array) => Observable<Option<IsmpConsensusStateCommitment>>, [IsmpConsensusStateMachineHeight]>;
|
|
3750
3159
|
/**
|
|
3751
3160
|
* Holds the timestamp at which a state machine height was updated.
|
|
3752
3161
|
* Used in ensuring that the configured challenge period elapses.
|
|
@@ -3754,15 +3163,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3754
3163
|
stateMachineUpdateTime: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
|
|
3755
3164
|
id?: any;
|
|
3756
3165
|
height?: any;
|
|
3757
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3758
|
-
IsmpConsensusStateMachineHeight
|
|
3759
|
-
]>;
|
|
3166
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [IsmpConsensusStateMachineHeight]>;
|
|
3760
3167
|
/**
|
|
3761
3168
|
* A mapping of consensus state identifiers to their unbonding periods
|
|
3762
3169
|
**/
|
|
3763
|
-
unbondingPeriod: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3764
|
-
U8aFixed
|
|
3765
|
-
]>;
|
|
3170
|
+
unbondingPeriod: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [U8aFixed]>;
|
|
3766
3171
|
};
|
|
3767
3172
|
ismpGrandpa: {
|
|
3768
3173
|
/**
|
|
@@ -3780,44 +3185,34 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3780
3185
|
Tendermint: any;
|
|
3781
3186
|
} | {
|
|
3782
3187
|
Relay: any;
|
|
3783
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
3784
|
-
IsmpHostStateMachine
|
|
3785
|
-
]>;
|
|
3188
|
+
} | string | Uint8Array) => Observable<Option<u64>>, [IsmpHostStateMachine]>;
|
|
3786
3189
|
};
|
|
3787
3190
|
liquidityPools: {
|
|
3788
3191
|
/**
|
|
3789
3192
|
* The liquidity pool for the current frame. This correlates with the bids coming in for the
|
|
3790
3193
|
* current frame. Sorted with the biggest share last. (current frame + 1)
|
|
3791
3194
|
**/
|
|
3792
|
-
capitalActive: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
|
|
3793
|
-
]>;
|
|
3195
|
+
capitalActive: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, []>;
|
|
3794
3196
|
/**
|
|
3795
3197
|
* The liquidity pool still raising capital. (current frame + 2)
|
|
3796
3198
|
**/
|
|
3797
|
-
capitalRaising: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, [
|
|
3798
|
-
]>;
|
|
3199
|
+
capitalRaising: AugmentedQuery<ApiType, () => Observable<Vec<PalletLiquidityPoolsLiquidityPoolCapital>>, []>;
|
|
3799
3200
|
/**
|
|
3800
3201
|
* Any vaults that have been pre-registered for bonding argons. This is used by the vault
|
|
3801
3202
|
* operator to allocate argons to be bonded once bitcoins are securitized in their vault.
|
|
3802
3203
|
**/
|
|
3803
|
-
prebondedByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletLiquidityPoolsPrebondedArgons>>, [
|
|
3804
|
-
u32
|
|
3805
|
-
]>;
|
|
3204
|
+
prebondedByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletLiquidityPoolsPrebondedArgons>>, [u32]>;
|
|
3806
3205
|
/**
|
|
3807
3206
|
* The currently earning contributors for the current epoch's bond funds. Sorted by highest
|
|
3808
3207
|
* bids first
|
|
3809
3208
|
**/
|
|
3810
|
-
vaultPoolsByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, PalletLiquidityPoolsLiquidityPool>>, [
|
|
3811
|
-
u64
|
|
3812
|
-
]>;
|
|
3209
|
+
vaultPoolsByFrame: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, PalletLiquidityPoolsLiquidityPool>>, [u64]>;
|
|
3813
3210
|
};
|
|
3814
3211
|
miningSlot: {
|
|
3815
3212
|
/**
|
|
3816
3213
|
* Lookup by account id to the corresponding index in MinersByCohort and MinerXorKeysByCohort
|
|
3817
3214
|
**/
|
|
3818
|
-
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [
|
|
3819
|
-
AccountId32
|
|
3820
|
-
]>;
|
|
3215
|
+
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [AccountId32]>;
|
|
3821
3216
|
activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
|
|
3822
3217
|
/**
|
|
3823
3218
|
* Argonots that must be locked to take a Miner role
|
|
@@ -3831,8 +3226,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3831
3226
|
* The cohort set to go into effect in the next slot. The Vec has all
|
|
3832
3227
|
* registrants with their bid amount
|
|
3833
3228
|
**/
|
|
3834
|
-
bidsForNextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
3835
|
-
]>;
|
|
3229
|
+
bidsForNextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, []>;
|
|
3836
3230
|
/**
|
|
3837
3231
|
* Did this block activate a new frame
|
|
3838
3232
|
**/
|
|
@@ -3845,8 +3239,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3845
3239
|
/**
|
|
3846
3240
|
* The number of bids per slot for the last 10 slots (newest first)
|
|
3847
3241
|
**/
|
|
3848
|
-
historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, [
|
|
3849
|
-
]>;
|
|
3242
|
+
historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, []>;
|
|
3850
3243
|
/**
|
|
3851
3244
|
* Is the next slot still open for bids
|
|
3852
3245
|
**/
|
|
@@ -3854,9 +3247,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3854
3247
|
/**
|
|
3855
3248
|
* Miners that are active in the current block (post initialize) by their starting frame
|
|
3856
3249
|
**/
|
|
3857
|
-
minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
3858
|
-
u64
|
|
3859
|
-
]>;
|
|
3250
|
+
minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [u64]>;
|
|
3860
3251
|
/**
|
|
3861
3252
|
* This is a lookup of each miner's XOR key to use. It's a blake2 256 hash of the miner account
|
|
3862
3253
|
* id and the block hash at time of activation.
|
|
@@ -3865,8 +3256,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3865
3256
|
/**
|
|
3866
3257
|
* The mining slot configuration set in genesis
|
|
3867
3258
|
**/
|
|
3868
|
-
miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, [
|
|
3869
|
-
]>;
|
|
3259
|
+
miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, []>;
|
|
3870
3260
|
/**
|
|
3871
3261
|
* The number of allow miners to bid for the next mining cohort
|
|
3872
3262
|
**/
|
|
@@ -3879,12 +3269,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3879
3269
|
/**
|
|
3880
3270
|
* The miners released in the last block (only kept for a single block)
|
|
3881
3271
|
**/
|
|
3882
|
-
releasedMinersByAccountId: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
3883
|
-
]>;
|
|
3272
|
+
releasedMinersByAccountId: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>, []>;
|
|
3884
3273
|
};
|
|
3885
3274
|
mint: {
|
|
3886
|
-
blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, [
|
|
3887
|
-
]>;
|
|
3275
|
+
blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, []>;
|
|
3888
3276
|
/**
|
|
3889
3277
|
* The amount of argons minted per mining cohort (ie, grouped by starting frame id)
|
|
3890
3278
|
**/
|
|
@@ -3902,37 +3290,24 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3902
3290
|
* a) CPI >= 0 and
|
|
3903
3291
|
* b) the aggregate minted Bitcoins <= the aggregate minted Argons from mining
|
|
3904
3292
|
**/
|
|
3905
|
-
pendingMintUtxos: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>, [
|
|
3906
|
-
]>;
|
|
3293
|
+
pendingMintUtxos: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>, []>;
|
|
3907
3294
|
};
|
|
3908
3295
|
multisig: {
|
|
3909
3296
|
/**
|
|
3910
3297
|
* The set of open multisig operations.
|
|
3911
3298
|
**/
|
|
3912
|
-
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [
|
|
3913
|
-
AccountId32,
|
|
3914
|
-
U8aFixed
|
|
3915
|
-
]>;
|
|
3299
|
+
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]>;
|
|
3916
3300
|
};
|
|
3917
3301
|
notaries: {
|
|
3918
|
-
activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, [
|
|
3919
|
-
]>;
|
|
3920
|
-
expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [
|
|
3921
|
-
u32
|
|
3922
|
-
]>;
|
|
3302
|
+
activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, []>;
|
|
3303
|
+
expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [u32]>;
|
|
3923
3304
|
nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
3924
|
-
notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [
|
|
3925
|
-
|
|
3926
|
-
]>;
|
|
3927
|
-
proposedNotaries: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>, [
|
|
3928
|
-
AccountId32
|
|
3929
|
-
]>;
|
|
3305
|
+
notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [u32]>;
|
|
3306
|
+
proposedNotaries: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>, [AccountId32]>;
|
|
3930
3307
|
/**
|
|
3931
3308
|
* Metadata changes to be activated at the given tick
|
|
3932
3309
|
**/
|
|
3933
|
-
queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [
|
|
3934
|
-
u64
|
|
3935
|
-
]>;
|
|
3310
|
+
queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [u64]>;
|
|
3936
3311
|
};
|
|
3937
3312
|
notebook: {
|
|
3938
3313
|
/**
|
|
@@ -3943,15 +3318,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3943
3318
|
accountOriginLastChangedNotebookByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ArgonPrimitivesBalanceChangeAccountOrigin | {
|
|
3944
3319
|
notebookNumber?: any;
|
|
3945
3320
|
accountUid?: any;
|
|
3946
|
-
} | string | Uint8Array) => Observable<Option<u32>>, [
|
|
3947
|
-
u32,
|
|
3948
|
-
ArgonPrimitivesBalanceChangeAccountOrigin
|
|
3949
|
-
]>;
|
|
3321
|
+
} | string | Uint8Array) => Observable<Option<u32>>, [u32, ArgonPrimitivesBalanceChangeAccountOrigin]>;
|
|
3950
3322
|
/**
|
|
3951
3323
|
* The notebooks included in this block
|
|
3952
3324
|
**/
|
|
3953
|
-
blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, [
|
|
3954
|
-
]>;
|
|
3325
|
+
blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, []>;
|
|
3955
3326
|
/**
|
|
3956
3327
|
* Check if the inherent was included
|
|
3957
3328
|
**/
|
|
@@ -3960,28 +3331,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3960
3331
|
* List of last few notebook details by notary. The bool is whether the notebook is eligible
|
|
3961
3332
|
* for votes (received at correct tick and audit passed)
|
|
3962
3333
|
**/
|
|
3963
|
-
lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [
|
|
3964
|
-
u32
|
|
3965
|
-
]>;
|
|
3334
|
+
lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [u32]>;
|
|
3966
3335
|
/**
|
|
3967
3336
|
* Notaries ready to start reprocessing at a given notebook number
|
|
3968
3337
|
**/
|
|
3969
|
-
lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
3970
|
-
u32
|
|
3971
|
-
]>;
|
|
3338
|
+
lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]>;
|
|
3972
3339
|
/**
|
|
3973
3340
|
* Notaries locked for failing audits
|
|
3974
3341
|
**/
|
|
3975
|
-
notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [
|
|
3976
|
-
u32
|
|
3977
|
-
]>;
|
|
3342
|
+
notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [u32]>;
|
|
3978
3343
|
/**
|
|
3979
3344
|
* Double storage map of notary id + notebook # to the change root
|
|
3980
3345
|
**/
|
|
3981
|
-
notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
3982
|
-
u32,
|
|
3983
|
-
u32
|
|
3984
|
-
]>;
|
|
3346
|
+
notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32, u32]>;
|
|
3985
3347
|
};
|
|
3986
3348
|
ownership: {
|
|
3987
3349
|
/**
|
|
@@ -4010,21 +3372,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4010
3372
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
4011
3373
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
4012
3374
|
**/
|
|
4013
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
4014
|
-
AccountId32
|
|
4015
|
-
]>;
|
|
3375
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]>;
|
|
4016
3376
|
/**
|
|
4017
3377
|
* Freeze locks on account balances.
|
|
4018
3378
|
**/
|
|
4019
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
4020
|
-
AccountId32
|
|
4021
|
-
]>;
|
|
3379
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]>;
|
|
4022
3380
|
/**
|
|
4023
3381
|
* Holds on account balances.
|
|
4024
3382
|
**/
|
|
4025
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
4026
|
-
AccountId32
|
|
4027
|
-
]>;
|
|
3383
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]>;
|
|
4028
3384
|
/**
|
|
4029
3385
|
* The total units of outstanding deactivated balance in the system.
|
|
4030
3386
|
**/
|
|
@@ -4035,17 +3391,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4035
3391
|
*
|
|
4036
3392
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
4037
3393
|
**/
|
|
4038
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
4039
|
-
AccountId32
|
|
4040
|
-
]>;
|
|
3394
|
+
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]>;
|
|
4041
3395
|
/**
|
|
4042
3396
|
* Named reserves on some account balances.
|
|
4043
3397
|
*
|
|
4044
3398
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
4045
3399
|
**/
|
|
4046
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
4047
|
-
AccountId32
|
|
4048
|
-
]>;
|
|
3400
|
+
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]>;
|
|
4049
3401
|
/**
|
|
4050
3402
|
* The total units issued in the system.
|
|
4051
3403
|
**/
|
|
@@ -4065,16 +3417,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4065
3417
|
/**
|
|
4066
3418
|
* The announcements made by the proxy (key).
|
|
4067
3419
|
**/
|
|
4068
|
-
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [
|
|
4069
|
-
AccountId32
|
|
4070
|
-
]>;
|
|
3420
|
+
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]>;
|
|
4071
3421
|
/**
|
|
4072
3422
|
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
4073
3423
|
* which are being delegated to, together with the amount held on deposit.
|
|
4074
3424
|
**/
|
|
4075
|
-
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [
|
|
4076
|
-
AccountId32
|
|
4077
|
-
]>;
|
|
3425
|
+
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]>;
|
|
4078
3426
|
};
|
|
4079
3427
|
sudo: {
|
|
4080
3428
|
/**
|
|
@@ -4086,9 +3434,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4086
3434
|
/**
|
|
4087
3435
|
* The full account information for a particular account ID.
|
|
4088
3436
|
**/
|
|
4089
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
|
|
4090
|
-
AccountId32
|
|
4091
|
-
]>;
|
|
3437
|
+
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]>;
|
|
4092
3438
|
/**
|
|
4093
3439
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
4094
3440
|
**/
|
|
@@ -4096,19 +3442,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4096
3442
|
/**
|
|
4097
3443
|
* `Some` if a code upgrade has been authorized.
|
|
4098
3444
|
**/
|
|
4099
|
-
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
|
|
4100
|
-
]>;
|
|
3445
|
+
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []>;
|
|
4101
3446
|
/**
|
|
4102
3447
|
* Map of block numbers to block hashes.
|
|
4103
3448
|
**/
|
|
4104
|
-
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
4105
|
-
u32
|
|
4106
|
-
]>;
|
|
3449
|
+
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]>;
|
|
4107
3450
|
/**
|
|
4108
3451
|
* The current weight for the block.
|
|
4109
3452
|
**/
|
|
4110
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
|
|
4111
|
-
]>;
|
|
3453
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []>;
|
|
4112
3454
|
/**
|
|
4113
3455
|
* Digest of the current block, also part of the block header.
|
|
4114
3456
|
**/
|
|
@@ -4139,9 +3481,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4139
3481
|
* the `EventIndex` then in case if the topic has the same contents on the next block
|
|
4140
3482
|
* no notification will be triggered thus the event might be lost.
|
|
4141
3483
|
**/
|
|
4142
|
-
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
|
|
4143
|
-
H256
|
|
4144
|
-
]>;
|
|
3484
|
+
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]>;
|
|
4145
3485
|
/**
|
|
4146
3486
|
* The execution phase of the block.
|
|
4147
3487
|
**/
|
|
@@ -4153,9 +3493,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4153
3493
|
/**
|
|
4154
3494
|
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
4155
3495
|
**/
|
|
4156
|
-
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
|
|
4157
|
-
u32
|
|
4158
|
-
]>;
|
|
3496
|
+
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]>;
|
|
4159
3497
|
/**
|
|
4160
3498
|
* The weight reclaimed for the extrinsic.
|
|
4161
3499
|
*
|
|
@@ -4165,8 +3503,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4165
3503
|
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
|
4166
3504
|
* reduction.
|
|
4167
3505
|
**/
|
|
4168
|
-
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, [
|
|
4169
|
-
]>;
|
|
3506
|
+
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []>;
|
|
4170
3507
|
/**
|
|
4171
3508
|
* Whether all inherents have been applied.
|
|
4172
3509
|
**/
|
|
@@ -4174,8 +3511,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4174
3511
|
/**
|
|
4175
3512
|
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
4176
3513
|
**/
|
|
4177
|
-
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
|
|
4178
|
-
]>;
|
|
3514
|
+
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []>;
|
|
4179
3515
|
/**
|
|
4180
3516
|
* The current block number being processed. Set by `execute_block`.
|
|
4181
3517
|
**/
|
|
@@ -4203,9 +3539,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4203
3539
|
* Blocks from the last 100 ticks. Trimmed in on_initialize.
|
|
4204
3540
|
* NOTE: cannot include the current block hash until next block
|
|
4205
3541
|
**/
|
|
4206
|
-
recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
4207
|
-
u64
|
|
4208
|
-
]>;
|
|
3542
|
+
recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [u64]>;
|
|
4209
3543
|
};
|
|
4210
3544
|
timestamp: {
|
|
4211
3545
|
/**
|
|
@@ -4225,15 +3559,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4225
3559
|
* Assets supported by this instance of token gateway
|
|
4226
3560
|
* A map of the token gateway asset id to the local asset id
|
|
4227
3561
|
**/
|
|
4228
|
-
localAssets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
4229
|
-
H256
|
|
4230
|
-
]>;
|
|
3562
|
+
localAssets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [H256]>;
|
|
4231
3563
|
/**
|
|
4232
3564
|
* Assets that originate from this chain
|
|
4233
3565
|
**/
|
|
4234
|
-
nativeAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
4235
|
-
u32
|
|
4236
|
-
]>;
|
|
3566
|
+
nativeAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]>;
|
|
4237
3567
|
/**
|
|
4238
3568
|
* The decimals used by the EVM counterpart of this asset
|
|
4239
3569
|
**/
|
|
@@ -4249,17 +3579,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4249
3579
|
Tendermint: any;
|
|
4250
3580
|
} | {
|
|
4251
3581
|
Relay: any;
|
|
4252
|
-
} | string | Uint8Array) => Observable<Option<u8>>, [
|
|
4253
|
-
u32,
|
|
4254
|
-
IsmpHostStateMachine
|
|
4255
|
-
]>;
|
|
3582
|
+
} | string | Uint8Array) => Observable<Option<u8>>, [u32, IsmpHostStateMachine]>;
|
|
4256
3583
|
/**
|
|
4257
3584
|
* Assets supported by this instance of token gateway
|
|
4258
3585
|
* A map of the local asset id to the token gateway asset id
|
|
4259
3586
|
**/
|
|
4260
|
-
supportedAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
4261
|
-
u32
|
|
4262
|
-
]>;
|
|
3587
|
+
supportedAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u32]>;
|
|
4263
3588
|
/**
|
|
4264
3589
|
* The token gateway adresses on different chains
|
|
4265
3590
|
**/
|
|
@@ -4275,70 +3600,55 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4275
3600
|
Tendermint: any;
|
|
4276
3601
|
} | {
|
|
4277
3602
|
Relay: any;
|
|
4278
|
-
} | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
4279
|
-
IsmpHostStateMachine
|
|
4280
|
-
]>;
|
|
3603
|
+
} | string | Uint8Array) => Observable<Option<Bytes>>, [IsmpHostStateMachine]>;
|
|
4281
3604
|
};
|
|
4282
3605
|
transactionPayment: {
|
|
4283
3606
|
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
4284
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
|
|
4285
|
-
]>;
|
|
3607
|
+
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []>;
|
|
4286
3608
|
};
|
|
4287
3609
|
txPause: {
|
|
4288
3610
|
/**
|
|
4289
3611
|
* The set of calls that are explicitly paused.
|
|
4290
3612
|
**/
|
|
4291
|
-
pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [
|
|
4292
|
-
ITuple<[Bytes, Bytes]>
|
|
4293
|
-
]>;
|
|
3613
|
+
pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [ITuple<[Bytes, Bytes]>]>;
|
|
4294
3614
|
};
|
|
4295
3615
|
vaults: {
|
|
4296
3616
|
/**
|
|
4297
3617
|
* The last collect frame of each vault
|
|
4298
3618
|
**/
|
|
4299
|
-
lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
4300
|
-
u32
|
|
4301
|
-
]>;
|
|
3619
|
+
lastCollectFrameByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]>;
|
|
4302
3620
|
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
4303
3621
|
/**
|
|
4304
3622
|
* Bitcoin Locks pending cosign by vault id
|
|
4305
3623
|
**/
|
|
4306
|
-
pendingCosignByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [
|
|
4307
|
-
u32
|
|
4308
|
-
]>;
|
|
3624
|
+
pendingCosignByVaultId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<u64>>, [u32]>;
|
|
4309
3625
|
/**
|
|
4310
3626
|
* Pending terms that will be committed at the given block number (must be a minimum of 1 slot
|
|
4311
3627
|
* change away)
|
|
4312
3628
|
**/
|
|
4313
|
-
pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
4314
|
-
u64
|
|
4315
|
-
]>;
|
|
3629
|
+
pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u64]>;
|
|
4316
3630
|
/**
|
|
4317
3631
|
* Tracks revenue from Bitcoin Locks and Liquidity Pools for the trailing frames for each vault
|
|
4318
3632
|
* (a frame is a "mining day" in Argon). Newest frames are first. Frames are removed after the
|
|
4319
3633
|
* collect expiration window (`RevenueCollectionExpirationFrames`).
|
|
4320
3634
|
**/
|
|
4321
|
-
revenuePerFrameByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>, [
|
|
4322
|
-
u32
|
|
4323
|
-
]>;
|
|
3635
|
+
revenuePerFrameByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>, [u32]>;
|
|
4324
3636
|
/**
|
|
4325
3637
|
* The vaults that have funds releasing at a given bitcoin height
|
|
4326
3638
|
**/
|
|
4327
|
-
vaultFundsReleasingByHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [
|
|
4328
|
-
|
|
4329
|
-
|
|
3639
|
+
vaultFundsReleasingByHeight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeSet<u32>>, [u64]>;
|
|
3640
|
+
/**
|
|
3641
|
+
* Vaults by owner
|
|
3642
|
+
**/
|
|
3643
|
+
vaultIdByOperator: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]>;
|
|
4330
3644
|
/**
|
|
4331
3645
|
* Vaults by id
|
|
4332
3646
|
**/
|
|
4333
|
-
vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [
|
|
4334
|
-
u32
|
|
4335
|
-
]>;
|
|
3647
|
+
vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [u32]>;
|
|
4336
3648
|
/**
|
|
4337
3649
|
* Vault Bitcoin Xpub and current child counter by VaultId
|
|
4338
3650
|
**/
|
|
4339
|
-
vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [
|
|
4340
|
-
u32
|
|
4341
|
-
]>;
|
|
3651
|
+
vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [u32]>;
|
|
4342
3652
|
};
|
|
4343
3653
|
}
|
|
4344
3654
|
}
|
|
@@ -4355,10 +3665,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4355
3665
|
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
4356
3666
|
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
4357
3667
|
**/
|
|
4358
|
-
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4359
|
-
Compact<u128>,
|
|
4360
|
-
bool
|
|
4361
|
-
]>;
|
|
3668
|
+
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
|
4362
3669
|
/**
|
|
4363
3670
|
* Adjust the total issuance in a saturating way.
|
|
4364
3671
|
*
|
|
@@ -4366,10 +3673,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4366
3673
|
*
|
|
4367
3674
|
* # Example
|
|
4368
3675
|
**/
|
|
4369
|
-
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4370
|
-
PalletBalancesAdjustmentDirection,
|
|
4371
|
-
Compact<u128>
|
|
4372
|
-
]>;
|
|
3676
|
+
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
|
4373
3677
|
/**
|
|
4374
3678
|
* Set the regular balance of a given account.
|
|
4375
3679
|
*
|
|
@@ -4385,10 +3689,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4385
3689
|
Address32: any;
|
|
4386
3690
|
} | {
|
|
4387
3691
|
Address20: any;
|
|
4388
|
-
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4389
|
-
MultiAddress,
|
|
4390
|
-
Compact<u128>
|
|
4391
|
-
]>;
|
|
3692
|
+
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
4392
3693
|
/**
|
|
4393
3694
|
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
4394
3695
|
* may be specified.
|
|
@@ -4413,11 +3714,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4413
3714
|
Address32: any;
|
|
4414
3715
|
} | {
|
|
4415
3716
|
Address20: any;
|
|
4416
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4417
|
-
MultiAddress,
|
|
4418
|
-
MultiAddress,
|
|
4419
|
-
Compact<u128>
|
|
4420
|
-
]>;
|
|
3717
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
|
4421
3718
|
/**
|
|
4422
3719
|
* Unreserve some balance from a user by force.
|
|
4423
3720
|
*
|
|
@@ -4433,10 +3730,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4433
3730
|
Address32: any;
|
|
4434
3731
|
} | {
|
|
4435
3732
|
Address20: any;
|
|
4436
|
-
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4437
|
-
MultiAddress,
|
|
4438
|
-
u128
|
|
4439
|
-
]>;
|
|
3733
|
+
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
4440
3734
|
/**
|
|
4441
3735
|
* Transfer the entire transferable balance from the caller account.
|
|
4442
3736
|
*
|
|
@@ -4464,10 +3758,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4464
3758
|
Address32: any;
|
|
4465
3759
|
} | {
|
|
4466
3760
|
Address20: any;
|
|
4467
|
-
} | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4468
|
-
MultiAddress,
|
|
4469
|
-
bool
|
|
4470
|
-
]>;
|
|
3761
|
+
} | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
4471
3762
|
/**
|
|
4472
3763
|
* Transfer some liquid free balance to another account.
|
|
4473
3764
|
*
|
|
@@ -4487,10 +3778,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4487
3778
|
Address32: any;
|
|
4488
3779
|
} | {
|
|
4489
3780
|
Address20: any;
|
|
4490
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4491
|
-
MultiAddress,
|
|
4492
|
-
Compact<u128>
|
|
4493
|
-
]>;
|
|
3781
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
4494
3782
|
/**
|
|
4495
3783
|
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
4496
3784
|
* kill the origin account.
|
|
@@ -4509,10 +3797,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4509
3797
|
Address32: any;
|
|
4510
3798
|
} | {
|
|
4511
3799
|
Address20: any;
|
|
4512
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4513
|
-
MultiAddress,
|
|
4514
|
-
Compact<u128>
|
|
4515
|
-
]>;
|
|
3800
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
4516
3801
|
/**
|
|
4517
3802
|
* Upgrade a specified account.
|
|
4518
3803
|
*
|
|
@@ -4523,14 +3808,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4523
3808
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
4524
3809
|
* possibility of churn).
|
|
4525
3810
|
**/
|
|
4526
|
-
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4527
|
-
Vec<AccountId32>
|
|
4528
|
-
]>;
|
|
3811
|
+
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
4529
3812
|
};
|
|
4530
3813
|
bitcoinLocks: {
|
|
4531
|
-
adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4532
|
-
u64
|
|
4533
|
-
]>;
|
|
3814
|
+
adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
4534
3815
|
/**
|
|
4535
3816
|
* Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
|
|
4536
3817
|
* release fee will be burned, and the lock will be allowed to expire without a penalty.
|
|
@@ -4538,10 +3819,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4538
3819
|
* This is submitted as a no-fee transaction off chain to allow keys to remain in cold
|
|
4539
3820
|
* wallets.
|
|
4540
3821
|
**/
|
|
4541
|
-
cosignRelease: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4542
|
-
u64,
|
|
4543
|
-
Bytes
|
|
4544
|
-
]>;
|
|
3822
|
+
cosignRelease: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Bytes]>;
|
|
4545
3823
|
/**
|
|
4546
3824
|
* Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
|
|
4547
3825
|
* and log the Bitcoin Script hash to Events.
|
|
@@ -4552,11 +3830,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4552
3830
|
* NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
|
|
4553
3831
|
* LockedBitcoin and be added to the Bitcoin Mint line.
|
|
4554
3832
|
**/
|
|
4555
|
-
initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4556
|
-
u32,
|
|
4557
|
-
Compact<u64>,
|
|
4558
|
-
ArgonPrimitivesBitcoinCompressedBitcoinPubkey
|
|
4559
|
-
]>;
|
|
3833
|
+
initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Compact<u64>, ArgonPrimitivesBitcoinCompressedBitcoinPubkey]>;
|
|
4560
3834
|
/**
|
|
4561
3835
|
* Ratcheting allows a user to change the lock price of their bitcoin lock. This is
|
|
4562
3836
|
* functionally the same as releasing and re-initializing, but it allows a user to skip
|
|
@@ -4573,9 +3847,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4573
3847
|
* prorated fee for the remainder of your existing lock duration. You are added to the mint
|
|
4574
3848
|
* queue for the difference in your new lock price vs the previous lock price.
|
|
4575
3849
|
**/
|
|
4576
|
-
ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4577
|
-
u64
|
|
4578
|
-
]>;
|
|
3850
|
+
ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
4579
3851
|
/**
|
|
4580
3852
|
* Submitted by a Bitcoin holder to trigger the release of their Utxo out of the cosign
|
|
4581
3853
|
* script. A transaction spending the UTXO should be pre-created so that the sighash
|
|
@@ -4584,11 +3856,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4584
3856
|
*
|
|
4585
3857
|
* Owner must submit a script pubkey and also a fee to pay to the bitcoin network.
|
|
4586
3858
|
**/
|
|
4587
|
-
requestRelease: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4588
|
-
u64,
|
|
4589
|
-
Bytes,
|
|
4590
|
-
u64
|
|
4591
|
-
]>;
|
|
3859
|
+
requestRelease: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Bytes, u64]>;
|
|
4592
3860
|
};
|
|
4593
3861
|
bitcoinUtxos: {
|
|
4594
3862
|
/**
|
|
@@ -4598,19 +3866,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4598
3866
|
* # Arguments
|
|
4599
3867
|
* * `bitcoin_height` - the latest bitcoin block height to be confirmed
|
|
4600
3868
|
**/
|
|
4601
|
-
setConfirmedBlock: AugmentedSubmittable<(bitcoinHeight: u64 | AnyNumber | Uint8Array, bitcoinBlockHash: ArgonPrimitivesBitcoinH256Le | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4602
|
-
u64,
|
|
4603
|
-
ArgonPrimitivesBitcoinH256Le
|
|
4604
|
-
]>;
|
|
3869
|
+
setConfirmedBlock: AugmentedSubmittable<(bitcoinHeight: u64 | AnyNumber | Uint8Array, bitcoinBlockHash: ArgonPrimitivesBitcoinH256Le | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinH256Le]>;
|
|
4605
3870
|
/**
|
|
4606
3871
|
* Sets the oracle operator account id (only executable by the Root account)
|
|
4607
3872
|
*
|
|
4608
3873
|
* # Arguments
|
|
4609
3874
|
* * `account_id` - the account id of the operator
|
|
4610
3875
|
**/
|
|
4611
|
-
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4612
|
-
AccountId32
|
|
4613
|
-
]>;
|
|
3876
|
+
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
4614
3877
|
/**
|
|
4615
3878
|
* Submitted when a bitcoin UTXO has been moved or confirmed
|
|
4616
3879
|
**/
|
|
@@ -4619,45 +3882,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4619
3882
|
verified?: any;
|
|
4620
3883
|
invalid?: any;
|
|
4621
3884
|
syncToBlock?: any;
|
|
4622
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4623
|
-
ArgonPrimitivesInherentsBitcoinUtxoSync
|
|
4624
|
-
]>;
|
|
3885
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBitcoinUtxoSync]>;
|
|
4625
3886
|
};
|
|
4626
3887
|
blockRewards: {
|
|
4627
|
-
setBlockRewardsPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4628
|
-
bool
|
|
4629
|
-
]>;
|
|
3888
|
+
setBlockRewardsPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
4630
3889
|
};
|
|
4631
3890
|
blockSeal: {
|
|
4632
3891
|
apply: AugmentedSubmittable<(seal: ArgonPrimitivesInherentsBlockSealInherent | {
|
|
4633
3892
|
Vote: any;
|
|
4634
3893
|
} | {
|
|
4635
3894
|
Compute: any;
|
|
4636
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4637
|
-
ArgonPrimitivesInherentsBlockSealInherent
|
|
4638
|
-
]>;
|
|
3895
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBlockSealInherent]>;
|
|
4639
3896
|
};
|
|
4640
3897
|
blockSealSpec: {
|
|
4641
|
-
configure: AugmentedSubmittable<(voteMinimum: Option<u128> | null | Uint8Array | u128 | AnyNumber, computeDifficulty: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
4642
|
-
Option<u128>,
|
|
4643
|
-
Option<u128>
|
|
4644
|
-
]>;
|
|
3898
|
+
configure: AugmentedSubmittable<(voteMinimum: Option<u128> | null | Uint8Array | u128 | AnyNumber, computeDifficulty: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>, Option<u128>]>;
|
|
4645
3899
|
};
|
|
4646
3900
|
chainTransfer: {
|
|
4647
|
-
sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4648
|
-
Compact<u128>,
|
|
4649
|
-
u32
|
|
4650
|
-
]>;
|
|
3901
|
+
sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
4651
3902
|
};
|
|
4652
3903
|
domains: {
|
|
4653
3904
|
setZoneRecord: AugmentedSubmittable<(domainHash: H256 | string | Uint8Array, zoneRecord: ArgonPrimitivesDomainZoneRecord | {
|
|
4654
3905
|
paymentAccount?: any;
|
|
4655
3906
|
notaryId?: any;
|
|
4656
3907
|
versions?: any;
|
|
4657
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4658
|
-
H256,
|
|
4659
|
-
ArgonPrimitivesDomainZoneRecord
|
|
4660
|
-
]>;
|
|
3908
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, ArgonPrimitivesDomainZoneRecord]>;
|
|
4661
3909
|
};
|
|
4662
3910
|
grandpa: {
|
|
4663
3911
|
/**
|
|
@@ -4674,10 +3922,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4674
3922
|
*
|
|
4675
3923
|
* Only callable by root.
|
|
4676
3924
|
**/
|
|
4677
|
-
noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4678
|
-
u32,
|
|
4679
|
-
u32
|
|
4680
|
-
]>;
|
|
3925
|
+
noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
4681
3926
|
/**
|
|
4682
3927
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
4683
3928
|
* equivocation proof and validate the given key ownership proof
|
|
@@ -4687,10 +3932,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4687
3932
|
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
|
|
4688
3933
|
setId?: any;
|
|
4689
3934
|
equivocation?: any;
|
|
4690
|
-
} | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [
|
|
4691
|
-
SpConsensusGrandpaEquivocationProof,
|
|
4692
|
-
SpCoreVoid
|
|
4693
|
-
]>;
|
|
3935
|
+
} | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
|
|
4694
3936
|
/**
|
|
4695
3937
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
4696
3938
|
* equivocation proof and validate the given key ownership proof
|
|
@@ -4705,10 +3947,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4705
3947
|
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
|
|
4706
3948
|
setId?: any;
|
|
4707
3949
|
equivocation?: any;
|
|
4708
|
-
} | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [
|
|
4709
|
-
SpConsensusGrandpaEquivocationProof,
|
|
4710
|
-
SpCoreVoid
|
|
4711
|
-
]>;
|
|
3950
|
+
} | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
|
|
4712
3951
|
};
|
|
4713
3952
|
ismp: {
|
|
4714
3953
|
/**
|
|
@@ -4727,9 +3966,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4727
3966
|
unbondingPeriod?: any;
|
|
4728
3967
|
challengePeriods?: any;
|
|
4729
3968
|
stateMachineCommitments?: any;
|
|
4730
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4731
|
-
IsmpMessagingCreateConsensusState
|
|
4732
|
-
]>;
|
|
3969
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [IsmpMessagingCreateConsensusState]>;
|
|
4733
3970
|
/**
|
|
4734
3971
|
* Add more funds to a message (request or response) to be used for delivery and execution.
|
|
4735
3972
|
*
|
|
@@ -4739,9 +3976,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4739
3976
|
fundMessage: AugmentedSubmittable<(message: PalletIsmpUtilsFundMessageParams | {
|
|
4740
3977
|
commitment?: any;
|
|
4741
3978
|
amount?: any;
|
|
4742
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4743
|
-
PalletIsmpUtilsFundMessageParams
|
|
4744
|
-
]>;
|
|
3979
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIsmpUtilsFundMessageParams]>;
|
|
4745
3980
|
/**
|
|
4746
3981
|
* Execute the provided batch of ISMP messages, this will short-circuit and revert if any
|
|
4747
3982
|
* of the provided messages are invalid. This is an unsigned extrinsic that permits anyone
|
|
@@ -4764,9 +3999,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4764
3999
|
Response: any;
|
|
4765
4000
|
} | {
|
|
4766
4001
|
Timeout: any;
|
|
4767
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4768
|
-
Vec<IsmpMessagingMessage>
|
|
4769
|
-
]>;
|
|
4002
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<IsmpMessagingMessage>]>;
|
|
4770
4003
|
/**
|
|
4771
4004
|
* Modify the unbonding period and challenge period for a consensus state.
|
|
4772
4005
|
* The dispatch origin for this call must be `T::AdminOrigin`.
|
|
@@ -4777,9 +4010,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4777
4010
|
consensusStateId?: any;
|
|
4778
4011
|
unbondingPeriod?: any;
|
|
4779
4012
|
challengePeriods?: any;
|
|
4780
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4781
|
-
PalletIsmpUtilsUpdateConsensusState
|
|
4782
|
-
]>;
|
|
4013
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIsmpUtilsUpdateConsensusState]>;
|
|
4783
4014
|
};
|
|
4784
4015
|
ismpGrandpa: {
|
|
4785
4016
|
/**
|
|
@@ -4788,9 +4019,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4788
4019
|
addStateMachines: AugmentedSubmittable<(newStateMachines: Vec<IsmpGrandpaAddStateMachine> | (IsmpGrandpaAddStateMachine | {
|
|
4789
4020
|
stateMachine?: any;
|
|
4790
4021
|
slotDuration?: any;
|
|
4791
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4792
|
-
Vec<IsmpGrandpaAddStateMachine>
|
|
4793
|
-
]>;
|
|
4022
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<IsmpGrandpaAddStateMachine>]>;
|
|
4794
4023
|
/**
|
|
4795
4024
|
* Remove a state machine from the list of supported state machines
|
|
4796
4025
|
**/
|
|
@@ -4806,9 +4035,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4806
4035
|
Tendermint: any;
|
|
4807
4036
|
} | {
|
|
4808
4037
|
Relay: any;
|
|
4809
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4810
|
-
Vec<IsmpHostStateMachine>
|
|
4811
|
-
]>;
|
|
4038
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<IsmpHostStateMachine>]>;
|
|
4812
4039
|
};
|
|
4813
4040
|
liquidityPools: {
|
|
4814
4041
|
/**
|
|
@@ -4824,18 +4051,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4824
4051
|
* - `amount`: The amount of argons to contribute to the fund. If you change this amount,
|
|
4825
4052
|
* it will just add the incremental amount
|
|
4826
4053
|
**/
|
|
4827
|
-
bondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4828
|
-
u32,
|
|
4829
|
-
u128
|
|
4830
|
-
]>;
|
|
4054
|
+
bondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
|
4831
4055
|
/**
|
|
4832
4056
|
* Allows a user to remove their bonded argons from the fund after the hold is released
|
|
4833
4057
|
* (once epoch starting at bonded frame is complete).
|
|
4834
4058
|
**/
|
|
4835
|
-
unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, frameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4836
|
-
u32,
|
|
4837
|
-
u64
|
|
4838
|
-
]>;
|
|
4059
|
+
unbondArgons: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, frameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u64]>;
|
|
4839
4060
|
/**
|
|
4840
4061
|
* Set the prebonded argons for a vault. This is used by the vault operator to
|
|
4841
4062
|
* pre-register funding for each frame. The total allocation will be capped per frame using
|
|
@@ -4844,10 +4065,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4844
4065
|
* NOTE: calling this a second time will ensure your max_amount_per_frame is updated.
|
|
4845
4066
|
* However, it will not reduce your allocation
|
|
4846
4067
|
**/
|
|
4847
|
-
vaultOperatorPrebond: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, maxAmountPerFrame: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4848
|
-
u32,
|
|
4849
|
-
u128
|
|
4850
|
-
]>;
|
|
4068
|
+
vaultOperatorPrebond: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, maxAmountPerFrame: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
|
4851
4069
|
};
|
|
4852
4070
|
miningSlot: {
|
|
4853
4071
|
/**
|
|
@@ -4877,18 +4095,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4877
4095
|
bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array, keys: ArgonRuntimeSessionKeys | {
|
|
4878
4096
|
grandpa?: any;
|
|
4879
4097
|
blockSealAuthority?: any;
|
|
4880
|
-
} | string | Uint8Array, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [
|
|
4881
|
-
u128,
|
|
4882
|
-
ArgonRuntimeSessionKeys,
|
|
4883
|
-
Option<AccountId32>
|
|
4884
|
-
]>;
|
|
4098
|
+
} | string | Uint8Array, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [u128, ArgonRuntimeSessionKeys, Option<AccountId32>]>;
|
|
4885
4099
|
/**
|
|
4886
4100
|
* Admin function to update the mining slot delay.
|
|
4887
4101
|
**/
|
|
4888
|
-
configureMiningSlotDelay: AugmentedSubmittable<(miningSlotDelay: Option<u64> | null | Uint8Array | u64 | AnyNumber, ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
4889
|
-
Option<u64>,
|
|
4890
|
-
Option<u64>
|
|
4891
|
-
]>;
|
|
4102
|
+
configureMiningSlotDelay: AugmentedSubmittable<(miningSlotDelay: Option<u64> | null | Uint8Array | u64 | AnyNumber, ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>, Option<u64>]>;
|
|
4892
4103
|
};
|
|
4893
4104
|
mint: {};
|
|
4894
4105
|
multisig: {
|
|
@@ -4930,13 +4141,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4930
4141
|
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
|
|
4931
4142
|
refTime?: any;
|
|
4932
4143
|
proofSize?: any;
|
|
4933
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4934
|
-
u16,
|
|
4935
|
-
Vec<AccountId32>,
|
|
4936
|
-
Option<PalletMultisigTimepoint>,
|
|
4937
|
-
U8aFixed,
|
|
4938
|
-
SpWeightsWeightV2Weight
|
|
4939
|
-
]>;
|
|
4144
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
|
|
4940
4145
|
/**
|
|
4941
4146
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
4942
4147
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -4984,13 +4189,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4984
4189
|
} | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | {
|
|
4985
4190
|
refTime?: any;
|
|
4986
4191
|
proofSize?: any;
|
|
4987
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4988
|
-
u16,
|
|
4989
|
-
Vec<AccountId32>,
|
|
4990
|
-
Option<PalletMultisigTimepoint>,
|
|
4991
|
-
Call,
|
|
4992
|
-
SpWeightsWeightV2Weight
|
|
4993
|
-
]>;
|
|
4192
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
|
|
4994
4193
|
/**
|
|
4995
4194
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
4996
4195
|
*
|
|
@@ -5005,10 +4204,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5005
4204
|
* ## Complexity
|
|
5006
4205
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
5007
4206
|
**/
|
|
5008
|
-
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5009
|
-
Vec<AccountId32>,
|
|
5010
|
-
Call
|
|
5011
|
-
]>;
|
|
4207
|
+
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
|
|
5012
4208
|
/**
|
|
5013
4209
|
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
|
5014
4210
|
* for this operation will be unreserved on success.
|
|
@@ -5035,12 +4231,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5035
4231
|
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | {
|
|
5036
4232
|
height?: any;
|
|
5037
4233
|
index?: any;
|
|
5038
|
-
} | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5039
|
-
u16,
|
|
5040
|
-
Vec<AccountId32>,
|
|
5041
|
-
PalletMultisigTimepoint,
|
|
5042
|
-
U8aFixed
|
|
5043
|
-
]>;
|
|
4234
|
+
} | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
|
|
5044
4235
|
/**
|
|
5045
4236
|
* Poke the deposit reserved for an existing multisig operation.
|
|
5046
4237
|
*
|
|
@@ -5056,23 +4247,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5056
4247
|
*
|
|
5057
4248
|
* Emits `DepositPoked` if successful.
|
|
5058
4249
|
**/
|
|
5059
|
-
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5060
|
-
u16,
|
|
5061
|
-
Vec<AccountId32>,
|
|
5062
|
-
U8aFixed
|
|
5063
|
-
]>;
|
|
4250
|
+
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
|
5064
4251
|
};
|
|
5065
4252
|
notaries: {
|
|
5066
|
-
activate: AugmentedSubmittable<(operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5067
|
-
AccountId32
|
|
5068
|
-
]>;
|
|
4253
|
+
activate: AugmentedSubmittable<(operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
5069
4254
|
propose: AugmentedSubmittable<(meta: ArgonPrimitivesNotaryNotaryMeta | {
|
|
5070
4255
|
name?: any;
|
|
5071
4256
|
public?: any;
|
|
5072
4257
|
hosts?: any;
|
|
5073
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5074
|
-
ArgonPrimitivesNotaryNotaryMeta
|
|
5075
|
-
]>;
|
|
4258
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesNotaryNotaryMeta]>;
|
|
5076
4259
|
/**
|
|
5077
4260
|
* Update the metadata of a notary, to be effective at the given tick height, which must be
|
|
5078
4261
|
* >= MetaChangesTickDelay ticks in the future.
|
|
@@ -5081,22 +4264,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5081
4264
|
name?: any;
|
|
5082
4265
|
public?: any;
|
|
5083
4266
|
hosts?: any;
|
|
5084
|
-
} | string | Uint8Array, effectiveTick: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5085
|
-
Compact<u32>,
|
|
5086
|
-
ArgonPrimitivesNotaryNotaryMeta,
|
|
5087
|
-
Compact<u64>
|
|
5088
|
-
]>;
|
|
4267
|
+
} | string | Uint8Array, effectiveTick: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u64>]>;
|
|
5089
4268
|
};
|
|
5090
4269
|
notebook: {
|
|
5091
4270
|
submit: AugmentedSubmittable<(notebooks: Vec<ArgonPrimitivesNotebookSignedNotebookHeader> | (ArgonPrimitivesNotebookSignedNotebookHeader | {
|
|
5092
4271
|
header?: any;
|
|
5093
4272
|
signature?: any;
|
|
5094
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5095
|
-
|
|
5096
|
-
]>;
|
|
5097
|
-
unlock: AugmentedSubmittable<(notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5098
|
-
u32
|
|
5099
|
-
]>;
|
|
4273
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<ArgonPrimitivesNotebookSignedNotebookHeader>]>;
|
|
4274
|
+
unlock: AugmentedSubmittable<(notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
5100
4275
|
};
|
|
5101
4276
|
ownership: {
|
|
5102
4277
|
/**
|
|
@@ -5108,10 +4283,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5108
4283
|
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
5109
4284
|
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
5110
4285
|
**/
|
|
5111
|
-
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5112
|
-
Compact<u128>,
|
|
5113
|
-
bool
|
|
5114
|
-
]>;
|
|
4286
|
+
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
|
5115
4287
|
/**
|
|
5116
4288
|
* Adjust the total issuance in a saturating way.
|
|
5117
4289
|
*
|
|
@@ -5119,10 +4291,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5119
4291
|
*
|
|
5120
4292
|
* # Example
|
|
5121
4293
|
**/
|
|
5122
|
-
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5123
|
-
PalletBalancesAdjustmentDirection,
|
|
5124
|
-
Compact<u128>
|
|
5125
|
-
]>;
|
|
4294
|
+
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
|
5126
4295
|
/**
|
|
5127
4296
|
* Set the regular balance of a given account.
|
|
5128
4297
|
*
|
|
@@ -5138,10 +4307,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5138
4307
|
Address32: any;
|
|
5139
4308
|
} | {
|
|
5140
4309
|
Address20: any;
|
|
5141
|
-
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5142
|
-
MultiAddress,
|
|
5143
|
-
Compact<u128>
|
|
5144
|
-
]>;
|
|
4310
|
+
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
5145
4311
|
/**
|
|
5146
4312
|
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
5147
4313
|
* may be specified.
|
|
@@ -5166,11 +4332,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5166
4332
|
Address32: any;
|
|
5167
4333
|
} | {
|
|
5168
4334
|
Address20: any;
|
|
5169
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5170
|
-
MultiAddress,
|
|
5171
|
-
MultiAddress,
|
|
5172
|
-
Compact<u128>
|
|
5173
|
-
]>;
|
|
4335
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
|
5174
4336
|
/**
|
|
5175
4337
|
* Unreserve some balance from a user by force.
|
|
5176
4338
|
*
|
|
@@ -5186,10 +4348,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5186
4348
|
Address32: any;
|
|
5187
4349
|
} | {
|
|
5188
4350
|
Address20: any;
|
|
5189
|
-
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5190
|
-
MultiAddress,
|
|
5191
|
-
u128
|
|
5192
|
-
]>;
|
|
4351
|
+
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
5193
4352
|
/**
|
|
5194
4353
|
* Transfer the entire transferable balance from the caller account.
|
|
5195
4354
|
*
|
|
@@ -5217,10 +4376,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5217
4376
|
Address32: any;
|
|
5218
4377
|
} | {
|
|
5219
4378
|
Address20: any;
|
|
5220
|
-
} | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5221
|
-
MultiAddress,
|
|
5222
|
-
bool
|
|
5223
|
-
]>;
|
|
4379
|
+
} | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
5224
4380
|
/**
|
|
5225
4381
|
* Transfer some liquid free balance to another account.
|
|
5226
4382
|
*
|
|
@@ -5240,10 +4396,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5240
4396
|
Address32: any;
|
|
5241
4397
|
} | {
|
|
5242
4398
|
Address20: any;
|
|
5243
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5244
|
-
MultiAddress,
|
|
5245
|
-
Compact<u128>
|
|
5246
|
-
]>;
|
|
4399
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
5247
4400
|
/**
|
|
5248
4401
|
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
5249
4402
|
* kill the origin account.
|
|
@@ -5262,10 +4415,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5262
4415
|
Address32: any;
|
|
5263
4416
|
} | {
|
|
5264
4417
|
Address20: any;
|
|
5265
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5266
|
-
MultiAddress,
|
|
5267
|
-
Compact<u128>
|
|
5268
|
-
]>;
|
|
4418
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
5269
4419
|
/**
|
|
5270
4420
|
* Upgrade a specified account.
|
|
5271
4421
|
*
|
|
@@ -5276,9 +4426,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5276
4426
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
5277
4427
|
* possibility of churn).
|
|
5278
4428
|
**/
|
|
5279
|
-
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5280
|
-
Vec<AccountId32>
|
|
5281
|
-
]>;
|
|
4429
|
+
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
5282
4430
|
};
|
|
5283
4431
|
priceIndex: {
|
|
5284
4432
|
/**
|
|
@@ -5287,9 +4435,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5287
4435
|
* # Arguments
|
|
5288
4436
|
* * `account_id` - the account id of the operator
|
|
5289
4437
|
**/
|
|
5290
|
-
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5291
|
-
AccountId32
|
|
5292
|
-
]>;
|
|
4438
|
+
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
5293
4439
|
/**
|
|
5294
4440
|
* Submit the latest price index. Only valid for the configured operator account
|
|
5295
4441
|
**/
|
|
@@ -5300,9 +4446,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5300
4446
|
argonUsdTargetPrice?: any;
|
|
5301
4447
|
argonTimeWeightedAverageLiquidity?: any;
|
|
5302
4448
|
tick?: any;
|
|
5303
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5304
|
-
PalletPriceIndexPriceIndex
|
|
5305
|
-
]>;
|
|
4449
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletPriceIndexPriceIndex]>;
|
|
5306
4450
|
};
|
|
5307
4451
|
proxy: {
|
|
5308
4452
|
/**
|
|
@@ -5326,11 +4470,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5326
4470
|
Address32: any;
|
|
5327
4471
|
} | {
|
|
5328
4472
|
Address20: any;
|
|
5329
|
-
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5330
|
-
MultiAddress,
|
|
5331
|
-
ArgonRuntimeProxyType,
|
|
5332
|
-
u32
|
|
5333
|
-
]>;
|
|
4473
|
+
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
|
|
5334
4474
|
/**
|
|
5335
4475
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
5336
4476
|
*
|
|
@@ -5358,10 +4498,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5358
4498
|
Address32: any;
|
|
5359
4499
|
} | {
|
|
5360
4500
|
Address20: any;
|
|
5361
|
-
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5362
|
-
MultiAddress,
|
|
5363
|
-
H256
|
|
5364
|
-
]>;
|
|
4501
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
5365
4502
|
/**
|
|
5366
4503
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
|
5367
4504
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
|
@@ -5382,11 +4519,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5382
4519
|
*
|
|
5383
4520
|
* Fails if there are insufficient funds to pay for deposit.
|
|
5384
4521
|
**/
|
|
5385
|
-
createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5386
|
-
ArgonRuntimeProxyType,
|
|
5387
|
-
u32,
|
|
5388
|
-
u16
|
|
5389
|
-
]>;
|
|
4522
|
+
createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeProxyType, u32, u16]>;
|
|
5390
4523
|
/**
|
|
5391
4524
|
* Removes a previously spawned pure proxy.
|
|
5392
4525
|
*
|
|
@@ -5397,7 +4530,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5397
4530
|
* `pure` with corresponding parameters.
|
|
5398
4531
|
*
|
|
5399
4532
|
* - `spawner`: The account that originally called `pure` to create this account.
|
|
5400
|
-
* - `index`: The disambiguation index originally passed to `
|
|
4533
|
+
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
5401
4534
|
* - `proxy_type`: The proxy type originally passed to `pure`.
|
|
5402
4535
|
* - `height`: The height of the chain when the call to `pure` was processed.
|
|
5403
4536
|
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
|
|
@@ -5415,13 +4548,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5415
4548
|
Address32: any;
|
|
5416
4549
|
} | {
|
|
5417
4550
|
Address20: any;
|
|
5418
|
-
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5419
|
-
MultiAddress,
|
|
5420
|
-
ArgonRuntimeProxyType,
|
|
5421
|
-
u16,
|
|
5422
|
-
Compact<u32>,
|
|
5423
|
-
Compact<u32>
|
|
5424
|
-
]>;
|
|
4551
|
+
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
5425
4552
|
/**
|
|
5426
4553
|
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
5427
4554
|
* This can be used by accounts to possibly lower their locked amount.
|
|
@@ -5454,11 +4581,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5454
4581
|
Address32: any;
|
|
5455
4582
|
} | {
|
|
5456
4583
|
Address20: any;
|
|
5457
|
-
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5458
|
-
MultiAddress,
|
|
5459
|
-
Option<ArgonRuntimeProxyType>,
|
|
5460
|
-
Call
|
|
5461
|
-
]>;
|
|
4584
|
+
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
|
|
5462
4585
|
/**
|
|
5463
4586
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
5464
4587
|
* `add_proxy`.
|
|
@@ -5492,12 +4615,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5492
4615
|
Address32: any;
|
|
5493
4616
|
} | {
|
|
5494
4617
|
Address20: any;
|
|
5495
|
-
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5496
|
-
MultiAddress,
|
|
5497
|
-
MultiAddress,
|
|
5498
|
-
Option<ArgonRuntimeProxyType>,
|
|
5499
|
-
Call
|
|
5500
|
-
]>;
|
|
4618
|
+
} | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
|
|
5501
4619
|
/**
|
|
5502
4620
|
* Remove the given announcement of a delegate.
|
|
5503
4621
|
*
|
|
@@ -5520,10 +4638,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5520
4638
|
Address32: any;
|
|
5521
4639
|
} | {
|
|
5522
4640
|
Address20: any;
|
|
5523
|
-
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5524
|
-
MultiAddress,
|
|
5525
|
-
H256
|
|
5526
|
-
]>;
|
|
4641
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
5527
4642
|
/**
|
|
5528
4643
|
* Remove a given announcement.
|
|
5529
4644
|
*
|
|
@@ -5546,10 +4661,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5546
4661
|
Address32: any;
|
|
5547
4662
|
} | {
|
|
5548
4663
|
Address20: any;
|
|
5549
|
-
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5550
|
-
MultiAddress,
|
|
5551
|
-
H256
|
|
5552
|
-
]>;
|
|
4664
|
+
} | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
5553
4665
|
/**
|
|
5554
4666
|
* Unregister all proxy accounts for the sender.
|
|
5555
4667
|
*
|
|
@@ -5578,11 +4690,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5578
4690
|
Address32: any;
|
|
5579
4691
|
} | {
|
|
5580
4692
|
Address20: any;
|
|
5581
|
-
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5582
|
-
MultiAddress,
|
|
5583
|
-
ArgonRuntimeProxyType,
|
|
5584
|
-
u32
|
|
5585
|
-
]>;
|
|
4693
|
+
} | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'BitcoinCosign' | 'VaultAdmin' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
|
|
5586
4694
|
};
|
|
5587
4695
|
sudo: {
|
|
5588
4696
|
/**
|
|
@@ -5605,15 +4713,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5605
4713
|
Address32: any;
|
|
5606
4714
|
} | {
|
|
5607
4715
|
Address20: any;
|
|
5608
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5609
|
-
MultiAddress
|
|
5610
|
-
]>;
|
|
4716
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
5611
4717
|
/**
|
|
5612
4718
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
5613
4719
|
**/
|
|
5614
|
-
sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5615
|
-
Call
|
|
5616
|
-
]>;
|
|
4720
|
+
sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
|
|
5617
4721
|
/**
|
|
5618
4722
|
* Authenticates the sudo key and dispatches a function call with `Signed` origin from
|
|
5619
4723
|
* a given account.
|
|
@@ -5630,10 +4734,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5630
4734
|
Address32: any;
|
|
5631
4735
|
} | {
|
|
5632
4736
|
Address20: any;
|
|
5633
|
-
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5634
|
-
MultiAddress,
|
|
5635
|
-
Call
|
|
5636
|
-
]>;
|
|
4737
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
|
5637
4738
|
/**
|
|
5638
4739
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
5639
4740
|
* This function does not check the weight of the call, and instead allows the
|
|
@@ -5644,10 +4745,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5644
4745
|
sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
|
|
5645
4746
|
refTime?: any;
|
|
5646
4747
|
proofSize?: any;
|
|
5647
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5648
|
-
Call,
|
|
5649
|
-
SpWeightsWeightV2Weight
|
|
5650
|
-
]>;
|
|
4748
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
5651
4749
|
};
|
|
5652
4750
|
system: {
|
|
5653
4751
|
/**
|
|
@@ -5661,18 +4759,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5661
4759
|
*
|
|
5662
4760
|
* All origins are allowed.
|
|
5663
4761
|
**/
|
|
5664
|
-
applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5665
|
-
Bytes
|
|
5666
|
-
]>;
|
|
4762
|
+
applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
5667
4763
|
/**
|
|
5668
4764
|
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
5669
4765
|
* later.
|
|
5670
4766
|
*
|
|
5671
4767
|
* This call requires Root origin.
|
|
5672
4768
|
**/
|
|
5673
|
-
authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5674
|
-
H256
|
|
5675
|
-
]>;
|
|
4769
|
+
authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
5676
4770
|
/**
|
|
5677
4771
|
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
5678
4772
|
* later.
|
|
@@ -5683,66 +4777,47 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5683
4777
|
*
|
|
5684
4778
|
* This call requires Root origin.
|
|
5685
4779
|
**/
|
|
5686
|
-
authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5687
|
-
H256
|
|
5688
|
-
]>;
|
|
4780
|
+
authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
5689
4781
|
/**
|
|
5690
4782
|
* Kill all storage items with a key that starts with the given prefix.
|
|
5691
4783
|
*
|
|
5692
4784
|
* **NOTE:** We rely on the Root origin to provide us the number of subkeys under
|
|
5693
4785
|
* the prefix we are removing to accurately calculate the weight of this function.
|
|
5694
4786
|
**/
|
|
5695
|
-
killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5696
|
-
Bytes,
|
|
5697
|
-
u32
|
|
5698
|
-
]>;
|
|
4787
|
+
killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
|
|
5699
4788
|
/**
|
|
5700
4789
|
* Kill some items from storage.
|
|
5701
4790
|
**/
|
|
5702
|
-
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5703
|
-
Vec<Bytes>
|
|
5704
|
-
]>;
|
|
4791
|
+
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
|
|
5705
4792
|
/**
|
|
5706
4793
|
* Make some on-chain remark.
|
|
5707
4794
|
*
|
|
5708
4795
|
* Can be executed by every `origin`.
|
|
5709
4796
|
**/
|
|
5710
|
-
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5711
|
-
Bytes
|
|
5712
|
-
]>;
|
|
4797
|
+
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
5713
4798
|
/**
|
|
5714
4799
|
* Make some on-chain remark and emit event.
|
|
5715
4800
|
**/
|
|
5716
|
-
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5717
|
-
Bytes
|
|
5718
|
-
]>;
|
|
4801
|
+
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
5719
4802
|
/**
|
|
5720
4803
|
* Set the new runtime code.
|
|
5721
4804
|
**/
|
|
5722
|
-
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5723
|
-
Bytes
|
|
5724
|
-
]>;
|
|
4805
|
+
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
5725
4806
|
/**
|
|
5726
4807
|
* Set the new runtime code without doing any checks of the given `code`.
|
|
5727
4808
|
*
|
|
5728
4809
|
* Note that runtime upgrades will not run if this is called with a not-increasing spec
|
|
5729
4810
|
* version!
|
|
5730
4811
|
**/
|
|
5731
|
-
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5732
|
-
Bytes
|
|
5733
|
-
]>;
|
|
4812
|
+
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
5734
4813
|
/**
|
|
5735
4814
|
* Set the number of pages in the WebAssembly environment's heap.
|
|
5736
4815
|
**/
|
|
5737
|
-
setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5738
|
-
u64
|
|
5739
|
-
]>;
|
|
4816
|
+
setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
5740
4817
|
/**
|
|
5741
4818
|
* Set some items of storage.
|
|
5742
4819
|
**/
|
|
5743
|
-
setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
|
|
5744
|
-
Vec<ITuple<[Bytes, Bytes]>>
|
|
5745
|
-
]>;
|
|
4820
|
+
setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
|
|
5746
4821
|
};
|
|
5747
4822
|
ticks: {};
|
|
5748
4823
|
timestamp: {
|
|
@@ -5767,9 +4842,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5767
4842
|
* `on_finalize`)
|
|
5768
4843
|
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
5769
4844
|
**/
|
|
5770
|
-
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5771
|
-
Compact<u64>
|
|
5772
|
-
]>;
|
|
4845
|
+
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
|
|
5773
4846
|
};
|
|
5774
4847
|
tokenGateway: {
|
|
5775
4848
|
/**
|
|
@@ -5784,15 +4857,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5784
4857
|
reg?: any;
|
|
5785
4858
|
native?: any;
|
|
5786
4859
|
precision?: any;
|
|
5787
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5788
|
-
|
|
5789
|
-
|
|
4860
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletTokenGatewayAssetRegistration]>;
|
|
4861
|
+
/**
|
|
4862
|
+
* Registers a multi-chain ERC6160 asset without sending any dispatch request.
|
|
4863
|
+
* You should use register_asset_locally when you want to enable token gateway transfers
|
|
4864
|
+
* for an asset that already exists on an external chain.
|
|
4865
|
+
**/
|
|
4866
|
+
registerAssetLocally: AugmentedSubmittable<(asset: PalletTokenGatewayAssetRegistration | {
|
|
4867
|
+
localId?: any;
|
|
4868
|
+
reg?: any;
|
|
4869
|
+
native?: any;
|
|
4870
|
+
precision?: any;
|
|
4871
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletTokenGatewayAssetRegistration]>;
|
|
5790
4872
|
/**
|
|
5791
4873
|
* Set the token gateway address for specified chains
|
|
5792
4874
|
**/
|
|
5793
|
-
setTokenGatewayAddresses: AugmentedSubmittable<(addresses: BTreeMap<IsmpHostStateMachine, Bytes>) => SubmittableExtrinsic<ApiType>, [
|
|
5794
|
-
BTreeMap<IsmpHostStateMachine, Bytes>
|
|
5795
|
-
]>;
|
|
4875
|
+
setTokenGatewayAddresses: AugmentedSubmittable<(addresses: BTreeMap<IsmpHostStateMachine, Bytes>) => SubmittableExtrinsic<ApiType>, [BTreeMap<IsmpHostStateMachine, Bytes>]>;
|
|
5796
4876
|
/**
|
|
5797
4877
|
* Teleports a registered asset
|
|
5798
4878
|
* locks the asset and dispatches a request to token gateway on the destination
|
|
@@ -5807,18 +4887,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5807
4887
|
relayerFee?: any;
|
|
5808
4888
|
callData?: any;
|
|
5809
4889
|
redeem?: any;
|
|
5810
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5811
|
-
PalletTokenGatewayTeleportParams
|
|
5812
|
-
]>;
|
|
4890
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletTokenGatewayTeleportParams]>;
|
|
5813
4891
|
/**
|
|
5814
4892
|
* Update the precision for an existing asset
|
|
5815
4893
|
**/
|
|
5816
4894
|
updateAssetPrecision: AugmentedSubmittable<(update: PalletTokenGatewayPrecisionUpdate | {
|
|
5817
4895
|
assetId?: any;
|
|
5818
4896
|
precisions?: any;
|
|
5819
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5820
|
-
PalletTokenGatewayPrecisionUpdate
|
|
5821
|
-
]>;
|
|
4897
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletTokenGatewayPrecisionUpdate]>;
|
|
5822
4898
|
/**
|
|
5823
4899
|
* Registers a multi-chain ERC6160 asset. The asset should not already exist.
|
|
5824
4900
|
*
|
|
@@ -5830,9 +4906,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5830
4906
|
addChains?: any;
|
|
5831
4907
|
removeChains?: any;
|
|
5832
4908
|
newAdmins?: any;
|
|
5833
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5834
|
-
TokenGatewayPrimitivesGatewayAssetUpdate
|
|
5835
|
-
]>;
|
|
4909
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [TokenGatewayPrimitivesGatewayAssetUpdate]>;
|
|
5836
4910
|
};
|
|
5837
4911
|
txPause: {
|
|
5838
4912
|
/**
|
|
@@ -5841,18 +4915,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5841
4915
|
* Can only be called by [`Config::PauseOrigin`].
|
|
5842
4916
|
* Emits an [`Event::CallPaused`] event on success.
|
|
5843
4917
|
**/
|
|
5844
|
-
pause: AugmentedSubmittable<(fullName: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [
|
|
5845
|
-
ITuple<[Bytes, Bytes]>
|
|
5846
|
-
]>;
|
|
4918
|
+
pause: AugmentedSubmittable<(fullName: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
5847
4919
|
/**
|
|
5848
4920
|
* Un-pause a call.
|
|
5849
4921
|
*
|
|
5850
4922
|
* Can only be called by [`Config::UnpauseOrigin`].
|
|
5851
4923
|
* Emits an [`Event::CallUnpaused`] event on success.
|
|
5852
4924
|
**/
|
|
5853
|
-
unpause: AugmentedSubmittable<(ident: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [
|
|
5854
|
-
ITuple<[Bytes, Bytes]>
|
|
5855
|
-
]>;
|
|
4925
|
+
unpause: AugmentedSubmittable<(ident: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
5856
4926
|
};
|
|
5857
4927
|
utility: {
|
|
5858
4928
|
/**
|
|
@@ -5870,10 +4940,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5870
4940
|
*
|
|
5871
4941
|
* The dispatch origin for this call must be _Signed_.
|
|
5872
4942
|
**/
|
|
5873
|
-
asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5874
|
-
u16,
|
|
5875
|
-
Call
|
|
5876
|
-
]>;
|
|
4943
|
+
asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
|
|
5877
4944
|
/**
|
|
5878
4945
|
* Send a batch of dispatch calls.
|
|
5879
4946
|
*
|
|
@@ -5894,9 +4961,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5894
4961
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
5895
4962
|
* event is deposited.
|
|
5896
4963
|
**/
|
|
5897
|
-
batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5898
|
-
Vec<Call>
|
|
5899
|
-
]>;
|
|
4964
|
+
batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
5900
4965
|
/**
|
|
5901
4966
|
* Send a batch of dispatch calls and atomically execute them.
|
|
5902
4967
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -5912,9 +4977,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5912
4977
|
* ## Complexity
|
|
5913
4978
|
* - O(C) where C is the number of calls to be batched.
|
|
5914
4979
|
**/
|
|
5915
|
-
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5916
|
-
Vec<Call>
|
|
5917
|
-
]>;
|
|
4980
|
+
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
5918
4981
|
/**
|
|
5919
4982
|
* Dispatches a function call with a provided origin.
|
|
5920
4983
|
*
|
|
@@ -5925,10 +4988,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5925
4988
|
**/
|
|
5926
4989
|
dispatchAs: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | {
|
|
5927
4990
|
system: any;
|
|
5928
|
-
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5929
|
-
ArgonRuntimeOriginCaller,
|
|
5930
|
-
Call
|
|
5931
|
-
]>;
|
|
4991
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
|
|
5932
4992
|
/**
|
|
5933
4993
|
* Dispatches a function call with a provided origin.
|
|
5934
4994
|
*
|
|
@@ -5938,10 +4998,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5938
4998
|
**/
|
|
5939
4999
|
dispatchAsFallible: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | {
|
|
5940
5000
|
system: any;
|
|
5941
|
-
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5942
|
-
ArgonRuntimeOriginCaller,
|
|
5943
|
-
Call
|
|
5944
|
-
]>;
|
|
5001
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
|
|
5945
5002
|
/**
|
|
5946
5003
|
* Send a batch of dispatch calls.
|
|
5947
5004
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -5957,9 +5014,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5957
5014
|
* ## Complexity
|
|
5958
5015
|
* - O(C) where C is the number of calls to be batched.
|
|
5959
5016
|
**/
|
|
5960
|
-
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5961
|
-
Vec<Call>
|
|
5962
|
-
]>;
|
|
5017
|
+
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
5963
5018
|
/**
|
|
5964
5019
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
5965
5020
|
* May be called from any origin except `None`.
|
|
@@ -5985,10 +5040,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5985
5040
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
5986
5041
|
* or both.
|
|
5987
5042
|
**/
|
|
5988
|
-
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5989
|
-
Call,
|
|
5990
|
-
Call
|
|
5991
|
-
]>;
|
|
5043
|
+
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
|
|
5992
5044
|
/**
|
|
5993
5045
|
* Dispatch a function call with a specified weight.
|
|
5994
5046
|
*
|
|
@@ -6000,30 +5052,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6000
5052
|
withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
|
|
6001
5053
|
refTime?: any;
|
|
6002
5054
|
proofSize?: any;
|
|
6003
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6004
|
-
Call,
|
|
6005
|
-
SpWeightsWeightV2Weight
|
|
6006
|
-
]>;
|
|
5055
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
6007
5056
|
};
|
|
6008
5057
|
vaults: {
|
|
6009
5058
|
/**
|
|
6010
5059
|
* Stop offering additional bitcoin locks from this vault. Will not affect existing
|
|
6011
5060
|
* locks. As funds are returned, they will be released to the vault owner.
|
|
6012
5061
|
**/
|
|
6013
|
-
close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6014
|
-
|
|
6015
|
-
]>;
|
|
6016
|
-
collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6017
|
-
u32
|
|
6018
|
-
]>;
|
|
5062
|
+
close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
5063
|
+
collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
6019
5064
|
create: AugmentedSubmittable<(vaultConfig: PalletVaultsVaultConfig | {
|
|
6020
5065
|
terms?: any;
|
|
6021
5066
|
securitization?: any;
|
|
6022
5067
|
bitcoinXpubkey?: any;
|
|
6023
5068
|
securitizationRatio?: any;
|
|
6024
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6025
|
-
PalletVaultsVaultConfig
|
|
6026
|
-
]>;
|
|
5069
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletVaultsVaultConfig]>;
|
|
6027
5070
|
/**
|
|
6028
5071
|
* Modify funds allocated by the vault. This will not affect issued bitcoin locks, but will
|
|
6029
5072
|
* affect the amount of funds available for new ones.
|
|
@@ -6034,11 +5077,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6034
5077
|
* funds in this vault as bitcoin locks are released. To stop issuing any more bitcoin
|
|
6035
5078
|
* locks, use the `close` api.
|
|
6036
5079
|
**/
|
|
6037
|
-
modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array, securitizationRatio: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6038
|
-
u32,
|
|
6039
|
-
u128,
|
|
6040
|
-
u128
|
|
6041
|
-
]>;
|
|
5080
|
+
modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array, securitizationRatio: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128, u128]>;
|
|
6042
5081
|
/**
|
|
6043
5082
|
* Change the terms of this vault. The change will be applied at the next mining slot
|
|
6044
5083
|
* change that is at least `MinTermsModificationBlockDelay` blocks away.
|
|
@@ -6047,19 +5086,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6047
5086
|
bitcoinAnnualPercentRate?: any;
|
|
6048
5087
|
bitcoinBaseFee?: any;
|
|
6049
5088
|
liquidityPoolProfitSharing?: any;
|
|
6050
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6051
|
-
u32,
|
|
6052
|
-
ArgonPrimitivesVaultVaultTerms
|
|
6053
|
-
]>;
|
|
5089
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesVaultVaultTerms]>;
|
|
6054
5090
|
/**
|
|
6055
5091
|
* Replace the bitcoin xpubkey for this vault. This will not affect existing bitcoin locks,
|
|
6056
5092
|
* but will be used for any locks after this point. Will be rejected if already
|
|
6057
5093
|
* used.
|
|
6058
5094
|
**/
|
|
6059
|
-
replaceBitcoinXpub: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6060
|
-
u32,
|
|
6061
|
-
ArgonPrimitivesBitcoinOpaqueBitcoinXpub
|
|
6062
|
-
]>;
|
|
5095
|
+
replaceBitcoinXpub: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]>;
|
|
6063
5096
|
};
|
|
6064
5097
|
}
|
|
6065
5098
|
}
|
|
@@ -6281,7 +5314,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
|
|
6281
5314
|
/**
|
|
6282
5315
|
* Returns fee history for given block count & reward percentiles
|
|
6283
5316
|
**/
|
|
6284
|
-
feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | f64[]) => Observable<EthFeeHistory>>;
|
|
5317
|
+
feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | (f64)[]) => Observable<EthFeeHistory>>;
|
|
6285
5318
|
/**
|
|
6286
5319
|
* Returns current gas price.
|
|
6287
5320
|
**/
|
|
@@ -7033,6 +6066,7 @@ declare module '@polkadot/types/types/registry' {
|
|
|
7033
6066
|
BlockV0: BlockV0;
|
|
7034
6067
|
BlockV1: BlockV1;
|
|
7035
6068
|
BlockV2: BlockV2;
|
|
6069
|
+
BlockV3: BlockV3;
|
|
7036
6070
|
BlockWeights: BlockWeights;
|
|
7037
6071
|
BodyId: BodyId;
|
|
7038
6072
|
BodyIdV2: BodyIdV2;
|
|
@@ -7234,6 +6268,7 @@ declare module '@polkadot/types/types/registry' {
|
|
|
7234
6268
|
Ed25519Signature: Ed25519Signature;
|
|
7235
6269
|
EIP1559Transaction: EIP1559Transaction;
|
|
7236
6270
|
EIP2930Transaction: EIP2930Transaction;
|
|
6271
|
+
EIP7702Transaction: EIP7702Transaction;
|
|
7237
6272
|
ElectionCompute: ElectionCompute;
|
|
7238
6273
|
ElectionPhase: ElectionPhase;
|
|
7239
6274
|
ElectionResult: ElectionResult;
|
|
@@ -7263,6 +6298,9 @@ declare module '@polkadot/types/types/registry' {
|
|
|
7263
6298
|
EthAccessListItem: EthAccessListItem;
|
|
7264
6299
|
EthAccount: EthAccount;
|
|
7265
6300
|
EthAddress: EthAddress;
|
|
6301
|
+
EthAuthorizationList: EthAuthorizationList;
|
|
6302
|
+
EthAuthorizationListItem: EthAuthorizationListItem;
|
|
6303
|
+
EthAuthorizationSignature: EthAuthorizationSignature;
|
|
7266
6304
|
EthBlock: EthBlock;
|
|
7267
6305
|
EthBloom: EthBloom;
|
|
7268
6306
|
EthCallRequest: EthCallRequest;
|
|
@@ -7278,10 +6316,12 @@ declare module '@polkadot/types/types/registry' {
|
|
|
7278
6316
|
EthFilterTopicEntry: EthFilterTopicEntry;
|
|
7279
6317
|
EthFilterTopicInner: EthFilterTopicInner;
|
|
7280
6318
|
EthHeader: EthHeader;
|
|
6319
|
+
EthLegacyTransactionSignature: EthLegacyTransactionSignature;
|
|
7281
6320
|
EthLog: EthLog;
|
|
7282
6321
|
EthReceipt: EthReceipt;
|
|
7283
6322
|
EthReceiptV0: EthReceiptV0;
|
|
7284
6323
|
EthReceiptV3: EthReceiptV3;
|
|
6324
|
+
EthReceiptV4: EthReceiptV4;
|
|
7285
6325
|
EthRichBlock: EthRichBlock;
|
|
7286
6326
|
EthRichHeader: EthRichHeader;
|
|
7287
6327
|
EthStorageProof: EthStorageProof;
|
|
@@ -8055,6 +7095,7 @@ declare module '@polkadot/types/types/registry' {
|
|
|
8055
7095
|
TransactionV0: TransactionV0;
|
|
8056
7096
|
TransactionV1: TransactionV1;
|
|
8057
7097
|
TransactionV2: TransactionV2;
|
|
7098
|
+
TransactionV3: TransactionV3;
|
|
8058
7099
|
TransactionValidity: TransactionValidity;
|
|
8059
7100
|
TransactionValidityError: TransactionValidityError;
|
|
8060
7101
|
TransientValidationData: TransientValidationData;
|
|
@@ -8434,6 +7475,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
8434
7475
|
readonly proxyType: ArgonRuntimeProxyType;
|
|
8435
7476
|
readonly disambiguationIndex: u16;
|
|
8436
7477
|
} & Struct;
|
|
7478
|
+
readonly isPureKilled: boolean;
|
|
7479
|
+
readonly asPureKilled: {
|
|
7480
|
+
readonly pure: AccountId32;
|
|
7481
|
+
readonly spawner: AccountId32;
|
|
7482
|
+
readonly proxyType: ArgonRuntimeProxyType;
|
|
7483
|
+
readonly disambiguationIndex: u16;
|
|
7484
|
+
} & Struct;
|
|
8437
7485
|
readonly isAnnounced: boolean;
|
|
8438
7486
|
readonly asAnnounced: {
|
|
8439
7487
|
readonly real: AccountId32;
|
|
@@ -8461,7 +7509,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
8461
7509
|
readonly oldDeposit: u128;
|
|
8462
7510
|
readonly newDeposit: u128;
|
|
8463
7511
|
} & Struct;
|
|
8464
|
-
readonly type: 'ProxyExecuted' | 'PureCreated' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved' | 'DepositPoked';
|
|
7512
|
+
readonly type: 'ProxyExecuted' | 'PureCreated' | 'PureKilled' | 'Announced' | 'ProxyAdded' | 'ProxyRemoved' | 'DepositPoked';
|
|
8465
7513
|
}
|
|
8466
7514
|
/** @name ArgonRuntimeProxyType (38) */
|
|
8467
7515
|
interface ArgonRuntimeProxyType extends Enum {
|
|
@@ -8696,7 +7744,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
8696
7744
|
readonly asBitcoinLockCreated: {
|
|
8697
7745
|
readonly utxoId: u64;
|
|
8698
7746
|
readonly vaultId: u32;
|
|
8699
|
-
readonly
|
|
7747
|
+
readonly liquidityPromised: u128;
|
|
7748
|
+
readonly peggedPrice: u128;
|
|
8700
7749
|
readonly accountId: AccountId32;
|
|
8701
7750
|
readonly securityFee: u128;
|
|
8702
7751
|
} & Struct;
|
|
@@ -8704,9 +7753,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
8704
7753
|
readonly asBitcoinLockRatcheted: {
|
|
8705
7754
|
readonly utxoId: u64;
|
|
8706
7755
|
readonly vaultId: u32;
|
|
8707
|
-
readonly
|
|
7756
|
+
readonly liquidityPromised: u128;
|
|
7757
|
+
readonly originalPeggedPrice: u128;
|
|
8708
7758
|
readonly securityFee: u128;
|
|
8709
|
-
readonly
|
|
7759
|
+
readonly newPeggedPrice: u128;
|
|
8710
7760
|
readonly amountBurned: u128;
|
|
8711
7761
|
readonly accountId: AccountId32;
|
|
8712
7762
|
} & Struct;
|
|
@@ -9458,12 +8508,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9458
8508
|
readonly amount: u128;
|
|
9459
8509
|
readonly account: AccountId32;
|
|
9460
8510
|
} & Struct;
|
|
9461
|
-
readonly
|
|
9462
|
-
readonly asProtocolRevenueWithdrawn: {
|
|
9463
|
-
readonly amount: u128;
|
|
9464
|
-
readonly account: AccountId32;
|
|
9465
|
-
} & Struct;
|
|
9466
|
-
readonly type: 'HostParamsUpdated' | 'RelayerFeeWithdrawn' | 'ProtocolRevenueWithdrawn';
|
|
8511
|
+
readonly type: 'HostParamsUpdated' | 'RelayerFeeWithdrawn';
|
|
9467
8512
|
}
|
|
9468
8513
|
/** @name PalletHyperbridgeVersionedHostParams (126) */
|
|
9469
8514
|
interface PalletHyperbridgeVersionedHostParams extends Enum {
|
|
@@ -9503,7 +8548,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
9503
8548
|
readonly asErc6160AssetRegistrationDispatched: {
|
|
9504
8549
|
readonly commitment: H256;
|
|
9505
8550
|
} & Struct;
|
|
9506
|
-
readonly
|
|
8551
|
+
readonly isAssetRegisteredLocally: boolean;
|
|
8552
|
+
readonly asAssetRegisteredLocally: {
|
|
8553
|
+
readonly localId: u32;
|
|
8554
|
+
readonly assetId: H256;
|
|
8555
|
+
} & Struct;
|
|
8556
|
+
readonly type: 'AssetTeleported' | 'AssetReceived' | 'AssetRefunded' | 'Erc6160AssetRegistrationDispatched' | 'AssetRegisteredLocally';
|
|
9507
8557
|
}
|
|
9508
8558
|
/** @name PalletLiquidityPoolsEvent (132) */
|
|
9509
8559
|
interface PalletLiquidityPoolsEvent extends Enum {
|
|
@@ -9578,7 +8628,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
9578
8628
|
readonly isSigned: boolean;
|
|
9579
8629
|
readonly asSigned: AccountId32;
|
|
9580
8630
|
readonly isNone: boolean;
|
|
9581
|
-
readonly
|
|
8631
|
+
readonly isAuthorized: boolean;
|
|
8632
|
+
readonly type: 'Root' | 'Signed' | 'None' | 'Authorized';
|
|
9582
8633
|
}
|
|
9583
8634
|
/** @name FrameSystemPhase (136) */
|
|
9584
8635
|
interface FrameSystemPhase extends Enum {
|
|
@@ -10589,7 +9640,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
10589
9640
|
readonly asUpdateAssetPrecision: {
|
|
10590
9641
|
readonly update: PalletTokenGatewayPrecisionUpdate;
|
|
10591
9642
|
} & Struct;
|
|
10592
|
-
readonly
|
|
9643
|
+
readonly isRegisterAssetLocally: boolean;
|
|
9644
|
+
readonly asRegisterAssetLocally: {
|
|
9645
|
+
readonly asset: PalletTokenGatewayAssetRegistration;
|
|
9646
|
+
} & Struct;
|
|
9647
|
+
readonly type: 'Teleport' | 'SetTokenGatewayAddresses' | 'CreateErc6160Asset' | 'UpdateErc6160Asset' | 'UpdateAssetPrecision' | 'RegisterAssetLocally';
|
|
10593
9648
|
}
|
|
10594
9649
|
/** @name PalletTokenGatewayTeleportParams (302) */
|
|
10595
9650
|
interface PalletTokenGatewayTeleportParams extends Struct {
|
|
@@ -10836,12 +9891,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
10836
9891
|
readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
|
|
10837
9892
|
readonly isFundingChangeAlreadyScheduled: boolean;
|
|
10838
9893
|
readonly isPendingCosignsBeforeCollect: boolean;
|
|
10839
|
-
readonly
|
|
9894
|
+
readonly isAccountAlreadyHasVault: boolean;
|
|
9895
|
+
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' | 'PendingCosignsBeforeCollect' | 'AccountAlreadyHasVault';
|
|
10840
9896
|
}
|
|
10841
9897
|
/** @name PalletBitcoinLocksLockedBitcoin (386) */
|
|
10842
9898
|
interface PalletBitcoinLocksLockedBitcoin extends Struct {
|
|
10843
9899
|
readonly vaultId: Compact<u32>;
|
|
10844
|
-
readonly
|
|
9900
|
+
readonly liquidityPromised: u128;
|
|
9901
|
+
readonly peggedPrice: u128;
|
|
10845
9902
|
readonly ownerAccount: AccountId32;
|
|
10846
9903
|
readonly securityFees: u128;
|
|
10847
9904
|
readonly satoshis: Compact<u64>;
|
|
@@ -11211,7 +10268,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
11211
10268
|
readonly isConsensusClientCreationFailed: boolean;
|
|
11212
10269
|
readonly isUnbondingPeriodUpdateFailed: boolean;
|
|
11213
10270
|
readonly isChallengePeriodUpdateFailed: boolean;
|
|
11214
|
-
readonly
|
|
10271
|
+
readonly isErrorChargingFee: boolean;
|
|
10272
|
+
readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed' | 'ErrorChargingFee';
|
|
11215
10273
|
}
|
|
11216
10274
|
/** @name PalletHyperbridgeError (480) */
|
|
11217
10275
|
type PalletHyperbridgeError = Null;
|
|
@@ -11267,35 +10325,37 @@ declare module '@polkadot/types/lookup' {
|
|
|
11267
10325
|
readonly isMaxAmountBelowMinimum: boolean;
|
|
11268
10326
|
readonly type: 'ContributionTooLow' | 'VaultNotAcceptingMiningBonds' | 'BelowMinimum' | 'NotAFundContributor' | 'InternalError' | 'CouldNotFindLiquidityPool' | 'MaxContributorsExceeded' | 'ActivatedSecuritizationExceeded' | 'MaxVaultsExceeded' | 'AlreadyRenewed' | 'NotAVaultOperator' | 'MaxAmountBelowMinimum';
|
|
11269
10327
|
}
|
|
11270
|
-
/** @name
|
|
10328
|
+
/** @name FrameSystemExtensionsAuthorizeCall (499) */
|
|
10329
|
+
type FrameSystemExtensionsAuthorizeCall = Null;
|
|
10330
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (500) */
|
|
11271
10331
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
11272
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
10332
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (501) */
|
|
11273
10333
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
11274
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
10334
|
+
/** @name FrameSystemExtensionsCheckTxVersion (502) */
|
|
11275
10335
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
11276
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
10336
|
+
/** @name FrameSystemExtensionsCheckGenesis (503) */
|
|
11277
10337
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
11278
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
10338
|
+
/** @name FrameSystemExtensionsCheckNonce (506) */
|
|
11279
10339
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
11280
10340
|
}
|
|
11281
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
10341
|
+
/** @name FrameSystemExtensionsCheckWeight (507) */
|
|
11282
10342
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
11283
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
10343
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (508) */
|
|
11284
10344
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
11285
10345
|
}
|
|
11286
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
10346
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (509) */
|
|
11287
10347
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
11288
10348
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
11289
10349
|
}
|
|
11290
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
10350
|
+
/** @name FrameMetadataHashExtensionMode (510) */
|
|
11291
10351
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
11292
10352
|
readonly isDisabled: boolean;
|
|
11293
10353
|
readonly isEnabled: boolean;
|
|
11294
10354
|
readonly type: 'Disabled' | 'Enabled';
|
|
11295
10355
|
}
|
|
11296
|
-
/** @name FrameSystemExtensionsWeightReclaim (
|
|
10356
|
+
/** @name FrameSystemExtensionsWeightReclaim (511) */
|
|
11297
10357
|
type FrameSystemExtensionsWeightReclaim = Null;
|
|
11298
|
-
/** @name ArgonRuntimeRuntime (
|
|
10358
|
+
/** @name ArgonRuntimeRuntime (513) */
|
|
11299
10359
|
type ArgonRuntimeRuntime = Null;
|
|
11300
10360
|
}
|
|
11301
10361
|
|
|
@@ -11389,31 +10449,9 @@ declare class TxResult {
|
|
|
11389
10449
|
private reject;
|
|
11390
10450
|
}
|
|
11391
10451
|
|
|
11392
|
-
declare class AccountRegistry {
|
|
11393
|
-
namedAccounts: Map<string, string>;
|
|
11394
|
-
me: string;
|
|
11395
|
-
constructor(name?: string);
|
|
11396
|
-
getName(address: string): string | undefined;
|
|
11397
|
-
register(address: string, name: string): void;
|
|
11398
|
-
static factory: (name?: string) => AccountRegistry;
|
|
11399
|
-
}
|
|
11400
|
-
|
|
11401
10452
|
declare const MICROGONS_PER_ARGON = 1000000;
|
|
11402
|
-
declare function miniSecretFromUri(uri: string, password?: string): string;
|
|
11403
10453
|
declare function formatArgons(microgons: bigint | number): string;
|
|
11404
|
-
declare function formatPercent(x: BigNumber | undefined): string;
|
|
11405
|
-
type NonNullableProps<T> = {
|
|
11406
|
-
[K in keyof T]-?: Exclude<T[K], undefined | null>;
|
|
11407
|
-
};
|
|
11408
|
-
declare function filterUndefined<T extends Record<string, any>>(obj: Partial<T>): NonNullableProps<T>;
|
|
11409
10454
|
declare function gettersToObject<T>(obj: T): Promise<T>;
|
|
11410
|
-
declare function toFixedNumber(value: string | number | BigNumber, // accept string to avoid early precision loss
|
|
11411
|
-
decimals: number): bigint;
|
|
11412
|
-
declare function convertNumberToFixedU128(value: number): bigint;
|
|
11413
|
-
declare function convertFixedU128ToBigNumber(fixedU128: bigint): BigNumber;
|
|
11414
|
-
declare function convertPermillToBigNumber(permill: bigint): BigNumber;
|
|
11415
|
-
declare function convertNumberToPermill(value: number): bigint;
|
|
11416
|
-
declare function eventDataToJson(event: GenericEvent): any;
|
|
11417
10455
|
declare function dispatchErrorToString(client: ArgonClient, error: DispatchError$1): string;
|
|
11418
10456
|
declare class ExtrinsicError extends Error {
|
|
11419
10457
|
readonly errorCode: string;
|
|
@@ -11430,310 +10468,14 @@ declare function dispatchErrorToExtrinsicError(client: ArgonClient, error: Dispa
|
|
|
11430
10468
|
* @returns A promise that resolves if the extrinsic was successful, and rejects if it failed
|
|
11431
10469
|
*/
|
|
11432
10470
|
declare function checkForExtrinsicSuccess(events: EventRecord[], client: ArgonClient): Promise<void>;
|
|
11433
|
-
/**
|
|
11434
|
-
* JSON with support for BigInt in JSON.stringify and JSON.parse
|
|
11435
|
-
*/
|
|
11436
|
-
declare class JsonExt {
|
|
11437
|
-
static stringify(obj: any, space?: number): string;
|
|
11438
|
-
static parse<T = any>(str: string): T;
|
|
11439
|
-
}
|
|
11440
|
-
declare function createNanoEvents<Events extends EventsMap = DefaultEvents>(): TypedEmitter<Events>;
|
|
11441
|
-
declare class TypedEmitter<Events extends EventsMap = DefaultEvents> {
|
|
11442
|
-
private events;
|
|
11443
|
-
emit<K extends keyof Events>(this: this, event: K, ...args: Parameters<Events[K]>): void;
|
|
11444
|
-
on<K extends keyof Events>(this: this, event: K, cb: Events[K]): () => void;
|
|
11445
|
-
}
|
|
11446
|
-
interface EventsMap {
|
|
11447
|
-
[event: string]: any;
|
|
11448
|
-
}
|
|
11449
|
-
interface DefaultEvents extends EventsMap {
|
|
11450
|
-
[event: string]: (...args: any) => void;
|
|
11451
|
-
}
|
|
11452
|
-
|
|
11453
|
-
type BlockWatchEvents = {
|
|
11454
|
-
block: (header: Header$1, digests: {
|
|
11455
|
-
tick: number;
|
|
11456
|
-
author: string;
|
|
11457
|
-
}, events: GenericEvent[]) => void;
|
|
11458
|
-
'vaults-updated': (header: Header$1, vaultIds: Set<number>) => void;
|
|
11459
|
-
'bitcoin-verified': (header: Header$1, lockedBitcoin: {
|
|
11460
|
-
utxoId: number;
|
|
11461
|
-
vaultId: number;
|
|
11462
|
-
lockPrice: bigint;
|
|
11463
|
-
}) => void;
|
|
11464
|
-
'mining-bid': (header: Header$1, bid: {
|
|
11465
|
-
amount: bigint;
|
|
11466
|
-
accountId: string;
|
|
11467
|
-
}) => void;
|
|
11468
|
-
'mining-bid-ousted': (header: Header$1, bid: {
|
|
11469
|
-
preservedArgonotHold: boolean;
|
|
11470
|
-
accountId: string;
|
|
11471
|
-
}) => void;
|
|
11472
|
-
event: (header: Header$1, event: GenericEvent) => void;
|
|
11473
|
-
};
|
|
11474
|
-
declare function getTickFromHeader(client: ArgonClient, header: Header$1): number | undefined;
|
|
11475
|
-
declare function getAuthorFromHeader(client: ArgonClient, header: Header$1): string | undefined;
|
|
11476
|
-
declare class BlockWatch {
|
|
11477
|
-
private readonly mainchain;
|
|
11478
|
-
private options;
|
|
11479
|
-
readonly events: TypedEmitter<BlockWatchEvents>;
|
|
11480
|
-
readonly locksById: {
|
|
11481
|
-
[utxoId: number]: {
|
|
11482
|
-
vaultId: number;
|
|
11483
|
-
lockPrice: bigint;
|
|
11484
|
-
};
|
|
11485
|
-
};
|
|
11486
|
-
private unsubscribe?;
|
|
11487
|
-
constructor(mainchain: Promise<ArgonClient>, options?: {
|
|
11488
|
-
finalizedBlocks?: boolean;
|
|
11489
|
-
shouldLog?: boolean;
|
|
11490
|
-
});
|
|
11491
|
-
stop(): void;
|
|
11492
|
-
start(): Promise<void>;
|
|
11493
|
-
private watchBlocks;
|
|
11494
|
-
private processBlock;
|
|
11495
|
-
private getBitcoinLockDetails;
|
|
11496
|
-
}
|
|
11497
|
-
|
|
11498
|
-
/**
|
|
11499
|
-
* 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
|
|
11500
|
-
* bidding, and frame 1 began once the first miners were selected. This occurred on February 24th, 2025 at 12pm EDT.
|
|
11501
|
-
*
|
|
11502
|
-
* This class calculates fromeId from ticks.
|
|
11503
|
-
*/
|
|
11504
|
-
declare class FrameCalculator {
|
|
11505
|
-
miningConfig: {
|
|
11506
|
-
ticksBetweenSlots: number;
|
|
11507
|
-
slotBiddingStartAfterTicks: number;
|
|
11508
|
-
} | undefined;
|
|
11509
|
-
genesisTick: number | undefined;
|
|
11510
|
-
tickMillis: number | undefined;
|
|
11511
|
-
load(client: ArgonClient): Promise<{
|
|
11512
|
-
ticksBetweenFrames: number;
|
|
11513
|
-
slotBiddingStartAfterTicks: number;
|
|
11514
|
-
genesisTick: number;
|
|
11515
|
-
tickMillis: number;
|
|
11516
|
-
biddingStartTick: number;
|
|
11517
|
-
}>;
|
|
11518
|
-
getForTick(client: ArgonClient, tick: number): Promise<number>;
|
|
11519
|
-
getTickRangeForFrame(client: ArgonClient, frameId: number): Promise<[number, number]>;
|
|
11520
|
-
getForHeader(client: ArgonClient, header: Header): Promise<number | undefined>;
|
|
11521
|
-
static frameToDateRange(frameId: number, config: {
|
|
11522
|
-
ticksBetweenFrames: number;
|
|
11523
|
-
biddingStartTick: number;
|
|
11524
|
-
tickMillis: number;
|
|
11525
|
-
}): [Date, Date];
|
|
11526
|
-
static calculateTickRangeForFrame(frameId: number, config: {
|
|
11527
|
-
ticksBetweenFrames: number;
|
|
11528
|
-
biddingStartTick: number;
|
|
11529
|
-
}): [number, number];
|
|
11530
|
-
private getConfig;
|
|
11531
|
-
}
|
|
11532
|
-
|
|
11533
|
-
declare class AccountMiners {
|
|
11534
|
-
private accountset;
|
|
11535
|
-
private options;
|
|
11536
|
-
events: TypedEmitter<{
|
|
11537
|
-
mined: (header: Header, earnings: {
|
|
11538
|
-
author: string;
|
|
11539
|
-
argons: bigint;
|
|
11540
|
-
argonots: bigint;
|
|
11541
|
-
forCohortWithStartingFrameId: number;
|
|
11542
|
-
duringFrameId: number;
|
|
11543
|
-
}) => void;
|
|
11544
|
-
minted: (header: Header, minted: {
|
|
11545
|
-
accountId: string;
|
|
11546
|
-
argons: bigint;
|
|
11547
|
-
forCohortWithStartingFrameId: number;
|
|
11548
|
-
duringFrameId: number;
|
|
11549
|
-
}) => void;
|
|
11550
|
-
}>;
|
|
11551
|
-
frameCalculator: FrameCalculator;
|
|
11552
|
-
private trackedAccountsByAddress;
|
|
11553
|
-
constructor(accountset: Accountset, registeredMiners: (ISubaccountMiner & {
|
|
11554
|
-
seat: IMiningIndex;
|
|
11555
|
-
})[], options?: {
|
|
11556
|
-
shouldLog: boolean;
|
|
11557
|
-
});
|
|
11558
|
-
watch(): Promise<BlockWatch>;
|
|
11559
|
-
onBlock(header: Header, digests: {
|
|
11560
|
-
author: string;
|
|
11561
|
-
tick: number;
|
|
11562
|
-
}, events: GenericEvent$1[]): Promise<{
|
|
11563
|
-
[cohortStartingFrameId: number]: {
|
|
11564
|
-
argonsMinted: bigint;
|
|
11565
|
-
argonsMined: bigint;
|
|
11566
|
-
argonotsMined: bigint;
|
|
11567
|
-
};
|
|
11568
|
-
duringFrameId: number;
|
|
11569
|
-
}>;
|
|
11570
|
-
private newCohortMiners;
|
|
11571
|
-
static loadAt(accountset: Accountset, options?: {
|
|
11572
|
-
blockHash?: Uint8Array;
|
|
11573
|
-
shouldLog?: boolean;
|
|
11574
|
-
}): Promise<AccountMiners>;
|
|
11575
|
-
}
|
|
11576
10471
|
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
subaccountIndex: number;
|
|
11582
|
-
seat?: IMiningIndex;
|
|
11583
|
-
isLastDay: boolean;
|
|
11584
|
-
}
|
|
11585
|
-
interface IMiningIndex {
|
|
11586
|
-
startingFrameId: number;
|
|
11587
|
-
index: number;
|
|
11588
|
-
bidAmount: bigint;
|
|
11589
|
-
}
|
|
11590
|
-
declare class Accountset {
|
|
11591
|
-
txSubmitterPair: KeyringPair;
|
|
11592
|
-
isProxy: boolean;
|
|
11593
|
-
seedAddress: string;
|
|
11594
|
-
subAccountsByAddress: {
|
|
11595
|
-
[address: string]: {
|
|
11596
|
-
index: number;
|
|
11597
|
-
pair?: KeyringPair;
|
|
11598
|
-
};
|
|
11599
|
-
};
|
|
11600
|
-
accountRegistry: AccountRegistry;
|
|
11601
|
-
readonly client: Promise<ArgonClient>;
|
|
11602
|
-
get addresses(): string[];
|
|
11603
|
-
get namedAccounts(): IAddressNames;
|
|
11604
|
-
private readonly sessionKeySeed;
|
|
11605
|
-
constructor(options: {
|
|
11606
|
-
client: Promise<ArgonClient>;
|
|
11607
|
-
accountRegistry?: AccountRegistry;
|
|
11608
|
-
subaccountRange?: SubaccountRange;
|
|
11609
|
-
sessionKeySeedOrMnemonic?: string;
|
|
11610
|
-
name?: string;
|
|
11611
|
-
} & ({
|
|
11612
|
-
seedAccount: KeyringPair;
|
|
11613
|
-
} | {
|
|
11614
|
-
seedAddress: string;
|
|
11615
|
-
isProxy: true;
|
|
11616
|
-
txSubmitter: KeyringPair;
|
|
11617
|
-
}));
|
|
11618
|
-
submitterBalance(blockHash?: Uint8Array): Promise<bigint>;
|
|
11619
|
-
balance(blockHash?: Uint8Array): Promise<bigint>;
|
|
11620
|
-
totalArgonsAt(blockHash?: Uint8Array): Promise<{
|
|
11621
|
-
address: string;
|
|
11622
|
-
amount: bigint;
|
|
11623
|
-
index: number;
|
|
11624
|
-
}[]>;
|
|
11625
|
-
totalArgonotsAt(blockHash?: Uint8Array): Promise<{
|
|
11626
|
-
address: string;
|
|
11627
|
-
amount: bigint;
|
|
11628
|
-
index: number;
|
|
11629
|
-
}[]>;
|
|
11630
|
-
getAvailableMinerAccounts(maxSeats: number): Promise<{
|
|
11631
|
-
index: number;
|
|
11632
|
-
isRebid: boolean;
|
|
11633
|
-
address: string;
|
|
11634
|
-
}[]>;
|
|
11635
|
-
loadRegisteredMiners(api: ApiDecoration<'promise'>): Promise<ISubaccountMiner[]>;
|
|
11636
|
-
miningSeats(blockHash?: Uint8Array): Promise<(ISubaccountMiner & {
|
|
11637
|
-
hasWinningBid: boolean;
|
|
11638
|
-
bidAmount?: bigint;
|
|
11639
|
-
})[]>;
|
|
11640
|
-
bids(blockHash?: Uint8Array): Promise<{
|
|
11641
|
-
address: string;
|
|
11642
|
-
bidPlace?: number;
|
|
11643
|
-
index: number;
|
|
11644
|
-
bidAmount: bigint;
|
|
11645
|
-
}[]>;
|
|
11646
|
-
consolidate(subaccounts?: SubaccountRange): Promise<{
|
|
11647
|
-
index: number;
|
|
11648
|
-
inBlock?: string;
|
|
11649
|
-
failedError?: Error;
|
|
11650
|
-
}[]>;
|
|
11651
|
-
status(opts: {
|
|
11652
|
-
argons: Awaited<ReturnType<Accountset['totalArgonsAt']>>;
|
|
11653
|
-
argonots: Awaited<ReturnType<Accountset['totalArgonotsAt']>>;
|
|
11654
|
-
seats: Awaited<ReturnType<Accountset['miningSeats']>>;
|
|
11655
|
-
bids: Awaited<ReturnType<Accountset['bids']>>;
|
|
11656
|
-
accountSubset?: ReturnType<Accountset['getAccountsInRange']>;
|
|
11657
|
-
}): IAccountStatus[];
|
|
11658
|
-
registerKeys(url: string): Promise<void>;
|
|
11659
|
-
keys(keysVersion?: number): {
|
|
11660
|
-
gran: {
|
|
11661
|
-
privateKey: string;
|
|
11662
|
-
publicKey: string;
|
|
11663
|
-
rawPublicKey: Uint8Array;
|
|
11664
|
-
};
|
|
11665
|
-
seal: {
|
|
11666
|
-
privateKey: string;
|
|
11667
|
-
publicKey: string;
|
|
11668
|
-
rawPublicKey: Uint8Array;
|
|
11669
|
-
};
|
|
11670
|
-
};
|
|
11671
|
-
tx(tx: SubmittableExtrinsic$1): Promise<TxSubmitter>;
|
|
11672
|
-
/**
|
|
11673
|
-
* Create but don't submit a mining bid transaction.
|
|
11674
|
-
* @param options
|
|
11675
|
-
*/
|
|
11676
|
-
createMiningBidTx(options: {
|
|
11677
|
-
subaccounts: {
|
|
11678
|
-
address: string;
|
|
11679
|
-
}[];
|
|
11680
|
-
bidAmount: bigint;
|
|
11681
|
-
}): Promise<TxSubmitter>;
|
|
11682
|
-
/**
|
|
11683
|
-
* Create a mining bid. This will create a bid for each account in the given range from the seed account as funding.
|
|
11684
|
-
*/
|
|
11685
|
-
createMiningBids(options: {
|
|
11686
|
-
subaccountRange?: SubaccountRange;
|
|
11687
|
-
bidAmount: bigint;
|
|
11688
|
-
tip?: bigint;
|
|
11689
|
-
}): Promise<{
|
|
11690
|
-
finalFee?: bigint;
|
|
11691
|
-
blockHash?: Uint8Array;
|
|
11692
|
-
bidError?: Error;
|
|
11693
|
-
successfulBids?: number;
|
|
11694
|
-
}>;
|
|
11695
|
-
getAccountsInRange(range?: SubaccountRange): IAccountAndKey[];
|
|
11696
|
-
watchBlocks(shouldLog?: boolean): Promise<AccountMiners>;
|
|
11697
|
-
}
|
|
11698
|
-
type IAccountAndKey = {
|
|
11699
|
-
pair?: KeyringPair;
|
|
11700
|
-
index: number;
|
|
11701
|
-
address: string;
|
|
11702
|
-
};
|
|
11703
|
-
interface IAccountStatus {
|
|
11704
|
-
index: string;
|
|
11705
|
-
address: string;
|
|
11706
|
-
argons: string;
|
|
11707
|
-
argonots: string;
|
|
11708
|
-
seat?: IMiningIndex;
|
|
11709
|
-
bidPlace?: number;
|
|
11710
|
-
bidAmount?: bigint;
|
|
11711
|
-
isWorkingOn?: boolean;
|
|
11712
|
-
}
|
|
10472
|
+
declare function keyringFromSuri(suri: string, cryptoType?: 'sr25519' | 'ed25519'): KeyringPair;
|
|
10473
|
+
declare function createKeyringPair(opts: {
|
|
10474
|
+
cryptoType?: 'sr25519' | 'ed25519';
|
|
10475
|
+
}): KeyringPair;
|
|
11713
10476
|
|
|
11714
|
-
declare
|
|
11715
|
-
|
|
11716
|
-
private shouldLog;
|
|
11717
|
-
nextCohort: {
|
|
11718
|
-
accountId: string;
|
|
11719
|
-
isOurs: string;
|
|
11720
|
-
bidAmount: bigint;
|
|
11721
|
-
}[];
|
|
11722
|
-
constructor(client: Promise<ArgonClient>, shouldLog?: boolean);
|
|
11723
|
-
maxCohortSize(): Promise<number>;
|
|
11724
|
-
onCohortChange(options: {
|
|
11725
|
-
onBiddingStart?: (cohortStartingFrameId: number) => Promise<void>;
|
|
11726
|
-
onBiddingEnd?: (cohortStartingFrameId: number) => Promise<void>;
|
|
11727
|
-
}): Promise<{
|
|
11728
|
-
unsubscribe: () => void;
|
|
11729
|
-
}>;
|
|
11730
|
-
watch(accountNames: IAddressNames, blockHash?: Uint8Array, printFn?: (blockNumber: number) => void): Promise<{
|
|
11731
|
-
unsubscribe: () => void;
|
|
11732
|
-
}>;
|
|
11733
|
-
loadAt(accountNames: IAddressNames, blockHash?: Uint8Array): Promise<void>;
|
|
11734
|
-
private toBid;
|
|
11735
|
-
print(): void;
|
|
11736
|
-
}
|
|
10477
|
+
declare function getTickFromHeader(client: ArgonClient, header: Header): number | undefined;
|
|
10478
|
+
declare function getAuthorFromHeader(client: ArgonClient, header: Header): string | undefined;
|
|
11737
10479
|
|
|
11738
10480
|
declare class Vault {
|
|
11739
10481
|
tickDuration: number;
|
|
@@ -11787,226 +10529,16 @@ interface ITerms {
|
|
|
11787
10529
|
readonly liquidityPoolProfitSharing: BigNumber;
|
|
11788
10530
|
}
|
|
11789
10531
|
|
|
11790
|
-
declare
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
shouldLog?: boolean;
|
|
11796
|
-
};
|
|
11797
|
-
events: TypedEmitter<{
|
|
11798
|
-
'bitcoin-space-above': (vaultId: number, amount: bigint) => void;
|
|
11799
|
-
'liquidity-pool-space-above': (vaultId: number, amount: bigint) => void;
|
|
11800
|
-
}>;
|
|
11801
|
-
readonly vaultsById: {
|
|
11802
|
-
[id: number]: Vault;
|
|
11803
|
-
};
|
|
11804
|
-
readonly blockWatch: BlockWatch;
|
|
11805
|
-
readonly mainchain: Promise<ArgonClient>;
|
|
11806
|
-
activatedCapitalByVault: {
|
|
11807
|
-
[vaultId: number]: bigint;
|
|
11808
|
-
};
|
|
11809
|
-
private lastPrintedBids;
|
|
11810
|
-
private readonly miningBids;
|
|
11811
|
-
private tickDuration;
|
|
11812
|
-
private vaultOnlyWatchMode;
|
|
11813
|
-
private shouldLog;
|
|
11814
|
-
constructor(accountset: Accountset, alerts?: WatchAlerts, options?: {
|
|
11815
|
-
vaultOnlyWatchMode?: boolean;
|
|
11816
|
-
shouldLog?: boolean;
|
|
11817
|
-
});
|
|
11818
|
-
stop(): void;
|
|
11819
|
-
monitor(justPrint?: boolean): Promise<void>;
|
|
11820
|
-
printVaults(): void;
|
|
11821
|
-
private recheckAfterActive;
|
|
11822
|
-
private onVaultsUpdated;
|
|
11823
|
-
private reloadVaultsAt;
|
|
11824
|
-
private updateVault;
|
|
11825
|
-
private checkAlerts;
|
|
11826
|
-
private checkMiningBondAlerts;
|
|
11827
|
-
private printBids;
|
|
11828
|
-
}
|
|
11829
|
-
type WatchAlerts = {
|
|
11830
|
-
/**
|
|
11831
|
-
* Alert when a vault has available space for bitcoins to move in greater than or equal to this amount
|
|
11832
|
-
*/
|
|
11833
|
-
bitcoinSpaceAvailable?: bigint;
|
|
11834
|
-
/**
|
|
11835
|
-
* Liquidity pool space available
|
|
11836
|
-
*/
|
|
11837
|
-
liquidityPoolSpaceAvailable?: bigint;
|
|
11838
|
-
};
|
|
11839
|
-
|
|
11840
|
-
interface IBidDetail {
|
|
11841
|
-
address: string;
|
|
11842
|
-
bidMicrogons: bigint;
|
|
11843
|
-
bidAtTick: number;
|
|
11844
|
-
}
|
|
11845
|
-
declare class CohortBidder {
|
|
11846
|
-
accountset: Accountset;
|
|
11847
|
-
cohortStartingFrameId: number;
|
|
11848
|
-
subaccounts: {
|
|
11849
|
-
index: number;
|
|
11850
|
-
isRebid: boolean;
|
|
11851
|
-
address: string;
|
|
11852
|
-
}[];
|
|
11853
|
-
options: {
|
|
11854
|
-
minBid: bigint;
|
|
11855
|
-
maxBid: bigint;
|
|
11856
|
-
maxBudget: bigint;
|
|
11857
|
-
bidIncrement: bigint;
|
|
11858
|
-
bidDelay: number;
|
|
11859
|
-
tipPerTransaction?: bigint;
|
|
11860
|
-
};
|
|
11861
|
-
callbacks?: {
|
|
11862
|
-
onBidsUpdated?(args: {
|
|
11863
|
-
bids: IBidDetail[];
|
|
11864
|
-
atBlockNumber: number;
|
|
11865
|
-
tick: number;
|
|
11866
|
-
}): void;
|
|
11867
|
-
onBidParamsAdjusted?(args: {
|
|
11868
|
-
tick: number;
|
|
11869
|
-
blockNumber: number;
|
|
11870
|
-
maxSeats: number;
|
|
11871
|
-
winningBidCount: number;
|
|
11872
|
-
reason: "max-bid-too-low" | "insufficient-balance" | "max-budget-too-low";
|
|
11873
|
-
availableBalanceForBids: bigint;
|
|
11874
|
-
}): void;
|
|
11875
|
-
onBidsSubmitted?(args: {
|
|
11876
|
-
tick: number;
|
|
11877
|
-
blockNumber: number;
|
|
11878
|
-
microgonsPerSeat: bigint;
|
|
11879
|
-
txFeePlusTip: bigint;
|
|
11880
|
-
submittedCount: number;
|
|
11881
|
-
}): void;
|
|
11882
|
-
onBidsRejected?(args: {
|
|
11883
|
-
tick: number;
|
|
11884
|
-
blockNumber: number;
|
|
11885
|
-
microgonsPerSeat: bigint;
|
|
11886
|
-
submittedCount: number;
|
|
11887
|
-
rejectedCount: number;
|
|
11888
|
-
bidError: ExtrinsicError;
|
|
11889
|
-
}): void;
|
|
11890
|
-
} | undefined;
|
|
11891
|
-
get clientPromise(): Promise<ArgonClient>;
|
|
11892
|
-
txFees: bigint;
|
|
11893
|
-
bidsAttempted: number;
|
|
11894
|
-
winningBids: IBidDetail[];
|
|
11895
|
-
readonly myAddresses: Set<string>;
|
|
11896
|
-
readonly currentBids: {
|
|
11897
|
-
atBlockNumber: number;
|
|
11898
|
-
atTick: number;
|
|
11899
|
-
mostRecentBidTick: number;
|
|
11900
|
-
bids: IBidDetail[];
|
|
11901
|
-
};
|
|
11902
|
-
private unsubscribe?;
|
|
11903
|
-
private pendingRequest;
|
|
11904
|
-
private isStopped;
|
|
11905
|
-
private millisPerTick?;
|
|
11906
|
-
private minIncrement;
|
|
11907
|
-
private nextCohortSize?;
|
|
11908
|
-
private lastBidTick;
|
|
11909
|
-
private evaluateInterval?;
|
|
11910
|
-
constructor(accountset: Accountset, cohortStartingFrameId: number, subaccounts: {
|
|
11911
|
-
index: number;
|
|
11912
|
-
isRebid: boolean;
|
|
11913
|
-
address: string;
|
|
11914
|
-
}[], options: {
|
|
11915
|
-
minBid: bigint;
|
|
11916
|
-
maxBid: bigint;
|
|
11917
|
-
maxBudget: bigint;
|
|
11918
|
-
bidIncrement: bigint;
|
|
11919
|
-
bidDelay: number;
|
|
11920
|
-
tipPerTransaction?: bigint;
|
|
11921
|
-
}, callbacks?: {
|
|
11922
|
-
onBidsUpdated?(args: {
|
|
11923
|
-
bids: IBidDetail[];
|
|
11924
|
-
atBlockNumber: number;
|
|
11925
|
-
tick: number;
|
|
11926
|
-
}): void;
|
|
11927
|
-
onBidParamsAdjusted?(args: {
|
|
11928
|
-
tick: number;
|
|
11929
|
-
blockNumber: number;
|
|
11930
|
-
maxSeats: number;
|
|
11931
|
-
winningBidCount: number;
|
|
11932
|
-
reason: "max-bid-too-low" | "insufficient-balance" | "max-budget-too-low";
|
|
11933
|
-
availableBalanceForBids: bigint;
|
|
11934
|
-
}): void;
|
|
11935
|
-
onBidsSubmitted?(args: {
|
|
11936
|
-
tick: number;
|
|
11937
|
-
blockNumber: number;
|
|
11938
|
-
microgonsPerSeat: bigint;
|
|
11939
|
-
txFeePlusTip: bigint;
|
|
11940
|
-
submittedCount: number;
|
|
11941
|
-
}): void;
|
|
11942
|
-
onBidsRejected?(args: {
|
|
11943
|
-
tick: number;
|
|
11944
|
-
blockNumber: number;
|
|
11945
|
-
microgonsPerSeat: bigint;
|
|
11946
|
-
submittedCount: number;
|
|
11947
|
-
rejectedCount: number;
|
|
11948
|
-
bidError: ExtrinsicError;
|
|
11949
|
-
}): void;
|
|
11950
|
-
} | undefined);
|
|
11951
|
-
start(): Promise<void>;
|
|
11952
|
-
stop(): Promise<CohortBidder['winningBids']>;
|
|
11953
|
-
private checkWinningBids;
|
|
11954
|
-
private submitBids;
|
|
11955
|
-
private scheduleEvaluation;
|
|
11956
|
-
private updateBidList;
|
|
11957
|
-
private safeRecordParamsAdjusted;
|
|
11958
|
-
}
|
|
11959
|
-
|
|
11960
|
-
interface IContributor {
|
|
11961
|
-
address: string;
|
|
11962
|
-
amount: bigint;
|
|
11963
|
-
}
|
|
11964
|
-
interface IVaultMiningBondFund {
|
|
11965
|
-
activatedCapital: bigint;
|
|
11966
|
-
contributors?: IContributor[];
|
|
11967
|
-
vaultSharingPercent?: BigNumber;
|
|
11968
|
-
earnings?: bigint;
|
|
11969
|
-
}
|
|
11970
|
-
declare class BidPool {
|
|
11971
|
-
readonly client: Promise<ArgonClient>;
|
|
11972
|
-
readonly keypair: KeyringPair;
|
|
11973
|
-
readonly accountRegistry: AccountRegistry;
|
|
11974
|
-
bidPoolAmount: bigint;
|
|
11975
|
-
nextFrameId: number;
|
|
11976
|
-
poolVaultCapitalByFrame: {
|
|
11977
|
-
[frameId: number]: {
|
|
11978
|
-
[vaultId: number]: IVaultMiningBondFund;
|
|
11979
|
-
};
|
|
11980
|
-
};
|
|
11981
|
-
private vaultSecuritization;
|
|
11982
|
-
private printTimeout?;
|
|
11983
|
-
private blockWatch;
|
|
11984
|
-
private vaultsById;
|
|
11985
|
-
private tickDuration?;
|
|
11986
|
-
private lastDistributedFrameId?;
|
|
11987
|
-
private FrameSubscriptions;
|
|
11988
|
-
constructor(client: Promise<ArgonClient>, keypair: KeyringPair, accountRegistry?: AccountRegistry);
|
|
11989
|
-
private onVaultsUpdated;
|
|
11990
|
-
getBidPool(): Promise<bigint>;
|
|
11991
|
-
loadAt(blockHash?: Uint8Array): Promise<void>;
|
|
11992
|
-
watch(): Promise<{
|
|
11993
|
-
unsubscribe: () => void;
|
|
11994
|
-
}>;
|
|
11995
|
-
bondArgons(vaultId: number, amount: bigint, options?: {
|
|
11996
|
-
tip: bigint;
|
|
11997
|
-
}): Promise<TxResult>;
|
|
11998
|
-
printDebounce(): void;
|
|
11999
|
-
getOperatorName(vaultId: number): string;
|
|
12000
|
-
print(): void;
|
|
12001
|
-
private setVaultFrameData;
|
|
12002
|
-
private createBondCapitalTable;
|
|
12003
|
-
private loadFrameData;
|
|
12004
|
-
}
|
|
10532
|
+
declare function toFixedNumber(value: string | number | BigNumber, // accept string to avoid early precision loss
|
|
10533
|
+
decimals: number): bigint;
|
|
10534
|
+
declare function fromFixedNumber(value: bigint, decimals?: number): BigNumber;
|
|
10535
|
+
declare const FIXED_U128_DECIMALS = 18;
|
|
10536
|
+
declare const PERMILL_DECIMALS = 6;
|
|
12005
10537
|
|
|
12006
10538
|
declare const SATS_PER_BTC = 100000000n;
|
|
12007
10539
|
declare class BitcoinLocks {
|
|
12008
|
-
readonly client:
|
|
12009
|
-
constructor(client:
|
|
10540
|
+
readonly client: ArgonClient;
|
|
10541
|
+
constructor(client: ArgonClient);
|
|
12010
10542
|
getUtxoIdFromEvents(events: GenericEvent$1[]): Promise<number | undefined>;
|
|
12011
10543
|
getMarketRate(satoshis: bigint): Promise<bigint>;
|
|
12012
10544
|
getRedemptionRate(satoshis: bigint): Promise<bigint>;
|
|
@@ -12015,18 +10547,18 @@ declare class BitcoinLocks {
|
|
|
12015
10547
|
/**
|
|
12016
10548
|
* Gets the UTXO reference by ID.
|
|
12017
10549
|
* @param utxoId - The UTXO ID to look up.
|
|
12018
|
-
* @param
|
|
10550
|
+
* @param clientAtHeight - Optional client at the block height to query the UTXO reference at a specific point in time.
|
|
12019
10551
|
* @return An object containing the transaction ID and output index, or undefined if not found.
|
|
12020
10552
|
* @return.txid - The Bitcoin transaction ID of the UTXO.
|
|
12021
10553
|
* @return.vout - The output index of the UTXO in the transaction.
|
|
12022
10554
|
* @return.bitcoinTxid - The Bitcoin transaction ID of the UTXO formatted in little endian
|
|
12023
10555
|
*/
|
|
12024
|
-
getUtxoRef(utxoId: number,
|
|
10556
|
+
getUtxoRef(utxoId: number, clientAtHeight?: ApiDecoration<'promise'>): Promise<{
|
|
12025
10557
|
txid: string;
|
|
12026
10558
|
vout: number;
|
|
12027
10559
|
bitcoinTxid: string;
|
|
12028
10560
|
} | undefined>;
|
|
12029
|
-
getReleaseRequest(utxoId: number,
|
|
10561
|
+
getReleaseRequest(utxoId: number, clientAtHeight?: ApiDecoration<'promise'>): Promise<IReleaseRequestDetails | undefined>;
|
|
12030
10562
|
submitVaultSignature(args: {
|
|
12031
10563
|
utxoId: number;
|
|
12032
10564
|
vaultSignature: Uint8Array;
|
|
@@ -12054,7 +10586,7 @@ declare class BitcoinLocks {
|
|
|
12054
10586
|
reducedBalanceBy?: bigint;
|
|
12055
10587
|
tip?: bigint;
|
|
12056
10588
|
}): Promise<{
|
|
12057
|
-
tx:
|
|
10589
|
+
tx: _polkadot_api_types.SubmittableExtrinsic<"promise", _polkadot_types_types_extrinsic.ISubmittableResult>;
|
|
12058
10590
|
securityFee: bigint;
|
|
12059
10591
|
txFee: bigint;
|
|
12060
10592
|
}>;
|
|
@@ -12087,7 +10619,7 @@ declare class BitcoinLocks {
|
|
|
12087
10619
|
blockHash: Uint8Array;
|
|
12088
10620
|
blockHeight: number;
|
|
12089
10621
|
}>;
|
|
12090
|
-
releasePrice(satoshis: bigint,
|
|
10622
|
+
releasePrice(satoshis: bigint, peggedPrice: bigint): Promise<bigint>;
|
|
12091
10623
|
getRatchetPrice(lock: IBitcoinLock, vault: Vault): Promise<{
|
|
12092
10624
|
burnAmount: bigint;
|
|
12093
10625
|
ratchetingFee: bigint;
|
|
@@ -12102,27 +10634,12 @@ declare class BitcoinLocks {
|
|
|
12102
10634
|
}): Promise<{
|
|
12103
10635
|
securityFee: bigint;
|
|
12104
10636
|
txFee: bigint;
|
|
12105
|
-
|
|
10637
|
+
newPeggedPrice: bigint;
|
|
12106
10638
|
pendingMint: bigint;
|
|
12107
10639
|
burned: bigint;
|
|
12108
10640
|
blockHeight: number;
|
|
12109
10641
|
bitcoinBlockHeight: number;
|
|
12110
10642
|
}>;
|
|
12111
|
-
static waitForSpace(accountset: Accountset, options: {
|
|
12112
|
-
argonAmount: bigint;
|
|
12113
|
-
bitcoinXpub: string;
|
|
12114
|
-
maxLockFee?: bigint;
|
|
12115
|
-
tip?: bigint;
|
|
12116
|
-
satoshiWiggleRoomForDynamicPrice?: bigint;
|
|
12117
|
-
}): Promise<{
|
|
12118
|
-
satoshis: bigint;
|
|
12119
|
-
argons: bigint;
|
|
12120
|
-
vaultId: number;
|
|
12121
|
-
txFee: bigint;
|
|
12122
|
-
securityFee: bigint;
|
|
12123
|
-
utxoId: number;
|
|
12124
|
-
finalizedPromise: Promise<Uint8Array>;
|
|
12125
|
-
}>;
|
|
12126
10643
|
}
|
|
12127
10644
|
interface IBitcoinLockConfig {
|
|
12128
10645
|
lockReleaseCosignDeadlineFrames: number;
|
|
@@ -12143,7 +10660,8 @@ interface IBitcoinLock {
|
|
|
12143
10660
|
utxoId: number;
|
|
12144
10661
|
p2wshScriptHashHex: string;
|
|
12145
10662
|
vaultId: number;
|
|
12146
|
-
|
|
10663
|
+
peggedPrice: bigint;
|
|
10664
|
+
liquidityPromised: bigint;
|
|
12147
10665
|
ownerAccount: string;
|
|
12148
10666
|
satoshis: bigint;
|
|
12149
10667
|
vaultPubkey: string;
|
|
@@ -12162,20 +10680,6 @@ interface IBitcoinLock {
|
|
|
12162
10680
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
12163
10681
|
}
|
|
12164
10682
|
|
|
12165
|
-
declare function keyringFromSuri(suri: string, cryptoType?: 'sr25519' | 'ed25519'): KeyringPair;
|
|
12166
|
-
declare function createKeyringPair(opts: {
|
|
12167
|
-
cryptoType?: 'sr25519' | 'ed25519';
|
|
12168
|
-
}): KeyringPair;
|
|
12169
|
-
|
|
12170
|
-
interface ArgonClientConfig {
|
|
12171
|
-
debug?: boolean;
|
|
12172
|
-
keysVersion?: number;
|
|
12173
|
-
keySeedOrMnemonic?: string;
|
|
12174
|
-
subaccountRange?: string;
|
|
12175
|
-
}
|
|
12176
|
-
declare function setConfig(newConfig: ArgonClientConfig): void;
|
|
12177
|
-
declare function getConfig(): ArgonClientConfig;
|
|
12178
|
-
|
|
12179
10683
|
type ArgonClient = ApiPromise;
|
|
12180
10684
|
/**
|
|
12181
10685
|
* Wait for the crypto library to be ready (requires wasm, which needs async loading in commonjs)
|
|
@@ -12184,8 +10688,9 @@ declare function waitForLoad(): Promise<void>;
|
|
|
12184
10688
|
/**
|
|
12185
10689
|
* Get a client for the given host
|
|
12186
10690
|
* @param host The host to connect to
|
|
10691
|
+
* @param options Additional options for the API
|
|
12187
10692
|
* @returns The client
|
|
12188
10693
|
*/
|
|
12189
|
-
declare function getClient(host: string): Promise<ArgonClient>;
|
|
10694
|
+
declare function getClient(host: string, options?: ApiOptions): Promise<ArgonClient>;
|
|
12190
10695
|
|
|
12191
|
-
export {
|
|
10696
|
+
export { type ArgonClient, BitcoinLocks, ExtrinsicError, FIXED_U128_DECIMALS, type IBitcoinLock, type IBitcoinLockConfig, type IReleaseRequest, type IReleaseRequestDetails, type ITerms, type ITxProgressCallback, MICROGONS_PER_ARGON, PERMILL_DECIMALS, SATS_PER_BTC, TxResult, TxSubmitter, Vault, WageProtector, checkForExtrinsicSuccess, createKeyringPair, dispatchErrorToExtrinsicError, dispatchErrorToString, formatArgons, fromFixedNumber, getAuthorFromHeader, getClient, getTickFromHeader, gettersToObject, keyringFromSuri, toFixedNumber, waitForLoad };
|