@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.4.3-dev.5e4d8d6a",
3
+ "version": "1.4.3-dev.6de0a801",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@argonprotocol/ethereum-contracts": "workspace:*",
68
- "@argonprotocol/testing": "1.4.3-dev.5e4d8d6a",
68
+ "@argonprotocol/testing": "1.4.3-dev.6de0a801",
69
69
  "@polkadot/typegen": "^16.5.6",
70
70
  "@substrate/ss58-registry": "^1.51.0",
71
71
  "@types/node": "^20",
@@ -9,13 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
9
9
  import type { bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
10
  import type { ITuple } from '@polkadot/types-codec/types';
11
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';
12
+ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight } from '@polkadot/types/lookup';
19
13
 
20
14
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
21
15
 
@@ -24,12 +18,12 @@ declare module '@polkadot/api-base/types/consts' {
24
18
  balances: {
25
19
  /**
26
20
  * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
27
- *
21
+ *
28
22
  * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
29
23
  * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
30
24
  * In case you have multiple sources of provider references, you may also get unexpected
31
25
  * behaviour if you set this to zero.
32
- *
26
+ *
33
27
  * Bottom line: Do yourself a favour and make it at least one!
34
28
  **/
35
29
  existentialDeposit: u128 & AugmentedConst<ApiType>;
@@ -40,13 +34,13 @@ declare module '@polkadot/api-base/types/consts' {
40
34
  /**
41
35
  * The maximum number of locks that should exist on an account.
42
36
  * Not strictly enforced, but used for weight estimation.
43
- *
37
+ *
44
38
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
45
39
  **/
46
40
  maxLocks: u32 & AugmentedConst<ApiType>;
47
41
  /**
48
42
  * The maximum number of named reserves that can exist on an account.
49
- *
43
+ *
50
44
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
51
45
  **/
52
46
  maxReserves: u32 & AugmentedConst<ApiType>;
@@ -192,7 +186,7 @@ declare module '@polkadot/api-base/types/consts' {
192
186
  maxNominators: u32 & AugmentedConst<ApiType>;
193
187
  /**
194
188
  * The maximum number of entries to keep in the set id to session index mapping.
195
- *
189
+ *
196
190
  * Since the `SetIdSession` map is only used for validating equivocations this
197
191
  * value should relate to the bonding duration of whatever staking system is
198
192
  * being used (if any). If equivocation handling is not enabled then this value
@@ -276,7 +270,7 @@ declare module '@polkadot/api-base/types/consts' {
276
270
  /**
277
271
  * The base amount of currency needed to reserve for creating a multisig execution or to
278
272
  * store a dispatch call for later.
279
- *
273
+ *
280
274
  * This is held for an additional storage item whose value size is
281
275
  * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
282
276
  * `32 + sizeof(AccountId)` bytes.
@@ -284,7 +278,7 @@ declare module '@polkadot/api-base/types/consts' {
284
278
  depositBase: u128 & AugmentedConst<ApiType>;
285
279
  /**
286
280
  * The amount of currency needed per unit threshold when creating a multisig execution.
287
- *
281
+ *
288
282
  * This is held for adding 32 bytes more into a pre-existing storage value.
289
283
  **/
290
284
  depositFactor: u128 & AugmentedConst<ApiType>;
@@ -363,12 +357,12 @@ declare module '@polkadot/api-base/types/consts' {
363
357
  ownership: {
364
358
  /**
365
359
  * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
366
- *
360
+ *
367
361
  * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
368
362
  * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
369
363
  * In case you have multiple sources of provider references, you may also get unexpected
370
364
  * behaviour if you set this to zero.
371
- *
365
+ *
372
366
  * Bottom line: Do yourself a favour and make it at least one!
373
367
  **/
374
368
  existentialDeposit: u128 & AugmentedConst<ApiType>;
@@ -379,13 +373,13 @@ declare module '@polkadot/api-base/types/consts' {
379
373
  /**
380
374
  * The maximum number of locks that should exist on an account.
381
375
  * Not strictly enforced, but used for weight estimation.
382
- *
376
+ *
383
377
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
384
378
  **/
385
379
  maxLocks: u32 & AugmentedConst<ApiType>;
386
380
  /**
387
381
  * The maximum number of named reserves that can exist on an account.
388
- *
382
+ *
389
383
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
390
384
  **/
391
385
  maxReserves: u32 & AugmentedConst<ApiType>;
@@ -409,14 +403,14 @@ declare module '@polkadot/api-base/types/consts' {
409
403
  proxy: {
410
404
  /**
411
405
  * The base amount of currency needed to reserve for creating an announcement.
412
- *
406
+ *
413
407
  * This is held when a new storage item holding a `Balance` is created (typically 16
414
408
  * bytes).
415
409
  **/
416
410
  announcementDepositBase: u128 & AugmentedConst<ApiType>;
417
411
  /**
418
412
  * The amount of currency needed per announcement made.
419
- *
413
+ *
420
414
  * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
421
415
  * into a pre-existing storage value.
422
416
  **/
@@ -431,14 +425,14 @@ declare module '@polkadot/api-base/types/consts' {
431
425
  maxProxies: u32 & AugmentedConst<ApiType>;
432
426
  /**
433
427
  * The base amount of currency needed to reserve for creating a proxy.
434
- *
428
+ *
435
429
  * This is held for an additional storage item whose value size is
436
430
  * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
437
431
  **/
438
432
  proxyDepositBase: u128 & AugmentedConst<ApiType>;
439
433
  /**
440
434
  * The amount of currency needed per proxy added.
441
- *
435
+ *
442
436
  * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
443
437
  * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
444
438
  * into account `32 + proxy_type.encode().len()` bytes of data.
@@ -464,7 +458,7 @@ declare module '@polkadot/api-base/types/consts' {
464
458
  dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
465
459
  /**
466
460
  * The designated SS58 prefix of this chain.
467
- *
461
+ *
468
462
  * This replaces the "ss58Format" property declared in the chain spec. Reason is
469
463
  * that the runtime should know about the prefix in order to make use of it as
470
464
  * an identifier of the chain.
@@ -478,7 +472,7 @@ declare module '@polkadot/api-base/types/consts' {
478
472
  timestamp: {
479
473
  /**
480
474
  * The minimum period between blocks.
481
- *
475
+ *
482
476
  * Be aware that this is different to the *expected* period that the block production
483
477
  * apparatus provides. Your chosen consensus system will generally work with this to
484
478
  * determine a sensible block time. For example, in the Aura pallet it will be double this
@@ -490,21 +484,21 @@ declare module '@polkadot/api-base/types/consts' {
490
484
  /**
491
485
  * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
492
486
  * `priority`
493
- *
487
+ *
494
488
  * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
495
489
  * added to a tip component in regular `priority` calculations.
496
490
  * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
497
491
  * extrinsic (with no tip), by including a tip value greater than the virtual tip.
498
- *
492
+ *
499
493
  * ```rust,ignore
500
494
  * // For `Normal`
501
495
  * let priority = priority_calc(tip);
502
- *
496
+ *
503
497
  * // For `Operational`
504
498
  * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
505
499
  * let priority = priority_calc(tip + virtual_tip);
506
500
  * ```
507
- *
501
+ *
508
502
  * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
509
503
  * sent with the transaction. So, not only does the transaction get a priority bump based
510
504
  * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
@@ -549,7 +543,7 @@ declare module '@polkadot/api-base/types/consts' {
549
543
  txPause: {
550
544
  /**
551
545
  * Maximum length for pallet name and call name SCALE encoded string names.
552
- *
546
+ *
553
547
  * TOO LONG NAMES WILL BE TREATED AS PAUSED.
554
548
  **/
555
549
  maxNameLen: u32 & AugmentedConst<ApiType>;
@@ -259,7 +259,8 @@ declare module '@polkadot/api-base/types/errors' {
259
259
  **/
260
260
  UtxoNotLocked: AugmentedError<ApiType>;
261
261
  };
262
- blockRewards: {};
262
+ blockRewards: {
263
+ };
263
264
  blockSeal: {
264
265
  /**
265
266
  * A block seal authority could not be properly decoded
@@ -965,7 +966,7 @@ declare module '@polkadot/api-base/types/errors' {
965
966
  CallFiltered: AugmentedError<ApiType>;
966
967
  /**
967
968
  * Failed to extract the runtime version from the new runtime.
968
- *
969
+ *
969
970
  * Either calling `Core_version` or decoding `RuntimeVersion` failed.
970
971
  **/
971
972
  FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
@@ -1000,7 +1001,8 @@ declare module '@polkadot/api-base/types/errors' {
1000
1001
  **/
1001
1002
  Unauthorized: AugmentedError<ApiType>;
1002
1003
  };
1003
- ticks: {};
1004
+ ticks: {
1005
+ };
1004
1006
  treasury: {
1005
1007
  /**
1006
1008
  * The bond lot is already scheduled for release.