@argonprotocol/mainchain 1.4.3-dev.5e4d8d6a → 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.
@@ -5,271 +5,105 @@
5
5
  // this is required to allow for ambient/previous definitions
6
6
  import type {} from '@polkadot/api-base/types/submittable';
7
7
 
8
- import type {
9
- ApiTypes,
10
- AugmentedSubmittable,
11
- SubmittableExtrinsic,
12
- SubmittableExtrinsicFunction,
13
- } from '@polkadot/api-base/types';
14
- import type {
15
- Bytes,
16
- Compact,
17
- Option,
18
- U8aFixed,
19
- Vec,
20
- bool,
21
- u128,
22
- u16,
23
- u32,
24
- u64,
25
- } from '@polkadot/types-codec';
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';
26
10
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
27
11
  import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
28
- import type {
29
- ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
30
- ArgonPrimitivesBitcoinH256Le,
31
- ArgonPrimitivesBitcoinOpaqueBitcoinXpub,
32
- ArgonPrimitivesBitcoinUtxoRef,
33
- ArgonPrimitivesDomainZoneRecord,
34
- ArgonPrimitivesInherentsBitcoinUtxoSync,
35
- ArgonPrimitivesInherentsBlockSealInherent,
36
- ArgonPrimitivesNotaryNotaryMeta,
37
- ArgonPrimitivesNotebookSignedNotebookHeader,
38
- ArgonPrimitivesVaultVaultTerms,
39
- ArgonRuntimeOriginCaller,
40
- ArgonRuntimeProxyType,
41
- ArgonRuntimeSessionKeys,
42
- PalletBalancesAdjustmentDirection,
43
- PalletBitcoinLocksLockOptions,
44
- PalletCrosschainTransferChainConfig,
45
- PalletCrosschainTransferTransferProof,
46
- PalletEthereumVerifierBasicOperatingMode,
47
- PalletEthereumVerifierCheckpointUpdate,
48
- PalletEthereumVerifierExecutionProof,
49
- PalletEthereumVerifierForkVersions,
50
- PalletEthereumVerifierUpdate,
51
- PalletMultisigTimepoint,
52
- PalletOperationalAccountsOperationalProgressPatch,
53
- PalletOperationalAccountsRegistration,
54
- PalletPriceIndexPriceIndex,
55
- PalletVaultsVaultConfig,
56
- SpConsensusGrandpaEquivocationProof,
57
- SpCoreVoid,
58
- SpWeightsWeightV2Weight,
59
- } from '@polkadot/types/lookup';
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';
60
13
 
61
14
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
62
15
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
63
- export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> =
64
- SubmittableExtrinsicFunction<ApiType>;
16
+ export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
65
17
 
66
18
  declare module '@polkadot/api-base/types/submittable' {
67
19
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
68
20
  balances: {
69
21
  /**
70
22
  * Burn the specified liquid free balance from the origin account.
71
- *
23
+ *
72
24
  * If the origin's account ends up below the existential deposit as a result
73
25
  * of the burn and `keep_alive` is false, the account will be reaped.
74
- *
26
+ *
75
27
  * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
76
28
  * this `burn` operation will reduce total issuance by the amount _burned_.
77
29
  **/
78
- burn: AugmentedSubmittable<
79
- (
80
- value: Compact<u128> | AnyNumber | Uint8Array,
81
- keepAlive: bool | boolean | Uint8Array,
82
- ) => SubmittableExtrinsic<ApiType>,
83
- [Compact<u128>, bool]
84
- >;
30
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
85
31
  /**
86
32
  * Adjust the total issuance in a saturating way.
87
- *
33
+ *
88
34
  * Can only be called by root and always needs a positive `delta`.
89
- *
35
+ *
90
36
  * # Example
91
37
  **/
92
- forceAdjustTotalIssuance: AugmentedSubmittable<
93
- (
94
- direction:
95
- | PalletBalancesAdjustmentDirection
96
- | 'Increase'
97
- | 'Decrease'
98
- | number
99
- | Uint8Array,
100
- delta: Compact<u128> | AnyNumber | Uint8Array,
101
- ) => SubmittableExtrinsic<ApiType>,
102
- [PalletBalancesAdjustmentDirection, Compact<u128>]
103
- >;
38
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
104
39
  /**
105
40
  * Set the regular balance of a given account.
106
- *
41
+ *
107
42
  * The dispatch origin for this call is `root`.
108
43
  **/
109
- forceSetBalance: AugmentedSubmittable<
110
- (
111
- who:
112
- | MultiAddress
113
- | { Id: any }
114
- | { Index: any }
115
- | { Raw: any }
116
- | { Address32: any }
117
- | { Address20: any }
118
- | string
119
- | Uint8Array,
120
- newFree: Compact<u128> | AnyNumber | Uint8Array,
121
- ) => SubmittableExtrinsic<ApiType>,
122
- [MultiAddress, Compact<u128>]
123
- >;
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>]>;
124
45
  /**
125
46
  * Exactly as `transfer_allow_death`, except the origin must be root and the source account
126
47
  * may be specified.
127
48
  **/
128
- forceTransfer: AugmentedSubmittable<
129
- (
130
- source:
131
- | MultiAddress
132
- | { Id: any }
133
- | { Index: any }
134
- | { Raw: any }
135
- | { Address32: any }
136
- | { Address20: any }
137
- | string
138
- | Uint8Array,
139
- dest:
140
- | MultiAddress
141
- | { Id: any }
142
- | { Index: any }
143
- | { Raw: any }
144
- | { Address32: any }
145
- | { Address20: any }
146
- | string
147
- | Uint8Array,
148
- value: Compact<u128> | AnyNumber | Uint8Array,
149
- ) => SubmittableExtrinsic<ApiType>,
150
- [MultiAddress, MultiAddress, Compact<u128>]
151
- >;
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>]>;
152
50
  /**
153
51
  * Unreserve some balance from a user by force.
154
- *
52
+ *
155
53
  * Can only be called by ROOT.
156
54
  **/
157
- forceUnreserve: AugmentedSubmittable<
158
- (
159
- who:
160
- | MultiAddress
161
- | { Id: any }
162
- | { Index: any }
163
- | { Raw: any }
164
- | { Address32: any }
165
- | { Address20: any }
166
- | string
167
- | Uint8Array,
168
- amount: u128 | AnyNumber | Uint8Array,
169
- ) => SubmittableExtrinsic<ApiType>,
170
- [MultiAddress, u128]
171
- >;
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]>;
172
56
  /**
173
57
  * Transfer the entire transferable balance from the caller account.
174
- *
58
+ *
175
59
  * NOTE: This function only attempts to transfer _transferable_ balances. This means that
176
60
  * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
177
61
  * transferred by this function. To ensure that this function results in a killed account,
178
62
  * you might need to prepare the account by removing any reference counters, storage
179
63
  * deposits, etc...
180
- *
64
+ *
181
65
  * The dispatch origin of this call must be Signed.
182
- *
66
+ *
183
67
  * - `dest`: The recipient of the transfer.
184
68
  * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
185
69
  * of the funds the account has, causing the sender account to be killed (false), or
186
70
  * transfer everything except at least the existential deposit, which will guarantee to
187
71
  * keep the sender account alive (true).
188
72
  **/
189
- transferAll: AugmentedSubmittable<
190
- (
191
- dest:
192
- | MultiAddress
193
- | { Id: any }
194
- | { Index: any }
195
- | { Raw: any }
196
- | { Address32: any }
197
- | { Address20: any }
198
- | string
199
- | Uint8Array,
200
- keepAlive: bool | boolean | Uint8Array,
201
- ) => SubmittableExtrinsic<ApiType>,
202
- [MultiAddress, bool]
203
- >;
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]>;
204
74
  /**
205
75
  * Transfer some liquid free balance to another account.
206
- *
76
+ *
207
77
  * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
208
78
  * If the sender's account is below the existential deposit as a result
209
79
  * of the transfer, the account will be reaped.
210
- *
80
+ *
211
81
  * The dispatch origin for this call must be `Signed` by the transactor.
212
82
  **/
213
- transferAllowDeath: AugmentedSubmittable<
214
- (
215
- dest:
216
- | MultiAddress
217
- | { Id: any }
218
- | { Index: any }
219
- | { Raw: any }
220
- | { Address32: any }
221
- | { Address20: any }
222
- | string
223
- | Uint8Array,
224
- value: Compact<u128> | AnyNumber | Uint8Array,
225
- ) => SubmittableExtrinsic<ApiType>,
226
- [MultiAddress, Compact<u128>]
227
- >;
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>]>;
228
84
  /**
229
85
  * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
230
86
  * kill the origin account.
231
- *
87
+ *
232
88
  * 99% of the time you want [`transfer_allow_death`] instead.
233
- *
89
+ *
234
90
  * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
235
91
  **/
236
- transferKeepAlive: AugmentedSubmittable<
237
- (
238
- dest:
239
- | MultiAddress
240
- | { Id: any }
241
- | { Index: any }
242
- | { Raw: any }
243
- | { Address32: any }
244
- | { Address20: any }
245
- | string
246
- | Uint8Array,
247
- value: Compact<u128> | AnyNumber | Uint8Array,
248
- ) => SubmittableExtrinsic<ApiType>,
249
- [MultiAddress, Compact<u128>]
250
- >;
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>]>;
251
93
  /**
252
94
  * Upgrade a specified account.
253
- *
95
+ *
254
96
  * - `origin`: Must be `Signed`.
255
97
  * - `who`: The account to be upgraded.
256
- *
98
+ *
257
99
  * This will waive the transaction fee if at least all but 10% of the accounts needed to
258
100
  * be upgraded. (We let some not have to be upgraded just in order to allow for the
259
101
  * possibility of churn).
260
102
  **/
261
- upgradeAccounts: AugmentedSubmittable<
262
- (
263
- who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
264
- ) => SubmittableExtrinsic<ApiType>,
265
- [Vec<AccountId32>]
266
- >;
103
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
267
104
  };
