@argonprotocol/mainchain 1.4.3-dev.6cdce319 → 1.4.3-dev.6de0a801

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.
@@ -0,0 +1,1059 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import type {} from '@polkadot/api-base/types/submittable';
7
+
8
+ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
9
+ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
10
+ import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
11
+ import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
12
+ import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesInherentsBitcoinUtxoSync, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletBalancesAdjustmentDirection, PalletBitcoinLocksLockOptions, PalletCrosschainTransferChainConfig, PalletCrosschainTransferTransferProof, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionProof, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexPriceIndex, PalletVaultsVaultConfig, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
13
+
14
+ export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
15
+ export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
16
+ export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
17
+
18
+ declare module '@polkadot/api-base/types/submittable' {
19
+ interface AugmentedSubmittables<ApiType extends ApiTypes> {
20
+ balances: {
21
+ /**
22
+ * Burn the specified liquid free balance from the origin account.
23
+ *
24
+ * If the origin's account ends up below the existential deposit as a result
25
+ * of the burn and `keep_alive` is false, the account will be reaped.
26
+ *
27
+ * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
28
+ * this `burn` operation will reduce total issuance by the amount _burned_.
29
+ **/
30
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
31
+ /**
32
+ * Adjust the total issuance in a saturating way.
33
+ *
34
+ * Can only be called by root and always needs a positive `delta`.
35
+ *
36
+ * # Example
37
+ **/
38
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
39
+ /**
40
+ * Set the regular balance of a given account.
41
+ *
42
+ * The dispatch origin for this call is `root`.
43
+ **/
44
+ forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
45
+ /**
46
+ * Exactly as `transfer_allow_death`, except the origin must be root and the source account
47
+ * may be specified.
48
+ **/
49
+ forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
50
+ /**
51
+ * Unreserve some balance from a user by force.
52
+ *
53
+ * Can only be called by ROOT.
54
+ **/
55
+ forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
56
+ /**
57
+ * Transfer the entire transferable balance from the caller account.
58
+ *
59
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
60
+ * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
61
+ * transferred by this function. To ensure that this function results in a killed account,
62
+ * you might need to prepare the account by removing any reference counters, storage
63
+ * deposits, etc...
64
+ *
65
+ * The dispatch origin of this call must be Signed.
66
+ *
67
+ * - `dest`: The recipient of the transfer.
68
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
69
+ * of the funds the account has, causing the sender account to be killed (false), or
70
+ * transfer everything except at least the existential deposit, which will guarantee to
71
+ * keep the sender account alive (true).
72
+ **/
73
+ transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
74
+ /**
75
+ * Transfer some liquid free balance to another account.
76
+ *
77
+ * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
78
+ * If the sender's account is below the existential deposit as a result
79
+ * of the transfer, the account will be reaped.
80
+ *
81
+ * The dispatch origin for this call must be `Signed` by the transactor.
82
+ **/
83
+ transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
84
+ /**
85
+ * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
86
+ * kill the origin account.
87
+ *
88
+ * 99% of the time you want [`transfer_allow_death`] instead.
89
+ *
90
+ * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
91
+ **/
92
+ transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
93
+ /**
94
+ * Upgrade a specified account.
95
+ *
96
+ * - `origin`: Must be `Signed`.
97
+ * - `who`: The account to be upgraded.
98
+ *
99
+ * This will waive the transaction fee if at least all but 10% of the accounts needed to
100
+ * be upgraded. (We let some not have to be upgraded just in order to allow for the
101
+ * possibility of churn).
102
+ **/
103
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
104
+ };
105
+ bitcoinLocks: {
106
+ adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
107
+ /**
108
+ * NOTE: The `signature` parameter is NOT verified on-chain. The orphan record does
109
+ * not retain the cosign script args needed for verification (they are cleaned up
110
+ * with the BitcoinLock). The signature is passed through to the
111
+ * `OrphanedUtxoCosigned` event so the lock owner can construct the Bitcoin release
112
+ * transaction off-chain. A garbage signature means the owner can't spend — no
113
+ * on-chain damage. To add on-chain verification, the cosign script args would need
114
+ * to be stored in `OrphanedUtxo` (storage migration required).
115
+ **/
116
+ cosignOrphanedUtxoRelease: AugmentedSubmittable<(orphanOwner: AccountId32 | string | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, ArgonPrimitivesBitcoinUtxoRef, Bytes]>;
117
+ /**
118
+ * Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
119
+ * release fee will be burned, and the lock will be allowed to expire without a penalty.
120
+ *
121
+ * This is submitted as a no-fee transaction off chain to allow keys to remain in cold
122
+ * wallets.
123
+ **/
124
+ cosignRelease: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Bytes]>;
125
+ increaseSecuritization: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, newSatoshis: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Compact<u64>]>;
126
+ /**
127
+ * Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
128
+ * and log the Bitcoin Script hash to Events.
129
+ *
130
+ * The pubkey submitted here will be used to create a script pubkey that will be used in a
131
+ * timelock multisig script to lock the bitcoin.
132
+ *
133
+ * NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
134
+ * LockedBitcoin and be added to the Bitcoin Mint line.
135
+ **/
136
+ initialize: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | { V1: any } | string) => SubmittableExtrinsic<ApiType>, [u32, Compact<u64>, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, Option<PalletBitcoinLocksLockOptions>]>;
137
+ initializeFor: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array, vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | { V1: any } | string) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Compact<u64>, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, Option<PalletBitcoinLocksLockOptions>]>;
138
+ /**
139
+ * Ratcheting allows a user to change the lock price of their bitcoin lock. This is
140
+ * functionally the same as releasing and re-initializing, but it allows a user to skip
141
+ * sending transactions through bitcoin and any associated fees. It also allows you to stay
142
+ * on your original lock expiration without having to pay the full year of fees again.
143
+ *
144
+ * Ratcheting "down" - when the price of bitcoin is lower than your lock price, you pay the
145
+ * full release price and get added back to the mint queue at the current market rate. You
146
+ * pocket the difference between the already minted "lock price" and the new market value
147
+ * (which you just had burned). Your new lock price is set to the market low, so you can
148
+ * take advantage of ratchets "up" in the future.
149
+ *
150
+ * Ratcheting "up" - when the price of bitcoin is higher than your lock price, you pay a
151
+ * prorated fee for the remainder of your existing lock duration. You are added to the mint
152
+ * queue for the difference in your new lock price vs the previous lock price.
153
+ **/
154
+ ratchet: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | { V1: any } | string) => SubmittableExtrinsic<ApiType>, [u64, Option<PalletBitcoinLocksLockOptions>]>;
155
+ requestOrphanedUtxoRelease: AugmentedSubmittable<(utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesBitcoinUtxoRef, Bytes, u64]>;
156
+ /**
157
+ * Submitted by a Bitcoin holder to trigger the release of their Utxo out of the cosign
158
+ * script. A transaction spending the UTXO should be pre-created so that the sighash
159
+ * can be submitted here. The vault operator will have 10 days to counter-sign the
160
+ * transaction. It will be published with the public key as a BitcoinUtxoCosigned Event.
161
+ *
162
+ * Owner must submit a script pubkey and also a fee to pay to the bitcoin network.
163
+ **/
164
+ requestRelease: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Bytes, u64]>;
165
+ };
166
+ bitcoinUtxos: {
167
+ /**
168
+ * Bind a candidate UTXO ref as the funding UTXO for its lock.
169
+ * The locks pallet authorizes the promotion; this pallet binds the ref and begins
170
+ * tracking.
171
+ **/
172
+ fundWithUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinUtxoRef]>;
173
+ /**
174
+ * Reject a pending candidate UTXO and materialize it as an orphan through the locks
175
+ * pallet.
176
+ **/
177
+ rejectUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinUtxoRef]>;
178
+ /**
179
+ * Sets the most recent confirmed bitcoin block height (only executable by the Oracle
180
+ * Operator account)
181
+ *
182
+ * # Arguments
183
+ * * `bitcoin_height` - the latest bitcoin block height to be confirmed
184
+ **/
185
+ setConfirmedBlock: AugmentedSubmittable<(bitcoinHeight: u64 | AnyNumber | Uint8Array, bitcoinBlockHash: ArgonPrimitivesBitcoinH256Le | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinH256Le]>;
186
+ /**
187
+ * Sets the oracle operator account id (only executable by the Root account)
188
+ *
189
+ * # Arguments
190
+ * * `account_id` - the account id of the operator
191
+ **/
192
+ setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
193
+ /**
194
+ * Submitted when a bitcoin UTXO has been moved or confirmed.
195
+ **/
196
+ sync: AugmentedSubmittable<(utxoSync: ArgonPrimitivesInherentsBitcoinUtxoSync | { spent?: any; funded?: any; syncToBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBitcoinUtxoSync]>;
197
+ };
198
+ blockRewards: {
199
+ setBlockRewardsPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
200
+ };
201
+ blockSeal: {
202
+ apply: AugmentedSubmittable<(seal: ArgonPrimitivesInherentsBlockSealInherent | { Vote: any } | { Compute: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBlockSealInherent]>;
203
+ };
204
+ blockSealSpec: {
205
+ configure: AugmentedSubmittable<(voteMinimum: Option<u128> | null | Uint8Array | u128 | AnyNumber, computeDifficulty: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>, Option<u128>]>;
206
+ };
207
+ crosschainTransfer: {
208
+ proveTransfer: AugmentedSubmittable<(proof: PalletCrosschainTransferTransferProof | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCrosschainTransferTransferProof]>;
209
+ setChainConfig: AugmentedSubmittable<(config: PalletCrosschainTransferChainConfig | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCrosschainTransferChainConfig]>;
210
+ };
211
+ domains: {
212
+ setZoneRecord: AugmentedSubmittable<(domainHash: H256 | string | Uint8Array, zoneRecord: ArgonPrimitivesDomainZoneRecord | { paymentAccount?: any; notaryId?: any; versions?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, ArgonPrimitivesDomainZoneRecord]>;
213
+ };
214
+ ethereumVerifier: {
215
+ /**
216
+ * Used for pallet initialization and light client resetting. Needs to be called by
217
+ * the root origin.
218
+ **/
219
+ forceCheckpoint: AugmentedSubmittable<(update: PalletEthereumVerifierCheckpointUpdate | { header?: any; currentSyncCommittee?: any; currentSyncCommitteeBranch?: any; validatorsRoot?: any } | string | Uint8Array, forkVersions: PalletEthereumVerifierForkVersions | { genesis?: any; altair?: any; bellatrix?: any; capella?: any; deneb?: any; electra?: any; fulu?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierForkVersions]>;
220
+ /**
221
+ * Imports a proven execution header anchor against already-retained beacon state.
222
+ **/
223
+ importExecutionHeaderAnchor: AugmentedSubmittable<(executionProof: PalletEthereumVerifierExecutionProof | { header?: any; executionHeader?: any; executionBranch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierExecutionProof]>;
224
+ /**
225
+ * Halt or resume all pallet operations. May only be called by root.
226
+ **/
227
+ setOperatingMode: AugmentedSubmittable<(mode: PalletEthereumVerifierBasicOperatingMode | 'Normal' | 'Halted' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierBasicOperatingMode]>;
228
+ /**
229
+ * Submits a new finalized beacon header update. The update may contain the next
230
+ * sync committee.
231
+ **/
232
+ submit: AugmentedSubmittable<(update: PalletEthereumVerifierUpdate | { attestedHeader?: any; syncAggregate?: any; signatureSlot?: any; nextSyncCommitteeUpdate?: any; finalizedHeader?: any; finalityBranch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierUpdate]>;
233
+ };
234
+ grandpa: {
235
+ /**
236
+ * Note that the current authority set of the GRANDPA finality gadget has stalled.
237
+ *
238
+ * This will trigger a forced authority set change at the beginning of the next session, to
239
+ * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
240
+ * that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
241
+ * The block production rate (which may be slowed down because of finality lagging) should
242
+ * be taken into account when choosing the `delay`. The GRANDPA voters based on the new
243
+ * authority will start voting on top of `best_finalized_block_number` for new finalized
244
+ * blocks. `best_finalized_block_number` should be the highest of the latest finalized
245
+ * block of all validators of the new authority set.
246
+ *
247
+ * Only callable by root.
248
+ **/
249
+ noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
250
+ /**
251
+ * Report voter equivocation/misbehavior. This method will verify the
252
+ * equivocation proof and validate the given key ownership proof
253
+ * against the extracted offender. If both are valid, the offence
254
+ * will be reported.
255
+ **/
256
+ reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
257
+ /**
258
+ * Report voter equivocation/misbehavior. This method will verify the
259
+ * equivocation proof and validate the given key ownership proof
260
+ * against the extracted offender. If both are valid, the offence
261
+ * will be reported.
262
+ *
263
+ * This extrinsic must be called unsigned and it is expected that only
264
+ * block authors will call it (validated in `ValidateUnsigned`), as such
265
+ * if the block author is defined it will be defined as the equivocation
266
+ * reporter.
267
+ **/
268
+ reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
269
+ };
270
+ localchainTransfer: {
271
+ sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
272
+ };
273
+ miningSlot: {
274
+ /**
275
+ * Submit a bid for a mining slot in the next cohort. Once all spots are filled in the next
276
+ * cohort, a bidder can be supplanted by supplying a higher bid.
277
+ *
278
+ * Each slot has `MaxCohortSize` spots available.
279
+ *
280
+ * To be eligible for a slot, you must have the required ownership tokens (argonots) in
281
+ * this account. The required amount is calculated as a percentage of the total ownership
282
+ * tokens in the network. This percentage is adjusted before the beginning of each slot.
283
+ *
284
+ * If your bid is no longer winning, a `SlotBidderDropped` event will be emitted. By
285
+ * monitoring for this event, you will be able to ensure your bid is accepted.
286
+ *
287
+ * NOTE: bidding for each slot will be closed at a random block within
288
+ * `mining_config.ticks_before_bid_end_for_vrf_close` blocks of the slot end time.
289
+ *
290
+ * The slot duration can be calculated as `BlocksBetweenSlots * MaxMiners / MaxCohortSize`.
291
+ *
292
+ * Parameters:
293
+ * - `bid`: The amount of argons to bid
294
+ * - `keys`: The session "hot" keys for the slot (BlockSealAuthorityId and GrandpaId).
295
+ * - `mining_account_id`: This account_id allows you to operate as this miner account id,
296
+ * but use funding (argonots and bid) from the submitting account
297
+ **/
298
+ bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array, keys: ArgonRuntimeSessionKeys | { grandpa?: any; blockSealAuthority?: any } | string | Uint8Array, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [u128, ArgonRuntimeSessionKeys, Option<AccountId32>]>;
299
+ /**
300
+ * Admin function to update the mining slot delay.
301
+ **/
302
+ configureMiningSlotDelay: AugmentedSubmittable<(miningSlotDelay: Option<u64> | null | Uint8Array | u64 | AnyNumber, ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>, Option<u64>]>;
303
+ };
304
+ mint: {
305
+ };
306
+ multisig: {
307
+ /**
308
+ * Register approval for a dispatch to be made from a deterministic composite account if
309
+ * approved by a total of `threshold - 1` of `other_signatories`.
310
+ *
311
+ * **This function will NEVER execute the call, even if the approval threshold is
312
+ * reached.** It only registers approval. To actually execute the call, `as_multi` must
313
+ * be called with the full call data by any of the signatories.
314
+ *
315
+ * This function is more efficient than `as_multi` for intermediate approvals since it
316
+ * only requires the call hash, not the full call data.
317
+ *
318
+ * Payment: `DepositBase` will be reserved if this is the first approval, plus
319
+ * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
320
+ * is cancelled.
321
+ *
322
+ * The dispatch origin for this call must be _Signed_.
323
+ *
324
+ * - `threshold`: The total number of approvals for this dispatch before it is executed.
325
+ * - `other_signatories`: The accounts (other than the sender) who can approve this
326
+ * dispatch. May not be empty.
327
+ * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
328
+ * not the first approval, then it must be `Some`, with the timepoint (block number and
329
+ * transaction index) of the first approval transaction.
330
+ * - `call_hash`: The hash of the call to be executed.
331
+ *
332
+ * NOTE: To execute the call after approvals are gathered, any signatory must call
333
+ * `as_multi` with the full call data. This function cannot execute the call.
334
+ *
335
+ * ## Complexity
336
+ * - `O(S)`.
337
+ * - Up to one balance-reserve or unreserve operation.
338
+ * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
339
+ * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
340
+ * - One encode & hash, both of complexity `O(S)`.
341
+ * - Up to one binary search and insert (`O(logS + S)`).
342
+ * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
343
+ * - One event.
344
+ * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
345
+ * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
346
+ **/
347
+ approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
348
+ /**
349
+ * Register approval for a dispatch to be made from a deterministic composite account if
350
+ * approved by a total of `threshold - 1` of `other_signatories`.
351
+ *
352
+ * **If the approval threshold is met (including the sender's approval), this will
353
+ * immediately execute the call.** This is the only way to execute a multisig call -
354
+ * `approve_as_multi` will never trigger execution.
355
+ *
356
+ * Payment: `DepositBase` will be reserved if this is the first approval, plus
357
+ * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
358
+ * is cancelled.
359
+ *
360
+ * The dispatch origin for this call must be _Signed_.
361
+ *
362
+ * - `threshold`: The total number of approvals for this dispatch before it is executed.
363
+ * - `other_signatories`: The accounts (other than the sender) who can approve this
364
+ * dispatch. May not be empty.
365
+ * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
366
+ * not the first approval, then it must be `Some`, with the timepoint (block number and
367
+ * transaction index) of the first approval transaction.
368
+ * - `call`: The call to be executed.
369
+ *
370
+ * NOTE: For intermediate approvals (not the final approval), you should generally use
371
+ * `approve_as_multi` instead, since it only requires a hash of the call and is more
372
+ * efficient.
373
+ *
374
+ * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
375
+ * on success, result is `Ok` and the result from the interior call, if it was executed,
376
+ * may be found in the deposited `MultisigExecuted` event.
377
+ *
378
+ * ## Complexity
379
+ * - `O(S + Z + Call)`.
380
+ * - Up to one balance-reserve or unreserve operation.
381
+ * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
382
+ * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
383
+ * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.
384
+ * - One encode & hash, both of complexity `O(S)`.
385
+ * - Up to one binary search and insert (`O(logS + S)`).
386
+ * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
387
+ * - One event.
388
+ * - The weight of the `call`.
389
+ * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
390
+ * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
391
+ **/
392
+ asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
393
+ /**
394
+ * Immediately dispatch a multi-signature call using a single approval from the caller.
395
+ *
396
+ * The dispatch origin for this call must be _Signed_.
397
+ *
398
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
399
+ * multi-signature, but do not participate in the approval process.
400
+ * - `call`: The call to be executed.
401
+ *
402
+ * Result is equivalent to the dispatched result.
403
+ *
404
+ * ## Complexity
405
+ * O(Z + C) where Z is the length of the call and C its execution weight.
406
+ **/
407
+ asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
408
+ /**
409
+ * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
410
+ * for this operation will be unreserved on success.
411
+ *
412
+ * The dispatch origin for this call must be _Signed_.
413
+ *
414
+ * - `threshold`: The total number of approvals for this dispatch before it is executed.
415
+ * - `other_signatories`: The accounts (other than the sender) who can approve this
416
+ * dispatch. May not be empty.
417
+ * - `timepoint`: The timepoint (block number and transaction index) of the first approval
418
+ * transaction for this dispatch.
419
+ * - `call_hash`: The hash of the call to be executed.
420
+ *
421
+ * ## Complexity
422
+ * - `O(S)`.
423
+ * - Up to one balance-reserve or unreserve operation.
424
+ * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
425
+ * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
426
+ * - One encode & hash, both of complexity `O(S)`.
427
+ * - One event.
428
+ * - I/O: 1 read `O(S)`, one remove.
429
+ * - Storage: removes one item.
430
+ **/
431
+ cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
432
+ /**
433
+ * Poke the deposit reserved for an existing multisig operation.
434
+ *
435
+ * The dispatch origin for this call must be _Signed_ and must be the original depositor of
436
+ * the multisig operation.
437
+ *
438
+ * The transaction fee is waived if the deposit amount has changed.
439
+ *
440
+ * - `threshold`: The total number of approvals needed for this multisig.
441
+ * - `other_signatories`: The accounts (other than the sender) who are part of the
442
+ * multisig.
443
+ * - `call_hash`: The hash of the call this deposit is reserved for.
444
+ *
445
+ * Emits `DepositPoked` if successful.
446
+ **/
447
+ pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
448
+ };
449
+ notaries: {
450
+ activate: AugmentedSubmittable<(operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
451
+ propose: AugmentedSubmittable<(meta: ArgonPrimitivesNotaryNotaryMeta | { name?: any; public?: any; hosts?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesNotaryNotaryMeta]>;
452
+ /**
453
+ * Update the metadata of a notary, to be effective at the given tick height, which must be
454
+ * >= MetaChangesTickDelay ticks in the future.
455
+ **/
456
+ update: AugmentedSubmittable<(notaryId: Compact<u32> | AnyNumber | Uint8Array, meta: ArgonPrimitivesNotaryNotaryMeta | { name?: any; public?: any; hosts?: any } | string | Uint8Array, effectiveTick: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u64>]>;
457
+ };
458
+ notebook: {
459
+ submit: AugmentedSubmittable<(notebooks: Vec<ArgonPrimitivesNotebookSignedNotebookHeader> | (ArgonPrimitivesNotebookSignedNotebookHeader | { header?: any; signature?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<ArgonPrimitivesNotebookSignedNotebookHeader>]>;
460
+ unlock: AugmentedSubmittable<(notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
461
+ };
462
+ operationalAccounts: {
463
+ /**
464
+ * Activate an eligible operational account from any managed account.
465
+ **/
466
+ activate: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
467
+ /**
468
+ * Claim pending operational rewards to any managed account.
469
+ **/
470
+ claimRewards: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
471
+ /**
472
+ * Force-update operational progress markers for an account.
473
+ **/
474
+ forceSetProgress: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, patch: PalletOperationalAccountsOperationalProgressPatch | { hasUniswapTransfer?: any; vaultCreated?: any; hasTreasuryPoolParticipation?: any; observedBitcoinTotal?: any; observedMiningSeatTotal?: any } | string | Uint8Array, updateOperationalProgress: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletOperationalAccountsOperationalProgressPatch, bool]>;
475
+ /**
476
+ * Register vault, mining funding, and bot accounts for an operational account.
477
+ * Any account in the registration may submit the transaction.
478
+ * If a referral proof is provided, the registration records the sponsor relationship.
479
+ **/
480
+ register: AugmentedSubmittable<(registration: PalletOperationalAccountsRegistration | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletOperationalAccountsRegistration]>;
481
+ /**
482
+ * Store an opaque encrypted sponsor server payload for a sponsored operational account.
483
+ **/
484
+ setEncryptedServerForSponsee: AugmentedSubmittable<(sponsee: AccountId32 | string | Uint8Array, encryptedServer: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Bytes]>;
485
+ /**
486
+ * Update reward amounts for operational accounts.
487
+ **/
488
+ setRewardConfig: AugmentedSubmittable<(operationalReferralReward: u128 | AnyNumber | Uint8Array, referralBonusReward: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u128]>;
489
+ };
490
+ ownership: {
491
+ /**
492
+ * Burn the specified liquid free balance from the origin account.
493
+ *
494
+ * If the origin's account ends up below the existential deposit as a result
495
+ * of the burn and `keep_alive` is false, the account will be reaped.
496
+ *
497
+ * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
498
+ * this `burn` operation will reduce total issuance by the amount _burned_.
499
+ **/
500
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
501
+ /**
502
+ * Adjust the total issuance in a saturating way.
503
+ *
504
+ * Can only be called by root and always needs a positive `delta`.
505
+ *
506
+ * # Example
507
+ **/
508
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
509
+ /**
510
+ * Set the regular balance of a given account.
511
+ *
512
+ * The dispatch origin for this call is `root`.
513
+ **/
514
+ forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
515
+ /**
516
+ * Exactly as `transfer_allow_death`, except the origin must be root and the source account
517
+ * may be specified.
518
+ **/
519
+ forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
520
+ /**
521
+ * Unreserve some balance from a user by force.
522
+ *
523
+ * Can only be called by ROOT.
524
+ **/
525
+ forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
526
+ /**
527
+ * Transfer the entire transferable balance from the caller account.
528
+ *
529
+ * NOTE: This function only attempts to transfer _transferable_ balances. This means that
530
+ * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
531
+ * transferred by this function. To ensure that this function results in a killed account,
532
+ * you might need to prepare the account by removing any reference counters, storage
533
+ * deposits, etc...
534
+ *
535
+ * The dispatch origin of this call must be Signed.
536
+ *
537
+ * - `dest`: The recipient of the transfer.
538
+ * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
539
+ * of the funds the account has, causing the sender account to be killed (false), or
540
+ * transfer everything except at least the existential deposit, which will guarantee to
541
+ * keep the sender account alive (true).
542
+ **/
543
+ transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
544
+ /**
545
+ * Transfer some liquid free balance to another account.
546
+ *
547
+ * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
548
+ * If the sender's account is below the existential deposit as a result
549
+ * of the transfer, the account will be reaped.
550
+ *
551
+ * The dispatch origin for this call must be `Signed` by the transactor.
552
+ **/
553
+ transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
554
+ /**
555
+ * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
556
+ * kill the origin account.
557
+ *
558
+ * 99% of the time you want [`transfer_allow_death`] instead.
559
+ *
560
+ * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
561
+ **/
562
+ transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
563
+ /**
564
+ * Upgrade a specified account.
565
+ *
566
+ * - `origin`: Must be `Signed`.
567
+ * - `who`: The account to be upgraded.
568
+ *
569
+ * This will waive the transaction fee if at least all but 10% of the accounts needed to
570
+ * be upgraded. (We let some not have to be upgraded just in order to allow for the
571
+ * possibility of churn).
572
+ **/
573
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
574
+ };
575
+ priceIndex: {
576
+ /**
577
+ * Sets the operator account id (only executable by the Root account)
578
+ *
579
+ * # Arguments
580
+ * * `account_id` - the account id of the operator
581
+ **/
582
+ setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
583
+ /**
584
+ * Submit the latest price index. Only valid for the configured operator account
585
+ **/
586
+ submit: AugmentedSubmittable<(index: PalletPriceIndexPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletPriceIndexPriceIndex]>;
587
+ };
588
+ proxy: {
589
+ /**
590
+ * Register a proxy account for the sender that is able to make calls on its behalf.
591
+ *
592
+ * The dispatch origin for this call must be _Signed_.
593
+ *
594
+ * Parameters:
595
+ * - `proxy`: The account that the `caller` would like to make a proxy.
596
+ * - `proxy_type`: The permissions allowed for this proxy account.
597
+ * - `delay`: The announcement period required of the initial proxy. Will generally be
598
+ * zero.
599
+ **/
600
+ addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
601
+ /**
602
+ * Publish the hash of a proxy-call that will be made in the future.
603
+ *
604
+ * This must be called some number of blocks before the corresponding `proxy` is attempted
605
+ * if the delay associated with the proxy relationship is greater than zero.
606
+ *
607
+ * No more than `MaxPending` announcements may be made at any one time.
608
+ *
609
+ * This will take a deposit of `AnnouncementDepositFactor` as well as
610
+ * `AnnouncementDepositBase` if there are no other pending announcements.
611
+ *
612
+ * The dispatch origin for this call must be _Signed_ and a proxy of `real`.
613
+ *
614
+ * Parameters:
615
+ * - `real`: The account that the proxy will make a call on behalf of.
616
+ * - `call_hash`: The hash of the call to be made by the `real` account.
617
+ **/
618
+ announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
619
+ /**
620
+ * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
621
+ * initialize it with a proxy of `proxy_type` for `origin` sender.
622
+ *
623
+ * Requires a `Signed` origin.
624
+ *
625
+ * - `proxy_type`: The type of the proxy that the sender will be registered as over the
626
+ * new account. This will almost always be the most permissive `ProxyType` possible to
627
+ * allow for maximum flexibility.
628
+ * - `index`: A disambiguation index, in case this is called multiple times in the same
629
+ * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just
630
+ * want to use `0`.
631
+ * - `delay`: The announcement period required of the initial proxy. Will generally be
632
+ * zero.
633
+ *
634
+ * Fails with `Duplicate` if this has already been called in this transaction, from the
635
+ * same sender, with the same parameters.
636
+ *
637
+ * Fails if there are insufficient funds to pay for deposit.
638
+ **/
639
+ createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeProxyType, u32, u16]>;
640
+ /**
641
+ * Removes a previously spawned pure proxy.
642
+ *
643
+ * WARNING: **All access to this account will be lost.** Any funds held in it will be
644
+ * inaccessible.
645
+ *
646
+ * Requires a `Signed` origin, and the sender account must have been created by a call to
647
+ * `create_pure` with corresponding parameters.
648
+ *
649
+ * - `spawner`: The account that originally called `create_pure` to create this account.
650
+ * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
651
+ * - `proxy_type`: The proxy type originally passed to `create_pure`.
652
+ * - `height`: The height of the chain when the call to `create_pure` was processed.
653
+ * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
654
+ *
655
+ * Fails with `NoPermission` in case the caller is not a previously created pure
656
+ * account whose `create_pure` call has corresponding parameters.
657
+ **/
658
+ killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | 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>]>;
659
+ /**
660
+ * Poke / Adjust deposits made for proxies and announcements based on current values.
661
+ * This can be used by accounts to possibly lower their locked amount.
662
+ *
663
+ * The dispatch origin for this call must be _Signed_.
664
+ *
665
+ * The transaction fee is waived if the deposit amount has changed.
666
+ *
667
+ * Emits `DepositPoked` if successful.
668
+ **/
669
+ pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
670
+ /**
671
+ * Dispatch the given `call` from an account that the sender is authorised for through
672
+ * `add_proxy`.
673
+ *
674
+ * The dispatch origin for this call must be _Signed_.
675
+ *
676
+ * Parameters:
677
+ * - `real`: The account that the proxy will make a call on behalf of.
678
+ * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
679
+ * - `call`: The call to be made by the `real` account.
680
+ **/
681
+ proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
682
+ /**
683
+ * Dispatch the given `call` from an account that the sender is authorized for through
684
+ * `add_proxy`.
685
+ *
686
+ * Removes any corresponding announcement(s).
687
+ *
688
+ * The dispatch origin for this call must be _Signed_.
689
+ *
690
+ * Parameters:
691
+ * - `real`: The account that the proxy will make a call on behalf of.
692
+ * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
693
+ * - `call`: The call to be made by the `real` account.
694
+ **/
695
+ proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
696
+ /**
697
+ * Remove the given announcement of a delegate.
698
+ *
699
+ * May be called by a target (proxied) account to remove a call that one of their delegates
700
+ * (`delegate`) has announced they want to execute. The deposit is returned.
701
+ *
702
+ * The dispatch origin for this call must be _Signed_.
703
+ *
704
+ * Parameters:
705
+ * - `delegate`: The account that previously announced the call.
706
+ * - `call_hash`: The hash of the call to be made.
707
+ **/
708
+ rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
709
+ /**
710
+ * Remove a given announcement.
711
+ *
712
+ * May be called by a proxy account to remove a call they previously announced and return
713
+ * the deposit.
714
+ *
715
+ * The dispatch origin for this call must be _Signed_.
716
+ *
717
+ * Parameters:
718
+ * - `real`: The account that the proxy will make a call on behalf of.
719
+ * - `call_hash`: The hash of the call to be made by the `real` account.
720
+ **/
721
+ removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
722
+ /**
723
+ * Unregister all proxy accounts for the sender.
724
+ *
725
+ * The dispatch origin for this call must be _Signed_.
726
+ *
727
+ * WARNING: This may be called on accounts created by `create_pure`, however if done, then
728
+ * the unreserved fees will be inaccessible. **All access to this account will be lost.**
729
+ **/
730
+ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
731
+ /**
732
+ * Unregister a proxy account for the sender.
733
+ *
734
+ * The dispatch origin for this call must be _Signed_.
735
+ *
736
+ * Parameters:
737
+ * - `proxy`: The account that the `caller` would like to remove as a proxy.
738
+ * - `proxy_type`: The permissions currently enabled for the removed proxy account.
739
+ **/
740
+ removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'NonTransfer' | 'PriceIndex' | 'MiningBid' | 'MiningBidRealPaysFee' | 'Bitcoin' | 'VaultAdmin' | 'BitcoinInitializeFor' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
741
+ };
742
+ sudo: {
743
+ /**
744
+ * Permanently removes the sudo key.
745
+ *
746
+ * **This cannot be un-done.**
747
+ **/
748
+ removeKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
749
+ /**
750
+ * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
751
+ * key.
752
+ **/
753
+ setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
754
+ /**
755
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
756
+ **/
757
+ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
758
+ /**
759
+ * Authenticates the sudo key and dispatches a function call with `Signed` origin from
760
+ * a given account.
761
+ *
762
+ * The dispatch origin for this call must be _Signed_.
763
+ **/
764
+ sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
765
+ /**
766
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
767
+ * This function does not check the weight of the call, and instead allows the
768
+ * Sudo user to specify the weight of the call.
769
+ *
770
+ * The dispatch origin for this call must be _Signed_.
771
+ **/
772
+ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
773
+ };
774
+ system: {
775
+ /**
776
+ * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
777
+ *
778
+ * If the authorization required a version check, this call will ensure the spec name
779
+ * remains unchanged and that the spec version has increased.
780
+ *
781
+ * Depending on the runtime's `OnSetCode` configuration, this function may directly apply
782
+ * the new `code` in the same block or attempt to schedule the upgrade.
783
+ *
784
+ * All origins are allowed.
785
+ **/
786
+ applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
787
+ /**
788
+ * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
789
+ * later.
790
+ *
791
+ * This call requires Root origin.
792
+ **/
793
+ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
794
+ /**
795
+ * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
796
+ * later.
797
+ *
798
+ * WARNING: This authorizes an upgrade that will take place without any safety checks, for
799
+ * example that the spec name remains the same and that the version number increases. Not
800
+ * recommended for normal use. Use `authorize_upgrade` instead.
801
+ *
802
+ * This call requires Root origin.
803
+ **/
804
+ authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
805
+ /**
806
+ * Kill all storage items with a key that starts with the given prefix.
807
+ *
808
+ * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
809
+ * the prefix we are removing to accurately calculate the weight of this function.
810
+ **/
811
+ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
812
+ /**
813
+ * Kill some items from storage.
814
+ **/
815
+ killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
816
+ /**
817
+ * Make some on-chain remark.
818
+ *
819
+ * Can be executed by every `origin`.
820
+ **/
821
+ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
822
+ /**
823
+ * Make some on-chain remark and emit event.
824
+ **/
825
+ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
826
+ /**
827
+ * Set the new runtime code.
828
+ **/
829
+ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
830
+ /**
831
+ * Set the new runtime code without doing any checks of the given `code`.
832
+ *
833
+ * Note that runtime upgrades will not run if this is called with a not-increasing spec
834
+ * version!
835
+ **/
836
+ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
837
+ /**
838
+ * Set the number of pages in the WebAssembly environment's heap.
839
+ **/
840
+ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
841
+ /**
842
+ * Set some items of storage.
843
+ **/
844
+ setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
845
+ };
846
+ ticks: {
847
+ };
848
+ timestamp: {
849
+ /**
850
+ * Set the current time.
851
+ *
852
+ * This call should be invoked exactly once per block. It will panic at the finalization
853
+ * phase, if this call hasn't been invoked by that time.
854
+ *
855
+ * The timestamp should be greater than the previous one by the amount specified by
856
+ * [`Config::MinimumPeriod`].
857
+ *
858
+ * The dispatch origin for this call must be _None_.
859
+ *
860
+ * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
861
+ * that changing the complexity of this call could result exhausting the resources in a
862
+ * block to execute any other calls.
863
+ *
864
+ * ## Complexity
865
+ * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
866
+ * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
867
+ * `on_finalize`)
868
+ * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
869
+ **/
870
+ set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
871
+ };
872
+ treasury: {
873
+ /**
874
+ * Buy whole `1 ARGON` bonds for a vault.
875
+ *
876
+ * The purchase either enters the accepted list or fails.
877
+ **/
878
+ buyBonds: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bonds: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
879
+ /**
880
+ * Liquidate one full bond lot.
881
+ *
882
+ * The lot stops participating right away and is released after the delay.
883
+ **/
884
+ liquidateBondLot: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
885
+ };
886
+ txPause: {
887
+ /**
888
+ * Pause a call.
889
+ *
890
+ * Can only be called by [`Config::PauseOrigin`].
891
+ * Emits an [`Event::CallPaused`] event on success.
892
+ **/
893
+ pause: AugmentedSubmittable<(fullName: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
894
+ /**
895
+ * Un-pause a call.
896
+ *
897
+ * Can only be called by [`Config::UnpauseOrigin`].
898
+ * Emits an [`Event::CallUnpaused`] event on success.
899
+ **/
900
+ unpause: AugmentedSubmittable<(ident: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
901
+ };
902
+ utility: {
903
+ /**
904
+ * Send a call through an indexed pseudonym of the sender.
905
+ *
906
+ * Filter from origin are passed along. The call will be dispatched with an origin which
907
+ * use the same filter as the origin of this call.
908
+ *
909
+ * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
910
+ * because you expect `proxy` to have been used prior in the call stack and you do not want
911
+ * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
912
+ * in the Multisig pallet instead.
913
+ *
914
+ * NOTE: Prior to version *12, this was called `as_limited_sub`.
915
+ *
916
+ * The dispatch origin for this call must be _Signed_.
917
+ **/
918
+ asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
919
+ /**
920
+ * Send a batch of dispatch calls.
921
+ *
922
+ * May be called from any origin except `None`.
923
+ *
924
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
925
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
926
+ *
927
+ * If origin is root then the calls are dispatched without checking origin filter. (This
928
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
929
+ *
930
+ * ## Complexity
931
+ * - O(C) where C is the number of calls to be batched.
932
+ *
933
+ * This will return `Ok` in all circumstances. To determine the success of the batch, an
934
+ * event is deposited. If a call failed and the batch was interrupted, then the
935
+ * `BatchInterrupted` event is deposited, along with the number of successful calls made
936
+ * and the error of the failed call. If all were successful, then the `BatchCompleted`
937
+ * event is deposited.
938
+ **/
939
+ batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
940
+ /**
941
+ * Send a batch of dispatch calls and atomically execute them.
942
+ * The whole transaction will rollback and fail if any of the calls failed.
943
+ *
944
+ * May be called from any origin except `None`.
945
+ *
946
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
947
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
948
+ *
949
+ * If origin is root then the calls are dispatched without checking origin filter. (This
950
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
951
+ *
952
+ * ## Complexity
953
+ * - O(C) where C is the number of calls to be batched.
954
+ **/
955
+ batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
956
+ /**
957
+ * Dispatches a function call with a provided origin.
958
+ *
959
+ * The dispatch origin for this call must be _Root_.
960
+ *
961
+ * ## Complexity
962
+ * - O(1).
963
+ **/
964
+ dispatchAs: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
965
+ /**
966
+ * Dispatches a function call with a provided origin.
967
+ *
968
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
969
+ *
970
+ * The dispatch origin for this call must be _Root_.
971
+ **/
972
+ dispatchAsFallible: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
973
+ /**
974
+ * Send a batch of dispatch calls.
975
+ * Unlike `batch`, it allows errors and won't interrupt.
976
+ *
977
+ * May be called from any origin except `None`.
978
+ *
979
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
980
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
981
+ *
982
+ * If origin is root then the calls are dispatch without checking origin filter. (This
983
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
984
+ *
985
+ * ## Complexity
986
+ * - O(C) where C is the number of calls to be batched.
987
+ **/
988
+ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
989
+ /**
990
+ * Dispatch a fallback call in the event the main call fails to execute.
991
+ * May be called from any origin except `None`.
992
+ *
993
+ * This function first attempts to dispatch the `main` call.
994
+ * If the `main` call fails, the `fallback` is attemted.
995
+ * if the fallback is successfully dispatched, the weights of both calls
996
+ * are accumulated and an event containing the main call error is deposited.
997
+ *
998
+ * In the event of a fallback failure the whole call fails
999
+ * with the weights returned.
1000
+ *
1001
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
1002
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
1003
+ *
1004
+ * ## Dispatch Logic
1005
+ * - If the origin is `root`, both the main and fallback calls are executed without
1006
+ * applying any origin filters.
1007
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
1008
+ * `fallback` calls.
1009
+ *
1010
+ * ## Use Case
1011
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
1012
+ * or both.
1013
+ **/
1014
+ ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
1015
+ /**
1016
+ * Dispatch a function call with a specified weight.
1017
+ *
1018
+ * This function does not check the weight of the call, and instead allows the
1019
+ * Root origin to specify the weight of the call.
1020
+ *
1021
+ * The dispatch origin for this call must be _Root_.
1022
+ **/
1023
+ withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
1024
+ };
1025
+ vaults: {
1026
+ /**
1027
+ * Stop offering additional bitcoin locks from this vault. Will not affect existing
1028
+ * locks. As funds are returned, they will be released to the vault owner.
1029
+ **/
1030
+ close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1031
+ collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1032
+ create: AugmentedSubmittable<(vaultConfig: PalletVaultsVaultConfig | { terms?: any; name?: any; securitization?: any; bitcoinXpubkey?: any; securitizationRatio?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletVaultsVaultConfig]>;
1033
+ /**
1034
+ * Modify funds allocated by the vault. This will not affect issued bitcoin locks, but will
1035
+ * affect the amount of funds available for new ones.
1036
+ *
1037
+ * The securitization percent must be maintained or increased.
1038
+ *
1039
+ * The amount allocated may not go below the existing reserved amounts, but you can release
1040
+ * funds in this vault as bitcoin locks are released. To stop issuing any more bitcoin
1041
+ * locks, use the `close` api.
1042
+ **/
1043
+ modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array, securitizationRatio: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128, u128]>;
1044
+ /**
1045
+ * Change the terms of this vault. The change will be applied at the next mining slot
1046
+ * change that is at least `MinTermsModificationBlockDelay` blocks away.
1047
+ **/
1048
+ modifyTerms: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, terms: ArgonPrimitivesVaultVaultTerms | { bitcoinAnnualPercentRate?: any; bitcoinBaseFee?: any; treasuryProfitSharing?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesVaultVaultTerms]>;
1049
+ /**
1050
+ * Replace the bitcoin xpubkey for this vault. This will not affect existing bitcoin locks,
1051
+ * but will be used for any locks after this point. Will be rejected if already
1052
+ * used.
1053
+ **/
1054
+ replaceBitcoinXpub: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]>;
1055
+ setBitcoinLockDelegate: AugmentedSubmittable<(delegateAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
1056
+ setName: AugmentedSubmittable<(name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [Option<Bytes>]>;
1057
+ };
1058
+ } // AugmentedSubmittables
1059
+ } // declare module