@argonprotocol/mainchain 1.5.2-dev.87829152 → 1.5.2-dev.96d18bee

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 (38) hide show
  1. package/README.md +87 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +357 -16
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  11. package/browser/index.d.ts +6395 -675
  12. package/browser/index.js +4758 -987
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +357 -16
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  23. package/lib/index.cjs +4976 -1229
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +6395 -675
  26. package/lib/index.d.ts +6395 -675
  27. package/lib/index.js +4741 -994
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +101 -1
  31. package/src/interfaces/augment-api-errors.ts +285 -15
  32. package/src/interfaces/augment-api-events.ts +301 -55
  33. package/src/interfaces/augment-api-query.ts +457 -59
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +349 -126
  36. package/src/interfaces/lookup.ts +1059 -320
  37. package/src/interfaces/registry.ts +110 -10
  38. package/src/interfaces/types-lookup.ts +1191 -351
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
@@ -15,6 +14,7 @@ import type {
15
14
  Bytes,
16
15
  Compact,
17
16
  Option,
17
+ U256,
18
18
  U8aFixed,
19
19
  Vec,
20
20
  bool,
@@ -31,6 +31,7 @@ import type {
31
31
  H256,
32
32
  MultiAddress,
33
33
  Percent,
34
+ Permill,
34
35
  } from '@polkadot/types/interfaces/runtime';
35
36
  import type {
36
37
  ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
@@ -39,34 +40,42 @@ import type {
39
40
  ArgonPrimitivesBitcoinUtxoRef,
40
41
  ArgonPrimitivesDomainZoneRecord,
41
42
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
43
+ ArgonPrimitivesGatewaySourceChain,
42
44
  ArgonPrimitivesInherentsBitcoinUtxoSyncV2,
43
45
  ArgonPrimitivesInherentsBlockSealInherent,
44
46
  ArgonPrimitivesNotaryNotaryMeta,
45
47
  ArgonPrimitivesNotebookSignedNotebookHeader,
48
+ ArgonPrimitivesPriceIndex,
46
49
  ArgonPrimitivesVaultTreasuryBonusApprovalProof,
47
50
  ArgonPrimitivesVaultVaultTerms,
48
51
  ArgonRuntimeOriginCaller,
49
52
  ArgonRuntimeProxyType,
50
53
  ArgonRuntimeSessionKeys,
54
+ PalletAccountSecurityApproval,
55
+ PalletAccountSecurityAuthorization,
51
56
  PalletBalancesAdjustmentDirection,
57
+ PalletBitcoinLocksFeeCoupon,
52
58
  PalletBitcoinLocksLockOptions,
53
59
  PalletBootstrapEndpointPubkey,
54
60
  PalletBootstrapRecoveryProof,
55
61
  PalletBootstrapRecoveryPubkey,
56
62
  PalletCrosschainTransferAssetKind,
57
63
  PalletCrosschainTransferChainConfig,
64
+ PalletCrosschainTransferGatewayActivityStorageProof,
58
65
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
59
- PalletCrosschainTransferSourceChain,
60
66
  PalletEthereumVerifierBasicOperatingMode,
61
67
  PalletEthereumVerifierCheckpointUpdate,
62
68
  PalletEthereumVerifierExecutionHeaderProof,
69
+ PalletEthereumVerifierFork,
63
70
  PalletEthereumVerifierForkVersions,
64
71
  PalletEthereumVerifierUpdate,
65
72
  PalletMultisigTimepoint,
66
73
  PalletOperationalAccountsOperationalProgressPatch,
67
74
  PalletOperationalAccountsRegistration,
68
75
  PalletPriceIndexEthereumPriceIndex,
69
- PalletPriceIndexPriceIndex,
76
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
77
+ PalletStabilizerPoolsPoolConfig,
78
+ PalletStabilizerPoolsPositionProof,
70
79
  PalletTreasuryBondLotEarningsMetrics,
71
80
  PalletVaultsVaultConfig,
72
81
  SnowbridgeBeaconPrimitivesBeaconHeader,
@@ -82,6 +91,139 @@ export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> =
82
91
 
83
92
  declare module '@polkadot/api-base/types/submittable' {
84
93
  interface AugmentedSubmittables<ApiType extends ApiTypes> {
94
+ accountSecurity: {
95
+ /**
96
+ * Main plus either current authority can veto or withdraw the exact pending update.
97
+ **/
98
+ cancelPolicyUpdate: AugmentedSubmittable<
99
+ (
100
+ account: AccountId32 | string | Uint8Array,
101
+ updateNonce: u64 | AnyNumber | Uint8Array,
102
+ authorization:
103
+ | PalletAccountSecurityAuthorization
104
+ | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any }
105
+ | string
106
+ | Uint8Array,
107
+ approvals:
108
+ | Vec<PalletAccountSecurityApproval>
109
+ | (
110
+ | PalletAccountSecurityApproval
111
+ | { signer?: any; signature?: any; withMetadataHash?: any }
112
+ | string
113
+ | Uint8Array
114
+ )[],
115
+ ) => SubmittableExtrinsic<ApiType>,
116
+ [AccountId32, u64, PalletAccountSecurityAuthorization, Vec<PalletAccountSecurityApproval>]
117
+ >;
118
+ /**
119
+ * Complete an accepted policy replacement after its tick window. Anyone may pay the
120
+ * submission fee; all authority and new-key acceptance was captured at scheduling.
121
+ **/
122
+ completePolicyUpdate: AugmentedSubmittable<
123
+ (
124
+ account: AccountId32 | string | Uint8Array,
125
+ updateNonce: u64 | AnyNumber | Uint8Array,
126
+ ) => SubmittableExtrinsic<ApiType>,
127
+ [AccountId32, u64]
128
+ >;
129
+ /**
130
+ * Submit one full call/batch and its collected off-chain approvals. The main account
131
+ * signs the outer transaction or supplies its own proof when a relayer submits.
132
+ * Every execution consumes the group's approval nonce and therefore requires quorum,
133
+ * even when the child could also be submitted directly without approval.
134
+ **/
135
+ execute: AugmentedSubmittable<
136
+ (
137
+ account: AccountId32 | string | Uint8Array,
138
+ call: Call | IMethod | string | Uint8Array,
139
+ authorization:
140
+ | PalletAccountSecurityAuthorization
141
+ | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any }
142
+ | string
143
+ | Uint8Array,
144
+ approvals:
145
+ | Vec<PalletAccountSecurityApproval>
146
+ | (
147
+ | PalletAccountSecurityApproval
148
+ | { signer?: any; signature?: any; withMetadataHash?: any }
149
+ | string
150
+ | Uint8Array
151
+ )[],
152
+ ) => SubmittableExtrinsic<ApiType>,
153
+ [AccountId32, Call, PalletAccountSecurityAuthorization, Vec<PalletAccountSecurityApproval>]
154
+ >;
155
+ /**
156
+ * Enroll the approval policy and backup atomically; every initial authority must accept.
157
+ * Policy fields stay flat so hardware wallets can label the choices being approved.
158
+ **/
159
+ register: AugmentedSubmittable<
160
+ (
161
+ account: AccountId32 | string | Uint8Array,
162
+ signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
163
+ quorum: u16 | AnyNumber | Uint8Array,
164
+ recoveryAccount: AccountId32 | string | Uint8Array,
165
+ recoveryDelay: u64 | AnyNumber | Uint8Array,
166
+ authorization:
167
+ | PalletAccountSecurityAuthorization
168
+ | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any }
169
+ | string
170
+ | Uint8Array,
171
+ approvals:
172
+ | Vec<PalletAccountSecurityApproval>
173
+ | (
174
+ | PalletAccountSecurityApproval
175
+ | { signer?: any; signature?: any; withMetadataHash?: any }
176
+ | string
177
+ | Uint8Array
178
+ )[],
179
+ ) => SubmittableExtrinsic<ApiType>,
180
+ [
181
+ AccountId32,
182
+ Vec<AccountId32>,
183
+ u16,
184
+ AccountId32,
185
+ u64,
186
+ PalletAccountSecurityAuthorization,
187
+ Vec<PalletAccountSecurityApproval>,
188
+ ]
189
+ >;
190
+ /**
191
+ * Normal signer changes use the current quorum immediately. Recovery uses the backup
192
+ * after the current tick delay; replacing the backup or delay uses the current quorum
193
+ * after that same delay. Main consent and new authorities' acceptance are always required.
194
+ **/
195
+ updatePolicy: AugmentedSubmittable<
196
+ (
197
+ account: AccountId32 | string | Uint8Array,
198
+ signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
199
+ quorum: u16 | AnyNumber | Uint8Array,
200
+ recoveryAccount: AccountId32 | string | Uint8Array,
201
+ recoveryDelay: u64 | AnyNumber | Uint8Array,
202
+ authorization:
203
+ | PalletAccountSecurityAuthorization
204
+ | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any }
205
+ | string
206
+ | Uint8Array,
207
+ approvals:
208
+ | Vec<PalletAccountSecurityApproval>
209
+ | (
210
+ | PalletAccountSecurityApproval
211
+ | { signer?: any; signature?: any; withMetadataHash?: any }
212
+ | string
213
+ | Uint8Array
214
+ )[],
215
+ ) => SubmittableExtrinsic<ApiType>,
216
+ [
217
+ AccountId32,
218
+ Vec<AccountId32>,
219
+ u16,
220
+ AccountId32,
221
+ u64,
222
+ PalletAccountSecurityAuthorization,
223
+ Vec<PalletAccountSecurityApproval>,
224
+ ]
225
+ >;
226
+ };
85
227
  balances: {
86
228
  /**
87
229
  * Burn the specified liquid free balance from the origin account.
@@ -300,8 +442,28 @@ declare module '@polkadot/api-base/types/submittable' {
300
442
  lockId: Compact<u64> | AnyNumber | Uint8Array,
301
443
  satoshis: Compact<u64> | AnyNumber | Uint8Array,
302
444
  microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
445
+ feeCoupon:
446
+ | Option<PalletBitcoinLocksFeeCoupon>
447
+ | null
448
+ | Uint8Array
449
+ | PalletBitcoinLocksFeeCoupon
450
+ | {
451
+ feeDiscount?: any;
452
+ securitizationSpaceToUnreserve?: any;
453
+ expiresAtFrame?: any;
454
+ nonce?: any;
455
+ signature?: any;
456
+ }
457
+ | string,
303
458
  ) => SubmittableExtrinsic<ApiType>,
304
- [Compact<u64>, Compact<u64>, Compact<u64>, Compact<u64>, Compact<u128>]
459
+ [
460
+ Compact<u64>,
461
+ Compact<u64>,
462
+ Compact<u64>,
463
+ Compact<u64>,
464
+ Compact<u128>,
465
+ Option<PalletBitcoinLocksFeeCoupon>,
466
+ ]
305
467
  >;
306
468
  /**
307
469
  * Ratchet an active Fission to a replacement target-normalized BTC value.
@@ -310,8 +472,21 @@ declare module '@polkadot/api-base/types/submittable' {
310
472
  (
311
473
  fissionId: Compact<u64> | AnyNumber | Uint8Array,
312
474
  microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
475
+ feeCoupon:
476
+ | Option<PalletBitcoinLocksFeeCoupon>
477
+ | null
478
+ | Uint8Array
479
+ | PalletBitcoinLocksFeeCoupon
480
+ | {
481
+ feeDiscount?: any;
482
+ securitizationSpaceToUnreserve?: any;
483
+ expiresAtFrame?: any;
484
+ nonce?: any;
485
+ signature?: any;
486
+ }
487
+ | string,
313
488
  ) => SubmittableExtrinsic<ApiType>,
314
- [Compact<u64>, Compact<u128>]
489
+ [Compact<u64>, Compact<u128>, Option<PalletBitcoinLocksFeeCoupon>]
315
490
  >;
316
491
  };
317
492
  bitcoinLocks: {
@@ -410,10 +585,17 @@ declare module '@polkadot/api-base/types/submittable' {
410
585
  ) => SubmittableExtrinsic<ApiType>,
411
586
  [u64, Bytes, u64, u64]
412
587
  >;
588
+ setFlexible: AugmentedSubmittable<
589
+ (
590
+ lockId: u64 | AnyNumber | Uint8Array,
591
+ isFlexible: bool | boolean | Uint8Array,
592
+ ) => SubmittableExtrinsic<ApiType>,
593
+ [u64, bool]
594
+ >;
413
595
  /**
414
- * Replace this Lock's BTC coverage and target value for its remaining term.
596
+ * Replace the Lock's guarantee, leaving active Fission guarantees unchanged.
415
597
  **/
416
- resecuritize: AugmentedSubmittable<
598
+ setGuarantee: AugmentedSubmittable<
417
599
  (
418
600
  lockId: u64 | AnyNumber | Uint8Array,
419
601
  satoshis: Compact<u64> | AnyNumber | Uint8Array,
@@ -427,13 +609,6 @@ declare module '@polkadot/api-base/types/submittable' {
427
609
  ) => SubmittableExtrinsic<ApiType>,
428
610
  [u64, Compact<u64>, Option<PalletBitcoinLocksLockOptions>]
429
611
  >;
430
- setFlexible: AugmentedSubmittable<
431
- (
432
- lockId: u64 | AnyNumber | Uint8Array,
433
- isFlexible: bool | boolean | Uint8Array,
434
- ) => SubmittableExtrinsic<ApiType>,
435
- [u64, bool]
436
- >;
437
612
  };
438
613
  bitcoinUtxos: {
439
614
  /**
@@ -538,10 +713,10 @@ declare module '@polkadot/api-base/types/submittable' {
538
713
  crosschainTransfer: {
539
714
  approveQueueEntries: AugmentedSubmittable<
540
715
  (
541
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
716
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
542
717
  signatures: Vec<U8aFixed>,
543
718
  ) => SubmittableExtrinsic<ApiType>,
544
- [PalletCrosschainTransferSourceChain, Vec<U8aFixed>]
719
+ [ArgonPrimitivesGatewaySourceChain, Vec<U8aFixed>]
545
720
  >;
546
721
  collateralizeTransfer: AugmentedSubmittable<
547
722
  (
@@ -558,21 +733,21 @@ declare module '@polkadot/api-base/types/submittable' {
558
733
  >;
559
734
  forceSetGlobalIssuanceCouncil: AugmentedSubmittable<
560
735
  (
561
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
736
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
562
737
  afterNonce: Compact<u64> | AnyNumber | Uint8Array,
563
738
  memberAccountIds: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
564
739
  ) => SubmittableExtrinsic<ApiType>,
565
- [PalletCrosschainTransferSourceChain, Compact<u64>, Vec<AccountId32>]
740
+ [ArgonPrimitivesGatewaySourceChain, Compact<u64>, Vec<AccountId32>]
566
741
  >;
567
742
  pauseGateway: AugmentedSubmittable<
568
743
  (
569
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
744
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
570
745
  ) => SubmittableExtrinsic<ApiType>,
571
- [PalletCrosschainTransferSourceChain]
746
+ [ArgonPrimitivesGatewaySourceChain]
572
747
  >;
573
748
  proveGatewayActivity: AugmentedSubmittable<
574
749
  (
575
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
750
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
576
751
  previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
577
752
  proofBatch:
578
753
  | ArgonPrimitivesEthereumEthereumReceiptLogProofBatch
@@ -581,46 +756,67 @@ declare module '@polkadot/api-base/types/submittable' {
581
756
  | Uint8Array,
582
757
  ) => SubmittableExtrinsic<ApiType>,
583
758
  [
584
- PalletCrosschainTransferSourceChain,
759
+ ArgonPrimitivesGatewaySourceChain,
585
760
  Compact<u64>,
586
761
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
587
762
  ]
588
763
  >;
764
+ /**
765
+ * Authenticate a complete gateway locator and settle its unconsumed activities.
766
+ * Including the gateway's current nonce also records the proven block time once all
767
+ * activity through that nonce has been applied.
768
+ **/
769
+ proveGatewayActivityStorage: AugmentedSubmittable<
770
+ (
771
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
772
+ previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
773
+ proof:
774
+ | PalletCrosschainTransferGatewayActivityStorageProof
775
+ | { locatorIndex?: any; activityRootSeed?: any; storageProof?: any; activityLogs?: any }
776
+ | string
777
+ | Uint8Array,
778
+ ) => SubmittableExtrinsic<ApiType>,
779
+ [
780
+ ArgonPrimitivesGatewaySourceChain,
781
+ Compact<u64>,
782
+ PalletCrosschainTransferGatewayActivityStorageProof,
783
+ ]
784
+ >;
589
785
  registerCouncilSigner: AugmentedSubmittable<
590
786
  (
591
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
787
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
592
788
  signingKey: H160 | string | Uint8Array,
593
789
  signature: U8aFixed | string | Uint8Array,
594
790
  ) => SubmittableExtrinsic<ApiType>,
595
- [PalletCrosschainTransferSourceChain, H160, U8aFixed]
791
+ [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed]
596
792
  >;
597
793
  registerMintingAuthority: AugmentedSubmittable<
598
794
  (
599
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
795
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
600
796
  destinationSigningKey: H160 | string | Uint8Array,
601
797
  signature: U8aFixed | string | Uint8Array,
602
798
  microgonCollateral: Compact<u128> | AnyNumber | Uint8Array,
603
799
  micronotCollateral: Compact<u128> | AnyNumber | Uint8Array,
604
800
  ) => SubmittableExtrinsic<ApiType>,
605
- [PalletCrosschainTransferSourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]
801
+ [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]
606
802
  >;
607
803
  setChainConfig: AugmentedSubmittable<
608
804
  (
609
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
805
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
610
806
  config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array,
611
807
  ) => SubmittableExtrinsic<ApiType>,
612
- [PalletCrosschainTransferSourceChain, PalletCrosschainTransferChainConfig]
808
+ [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferChainConfig]
613
809
  >;
614
810
  setMinimumMintingAuthorityValue: AugmentedSubmittable<
615
811
  (
616
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
812
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
617
813
  minimumValue: Compact<u128> | AnyNumber | Uint8Array,
618
814
  ) => SubmittableExtrinsic<ApiType>,
619
- [PalletCrosschainTransferSourceChain, Compact<u128>]
815
+ [ArgonPrimitivesGatewaySourceChain, Compact<u128>]
620
816
  >;
621
817
  setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<
622
818
  (
623
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
819
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
624
820
  pricing:
625
821
  | PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing
626
822
  | {
@@ -633,29 +829,24 @@ declare module '@polkadot/api-base/types/submittable' {
633
829
  | Uint8Array,
634
830
  ) => SubmittableExtrinsic<ApiType>,
635
831
  [
636
- PalletCrosschainTransferSourceChain,
832
+ ArgonPrimitivesGatewaySourceChain,
637
833
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
638
834
  ]
639
835
  >;
640
836
  transferOut: AugmentedSubmittable<
641
837
  (
642
- destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
838
+ destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
643
839
  asset: PalletCrosschainTransferAssetKind | 'Argon' | 'Argonot' | number | Uint8Array,
644
840
  destinationAccount: H160 | string | Uint8Array,
645
841
  amount: Compact<u128> | AnyNumber | Uint8Array,
646
842
  ) => SubmittableExtrinsic<ApiType>,
647
- [
648
- PalletCrosschainTransferSourceChain,
649
- PalletCrosschainTransferAssetKind,
650
- H160,
651
- Compact<u128>,
652
- ]
843
+ [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferAssetKind, H160, Compact<u128>]
653
844
  >;
654
845
  unpauseGateway: AugmentedSubmittable<
655
846
  (
656
- sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
847
+ sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array,
657
848
  ) => SubmittableExtrinsic<ApiType>,
658
- [PalletCrosschainTransferSourceChain]
849
+ [ArgonPrimitivesGatewaySourceChain]
659
850
  >;
660
851
  };
661
852
  domains: {
@@ -699,6 +890,7 @@ declare module '@polkadot/api-base/types/submittable' {
699
890
  deneb?: any;
700
891
  electra?: any;
701
892
  fulu?: any;
893
+ gloas?: any;
702
894
  }
703
895
  | string
704
896
  | Uint8Array,
@@ -721,6 +913,16 @@ declare module '@polkadot/api-base/types/submittable' {
721
913
  ) => SubmittableExtrinsic<ApiType>,
722
914
  [H256, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof]
723
915
  >;
916
+ /**
917
+ * Configure the implemented Gloas fork before the verifier finalizes its activation.
918
+ * Earlier forks and retained consensus state are preserved. May only be called by root.
919
+ **/
920
+ setGloasFork: AugmentedSubmittable<
921
+ (
922
+ fork: PalletEthereumVerifierFork | { version?: any; epoch?: any } | string | Uint8Array,
923
+ ) => SubmittableExtrinsic<ApiType>,
924
+ [PalletEthereumVerifierFork]
925
+ >;
724
926
  /**
725
927
  * Halt or resume all pallet operations. May only be called by root.
726
928
  **/
@@ -832,28 +1034,11 @@ declare module '@polkadot/api-base/types/submittable' {
832
1034
  };
833
1035
  miningSlot: {
834
1036
  /**
835
- * Submit a bid for a mining slot in the next cohort. Once all spots are filled in the next
836
- * cohort, a bidder can be supplanted by supplying a higher bid.
837
- *
838
- * Each slot has `MaxCohortSize` spots available.
839
- *
840
- * To be eligible for a slot, you must have the required ownership tokens (argonots) in
841
- * this account. The required amount is calculated as a percentage of the total ownership
842
- * tokens in the network. This percentage is adjusted before the beginning of each slot.
843
- *
844
- * If your bid is no longer winning, a `SlotBidderDropped` event will be emitted. By
845
- * monitoring for this event, you will be able to ensure your bid is accepted.
846
- *
847
- * NOTE: bidding for each slot will be closed at a random block within
848
- * `mining_config.ticks_before_bid_end_for_vrf_close` blocks of the slot end time.
849
- *
850
- * The slot duration can be calculated as `BlocksBetweenSlots * MaxMiners / MaxCohortSize`.
851
- *
852
- * Parameters:
853
- * - `bid`: The amount of argons to bid
854
- * - `keys`: The session "hot" keys for the slot (BlockSealAuthorityId and GrandpaId).
855
- * - `mining_account_id`: This account_id allows you to operate as this miner account id,
856
- * but use funding (argonots and bid) from the submitting account
1037
+ * Submit a funded public bid, optionally committing to a hidden maximum.
1038
+ * Every bid competes at its public amount even if no maximum is revealed.
1039
+ * Live auctions clear openings at the end of their inclusion block.
1040
+ * An omitted target frame selects the current auction at dispatch time.
1041
+ * Standing winners can commit a new maximum without clearing the new-bid entry threshold.
857
1042
  **/
858
1043
  bid: AugmentedSubmittable<
859
1044
  (
@@ -864,8 +1049,26 @@ declare module '@polkadot/api-base/types/submittable' {
864
1049
  | string
865
1050
  | Uint8Array,
866
1051
  miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
1052
+ targetFrameId: Option<u64> | null | Uint8Array | u64 | AnyNumber,
1053
+ maxHash: Option<U8aFixed> | null | Uint8Array | U8aFixed | string,
1054
+ ) => SubmittableExtrinsic<ApiType>,
1055
+ [u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]
1056
+ >;
1057
+ /**
1058
+ * With a salt, disclose a committed maximum in the five blocks following submission.
1059
+ * Live auctions clear disclosures together at the end of their inclusion block.
1060
+ * Without a salt, immediately update a settled winner's maximum while bidding is open.
1061
+ * Updates cannot overlap pending bids or reduce the maximum below the current paid bid.
1062
+ * Both modes must explicitly target the current auction frame.
1063
+ **/
1064
+ bidMax: AugmentedSubmittable<
1065
+ (
1066
+ max: u128 | AnyNumber | Uint8Array,
1067
+ salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string,
1068
+ miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
1069
+ targetFrameId: u64 | AnyNumber | Uint8Array,
867
1070
  ) => SubmittableExtrinsic<ApiType>,
868
- [u128, ArgonRuntimeSessionKeys, Option<AccountId32>]
1071
+ [u128, Option<U8aFixed>, Option<AccountId32>, u64]
869
1072
  >;
870
1073
  /**
871
1074
  * Admin function to update the mining slot delay.
@@ -1412,7 +1615,7 @@ declare module '@polkadot/api-base/types/submittable' {
1412
1615
  submit: AugmentedSubmittable<
1413
1616
  (
1414
1617
  index:
1415
- | PalletPriceIndexPriceIndex
1618
+ | ArgonPrimitivesPriceIndex
1416
1619
  | {
1417
1620
  btcUsdPrice?: any;
1418
1621
  argonotUsdPrice?: any;
@@ -1420,6 +1623,8 @@ declare module '@polkadot/api-base/types/submittable' {
1420
1623
  argonUsdTargetPrice?: any;
1421
1624
  argonTimeWeightedAverageLiquidity?: any;
1422
1625
  tick?: any;
1626
+ usdcUsdPrice?: any;
1627
+ stabilizerPoolSqrtPriceX96?: any;
1423
1628
  }
1424
1629
  | string
1425
1630
  | Uint8Array,
@@ -1431,7 +1636,7 @@ declare module '@polkadot/api-base/types/submittable' {
1431
1636
  | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any }
1432
1637
  | string,
1433
1638
  ) => SubmittableExtrinsic<ApiType>,
1434
- [PalletPriceIndexPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1639
+ [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1435
1640
  >;
1436
1641
  };
1437
1642
  proxy: {
@@ -1457,18 +1662,7 @@ declare module '@polkadot/api-base/types/submittable' {
1457
1662
  | { Address20: any }
1458
1663
  | string
1459
1664
  | Uint8Array,
1460
- proxyType:
1461
- | ArgonRuntimeProxyType
1462
- | 'Any'
1463
- | 'NonTransfer'
1464
- | 'PriceIndex'
1465
- | 'MiningBid'
1466
- | 'MiningBidRealPaysFee'
1467
- | 'Bitcoin'
1468
- | 'VaultAdmin'
1469
- | 'VaultDelegate'
1470
- | number
1471
- | Uint8Array,
1665
+ proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array,
1472
1666
  delay: u32 | AnyNumber | Uint8Array,
1473
1667
  ) => SubmittableExtrinsic<ApiType>,
1474
1668
  [MultiAddress, ArgonRuntimeProxyType, u32]
@@ -1527,18 +1721,7 @@ declare module '@polkadot/api-base/types/submittable' {
1527
1721
  **/
1528
1722
  createPure: AugmentedSubmittable<
1529
1723
  (
1530
- proxyType:
1531
- | ArgonRuntimeProxyType
1532
- | 'Any'
1533
- | 'NonTransfer'
1534
- | 'PriceIndex'
1535
- | 'MiningBid'
1536
- | 'MiningBidRealPaysFee'
1537
- | 'Bitcoin'
1538
- | 'VaultAdmin'
1539
- | 'VaultDelegate'
1540
- | number
1541
- | Uint8Array,
1724
+ proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array,
1542
1725
  delay: u32 | AnyNumber | Uint8Array,
1543
1726
  index: u16 | AnyNumber | Uint8Array,
1544
1727
  ) => SubmittableExtrinsic<ApiType>,
@@ -1573,18 +1756,7 @@ declare module '@polkadot/api-base/types/submittable' {
1573
1756
  | { Address20: any }
1574
1757
  | string
1575
1758
  | Uint8Array,
1576
- proxyType:
1577
- | ArgonRuntimeProxyType
1578
- | 'Any'
1579
- | 'NonTransfer'
1580
- | 'PriceIndex'
1581
- | 'MiningBid'
1582
- | 'MiningBidRealPaysFee'
1583
- | 'Bitcoin'
1584
- | 'VaultAdmin'
1585
- | 'VaultDelegate'
1586
- | number
1587
- | Uint8Array,
1759
+ proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array,
1588
1760
  index: u16 | AnyNumber | Uint8Array,
1589
1761
  height: Compact<u32> | AnyNumber | Uint8Array,
1590
1762
  extIndex: Compact<u32> | AnyNumber | Uint8Array,
@@ -1630,13 +1802,7 @@ declare module '@polkadot/api-base/types/submittable' {
1630
1802
  | Uint8Array
1631
1803
  | ArgonRuntimeProxyType
1632
1804
  | 'Any'
1633
- | 'NonTransfer'
1634
- | 'PriceIndex'
1635
- | 'MiningBid'
1636
1805
  | 'MiningBidRealPaysFee'
1637
- | 'Bitcoin'
1638
- | 'VaultAdmin'
1639
- | 'VaultDelegate'
1640
1806
  | number,
1641
1807
  call: Call | IMethod | string | Uint8Array,
1642
1808
  ) => SubmittableExtrinsic<ApiType>,
@@ -1681,13 +1847,7 @@ declare module '@polkadot/api-base/types/submittable' {
1681
1847
  | Uint8Array
1682
1848
  | ArgonRuntimeProxyType
1683
1849
  | 'Any'
1684
- | 'NonTransfer'
1685
- | 'PriceIndex'
1686
- | 'MiningBid'
1687
1850
  | 'MiningBidRealPaysFee'
1688
- | 'Bitcoin'
1689
- | 'VaultAdmin'
1690
- | 'VaultDelegate'
1691
1851
  | number,
1692
1852
  call: Call | IMethod | string | Uint8Array,
1693
1853
  ) => SubmittableExtrinsic<ApiType>,
@@ -1776,23 +1936,86 @@ declare module '@polkadot/api-base/types/submittable' {
1776
1936
  | { Address20: any }
1777
1937
  | string
1778
1938
  | Uint8Array,
1779
- proxyType:
1780
- | ArgonRuntimeProxyType
1781
- | 'Any'
1782
- | 'NonTransfer'
1783
- | 'PriceIndex'
1784
- | 'MiningBid'
1785
- | 'MiningBidRealPaysFee'
1786
- | 'Bitcoin'
1787
- | 'VaultAdmin'
1788
- | 'VaultDelegate'
1789
- | number
1790
- | Uint8Array,
1939
+ proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array,
1791
1940
  delay: u32 | AnyNumber | Uint8Array,
1792
1941
  ) => SubmittableExtrinsic<ApiType>,
1793
1942
  [MultiAddress, ArgonRuntimeProxyType, u32]
1794
1943
  >;
1795
1944
  };
1945
+ stabilizerBuys: {
1946
+ /**
1947
+ * Submit a whole-percent bid during F+1. Larger matching bases break equal-rate ties;
1948
+ * account ID orders bids with the same rate and matching basis.
1949
+ **/
1950
+ bid: AugmentedSubmittable<
1951
+ (
1952
+ admissionFrame: u64 | AnyNumber | Uint8Array,
1953
+ rewardRate: Percent | AnyNumber | Uint8Array,
1954
+ ) => SubmittableExtrinsic<ApiType>,
1955
+ [u64, Percent]
1956
+ >;
1957
+ /**
1958
+ * Select the reward pool, or disable new purchase eligibility.
1959
+ **/
1960
+ setApprovedPool: AugmentedSubmittable<
1961
+ (
1962
+ pool:
1963
+ | Option<PalletStabilizerBuysUniswapPurchasePurchasePool>
1964
+ | null
1965
+ | Uint8Array
1966
+ | PalletStabilizerBuysUniswapPurchasePurchasePool
1967
+ | {
1968
+ chainId?: any;
1969
+ poolManager?: any;
1970
+ poolId?: any;
1971
+ usdcToken?: any;
1972
+ argonIsToken0?: any;
1973
+ }
1974
+ | string,
1975
+ ) => SubmittableExtrinsic<ApiType>,
1976
+ [Option<PalletStabilizerBuysUniswapPurchasePurchasePool>]
1977
+ >;
1978
+ /**
1979
+ * Change matching for newly created auctions; existing policy remains frozen.
1980
+ **/
1981
+ setMatchingRate: AugmentedSubmittable<
1982
+ (rate: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
1983
+ [Permill]
1984
+ >;
1985
+ };
1986
+ stabilizerPools: {
1987
+ /**
1988
+ * Register a baseline, extend a maintained revision, or reset after an unproven change.
1989
+ **/
1990
+ checkpointPosition: AugmentedSubmittable<
1991
+ (
1992
+ poolManager: H160 | string | Uint8Array,
1993
+ poolId: H256 | string | Uint8Array,
1994
+ tokenId: U256 | AnyNumber | Uint8Array,
1995
+ proof:
1996
+ | PalletStabilizerPoolsPositionProof
1997
+ | { subscriber?: any; positionManager?: any; poolManager?: any }
1998
+ | string
1999
+ | Uint8Array,
2000
+ ) => SubmittableExtrinsic<ApiType>,
2001
+ [H160, H256, U256, PalletStabilizerPoolsPositionProof]
2002
+ >;
2003
+ /**
2004
+ * Approve immutable deployment bindings and the canonical pool key.
2005
+ * Root must verify the pinned implementations and their immutable bindings first.
2006
+ **/
2007
+ registerPool: AugmentedSubmittable<
2008
+ (
2009
+ poolManager: H160 | string | Uint8Array,
2010
+ config:
2011
+ | PalletStabilizerPoolsPoolConfig
2012
+ | { positionManager?: any; subscriber?: any; key?: any }
2013
+ | string
2014
+ | Uint8Array,
2015
+ ) => SubmittableExtrinsic<ApiType>,
2016
+ [H160, PalletStabilizerPoolsPoolConfig]
2017
+ >;
2018
+ };
1796
2019
  sudo: {
1797
2020
  /**
1798
2021
  * Permanently removes the sudo key.