268
105
  bitcoinLocks: {
269
- adminModifyMinimumLockedSats: AugmentedSubmittable<
270
- (satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
271
- [u64]
272
- >;
106
+ adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
273
107
  /**
274
108
  * NOTE: The `signature` parameter is NOT verified on-chain. The orphan record does
275
109
  * not retain the cosign script args needed for verification (they are cleaned up
@@ -279,148 +113,55 @@ declare module '@polkadot/api-base/types/submittable' {
279
113
  * on-chain damage. To add on-chain verification, the cosign script args would need
280
114
  * to be stored in `OrphanedUtxo` (storage migration required).
281
115
  **/
282
- cosignOrphanedUtxoRelease: AugmentedSubmittable<
283
- (
284
- orphanOwner: AccountId32 | string | Uint8Array,
285
- utxoRef:
286
- | ArgonPrimitivesBitcoinUtxoRef
287
- | { txid?: any; outputIndex?: any }
288
- | string
289
- | Uint8Array,
290
- signature: Bytes | string | Uint8Array,
291
- ) => SubmittableExtrinsic<ApiType>,
292
- [AccountId32, ArgonPrimitivesBitcoinUtxoRef, Bytes]
293
- >;
116
+ cosignOrphanedUtxoRelease: AugmentedSubmittable<(orphanOwner: AccountId32 | string | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, ArgonPrimitivesBitcoinUtxoRef, Bytes]>;
294
117
  /**
295
118
  * Submitted by a Vault operator to cosign the release of a bitcoin utxo. The Bitcoin owner
296
119
  * release fee will be burned, and the lock will be allowed to expire without a penalty.
297
- *
120
+ *
298
121
  * This is submitted as a no-fee transaction off chain to allow keys to remain in cold
299
122
  * wallets.
300
123
  **/
301
- cosignRelease: AugmentedSubmittable<
302
- (
303
- utxoId: u64 | AnyNumber | Uint8Array,
304
- signature: Bytes | string | Uint8Array,
305
- ) => SubmittableExtrinsic<ApiType>,
306
- [u64, Bytes]
307
- >;
308
- increaseSecuritization: AugmentedSubmittable<
309
- (
310
- utxoId: u64 | AnyNumber | Uint8Array,
311
- newSatoshis: Compact<u64> | AnyNumber | Uint8Array,
312
- ) => SubmittableExtrinsic<ApiType>,
313
- [u64, Compact<u64>]
314
- >;
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>]>;
315
126
  /**
316
127
  * Initialize a bitcoin lock. This will create a LockedBitcoin for the submitting account
317
128
  * and log the Bitcoin Script hash to Events.
318
- *
129
+ *
319
130
  * The pubkey submitted here will be used to create a script pubkey that will be used in a
320
131
  * timelock multisig script to lock the bitcoin.
321
- *
132
+ *
322
133
  * NOTE: A "lock-er" must send btc to the cosigner UTXO address to "complete" the
323
134
  * LockedBitcoin and be added to the Bitcoin Mint line.
324
135
  **/
325
- initialize: AugmentedSubmittable<
326
- (
327
- vaultId: u32 | AnyNumber | Uint8Array,
328
- satoshis: Compact<u64> | AnyNumber | Uint8Array,
329
- bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array,
330
- options:
331
- | Option<PalletBitcoinLocksLockOptions>
332
- | null
333
- | Uint8Array
334
- | PalletBitcoinLocksLockOptions
335
- | { V1: any }
336
- | string,
337
- ) => SubmittableExtrinsic<ApiType>,
338
- [
339
- u32,
340
- Compact<u64>,
341
- ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
342
- Option<PalletBitcoinLocksLockOptions>,
343
- ]
344
- >;
345
- initializeFor: AugmentedSubmittable<
346
- (
347
- accountId: AccountId32 | string | Uint8Array,
348
- vaultId: u32 | AnyNumber | Uint8Array,
349
- satoshis: Compact<u64> | AnyNumber | Uint8Array,
350
- bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array,
351
- options:
352
- | Option<PalletBitcoinLocksLockOptions>
353
- | null
354
- | Uint8Array
355
- | PalletBitcoinLocksLockOptions
356
- | { V1: any }
357
- | string,
358
- ) => SubmittableExtrinsic<ApiType>,
359
- [
360
- AccountId32,
361
- u32,
362
- Compact<u64>,
363
- ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
364
- Option<PalletBitcoinLocksLockOptions>,
365
- ]
366
- >;
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>]>;
367
138
  /**
368
139
  * Ratcheting allows a user to change the lock price of their bitcoin lock. This is
369
140
  * functionally the same as releasing and re-initializing, but it allows a user to skip
370
141
  * sending transactions through bitcoin and any associated fees. It also allows you to stay
371
142
  * on your original lock expiration without having to pay the full year of fees again.
372
- *
143
+ *
373
144
  * Ratcheting "down" - when the price of bitcoin is lower than your lock price, you pay the
374
145
  * full release price and get added back to the mint queue at the current market rate. You
375
146
  * pocket the difference between the already minted "lock price" and the new market value
376
147
  * (which you just had burned). Your new lock price is set to the market low, so you can
377
148
  * take advantage of ratchets "up" in the future.
378
- *
149
+ *
379
150
  * Ratcheting "up" - when the price of bitcoin is higher than your lock price, you pay a
380
151
  * prorated fee for the remainder of your existing lock duration. You are added to the mint
381
152
  * queue for the difference in your new lock price vs the previous lock price.
382
153
  **/
383
- ratchet: AugmentedSubmittable<
384
- (
385
- utxoId: u64 | AnyNumber | Uint8Array,
386
- options:
387
- | Option<PalletBitcoinLocksLockOptions>
388
- | null
389
- | Uint8Array
390
- | PalletBitcoinLocksLockOptions
391
- | { V1: any }
392
- | string,
393
- ) => SubmittableExtrinsic<ApiType>,
394
- [u64, Option<PalletBitcoinLocksLockOptions>]
395
- >;
396
- requestOrphanedUtxoRelease: AugmentedSubmittable<
397
- (
398
- utxoRef:
399
- | ArgonPrimitivesBitcoinUtxoRef
400
- | { txid?: any; outputIndex?: any }
401
- | string
402
- | Uint8Array,
403
- toScriptPubkey: Bytes | string | Uint8Array,
404
- bitcoinNetworkFee: u64 | AnyNumber | Uint8Array,
405
- ) => SubmittableExtrinsic<ApiType>,
406
- [ArgonPrimitivesBitcoinUtxoRef, Bytes, u64]
407
- >;
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]>;
408
156
  /**
409
157
  * Submitted by a Bitcoin holder to trigger the release of their Utxo out of the cosign
410
158
  * script. A transaction spending the UTXO should be pre-created so that the sighash
411
159
  * can be submitted here. The vault operator will have 10 days to counter-sign the
412
160
  * transaction. It will be published with the public key as a BitcoinUtxoCosigned Event.
413
- *
161
+ *
414
162
  * Owner must submit a script pubkey and also a fee to pay to the bitcoin network.
415
163
  **/
416
- requestRelease: AugmentedSubmittable<
417
- (
418
- utxoId: u64 | AnyNumber | Uint8Array,
419
- toScriptPubkey: Bytes | string | Uint8Array,
420
- bitcoinNetworkFee: u64 | AnyNumber | Uint8Array,
421
- ) => SubmittableExtrinsic<ApiType>,
422
- [u64, Bytes, u64]
423
- >;
164
+ requestRelease: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Bytes, u64]>;
424
165
  };
425
166
  bitcoinUtxos: {
426
167
  /**
@@ -428,211 +169,72 @@ declare module '@polkadot/api-base/types/submittable' {
428
169
  * The locks pallet authorizes the promotion; this pallet binds the ref and begins
429
170
  * tracking.
430
171
  **/
431
- fundWithUtxoCandidate: AugmentedSubmittable<
432
- (
433
- utxoId: u64 | AnyNumber | Uint8Array,
434
- utxoRef:
435
- | ArgonPrimitivesBitcoinUtxoRef
436
- | { txid?: any; outputIndex?: any }
437
- | string
438
- | Uint8Array,
439
- ) => SubmittableExtrinsic<ApiType>,
440
- [u64, ArgonPrimitivesBitcoinUtxoRef]
441
- >;
172
+ fundWithUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinUtxoRef]>;
442
173
  /**
443
174
  * Reject a pending candidate UTXO and materialize it as an orphan through the locks
444
175
  * pallet.
445
176
  **/
446
- rejectUtxoCandidate: AugmentedSubmittable<
447
- (
448
- utxoId: u64 | AnyNumber | Uint8Array,
449
- utxoRef:
450
- | ArgonPrimitivesBitcoinUtxoRef
451
- | { txid?: any; outputIndex?: any }
452
- | string
453
- | Uint8Array,
454
- ) => SubmittableExtrinsic<ApiType>,
455
- [u64, ArgonPrimitivesBitcoinUtxoRef]
456
- >;
177
+ rejectUtxoCandidate: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinUtxoRef]>;
457
178
  /**
458
179
  * Sets the most recent confirmed bitcoin block height (only executable by the Oracle
459
180
  * Operator account)
460
- *
181
+ *
461
182
  * # Arguments
462
183
  * * `bitcoin_height` - the latest bitcoin block height to be confirmed
463
184
  **/
464
- setConfirmedBlock: AugmentedSubmittable<
465
- (
466
- bitcoinHeight: u64 | AnyNumber | Uint8Array,
467
- bitcoinBlockHash: ArgonPrimitivesBitcoinH256Le | string | Uint8Array,
468
- ) => SubmittableExtrinsic<ApiType>,
469
- [u64, ArgonPrimitivesBitcoinH256Le]
470
- >;
185
+ setConfirmedBlock: AugmentedSubmittable<(bitcoinHeight: u64 | AnyNumber | Uint8Array, bitcoinBlockHash: ArgonPrimitivesBitcoinH256Le | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinH256Le]>;
471
186
  /**
472
187
  * Sets the oracle operator account id (only executable by the Root account)
473
- *
188
+ *
474
189
  * # Arguments
475
190
  * * `account_id` - the account id of the operator
476
191
  **/
