@argonprotocol/mainchain 0.0.2 → 0.0.3

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 (33) hide show
  1. package/lib/cjs/interfaces/augment-api-consts.d.ts +39 -33
  2. package/lib/cjs/interfaces/augment-api-errors.d.ts +57 -51
  3. package/lib/cjs/interfaces/augment-api-events.d.ts +102 -68
  4. package/lib/cjs/interfaces/augment-api-query.d.ts +65 -65
  5. package/lib/cjs/interfaces/augment-api-tx.d.ts +253 -157
  6. package/lib/cjs/interfaces/lookup.d.ts +217 -140
  7. package/lib/cjs/interfaces/lookup.js +217 -140
  8. package/lib/cjs/interfaces/lookup.js.map +1 -1
  9. package/lib/cjs/interfaces/registry.d.ts +7 -1
  10. package/lib/cjs/interfaces/types-lookup.d.ts +213 -140
  11. package/lib/cjs/package.json +3 -0
  12. package/lib/esm/interfaces/augment-api-consts.d.ts +39 -33
  13. package/lib/esm/interfaces/augment-api-errors.d.ts +57 -51
  14. package/lib/esm/interfaces/augment-api-events.d.ts +102 -68
  15. package/lib/esm/interfaces/augment-api-query.d.ts +65 -65
  16. package/lib/esm/interfaces/augment-api-tx.d.ts +253 -157
  17. package/lib/esm/interfaces/lookup.d.ts +217 -140
  18. package/lib/esm/interfaces/lookup.js +217 -140
  19. package/lib/esm/interfaces/lookup.js.map +1 -1
  20. package/lib/esm/interfaces/registry.d.ts +7 -1
  21. package/lib/esm/interfaces/types-lookup.d.ts +213 -140
  22. package/lib/tsconfig-cjs.tsbuildinfo +1 -1
  23. package/lib/tsconfig-types.tsbuildinfo +1 -1
  24. package/lib/tsconfig.tsbuildinfo +1 -1
  25. package/lib/types/interfaces/augment-api-consts.d.ts +39 -33
  26. package/lib/types/interfaces/augment-api-errors.d.ts +57 -51
  27. package/lib/types/interfaces/augment-api-events.d.ts +102 -68
  28. package/lib/types/interfaces/augment-api-query.d.ts +65 -65
  29. package/lib/types/interfaces/augment-api-tx.d.ts +253 -157
  30. package/lib/types/interfaces/lookup.d.ts +217 -140
  31. package/lib/types/interfaces/registry.d.ts +7 -1
  32. package/lib/types/interfaces/types-lookup.d.ts +213 -140
  33. package/package.json +3 -2
