@argonprotocol/mainchain 1.0.12 → 1.0.13

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 (58) hide show
  1. package/README.md +18 -15
  2. package/lib/cjs/WageProtector.d.ts +1 -1
  3. package/lib/cjs/WageProtector.js +3 -2
  4. package/lib/cjs/WageProtector.js.map +1 -1
  5. package/lib/cjs/__test__/WageProtector.test.js +2 -2
  6. package/lib/cjs/__test__/WageProtector.test.js.map +1 -1
  7. package/lib/cjs/examples/decodePkcs.js +3 -3
  8. package/lib/cjs/examples/decodePkcs.js.map +1 -1
  9. package/lib/cjs/examples/findSs58Formats.js +6 -1
  10. package/lib/cjs/examples/findSs58Formats.js.map +1 -1
  11. package/lib/cjs/index.d.ts +9 -9
  12. package/lib/cjs/index.js.map +1 -1
  13. package/lib/cjs/interfaces/augment-api-consts.d.ts +0 -6
  14. package/lib/cjs/interfaces/augment-api-errors.d.ts +8 -0
  15. package/lib/cjs/interfaces/augment-api-events.d.ts +678 -149
  16. package/lib/cjs/interfaces/augment-api-query.d.ts +334 -129
  17. package/lib/cjs/interfaces/augment-api-rpc.d.ts +1 -1
  18. package/lib/cjs/interfaces/augment-api-tx.d.ts +362 -96
  19. package/lib/cjs/interfaces/lookup.d.ts +63 -54
  20. package/lib/cjs/interfaces/lookup.js +653 -411
  21. package/lib/cjs/interfaces/lookup.js.map +1 -1
  22. package/lib/cjs/interfaces/types-lookup.d.ts +87 -61
  23. package/lib/esm/WageProtector.d.ts +1 -1
  24. package/lib/esm/WageProtector.js +3 -2
  25. package/lib/esm/WageProtector.js.map +1 -1
  26. package/lib/esm/__test__/WageProtector.test.js +3 -3
  27. package/lib/esm/__test__/WageProtector.test.js.map +1 -1
  28. package/lib/esm/examples/decodePkcs.js +8 -8
  29. package/lib/esm/examples/decodePkcs.js.map +1 -1
  30. package/lib/esm/examples/findSs58Formats.js +6 -1
  31. package/lib/esm/examples/findSs58Formats.js.map +1 -1
  32. package/lib/esm/index.d.ts +9 -9
  33. package/lib/esm/index.js +7 -7
  34. package/lib/esm/index.js.map +1 -1
  35. package/lib/esm/interfaces/augment-api-consts.d.ts +0 -6
  36. package/lib/esm/interfaces/augment-api-errors.d.ts +8 -0
  37. package/lib/esm/interfaces/augment-api-events.d.ts +678 -149
  38. package/lib/esm/interfaces/augment-api-query.d.ts +334 -129
  39. package/lib/esm/interfaces/augment-api-rpc.d.ts +1 -1
  40. package/lib/esm/interfaces/augment-api-tx.d.ts +362 -96
  41. package/lib/esm/interfaces/lookup.d.ts +63 -54
  42. package/lib/esm/interfaces/lookup.js +653 -411
  43. package/lib/esm/interfaces/lookup.js.map +1 -1
  44. package/lib/esm/interfaces/types-lookup.d.ts +87 -61
  45. package/lib/tsconfig-cjs.tsbuildinfo +1 -1
  46. package/lib/tsconfig-types.tsbuildinfo +1 -1
  47. package/lib/tsconfig.tsbuildinfo +1 -1
  48. package/lib/types/WageProtector.d.ts +1 -1
  49. package/lib/types/index.d.ts +9 -9
  50. package/lib/types/interfaces/augment-api-consts.d.ts +0 -6
  51. package/lib/types/interfaces/augment-api-errors.d.ts +8 -0
  52. package/lib/types/interfaces/augment-api-events.d.ts +678 -149
  53. package/lib/types/interfaces/augment-api-query.d.ts +334 -129
  54. package/lib/types/interfaces/augment-api-rpc.d.ts +1 -1
  55. package/lib/types/interfaces/augment-api-tx.d.ts +362 -96
  56. package/lib/types/interfaces/lookup.d.ts +63 -54
  57. package/lib/types/interfaces/types-lookup.d.ts +87 -61
  58. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { ArgonClient } from "./index";