477
- setOperator: AugmentedSubmittable<
478
- (accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
479
- [AccountId32]
480
- >;
192
+ setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
481
193
  /**
482
194
  * Submitted when a bitcoin UTXO has been moved or confirmed.
483
195
  **/
484
- sync: AugmentedSubmittable<
485
- (
486
- utxoSync:
487
- | ArgonPrimitivesInherentsBitcoinUtxoSync
488
- | { spent?: any; funded?: any; syncToBlock?: any }
489
- | string
490
- | Uint8Array,
491
- ) => SubmittableExtrinsic<ApiType>,
492
- [ArgonPrimitivesInherentsBitcoinUtxoSync]
493
- >;
196
+ sync: AugmentedSubmittable<(utxoSync: ArgonPrimitivesInherentsBitcoinUtxoSync | { spent?: any; funded?: any; syncToBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBitcoinUtxoSync]>;
494
197
  };
495
198
  blockRewards: {
496
- setBlockRewardsPaused: AugmentedSubmittable<
497
- (paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>,
498
- [bool]
499
- >;
199
+ setBlockRewardsPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
500
200
  };
501
201
  blockSeal: {
502
- apply: AugmentedSubmittable<
503
- (
504
- seal:
505
- | ArgonPrimitivesInherentsBlockSealInherent
506
- | { Vote: any }
507
- | { Compute: any }
508
- | string
509
- | Uint8Array,
510
- ) => SubmittableExtrinsic<ApiType>,
511
- [ArgonPrimitivesInherentsBlockSealInherent]
512
- >;
202
+ apply: AugmentedSubmittable<(seal: ArgonPrimitivesInherentsBlockSealInherent | { Vote: any } | { Compute: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBlockSealInherent]>;
513
203
  };
514
204
  blockSealSpec: {
515
- configure: AugmentedSubmittable<
516
- (
517
- voteMinimum: Option<u128> | null | Uint8Array | u128 | AnyNumber,
518
- computeDifficulty: Option<u128> | null | Uint8Array | u128 | AnyNumber,
519
- ) => SubmittableExtrinsic<ApiType>,
520
- [Option<u128>, Option<u128>]
521
- >;
205
+ configure: AugmentedSubmittable<(voteMinimum: Option<u128> | null | Uint8Array | u128 | AnyNumber, computeDifficulty: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>, Option<u128>]>;
522
206
  };
523
207
  crosschainTransfer: {
524
- proveTransfer: AugmentedSubmittable<
525
- (
526
- proof: PalletCrosschainTransferTransferProof | { Ethereum: any } | string | Uint8Array,
527
- ) => SubmittableExtrinsic<ApiType>,
528
- [PalletCrosschainTransferTransferProof]
529
- >;
530
- setChainConfig: AugmentedSubmittable<
531
- (
532
- config: PalletCrosschainTransferChainConfig | { Ethereum: any } | string | Uint8Array,
533
- ) => SubmittableExtrinsic<ApiType>,
534
- [PalletCrosschainTransferChainConfig]
535
- >;
208
+ proveTransfer: AugmentedSubmittable<(proof: PalletCrosschainTransferTransferProof | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCrosschainTransferTransferProof]>;
209
+ setChainConfig: AugmentedSubmittable<(config: PalletCrosschainTransferChainConfig | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCrosschainTransferChainConfig]>;
536
210
  };
537
211
  domains: {
538
- setZoneRecord: AugmentedSubmittable<
539
- (
540
- domainHash: H256 | string | Uint8Array,
541
- zoneRecord:
542
- | ArgonPrimitivesDomainZoneRecord
543
- | { paymentAccount?: any; notaryId?: any; versions?: any }
544
- | string
545
- | Uint8Array,
546
- ) => SubmittableExtrinsic<ApiType>,
547
- [H256, ArgonPrimitivesDomainZoneRecord]
548
- >;
212
+ setZoneRecord: AugmentedSubmittable<(domainHash: H256 | string | Uint8Array, zoneRecord: ArgonPrimitivesDomainZoneRecord | { paymentAccount?: any; notaryId?: any; versions?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, ArgonPrimitivesDomainZoneRecord]>;
549
213
  };
550
214
  ethereumVerifier: {
551
215
  /**
552
216
  * Used for pallet initialization and light client resetting. Needs to be called by
553
217
  * the root origin.
554
218
  **/
555
- forceCheckpoint: AugmentedSubmittable<
556
- (
557
- update:
558
- | PalletEthereumVerifierCheckpointUpdate
559
- | {
560
- header?: any;
561
- currentSyncCommittee?: any;
562
- currentSyncCommitteeBranch?: any;
563
- validatorsRoot?: any;
564
- }
565
- | string
566
- | Uint8Array,
567
- forkVersions:
568
- | PalletEthereumVerifierForkVersions
569
- | {
570
- genesis?: any;
571
- altair?: any;
572
- bellatrix?: any;
573
- capella?: any;
574
- deneb?: any;
575
- electra?: any;
576
- fulu?: any;
577
- }
578
- | string
579
- | Uint8Array,
580
- ) => SubmittableExtrinsic<ApiType>,
581
- [PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierForkVersions]
582
- >;
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]>;
583
220
  /**
584
221
  * Imports a proven execution header anchor against already-retained beacon state.
585
222
  **/
586
- importExecutionHeaderAnchor: AugmentedSubmittable<
587
- (
588
- executionProof:
589
- | PalletEthereumVerifierExecutionProof
590
- | { header?: any; executionHeader?: any; executionBranch?: any }
591
- | string
592
- | Uint8Array,
593
- ) => SubmittableExtrinsic<ApiType>,
594
- [PalletEthereumVerifierExecutionProof]
595
- >;
223
+ importExecutionHeaderAnchor: AugmentedSubmittable<(executionProof: PalletEthereumVerifierExecutionProof | { header?: any; executionHeader?: any; executionBranch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierExecutionProof]>;
596
224
  /**
597
225
  * Halt or resume all pallet operations. May only be called by root.
598
226
  **/
599
- setOperatingMode: AugmentedSubmittable<
600
- (
601
- mode:
602
- | PalletEthereumVerifierBasicOperatingMode
603
- | 'Normal'
604
- | 'Halted'
605
- | number
606
- | Uint8Array,
607
- ) => SubmittableExtrinsic<ApiType>,
608
- [PalletEthereumVerifierBasicOperatingMode]
609
- >;
227
+ setOperatingMode: AugmentedSubmittable<(mode: PalletEthereumVerifierBasicOperatingMode | 'Normal' | 'Halted' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierBasicOperatingMode]>;
610
228
  /**
611
229
  * Submits a new finalized beacon header update. The update may contain the next
612
230
  * sync committee.
613
231
  **/
614
- submit: AugmentedSubmittable<
615
- (
616
- update:
617
- | PalletEthereumVerifierUpdate
618
- | {
619
- attestedHeader?: any;
620
- syncAggregate?: any;
621
- signatureSlot?: any;
622
- nextSyncCommitteeUpdate?: any;
623
- finalizedHeader?: any;
624
- finalityBranch?: any;
625
- }
626
- | string
627
- | Uint8Array,
628
- ) => SubmittableExtrinsic<ApiType>,
629
- [PalletEthereumVerifierUpdate]
630
- >;
232
+ submit: AugmentedSubmittable<(update: PalletEthereumVerifierUpdate | { attestedHeader?: any; syncAggregate?: any; signatureSlot?: any; nextSyncCommitteeUpdate?: any; finalizedHeader?: any; finalityBranch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierUpdate]>;
631
233
  };
632
234
  grandpa: {
633
235
  /**
634
236
  * Note that the current authority set of the GRANDPA finality gadget has stalled.
635
- *
237
+ *
636
238
  * This will trigger a forced authority set change at the beginning of the next session, to
637
239
  * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
638
240
  * that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
@@ -641,132 +243,84 @@ declare module '@polkadot/api-base/types/submittable' {
641
243
  * authority will start voting on top of `best_finalized_block_number` for new finalized
642
244
  * blocks. `best_finalized_block_number` should be the highest of the latest finalized
643
245
  * block of all validators of the new authority set.
644
- *
246
+ *
645
247
  * Only callable by root.
646
248
  **/
647
- noteStalled: AugmentedSubmittable<
648
- (
649
- delay: u32 | AnyNumber | Uint8Array,
650
- bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array,
651
- ) => SubmittableExtrinsic<ApiType>,
652
- [u32, u32]
653
- >;
249
+ noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
654
250
  /**
655
251
  * Report voter equivocation/misbehavior. This method will verify the
656
252
  * equivocation proof and validate the given key ownership proof
657
253
  * against the extracted offender. If both are valid, the offence
658
254
  * will be reported.
659
255
  **/
660
- reportEquivocation: AugmentedSubmittable<
661
- (
662
- equivocationProof:
663
- | SpConsensusGrandpaEquivocationProof
664
- | { setId?: any; equivocation?: any }
665
- | string
666
- | Uint8Array,
667
- keyOwnerProof: SpCoreVoid | null,
668
- ) => SubmittableExtrinsic<ApiType>,
669
- [SpConsensusGrandpaEquivocationProof, SpCoreVoid]
670
- >;
256
+ reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
671
257
  /**
672
258
  * Report voter equivocation/misbehavior. This method will verify the
673
259
  * equivocation proof and validate the given key ownership proof
674
260
  * against the extracted offender. If both are valid, the offence
675
261
  * will be reported.
676
- *
262
+ *
677
263
  * This extrinsic must be called unsigned and it is expected that only
678
264
  * block authors will call it (validated in `ValidateUnsigned`), as such
679
265
  * if the block author is defined it will be defined as the equivocation
680
266
  * reporter.
681
267
  **/
682
- reportEquivocationUnsigned: AugmentedSubmittable<
683
- (
684
- equivocationProof:
685
- | SpConsensusGrandpaEquivocationProof
686
- | { setId?: any; equivocation?: any }
687
- | string
688
- | Uint8Array,
689
- keyOwnerProof: SpCoreVoid | null,
690
- ) => SubmittableExtrinsic<ApiType>,
691
- [SpConsensusGrandpaEquivocationProof, SpCoreVoid]
692
- >;
268
+ reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
693
269
  };
694
270
  localchainTransfer: {
695
- sendToLocalchain: AugmentedSubmittable<
696
- (
697
- amount: Compact<u128> | AnyNumber | Uint8Array,
698
- notaryId: u32 | AnyNumber | Uint8Array,
699
- ) => SubmittableExtrinsic<ApiType>,
700
- [Compact<u128>, u32]
701
- >;
271
+ sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
702
272
  };
703
273
  miningSlot: {
704
274
  /**
705
275
  * Submit a bid for a mining slot in the next cohort. Once all spots are filled in the next
706
276
  * cohort, a bidder can be supplanted by supplying a higher bid.
707
- *
277
+ *
708
278
  * Each slot has `MaxCohortSize` spots available.
709
- *
279
+ *
710
280
  * To be eligible for a slot, you must have the required ownership tokens (argonots) in
711
281
  * this account. The required amount is calculated as a percentage of the total ownership
712
282
  * tokens in the network. This percentage is adjusted before the beginning of each slot.
713
- *
283
+ *
714
284
  * If your bid is no longer winning, a `SlotBidderDropped` event will be emitted. By
715
285
  * monitoring for this event, you will be able to ensure your bid is accepted.
716
- *
286
+ *
717
287
  * NOTE: bidding for each slot will be closed at a random block within
718
288
  * `mining_config.ticks_before_bid_end_for_vrf_close` blocks of the slot end time.
719
- *
289
+ *
720
290
  * The slot duration can be calculated as `BlocksBetweenSlots * MaxMiners / MaxCohortSize`.
721
- *
291
+ *
722
292
  * Parameters:
723
293
  * - `bid`: The amount of argons to bid
724
294
  * - `keys`: The session "hot" keys for the slot (BlockSealAuthorityId and GrandpaId).
725
295
  * - `mining_account_id`: This account_id allows you to operate as this miner account id,
726
296
  * but use funding (argonots and bid) from the submitting account
727
297
  **/
728
- bid: AugmentedSubmittable<
729
- (
730
- bid: u128 | AnyNumber | Uint8Array,
731
- keys:
732
- | ArgonRuntimeSessionKeys
733
- | { grandpa?: any; blockSealAuthority?: any }
734
- | string
735
- | Uint8Array,
736
- miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
737
- ) => SubmittableExtrinsic<ApiType>,
738
- [u128, ArgonRuntimeSessionKeys, Option<AccountId32>]
739
- >;
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>]>;
740
299
  /**
741
300
  * Admin function to update the mining slot delay.
742
301
  **/
743
- configureMiningSlotDelay: AugmentedSubmittable<
744
- (
745
- miningSlotDelay: Option<u64> | null | Uint8Array | u64 | AnyNumber,
746
- ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber,
747
- ) => SubmittableExtrinsic<ApiType>,
748
- [Option<u64>, Option<u64>]
749
- >;
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: {
750
305
  };
751
- mint: {};
752
306
  multisig: {
753
307
  /**
754
308
  * Register approval for a dispatch to be made from a deterministic composite account if
755
309
  * approved by a total of `threshold - 1` of `other_signatories`.
756
- *
310
+ *
757
311
  * **This function will NEVER execute the call, even if the approval threshold is
758
312
  * reached.** It only registers approval. To actually execute the call, `as_multi` must
759
313
  * be called with the full call data by any of the signatories.
760
- *
314
+ *
761
315
  * This function is more efficient than `as_multi` for intermediate approvals since it
762
316
  * only requires the call hash, not the full call data.
763
- *
317
+ *
764
318
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
765
319
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
766
320
  * is cancelled.
767
- *
321
+ *
768
322
  * The dispatch origin for this call must be _Signed_.
769
- *
323
+ *
770
324
  * - `threshold`: The total number of approvals for this dispatch before it is executed.
771
325
  * - `other_signatories`: The accounts (other than the sender) who can approve this
772
326
  * dispatch. May not be empty.
@@ -774,10 +328,10 @@ declare module '@polkadot/api-base/types/submittable' {
774
328
  * not the first approval, then it must be `Some`, with the timepoint (block number and
775
329
  * transaction index) of the first approval transaction.
776
330
  * - `call_hash`: The hash of the call to be executed.
777
- *
331
+ *
778
332
  * NOTE: To execute the call after approvals are gathered, any signatory must call
779
333
  * `as_multi` with the full call data. This function cannot execute the call.
780
- *
334
+ *
781
335
  * ## Complexity
782
336
  * - `O(S)`.
783
337
  * - Up to one balance-reserve or unreserve operation.
@@ -790,40 +344,21 @@ declare module '@polkadot/api-base/types/submittable' {
790
344
  * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
791
345
  * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
792
346
  **/
793
- approveAsMulti: AugmentedSubmittable<
794
- (
795
- threshold: u16 | AnyNumber | Uint8Array,
796
- otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
797
- maybeTimepoint:
798
- | Option<PalletMultisigTimepoint>
799
- | null
800
- | Uint8Array
801
- | PalletMultisigTimepoint
802
- | { height?: any; index?: any }
803
- | string,
804
- callHash: U8aFixed | string | Uint8Array,
805
- maxWeight:
806
- | SpWeightsWeightV2Weight
807
- | { refTime?: any; proofSize?: any }
808
- | string
809
- | Uint8Array,
810
- ) => SubmittableExtrinsic<ApiType>,
811
- [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]
812
- >;
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]>;
813
348
  /**
814
349
  * Register approval for a dispatch to be made from a deterministic composite account if
815
350
  * approved by a total of `threshold - 1` of `other_signatories`.
816
- *
351
+ *
817
352
  * **If the approval threshold is met (including the sender's approval), this will
818
353
  * immediately execute the call.** This is the only way to execute a multisig call -
819
354
  * `approve_as_multi` will never trigger execution.
820
- *
355
+ *
821
356
  * Payment: `DepositBase` will be reserved if this is the first approval, plus
822
357
  * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
823
358
  * is cancelled.
824
- *
359
+ *
825
360
  * The dispatch origin for this call must be _Signed_.
826
- *
361
+ *
827
362
  * - `threshold`: The total number of approvals for this dispatch before it is executed.
828
363
  * - `other_signatories`: The accounts (other than the sender) who can approve this
829
364
  * dispatch. May not be empty.
@@ -831,15 +366,15 @@ declare module '@polkadot/api-base/types/submittable' {
831
366
  * not the first approval, then it must be `Some`, with the timepoint (block number and
832
367
  * transaction index) of the first approval transaction.
833
368
  * - `call`: The call to be executed.
834
- *
369
+ *
835
370
  * NOTE: For intermediate approvals (not the final approval), you should generally use
836
371
  * `approve_as_multi` instead, since it only requires a hash of the call and is more
837
372
  * efficient.
838
- *
373
+ *
839
374
  * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
840
375
  * on success, result is `Ok` and the result from the interior call, if it was executed,
841
376
  * may be found in the deposited `MultisigExecuted` event.
842
- *
377
+ *
843
378
  * ## Complexity
844
379
  * - `O(S + Z + Call)`.
845
380
  * - Up to one balance-reserve or unreserve operation.
@@ -854,60 +389,35 @@ declare module '@polkadot/api-base/types/submittable' {
854
389
  * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
855
390
  * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
856
391
  **/
857
- asMulti: AugmentedSubmittable<
858
- (
859
- threshold: u16 | AnyNumber | Uint8Array,
860
- otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
861
- maybeTimepoint:
862
- | Option<PalletMultisigTimepoint>
863
- | null
864
- | Uint8Array
865
- | PalletMultisigTimepoint
866
- | { height?: any; index?: any }
867
- | string,
868
- call: Call | IMethod | string | Uint8Array,
869
- maxWeight:
870
- | SpWeightsWeightV2Weight
871
- | { refTime?: any; proofSize?: any }
872
- | string
873
- | Uint8Array,
874
- ) => SubmittableExtrinsic<ApiType>,
875
- [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]
876
- >;
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]>;
877
393
  /**
878
394
  * Immediately dispatch a multi-signature call using a single approval from the caller.
879
- *
395
+ *
880
396
  * The dispatch origin for this call must be _Signed_.
881
- *
397
+ *
882
398
  * - `other_signatories`: The accounts (other than the sender) who are part of the
883
399
  * multi-signature, but do not participate in the approval process.
884
400
  * - `call`: The call to be executed.
885
- *
401
+ *
886
402
  * Result is equivalent to the dispatched result.
887
- *
403
+ *
888
404
  * ## Complexity
889
405
  * O(Z + C) where Z is the length of the call and C its execution weight.
890
406
  **/
891
- asMultiThreshold1: AugmentedSubmittable<
892
- (
893
- otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
894
- call: Call | IMethod | string | Uint8Array,
895
- ) => SubmittableExtrinsic<ApiType>,
896
- [Vec<AccountId32>, Call]
897
- >;
407
+ asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
898
408
  /**
899
409
  * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
900
410
  * for this operation will be unreserved on success.
901
- *
411
+ *
902
412
  * The dispatch origin for this call must be _Signed_.
903
- *
413
+ *
904
414
  * - `threshold`: The total number of approvals for this dispatch before it is executed.
905
415
  * - `other_signatories`: The accounts (other than the sender) who can approve this
906
416
  * dispatch. May not be empty.
907
417
  * - `timepoint`: The timepoint (block number and transaction index) of the first approval
908
418
  * transaction for this dispatch.
909
419
  * - `call_hash`: The hash of the call to be executed.
910
- *
420
+ *
911
421
  * ## Complexity
912
422
  * - `O(S)`.
913
423
  * - Up to one balance-reserve or unreserve operation.
@@ -918,89 +428,36 @@ declare module '@polkadot/api-base/types/submittable' {
918
428
  * - I/O: 1 read `O(S)`, one remove.
919
429
  * - Storage: removes one item.
920
430
  **/
921
- cancelAsMulti: AugmentedSubmittable<
922
- (
923
- threshold: u16 | AnyNumber | Uint8Array,
924
- otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
925
- timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array,
926
- callHash: U8aFixed | string | Uint8Array,
927
- ) => SubmittableExtrinsic<ApiType>,
928
- [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]
929
- >;
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]>;
930
432
  /**
931
433
  * Poke the deposit reserved for an existing multisig operation.
932
- *
434
+ *
933
435
  * The dispatch origin for this call must be _Signed_ and must be the original depositor of
934
436
  * the multisig operation.
935
- *
437
+ *
936
438
  * The transaction fee is waived if the deposit amount has changed.
937
- *
439
+ *
938
440
  * - `threshold`: The total number of approvals needed for this multisig.
939
441
  * - `other_signatories`: The accounts (other than the sender) who are part of the
940
442
  * multisig.
941
443
  * - `call_hash`: The hash of the call this deposit is reserved for.
942
- *
444
+ *
943
445
  * Emits `DepositPoked` if successful.
944
446
  **/
945
- pokeDeposit: AugmentedSubmittable<
946
- (
947
- threshold: u16 | AnyNumber | Uint8Array,
948
- otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
949
- callHash: U8aFixed | string | Uint8Array,
950
- ) => SubmittableExtrinsic<ApiType>,
951
- [u16, Vec<AccountId32>, U8aFixed]
952
- >;
447
+ pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
953
448
  };
954
449
  notaries: {
955
- activate: AugmentedSubmittable<
956
- (operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
957
- [AccountId32]
958
- >;
959
- propose: AugmentedSubmittable<
960
- (
961
- meta:
962
- | ArgonPrimitivesNotaryNotaryMeta
963
- | { name?: any; public?: any; hosts?: any }
964
- | string
965
- | Uint8Array,
966
- ) => SubmittableExtrinsic<ApiType>,
967
- [ArgonPrimitivesNotaryNotaryMeta]
968
- >;
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]>;
969
452
  /**
970
453
  * Update the metadata of a notary, to be effective at the given tick height, which must be
971
454
  * >= MetaChangesTickDelay ticks in the future.
972
455
  **/
973
- update: AugmentedSubmittable<
974
- (
975
- notaryId: Compact<u32> | AnyNumber | Uint8Array,
976
- meta:
977
- | ArgonPrimitivesNotaryNotaryMeta
978
- | { name?: any; public?: any; hosts?: any }
979
- | string
980
- | Uint8Array,
981
- effectiveTick: Compact<u64> | AnyNumber | Uint8Array,
982
- ) => SubmittableExtrinsic<ApiType>,
983
- [Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u64>]
984
- >;
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>]>;
985
457
  };
986
458
  notebook: {
987
- submit: AugmentedSubmittable<
988
- (
989
- notebooks:
990
- | Vec<ArgonPrimitivesNotebookSignedNotebookHeader>
991
- | (
992
- | ArgonPrimitivesNotebookSignedNotebookHeader
993
- | { header?: any; signature?: any }
994
- | string
995
- | Uint8Array
996
- )[],
997
- ) => SubmittableExtrinsic<ApiType>,
998
- [Vec<ArgonPrimitivesNotebookSignedNotebookHeader>]
999
- >;
1000
- unlock: AugmentedSubmittable<
1001
- (notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1002
- [u32]
1003
- >;
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]>;
1004
461
  };
1005
462
  operationalAccounts: {
1006
463
  /**
@@ -1010,372 +467,161 @@ declare module '@polkadot/api-base/types/submittable' {
1010
467
  /**
1011
468
  * Claim pending operational rewards to any managed account.
1012
469
  **/
1013
- claimRewards: AugmentedSubmittable<
1014
- (amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1015
- [u128]
1016
- >;
470
+ claimRewards: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
1017
471
  /**
1018
472
  * Force-update operational progress markers for an account.
1019
473
  **/
1020
- forceSetProgress: AugmentedSubmittable<
1021
- (
1022
- owner: AccountId32 | string | Uint8Array,
1023
- patch:
1024
- | PalletOperationalAccountsOperationalProgressPatch
1025
- | {
1026
- hasUniswapTransfer?: any;
1027
- vaultCreated?: any;
1028
- hasTreasuryPoolParticipation?: any;
1029
- observedBitcoinTotal?: any;
1030
- observedMiningSeatTotal?: any;
1031
- }
1032
- | string
1033
- | Uint8Array,
1034
- updateOperationalProgress: bool | boolean | Uint8Array,
1035
- ) => SubmittableExtrinsic<ApiType>,
1036
- [AccountId32, PalletOperationalAccountsOperationalProgressPatch, bool]
1037
- >;
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]>;
1038
475
  /**
1039
476
  * Register vault, mining funding, and bot accounts for an operational account.
1040
477
  * Any account in the registration may submit the transaction.
1041
478
  * If a referral proof is provided, the registration records the sponsor relationship.
1042
479
  **/
1043
- register: AugmentedSubmittable<
1044
- (
1045
- registration: PalletOperationalAccountsRegistration | { V1: any } | string | Uint8Array,
1046
- ) => SubmittableExtrinsic<ApiType>,
1047
- [PalletOperationalAccountsRegistration]
1048
- >;
480
+ register: AugmentedSubmittable<(registration: PalletOperationalAccountsRegistration | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletOperationalAccountsRegistration]>;
1049
481
  /**
1050
482
  * Store an opaque encrypted sponsor server payload for a sponsored operational account.
1051
483
  **/
1052
- setEncryptedServerForSponsee: AugmentedSubmittable<
1053
- (
1054
- sponsee: AccountId32 | string | Uint8Array,
1055
- encryptedServer: Bytes | string | Uint8Array,
1056
- ) => SubmittableExtrinsic<ApiType>,
1057
- [AccountId32, Bytes]
1058
- >;
484
+ setEncryptedServerForSponsee: AugmentedSubmittable<(sponsee: AccountId32 | string | Uint8Array, encryptedServer: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Bytes]>;
1059
485
  /**
1060
486
  * Update reward amounts for operational accounts.
1061
487
  **/
1062
- setRewardConfig: AugmentedSubmittable<
1063
- (
1064
- operationalReferralReward: u128 | AnyNumber | Uint8Array,
1065
- referralBonusReward: u128 | AnyNumber | Uint8Array,
1066
- ) => SubmittableExtrinsic<ApiType>,
1067
- [u128, u128]
1068
- >;
488
+ setRewardConfig: AugmentedSubmittable<(operationalReferralReward: u128 | AnyNumber | Uint8Array, referralBonusReward: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u128]>;
1069
489
  };
1070
490
  ownership: {
1071
491
  /**
1072
492
  * Burn the specified liquid free balance from the origin account.
1073
- *
493
+ *
1074
494
  * If the origin's account ends up below the existential deposit as a result
1075
495
  * of the burn and `keep_alive` is false, the account will be reaped.
1076
- *
496
+ *
1077
497
  * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
1078
498
  * this `burn` operation will reduce total issuance by the amount _burned_.
1079
499
  **/
1080
- burn: AugmentedSubmittable<
1081
- (
1082
- value: Compact<u128> | AnyNumber | Uint8Array,
1083
- keepAlive: bool | boolean | Uint8Array,
1084
- ) => SubmittableExtrinsic<ApiType>,
1085
- [Compact<u128>, bool]
1086
- >;
500
+ burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
1087
501
  /**
1088
502
  * Adjust the total issuance in a saturating way.
1089
- *
503
+ *
1090
504
  * Can only be called by root and always needs a positive `delta`.
1091
- *
505
+ *
1092
506
  * # Example
1093
507
  **/
1094
- forceAdjustTotalIssuance: AugmentedSubmittable<
1095
- (
1096
- direction:
1097
- | PalletBalancesAdjustmentDirection
1098
- | 'Increase'
1099
- | 'Decrease'
1100
- | number
1101
- | Uint8Array,
1102
- delta: Compact<u128> | AnyNumber | Uint8Array,
1103
- ) => SubmittableExtrinsic<ApiType>,
1104
- [PalletBalancesAdjustmentDirection, Compact<u128>]
1105
- >;
508
+ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
1106
509
  /**
1107
510
  * Set the regular balance of a given account.
1108
- *
511
+ *
1109
512
  * The dispatch origin for this call is `root`.
1110
513
  **/
1111
- forceSetBalance: AugmentedSubmittable<
1112
- (
1113
- who:
1114
- | MultiAddress
1115
- | { Id: any }
1116
- | { Index: any }
1117
- | { Raw: any }
1118
- | { Address32: any }
1119
- | { Address20: any }
1120
- | string
1121
- | Uint8Array,
1122
- newFree: Compact<u128> | AnyNumber | Uint8Array,
1123
- ) => SubmittableExtrinsic<ApiType>,
1124
- [MultiAddress, Compact<u128>]
1125
- >;
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>]>;
1126
515
  /**
1127
516
  * Exactly as `transfer_allow_death`, except the origin must be root and the source account
1128
517
  * may be specified.
1129
518
  **/
1130
- forceTransfer: AugmentedSubmittable<
1131
- (
1132
- source:
1133
- | MultiAddress
1134
- | { Id: any }
1135
- | { Index: any }
1136
- | { Raw: any }
1137
- | { Address32: any }
1138
- | { Address20: any }
1139
- | string
1140
- | Uint8Array,
1141
- dest:
1142
- | MultiAddress
1143
- | { Id: any }
1144
- | { Index: any }
1145
- | { Raw: any }
1146
- | { Address32: any }
1147
- | { Address20: any }
1148
- | string
1149
- | Uint8Array,
1150
- value: Compact<u128> | AnyNumber | Uint8Array,
1151
- ) => SubmittableExtrinsic<ApiType>,
1152
- [MultiAddress, MultiAddress, Compact<u128>]
1153
- >;
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>]>;
1154
520
  /**
1155
521
  * Unreserve some balance from a user by force.
1156
- *
522
+ *
1157
523
  * Can only be called by ROOT.
1158
524
  **/