@@ -5,7 +5,7 @@ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLim
5
5
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
6
6
  declare module '@polkadot/api-base/types/consts' {
7
7
  interface AugmentedConsts<ApiType extends ApiTypes> {
8
- argonBalances: {
8
+ balances: {
9
9
  /**
10
10
  * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
11
11
  *
@@ -63,9 +63,9 @@ declare module '@polkadot/api-base/types/consts' {
63
63
  **/
64
64
  minerPayoutPercent: u128 & AugmentedConst<ApiType>;
65
65
  /**
66
- * Number of shares minted per block
66
+ * Number of ownership tokens minted per block
67
67
  **/
68
- startingSharesPerBlock: u128 & AugmentedConst<ApiType>;
68
+ startingOwnershipTokensPerBlock: u128 & AugmentedConst<ApiType>;
69
69
  };
70
70
  blockSealSpec: {
71
71
  /**
@@ -224,6 +224,36 @@ declare module '@polkadot/api-base/types/consts' {
224
224
  **/
225
225
  metaChangesTickDelay: u32 & AugmentedConst<ApiType>;
226
226
  };
227
+ ownership: {
228
+ /**
229
+ * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
230
+ *
231
+ * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
232
+ * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
233
+ * In case you have multiple sources of provider references, you may also get unexpected
234
+ * behaviour if you set this to zero.
235
+ *
236
+ * Bottom line: Do yourself a favour and make it at least one!
237
+ **/
238
+ existentialDeposit: u128 & AugmentedConst<ApiType>;
239
+ /**
240
+ * The maximum number of individual freeze locks that can exist on an account at any time.
241
+ **/
242
+ maxFreezes: u32 & AugmentedConst<ApiType>;
243
+ /**
244
+ * The maximum number of locks that should exist on an account.
245
+ * Not strictly enforced, but used for weight estimation.
246
+ *
247
+ * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
248
+ **/
249
+ maxLocks: u32 & AugmentedConst<ApiType>;
250
+ /**
251
+ * The maximum number of named reserves that can exist on an account.
252
+ *
253
+ * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
254
+ **/
255
+ maxReserves: u32 & AugmentedConst<ApiType>;
256
+ };
227
257
  priceIndex: {
228
258
  /**
229
259
  * The max price difference dropping below target or raising above target per tick. There's
@@ -279,36 +309,6 @@ declare module '@polkadot/api-base/types/consts' {
279
309
  **/
280
310
  proxyDepositFactor: u128 & AugmentedConst<ApiType>;
281
311
  };
282
- shareBalances: {
283
- /**
284
- * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
285
- *
286
- * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
287
- * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
288
- * In case you have multiple sources of provider references, you may also get unexpected
289
- * behaviour if you set this to zero.
290
- *
291
- * Bottom line: Do yourself a favour and make it at least one!
292
- **/
293
- existentialDeposit: u128 & AugmentedConst<ApiType>;
294
- /**
295
- * The maximum number of individual freeze locks that can exist on an account at any time.
296
- **/
297
- maxFreezes: u32 & AugmentedConst<ApiType>;
298
- /**
299
- * The maximum number of locks that should exist on an account.
300
- * Not strictly enforced, but used for weight estimation.
301
- *
302
- * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
303
- **/
304
- maxLocks: u32 & AugmentedConst<ApiType>;
305
- /**
306
- * The maximum number of named reserves that can exist on an account.
307
- *
308
- * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
309
- **/
310
- maxReserves: u32 & AugmentedConst<ApiType>;
311
- };
312
312
  system: {
313
313
  /**
314
314
  * Maximum number of block number to block hash mappings to keep (oldest pruned first).
@@ -384,6 +384,12 @@ declare module '@polkadot/api-base/types/consts' {
384
384
  **/
385
385
  maxNameLen: u32 & AugmentedConst<ApiType>;
386
386
  };
387
+ utility: {
388
+ /**
389
+ * The limit on the number of batched calls.
390
+ **/
391
+ batchedCallsLimit: u32 & AugmentedConst<ApiType>;
392
+ };
387
393
  vaults: {
388
394
  /**
389
395
  * Argon blocks per day
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
3
3
  export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
4
4
  declare module '@polkadot/api-base/types/errors' {
5
5
  interface AugmentedErrors<ApiType extends ApiTypes> {
6
- argonBalances: {
6
+ balances: {
7
7
  /**
8
8
  * Beneficiary account must pre-exist.
9
9
  **/
@@ -512,6 +512,56 @@ declare module '@polkadot/api-base/types/errors' {
512
512
  **/
513
513
  NotebookTickAlreadyUsed: AugmentedError<ApiType>;
514
514
  };
515
+ ownership: {
516
+ /**
517
+ * Beneficiary account must pre-exist.
518
+ **/
519
+ DeadAccount: AugmentedError<ApiType>;
520
+ /**
521
+ * The delta cannot be zero.
522
+ **/
523
+ DeltaZero: AugmentedError<ApiType>;
524
+ /**
525
+ * Value too low to create account due to existential deposit.
526
+ **/
527
+ ExistentialDeposit: AugmentedError<ApiType>;
528
+ /**
529
+ * A vesting schedule already exists for this account.
530
+ **/
531
+ ExistingVestingSchedule: AugmentedError<ApiType>;
532
+ /**
533
+ * Transfer/payment would kill account.
534
+ **/
535
+ Expendability: AugmentedError<ApiType>;
536
+ /**
537
+ * Balance too low to send value.
538
+ **/
539
+ InsufficientBalance: AugmentedError<ApiType>;
540
+ /**
541
+ * The issuance cannot be modified since it is already deactivated.
542
+ **/
543
+ IssuanceDeactivated: AugmentedError<ApiType>;
544
+ /**
545
+ * Account liquidity restrictions prevent withdrawal.
546
+ **/
547
+ LiquidityRestrictions: AugmentedError<ApiType>;
548
+ /**
549
+ * Number of freezes exceed `MaxFreezes`.
550
+ **/
551
+ TooManyFreezes: AugmentedError<ApiType>;
552
+ /**
553
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
554
+ **/
555
+ TooManyHolds: AugmentedError<ApiType>;
556
+ /**
557
+ * Number of named reserves exceed `MaxReserves`.
558
+ **/
559
+ TooManyReserves: AugmentedError<ApiType>;
560
+ /**
561
+ * Vesting balance too high to send value.
562
+ **/
563
+ VestingBalance: AugmentedError<ApiType>;
564
+ };
515
565
  priceIndex: {
516
566
  /**
517
567
  * Change in argon price is too large
@@ -586,56 +636,6 @@ declare module '@polkadot/api-base/types/errors' {
586
636
  **/
587
637
  NoKeys: AugmentedError<ApiType>;
588
638
  };
589
- shareBalances: {
590
- /**
591
- * Beneficiary account must pre-exist.
592
- **/
593
- DeadAccount: AugmentedError<ApiType>;
594
- /**
595
- * The delta cannot be zero.
596
- **/
597
- DeltaZero: AugmentedError<ApiType>;
598
- /**
599
- * Value too low to create account due to existential deposit.
600
- **/
601
- ExistentialDeposit: AugmentedError<ApiType>;
602
- /**
603
- * A vesting schedule already exists for this account.
604
- **/
605
- ExistingVestingSchedule: AugmentedError<ApiType>;
606
- /**
607
- * Transfer/payment would kill account.
608
- **/
609
- Expendability: AugmentedError<ApiType>;
610
- /**
611
- * Balance too low to send value.
612
- **/
613
- InsufficientBalance: AugmentedError<ApiType>;
614
- /**
615
- * The issuance cannot be modified since it is already deactivated.
616
- **/
617
- IssuanceDeactivated: AugmentedError<ApiType>;
618
- /**
619
- * Account liquidity restrictions prevent withdrawal.
620
- **/
621
- LiquidityRestrictions: AugmentedError<ApiType>;
622
- /**
623
- * Number of freezes exceed `MaxFreezes`.
624
- **/
625
- TooManyFreezes: AugmentedError<ApiType>;
626
- /**
627
- * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
628
- **/
629
- TooManyHolds: AugmentedError<ApiType>;
630
- /**
631
- * Number of named reserves exceed `MaxReserves`.
632
- **/
633
- TooManyReserves: AugmentedError<ApiType>;
634
- /**
635
- * Vesting balance too high to send value.
636
- **/
637
- VestingBalance: AugmentedError<ApiType>;
638
- };
639
639
  sudo: {
640
640
  /**
641
641
  * Sender must be the Sudo account.
@@ -700,6 +700,12 @@ declare module '@polkadot/api-base/types/errors' {
700
700
  **/
701
701
  Unpausable: AugmentedError<ApiType>;
702
702
  };
703
+ utility: {
704
+ /**
705
+ * Too many calls batched.
706
+ **/
707
+ TooManyCalls: AugmentedError<ApiType>;
708
+ };
703
709
  vaults: {
704
710
  /**
705
711
  * The proposed transaction would take the account below the minimum (existential) balance
@@ -7,7 +7,7 @@ import type { ArgonNodeRuntimeProxyType, ArgonNotaryAuditErrorVerifyError, Argon
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
10
- argonBalances: {
10
+ balances: {
11
11
  /**
12
12
  * A balance was set by root.
13
13
  **/
@@ -202,19 +202,19 @@ declare module '@polkadot/api-base/types/events' {
202
202
  maturationBlock: u32;
203
203
  rewards: Vec<ArgonPrimitivesBlockSealBlockPayout>;
204
204
  }>;
205
- RewardCreateError: AugmentedEvent<ApiType, [accountId: AccountId32, argons: Option<u128>, shares: Option<u128>, error: SpRuntimeDispatchError], {
205
+ RewardCreateError: AugmentedEvent<ApiType, [accountId: AccountId32, argons: Option<u128>, ownership: Option<u128>, error: SpRuntimeDispatchError], {
206
206
  accountId: AccountId32;
207
207
  argons: Option<u128>;
208
- shares: Option<u128>;
208
+ ownership: Option<u128>;
209
209
  error: SpRuntimeDispatchError;
210
210
  }>;
211
211
  RewardUnlocked: AugmentedEvent<ApiType, [rewards: Vec<ArgonPrimitivesBlockSealBlockPayout>], {
212
212
  rewards: Vec<ArgonPrimitivesBlockSealBlockPayout>;
213
213
  }>;
214
- RewardUnlockError: AugmentedEvent<ApiType, [accountId: AccountId32, argons: Option<u128>, shares: Option<u128>, error: SpRuntimeDispatchError], {
214
+ RewardUnlockError: AugmentedEvent<ApiType, [accountId: AccountId32, argons: Option<u128>, ownership: Option<u128>, error: SpRuntimeDispatchError], {
215
215
  accountId: AccountId32;
216
216
  argons: Option<u128>;
217
- shares: Option<u128>;
217
+ ownership: Option<u128>;
218
218
  error: SpRuntimeDispatchError;
219
219
  }>;
220
220
  };
@@ -552,69 +552,7 @@ declare module '@polkadot/api-base/types/events' {
552
552
  timeslot: Bytes;
553
553
  }>;
554
554
  };
555
- priceIndex: {
556
- /**
557
- * Event emitted when a new price index is submitted
558
- **/
559
- NewIndex: AugmentedEvent<ApiType, []>;
560
- OperatorChanged: AugmentedEvent<ApiType, [operatorId: AccountId32], {
561
- operatorId: AccountId32;
562
- }>;
563
- };
564
- proxy: {
565
- /**
566
- * An announcement was placed to make a call in the future.
567
- **/
568
- Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], {
569
- real: AccountId32;
570
- proxy: AccountId32;
571
- callHash: H256;
572
- }>;
573
- /**
574
- * A proxy was added.
575
- **/
576
- ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonNodeRuntimeProxyType, delay: u32], {
577
- delegator: AccountId32;
578
- delegatee: AccountId32;
579
- proxyType: ArgonNodeRuntimeProxyType;
580
- delay: u32;
581
- }>;
582
- /**
583
- * A proxy was executed correctly, with the given.
584
- **/
585
- ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
586
- result: Result<Null, SpRuntimeDispatchError>;
587
- }>;
588
- /**
589
- * A proxy was removed.
590
- **/
591
- ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonNodeRuntimeProxyType, delay: u32], {
592
- delegator: AccountId32;
593
- delegatee: AccountId32;
594
- proxyType: ArgonNodeRuntimeProxyType;
595
- delay: u32;
596
- }>;
597
- /**
598
- * A pure account has been created by new proxy with given
599
- * disambiguation index and proxy type.
600
- **/
601
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: ArgonNodeRuntimeProxyType, disambiguationIndex: u16], {
602
- pure: AccountId32;
603
- who: AccountId32;
604
- proxyType: ArgonNodeRuntimeProxyType;
605
- disambiguationIndex: u16;
606
- }>;
607
- };
608
- session: {
609
- /**
610
- * New session has happened. Note that the argument is the session index, not the
611
- * block number as the type might suggest.
612
- **/
613
- NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
614
- sessionIndex: u32;
615
- }>;
616
- };
617
- shareBalances: {
555
+ ownership: {
618
556
  /**
619
557
  * A balance was set by root.
620
558
  **/
@@ -772,6 +710,68 @@ declare module '@polkadot/api-base/types/events' {
772
710
  amount: u128;
773
711
  }>;
774
712
  };
713
+ priceIndex: {
714
+ /**
715
+ * Event emitted when a new price index is submitted
716
+ **/
717
+ NewIndex: AugmentedEvent<ApiType, []>;
718
+ OperatorChanged: AugmentedEvent<ApiType, [operatorId: AccountId32], {
719
+ operatorId: AccountId32;
720
+ }>;
721
+ };
722
+ proxy: {
723
+ /**
724
+ * An announcement was placed to make a call in the future.
725
+ **/
726
+ Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], {
727
+ real: AccountId32;
728
+ proxy: AccountId32;
729
+ callHash: H256;
730
+ }>;
731
+ /**
732
+ * A proxy was added.
733
+ **/
734
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonNodeRuntimeProxyType, delay: u32], {
735
+ delegator: AccountId32;
736
+ delegatee: AccountId32;
737
+ proxyType: ArgonNodeRuntimeProxyType;
738
+ delay: u32;
739
+ }>;
740
+ /**
741
+ * A proxy was executed correctly, with the given.
742
+ **/
743
+ ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
744
+ result: Result<Null, SpRuntimeDispatchError>;
745
+ }>;
746
+ /**
747
+ * A proxy was removed.
748
+ **/
749
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: ArgonNodeRuntimeProxyType, delay: u32], {
750
+ delegator: AccountId32;
751
+ delegatee: AccountId32;
752
+ proxyType: ArgonNodeRuntimeProxyType;
753
+ delay: u32;
754
+ }>;
755
+ /**
756
+ * A pure account has been created by new proxy with given
757
+ * disambiguation index and proxy type.
758
+ **/
759
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: ArgonNodeRuntimeProxyType, disambiguationIndex: u16], {
760
+ pure: AccountId32;
761
+ who: AccountId32;
762
+ proxyType: ArgonNodeRuntimeProxyType;
763
+ disambiguationIndex: u16;
764
+ }>;
765
+ };
766
+ session: {
767
+ /**
768
+ * New session has happened. Note that the argument is the session index, not the
769
+ * block number as the type might suggest.
770
+ **/
771
+ NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
772
+ sessionIndex: u32;
773
+ }>;
774
+ };
775
775
  sudo: {
776
776
  /**
777
777
  * The sudo key has been updated.
@@ -867,6 +867,40 @@ declare module '@polkadot/api-base/types/events' {
867
867
  fullName: ITuple<[Bytes, Bytes]>;
868
868
  }>;
869
869
  };
870
+ utility: {
871
+ /**
872
+ * Batch of dispatches completed fully with no error.
873
+ **/
874
+ BatchCompleted: AugmentedEvent<ApiType, []>;
875
+ /**
876
+ * Batch of dispatches completed but has errors.
877
+ **/
878
+ BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
879
+ /**
880
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
881
+ * well as the error.
882
+ **/
883
+ BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], {
884
+ index: u32;
885
+ error: SpRuntimeDispatchError;
886
+ }>;
887
+ /**
888
+ * A call was dispatched.
889
+ **/
890
+ DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
891
+ result: Result<Null, SpRuntimeDispatchError>;
892
+ }>;
893
+ /**
894
+ * A single item within a Batch of dispatches has completed with no error.
895
+ **/
896
+ ItemCompleted: AugmentedEvent<ApiType, []>;
897
+ /**
898
+ * A single item within a Batch of dispatches has completed with error.
899
+ **/
900
+ ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
901
+ error: SpRuntimeDispatchError;
902
+ }>;
903
+ };
870
904
  vaults: {
871
905
  VaultBitcoinXpubChange: AugmentedEvent<ApiType, [vaultId: u32], {
872
906
  vaultId: u32;
@@ -9,7 +9,13 @@ export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType,
9
9
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
10
10
  declare module '@polkadot/api-base/types/storage' {
11
11
  interface AugmentedQueries<ApiType extends ApiTypes> {
12
- argonBalances: {
12
+ authorship: {
13
+ /**
14
+ * Author of current block.
15
+ **/
16
+ author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
17
+ };
18
+ balances: {
13
19
  /**
14
20
  * The Balances pallet example of storing the balance of an account.
15
21
  *
@@ -67,12 +73,6 @@ declare module '@polkadot/api-base/types/storage' {
67
73
  **/
68
74
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
69
75
  };
70
- authorship: {
71
- /**
72
- * Author of current block.
73
- **/
74
- author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
75
- };
76
76
  bitcoinUtxos: {
77
77
  /**
78
78
  * The genesis set bitcoin network that this chain is tied to
@@ -377,64 +377,7 @@ declare module '@polkadot/api-base/types/storage' {
377
377
  **/
378
378
  reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]>;
379
379
  };
380
- priceIndex: {
381
- /**
382
- * Stores the active price index
383
- **/
384
- current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
385
- /**
386
- * The price index operator account
387
- **/
388
- operator: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
389
- };
390
- proxy: {
391
- /**
392
- * The announcements made by the proxy (key).
393
- **/
394
- announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]>;
395
- /**
396
- * The set of account proxies. Maps the account which has delegated to the accounts
397
- * which are being delegated to, together with the amount held on deposit.
398
- **/
399
- proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]>;
400
- };
401
- session: {
402
- /**
403
- * Current index of the session.
404
- **/
405
- currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
406
- /**
407
- * Indices of disabled validators.
408
- *
409
- * The vec is always kept sorted so that we can find whether a given validator is
410
- * disabled using binary search. It gets cleared when `on_session_ending` returns
411
- * a new set of identities.
412
- **/
413
- disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []>;
414
- /**
415
- * The owner of a key. The key is the `KeyTypeId` + the encoded key.
416
- **/
417
- keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
418
- /**
419
- * The next session keys for a validator.
420
- **/
421
- nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ArgonNodeRuntimeOpaqueSessionKeys>>, [AccountId32]>;
422
- /**
423
- * True if the underlying economic identities or weighting behind the validators
424
- * has changed in the queued validator set.
425
- **/
426
- queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []>;
427
- /**
428
- * The queued keys for the next session. When the next session begins, these keys
429
- * will be used to determine the validator's session keys.
430
- **/
431
- queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, ArgonNodeRuntimeOpaqueSessionKeys]>>>, []>;
432
- /**
433
- * The current set of validators.
434
- **/
435
- validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []>;
436
- };
437
- shareBalances: {
380
+ ownership: {
438
381
  /**
439
382
  * The Balances pallet example of storing the balance of an account.
440
383
  *
@@ -492,6 +435,63 @@ declare module '@polkadot/api-base/types/storage' {
492
435
  **/
493
436
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
494
437
  };
438
+ priceIndex: {
439
+ /**
440
+ * Stores the active price index
441
+ **/
442
+ current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
443
+ /**
444
+ * The price index operator account
445
+ **/
446
+ operator: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
447
+ };
448
+ proxy: {
449
+ /**
450
+ * The announcements made by the proxy (key).
451
+ **/
452
+ announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u128]>>, [AccountId32]>;
453
+ /**
454
+ * The set of account proxies. Maps the account which has delegated to the accounts
455
+ * which are being delegated to, together with the amount held on deposit.
456
+ **/
457
+ proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]>;
458
+ };
459
+ session: {
460
+ /**
461
+ * Current index of the session.
462
+ **/
463
+ currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
464
+ /**
465
+ * Indices of disabled validators.
466
+ *
467
+ * The vec is always kept sorted so that we can find whether a given validator is
468
+ * disabled using binary search. It gets cleared when `on_session_ending` returns
469
+ * a new set of identities.
470
+ **/
471
+ disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []>;
472
+ /**
473
+ * The owner of a key. The key is the `KeyTypeId` + the encoded key.
474
+ **/
475
+ keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;
476
+ /**
477
+ * The next session keys for a validator.
478
+ **/
479
+ nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ArgonNodeRuntimeOpaqueSessionKeys>>, [AccountId32]>;
480
+ /**
481
+ * True if the underlying economic identities or weighting behind the validators
482
+ * has changed in the queued validator set.
483
+ **/
484
+ queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []>;
485
+ /**
486
+ * The queued keys for the next session. When the next session begins, these keys
487
+ * will be used to determine the validator's session keys.
488
+ **/
489
+ queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, ArgonNodeRuntimeOpaqueSessionKeys]>>>, []>;
490
+ /**
491
+ * The current set of validators.
492
+ **/
493
+ validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []>;
494
+ };
495
495
  sudo: {
496
496
  /**
497
497
  * The `AccountId` of the sudo key.