@argonprotocol/mainchain 1.4.3-dev.b97b3c4f → 1.4.3-dev.caca6309

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.
Files changed (41) hide show
  1. package/browser/index.d.ts +1463 -1797
  2. package/browser/index.js +1209 -118
  3. package/browser/index.js.map +1 -1
  4. package/lib/chunk-3KFMHNNJ.cjs +706 -0
  5. package/lib/chunk-3KFMHNNJ.cjs.map +1 -0
  6. package/lib/chunk-D3FCDADJ.cjs +175 -0
  7. package/lib/chunk-D3FCDADJ.cjs.map +1 -0
  8. package/lib/chunk-RF6NOJOR.js +706 -0
  9. package/lib/chunk-RF6NOJOR.js.map +1 -0
  10. package/lib/chunk-YPXWOFUS.js +175 -0
  11. package/lib/chunk-YPXWOFUS.js.map +1 -0
  12. package/lib/index.cjs +1238 -118
  13. package/lib/index.cjs.map +1 -1
  14. package/lib/index.d.cts +1463 -1797
  15. package/lib/index.d.ts +1463 -1797
  16. package/lib/index.js +1238 -118
  17. package/lib/index.js.map +1 -1
  18. package/lib/lib-CU2JUZW6.cjs +403 -0
  19. package/lib/lib-CU2JUZW6.cjs.map +1 -0
  20. package/lib/lib-P3PEMYOB.js +403 -0
  21. package/lib/lib-P3PEMYOB.js.map +1 -0
  22. package/lib/setPreset-NCTHSXWD.js +15 -0
  23. package/lib/setPreset-NCTHSXWD.js.map +1 -0
  24. package/lib/setPreset-XHOPATBO.cjs +15 -0
  25. package/lib/setPreset-XHOPATBO.cjs.map +1 -0
  26. package/package.json +31 -25
  27. package/src/interfaces/augment-api-consts.ts +603 -0
  28. package/src/interfaces/augment-api-errors.ts +1175 -0
  29. package/src/interfaces/augment-api-events.ts +1816 -0
  30. package/src/interfaces/augment-api-query.ts +1545 -0
  31. package/src/interfaces/augment-api-rpc.ts +1133 -0
  32. package/src/interfaces/augment-api-runtime.ts +332 -0
  33. package/src/interfaces/augment-api-tx.ts +2184 -0
  34. package/src/interfaces/augment-api.ts +10 -0
  35. package/src/interfaces/augment-types.ts +2688 -0
  36. package/src/interfaces/definitions.ts +57 -0
  37. package/src/interfaces/ethereum/index.ts +4 -0
  38. package/src/interfaces/ethereum/types.ts +54 -0
  39. package/src/interfaces/lookup.ts +3768 -0
  40. package/src/interfaces/registry.ts +558 -0
  41. package/src/interfaces/types-lookup.ts +4345 -0
