@argonprotocol/mainchain 1.0.18 → 1.1.0-rc.2
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 +110 -3
- package/lib/cli.cjs +3078 -0
- package/lib/cli.cjs.map +1 -0
- package/lib/cli.d.cts +1 -0
- package/lib/cli.d.ts +1 -0
- package/lib/cli.js +3073 -0
- package/lib/cli.js.map +1 -0
- package/lib/clis/index.cjs +3097 -0
- package/lib/clis/index.cjs.map +1 -0
- package/lib/clis/index.d.cts +26 -0
- package/lib/clis/index.d.ts +26 -0
- package/lib/clis/index.js +3077 -0
- package/lib/clis/index.js.map +1 -0
- package/lib/index.cjs +2402 -0
- package/lib/index.cjs.map +1 -0
- package/lib/index.d.cts +11542 -0
- package/lib/index.d.ts +11542 -0
- package/lib/index.js +2333 -0
- package/lib/index.js.map +1 -0
- package/lib/test-utils/index.cjs +2933 -0
- package/lib/test-utils/index.cjs.map +1 -0
- package/lib/test-utils/index.d.cts +180 -0
- package/lib/test-utils/index.d.ts +180 -0
- package/lib/test-utils/index.js +2915 -0
- package/lib/test-utils/index.js.map +1 -0
- package/package.json +50 -45
- package/lib/cjs/WageProtector.d.ts +0 -37
- package/lib/cjs/WageProtector.js +0 -64
- package/lib/cjs/WageProtector.js.map +0 -1
- package/lib/cjs/__test__/WageProtector.test.d.ts +0 -1
- package/lib/cjs/__test__/WageProtector.test.js +0 -28
- package/lib/cjs/__test__/WageProtector.test.js.map +0 -1
- package/lib/cjs/examples/decodePkcs.d.ts +0 -1
- package/lib/cjs/examples/decodePkcs.js +0 -48
- package/lib/cjs/examples/decodePkcs.js.map +0 -1
- package/lib/cjs/examples/findSs58Formats.d.ts +0 -1
- package/lib/cjs/examples/findSs58Formats.js +0 -42
- package/lib/cjs/examples/findSs58Formats.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -32
- package/lib/cjs/index.js +0 -60
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-consts.d.ts +0 -442
- package/lib/cjs/interfaces/augment-api-consts.js +0 -8
- package/lib/cjs/interfaces/augment-api-consts.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-errors.d.ts +0 -919
- package/lib/cjs/interfaces/augment-api-errors.js +0 -8
- package/lib/cjs/interfaces/augment-api-errors.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-events.d.ts +0 -1675
- package/lib/cjs/interfaces/augment-api-events.js +0 -8
- package/lib/cjs/interfaces/augment-api-events.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-query.d.ts +0 -988
- package/lib/cjs/interfaces/augment-api-query.js +0 -8
- package/lib/cjs/interfaces/augment-api-query.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-rpc.d.ts +0 -683
- package/lib/cjs/interfaces/augment-api-rpc.js +0 -8
- package/lib/cjs/interfaces/augment-api-rpc.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-runtime.d.ts +0 -204
- package/lib/cjs/interfaces/augment-api-runtime.js +0 -8
- package/lib/cjs/interfaces/augment-api-runtime.js.map +0 -1
- package/lib/cjs/interfaces/augment-api-tx.d.ts +0 -1605
- package/lib/cjs/interfaces/augment-api-tx.js +0 -8
- package/lib/cjs/interfaces/augment-api-tx.js.map +0 -1
- package/lib/cjs/interfaces/augment-api.d.ts +0 -7
- package/lib/cjs/interfaces/augment-api.js +0 -12
- package/lib/cjs/interfaces/augment-api.js.map +0 -1
- package/lib/cjs/interfaces/augment-types.d.ts +0 -1316
- package/lib/cjs/interfaces/augment-types.js +0 -8
- package/lib/cjs/interfaces/augment-types.js.map +0 -1
- package/lib/cjs/interfaces/definitions.d.ts +0 -0
- package/lib/cjs/interfaces/definitions.js +0 -2
- package/lib/cjs/interfaces/definitions.js.map +0 -1
- package/lib/cjs/interfaces/lookup.d.ts +0 -2999
- package/lib/cjs/interfaces/lookup.js +0 -3262
- package/lib/cjs/interfaces/lookup.js.map +0 -1
- package/lib/cjs/interfaces/registry.d.ts +0 -250
- package/lib/cjs/interfaces/registry.js +0 -8
- package/lib/cjs/interfaces/registry.js.map +0 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +0 -2974
- package/lib/cjs/interfaces/types-lookup.js +0 -8
- package/lib/cjs/interfaces/types-lookup.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/esm/WageProtector.d.ts +0 -37
- package/lib/esm/WageProtector.js +0 -60
- package/lib/esm/WageProtector.js.map +0 -1
- package/lib/esm/__test__/WageProtector.test.d.ts +0 -1
- package/lib/esm/__test__/WageProtector.test.js +0 -26
- package/lib/esm/__test__/WageProtector.test.js.map +0 -1
- package/lib/esm/examples/decodePkcs.d.ts +0 -1
- package/lib/esm/examples/decodePkcs.js +0 -45
- package/lib/esm/examples/decodePkcs.js.map +0 -1
- package/lib/esm/examples/findSs58Formats.d.ts +0 -1
- package/lib/esm/examples/findSs58Formats.js +0 -39
- package/lib/esm/examples/findSs58Formats.js.map +0 -1
- package/lib/esm/index.d.ts +0 -32
- package/lib/esm/index.js +0 -50
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/interfaces/augment-api-consts.d.ts +0 -442
- package/lib/esm/interfaces/augment-api-consts.js +0 -6
- package/lib/esm/interfaces/augment-api-consts.js.map +0 -1
- package/lib/esm/interfaces/augment-api-errors.d.ts +0 -919
- package/lib/esm/interfaces/augment-api-errors.js +0 -6
- package/lib/esm/interfaces/augment-api-errors.js.map +0 -1
- package/lib/esm/interfaces/augment-api-events.d.ts +0 -1675
- package/lib/esm/interfaces/augment-api-events.js +0 -6
- package/lib/esm/interfaces/augment-api-events.js.map +0 -1
- package/lib/esm/interfaces/augment-api-query.d.ts +0 -988
- package/lib/esm/interfaces/augment-api-query.js +0 -6
- package/lib/esm/interfaces/augment-api-query.js.map +0 -1
- package/lib/esm/interfaces/augment-api-rpc.d.ts +0 -683
- package/lib/esm/interfaces/augment-api-rpc.js +0 -6
- package/lib/esm/interfaces/augment-api-rpc.js.map +0 -1
- package/lib/esm/interfaces/augment-api-runtime.d.ts +0 -204
- package/lib/esm/interfaces/augment-api-runtime.js +0 -6
- package/lib/esm/interfaces/augment-api-runtime.js.map +0 -1
- package/lib/esm/interfaces/augment-api-tx.d.ts +0 -1605
- package/lib/esm/interfaces/augment-api-tx.js +0 -6
- package/lib/esm/interfaces/augment-api-tx.js.map +0 -1
- package/lib/esm/interfaces/augment-api.d.ts +0 -7
- package/lib/esm/interfaces/augment-api.js +0 -10
- package/lib/esm/interfaces/augment-api.js.map +0 -1
- package/lib/esm/interfaces/augment-types.d.ts +0 -1316
- package/lib/esm/interfaces/augment-types.js +0 -6
- package/lib/esm/interfaces/augment-types.js.map +0 -1
- package/lib/esm/interfaces/definitions.d.ts +0 -0
- package/lib/esm/interfaces/definitions.js +0 -2
- package/lib/esm/interfaces/definitions.js.map +0 -1
- package/lib/esm/interfaces/lookup.d.ts +0 -2999
- package/lib/esm/interfaces/lookup.js +0 -3260
- package/lib/esm/interfaces/lookup.js.map +0 -1
- package/lib/esm/interfaces/registry.d.ts +0 -250
- package/lib/esm/interfaces/registry.js +0 -6
- package/lib/esm/interfaces/registry.js.map +0 -1
- package/lib/esm/interfaces/types-lookup.d.ts +0 -2974
- package/lib/esm/interfaces/types-lookup.js +0 -6
- package/lib/esm/interfaces/types-lookup.js.map +0 -1
- package/lib/tsconfig-cjs.tsbuildinfo +0 -1
- package/lib/tsconfig-types.tsbuildinfo +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/WageProtector.d.ts +0 -37
- package/lib/types/__test__/WageProtector.test.d.ts +0 -1
- package/lib/types/examples/decodePkcs.d.ts +0 -1
- package/lib/types/examples/findSs58Formats.d.ts +0 -1
- package/lib/types/index.d.ts +0 -32
- package/lib/types/interfaces/augment-api-consts.d.ts +0 -442
- package/lib/types/interfaces/augment-api-errors.d.ts +0 -919
- package/lib/types/interfaces/augment-api-events.d.ts +0 -1675
- package/lib/types/interfaces/augment-api-query.d.ts +0 -988
- package/lib/types/interfaces/augment-api-rpc.d.ts +0 -683
- package/lib/types/interfaces/augment-api-runtime.d.ts +0 -204
- package/lib/types/interfaces/augment-api-tx.d.ts +0 -1605
- package/lib/types/interfaces/augment-api.d.ts +0 -7
- package/lib/types/interfaces/augment-types.d.ts +0 -1316
- package/lib/types/interfaces/definitions.d.ts +0 -0
- package/lib/types/interfaces/lookup.d.ts +0 -2999
- package/lib/types/interfaces/registry.d.ts +0 -250
- package/lib/types/interfaces/types-lookup.d.ts +0 -2974
|
@@ -1,988 +0,0 @@
|
|
|
1
|
-
import '@polkadot/api-base/types/storage';
|
|
2
|
-
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
3
|
-
import type { BTreeMap, Bytes, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { ArgonNotaryAuditErrorVerifyError, ArgonPrimitivesBalanceChangeAccountOrigin, ArgonPrimitivesBitcoinBitcoinBlock, ArgonPrimitivesBitcoinBitcoinNetwork, ArgonPrimitivesBitcoinBitcoinXPub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesBitcoinUtxoValue, ArgonPrimitivesBlockSealBlockPayout, ArgonPrimitivesBlockSealMiningBidStats, ArgonPrimitivesBlockSealMiningRegistration, ArgonPrimitivesBlockSealMiningSlotConfig, ArgonPrimitivesDigestsBlockVoteDigest, ArgonPrimitivesDigestsDigestset, ArgonPrimitivesDigestsNotebookDigest, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesForkPower, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotaryNotaryNotebookKeyDetails, ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails, ArgonPrimitivesNotaryNotaryRecord, ArgonPrimitivesProvidersBlockSealerInfo, ArgonPrimitivesTickTicker, ArgonPrimitivesVault, ArgonPrimitivesVaultObligation, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, IsmpConsensusStateCommitment, IsmpConsensusStateMachineHeight, IsmpConsensusStateMachineId, IsmpHostStateMachine, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBitcoinLocksLockReleaseRequest, PalletBitcoinLocksLockedBitcoin, PalletChainTransferQueuedTransferOut, PalletDomainsDomainRegistration, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHyperbridgeVersionedHostParams, PalletMintMintAction, PalletMultisigMultisig, PalletPriceIndexPriceIndex, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletTransactionPaymentReleases, PalletVaultsBidPoolEntrant, SpConsensusGrandpaAppPublic, SpRuntimeDigest } from '@polkadot/types/lookup';
|
|
7
|
-
import type { Observable } from '@polkadot/types/types';
|
|
8
|
-
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
9
|
-
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
10
|
-
declare module '@polkadot/api-base/types/storage' {
|
|
11
|
-
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
12
|
-
authorship: {
|
|
13
|
-
/**
|
|
14
|
-
* Author of current block.
|
|
15
|
-
**/
|
|
16
|
-
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
17
|
-
]>;
|
|
18
|
-
};
|
|
19
|
-
balances: {
|
|
20
|
-
/**
|
|
21
|
-
* The Balances pallet example of storing the balance of an account.
|
|
22
|
-
*
|
|
23
|
-
* # Example
|
|
24
|
-
*
|
|
25
|
-
* ```nocompile
|
|
26
|
-
* impl pallet_balances::Config for Runtime {
|
|
27
|
-
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
|
|
28
|
-
* }
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* You can also store the balance of an account in the `System` pallet.
|
|
32
|
-
*
|
|
33
|
-
* # Example
|
|
34
|
-
*
|
|
35
|
-
* ```nocompile
|
|
36
|
-
* impl pallet_balances::Config for Runtime {
|
|
37
|
-
* type AccountStore = System
|
|
38
|
-
* }
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* But this comes with tradeoffs, storing account balances in the system pallet stores
|
|
42
|
-
* `frame_system` data alongside the account data contrary to storing account balances in the
|
|
43
|
-
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
44
|
-
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
45
|
-
**/
|
|
46
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
47
|
-
AccountId32
|
|
48
|
-
]>;
|
|
49
|
-
/**
|
|
50
|
-
* Freeze locks on account balances.
|
|
51
|
-
**/
|
|
52
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
53
|
-
AccountId32
|
|
54
|
-
]>;
|
|
55
|
-
/**
|
|
56
|
-
* Holds on account balances.
|
|
57
|
-
**/
|
|
58
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
59
|
-
AccountId32
|
|
60
|
-
]>;
|
|
61
|
-
/**
|
|
62
|
-
* The total units of outstanding deactivated balance in the system.
|
|
63
|
-
**/
|
|
64
|
-
inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
65
|
-
/**
|
|
66
|
-
* Any liquidity locks on some account balances.
|
|
67
|
-
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
68
|
-
*
|
|
69
|
-
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
70
|
-
**/
|
|
71
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
72
|
-
AccountId32
|
|
73
|
-
]>;
|
|
74
|
-
/**
|
|
75
|
-
* Named reserves on some account balances.
|
|
76
|
-
*
|
|
77
|
-
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
78
|
-
**/
|
|
79
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
80
|
-
AccountId32
|
|
81
|
-
]>;
|
|
82
|
-
/**
|
|
83
|
-
* The total units issued in the system.
|
|
84
|
-
**/
|
|
85
|
-
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
86
|
-
};
|
|
87
|
-
bitcoinLocks: {
|
|
88
|
-
/**
|
|
89
|
-
* Stores the block number where the lock was released
|
|
90
|
-
**/
|
|
91
|
-
lockReleaseCosignHeightById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
92
|
-
u64
|
|
93
|
-
]>;
|
|
94
|
-
/**
|
|
95
|
-
* Stores bitcoin utxos that have requested to be released
|
|
96
|
-
**/
|
|
97
|
-
locksByUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBitcoinLocksLockedBitcoin>>, [
|
|
98
|
-
u64
|
|
99
|
-
]>;
|
|
100
|
-
/**
|
|
101
|
-
* Utxos that have been requested to be cosigned for releasing
|
|
102
|
-
**/
|
|
103
|
-
locksPendingReleaseByUtxoId: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, PalletBitcoinLocksLockReleaseRequest>>, [
|
|
104
|
-
]>;
|
|
105
|
-
/**
|
|
106
|
-
* The minimum number of satoshis that can be locked
|
|
107
|
-
**/
|
|
108
|
-
minimumSatoshis: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
109
|
-
nextUtxoId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
110
|
-
/**
|
|
111
|
-
* Mapping of obligation id to lock id
|
|
112
|
-
**/
|
|
113
|
-
obligationIdToUtxoId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
114
|
-
u64
|
|
115
|
-
]>;
|
|
116
|
-
/**
|
|
117
|
-
* Stores Utxos that were not paid back in full
|
|
118
|
-
*
|
|
119
|
-
* Tuple stores Account, Vault, Still Owed, State
|
|
120
|
-
**/
|
|
121
|
-
owedUtxoAggrieved: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32, u128, PalletBitcoinLocksLockedBitcoin]>>>, [
|
|
122
|
-
u64
|
|
123
|
-
]>;
|
|
124
|
-
};
|
|
125
|
-
bitcoinUtxos: {
|
|
126
|
-
/**
|
|
127
|
-
* The genesis set bitcoin network that this chain is tied to
|
|
128
|
-
**/
|
|
129
|
-
bitcoinNetwork: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBitcoinBitcoinNetwork>, [
|
|
130
|
-
]>;
|
|
131
|
-
/**
|
|
132
|
-
* An oracle-provided confirmed bitcoin block (eg, 6 blocks back)
|
|
133
|
-
**/
|
|
134
|
-
confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
135
|
-
]>;
|
|
136
|
-
/**
|
|
137
|
-
* Check if the inherent was included
|
|
138
|
-
**/
|
|
139
|
-
inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
140
|
-
/**
|
|
141
|
-
* Expiration date as a day since unix timestamp mapped to Bitcoin UTXOs
|
|
142
|
-
**/
|
|
143
|
-
lockedUtxoExpirationsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
144
|
-
u64
|
|
145
|
-
]>;
|
|
146
|
-
/**
|
|
147
|
-
* Locked Bitcoin UTXOs that have had ownership confirmed. If a Bitcoin UTXO is moved before
|
|
148
|
-
* the expiration block, the obligation is burned and the UTXO is unlocked.
|
|
149
|
-
**/
|
|
150
|
-
lockedUtxos: AugmentedQuery<ApiType, (arg: ArgonPrimitivesBitcoinUtxoRef | {
|
|
151
|
-
txid?: any;
|
|
152
|
-
outputIndex?: any;
|
|
153
|
-
} | string | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
154
|
-
ArgonPrimitivesBitcoinUtxoRef
|
|
155
|
-
]>;
|
|
156
|
-
/**
|
|
157
|
-
* Bitcoin Oracle Operator Account
|
|
158
|
-
**/
|
|
159
|
-
oracleOperatorAccount: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
160
|
-
]>;
|
|
161
|
-
previousBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
162
|
-
]>;
|
|
163
|
-
/**
|
|
164
|
-
* The last synched bitcoin block
|
|
165
|
-
**/
|
|
166
|
-
synchedBitcoinBlock: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
167
|
-
]>;
|
|
168
|
-
/**
|
|
169
|
-
* Stores if parent block had a confirmed bitcoin block
|
|
170
|
-
**/
|
|
171
|
-
tempParentHasSyncState: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
172
|
-
]>;
|
|
173
|
-
utxoIdToRef: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBitcoinUtxoRef>>, [
|
|
174
|
-
u64
|
|
175
|
-
]>;
|
|
176
|
-
/**
|
|
177
|
-
* Bitcoin UTXOs that have been submitted for ownership confirmation
|
|
178
|
-
**/
|
|
179
|
-
utxosPendingConfirmation: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
180
|
-
]>;
|
|
181
|
-
};
|
|
182
|
-
blockRewards: {
|
|
183
|
-
/**
|
|
184
|
-
* The current scaled block rewards. It will adjust based on the argon movement away from price
|
|
185
|
-
* target
|
|
186
|
-
**/
|
|
187
|
-
argonsPerBlock: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
188
|
-
/**
|
|
189
|
-
* The cohort block rewards
|
|
190
|
-
**/
|
|
191
|
-
blockRewardsByCohort: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u128]>>>, [
|
|
192
|
-
]>;
|
|
193
|
-
/**
|
|
194
|
-
* Bool if block rewards are paused
|
|
195
|
-
**/
|
|
196
|
-
blockRewardsPaused: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
197
|
-
/**
|
|
198
|
-
* Historical payouts by block number
|
|
199
|
-
**/
|
|
200
|
-
payoutsByBlock: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealBlockPayout>>, [
|
|
201
|
-
u32
|
|
202
|
-
]>;
|
|
203
|
-
};
|
|
204
|
-
blockSeal: {
|
|
205
|
-
/**
|
|
206
|
-
* The calculated strength in the runtime so that it can be
|
|
207
|
-
* upgraded, but is used by the node to determine which fork to follow
|
|
208
|
-
**/
|
|
209
|
-
blockForkPower: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesForkPower>, [
|
|
210
|
-
]>;
|
|
211
|
-
/**
|
|
212
|
-
* Is the block from a vote seal?
|
|
213
|
-
**/
|
|
214
|
-
isBlockFromVoteSeal: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
215
|
-
lastBlockSealerInfo: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesProvidersBlockSealerInfo>>, [
|
|
216
|
-
]>;
|
|
217
|
-
lastTickWithVoteSeal: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
218
|
-
/**
|
|
219
|
-
* The calculated parent voting key for a block. Refers to the Notebook BlockVote Revealed
|
|
220
|
-
* Secret + VotesMerkleRoot of the parent block notebooks.
|
|
221
|
-
**/
|
|
222
|
-
parentVotingKey: AugmentedQuery<ApiType, () => Observable<Option<H256>>, [
|
|
223
|
-
]>;
|
|
224
|
-
/**
|
|
225
|
-
* Ensures only a single inherent is applied
|
|
226
|
-
**/
|
|
227
|
-
tempSealInherent: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesInherentsBlockSealInherent>>, [
|
|
228
|
-
]>;
|
|
229
|
-
/**
|
|
230
|
-
* The count of votes in the last 3 ticks
|
|
231
|
-
**/
|
|
232
|
-
votesInPast3Ticks: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, [
|
|
233
|
-
]>;
|
|
234
|
-
};
|
|
235
|
-
blockSealSpec: {
|
|
236
|
-
/**
|
|
237
|
-
* The current vote minimum of the chain. Block votes use this minimum to determine the
|
|
238
|
-
* minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
|
|
239
|
-
* target a max number of votes
|
|
240
|
-
**/
|
|
241
|
-
currentComputeDifficulty: AugmentedQuery<ApiType, () => Observable<u128>, [
|
|
242
|
-
]>;
|
|
243
|
-
/**
|
|
244
|
-
* The key K is selected to be the hash of a block in the blockchain - this block is called
|
|
245
|
-
* the 'key block'. For optimal mining and verification performance, the key should
|
|
246
|
-
* change every day
|
|
247
|
-
**/
|
|
248
|
-
currentComputeKeyBlock: AugmentedQuery<ApiType, () => Observable<Option<H256>>, [
|
|
249
|
-
]>;
|
|
250
|
-
/**
|
|
251
|
-
* The current vote minimum of the chain. Block votes use this minimum to determine the
|
|
252
|
-
* minimum amount of tax or compute needed to create a vote. It is adjusted up or down to
|
|
253
|
-
* target a max number of votes
|
|
254
|
-
**/
|
|
255
|
-
currentVoteMinimum: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
256
|
-
pastBlockVotes: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32, u128]>>>, [
|
|
257
|
-
]>;
|
|
258
|
-
pastComputeBlockTimes: AugmentedQuery<ApiType, () => Observable<Vec<u64>>, [
|
|
259
|
-
]>;
|
|
260
|
-
/**
|
|
261
|
-
* The timestamp from the previous block
|
|
262
|
-
**/
|
|
263
|
-
previousBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
264
|
-
]>;
|
|
265
|
-
tempBlockTimestamp: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
266
|
-
]>;
|
|
267
|
-
/**
|
|
268
|
-
* Temporary store the vote digest
|
|
269
|
-
**/
|
|
270
|
-
tempBlockVoteDigest: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsBlockVoteDigest>>, [
|
|
271
|
-
]>;
|
|
272
|
-
/**
|
|
273
|
-
* Temporary store of any current tick notebooks included in this block (vs tick)
|
|
274
|
-
**/
|
|
275
|
-
tempCurrentTickNotebooksInBlock: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails>>, [
|
|
276
|
-
]>;
|
|
277
|
-
/**
|
|
278
|
-
* Keeps the last 3 vote minimums. The first one applies to the current block.
|
|
279
|
-
**/
|
|
280
|
-
voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, [
|
|
281
|
-
]>;
|
|
282
|
-
};
|
|
283
|
-
chainTransfer: {
|
|
284
|
-
expiringTransfersOutByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
285
|
-
u32,
|
|
286
|
-
u64
|
|
287
|
-
]>;
|
|
288
|
-
/**
|
|
289
|
-
* The admin of the hyperbridge token gateway
|
|
290
|
-
**/
|
|
291
|
-
hyperbridgeTokenAdmin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
292
|
-
]>;
|
|
293
|
-
nextTransferId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
294
|
-
]>;
|
|
295
|
-
pendingTransfersOut: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletChainTransferQueuedTransferOut>>, [
|
|
296
|
-
u32
|
|
297
|
-
]>;
|
|
298
|
-
transfersUsedInBlockNotebooks: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u32]>>>, [
|
|
299
|
-
u32
|
|
300
|
-
]>;
|
|
301
|
-
};
|
|
302
|
-
digests: {
|
|
303
|
-
tempDigests: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesDigestsDigestset>>, [
|
|
304
|
-
]>;
|
|
305
|
-
};
|
|
306
|
-
domains: {
|
|
307
|
-
expiringDomainsByBlock: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
308
|
-
u64
|
|
309
|
-
]>;
|
|
310
|
-
registeredDomains: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletDomainsDomainRegistration>>, [
|
|
311
|
-
H256
|
|
312
|
-
]>;
|
|
313
|
-
zoneRecordsByDomain: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<ArgonPrimitivesDomainZoneRecord>>, [
|
|
314
|
-
H256
|
|
315
|
-
]>;
|
|
316
|
-
};
|
|
317
|
-
grandpa: {
|
|
318
|
-
/**
|
|
319
|
-
* The current list of authorities.
|
|
320
|
-
**/
|
|
321
|
-
authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, [
|
|
322
|
-
]>;
|
|
323
|
-
/**
|
|
324
|
-
* The number of changes (both in terms of keys and underlying economic responsibilities)
|
|
325
|
-
* in the "set" of Grandpa validators from genesis.
|
|
326
|
-
**/
|
|
327
|
-
currentSetId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
328
|
-
/**
|
|
329
|
-
* next block number where we can force a change.
|
|
330
|
-
**/
|
|
331
|
-
nextForced: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
332
|
-
/**
|
|
333
|
-
* Pending change: (signaled at, scheduled change).
|
|
334
|
-
**/
|
|
335
|
-
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<PalletGrandpaStoredPendingChange>>, [
|
|
336
|
-
]>;
|
|
337
|
-
/**
|
|
338
|
-
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
339
|
-
* members were responsible.
|
|
340
|
-
*
|
|
341
|
-
* This is only used for validating equivocation proofs. An equivocation proof must
|
|
342
|
-
* contains a key-ownership proof for a given session, therefore we need a way to tie
|
|
343
|
-
* together sessions and GRANDPA set ids, i.e. we need to validate that a validator
|
|
344
|
-
* was the owner of a given key on a given session, and what the active set ID was
|
|
345
|
-
* during that session.
|
|
346
|
-
*
|
|
347
|
-
* TWOX-NOTE: `SetId` is not under user control.
|
|
348
|
-
**/
|
|
349
|
-
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
350
|
-
u64
|
|
351
|
-
]>;
|
|
352
|
-
/**
|
|
353
|
-
* `true` if we are currently stalled.
|
|
354
|
-
**/
|
|
355
|
-
stalled: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, [
|
|
356
|
-
]>;
|
|
357
|
-
/**
|
|
358
|
-
* State of the current authority set.
|
|
359
|
-
**/
|
|
360
|
-
state: AugmentedQuery<ApiType, () => Observable<PalletGrandpaStoredState>, [
|
|
361
|
-
]>;
|
|
362
|
-
};
|
|
363
|
-
hyperbridge: {
|
|
364
|
-
/**
|
|
365
|
-
* The host parameters of the pallet-hyperbridge.
|
|
366
|
-
**/
|
|
367
|
-
hostParams: AugmentedQuery<ApiType, () => Observable<PalletHyperbridgeVersionedHostParams>, [
|
|
368
|
-
]>;
|
|
369
|
-
};
|
|
370
|
-
ismp: {
|
|
371
|
-
/**
|
|
372
|
-
* A mapping of state machine Ids to their challenge periods
|
|
373
|
-
**/
|
|
374
|
-
challengePeriod: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
|
|
375
|
-
stateId?: any;
|
|
376
|
-
consensusStateId?: any;
|
|
377
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
378
|
-
IsmpConsensusStateMachineId
|
|
379
|
-
]>;
|
|
380
|
-
/**
|
|
381
|
-
* The child trie root of messages
|
|
382
|
-
**/
|
|
383
|
-
childTrieRoot: AugmentedQuery<ApiType, () => Observable<H256>, []>;
|
|
384
|
-
/**
|
|
385
|
-
* Holds the timestamp at which a consensus client was recently updated.
|
|
386
|
-
* Used in ensuring that the configured challenge period elapses.
|
|
387
|
-
**/
|
|
388
|
-
consensusClientUpdateTime: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
389
|
-
U8aFixed
|
|
390
|
-
]>;
|
|
391
|
-
/**
|
|
392
|
-
* A mapping of consensus state identifier to it's associated consensus client identifier
|
|
393
|
-
**/
|
|
394
|
-
consensusStateClient: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<U8aFixed>>, [
|
|
395
|
-
U8aFixed
|
|
396
|
-
]>;
|
|
397
|
-
/**
|
|
398
|
-
* Holds a map of consensus state identifiers to their consensus state.
|
|
399
|
-
**/
|
|
400
|
-
consensusStates: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
401
|
-
U8aFixed
|
|
402
|
-
]>;
|
|
403
|
-
/**
|
|
404
|
-
* Holds a map of consensus clients frozen due to byzantine
|
|
405
|
-
* behaviour
|
|
406
|
-
**/
|
|
407
|
-
frozenConsensusClients: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<bool>, [
|
|
408
|
-
U8aFixed
|
|
409
|
-
]>;
|
|
410
|
-
/**
|
|
411
|
-
* The latest verified height for a state machine
|
|
412
|
-
**/
|
|
413
|
-
latestStateMachineHeight: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineId | {
|
|
414
|
-
stateId?: any;
|
|
415
|
-
consensusStateId?: any;
|
|
416
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
417
|
-
IsmpConsensusStateMachineId
|
|
418
|
-
]>;
|
|
419
|
-
/**
|
|
420
|
-
* Latest nonce for messages sent from this chain
|
|
421
|
-
**/
|
|
422
|
-
nonce: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
423
|
-
/**
|
|
424
|
-
* Tracks requests that have been responded to
|
|
425
|
-
* The key is the request commitment
|
|
426
|
-
**/
|
|
427
|
-
responded: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<bool>, [
|
|
428
|
-
H256
|
|
429
|
-
]>;
|
|
430
|
-
/**
|
|
431
|
-
* Holds a map of state machine heights to their verified state commitments. These state
|
|
432
|
-
* commitments end up here after they are successfully verified by a `ConsensusClient`
|
|
433
|
-
**/
|
|
434
|
-
stateCommitments: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
|
|
435
|
-
id?: any;
|
|
436
|
-
height?: any;
|
|
437
|
-
} | string | Uint8Array) => Observable<Option<IsmpConsensusStateCommitment>>, [
|
|
438
|
-
IsmpConsensusStateMachineHeight
|
|
439
|
-
]>;
|
|
440
|
-
/**
|
|
441
|
-
* Holds the timestamp at which a state machine height was updated.
|
|
442
|
-
* Used in ensuring that the configured challenge period elapses.
|
|
443
|
-
**/
|
|
444
|
-
stateMachineUpdateTime: AugmentedQuery<ApiType, (arg: IsmpConsensusStateMachineHeight | {
|
|
445
|
-
id?: any;
|
|
446
|
-
height?: any;
|
|
447
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
448
|
-
IsmpConsensusStateMachineHeight
|
|
449
|
-
]>;
|
|
450
|
-
/**
|
|
451
|
-
* A mapping of consensus state identifiers to their unbonding periods
|
|
452
|
-
**/
|
|
453
|
-
unbondingPeriod: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<u64>>, [
|
|
454
|
-
U8aFixed
|
|
455
|
-
]>;
|
|
456
|
-
};
|
|
457
|
-
ismpGrandpa: {
|
|
458
|
-
/**
|
|
459
|
-
* Registered state machines for the grandpa consensus client
|
|
460
|
-
**/
|
|
461
|
-
supportedStateMachines: AugmentedQuery<ApiType, (arg: IsmpHostStateMachine | {
|
|
462
|
-
Evm: any;
|
|
463
|
-
} | {
|
|
464
|
-
Polkadot: any;
|
|
465
|
-
} | {
|
|
466
|
-
Kusama: any;
|
|
467
|
-
} | {
|
|
468
|
-
Substrate: any;
|
|
469
|
-
} | {
|
|
470
|
-
Tendermint: any;
|
|
471
|
-
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
472
|
-
IsmpHostStateMachine
|
|
473
|
-
]>;
|
|
474
|
-
};
|
|
475
|
-
miningSlot: {
|
|
476
|
-
/**
|
|
477
|
-
* Lookup by account id to the corresponding index in ActiveMinersByIndex and Authorities
|
|
478
|
-
**/
|
|
479
|
-
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
480
|
-
AccountId32
|
|
481
|
-
]>;
|
|
482
|
-
/**
|
|
483
|
-
* Miners that are active in the current block (post initialize)
|
|
484
|
-
**/
|
|
485
|
-
activeMinersByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
486
|
-
u32
|
|
487
|
-
]>;
|
|
488
|
-
activeMinersCount: AugmentedQuery<ApiType, () => Observable<u16>, []>;
|
|
489
|
-
/**
|
|
490
|
-
* Argonots that must be locked to take a Miner role
|
|
491
|
-
**/
|
|
492
|
-
argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, [
|
|
493
|
-
]>;
|
|
494
|
-
hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
495
|
-
]>;
|
|
496
|
-
/**
|
|
497
|
-
* The number of bids per slot for the last 10 slots (newest first)
|
|
498
|
-
**/
|
|
499
|
-
historicalBidsPerSlot: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningBidStats>>, [
|
|
500
|
-
]>;
|
|
501
|
-
/**
|
|
502
|
-
* Is the next slot still open for bids
|
|
503
|
-
**/
|
|
504
|
-
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
505
|
-
]>;
|
|
506
|
-
/**
|
|
507
|
-
* The last activated cohort id
|
|
508
|
-
**/
|
|
509
|
-
lastActivatedCohortId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
510
|
-
/**
|
|
511
|
-
* This is a lookup of each miner's XOR key to use. It's a blake2 256 hash of the account id of
|
|
512
|
-
* the miner and the block hash at time of activation.
|
|
513
|
-
**/
|
|
514
|
-
minerXorKeyByIndex: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, U256>>, [
|
|
515
|
-
]>;
|
|
516
|
-
/**
|
|
517
|
-
* The mining slot configuration set in genesis
|
|
518
|
-
**/
|
|
519
|
-
miningConfig: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesBlockSealMiningSlotConfig>, [
|
|
520
|
-
]>;
|
|
521
|
-
/**
|
|
522
|
-
* The cohort set to go into effect in the next slot. The Vec has all
|
|
523
|
-
* registrants with their bid amount
|
|
524
|
-
**/
|
|
525
|
-
nextSlotCohort: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
526
|
-
]>;
|
|
527
|
-
/**
|
|
528
|
-
* The miners released in the last block (only kept for a single block)
|
|
529
|
-
**/
|
|
530
|
-
releasedMinersByAccountId: AugmentedQuery<ApiType, () => Observable<BTreeMap<AccountId32, ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
531
|
-
]>;
|
|
532
|
-
};
|
|
533
|
-
mint: {
|
|
534
|
-
blockMintAction: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, PalletMintMintAction]>>, [
|
|
535
|
-
]>;
|
|
536
|
-
/**
|
|
537
|
-
* The amount of argons minted per cohort for mining
|
|
538
|
-
**/
|
|
539
|
-
miningMintPerCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u128>>, [
|
|
540
|
-
]>;
|
|
541
|
-
/**
|
|
542
|
-
* The total amount of Bitcoin argons minted. Cannot exceed `MintedMiningArgons`.
|
|
543
|
-
**/
|
|
544
|
-
mintedBitcoinArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
|
|
545
|
-
/**
|
|
546
|
-
* The total amount of argons minted for mining
|
|
547
|
-
**/
|
|
548
|
-
mintedMiningArgons: AugmentedQuery<ApiType, () => Observable<U256>, []>;
|
|
549
|
-
/**
|
|
550
|
-
* Bitcoin UTXOs that have been submitted for minting. This list is FIFO for minting whenever
|
|
551
|
-
* a) CPI >= 0 and
|
|
552
|
-
* b) the aggregate minted Bitcoins <= the aggregate minted Argons from mining
|
|
553
|
-
**/
|
|
554
|
-
pendingMintUtxos: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, AccountId32, u128]>>>, [
|
|
555
|
-
]>;
|
|
556
|
-
};
|
|
557
|
-
multisig: {
|
|
558
|
-
/**
|
|
559
|
-
* The set of open multisig operations.
|
|
560
|
-
**/
|
|
561
|
-
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [
|
|
562
|
-
AccountId32,
|
|
563
|
-
U8aFixed
|
|
564
|
-
]>;
|
|
565
|
-
};
|
|
566
|
-
notaries: {
|
|
567
|
-
activeNotaries: AugmentedQuery<ApiType, () => Observable<Vec<ArgonPrimitivesNotaryNotaryRecord>>, [
|
|
568
|
-
]>;
|
|
569
|
-
expiringProposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [
|
|
570
|
-
u32
|
|
571
|
-
]>;
|
|
572
|
-
nextNotaryId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
573
|
-
notaryKeyHistory: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u64, U8aFixed]>>>, [
|
|
574
|
-
u32
|
|
575
|
-
]>;
|
|
576
|
-
proposedNotaries: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesNotaryNotaryMeta, u32]>>>, [
|
|
577
|
-
AccountId32
|
|
578
|
-
]>;
|
|
579
|
-
/**
|
|
580
|
-
* Metadata changes to be activated at the given tick
|
|
581
|
-
**/
|
|
582
|
-
queuedNotaryMetaChanges: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, ArgonPrimitivesNotaryNotaryMeta>>, [
|
|
583
|
-
u64
|
|
584
|
-
]>;
|
|
585
|
-
};
|
|
586
|
-
notebook: {
|
|
587
|
-
/**
|
|
588
|
-
* Storage map of account origin (notary_id, notebook, account_uid) to the last
|
|
589
|
-
* notebook containing this account in the changed accounts merkle root
|
|
590
|
-
* (NotebookChangedAccountsRootByNotary)
|
|
591
|
-
**/
|
|
592
|
-
accountOriginLastChangedNotebookByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ArgonPrimitivesBalanceChangeAccountOrigin | {
|
|
593
|
-
notebookNumber?: any;
|
|
594
|
-
accountUid?: any;
|
|
595
|
-
} | string | Uint8Array) => Observable<Option<u32>>, [
|
|
596
|
-
u32,
|
|
597
|
-
ArgonPrimitivesBalanceChangeAccountOrigin
|
|
598
|
-
]>;
|
|
599
|
-
/**
|
|
600
|
-
* The notebooks included in this block
|
|
601
|
-
**/
|
|
602
|
-
blockNotebooks: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesDigestsNotebookDigest>, [
|
|
603
|
-
]>;
|
|
604
|
-
/**
|
|
605
|
-
* Check if the inherent was included
|
|
606
|
-
**/
|
|
607
|
-
inherentIncluded: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
608
|
-
/**
|
|
609
|
-
* List of last few notebook details by notary. The bool is whether the notebook is eligible
|
|
610
|
-
* for votes (received at correct tick and audit passed)
|
|
611
|
-
**/
|
|
612
|
-
lastNotebookDetailsByNotary: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[ArgonPrimitivesNotaryNotaryNotebookKeyDetails, bool]>>>, [
|
|
613
|
-
u32
|
|
614
|
-
]>;
|
|
615
|
-
/**
|
|
616
|
-
* Notaries ready to start reprocessing at a given notebook number
|
|
617
|
-
**/
|
|
618
|
-
lockedNotaryReadyForReprocess: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
619
|
-
u32
|
|
620
|
-
]>;
|
|
621
|
-
/**
|
|
622
|
-
* Notaries locked for failing audits
|
|
623
|
-
**/
|
|
624
|
-
notariesLockedForFailedAudit: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u64, ArgonNotaryAuditErrorVerifyError]>>>, [
|
|
625
|
-
u32
|
|
626
|
-
]>;
|
|
627
|
-
/**
|
|
628
|
-
* Double storage map of notary id + notebook # to the change root
|
|
629
|
-
**/
|
|
630
|
-
notebookChangedAccountsRootByNotary: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
631
|
-
u32,
|
|
632
|
-
u32
|
|
633
|
-
]>;
|
|
634
|
-
};
|
|
635
|
-
ownership: {
|
|
636
|
-
/**
|
|
637
|
-
* The Balances pallet example of storing the balance of an account.
|
|
638
|
-
*
|
|
639
|
-
* # Example
|
|
640
|
-
*
|
|
641
|
-
* ```nocompile
|
|
642
|
-
* impl pallet_balances::Config for Runtime {
|
|
643
|
-
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
|
|
644
|
-
* }
|
|
645
|
-
* ```
|
|
646
|
-
*
|
|
647
|
-
* You can also store the balance of an account in the `System` pallet.
|
|
648
|
-
*
|
|
649
|
-
* # Example
|
|
650
|
-
*
|
|
651
|
-
* ```nocompile
|
|
652
|
-
* impl pallet_balances::Config for Runtime {
|
|
653
|
-
* type AccountStore = System
|
|
654
|
-
* }
|
|
655
|
-
* ```
|
|
656
|
-
*
|
|
657
|
-
* But this comes with tradeoffs, storing account balances in the system pallet stores
|
|
658
|
-
* `frame_system` data alongside the account data contrary to storing account balances in the
|
|
659
|
-
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
|
660
|
-
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
661
|
-
**/
|
|
662
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [
|
|
663
|
-
AccountId32
|
|
664
|
-
]>;
|
|
665
|
-
/**
|
|
666
|
-
* Freeze locks on account balances.
|
|
667
|
-
**/
|
|
668
|
-
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [
|
|
669
|
-
AccountId32
|
|
670
|
-
]>;
|
|
671
|
-
/**
|
|
672
|
-
* Holds on account balances.
|
|
673
|
-
**/
|
|
674
|
-
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [
|
|
675
|
-
AccountId32
|
|
676
|
-
]>;
|
|
677
|
-
/**
|
|
678
|
-
* The total units of outstanding deactivated balance in the system.
|
|
679
|
-
**/
|
|
680
|
-
inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
681
|
-
/**
|
|
682
|
-
* Any liquidity locks on some account balances.
|
|
683
|
-
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
684
|
-
*
|
|
685
|
-
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
686
|
-
**/
|
|
687
|
-
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [
|
|
688
|
-
AccountId32
|
|
689
|
-
]>;
|
|
690
|
-
/**
|
|
691
|
-
* Named reserves on some account balances.
|
|
692
|
-
*
|
|
693
|
-
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
694
|
-
**/
|
|
695
|
-
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [
|
|
696
|
-
AccountId32
|
|
697
|
-
]>;
|
|
698
|
-
/**
|
|
699
|
-
* The total units issued in the system.
|
|
700
|
-
**/
|
|
701
|
-
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
702
|
-
};
|
|
703
|
-
priceIndex: {
|
|
704
|
-
/**
|
|
705
|
-
* Stores the active price index
|
|
706
|
-
**/
|
|
707
|
-
current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, [
|
|
708
|
-
]>;
|
|
709
|
-
/**
|
|
710
|
-
* The price index operator account
|
|
711
|
-
**/
|
|
712
|
-
operator: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, [
|
|
713
|
-
]>;
|
|
714
|
-
};
|
|
715
|
-
proxy: {
|
|
716
|
-
/**
|
|
717
|
-
* The announcements made by the proxy (key).
|
|
718
|
-
**/
|
|
719
|
-
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [
|
|
720
|
-
AccountId32
|
|
721
|
-
]>;
|
|
722
|
-
/**
|
|
723
|
-
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
724
|
-
* which are being delegated to, together with the amount held on deposit.
|
|
725
|
-
**/
|
|
726
|
-
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [
|
|
727
|
-
AccountId32
|
|
728
|
-
]>;
|
|
729
|
-
};
|
|
730
|
-
sudo: {
|
|
731
|
-
/**
|
|
732
|
-
* The `AccountId` of the sudo key.
|
|
733
|
-
**/
|
|
734
|
-
key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
735
|
-
};
|
|
736
|
-
system: {
|
|
737
|
-
/**
|
|
738
|
-
* The full account information for a particular account ID.
|
|
739
|
-
**/
|
|
740
|
-
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
|
|
741
|
-
AccountId32
|
|
742
|
-
]>;
|
|
743
|
-
/**
|
|
744
|
-
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
745
|
-
**/
|
|
746
|
-
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
747
|
-
]>;
|
|
748
|
-
/**
|
|
749
|
-
* `Some` if a code upgrade has been authorized.
|
|
750
|
-
**/
|
|
751
|
-
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, [
|
|
752
|
-
]>;
|
|
753
|
-
/**
|
|
754
|
-
* Map of block numbers to block hashes.
|
|
755
|
-
**/
|
|
756
|
-
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
757
|
-
u32
|
|
758
|
-
]>;
|
|
759
|
-
/**
|
|
760
|
-
* The current weight for the block.
|
|
761
|
-
**/
|
|
762
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, [
|
|
763
|
-
]>;
|
|
764
|
-
/**
|
|
765
|
-
* Digest of the current block, also part of the block header.
|
|
766
|
-
**/
|
|
767
|
-
digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []>;
|
|
768
|
-
/**
|
|
769
|
-
* The number of events in the `Events<T>` list.
|
|
770
|
-
**/
|
|
771
|
-
eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
772
|
-
/**
|
|
773
|
-
* Events deposited for the current block.
|
|
774
|
-
*
|
|
775
|
-
* NOTE: The item is unbound and should therefore never be read on chain.
|
|
776
|
-
* It could otherwise inflate the PoV size of a block.
|
|
777
|
-
*
|
|
778
|
-
* Events have a large in-memory size. Box the events to not go out-of-memory
|
|
779
|
-
* just in case someone still reads them from within the runtime.
|
|
780
|
-
**/
|
|
781
|
-
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, [
|
|
782
|
-
]>;
|
|
783
|
-
/**
|
|
784
|
-
* Mapping between a topic (represented by T::Hash) and a vector of indexes
|
|
785
|
-
* of events in the `<Events<T>>` list.
|
|
786
|
-
*
|
|
787
|
-
* All topic vectors have deterministic storage locations depending on the topic. This
|
|
788
|
-
* allows light-clients to leverage the changes trie storage tracking mechanism and
|
|
789
|
-
* in case of changes fetch the list of events of interest.
|
|
790
|
-
*
|
|
791
|
-
* The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just
|
|
792
|
-
* the `EventIndex` then in case if the topic has the same contents on the next block
|
|
793
|
-
* no notification will be triggered thus the event might be lost.
|
|
794
|
-
**/
|
|
795
|
-
eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [
|
|
796
|
-
H256
|
|
797
|
-
]>;
|
|
798
|
-
/**
|
|
799
|
-
* The execution phase of the block.
|
|
800
|
-
**/
|
|
801
|
-
executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, [
|
|
802
|
-
]>;
|
|
803
|
-
/**
|
|
804
|
-
* Total extrinsics count for the current block.
|
|
805
|
-
**/
|
|
806
|
-
extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, [
|
|
807
|
-
]>;
|
|
808
|
-
/**
|
|
809
|
-
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
|
810
|
-
**/
|
|
811
|
-
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [
|
|
812
|
-
u32
|
|
813
|
-
]>;
|
|
814
|
-
/**
|
|
815
|
-
* Whether all inherents have been applied.
|
|
816
|
-
**/
|
|
817
|
-
inherentsApplied: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
818
|
-
/**
|
|
819
|
-
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
|
820
|
-
**/
|
|
821
|
-
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, [
|
|
822
|
-
]>;
|
|
823
|
-
/**
|
|
824
|
-
* The current block number being processed. Set by `execute_block`.
|
|
825
|
-
**/
|
|
826
|
-
number: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
827
|
-
/**
|
|
828
|
-
* Hash of the previous block.
|
|
829
|
-
**/
|
|
830
|
-
parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []>;
|
|
831
|
-
/**
|
|
832
|
-
* True if we have upgraded so that AccountInfo contains three types of `RefCount`. False
|
|
833
|
-
* (default) if not.
|
|
834
|
-
**/
|
|
835
|
-
upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
836
|
-
]>;
|
|
837
|
-
/**
|
|
838
|
-
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
839
|
-
**/
|
|
840
|
-
upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, [
|
|
841
|
-
]>;
|
|
842
|
-
};
|
|
843
|
-
ticks: {
|
|
844
|
-
currentTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
845
|
-
genesisTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
846
|
-
genesisTicker: AugmentedQuery<ApiType, () => Observable<ArgonPrimitivesTickTicker>, [
|
|
847
|
-
]>;
|
|
848
|
-
previousTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
849
|
-
/**
|
|
850
|
-
* Blocks from the last 100 ticks. Trimmed in on_initialize.
|
|
851
|
-
* NOTE: cannot include the current block hash until next block
|
|
852
|
-
**/
|
|
853
|
-
recentBlocksAtTicks: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<H256>>, [
|
|
854
|
-
u64
|
|
855
|
-
]>;
|
|
856
|
-
};
|
|
857
|
-
timestamp: {
|
|
858
|
-
/**
|
|
859
|
-
* Whether the timestamp has been updated in this block.
|
|
860
|
-
*
|
|
861
|
-
* This value is updated to `true` upon successful submission of a timestamp by a node.
|
|
862
|
-
* It is then checked at the end of each block execution in the `on_finalize` hook.
|
|
863
|
-
**/
|
|
864
|
-
didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
865
|
-
/**
|
|
866
|
-
* The current time for the current block.
|
|
867
|
-
**/
|
|
868
|
-
now: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
869
|
-
};
|
|
870
|
-
tokenGateway: {
|
|
871
|
-
/**
|
|
872
|
-
* Assets supported by this instance of token gateway
|
|
873
|
-
* A map of the token gateway asset id to the local asset id
|
|
874
|
-
**/
|
|
875
|
-
localAssets: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [
|
|
876
|
-
H256
|
|
877
|
-
]>;
|
|
878
|
-
/**
|
|
879
|
-
* Assets that originate from this chain
|
|
880
|
-
**/
|
|
881
|
-
nativeAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
882
|
-
u32
|
|
883
|
-
]>;
|
|
884
|
-
/**
|
|
885
|
-
* The decimals used by the EVM counterpart of this asset
|
|
886
|
-
**/
|
|
887
|
-
precisions: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: IsmpHostStateMachine | {
|
|
888
|
-
Evm: any;
|
|
889
|
-
} | {
|
|
890
|
-
Polkadot: any;
|
|
891
|
-
} | {
|
|
892
|
-
Kusama: any;
|
|
893
|
-
} | {
|
|
894
|
-
Substrate: any;
|
|
895
|
-
} | {
|
|
896
|
-
Tendermint: any;
|
|
897
|
-
} | string | Uint8Array) => Observable<Option<u8>>, [
|
|
898
|
-
u32,
|
|
899
|
-
IsmpHostStateMachine
|
|
900
|
-
]>;
|
|
901
|
-
/**
|
|
902
|
-
* Assets supported by this instance of token gateway
|
|
903
|
-
* A map of the local asset id to the token gateway asset id
|
|
904
|
-
**/
|
|
905
|
-
supportedAssets: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
906
|
-
u32
|
|
907
|
-
]>;
|
|
908
|
-
/**
|
|
909
|
-
* The token gateway adresses on different chains
|
|
910
|
-
**/
|
|
911
|
-
tokenGatewayAddresses: AugmentedQuery<ApiType, (arg: IsmpHostStateMachine | {
|
|
912
|
-
Evm: any;
|
|
913
|
-
} | {
|
|
914
|
-
Polkadot: any;
|
|
915
|
-
} | {
|
|
916
|
-
Kusama: any;
|
|
917
|
-
} | {
|
|
918
|
-
Substrate: any;
|
|
919
|
-
} | {
|
|
920
|
-
Tendermint: any;
|
|
921
|
-
} | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
922
|
-
IsmpHostStateMachine
|
|
923
|
-
]>;
|
|
924
|
-
};
|
|
925
|
-
transactionPayment: {
|
|
926
|
-
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
927
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
|
|
928
|
-
]>;
|
|
929
|
-
};
|
|
930
|
-
txPause: {
|
|
931
|
-
/**
|
|
932
|
-
* The set of calls that are explicitly paused.
|
|
933
|
-
**/
|
|
934
|
-
pausedCalls: AugmentedQuery<ApiType, (arg: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<Null>>, [
|
|
935
|
-
ITuple<[Bytes, Bytes]>
|
|
936
|
-
]>;
|
|
937
|
-
};
|
|
938
|
-
vaults: {
|
|
939
|
-
/**
|
|
940
|
-
* Completion of bitcoin locks by bitcoin height. Funds are returned to the vault if
|
|
941
|
-
* unlocked or used as the price of the bitcoin
|
|
942
|
-
**/
|
|
943
|
-
bitcoinLockCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
944
|
-
u64
|
|
945
|
-
]>;
|
|
946
|
-
/**
|
|
947
|
-
* Completion of bonded bitcoin obligation, upon which funds are returned to the vault
|
|
948
|
-
**/
|
|
949
|
-
bondedBitcoinCompletions: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
950
|
-
u64
|
|
951
|
-
]>;
|
|
952
|
-
/**
|
|
953
|
-
* The entrants in the bonded bitcoin pool that will next be paid out. They apply to the next
|
|
954
|
-
* closed mining slot cohort bid pool.
|
|
955
|
-
**/
|
|
956
|
-
nextBondedBitcoinPoolEntrants: AugmentedQuery<ApiType, () => Observable<Vec<PalletVaultsBidPoolEntrant>>, [
|
|
957
|
-
]>;
|
|
958
|
-
nextObligationId: AugmentedQuery<ApiType, () => Observable<Option<u64>>, [
|
|
959
|
-
]>;
|
|
960
|
-
nextVaultId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
961
|
-
/**
|
|
962
|
-
* Obligation by id
|
|
963
|
-
**/
|
|
964
|
-
obligationsById: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVaultObligation>>, [
|
|
965
|
-
u64
|
|
966
|
-
]>;
|
|
967
|
-
/**
|
|
968
|
-
* Pending terms that will be committed at the given block number (must be a minimum of 1 slot
|
|
969
|
-
* change away)
|
|
970
|
-
**/
|
|
971
|
-
pendingTermsModificationsByTick: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [
|
|
972
|
-
u64
|
|
973
|
-
]>;
|
|
974
|
-
/**
|
|
975
|
-
* Vaults by id
|
|
976
|
-
**/
|
|
977
|
-
vaultsById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ArgonPrimitivesVault>>, [
|
|
978
|
-
u32
|
|
979
|
-
]>;
|
|
980
|
-
/**
|
|
981
|
-
* Vault Bitcoin Xpub and current child counter by VaultId
|
|
982
|
-
**/
|
|
983
|
-
vaultXPubById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[ArgonPrimitivesBitcoinBitcoinXPub, u32]>>>, [
|
|
984
|
-
u32
|
|
985
|
-
]>;
|
|
986
|
-
};
|
|
987
|
-
}
|
|
988
|
-
}
|