1
+ import { ArgonClient } from './index';
2
2
  export interface IArgonCpiSnapshot {
3
3
  argonUsdTargetPrice: bigint;
4
4
  argonUsdPrice: bigint;
@@ -1,15 +1,15 @@
1
- import "./interfaces/augment-api.js";
2
- import "./interfaces/augment-types.js";
3
- import "./interfaces/types-lookup.js";
4
- import { KeyringPair, KeyringPair$Json } from "@polkadot/keyring/types";
1
+ import './interfaces/augment-api.js';
2
+ import './interfaces/augment-types.js';
3
+ import './interfaces/types-lookup.js';
4
+ import { KeyringPair, KeyringPair$Json } from '@polkadot/keyring/types';
5
5
  import { ApiPromise, Keyring } from '@polkadot/api';
6
6
  import { decodeAddress, mnemonicGenerate } from '@polkadot/util-crypto';
7
- import { EventRecord } from "@polkadot/types/interfaces/system";
7
+ import { EventRecord } from '@polkadot/types/interfaces/system';
8
8
  import { InterfaceTypes } from '@polkadot/types/types/registry';
9
- import { KeypairType } from "@polkadot/util-crypto/types";
10
- export { WageProtector } from "./WageProtector";
11
- export { Keyring, KeyringPair, KeyringPair$Json, KeypairType, mnemonicGenerate, decodeAddress };
12
- export * from "@polkadot/types";
9
+ import { KeypairType } from '@polkadot/util-crypto/types';
10
+ export { WageProtector } from './WageProtector';
11
+ export { Keyring, KeyringPair, KeyringPair$Json, KeypairType, mnemonicGenerate, decodeAddress, };
12
+ export * from '@polkadot/types';
13
13
  export * from '@polkadot/types/lookup';
14
14
  export { InterfaceTypes as interfaces };
15
15
  export type ArgonClient = ApiPromise;
@@ -424,12 +424,6 @@ declare module '@polkadot/api-base/types/consts' {
424
424
  * The number of ticks that a funding change will be delayed before it takes effect
425
425
  **/
426
426
  miningArgonIncreaseTickDelay: u64 & AugmentedConst<ApiType>;
427
- /**
428
- * The number of ticks that a change in terms will take before applying. Terms only apply
429
- * on a slot changeover, so this setting is the minimum blocks that must pass, in
430
- * addition to the time to the next slot after that
431
- **/
432
- minTermsModificationTickDelay: u64 & AugmentedConst<ApiType>;
433
427
  /**
434
428
  * Argon blocks per day
435
429
  **/
@@ -816,6 +816,10 @@ declare module '@polkadot/api-base/types/errors' {
816
816
  * The proposed transaction would take the account below the minimum (existential) balance
817
817
  **/
818
818
  AccountBelowMinimumBalance: AugmentedError<ApiType>;
819
+ /**
820
+ * Too many base fee maturations were inserted per tick
821
+ **/
822
+ BaseFeeOverflow: AugmentedError<ApiType>;
819
823
  /**
820
824
  * Bitcoin conversion to compressed pubkey failed
821
825
  **/
@@ -897,6 +901,10 @@ declare module '@polkadot/api-base/types/errors' {
897
901
  UnsafeXpubkey: AugmentedError<ApiType>;
898
902
  VaultClosed: AugmentedError<ApiType>;
899
903
  VaultNotFound: AugmentedError<ApiType>;
904
+ /**
905
+ * The vault is not yet active
906
+ **/
907
+ VaultNotYetActive: AugmentedError<ApiType>;
900
908
  /**
901
909
  * This reduction in obligation funds offered goes below the amount that is already
902
910
  * committed to