1159
- forceUnreserve: AugmentedSubmittable<
1160
- (
1161
- who:
1162
- | MultiAddress
1163
- | { Id: any }
1164
- | { Index: any }
1165
- | { Raw: any }
1166
- | { Address32: any }
1167
- | { Address20: any }
1168
- | string
1169
- | Uint8Array,
1170
- amount: u128 | AnyNumber | Uint8Array,
1171
- ) => SubmittableExtrinsic<ApiType>,
1172
- [MultiAddress, u128]
1173
- >;
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]>;
1174
526
  /**
1175
527
  * Transfer the entire transferable balance from the caller account.
1176
- *
528
+ *
1177
529
  * NOTE: This function only attempts to transfer _transferable_ balances. This means that
1178
530
  * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
1179
531
  * transferred by this function. To ensure that this function results in a killed account,
1180
532
  * you might need to prepare the account by removing any reference counters, storage
1181
533
  * deposits, etc...
1182
- *
534
+ *
1183
535
  * The dispatch origin of this call must be Signed.
1184
- *
536
+ *
1185
537
  * - `dest`: The recipient of the transfer.
1186
538
  * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
1187
539
  * of the funds the account has, causing the sender account to be killed (false), or
1188
540
  * transfer everything except at least the existential deposit, which will guarantee to
1189
541
  * keep the sender account alive (true).
1190
542
  **/
