@argonprotocol/mainchain 1.4.3 → 1.4.4

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 (35) hide show
  1. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
  2. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
  3. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
  4. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
  5. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
  6. package/browser/index.d.ts +2875 -1792
  7. package/browser/index.js +6827 -200
  8. package/browser/index.js.map +1 -1
  9. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
  10. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
  11. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
  12. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
  13. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
  14. package/lib/index.cjs +6915 -266
  15. package/lib/index.cjs.map +1 -1
  16. package/lib/index.d.cts +2875 -1792
  17. package/lib/index.d.ts +2875 -1792
  18. package/lib/index.js +6855 -206
  19. package/lib/index.js.map +1 -1
  20. package/package.json +29 -26
  21. package/src/interfaces/augment-api-consts.ts +656 -0
  22. package/src/interfaces/augment-api-errors.ts +1376 -0
  23. package/src/interfaces/augment-api-events.ts +2098 -0
  24. package/src/interfaces/augment-api-query.ts +1809 -0
  25. package/src/interfaces/augment-api-rpc.ts +1133 -0
  26. package/src/interfaces/augment-api-runtime.ts +306 -0
  27. package/src/interfaces/augment-api-tx.ts +2298 -0
  28. package/src/interfaces/augment-api.ts +10 -0
  29. package/src/interfaces/augment-types.ts +2692 -0
  30. package/src/interfaces/definitions.ts +42 -0
  31. package/src/interfaces/ethereum/index.ts +4 -0
  32. package/src/interfaces/ethereum/types.ts +66 -0
  33. package/src/interfaces/lookup.ts +4167 -0
  34. package/src/interfaces/registry.ts +598 -0
  35. package/src/interfaces/types-lookup.ts +4868 -0
