@argonprotocol/mainchain 1.5.2-dev.f0f0a03a → 1.5.2-dev.f931ed2c
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/README.md +87 -0
- package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/browser/index.d.ts +5225 -606
- package/browser/index.js +4853 -1347
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
- package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +699 -0
- package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
- package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
- package/lib/index.cjs +4431 -950
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +5225 -606
- package/lib/index.d.ts +5225 -606
- package/lib/index.js +4455 -974
- package/lib/index.js.map +1 -1
- package/package.json +8 -7
- package/src/interfaces/augment-api-consts.ts +70 -1
- package/src/interfaces/augment-api-errors.ts +148 -10
- package/src/interfaces/augment-api-events.ts +141 -28
- package/src/interfaces/augment-api-query.ts +254 -13
- package/src/interfaces/augment-api-rpc.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +182 -49
- package/src/interfaces/lookup.ts +765 -308
- package/src/interfaces/registry.ts +70 -6
- package/src/interfaces/types-lookup.ts +834 -328
|
@@ -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,
|
|
@@ -43,30 +44,36 @@ import type {
|
|
|
43
44
|
ArgonPrimitivesInherentsBlockSealInherent,
|
|
44
45
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
45
46
|
ArgonPrimitivesNotebookSignedNotebookHeader,
|
|
47
|
+
ArgonPrimitivesPriceIndex,
|
|
46
48
|
ArgonPrimitivesVaultTreasuryBonusApprovalProof,
|
|
47
49
|
ArgonPrimitivesVaultVaultTerms,
|
|
48
50
|
ArgonRuntimeOriginCaller,
|
|
49
51
|
ArgonRuntimeProxyType,
|
|
50
52
|
ArgonRuntimeSessionKeys,
|
|
51
53
|
PalletBalancesAdjustmentDirection,
|
|
54
|
+
PalletBitcoinLocksFeeCoupon,
|
|
52
55
|
PalletBitcoinLocksLockOptions,
|
|
53
56
|
PalletBootstrapEndpointPubkey,
|
|
54
57
|
PalletBootstrapRecoveryProof,
|
|
55
58
|
PalletBootstrapRecoveryPubkey,
|
|
56
59
|
PalletCrosschainTransferAssetKind,
|
|
57
60
|
PalletCrosschainTransferChainConfig,
|
|
61
|
+
PalletCrosschainTransferGatewayActivityStorageProof,
|
|
58
62
|
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
59
63
|
PalletCrosschainTransferSourceChain,
|
|
60
64
|
PalletEthereumVerifierBasicOperatingMode,
|
|
61
65
|
PalletEthereumVerifierCheckpointUpdate,
|
|
62
66
|
PalletEthereumVerifierExecutionHeaderProof,
|
|
67
|
+
PalletEthereumVerifierFork,
|
|
63
68
|
PalletEthereumVerifierForkVersions,
|
|
64
69
|
PalletEthereumVerifierUpdate,
|
|
65
70
|
PalletMultisigTimepoint,
|
|
66
71
|
PalletOperationalAccountsOperationalProgressPatch,
|
|
67
72
|
PalletOperationalAccountsRegistration,
|
|
68
73
|
PalletPriceIndexEthereumPriceIndex,
|
|
69
|
-
|
|
74
|
+
PalletStabilizerBuysUniswapPurchasePurchasePool,
|
|
75
|
+
PalletStabilizerPoolsPoolConfig,
|
|
76
|
+
PalletStabilizerPoolsPositionProof,
|
|
70
77
|
PalletTreasuryBondLotEarningsMetrics,
|
|
71
78
|
PalletVaultsVaultConfig,
|
|
72
79
|
SnowbridgeBeaconPrimitivesBeaconHeader,
|
|
@@ -300,8 +307,28 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
300
307
|
lockId: Compact<u64> | AnyNumber | Uint8Array,
|
|
301
308
|
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
302
309
|
microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
|
|
310
|
+
feeCoupon:
|
|
311
|
+
| Option<PalletBitcoinLocksFeeCoupon>
|
|
312
|
+
| null
|
|
313
|
+
| Uint8Array
|
|
314
|
+
| PalletBitcoinLocksFeeCoupon
|
|
315
|
+
| {
|
|
316
|
+
feeDiscount?: any;
|
|
317
|
+
securitizationSpaceToUnreserve?: any;
|
|
318
|
+
expiresAtFrame?: any;
|
|
319
|
+
nonce?: any;
|
|
320
|
+
signature?: any;
|
|
321
|
+
}
|
|
322
|
+
| string,
|
|
303
323
|
) => SubmittableExtrinsic<ApiType>,
|
|
304
|
-
[
|
|
324
|
+
[
|
|
325
|
+
Compact<u64>,
|
|
326
|
+
Compact<u64>,
|
|
327
|
+
Compact<u64>,
|
|
328
|
+
Compact<u64>,
|
|
329
|
+
Compact<u128>,
|
|
330
|
+
Option<PalletBitcoinLocksFeeCoupon>,
|
|
331
|
+
]
|
|
305
332
|
>;
|
|
306
333
|
/**
|
|
307
334
|
* Ratchet an active Fission to a replacement target-normalized BTC value.
|
|
@@ -310,8 +337,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
310
337
|
(
|
|
311
338
|
fissionId: Compact<u64> | AnyNumber | Uint8Array,
|
|
312
339
|
microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
|
|
340
|
+
feeCoupon:
|
|
341
|
+
| Option<PalletBitcoinLocksFeeCoupon>
|
|
342
|
+
| null
|
|
343
|
+
| Uint8Array
|
|
344
|
+
| PalletBitcoinLocksFeeCoupon
|
|
345
|
+
| {
|
|
346
|
+
feeDiscount?: any;
|
|
347
|
+
securitizationSpaceToUnreserve?: any;
|
|
348
|
+
expiresAtFrame?: any;
|
|
349
|
+
nonce?: any;
|
|
350
|
+
signature?: any;
|
|
351
|
+
}
|
|
352
|
+
| string,
|
|
313
353
|
) => SubmittableExtrinsic<ApiType>,
|
|
314
|
-
[Compact<u64>, Compact<u128>]
|
|
354
|
+
[Compact<u64>, Compact<u128>, Option<PalletBitcoinLocksFeeCoupon>]
|
|
315
355
|
>;
|
|
316
356
|
};
|
|
317
357
|
bitcoinLocks: {
|
|
@@ -410,10 +450,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
410
450
|
) => SubmittableExtrinsic<ApiType>,
|
|
411
451
|
[u64, Bytes, u64, u64]
|
|
412
452
|
>;
|
|
453
|
+
setFlexible: AugmentedSubmittable<
|
|
454
|
+
(
|
|
455
|
+
lockId: u64 | AnyNumber | Uint8Array,
|
|
456
|
+
isFlexible: bool | boolean | Uint8Array,
|
|
457
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
458
|
+
[u64, bool]
|
|
459
|
+
>;
|
|
413
460
|
/**
|
|
414
|
-
* Replace
|
|
461
|
+
* Replace the Lock's guarantee, leaving active Fission guarantees unchanged.
|
|
415
462
|
**/
|
|
416
|
-
|
|
463
|
+
setGuarantee: AugmentedSubmittable<
|
|
417
464
|
(
|
|
418
465
|
lockId: u64 | AnyNumber | Uint8Array,
|
|
419
466
|
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
@@ -427,13 +474,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
427
474
|
) => SubmittableExtrinsic<ApiType>,
|
|
428
475
|
[u64, Compact<u64>, Option<PalletBitcoinLocksLockOptions>]
|
|
429
476
|
>;
|
|
430
|
-
setFlexible: AugmentedSubmittable<
|
|
431
|
-
(
|
|
432
|
-
lockId: u64 | AnyNumber | Uint8Array,
|
|
433
|
-
isFlexible: bool | boolean | Uint8Array,
|
|
434
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
435
|
-
[u64, bool]
|
|
436
|
-
>;
|
|
437
477
|
};
|
|
438
478
|
bitcoinUtxos: {
|
|
439
479
|
/**
|
|
@@ -586,6 +626,25 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
586
626
|
ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
|
|
587
627
|
]
|
|
588
628
|
>;
|
|
629
|
+
/**
|
|
630
|
+
* Authenticate a complete gateway locator and settle its unconsumed activities.
|
|
631
|
+
**/
|
|
632
|
+
proveGatewayActivityStorage: AugmentedSubmittable<
|
|
633
|
+
(
|
|
634
|
+
sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
635
|
+
previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
|
|
636
|
+
proof:
|
|
637
|
+
| PalletCrosschainTransferGatewayActivityStorageProof
|
|
638
|
+
| { locatorIndex?: any; activityRootSeed?: any; storageProof?: any; activityLogs?: any }
|
|
639
|
+
| string
|
|
640
|
+
| Uint8Array,
|
|
641
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
642
|
+
[
|
|
643
|
+
PalletCrosschainTransferSourceChain,
|
|
644
|
+
Compact<u64>,
|
|
645
|
+
PalletCrosschainTransferGatewayActivityStorageProof,
|
|
646
|
+
]
|
|
647
|
+
>;
|
|
589
648
|
registerCouncilSigner: AugmentedSubmittable<
|
|
590
649
|
(
|
|
591
650
|
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
@@ -699,6 +758,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
699
758
|
deneb?: any;
|
|
700
759
|
electra?: any;
|
|
701
760
|
fulu?: any;
|
|
761
|
+
gloas?: any;
|
|
702
762
|
}
|
|
703
763
|
| string
|
|
704
764
|
| Uint8Array,
|
|
@@ -721,6 +781,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
721
781
|
) => SubmittableExtrinsic<ApiType>,
|
|
722
782
|
[H256, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof]
|
|
723
783
|
>;
|
|
784
|
+
/**
|
|
785
|
+
* Configure the implemented Gloas fork before the verifier finalizes its activation.
|
|
786
|
+
* Earlier forks and retained consensus state are preserved. May only be called by root.
|
|
787
|
+
**/
|
|
788
|
+
setGloasFork: AugmentedSubmittable<
|
|
789
|
+
(
|
|
790
|
+
fork: PalletEthereumVerifierFork | { version?: any; epoch?: any } | string | Uint8Array,
|
|
791
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
792
|
+
[PalletEthereumVerifierFork]
|
|
793
|
+
>;
|
|
724
794
|
/**
|
|
725
795
|
* Halt or resume all pallet operations. May only be called by root.
|
|
726
796
|
**/
|
|
@@ -832,28 +902,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
832
902
|
};
|
|
833
903
|
miningSlot: {
|
|
834
904
|
/**
|
|
835
|
-
* Submit a
|
|
836
|
-
*
|
|
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
|
|
905
|
+
* Submit a funded public bid, optionally committing to a hidden maximum.
|
|
906
|
+
* Every bid competes at its public amount even if no maximum is revealed.
|
|
907
|
+
* An omitted target frame selects the current auction at dispatch time.
|
|
857
908
|
**/
|
|
858
909
|
bid: AugmentedSubmittable<
|
|
859
910
|
(
|
|
@@ -864,8 +915,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
864
915
|
| string
|
|
865
916
|
| Uint8Array,
|
|
866
917
|
miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
|
|
918
|
+
targetFrameId: Option<u64> | null | Uint8Array | u64 | AnyNumber,
|
|
919
|
+
maxHash: Option<U8aFixed> | null | Uint8Array | U8aFixed | string,
|
|
867
920
|
) => SubmittableExtrinsic<ApiType>,
|
|
868
|
-
[u128, ArgonRuntimeSessionKeys, Option<AccountId32>]
|
|
921
|
+
[u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]
|
|
922
|
+
>;
|
|
923
|
+
/**
|
|
924
|
+
* Disclose a committed maximum during the five blocks following submission.
|
|
925
|
+
* The target frame must match the original bid and the current auction.
|
|
926
|
+
**/
|
|
927
|
+
bidMax: AugmentedSubmittable<
|
|
928
|
+
(
|
|
929
|
+
max: u128 | AnyNumber | Uint8Array,
|
|
930
|
+
salt: U8aFixed | string | Uint8Array,
|
|
931
|
+
miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
|
|
932
|
+
targetFrameId: u64 | AnyNumber | Uint8Array,
|
|
933
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
934
|
+
[u128, U8aFixed, Option<AccountId32>, u64]
|
|
869
935
|
>;
|
|
870
936
|
/**
|
|
871
937
|
* Admin function to update the mining slot delay.
|
|
@@ -1412,7 +1478,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1412
1478
|
submit: AugmentedSubmittable<
|
|
1413
1479
|
(
|
|
1414
1480
|
index:
|
|
1415
|
-
|
|
|
1481
|
+
| ArgonPrimitivesPriceIndex
|
|
1416
1482
|
| {
|
|
1417
1483
|
btcUsdPrice?: any;
|
|
1418
1484
|
argonotUsdPrice?: any;
|
|
@@ -1420,6 +1486,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1420
1486
|
argonUsdTargetPrice?: any;
|
|
1421
1487
|
argonTimeWeightedAverageLiquidity?: any;
|
|
1422
1488
|
tick?: any;
|
|
1489
|
+
usdcUsdPrice?: any;
|
|
1490
|
+
stabilizerPoolSqrtPriceX96?: any;
|
|
1423
1491
|
}
|
|
1424
1492
|
| string
|
|
1425
1493
|
| Uint8Array,
|
|
@@ -1431,7 +1499,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1431
1499
|
| { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any }
|
|
1432
1500
|
| string,
|
|
1433
1501
|
) => SubmittableExtrinsic<ApiType>,
|
|
1434
|
-
[
|
|
1502
|
+
[ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
|
|
1435
1503
|
>;
|
|
1436
1504
|
};
|
|
1437
1505
|
proxy: {
|
|
@@ -1793,6 +1861,80 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1793
1861
|
[MultiAddress, ArgonRuntimeProxyType, u32]
|
|
1794
1862
|
>;
|
|
1795
1863
|
};
|
|
1864
|
+
stabilizerBuys: {
|
|
1865
|
+
/**
|
|
1866
|
+
* Submit a whole-percent bid during F+1. Larger matching bases break equal-rate ties;
|
|
1867
|
+
* account ID orders bids with the same rate and matching basis.
|
|
1868
|
+
**/
|
|
1869
|
+
bid: AugmentedSubmittable<
|
|
1870
|
+
(
|
|
1871
|
+
admissionFrame: u64 | AnyNumber | Uint8Array,
|
|
1872
|
+
rewardRate: Percent | AnyNumber | Uint8Array,
|
|
1873
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
1874
|
+
[u64, Percent]
|
|
1875
|
+
>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Select the reward pool, or disable new purchase eligibility.
|
|
1878
|
+
**/
|
|
1879
|
+
setApprovedPool: AugmentedSubmittable<
|
|
1880
|
+
(
|
|
1881
|
+
pool:
|
|
1882
|
+
| Option<PalletStabilizerBuysUniswapPurchasePurchasePool>
|
|
1883
|
+
| null
|
|
1884
|
+
| Uint8Array
|
|
1885
|
+
| PalletStabilizerBuysUniswapPurchasePurchasePool
|
|
1886
|
+
| {
|
|
1887
|
+
chainId?: any;
|
|
1888
|
+
poolManager?: any;
|
|
1889
|
+
poolId?: any;
|
|
1890
|
+
usdcToken?: any;
|
|
1891
|
+
argonIsToken0?: any;
|
|
1892
|
+
}
|
|
1893
|
+
| string,
|
|
1894
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
1895
|
+
[Option<PalletStabilizerBuysUniswapPurchasePurchasePool>]
|
|
1896
|
+
>;
|
|
1897
|
+
/**
|
|
1898
|
+
* Change matching for newly created auctions; existing policy remains frozen.
|
|
1899
|
+
**/
|
|
1900
|
+
setMatchingRate: AugmentedSubmittable<
|
|
1901
|
+
(rate: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1902
|
+
[Permill]
|
|
1903
|
+
>;
|
|
1904
|
+
};
|
|
1905
|
+
stabilizerPools: {
|
|
1906
|
+
/**
|
|
1907
|
+
* Register a baseline, extend a maintained revision, or reset after an unproven change.
|
|
1908
|
+
**/
|
|
1909
|
+
checkpointPosition: AugmentedSubmittable<
|
|
1910
|
+
(
|
|
1911
|
+
poolManager: H160 | string | Uint8Array,
|
|
1912
|
+
poolId: H256 | string | Uint8Array,
|
|
1913
|
+
tokenId: U256 | AnyNumber | Uint8Array,
|
|
1914
|
+
proof:
|
|
1915
|
+
| PalletStabilizerPoolsPositionProof
|
|
1916
|
+
| { subscriber?: any; positionManager?: any; poolManager?: any }
|
|
1917
|
+
| string
|
|
1918
|
+
| Uint8Array,
|
|
1919
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
1920
|
+
[H160, H256, U256, PalletStabilizerPoolsPositionProof]
|
|
1921
|
+
>;
|
|
1922
|
+
/**
|
|
1923
|
+
* Approve immutable deployment bindings and the canonical pool key.
|
|
1924
|
+
* Root must verify the pinned implementations and their immutable bindings first.
|
|
1925
|
+
**/
|
|
1926
|
+
registerPool: AugmentedSubmittable<
|
|
1927
|
+
(
|
|
1928
|
+
poolManager: H160 | string | Uint8Array,
|
|
1929
|
+
config:
|
|
1930
|
+
| PalletStabilizerPoolsPoolConfig
|
|
1931
|
+
| { positionManager?: any; subscriber?: any; key?: any }
|
|
1932
|
+
| string
|
|
1933
|
+
| Uint8Array,
|
|
1934
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
1935
|
+
[H160, PalletStabilizerPoolsPoolConfig]
|
|
1936
|
+
>;
|
|
1937
|
+
};
|
|
1796
1938
|
sudo: {
|
|
1797
1939
|
/**
|
|
1798
1940
|
* Permanently removes the sudo key.
|
|
@@ -2326,13 +2468,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2326
2468
|
(
|
|
2327
2469
|
vaultConfig:
|
|
2328
2470
|
| PalletVaultsVaultConfig
|
|
2329
|
-
| {
|
|
2330
|
-
terms?: any;
|
|
2331
|
-
delegateAccountId?: any;
|
|
2332
|
-
securitization?: any;
|
|
2333
|
-
bitcoinXpubkey?: any;
|
|
2334
|
-
securitizationRatio?: any;
|
|
2335
|
-
}
|
|
2471
|
+
| { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any }
|
|
2336
2472
|
| string
|
|
2337
2473
|
| Uint8Array,
|
|
2338
2474
|
) => SubmittableExtrinsic<ApiType>,
|
|
@@ -2341,8 +2477,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2341
2477
|
/**
|
|
2342
2478
|
* Modify funds allocated by the vault without changing existing Bitcoin locks.
|
|
2343
2479
|
*
|
|
2344
|
-
* The securitization percent must be maintained or increased.
|
|
2345
|
-
*
|
|
2346
2480
|
* Funds not yet used in a reward snapshot may leave without notice if not needed for
|
|
2347
2481
|
* Bitcoin commitments. Reward-committed funds require a one-year Bitcoin-height exit
|
|
2348
2482
|
* notice and remain held until both the notice and any Bitcoin commitment have ended.
|
|
@@ -2352,9 +2486,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2352
2486
|
(
|
|
2353
2487
|
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2354
2488
|
securitization: u128 | AnyNumber | Uint8Array,
|
|
2355
|
-
securitizationRatio: u128 | AnyNumber | Uint8Array,
|
|
2356
2489
|
) => SubmittableExtrinsic<ApiType>,
|
|
2357
|
-
[u32, u128
|
|
2490
|
+
[u32, u128]
|
|
2358
2491
|
>;
|
|
2359
2492
|
/**
|
|
2360
2493
|
* Change the terms of this vault. The change will be applied at the next mining frame
|