1191
- transferAll: AugmentedSubmittable<
1192
- (
1193
- dest:
1194
- | MultiAddress
1195
- | { Id: any }
1196
- | { Index: any }
1197
- | { Raw: any }
1198
- | { Address32: any }
1199
- | { Address20: any }
1200
- | string
1201
- | Uint8Array,
1202
- keepAlive: bool | boolean | Uint8Array,
1203
- ) => SubmittableExtrinsic<ApiType>,
1204
- [MultiAddress, bool]
1205
- >;
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]>;
1206
544
  /**
1207
545
  * Transfer some liquid free balance to another account.
1208
- *
546
+ *
1209
547
  * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
1210
548
  * If the sender's account is below the existential deposit as a result
1211
549
  * of the transfer, the account will be reaped.
1212
- *
550
+ *
1213
551
  * The dispatch origin for this call must be `Signed` by the transactor.
1214
552
  **/
1215
- transferAllowDeath: AugmentedSubmittable<
1216
- (
1217
- dest:
1218
- | MultiAddress
1219
- | { Id: any }
1220
- | { Index: any }
1221
- | { Raw: any }
1222
- | { Address32: any }
1223
- | { Address20: any }
1224
- | string
1225
- | Uint8Array,
1226
- value: Compact<u128> | AnyNumber | Uint8Array,
1227
- ) => SubmittableExtrinsic<ApiType>,
1228
- [MultiAddress, Compact<u128>]
1229
- >;
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>]>;
1230
554
  /**
1231
555
  * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
1232
556
  * kill the origin account.
1233
- *
557
+ *
1234
558
  * 99% of the time you want [`transfer_allow_death`] instead.
1235
- *
559
+ *
1236
560
  * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
1237
561
  **/
1238
- transferKeepAlive: AugmentedSubmittable<
1239
- (
1240
- dest:
1241
- | MultiAddress
1242
- | { Id: any }
1243
- | { Index: any }
1244
- | { Raw: any }
1245
- | { Address32: any }
1246
- | { Address20: any }
1247
- | string
1248
- | Uint8Array,
1249
- value: Compact<u128> | AnyNumber | Uint8Array,
1250
- ) => SubmittableExtrinsic<ApiType>,
1251
- [MultiAddress, Compact<u128>]
1252
- >;
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>]>;
1253
563
  /**
1254
564
  * Upgrade a specified account.
1255
- *
565
+ *
1256
566
  * - `origin`: Must be `Signed`.
1257
567
  * - `who`: The account to be upgraded.
1258
- *
568
+ *
1259
569
  * This will waive the transaction fee if at least all but 10% of the accounts needed to
1260
570
  * be upgraded. (We let some not have to be upgraded just in order to allow for the
1261
571
  * possibility of churn).
1262
572
  **/
1263
- upgradeAccounts: AugmentedSubmittable<
1264
- (
1265
- who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
1266
- ) => SubmittableExtrinsic<ApiType>,
1267
- [Vec<AccountId32>]
1268
- >;
573
+ upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
1269
574
  };
1270
575
  priceIndex: {
1271
576
  /**
1272
577
  * Sets the operator account id (only executable by the Root account)
1273
- *
578
+ *
1274
579
  * # Arguments
1275
580
  * * `account_id` - the account id of the operator
1276
581
  **/
1277
- setOperator: AugmentedSubmittable<
1278
- (accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1279
- [AccountId32]
1280
- >;
582
+ setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
1281
583
  /**
1282
584
  * Submit the latest price index. Only valid for the configured operator account
1283
585
  **/
1284
- submit: AugmentedSubmittable<
1285
- (
1286
- index:
1287
- | PalletPriceIndexPriceIndex
1288
- | {
1289
- btcUsdPrice?: any;
1290
- argonotUsdPrice?: any;
1291
- argonUsdPrice?: any;
1292
- argonUsdTargetPrice?: any;
1293
- argonTimeWeightedAverageLiquidity?: any;
1294
- tick?: any;
1295
- }
1296
- | string
1297
- | Uint8Array,
1298
- ) => SubmittableExtrinsic<ApiType>,
1299
- [PalletPriceIndexPriceIndex]
1300
- >;
586
+ submit: AugmentedSubmittable<(index: PalletPriceIndexPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletPriceIndexPriceIndex]>;
1301
587
  };
1302
588
  proxy: {
1303
589
  /**
1304
590
  * Register a proxy account for the sender that is able to make calls on its behalf.
1305
- *
591
+ *
1306
592
  * The dispatch origin for this call must be _Signed_.
1307
- *
593
+ *
1308
594
  * Parameters:
1309
595
  * - `proxy`: The account that the `caller` would like to make a proxy.
1310
596
  * - `proxy_type`: The permissions allowed for this proxy account.
1311
597
  * - `delay`: The announcement period required of the initial proxy. Will generally be
1312
598
  * zero.
1313
599
  **/
1314
- addProxy: AugmentedSubmittable<
1315
- (
1316
- delegate:
1317
- | MultiAddress
1318
- | { Id: any }
1319
- | { Index: any }
1320
- | { Raw: any }
1321
- | { Address32: any }
1322
- | { Address20: any }
1323
- | string
1324
- | Uint8Array,
1325
- proxyType:
1326
- | ArgonRuntimeProxyType
1327
- | 'Any'
1328
- | 'NonTransfer'
1329
- | 'PriceIndex'
1330
- | 'MiningBid'
1331
- | 'MiningBidRealPaysFee'
1332
- | 'Bitcoin'
1333
- | 'VaultAdmin'
1334
- | 'BitcoinInitializeFor'
1335
- | number
1336
- | Uint8Array,
1337
- delay: u32 | AnyNumber | Uint8Array,
1338
- ) => SubmittableExtrinsic<ApiType>,
1339
- [MultiAddress, ArgonRuntimeProxyType, u32]
1340
- >;
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]>;
1341
601
  /**
1342
602
  * Publish the hash of a proxy-call that will be made in the future.
1343
- *
603
+ *
1344
604
  * This must be called some number of blocks before the corresponding `proxy` is attempted
1345
605
  * if the delay associated with the proxy relationship is greater than zero.
1346
- *
606
+ *
1347
607
  * No more than `MaxPending` announcements may be made at any one time.
1348
- *
608
+ *
1349
609
  * This will take a deposit of `AnnouncementDepositFactor` as well as
1350
610
  * `AnnouncementDepositBase` if there are no other pending announcements.
1351
- *
611
+ *
1352
612
  * The dispatch origin for this call must be _Signed_ and a proxy of `real`.
1353
- *
613
+ *
1354
614
  * Parameters:
1355
615
  * - `real`: The account that the proxy will make a call on behalf of.
1356
616
  * - `call_hash`: The hash of the call to be made by the `real` account.
1357
617
  **/
1358
- announce: AugmentedSubmittable<
1359
- (
1360
- real:
1361
- | MultiAddress
1362
- | { Id: any }
1363
- | { Index: any }
1364
- | { Raw: any }
1365
- | { Address32: any }
1366
- | { Address20: any }
1367
- | string
1368
- | Uint8Array,
1369
- callHash: H256 | string | Uint8Array,
1370
- ) => SubmittableExtrinsic<ApiType>,
1371
- [MultiAddress, H256]
1372
- >;
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]>;
1373
619
  /**
1374
620
  * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
1375
621
  * initialize it with a proxy of `proxy_type` for `origin` sender.
1376
- *
622
+ *
1377
623
  * Requires a `Signed` origin.
1378
- *
624
+ *
1379
625
  * - `proxy_type`: The type of the proxy that the sender will be registered as over the
1380
626
  * new account. This will almost always be the most permissive `ProxyType` possible to
1381
627
  * allow for maximum flexibility.
@@ -1384,284 +630,119 @@ declare module '@polkadot/api-base/types/submittable' {
1384
630
  * want to use `0`.
1385
631
  * - `delay`: The announcement period required of the initial proxy. Will generally be
1386
632
  * zero.
1387
- *
633
+ *
1388
634
  * Fails with `Duplicate` if this has already been called in this transaction, from the
1389
635
  * same sender, with the same parameters.
1390
- *
636
+ *
1391
637
  * Fails if there are insufficient funds to pay for deposit.
1392
638
  **/