@@ -0,0 +1,656 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import type {} from '@polkadot/api-base/types/consts';
7
+
8
+ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
9
+ import type { 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
+ * Minimum remaining frame commitment required when reading vault committed collateral
166
+ * capacity for council weighting and Minting Authority collateral.
167
+ **/
168
+ councilRotationFrames: u64 & AugmentedConst<ApiType>;
169
+ /**
170
+ * Default minimum normalized microgon value required to register a Minting Authority on
171
+ * one destination chain.
172
+ **/
173
+ defaultMinimumMintingAuthorityMicrogonValue: u128 & AugmentedConst<ApiType>;
174
+ /**
175
+ * Canonical Ethereum burn-accounting account representing funds moved to Ethereum.
176
+ **/
177
+ ethereumBurnAccount: AccountId32 & AugmentedConst<ApiType>;
178
+ /**
179
+ * Maximum number of ordered gateway activities that may share one receipt proof.
180
+ **/
181
+ maxActivitiesPerReceiptProof: u32 & AugmentedConst<ApiType>;
182
+ /**
183
+ * Maximum number of members the active Global Issuance Council may carry.
184
+ **/
185
+ maxCouncilMembers: u32 & AugmentedConst<ApiType>;
186
+ /**
187
+ * Maximum number of non-terminal transfer-out requests tracked for one destination chain.
188
+ **/
189
+ maxPendingTransferOutsPerDestinationChain: u32 & AugmentedConst<ApiType>;
190
+ /**
191
+ * Maximum execution headers carried in one receipt proof's target-to-anchor chain.
192
+ **/
193
+ maxProofExecutionHeaderDepth: u32 & AugmentedConst<ApiType>;
194
+ /**
195
+ * Maximum number of contiguous queue approvals one council member may submit in one call.
196
+ **/
197
+ maxQueueApprovalsPerCall: u32 & AugmentedConst<ApiType>;
198
+ /**
199
+ * Maximum number of proven receipt proofs that may be supplied in one extrinsic.
200
+ **/
201
+ maxReceiptProofsPerExtrinsic: u32 & AugmentedConst<ApiType>;
202
+ /**
203
+ * Maximum age, in ticks, of the verified Ethereum execution anchor used to open a
204
+ * transfer out.
205
+ **/
206
+ maxVerifiedExecutionBlockAgeTicks: u64 & AugmentedConst<ApiType>;
207
+ /**
208
+ * Minimum normalized collateral increment accepted for one transfer unless the increment
209
+ * completes the remaining uncovered amount.
210
+ **/
211
+ minTransferCollateralIncrement: u128 & AugmentedConst<ApiType>;
212
+ /**
213
+ * Retention window, in ticks, for recent Argon transfer evidence used by operational
214
+ * accounts.
215
+ **/
216
+ recentTransferRetentionTicks: u64 & AugmentedConst<ApiType>;
217
+ /**
218
+ * Minting authority tip rate applied to transfer-out requests in basis points.
219
+ **/
220
+ transferOutMintingAuthorityTipBasisPoints: u32 & AugmentedConst<ApiType>;
221
+ /**
222
+ * Ethereum-block window added to the latest verified block when opening a
223
+ * transfer out.
224
+ **/
225
+ transferOutValidityEthereumBlocks: u64 & AugmentedConst<ApiType>;
226
+ };
227
+ ethereumVerifier: {
228
+ /**
229
+ * Minimum gap between finalized headers for an update to be free.
230
+ **/
231
+ freeHeadersInterval: u32 & AugmentedConst<ApiType>;
232
+ };
233
+ grandpa: {
234
+ /**
235
+ * Max Authorities in use
236
+ **/
237
+ maxAuthorities: u32 & AugmentedConst<ApiType>;
238
+ /**
239
+ * The maximum number of nominators for each validator.
240
+ **/
241
+ maxNominators: u32 & AugmentedConst<ApiType>;
242
+ /**
243
+ * The maximum number of entries to keep in the set id to session index mapping.
244
+ *
245
+ * Since the `SetIdSession` map is only used for validating equivocations this
246
+ * value should relate to the bonding duration of whatever staking system is
247
+ * being used (if any). If equivocation handling is not enabled then this value
248
+ * can be zero.
249
+ **/
250
+ maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
251
+ };
252
+ localchainTransfer: {
253
+ /**
254
+ * How many transfers out can be queued per block
255
+ **/
256
+ maxPendingTransfersOutPerBlock: u32 & AugmentedConst<ApiType>;
257
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
258
+ /**
259
+ * How long a transfer should remain in storage before returning. NOTE: there is a 2 tick
260
+ * grace period where we will still allow a transfer
261
+ **/
262
+ transferExpirationTicks: u64 & AugmentedConst<ApiType>;
263
+ };
264
+ miningSlot: {
265
+ /**
266
+ * The max percent swing for the argonots per slot (from the last percent)
267
+ **/
268
+ argonotsPercentAdjustmentDamper: u128 & AugmentedConst<ApiType>;
269
+ /**
270
+ * The increment that bids can be on (for instance, one cent increments)
271
+ **/
272
+ bidIncrements: u128 & AugmentedConst<ApiType>;
273
+ /**
274
+ * The number of frames a miner operates for
275
+ **/
276
+ framesPerMiningTerm: u32 & AugmentedConst<ApiType>;
277
+ /**
278
+ * How many new miners can be in the cohort for each slot. The actual maximum will adjust
279
+ * dynamically
280
+ **/
281
+ maxCohortSize: u32 & AugmentedConst<ApiType>;
282
+ /**
283
+ * The maximum percent of argonots in the network that should be required for
284
+ * mining seats
285
+ **/
286
+ maximumArgonotProrataPercent: Percent & AugmentedConst<ApiType>;
287
+ /**
288
+ * The minimum number of miners per cohort
289
+ **/
290
+ minCohortSize: u32 & AugmentedConst<ApiType>;
291
+ /**
292
+ * The minimum argonots needed per seat
293
+ **/
294
+ minimumArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
295
+ /**
296
+ * Account that receives mining bid funds before treasury distribution.
297
+ **/
298
+ miningBidPoolAccount: AccountId32 & AugmentedConst<ApiType>;
299
+ /**
300
+ * The damper on the price per seat adjustment (from the last price)
301
+ **/
302
+ pricePerSeatAdjustmentDamper: u128 & AugmentedConst<ApiType>;
303
+ /**
304
+ * The target percent of bids per auction relative to the max number of seats. This will
305
+ * adjust the argonots per seat up or down to ensure mining slots are filled.
306
+ **/
307
+ targetBidsPerSeatPercent: u128 & AugmentedConst<ApiType>;
308
+ /**
309
+ * The target price per seat.
310
+ **/
311
+ targetPricePerSeat: u128 & AugmentedConst<ApiType>;
312
+ };
313
+ mint: {
314
+ /**
315
+ * The maximum number of mint histories to keep
316
+ **/
317
+ maxMintHistoryToMaintain: u32 & AugmentedConst<ApiType>;
318
+ /**
319
+ * The maximum number of UTXOs that can be waiting for minting
320
+ **/
321
+ maxPendingMintUtxos: u32 & AugmentedConst<ApiType>;
322
+ maxPossibleMiners: u32 & AugmentedConst<ApiType>;
323
+ };
324
+ multisig: {
325
+ /**
326
+ * The base amount of currency needed to reserve for creating a multisig execution or to
327
+ * store a dispatch call for later.
328
+ *
329
+ * This is held for an additional storage item whose value size is
330
+ * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
331
+ * `32 + sizeof(AccountId)` bytes.
332
+ **/
333
+ depositBase: u128 & AugmentedConst<ApiType>;
334
+ /**
335
+ * The amount of currency needed per unit threshold when creating a multisig execution.
336
+ *
337
+ * This is held for adding 32 bytes more into a pre-existing storage value.
338
+ **/
339
+ depositFactor: u128 & AugmentedConst<ApiType>;
340
+ /**
341
+ * The maximum amount of signatories allowed in the multisig.
342
+ **/
343
+ maxSignatories: u32 & AugmentedConst<ApiType>;
344
+ };
345
+ notaries: {
346
+ /**
347
+ * The maximum active notaries allowed
348
+ **/
349
+ maxActiveNotaries: u32 & AugmentedConst<ApiType>;
350
+ /**
351
+ * Maximum hosts a notary can supply
352
+ **/
353
+ maxNotaryHosts: u32 & AugmentedConst<ApiType>;
354
+ /**
355
+ * The maximum blocks a proposal can sit unapproved
356
+ **/
357
+ maxProposalHoldBlocks: u32 & AugmentedConst<ApiType>;
358
+ maxProposalsPerBlock: u32 & AugmentedConst<ApiType>;
359
+ /**
360
+ * Number of ticks to maintain key history for each notary
361
+ * NOTE: only pruned when new keys are added
362
+ **/
363
+ maxTicksForKeyHistory: u32 & AugmentedConst<ApiType>;
364
+ /**
365
+ * Number of ticks to delay changing a notaries' meta (this is to allow a window for
366
+ * notaries to switch to new keys after a new key is finalized)
367
+ **/
368
+ metaChangesTickDelay: u64 & AugmentedConst<ApiType>;
369
+ };
370
+ operationalAccounts: {
371
+ /**
372
+ * Additional argon amount (base units) required per referral after operational.
373
+ **/
374
+ bitcoinLockSizeForReferral: u128 & AugmentedConst<ApiType>;
375
+ /**
376
+ * Maximum number of available referrals allowed at once.
377
+ **/
378
+ maxAvailableReferrals: u32 & AugmentedConst<ApiType>;
379
+ /**
380
+ * Maximum number of encrypted server bytes stored per sponsee.
381
+ **/
382
+ maxEncryptedServerLen: u32 & AugmentedConst<ApiType>;
383
+ /**
384
+ * Maximum number of expired referral codes cleared per block.
385
+ **/
386
+ maxExpiredReferralCodeCleanupsPerBlock: u32 & AugmentedConst<ApiType>;
387
+ /**
388
+ * Mining seats required to become operational.
389
+ **/
390
+ miningSeatsForOperational: u32 & AugmentedConst<ApiType>;
391
+ /**
392
+ * Mining seats required per referral after operational.
393
+ **/
394
+ miningSeatsPerReferral: u32 & AugmentedConst<ApiType>;
395
+ /**
396
+ * Minimum vault securitization required to become operational.
397
+ **/
398
+ operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
399
+ /**
400
+ * Default bonus reward paid every referral threshold.
401
+ **/
402
+ operationalReferralBonusReward: u128 & AugmentedConst<ApiType>;
403
+ /**
404
+ * Default reward paid when an account becomes operational.
405
+ **/
406
+ operationalReferralReward: u128 & AugmentedConst<ApiType>;
407
+ /**
408
+ * Number of operational sponsees required per referral bonus reward.
409
+ **/
410
+ referralBonusEveryXOperationalSponsees: u32 & AugmentedConst<ApiType>;
411
+ };
412
+ ownership: {
413
+ /**
414
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
415
+ *
416
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
417
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
418
+ * In case you have multiple sources of provider references, you may also get unexpected
419
+ * behaviour if you set this to zero.
420
+ *
421
+ * Bottom line: Do yourself a favour and make it at least one!
422
+ **/
423
+ existentialDeposit: u128 & AugmentedConst<ApiType>;
424
+ /**
425
+ * The maximum number of individual freeze locks that can exist on an account at any time.
426
+ **/
427
+ maxFreezes: u32 & AugmentedConst<ApiType>;
428
+ /**
429
+ * The maximum number of locks that should exist on an account.
430
+ * Not strictly enforced, but used for weight estimation.
431
+ *
432
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
433
+ **/
434
+ maxLocks: u32 & AugmentedConst<ApiType>;
435
+ /**
436
+ * The maximum number of named reserves that can exist on an account.
437
+ *
438
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
439
+ **/
440
+ maxReserves: u32 & AugmentedConst<ApiType>;
441
+ };
442
+ priceIndex: {
443
+ /**
444
+ * The max price difference dropping below target or raising above target per tick. There's
445
+ * no corresponding constant for time to recovery to target
446
+ **/
447
+ maxArgonChangePerTickAwayFromTarget: u128 & AugmentedConst<ApiType>;
448
+ /**
449
+ * Maximum number of per-frame Argonot floor buckets to retain.
450
+ **/
451
+ maxArgonotFloorHistoryFrames: u32 & AugmentedConst<ApiType>;
452
+ maxArgonTargetChangePerTick: u128 & AugmentedConst<ApiType>;
453
+ /**
454
+ * The maximum number of ticks to preserve a price index
455
+ **/
456
+ maxDowntimeTicksBeforeReset: u64 & AugmentedConst<ApiType>;
457
+ /**
458
+ * The oldest history to keep
459
+ **/
460
+ maxPriceAgeInTicks: u64 & AugmentedConst<ApiType>;
461
+ };
462
+ proxy: {
463
+ /**
464
+ * The base amount of currency needed to reserve for creating an announcement.
465
+ *
466
+ * This is held when a new storage item holding a `Balance` is created (typically 16
467
+ * bytes).
468
+ **/
469
+ announcementDepositBase: u128 & AugmentedConst<ApiType>;
470
+ /**
471
+ * The amount of currency needed per announcement made.
472
+ *
473
+ * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
474
+ * into a pre-existing storage value.
475
+ **/
476
+ announcementDepositFactor: u128 & AugmentedConst<ApiType>;
477
+ /**
478
+ * The maximum amount of time-delayed announcements that are allowed to be pending.
479
+ **/
480
+ maxPending: u32 & AugmentedConst<ApiType>;
481
+ /**
482
+ * The maximum amount of proxies allowed for a single account.
483
+ **/
484
+ maxProxies: u32 & AugmentedConst<ApiType>;
485
+ /**
486
+ * The base amount of currency needed to reserve for creating a proxy.
487
+ *
488
+ * This is held for an additional storage item whose value size is
489
+ * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
490
+ **/
491
+ proxyDepositBase: u128 & AugmentedConst<ApiType>;
492
+ /**
493
+ * The amount of currency needed per proxy added.
494
+ *
495
+ * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
496
+ * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
497
+ * into account `32 + proxy_type.encode().len()` bytes of data.
498
+ **/
499
+ proxyDepositFactor: u128 & AugmentedConst<ApiType>;
500
+ };
501
+ system: {
502
+ /**
503
+ * Maximum number of block number to block hash mappings to keep (oldest pruned first).
504
+ **/
505
+ blockHashCount: u32 & AugmentedConst<ApiType>;
506
+ /**
507
+ * The maximum length of a block (in bytes).
508
+ **/
509
+ blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;
510
+ /**
511
+ * Block & extrinsics weights: base values and limits.
512
+ **/
513
+ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;
514
+ /**
515
+ * The weight of runtime database operations the runtime can invoke.
516
+ **/
517
+ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
518
+ /**
519
+ * The designated SS58 prefix of this chain.
520
+ *
521
+ * This replaces the "ss58Format" property declared in the chain spec. Reason is
522
+ * that the runtime should know about the prefix in order to make use of it as
523
+ * an identifier of the chain.
524
+ **/
525
+ ss58Prefix: u16 & AugmentedConst<ApiType>;
526
+ /**
527
+ * Get the chain's in-code version.
528
+ **/
529
+ version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
530
+ };
531
+ timestamp: {
532
+ /**
533
+ * The minimum period between blocks.
534
+ *
535
+ * Be aware that this is different to the *expected* period that the block production
536
+ * apparatus provides. Your chosen consensus system will generally work with this to
537
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
538
+ * period on default settings.
539
+ **/
540
+ minimumPeriod: u64 & AugmentedConst<ApiType>;
541
+ };
542
+ transactionPayment: {
543
+ /**
544
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
545
+ * `priority`
546
+ *
547
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
548
+ * added to a tip component in regular `priority` calculations.
549
+ * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
550
+ * extrinsic (with no tip), by including a tip value greater than the virtual tip.
551
+ *
552
+ * ```rust,ignore
553
+ * // For `Normal`
554
+ * let priority = priority_calc(tip);
555
+ *
556
+ * // For `Operational`
557
+ * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
558
+ * let priority = priority_calc(tip + virtual_tip);
559
+ * ```
560
+ *
561
+ * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
562
+ * sent with the transaction. So, not only does the transaction get a priority bump based
563
+ * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
564
+ * transactions.
565
+ **/
566
+ operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
567
+ };
568
+ treasury: {
569
+ /**
570
+ * The maximum number of bond lots whose release delay may mature in a single frame.
571
+ **/
572
+ maxPendingUnlocksPerFrame: u32 & AugmentedConst<ApiType>;
573
+ /**
574
+ * The maximum number of accepted bond lots in a vault's accepted bond-lot list.
575
+ **/
576
+ maxTreasuryContributors: u32 & AugmentedConst<ApiType>;
577
+ /**
578
+ * The maximum number of vaults that can participate in one frame's locked vault capital.
579
+ **/
580
+ maxVaultsPerPool: u32 & AugmentedConst<ApiType>;
581
+ /**
582
+ * The minimum whole-bond purchase amount.
583
+ **/
584
+ minimumArgonsPerContributor: u128 & AugmentedConst<ApiType>;
585
+ /**
586
+ * Treasury pallet id retained in metadata for account derivation.
587
+ **/
588
+ palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
589
+ /**
590
+ * Percent of the bid pool reserved for treasury reserves.
591
+ **/
592
+ percentForTreasuryReserves: Percent & AugmentedConst<ApiType>;
593
+ /**
594
+ * The number of frames a releasing bond lot remains held before release.
595
+ **/
596
+ treasuryExitDelayFrames: u64 & AugmentedConst<ApiType>;
597
+ /**
598
+ * Account that holds treasury reserves for claims and reserve-funded payouts.
599
+ **/
600
+ treasuryReservesAccount: AccountId32 & AugmentedConst<ApiType>;
601
+ };
602
+ txPause: {
603
+ /**
604
+ * Maximum length for pallet name and call name SCALE encoded string names.
605
+ *
606
+ * TOO LONG NAMES WILL BE TREATED AS PAUSED.
607
+ **/
608
+ maxNameLen: u32 & AugmentedConst<ApiType>;
609
+ };
610
+ utility: {
611
+ /**
612
+ * The limit on the number of batched calls.
613
+ **/
614
+ batchedCallsLimit: u32 & AugmentedConst<ApiType>;
615
+ };
616
+ vaults: {
617
+ /**
618
+ * One no-fee stale `initialize_for` failure is allowed for each this-many units of lost
619
+ * `available_for_lock`.
620
+ **/
621
+ capacityDropAttemptUnit: u128 & AugmentedConst<ApiType>;
622
+ /**
623
+ * Max concurrent cosigns pending per vault
624
+ **/
625
+ maxPendingCosignsPerVault: u32 & AugmentedConst<ApiType>;
626
+ /**
627
+ * The max pending vault term changes per block
628
+ **/
629
+ maxPendingTermModificationsPerTick: u32 & AugmentedConst<ApiType>;
630
+ /**
631
+ * Maximum number of recent `available_for_lock` drops retained per vault.
632
+ **/
633
+ maxRecentCapacityDropsPerVault: u32 & AugmentedConst<ApiType>;
634
+ /**
635
+ * The max number of vaults that can be created
636
+ **/
637
+ maxVaults: u32 & AugmentedConst<ApiType>;
638
+ /**
639
+ * Duration to keep the operational minimum securitization locked from vault creation.
640
+ **/
641
+ operationalMinimumVaultLockTicks: u64 & AugmentedConst<ApiType>;
642
+ /**
643
+ * Minimum vault securitization required while the operational floor lock is active.
644
+ **/
645
+ operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
646
+ /**
647
+ * Number of Argon blocks to keep recent `available_for_lock` drops for stale init checks.
648
+ **/
649
+ recentCapacityDropBlockWindow: u32 & AugmentedConst<ApiType>;
650
+ /**
651
+ * The number of frames within which revenue must be collected
652
+ **/
653
+ revenueCollectionExpirationFrames: u64 & AugmentedConst<ApiType>;
654
+ };
655
+ } // AugmentedConsts
656
+ } // declare module