@@ -0,0 +1,603 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import '@polkadot/api-base/types/consts';
7
+
8
+ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
9
+ import type { bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
+ import type { ITuple } from '@polkadot/types-codec/types';
11
+ import type { AccountId32, Percent } from '@polkadot/types/interfaces/runtime';
12
+ import type {
13
+ FrameSupportPalletId,
14
+ FrameSystemLimitsBlockLength,
15
+ FrameSystemLimitsBlockWeights,
16
+ SpVersionRuntimeVersion,
17
+ SpWeightsRuntimeDbWeight,
18
+ } from '@polkadot/types/lookup';
19
+
20
+ export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
21
+
22
+ declare module '@polkadot/api-base/types/consts' {
23
+ interface AugmentedConsts<ApiType extends ApiTypes> {
24
+ balances: {
25
+ /**
26
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
27
+ *
28
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
29
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
30
+ * In case you have multiple sources of provider references, you may also get unexpected
31
+ * behaviour if you set this to zero.
32
+ *
33
+ * Bottom line: Do yourself a favour and make it at least one!
34
+ **/
35
+ existentialDeposit: u128 & AugmentedConst<ApiType>;
36
+ /**
37
+ * The maximum number of individual freeze locks that can exist on an account at any time.
38
+ **/
39
+ maxFreezes: u32 & AugmentedConst<ApiType>;
40
+ /**
41
+ * The maximum number of locks that should exist on an account.
42
+ * Not strictly enforced, but used for weight estimation.
43
+ *
44
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
45
+ **/
46
+ maxLocks: u32 & AugmentedConst<ApiType>;
47
+ /**
48
+ * The maximum number of named reserves that can exist on an account.
49
+ *
50
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
51
+ **/
52
+ maxReserves: u32 & AugmentedConst<ApiType>;
53
+ };
54
+ bitcoinLocks: {
55
+ /**
56
+ * Argon tick per day
57
+ **/
58
+ argonTicksPerDay: u64 & AugmentedConst<ApiType>;
59
+ /**
60
+ * The number of bitcoin blocks a bitcoin is locked for
61
+ **/
62
+ lockDurationBlocks: u64 & AugmentedConst<ApiType>;
63
+ /**
64
+ * The bitcoin blocks after a BitcoinLock expires which the vault will be allowed to claim
65
+ * a bitcoin
66
+ **/
67
+ lockReclamationBlocks: u64 & AugmentedConst<ApiType>;
68
+ /**
69
+ * Number of frames a vault has to counter-sign a bitcoin release
70
+ **/
71
+ lockReleaseCosignDeadlineFrames: u64 & AugmentedConst<ApiType>;
72
+ /**
73
+ * Max allowed tick-age of microgon-per-btc prices
74
+ **/
75
+ maxBtcPriceTickAge: u32 & AugmentedConst<ApiType>;
76
+ /**
77
+ * Pallet storage requires bounds, so we have to set a maximum number that can expire in a
78
+ * single block
79
+ **/
80
+ maxConcurrentlyExpiringLocks: u32 & AugmentedConst<ApiType>;
81
+ /**
82
+ * Maximum releasing utxos at a time
83
+ **/
84
+ maxConcurrentlyReleasingLocks: u32 & AugmentedConst<ApiType>;
85
+ /**
86
+ * Number of frames orphaned UTXO release entries are retained after a lock lifecycle
87
+ * transition before being cleaned up.
88
+ **/
89
+ orphanedUtxoReleaseExpiryFrames: u64 & AugmentedConst<ApiType>;
90
+ /**
91
+ * Number of ticks per bitcoin block
92
+ **/
93
+ ticksPerBitcoinBlock: u64 & AugmentedConst<ApiType>;
94
+ };
95
+ bitcoinUtxos: {
96
+ /**
97
+ * Maximum number of candidate UTXOs stored per lock
98
+ **/
99
+ maxCandidateUtxosPerLock: u32 & AugmentedConst<ApiType>;
100
+ /**
101
+ * Maximum number of satoshi difference allowed from expected to consider a UTXO as
102
+ * "confirmed"
103
+ **/
104
+ maximumSatoshiThresholdFromExpected: u64 & AugmentedConst<ApiType>;
105
+ /**
106
+ * Maximum bitcoin blocks to watch a Utxo for confirmation before canceling
107
+ **/
108
+ maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
109
+ /**
110
+ * The maximum number of UTXOs that can be watched in a block and/or expiring at same block
111
+ **/
112
+ maxPendingConfirmationUtxos: u32 & AugmentedConst<ApiType>;
113
+ /**
114
+ * The maximum number of expired pending funding entries cleaned up in a block
115
+ **/
116
+ maxPendingFundingExpirationsPerBlock: u32 & AugmentedConst<ApiType>;
117
+ };
118
+ blockRewards: {
119
+ /**
120
+ * The tick number at which the halving begins for ownership tokens
121
+ **/
122
+ halvingBeginTicks: u64 & AugmentedConst<ApiType>;
123
+ /**
124
+ * Number of ticks for halving of ownership share rewards
125
+ **/
126
+ halvingTicks: u64 & AugmentedConst<ApiType>;
127
+ /**
128
+ * The growth path for both ownership and argons before halving
129
+ **/
130
+ incrementalGrowth: ITuple<[u128, u64, u128]> & AugmentedConst<ApiType>;
131
+ /**
132
+ * Percent as a number out of 100 of the block reward that goes to the miner.
133
+ **/
134
+ minerPayoutPercent: u128 & AugmentedConst<ApiType>;
135
+ /**
136
+ * Number of argons minted per block
137
+ **/
138
+ startingArgonsPerBlock: u128 & AugmentedConst<ApiType>;
139
+ /**
140
+ * Number of ownership tokens minted per block
141
+ **/
142
+ startingOwnershipTokensPerBlock: u128 & AugmentedConst<ApiType>;
143
+ };
144
+ blockSealSpec: {
145
+ /**
146
+ * The number of historical compute times to use to calculate the rolling compute average
147
+ * (for adjustment)
148
+ **/
149
+ historicalComputeBlocksForAverage: u32 & AugmentedConst<ApiType>;
150
+ /**
151
+ * The number of historical vote blocks to use to calculate the rolling vote average
152
+ **/
153
+ historicalVoteBlocksForAverage: u32 & AugmentedConst<ApiType>;
154
+ /**
155
+ * The maximum active notaries allowed
156
+ **/
157
+ maxActiveNotaries: u32 & AugmentedConst<ApiType>;
158
+ /**
159
+ * The desired votes per block
160
+ **/
161
+ targetBlockVotes: u128 & AugmentedConst<ApiType>;
162
+ };
163
+ crosschainTransfer: {
164
+ /**
165
+ * Canonical Ethereum burn-accounting account representing funds moved to Ethereum.
166
+ **/
167
+ ethereumBurnAccount: AccountId32 & AugmentedConst<ApiType>;
168
+ /**
169
+ * Retention window, in ticks, for recent Argon transfer evidence used by operational
170
+ * accounts.
171
+ **/
172
+ recentTransferRetentionTicks: u64 & AugmentedConst<ApiType>;
173
+ };
174
+ ethereumVerifier: {
175
+ /**
176
+ * Whether the read-only event-log verification API is enabled.
177
+ **/
178
+ eventLogVerifierEnabled: bool & AugmentedConst<ApiType>;
179
+ /**
180
+ * Minimum gap between finalized headers for an update to be free.
181
+ **/
182
+ freeHeadersInterval: u32 & AugmentedConst<ApiType>;
183
+ };
184
+ grandpa: {
185
+ /**
186
+ * Max Authorities in use
187
+ **/
188
+ maxAuthorities: u32 & AugmentedConst<ApiType>;
189
+ /**
190
+ * The maximum number of nominators for each validator.
191
+ **/
192
+ maxNominators: u32 & AugmentedConst<ApiType>;
193
+ /**
194
+ * The maximum number of entries to keep in the set id to session index mapping.
195
+ *
196
+ * Since the `SetIdSession` map is only used for validating equivocations this
197
+ * value should relate to the bonding duration of whatever staking system is
198
+ * being used (if any). If equivocation handling is not enabled then this value
199
+ * can be zero.
200
+ **/
201
+ maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
202
+ };
203
+ localchainTransfer: {
204
+ /**
205
+ * How many transfers out can be queued per block
206
+ **/
207
+ maxPendingTransfersOutPerBlock: u32 & AugmentedConst<ApiType>;
208
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
209
+ /**
210
+ * How long a transfer should remain in storage before returning. NOTE: there is a 2 tick
211
+ * grace period where we will still allow a transfer
212
+ **/
213
+ transferExpirationTicks: u64 & AugmentedConst<ApiType>;
214
+ };
215
+ miningSlot: {
216
+ /**
217
+ * The max percent swing for the argonots per slot (from the last percent)
218
+ **/
219
+ argonotsPercentAdjustmentDamper: u128 & AugmentedConst<ApiType>;
220
+ /**
221
+ * The increment that bids can be on (for instance, one cent increments)
222
+ **/
223
+ bidIncrements: u128 & AugmentedConst<ApiType>;
224
+ /**
225
+ * The number of frames a miner operates for
226
+ **/
227
+ framesPerMiningTerm: u32 & AugmentedConst<ApiType>;
228
+ /**
229
+ * How many new miners can be in the cohort for each slot. The actual maximum will adjust
230
+ * dynamically
231
+ **/
232
+ maxCohortSize: u32 & AugmentedConst<ApiType>;
233
+ /**
234
+ * The maximum percent of argonots in the network that should be required for
235
+ * mining seats
236
+ **/
237
+ maximumArgonotProrataPercent: Percent & AugmentedConst<ApiType>;
238
+ /**
239
+ * The minimum number of miners per cohort
240
+ **/
241
+ minCohortSize: u32 & AugmentedConst<ApiType>;
242
+ /**
243
+ * The minimum argonots needed per seat
244
+ **/
245
+ minimumArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
246
+ /**
247
+ * Account that receives mining bid funds before treasury distribution.
248
+ **/
249
+ miningBidPoolAccount: AccountId32 & AugmentedConst<ApiType>;
250
+ /**
251
+ * The damper on the price per seat adjustment (from the last price)
252
+ **/
253
+ pricePerSeatAdjustmentDamper: u128 & AugmentedConst<ApiType>;
254
+ /**
255
+ * The target percent of bids per auction relative to the max number of seats. This will
256
+ * adjust the argonots per seat up or down to ensure mining slots are filled.
257
+ **/
258
+ targetBidsPerSeatPercent: u128 & AugmentedConst<ApiType>;
259
+ /**
260
+ * The target price per seat.
261
+ **/
262
+ targetPricePerSeat: u128 & AugmentedConst<ApiType>;
263
+ };
264
+ mint: {
265
+ /**
266
+ * The maximum number of mint histories to keep
267
+ **/
268
+ maxMintHistoryToMaintain: u32 & AugmentedConst<ApiType>;
269
+ /**
270
+ * The maximum number of UTXOs that can be waiting for minting
271
+ **/
272
+ maxPendingMintUtxos: u32 & AugmentedConst<ApiType>;
273
+ maxPossibleMiners: u32 & AugmentedConst<ApiType>;
274
+ };
275
+ multisig: {
276
+ /**
277
+ * The base amount of currency needed to reserve for creating a multisig execution or to
278
+ * store a dispatch call for later.
279
+ *
280
+ * This is held for an additional storage item whose value size is
281
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
282
+ * `32 + sizeof(AccountId)` bytes.
283
+ **/
284
+ depositBase: u128 & AugmentedConst<ApiType>;
285
+ /**
286
+ * The amount of currency needed per unit threshold when creating a multisig execution.
287
+ *
288
+ * This is held for adding 32 bytes more into a pre-existing storage value.
289
+ **/
290
+ depositFactor: u128 & AugmentedConst<ApiType>;
291
+ /**
292
+ * The maximum amount of signatories allowed in the multisig.
293
+ **/
294
+ maxSignatories: u32 & AugmentedConst<ApiType>;
295
+ };
296
+ notaries: {
297
+ /**
298
+ * The maximum active notaries allowed
299
+ **/
300
+ maxActiveNotaries: u32 & AugmentedConst<ApiType>;
301
+ /**
302
+ * Maximum hosts a notary can supply
303
+ **/
304
+ maxNotaryHosts: u32 & AugmentedConst<ApiType>;
305
+ /**
306
+ * The maximum blocks a proposal can sit unapproved
307
+ **/
308
+ maxProposalHoldBlocks: u32 & AugmentedConst<ApiType>;
309
+ maxProposalsPerBlock: u32 & AugmentedConst<ApiType>;
310
+ /**
311
+ * Number of ticks to maintain key history for each notary
312
+ * NOTE: only pruned when new keys are added
313
+ **/
314
+ maxTicksForKeyHistory: u32 & AugmentedConst<ApiType>;
315
+ /**
316
+ * Number of ticks to delay changing a notaries' meta (this is to allow a window for
317
+ * notaries to switch to new keys after a new key is finalized)
318
+ **/
319
+ metaChangesTickDelay: u64 & AugmentedConst<ApiType>;
320
+ };
321
+ operationalAccounts: {
322
+ /**
323
+ * Additional argon amount (base units) required per referral after operational.
324
+ **/
325
+ bitcoinLockSizeForReferral: u128 & AugmentedConst<ApiType>;
326
+ /**
327
+ * Maximum number of available referrals allowed at once.
328
+ **/
329
+ maxAvailableReferrals: u32 & AugmentedConst<ApiType>;
330
+ /**
331
+ * Maximum number of encrypted server bytes stored per sponsee.
332
+ **/
333
+ maxEncryptedServerLen: u32 & AugmentedConst<ApiType>;
334
+ /**
335
+ * Maximum number of expired referral codes cleared per block.
336
+ **/
337
+ maxExpiredReferralCodeCleanupsPerBlock: u32 & AugmentedConst<ApiType>;
338
+ /**
339
+ * Mining seats required to become operational.
340
+ **/
341
+ miningSeatsForOperational: u32 & AugmentedConst<ApiType>;
342
+ /**
343
+ * Mining seats required per referral after operational.
344
+ **/
345
+ miningSeatsPerReferral: u32 & AugmentedConst<ApiType>;
346
+ /**
347
+ * Minimum vault securitization required to become operational.
348
+ **/
349
+ operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
350
+ /**
351
+ * Default bonus reward paid every referral threshold.
352
+ **/
353
+ operationalReferralBonusReward: u128 & AugmentedConst<ApiType>;
354
+ /**
355
+ * Default reward paid when an account becomes operational.
356
+ **/
357
+ operationalReferralReward: u128 & AugmentedConst<ApiType>;
358
+ /**
359
+ * Number of operational sponsees required per referral bonus reward.
360
+ **/
361
+ referralBonusEveryXOperationalSponsees: u32 & AugmentedConst<ApiType>;
362
+ };
363
+ ownership: {
364
+ /**
365
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
366
+ *
367
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
368
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
369
+ * In case you have multiple sources of provider references, you may also get unexpected
370
+ * behaviour if you set this to zero.
371
+ *
372
+ * Bottom line: Do yourself a favour and make it at least one!
373
+ **/
374
+ existentialDeposit: u128 & AugmentedConst<ApiType>;
375
+ /**
376
+ * The maximum number of individual freeze locks that can exist on an account at any time.
377
+ **/
378
+ maxFreezes: u32 & AugmentedConst<ApiType>;
379
+ /**
380
+ * The maximum number of locks that should exist on an account.
381
+ * Not strictly enforced, but used for weight estimation.
382
+ *
383
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
384
+ **/
385
+ maxLocks: u32 & AugmentedConst<ApiType>;
386
+ /**
387
+ * The maximum number of named reserves that can exist on an account.
388
+ *
389
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
390
+ **/
391
+ maxReserves: u32 & AugmentedConst<ApiType>;
392
+ };
393
+ priceIndex: {
394
+ /**
395
+ * The max price difference dropping below target or raising above target per tick. There's
396
+ * no corresponding constant for time to recovery to target
397
+ **/
398
+ maxArgonChangePerTickAwayFromTarget: u128 & AugmentedConst<ApiType>;
399
+ maxArgonTargetChangePerTick: u128 & AugmentedConst<ApiType>;
400
+ /**
401
+ * The maximum number of ticks to preserve a price index
402
+ **/
403
+ maxDowntimeTicksBeforeReset: u64 & AugmentedConst<ApiType>;
404
+ /**
405
+ * The oldest history to keep
406
+ **/
407
+ maxPriceAgeInTicks: u64 & AugmentedConst<ApiType>;
408
+ };
409
+ proxy: {
410
+ /**
411
+ * The base amount of currency needed to reserve for creating an announcement.
412
+ *
413
+ * This is held when a new storage item holding a `Balance` is created (typically 16
414
+ * bytes).
415
+ **/
416
+ announcementDepositBase: u128 & AugmentedConst<ApiType>;
417
+ /**
418
+ * The amount of currency needed per announcement made.
419
+ *
420
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
421
+ * into a pre-existing storage value.
422
+ **/
423
+ announcementDepositFactor: u128 & AugmentedConst<ApiType>;
424
+ /**
425
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
426
+ **/
427
+ maxPending: u32 & AugmentedConst<ApiType>;
428
+ /**
429
+ * The maximum amount of proxies allowed for a single account.
430
+ **/
431
+ maxProxies: u32 & AugmentedConst<ApiType>;
432
+ /**
433
+ * The base amount of currency needed to reserve for creating a proxy.
434
+ *
435
+ * This is held for an additional storage item whose value size is
436
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
437
+ **/
438
+ proxyDepositBase: u128 & AugmentedConst<ApiType>;
439
+ /**
440
+ * The amount of currency needed per proxy added.
441
+ *
442
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
443
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
444
+ * into account `32 + proxy_type.encode().len()` bytes of data.
445
+ **/
446
+ proxyDepositFactor: u128 & AugmentedConst<ApiType>;
447
+ };
448
+ system: {
449
+ /**
450
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
451
+ **/
452
+ blockHashCount: u32 & AugmentedConst<ApiType>;
453
+ /**
454
+ * The maximum length of a block (in bytes).
455
+ **/
456
+ blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;
457
+ /**
458
+ * Block & extrinsics weights: base values and limits.
459
+ **/
460
+ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;
461
+ /**
462
+ * The weight of runtime database operations the runtime can invoke.
463
+ **/
464
+ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
465
+ /**
466
+ * The designated SS58 prefix of this chain.
467
+ *
468
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
469
+ * that the runtime should know about the prefix in order to make use of it as
470
+ * an identifier of the chain.
471
+ **/
472
+ ss58Prefix: u16 & AugmentedConst<ApiType>;
473
+ /**
474
+ * Get the chain's in-code version.
475
+ **/
476
+ version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
477
+ };
478
+ timestamp: {
479
+ /**
480
+ * The minimum period between blocks.
481
+ *
482
+ * Be aware that this is different to the *expected* period that the block production
483
+ * apparatus provides. Your chosen consensus system will generally work with this to
484
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
485
+ * period on default settings.
486
+ **/
487
+ minimumPeriod: u64 & AugmentedConst<ApiType>;
488
+ };
489
+ transactionPayment: {
490
+ /**
491
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
492
+ * `priority`
493
+ *
494
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
495
+ * added to a tip component in regular `priority` calculations.
496
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
497
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
498
+ *
499
+ * ```rust,ignore
500
+ * // For `Normal`
501
+ * let priority = priority_calc(tip);
502
+ *
503
+ * // For `Operational`
504
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
505
+ * let priority = priority_calc(tip + virtual_tip);
506
+ * ```
507
+ *
508
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
509
+ * sent with the transaction. So, not only does the transaction get a priority bump based
510
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
511
+ * transactions.
512
+ **/
513
+ operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
514
+ };
515
+ treasury: {
516
+ /**
517
+ * The maximum number of bond lots whose release delay may mature in a single frame.
518
+ **/
519
+ maxPendingUnlocksPerFrame: u32 & AugmentedConst<ApiType>;
520
+ /**
521
+ * The maximum number of accepted bond lots in a vault's accepted bond-lot list.
522
+ **/
523
+ maxTreasuryContributors: u32 & AugmentedConst<ApiType>;
524
+ /**
525
+ * The maximum number of vaults that can participate in one frame's locked vault capital.
526
+ **/
527
+ maxVaultsPerPool: u32 & AugmentedConst<ApiType>;
528
+ /**
529
+ * The minimum whole-bond purchase amount.
530
+ **/
531
+ minimumArgonsPerContributor: u128 & AugmentedConst<ApiType>;
532
+ /**
533
+ * Treasury pallet id retained in metadata for account derivation.
534
+ **/
535
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
536
+ /**
537
+ * Percent of the bid pool reserved for treasury reserves.
538
+ **/
539
+ percentForTreasuryReserves: Percent & AugmentedConst<ApiType>;
540
+ /**
541
+ * The number of frames a releasing bond lot remains held before release.
542
+ **/
543
+ treasuryExitDelayFrames: u64 & AugmentedConst<ApiType>;
544
+ /**
545
+ * Account that holds treasury reserves for claims and reserve-funded payouts.
546
+ **/
547
+ treasuryReservesAccount: AccountId32 & AugmentedConst<ApiType>;
548
+ };
549
+ txPause: {
550
+ /**
551
+ * Maximum length for pallet name and call name SCALE encoded string names.
552
+ *
553
+ * TOO LONG NAMES WILL BE TREATED AS PAUSED.
554
+ **/
555
+ maxNameLen: u32 & AugmentedConst<ApiType>;
556
+ };
557
+ utility: {
558
+ /**
559
+ * The limit on the number of batched calls.
560
+ **/
561
+ batchedCallsLimit: u32 & AugmentedConst<ApiType>;
562
+ };
563
+ vaults: {
564
+ /**
565
+ * One no-fee stale `initialize_for` failure is allowed for each this-many units of lost
566
+ * `available_for_lock`.
567
+ **/
568
+ capacityDropAttemptUnit: u128 & AugmentedConst<ApiType>;
569
+ /**
570
+ * Max concurrent cosigns pending per vault
571
+ **/
572
+ maxPendingCosignsPerVault: u32 & AugmentedConst<ApiType>;
573
+ /**
574
+ * The max pending vault term changes per block
575
+ **/
576
+ maxPendingTermModificationsPerTick: u32 & AugmentedConst<ApiType>;
577
+ /**
578
+ * Maximum number of recent `available_for_lock` drops retained per vault.
579
+ **/
580
+ maxRecentCapacityDropsPerVault: u32 & AugmentedConst<ApiType>;
581
+ /**
582
+ * The max number of vaults that can be created
583
+ **/
584
+ maxVaults: u32 & AugmentedConst<ApiType>;
585
+ /**
586
+ * Duration to keep the operational minimum securitization locked from vault creation.
587
+ **/
588
+ operationalMinimumVaultLockTicks: u64 & AugmentedConst<ApiType>;
589
+ /**
590
+ * Minimum vault securitization required while the operational floor lock is active.
591
+ **/
592
+ operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
593
+ /**
594
+ * Number of Argon blocks to keep recent `available_for_lock` drops for stale init checks.
595
+ **/
596
+ recentCapacityDropBlockWindow: u32 & AugmentedConst<ApiType>;
597
+ /**
598
+ * The number of frames within which revenue must be collected
599
+ **/
600
+ revenueCollectionExpirationFrames: u64 & AugmentedConst<ApiType>;
601
+ };
602
+ } // AugmentedConsts
603
+ } // declare module