1393
- createPure: AugmentedSubmittable<
1394
- (
1395
- proxyType:
1396
- | ArgonRuntimeProxyType
1397
- | 'Any'
1398
- | 'NonTransfer'
1399
- | 'PriceIndex'
1400
- | 'MiningBid'
1401
- | 'MiningBidRealPaysFee'
1402
- | 'Bitcoin'
1403
- | 'VaultAdmin'
1404
- | 'BitcoinInitializeFor'
1405
- | number
1406
- | Uint8Array,
1407
- delay: u32 | AnyNumber | Uint8Array,
1408
- index: u16 | AnyNumber | Uint8Array,
1409
- ) => SubmittableExtrinsic<ApiType>,
1410
- [ArgonRuntimeProxyType, u32, u16]
1411
- >;
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]>;
1412
640
  /**
1413
641
  * Removes a previously spawned pure proxy.
1414
- *
642
+ *
1415
643
  * WARNING: **All access to this account will be lost.** Any funds held in it will be
1416
644
  * inaccessible.
1417
- *
645
+ *
1418
646
  * Requires a `Signed` origin, and the sender account must have been created by a call to
1419
647
  * `create_pure` with corresponding parameters.
1420
- *
648
+ *
1421
649
  * - `spawner`: The account that originally called `create_pure` to create this account.
1422
650
  * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
1423
651
  * - `proxy_type`: The proxy type originally passed to `create_pure`.
1424
652
  * - `height`: The height of the chain when the call to `create_pure` was processed.
1425
653
  * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
1426
- *
654
+ *
1427
655
  * Fails with `NoPermission` in case the caller is not a previously created pure
1428
656
  * account whose `create_pure` call has corresponding parameters.
1429
657
  **/
1430
- killPure: AugmentedSubmittable<
1431
- (
1432
- spawner:
1433
- | MultiAddress
1434
- | { Id: any }
1435
- | { Index: any }
1436
- | { Raw: any }
1437
- | { Address32: any }
1438
- | { Address20: any }
1439
- | string
1440
- | Uint8Array,
1441
- proxyType:
1442
- | ArgonRuntimeProxyType
1443
- | 'Any'
1444
- | 'NonTransfer'
1445
- | 'PriceIndex'
1446
- | 'MiningBid'
1447
- | 'MiningBidRealPaysFee'
1448
- | 'Bitcoin'
1449
- | 'VaultAdmin'
1450
- | 'BitcoinInitializeFor'
1451
- | number
1452
- | Uint8Array,
1453
- index: u16 | AnyNumber | Uint8Array,
1454
- height: Compact<u32> | AnyNumber | Uint8Array,
1455
- extIndex: Compact<u32> | AnyNumber | Uint8Array,
1456
- ) => SubmittableExtrinsic<ApiType>,
1457
- [MultiAddress, ArgonRuntimeProxyType, u16, Compact<u32>, Compact<u32>]
1458
- >;
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>]>;
1459
659
  /**
1460
660
  * Poke / Adjust deposits made for proxies and announcements based on current values.
1461
661
  * This can be used by accounts to possibly lower their locked amount.
1462
- *
662
+ *
1463
663
  * The dispatch origin for this call must be _Signed_.
1464
- *
664
+ *
1465
665
  * The transaction fee is waived if the deposit amount has changed.
1466
- *
666
+ *
1467
667
  * Emits `DepositPoked` if successful.
1468
668
  **/
1469
669
  pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1470
670
  /**
1471
671
  * Dispatch the given `call` from an account that the sender is authorised for through
1472
672
  * `add_proxy`.
1473
- *
673
+ *
1474
674
  * The dispatch origin for this call must be _Signed_.
1475
- *
675
+ *
1476
676
  * Parameters:
1477
677
  * - `real`: The account that the proxy will make a call on behalf of.
1478
678
  * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
1479
679
  * - `call`: The call to be made by the `real` account.
1480
680
  **/
1481
- proxy: AugmentedSubmittable<
1482
- (
1483
- real:
1484
- | MultiAddress
1485
- | { Id: any }
1486
- | { Index: any }
1487
- | { Raw: any }
1488
- | { Address32: any }
1489
- | { Address20: any }
1490
- | string
1491
- | Uint8Array,
1492
- forceProxyType:
1493
- | Option<ArgonRuntimeProxyType>
1494
- | null
1495
- | Uint8Array
1496
- | ArgonRuntimeProxyType
1497
- | 'Any'
1498
- | 'NonTransfer'
1499
- | 'PriceIndex'
1500
- | 'MiningBid'
1501
- | 'MiningBidRealPaysFee'
1502
- | 'Bitcoin'
1503
- | 'VaultAdmin'
1504
- | 'BitcoinInitializeFor'
1505
- | number,
1506
- call: Call | IMethod | string | Uint8Array,
1507
- ) => SubmittableExtrinsic<ApiType>,
1508
- [MultiAddress, Option<ArgonRuntimeProxyType>, Call]
1509
- >;
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]>;
1510
682
  /**
1511
683
  * Dispatch the given `call` from an account that the sender is authorized for through
1512
684
  * `add_proxy`.
1513
- *
685
+ *
1514
686
  * Removes any corresponding announcement(s).
1515
- *
687
+ *
1516
688
  * The dispatch origin for this call must be _Signed_.
1517
- *
689
+ *
1518
690
  * Parameters:
1519
691
  * - `real`: The account that the proxy will make a call on behalf of.
1520
692
  * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
1521
693
  * - `call`: The call to be made by the `real` account.
1522
694
  **/
1523
- proxyAnnounced: AugmentedSubmittable<
1524
- (
1525
- delegate:
1526
- | MultiAddress
1527
- | { Id: any }
1528
- | { Index: any }
1529
- | { Raw: any }
1530
- | { Address32: any }
1531
- | { Address20: any }
1532
- | string
1533
- | Uint8Array,
1534
- real:
1535
- | MultiAddress
1536
- | { Id: any }
1537
- | { Index: any }
1538
- | { Raw: any }
1539
- | { Address32: any }
1540
- | { Address20: any }
1541
- | string
1542
- | Uint8Array,
1543
- forceProxyType:
1544
- | Option<ArgonRuntimeProxyType>
1545
- | null
1546
- | Uint8Array
1547
- | ArgonRuntimeProxyType
1548
- | 'Any'
1549
- | 'NonTransfer'
1550
- | 'PriceIndex'
1551
- | 'MiningBid'
1552
- | 'MiningBidRealPaysFee'
1553
- | 'Bitcoin'
1554
- | 'VaultAdmin'
1555
- | 'BitcoinInitializeFor'
1556
- | number,
1557
- call: Call | IMethod | string | Uint8Array,
1558
- ) => SubmittableExtrinsic<ApiType>,
1559
- [MultiAddress, MultiAddress, Option<ArgonRuntimeProxyType>, Call]
1560
- >;
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]>;
1561
696
  /**
1562
697
  * Remove the given announcement of a delegate.
1563
- *
698
+ *
1564
699
  * May be called by a target (proxied) account to remove a call that one of their delegates
1565
700
  * (`delegate`) has announced they want to execute. The deposit is returned.
1566
- *
701
+ *
1567
702
  * The dispatch origin for this call must be _Signed_.
1568
- *
703
+ *
1569
704
  * Parameters:
1570
705
  * - `delegate`: The account that previously announced the call.
1571
706
  * - `call_hash`: The hash of the call to be made.
1572
707
  **/
1573
- rejectAnnouncement: AugmentedSubmittable<
1574
- (
1575
- delegate:
1576
- | MultiAddress
1577
- | { Id: any }
1578
- | { Index: any }
1579
- | { Raw: any }
1580
- | { Address32: any }
1581
- | { Address20: any }
1582
- | string
1583
- | Uint8Array,
1584
- callHash: H256 | string | Uint8Array,
1585
- ) => SubmittableExtrinsic<ApiType>,
1586
- [MultiAddress, H256]
1587
- >;
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]>;
1588
709
  /**
1589
710
  * Remove a given announcement.
1590
- *
711
+ *
1591
712
  * May be called by a proxy account to remove a call they previously announced and return
1592
713
  * the deposit.
1593
- *
714
+ *
1594
715
  * The dispatch origin for this call must be _Signed_.
1595
- *
716
+ *
1596
717
  * Parameters:
1597
718
  * - `real`: The account that the proxy will make a call on behalf of.
1598
719
  * - `call_hash`: The hash of the call to be made by the `real` account.
1599
720
  **/
1600
- removeAnnouncement: AugmentedSubmittable<
1601
- (
1602
- real:
1603
- | MultiAddress
1604
- | { Id: any }
1605
- | { Index: any }
1606
- | { Raw: any }
1607
- | { Address32: any }
1608
- | { Address20: any }
1609
- | string
1610
- | Uint8Array,
1611
- callHash: H256 | string | Uint8Array,
1612
- ) => SubmittableExtrinsic<ApiType>,
1613
- [MultiAddress, H256]
1614
- >;
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]>;
1615
722
  /**
1616
723
  * Unregister all proxy accounts for the sender.
1617
- *
724
+ *
1618
725
  * The dispatch origin for this call must be _Signed_.
1619
- *
726
+ *
1620
727
  * WARNING: This may be called on accounts created by `create_pure`, however if done, then
1621
728
  * the unreserved fees will be inaccessible. **All access to this account will be lost.**
1622
729
  **/
1623
730
  removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1624
731
  /**
1625
732
  * Unregister a proxy account for the sender.
1626
- *
733
+ *
1627
734
  * The dispatch origin for this call must be _Signed_.
1628
- *
735
+ *
1629
736
  * Parameters:
1630
737
  * - `proxy`: The account that the `caller` would like to remove as a proxy.
1631
738
  * - `proxy_type`: The permissions currently enabled for the removed proxy account.
1632
739
  **/
