@argonprotocol/mainchain 1.4.3-dev.43df9563 → 1.4.3-dev.4544e954

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