1633
- removeProxy: AugmentedSubmittable<
1634
- (
1635
- delegate:
1636
- | MultiAddress
1637
- | { Id: any }
1638
- | { Index: any }
1639
- | { Raw: any }
1640
- | { Address32: any }
1641
- | { Address20: any }
1642
- | string
1643
- | Uint8Array,
1644
- proxyType:
1645
- | ArgonRuntimeProxyType
1646
- | 'Any'
1647
- | 'NonTransfer'
1648
- | 'PriceIndex'
1649
- | 'MiningBid'
1650
- | 'MiningBidRealPaysFee'
1651
- | 'Bitcoin'
1652
- | 'VaultAdmin'
1653
- | 'BitcoinInitializeFor'
1654
- | number
1655
- | Uint8Array,
1656
- delay: u32 | AnyNumber | Uint8Array,
1657
- ) => SubmittableExtrinsic<ApiType>,
1658
- [MultiAddress, ArgonRuntimeProxyType, u32]
1659
- >;
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]>;
1660
741
  };
1661
742
  sudo: {
1662
743
  /**
1663
744
  * Permanently removes the sudo key.
1664
- *
745
+ *
1665
746
  * **This cannot be un-done.**
1666
747
  **/
1667
748
  removeKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
@@ -1669,516 +750,310 @@ declare module '@polkadot/api-base/types/submittable' {
1669
750
  * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
1670
751
  * key.
1671
752
  **/
1672
- setKey: AugmentedSubmittable<
1673
- (
1674
- updated:
1675
- | MultiAddress
1676
- | { Id: any }
1677
- | { Index: any }
1678
- | { Raw: any }
1679
- | { Address32: any }
1680
- | { Address20: any }
1681
- | string
1682
- | Uint8Array,
1683
- ) => SubmittableExtrinsic<ApiType>,
1684
- [MultiAddress]
1685
- >;
753
+ setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1686
754
  /**
1687
755
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
1688
756
  **/
1689
- sudo: AugmentedSubmittable<
1690
- (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1691
- [Call]
1692
- >;
757
+ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
1693
758
  /**
1694
759
  * Authenticates the sudo key and dispatches a function call with `Signed` origin from
1695
760
  * a given account.
1696
- *
761
+ *
1697
762
  * The dispatch origin for this call must be _Signed_.
1698
763
  **/
1699
- sudoAs: AugmentedSubmittable<
1700
- (
1701
- who:
1702
- | MultiAddress
1703
- | { Id: any }
1704
- | { Index: any }
1705
- | { Raw: any }
1706
- | { Address32: any }
1707
- | { Address20: any }
1708
- | string
1709
- | Uint8Array,
1710
- call: Call | IMethod | string | Uint8Array,
1711
- ) => SubmittableExtrinsic<ApiType>,
1712
- [MultiAddress, Call]
1713
- >;
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]>;
1714
765
  /**
1715
766
  * Authenticates the sudo key and dispatches a function call with `Root` origin.
1716
767
  * This function does not check the weight of the call, and instead allows the
1717
768
  * Sudo user to specify the weight of the call.
1718
- *
769
+ *
1719
770
  * The dispatch origin for this call must be _Signed_.
1720
771
  **/
1721
- sudoUncheckedWeight: AugmentedSubmittable<
1722
- (
1723
- call: Call | IMethod | string | Uint8Array,
1724
- weight:
1725
- | SpWeightsWeightV2Weight
1726
- | { refTime?: any; proofSize?: any }
1727
- | string
1728
- | Uint8Array,
1729
- ) => SubmittableExtrinsic<ApiType>,
1730
- [Call, SpWeightsWeightV2Weight]
1731
- >;
772
+ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
1732
773
  };
1733
774
  system: {
1734
775
  /**
1735
776
  * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
1736
- *
777
+ *
1737
778
  * If the authorization required a version check, this call will ensure the spec name
1738
779
  * remains unchanged and that the spec version has increased.
1739
- *
780
+ *
1740
781
  * Depending on the runtime's `OnSetCode` configuration, this function may directly apply
1741
782
  * the new `code` in the same block or attempt to schedule the upgrade.
1742
- *
783
+ *
1743
784
  * All origins are allowed.
1744
785
  **/
1745
- applyAuthorizedUpgrade: AugmentedSubmittable<
1746
- (code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1747
- [Bytes]
1748
- >;
786
+ applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1749
787
  /**
1750
788
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
1751
789
  * later.
1752
- *
790
+ *
1753
791
  * This call requires Root origin.
1754
792
  **/
1755
- authorizeUpgrade: AugmentedSubmittable<
1756
- (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1757
- [H256]
1758
- >;
793
+ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1759
794
  /**
1760
795
  * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
1761
796
  * later.
1762
- *
797
+ *
1763
798
  * WARNING: This authorizes an upgrade that will take place without any safety checks, for
1764
799
  * example that the spec name remains the same and that the version number increases. Not
1765
800
  * recommended for normal use. Use `authorize_upgrade` instead.
1766
- *
801
+ *
1767
802
  * This call requires Root origin.
1768
803
  **/
1769
- authorizeUpgradeWithoutChecks: AugmentedSubmittable<
1770
- (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1771
- [H256]
1772
- >;
804
+ authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
1773
805
  /**
1774
806
  * Kill all storage items with a key that starts with the given prefix.
1775
- *
807
+ *
1776
808
  * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
1777
809
  * the prefix we are removing to accurately calculate the weight of this function.
1778
810
  **/
1779
- killPrefix: AugmentedSubmittable<
1780
- (
1781
- prefix: Bytes | string | Uint8Array,
1782
- subkeys: u32 | AnyNumber | Uint8Array,
1783
- ) => SubmittableExtrinsic<ApiType>,
1784
- [Bytes, u32]
1785
- >;
811
+ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
1786
812
  /**
1787
813
  * Kill some items from storage.
1788
814
  **/
1789
- killStorage: AugmentedSubmittable<
1790
- (keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>,
1791
- [Vec<Bytes>]
1792
- >;
815
+ killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
1793
816
  /**
1794
817
  * Make some on-chain remark.
1795
- *
818
+ *
1796
819
  * Can be executed by every `origin`.
1797
820
  **/
1798
- remark: AugmentedSubmittable<
1799
- (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1800
- [Bytes]
1801
- >;
821
+ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1802
822
  /**
1803
823
  * Make some on-chain remark and emit event.
1804
824
  **/
1805
- remarkWithEvent: AugmentedSubmittable<
1806
- (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1807
- [Bytes]
1808
- >;
825
+ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1809
826
  /**
1810
827
  * Set the new runtime code.
1811
828
  **/
1812
- setCode: AugmentedSubmittable<
1813
- (code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1814
- [Bytes]
1815
- >;
829
+ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1816
830
  /**
1817
831
  * Set the new runtime code without doing any checks of the given `code`.
1818
- *
832
+ *
1819
833
  * Note that runtime upgrades will not run if this is called with a not-increasing spec
1820
834
  * version!
1821
835
  **/
1822
- setCodeWithoutChecks: AugmentedSubmittable<
1823
- (code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
1824
- [Bytes]
1825
- >;
836
+ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
1826
837
  /**
1827
838
  * Set the number of pages in the WebAssembly environment's heap.
1828
839
  **/
1829
- setHeapPages: AugmentedSubmittable<
1830
- (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1831
- [u64]
1832
- >;
840
+ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
1833
841
  /**
1834
842
  * Set some items of storage.
1835
843
  **/
1836
- setStorage: AugmentedSubmittable<
1837
- (
1838
- items:
1839
- | Vec<ITuple<[Bytes, Bytes]>>
1840
- | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][],
1841
- ) => SubmittableExtrinsic<ApiType>,
1842
- [Vec<ITuple<[Bytes, Bytes]>>]
1843
- >;
844
+ setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
845
+ };
846
+ ticks: {
1844
847
  };
1845
- ticks: {};
1846
848
  timestamp: {
1847
849
  /**
1848
850
  * Set the current time.
1849
- *
851
+ *
1850
852
  * This call should be invoked exactly once per block. It will panic at the finalization
1851
853
  * phase, if this call hasn't been invoked by that time.
1852
- *
854
+ *
1853
855
  * The timestamp should be greater than the previous one by the amount specified by
1854
856
  * [`Config::MinimumPeriod`].
1855
- *
857
+ *
1856
858
  * The dispatch origin for this call must be _None_.
1857
- *
859
+ *
1858
860
  * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
1859
861
  * that changing the complexity of this call could result exhausting the resources in a
1860
862
  * block to execute any other calls.
1861
- *
863
+ *
1862
864
  * ## Complexity
1863
865
  * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
1864
866
  * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
1865
867
  * `on_finalize`)
1866
868
  * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
1867
869
  **/
1868
- set: AugmentedSubmittable<
1869
- (now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1870
- [Compact<u64>]
1871
- >;
870
+ set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
1872
871
  };
1873
872
  treasury: {
1874
873
  /**
1875
874
  * Buy whole `1 ARGON` bonds for a vault.
1876
- *
875
+ *
1877
876
  * The purchase either enters the accepted list or fails.
1878
877
  **/
1879
- buyBonds: AugmentedSubmittable<
1880
- (
1881
- vaultId: u32 | AnyNumber | Uint8Array,
1882
- bonds: u32 | AnyNumber | Uint8Array,
1883
- ) => SubmittableExtrinsic<ApiType>,
1884
- [u32, u32]
1885
- >;
878
+ buyBonds: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bonds: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1886
879
  /**
1887
880
  * Liquidate one full bond lot.
1888
- *
881
+ *
1889
882
  * The lot stops participating right away and is released after the delay.
1890
883
  **/
1891
- liquidateBondLot: AugmentedSubmittable<
1892
- (bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1893
- [u64]
1894
- >;
884
+ liquidateBondLot: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
1895
885
  };
1896
886
  txPause: {
1897
887
  /**
1898
888
  * Pause a call.
1899
- *
889
+ *
1900
890
  * Can only be called by [`Config::PauseOrigin`].
1901
891
  * Emits an [`Event::CallPaused`] event on success.
1902
892
  **/
1903
- pause: AugmentedSubmittable<
1904
- (
1905
- fullName:
1906
- | ITuple<[Bytes, Bytes]>
1907
- | [Bytes | string | Uint8Array, Bytes | string | Uint8Array],
1908
- ) => SubmittableExtrinsic<ApiType>,
1909
- [ITuple<[Bytes, Bytes]>]
1910
- >;
893
+ pause: AugmentedSubmittable<(fullName: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
1911
894
  /**
1912
895
  * Un-pause a call.
1913
- *
896
+ *
1914
897
  * Can only be called by [`Config::UnpauseOrigin`].
1915
898
  * Emits an [`Event::CallUnpaused`] event on success.
1916
899
  **/
1917
- unpause: AugmentedSubmittable<
1918
- (
1919
- ident:
1920
- | ITuple<[Bytes, Bytes]>
1921
- | [Bytes | string | Uint8Array, Bytes | string | Uint8Array],
1922
- ) => SubmittableExtrinsic<ApiType>,
1923
- [ITuple<[Bytes, Bytes]>]
1924
- >;
900
+ unpause: AugmentedSubmittable<(ident: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
1925
901
  };
1926
902
  utility: {
1927
903
  /**
1928
904
  * Send a call through an indexed pseudonym of the sender.
1929
- *
905
+ *
1930
906
  * Filter from origin are passed along. The call will be dispatched with an origin which
1931
907
  * use the same filter as the origin of this call.
1932
- *
908
+ *
1933
909
  * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
1934
910
  * because you expect `proxy` to have been used prior in the call stack and you do not want
1935
911
  * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
1936
912
  * in the Multisig pallet instead.
1937
- *
913
+ *
1938
914
  * NOTE: Prior to version *12, this was called `as_limited_sub`.
1939
- *
915
+ *
1940
916
  * The dispatch origin for this call must be _Signed_.
1941
917
  **/
1942
- asDerivative: AugmentedSubmittable<
1943
- (
1944
- index: u16 | AnyNumber | Uint8Array,
1945
- call: Call | IMethod | string | Uint8Array,
1946
- ) => SubmittableExtrinsic<ApiType>,
1947
- [u16, Call]
1948
- >;
918
+ asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
1949
919
  /**
1950
920
  * Send a batch of dispatch calls.
1951
- *
921
+ *
1952
922
  * May be called from any origin except `None`.
1953
- *
923
+ *
1954
924
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
1955
925
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
1956
- *
926
+ *
1957
927
  * If origin is root then the calls are dispatched without checking origin filter. (This
1958
928
  * includes bypassing `frame_system::Config::BaseCallFilter`).
1959
- *
929
+ *
1960
930
  * ## Complexity
1961
931
  * - O(C) where C is the number of calls to be batched.
1962
- *
932
+ *
1963
933
  * This will return `Ok` in all circumstances. To determine the success of the batch, an
1964
934
  * event is deposited. If a call failed and the batch was interrupted, then the
1965
935
  * `BatchInterrupted` event is deposited, along with the number of successful calls made
1966
936
  * and the error of the failed call. If all were successful, then the `BatchCompleted`
1967
937
  * event is deposited.
1968
938
  **/
1969
- batch: AugmentedSubmittable<
1970
- (
1971
- calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
1972
- ) => SubmittableExtrinsic<ApiType>,
1973
- [Vec<Call>]
1974
- >;
939
+ batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
1975
940
  /**
1976
941
  * Send a batch of dispatch calls and atomically execute them.
1977
942
  * The whole transaction will rollback and fail if any of the calls failed.
1978
- *
943
+ *
1979
944
  * May be called from any origin except `None`.
1980
- *
945
+ *
1981
946
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
1982
947
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
1983
- *
948
+ *
1984
949
  * If origin is root then the calls are dispatched without checking origin filter. (This
1985
950
  * includes bypassing `frame_system::Config::BaseCallFilter`).
1986
- *
951
+ *
1987
952
  * ## Complexity
1988
953
  * - O(C) where C is the number of calls to be batched.
1989
954
  **/
1990
- batchAll: AugmentedSubmittable<
1991
- (
1992
- calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
1993
- ) => SubmittableExtrinsic<ApiType>,
1994
- [Vec<Call>]
1995
- >;
955
+ batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
1996
956
  /**
1997
957
  * Dispatches a function call with a provided origin.
1998
- *
958
+ *
1999
959
  * The dispatch origin for this call must be _Root_.
2000
- *
960
+ *
2001
961
  * ## Complexity
2002
962
  * - O(1).
2003
963
  **/
2004
- dispatchAs: AugmentedSubmittable<
2005
- (
2006
- asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array,
2007
- call: Call | IMethod | string | Uint8Array,
2008
- ) => SubmittableExtrinsic<ApiType>,
2009
- [ArgonRuntimeOriginCaller, Call]
2010
- >;
964
+ dispatchAs: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
2011
965
  /**
2012
966
  * Dispatches a function call with a provided origin.
2013
- *
967
+ *
2014
968
  * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
2015
- *
969
+ *
2016
970
  * The dispatch origin for this call must be _Root_.
2017
971
  **/
2018
- dispatchAsFallible: AugmentedSubmittable<
2019
- (
2020
- asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array,
2021
- call: Call | IMethod | string | Uint8Array,
2022
- ) => SubmittableExtrinsic<ApiType>,
2023
- [ArgonRuntimeOriginCaller, Call]
2024
- >;
972
+ dispatchAsFallible: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
2025
973
  /**
2026
974
  * Send a batch of dispatch calls.
2027
975
  * Unlike `batch`, it allows errors and won't interrupt.
2028
- *
976
+ *
2029
977
  * May be called from any origin except `None`.
2030
- *
978
+ *
2031
979
  * - `calls`: The calls to be dispatched from the same origin. The number of call must not
2032
980
  * exceed the constant: `batched_calls_limit` (available in constant metadata).
2033
- *
981
+ *
2034
982
  * If origin is root then the calls are dispatch without checking origin filter. (This
2035
983
  * includes bypassing `frame_system::Config::BaseCallFilter`).
2036
- *
984
+ *
2037
985
  * ## Complexity
2038
986
  * - O(C) where C is the number of calls to be batched.
2039
987
  **/
2040
- forceBatch: AugmentedSubmittable<
2041
- (
2042
- calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
2043
- ) => SubmittableExtrinsic<ApiType>,
2044
- [Vec<Call>]
2045
- >;
988
+ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
2046
989
  /**
2047
990
  * Dispatch a fallback call in the event the main call fails to execute.
2048
991
  * May be called from any origin except `None`.
2049
- *
992
+ *
2050
993
  * This function first attempts to dispatch the `main` call.
2051
994
  * If the `main` call fails, the `fallback` is attemted.
2052
995
  * if the fallback is successfully dispatched, the weights of both calls
2053
996
  * are accumulated and an event containing the main call error is deposited.
2054
- *
997
+ *
2055
998
  * In the event of a fallback failure the whole call fails
2056
999
  * with the weights returned.
2057
- *
1000
+ *
2058
1001
  * - `main`: The main call to be dispatched. This is the primary action to execute.
2059
1002
  * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
2060
- *
1003
+ *
2061
1004
  * ## Dispatch Logic
2062
1005
  * - If the origin is `root`, both the main and fallback calls are executed without
2063
1006
  * applying any origin filters.
2064
1007
  * - If the origin is not `root`, the origin filter is applied to both the `main` and
2065
1008
  * `fallback` calls.
2066
- *
1009
+ *
2067
1010
  * ## Use Case
2068
1011
  * - Some use cases might involve submitting a `batch` type call in either main, fallback
2069
1012
  * or both.
2070
1013
  **/
2071
- ifElse: AugmentedSubmittable<
2072
- (
2073
- main: Call | IMethod | string | Uint8Array,
2074
- fallback: Call | IMethod | string | Uint8Array,
2075
- ) => SubmittableExtrinsic<ApiType>,
2076
- [Call, Call]
2077
- >;
1014
+ ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
2078
1015
  /**
2079
1016
  * Dispatch a function call with a specified weight.
2080
- *
1017
+ *
2081
1018
  * This function does not check the weight of the call, and instead allows the
2082
1019
  * Root origin to specify the weight of the call.
2083
- *
1020
+ *
2084
1021
  * The dispatch origin for this call must be _Root_.
2085
1022
  **/
2086
- withWeight: AugmentedSubmittable<
2087
- (
2088
- call: Call | IMethod | string | Uint8Array,
2089
- weight:
2090
- | SpWeightsWeightV2Weight
2091
- | { refTime?: any; proofSize?: any }
2092
- | string
2093
- | Uint8Array,
2094
- ) => SubmittableExtrinsic<ApiType>,
2095
- [Call, SpWeightsWeightV2Weight]
2096
- >;
1023
+ withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
2097
1024
  };
2098
1025
  vaults: {
2099
1026
  /**
2100
1027
  * Stop offering additional bitcoin locks from this vault. Will not affect existing
2101
1028
  * locks. As funds are returned, they will be released to the vault owner.
2102
1029
  **/
2103
- close: AugmentedSubmittable<
2104
- (vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
2105
- [u32]
2106
- >;
2107
- collect: AugmentedSubmittable<
2108
- (vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
2109
- [u32]
2110
- >;
2111
- create: AugmentedSubmittable<
2112
- (
2113
- vaultConfig:
2114
- | PalletVaultsVaultConfig
2115
- | {
2116
- terms?: any;
2117
- name?: any;
2118
- securitization?: any;
2119
- bitcoinXpubkey?: any;
2120
- securitizationRatio?: any;
2121
- }
2122
- | string
2123
- | Uint8Array,
2124
- ) => SubmittableExtrinsic<ApiType>,
2125
- [PalletVaultsVaultConfig]
2126
- >;
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]>;
2127
1033
  /**
2128
1034
  * Modify funds allocated by the vault. This will not affect issued bitcoin locks, but will
2129
1035
  * affect the amount of funds available for new ones.
2130
- *
1036
+ *
2131
1037
  * The securitization percent must be maintained or increased.
2132
- *
1038
+ *
2133
1039
  * The amount allocated may not go below the existing reserved amounts, but you can release
2134
1040
  * funds in this vault as bitcoin locks are released. To stop issuing any more bitcoin
2135
1041
  * locks, use the `close` api.
2136
1042
  **/
2137
- modifyFunding: AugmentedSubmittable<
2138
- (
2139
- vaultId: u32 | AnyNumber | Uint8Array,
2140
- securitization: u128 | AnyNumber | Uint8Array,
2141
- securitizationRatio: u128 | AnyNumber | Uint8Array,
2142
- ) => SubmittableExtrinsic<ApiType>,
2143
- [u32, u128, u128]
2144
- >;
1043
+ modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array, securitizationRatio: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128, u128]>;
2145
1044
  /**
2146
1045
  * Change the terms of this vault. The change will be applied at the next mining slot
2147
1046
  * change that is at least `MinTermsModificationBlockDelay` blocks away.
2148
1047
  **/
2149
- modifyTerms: AugmentedSubmittable<
2150
- (
2151
- vaultId: u32 | AnyNumber | Uint8Array,
2152
- terms:
2153
- | ArgonPrimitivesVaultVaultTerms
2154
- | { bitcoinAnnualPercentRate?: any; bitcoinBaseFee?: any; treasuryProfitSharing?: any }
2155
- | string
2156
- | Uint8Array,
2157
- ) => SubmittableExtrinsic<ApiType>,
2158
- [u32, ArgonPrimitivesVaultVaultTerms]
2159
- >;
1048
+ modifyTerms: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, terms: ArgonPrimitivesVaultVaultTerms | { bitcoinAnnualPercentRate?: any; bitcoinBaseFee?: any; treasuryProfitSharing?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesVaultVaultTerms]>;
2160
1049
  /**
2161
1050
  * Replace the bitcoin xpubkey for this vault. This will not affect existing bitcoin locks,
2162
1051
  * but will be used for any locks after this point. Will be rejected if already
2163
1052
  * used.
2164
1053
  **/
2165
- replaceBitcoinXpub: AugmentedSubmittable<
2166
- (
2167
- vaultId: u32 | AnyNumber | Uint8Array,
2168
- bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array,
2169
- ) => SubmittableExtrinsic<ApiType>,
2170
- [u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]
2171
- >;
2172
- setBitcoinLockDelegate: AugmentedSubmittable<
2173
- (
2174
- delegateAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
2175
- ) => SubmittableExtrinsic<ApiType>,
2176
- [Option<AccountId32>]
2177
- >;
2178
- setName: AugmentedSubmittable<
2179
- (name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>,
2180
- [Option<Bytes>]
2181
- >;
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>]>;
2182
1057
  };
2183
1058
  } // AugmentedSubmittables
2184
1059
  } // declare module