@argonprotocol/mainchain 1.4.10-dev.479c016c → 1.4.10-dev.a229760e
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/browser/index.d.ts +531 -283
- package/browser/index.js +55 -19
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +65 -29
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +531 -283
- package/lib/index.d.ts +531 -283
- package/lib/index.js +55 -19
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +7 -4
- package/src/interfaces/augment-api-errors.ts +26 -8
- package/src/interfaces/augment-api-events.ts +56 -8
- package/src/interfaces/augment-api-query.ts +55 -12
- package/src/interfaces/augment-api-runtime.ts +1 -0
- package/src/interfaces/augment-api-tx.ts +69 -11
- package/src/interfaces/augment-api.ts +1 -0
- package/src/interfaces/augment-types.ts +1 -0
- package/src/interfaces/lookup.ts +327 -223
- package/src/interfaces/registry.ts +15 -0
- package/src/interfaces/types-lookup.ts +355 -236
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.10-dev.
|
|
3
|
+
"version": "1.4.10-dev.a229760e",
|
|
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.10-dev.
|
|
68
|
+
"@argonprotocol/testing": "1.4.10-dev.a229760e",
|
|
69
69
|
"@polkadot/typegen": "^16.5.6",
|
|
70
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
71
71
|
"@types/node": "^20",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
2
3
|
|
|
3
4
|
// import type lookup before we augment - in some environments
|
|
4
5
|
// this is required to allow for ambient/previous definitions
|
|
@@ -159,6 +160,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
159
160
|
**/
|
|
160
161
|
targetBlockVotes: u128 & AugmentedConst<ApiType>;
|
|
161
162
|
};
|
|
163
|
+
bootstrap: {
|
|
164
|
+
/**
|
|
165
|
+
* Maximum number of bytes in an encrypted recovery or endpoint payload.
|
|
166
|
+
**/
|
|
167
|
+
maxEncryptedPayloadLen: u32 & AugmentedConst<ApiType>;
|
|
168
|
+
};
|
|
162
169
|
crosschainTransfer: {
|
|
163
170
|
/**
|
|
164
171
|
* Minimum remaining frame commitment required when reading vault committed collateral
|
|
@@ -372,10 +379,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
372
379
|
* Maximum number of available access codes allowed at once.
|
|
373
380
|
**/
|
|
374
381
|
maxAvailableAccessCodes: u32 & AugmentedConst<ApiType>;
|
|
375
|
-
/**
|
|
376
|
-
* Maximum number of encrypted server bytes stored per network account.
|
|
377
|
-
**/
|
|
378
|
-
maxEncryptedServerLen: u32 & AugmentedConst<ApiType>;
|
|
379
382
|
/**
|
|
380
383
|
* Minimum bitcoin amount required to register.
|
|
381
384
|
**/
|
|
@@ -352,6 +352,20 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
352
352
|
**/
|
|
353
353
|
MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
|
|
354
354
|
};
|
|
355
|
+
bootstrap: {
|
|
356
|
+
/**
|
|
357
|
+
* The encrypted payload exceeds [`Config::MaxEncryptedPayloadLen`].
|
|
358
|
+
**/
|
|
359
|
+
EncryptedPayloadTooLong: AugmentedError<ApiType>;
|
|
360
|
+
/**
|
|
361
|
+
* The endpoint public key is already owned by a different account.
|
|
362
|
+
**/
|
|
363
|
+
EndpointOwnedByAnotherAccount: AugmentedError<ApiType>;
|
|
364
|
+
/**
|
|
365
|
+
* The recovery proof does not authorize this writer, public key, and payload.
|
|
366
|
+
**/
|
|
367
|
+
InvalidRecoveryProof: AugmentedError<ApiType>;
|
|
368
|
+
};
|
|
355
369
|
crosschainTransfer: {
|
|
356
370
|
/**
|
|
357
371
|
* The force-set cut would discard a queue entry that already has local quorum.
|
|
@@ -369,6 +383,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
369
383
|
* The account has not registered a council signer for this destination chain.
|
|
370
384
|
**/
|
|
371
385
|
CouncilSignerNotRegistered: AugmentedError<ApiType>;
|
|
386
|
+
/**
|
|
387
|
+
* The account already has a council signer rotation pending for this destination chain.
|
|
388
|
+
**/
|
|
389
|
+
CouncilSignerRotationPending: AugmentedError<ApiType>;
|
|
372
390
|
/**
|
|
373
391
|
* The supplied Global Issuance Council contains the same account more than once.
|
|
374
392
|
**/
|
|
@@ -986,10 +1004,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
986
1004
|
* An account cannot grant access to itself.
|
|
987
1005
|
**/
|
|
988
1006
|
CannotGrantAccessToSelf: AugmentedError<ApiType>;
|
|
989
|
-
/**
|
|
990
|
-
* The encrypted server payload exceeds the configured max length.
|
|
991
|
-
**/
|
|
992
|
-
EncryptedServerTooLong: AugmentedError<ApiType>;
|
|
993
1007
|
/**
|
|
994
1008
|
* The upstream access proof is invalid.
|
|
995
1009
|
**/
|
|
@@ -1022,10 +1036,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1022
1036
|
* The requested account has not registered operational accounts.
|
|
1023
1037
|
**/
|
|
1024
1038
|
NotOperationalAccount: AugmentedError<ApiType>;
|
|
1025
|
-
/**
|
|
1026
|
-
* The caller is not the upstream account for the requested downstream account.
|
|
1027
|
-
**/
|
|
1028
|
-
NotUpstreamOfDownstream: AugmentedError<ApiType>;
|
|
1029
1039
|
/**
|
|
1030
1040
|
* A valid invite is required to register an operational account.
|
|
1031
1041
|
**/
|
|
@@ -1224,6 +1234,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1224
1234
|
* The bond lot is already scheduled for release.
|
|
1225
1235
|
**/
|
|
1226
1236
|
BondLotAlreadyReleasing: AugmentedError<ApiType>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Only an active vault bond owned by its operator can be used as backfill.
|
|
1239
|
+
**/
|
|
1240
|
+
BondLotNotEligibleForBackfill: AugmentedError<ApiType>;
|
|
1227
1241
|
/**
|
|
1228
1242
|
* The bond lot could not be found.
|
|
1229
1243
|
**/
|
|
@@ -1272,6 +1286,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1272
1286
|
* Too many bond lot releases are scheduled for the same frame.
|
|
1273
1287
|
**/
|
|
1274
1288
|
MaxPendingBondReleasesExceeded: AugmentedError<ApiType>;
|
|
1289
|
+
/**
|
|
1290
|
+
* The caller does not have permission to perform this action.
|
|
1291
|
+
**/
|
|
1292
|
+
NoPermissions: AugmentedError<ApiType>;
|
|
1275
1293
|
/**
|
|
1276
1294
|
* The caller does not own the bond lot.
|
|
1277
1295
|
**/
|
|
@@ -38,6 +38,8 @@ import type {
|
|
|
38
38
|
FrameSupportTokensMiscBalanceStatus,
|
|
39
39
|
FrameSystemDispatchEventInfo,
|
|
40
40
|
PalletBalancesUnexpectedKind,
|
|
41
|
+
PalletBootstrapEndpointPubkey,
|
|
42
|
+
PalletBootstrapRecoveryPubkey,
|
|
41
43
|
PalletCrosschainTransferAssetKind,
|
|
42
44
|
PalletCrosschainTransferCouncilApprovalTargetId,
|
|
43
45
|
PalletCrosschainTransferGatewayState,
|
|
@@ -315,6 +317,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
315
317
|
[utxoId: u64, vaultId: u32, compensationAmount: u128, compensatedAccountId: AccountId32],
|
|
316
318
|
{ utxoId: u64; vaultId: u32; compensationAmount: u128; compensatedAccountId: AccountId32 }
|
|
317
319
|
>;
|
|
320
|
+
BitcoinLockBackfillChanged: AugmentedEvent<
|
|
321
|
+
ApiType,
|
|
322
|
+
[utxoId: u64, vaultId: u32, isBackfill: bool],
|
|
323
|
+
{ utxoId: u64; vaultId: u32; isBackfill: bool }
|
|
324
|
+
>;
|
|
318
325
|
BitcoinLockBurned: AugmentedEvent<
|
|
319
326
|
ApiType,
|
|
320
327
|
[utxoId: u64, vaultId: u32, wasUtxoSpent: bool],
|
|
@@ -530,6 +537,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
530
537
|
}
|
|
531
538
|
>;
|
|
532
539
|
};
|
|
540
|
+
bootstrap: {
|
|
541
|
+
/**
|
|
542
|
+
* An encrypted endpoint payload was stored or replaced by its owner.
|
|
543
|
+
**/
|
|
544
|
+
EndpointUpdated: AugmentedEvent<
|
|
545
|
+
ApiType,
|
|
546
|
+
[endpointOwner: AccountId32, endpointPubkey: PalletBootstrapEndpointPubkey],
|
|
547
|
+
{ endpointOwner: AccountId32; endpointPubkey: PalletBootstrapEndpointPubkey }
|
|
548
|
+
>;
|
|
549
|
+
/**
|
|
550
|
+
* An encrypted recovery payload was stored or replaced.
|
|
551
|
+
**/
|
|
552
|
+
RecoveryPayloadUpdated: AugmentedEvent<
|
|
553
|
+
ApiType,
|
|
554
|
+
[writer: AccountId32, recoveryPubkey: PalletBootstrapRecoveryPubkey],
|
|
555
|
+
{ writer: AccountId32; recoveryPubkey: PalletBootstrapRecoveryPubkey }
|
|
556
|
+
>;
|
|
557
|
+
};
|
|
533
558
|
crosschainTransfer: {
|
|
534
559
|
/**
|
|
535
560
|
* An account registered its council signer for one destination chain.
|
|
@@ -607,6 +632,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
607
632
|
[destinationChain: PalletCrosschainTransferSourceChain, councilHash: H256],
|
|
608
633
|
{ destinationChain: PalletCrosschainTransferSourceChain; councilHash: H256 }
|
|
609
634
|
>;
|
|
635
|
+
/**
|
|
636
|
+
* A frame transition queued a new Global Issuance Council for destination-chain approval.
|
|
637
|
+
**/
|
|
638
|
+
GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
|
|
639
|
+
ApiType,
|
|
640
|
+
[
|
|
641
|
+
destinationChain: PalletCrosschainTransferSourceChain,
|
|
642
|
+
councilHash: H256,
|
|
643
|
+
approvalQueueNonce: u64,
|
|
644
|
+
],
|
|
645
|
+
{
|
|
646
|
+
destinationChain: PalletCrosschainTransferSourceChain;
|
|
647
|
+
councilHash: H256;
|
|
648
|
+
approvalQueueNonce: u64;
|
|
649
|
+
}
|
|
650
|
+
>;
|
|
610
651
|
/**
|
|
611
652
|
* Root updated the minimum normalized microgon value required to register a Minting
|
|
612
653
|
* Authority on one destination chain.
|
|
@@ -1257,14 +1298,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1257
1298
|
[account: AccountId32],
|
|
1258
1299
|
{ account: AccountId32 }
|
|
1259
1300
|
>;
|
|
1260
|
-
/**
|
|
1261
|
-
* An upstream account updated the encrypted server payload for a downstream account.
|
|
1262
|
-
**/
|
|
1263
|
-
EncryptedServerUpdated: AugmentedEvent<
|
|
1264
|
-
ApiType,
|
|
1265
|
-
[upstreamAccount: AccountId32, downstreamAccount: AccountId32],
|
|
1266
|
-
{ upstreamAccount: AccountId32; downstreamAccount: AccountId32 }
|
|
1267
|
-
>;
|
|
1268
1301
|
/**
|
|
1269
1302
|
* An operational account was registered with its linked accounts.
|
|
1270
1303
|
**/
|
|
@@ -1814,6 +1847,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1814
1847
|
>;
|
|
1815
1848
|
};
|
|
1816
1849
|
treasury: {
|
|
1850
|
+
BackfillBondsReservedChanged: AugmentedEvent<
|
|
1851
|
+
ApiType,
|
|
1852
|
+
[vaultId: u32, backfillBondsReserved: u32],
|
|
1853
|
+
{ vaultId: u32; backfillBondsReserved: u32 }
|
|
1854
|
+
>;
|
|
1855
|
+
BondLotBackfillChanged: AugmentedEvent<
|
|
1856
|
+
ApiType,
|
|
1857
|
+
[vaultId: u32, bondLotId: u64, isBackfill: bool],
|
|
1858
|
+
{ vaultId: u32; bondLotId: u64; isBackfill: bool }
|
|
1859
|
+
>;
|
|
1817
1860
|
/**
|
|
1818
1861
|
* A bond purchase entered its active program set.
|
|
1819
1862
|
**/
|
|
@@ -2058,6 +2101,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2058
2101
|
>;
|
|
2059
2102
|
};
|
|
2060
2103
|
vaults: {
|
|
2104
|
+
BackfillSecuritizationReservedChanged: AugmentedEvent<
|
|
2105
|
+
ApiType,
|
|
2106
|
+
[vaultId: u32, backfillSecuritizationReserved: u128],
|
|
2107
|
+
{ vaultId: u32; backfillSecuritizationReserved: u128 }
|
|
2108
|
+
>;
|
|
2061
2109
|
CommittedArgonotsSet: AugmentedEvent<
|
|
2062
2110
|
ApiType,
|
|
2063
2111
|
[vaultId: u32, operatorAccountId: AccountId32, amount: u128],
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
2
3
|
|
|
3
4
|
// import type lookup before we augment - in some environments
|
|
4
5
|
// this is required to allow for ambient/previous definitions
|
|
@@ -65,6 +66,8 @@ import type {
|
|
|
65
66
|
PalletBitcoinLocksLockReleaseRequest,
|
|
66
67
|
PalletBitcoinLocksLockedBitcoin,
|
|
67
68
|
PalletBitcoinLocksOrphanedUtxo,
|
|
69
|
+
PalletBootstrapEndpointPubkey,
|
|
70
|
+
PalletBootstrapRecoveryPubkey,
|
|
68
71
|
PalletCrosschainTransferAccountTransferTotals,
|
|
69
72
|
PalletCrosschainTransferChainConfig,
|
|
70
73
|
PalletCrosschainTransferCouncilApprovalQueueEntry,
|
|
@@ -103,6 +106,7 @@ import type {
|
|
|
103
106
|
PalletTreasuryBondLotSummary,
|
|
104
107
|
PalletTreasuryFrameArgonotBondParticipants,
|
|
105
108
|
PalletTreasuryFrameVaultCapital,
|
|
109
|
+
PalletTreasuryVaultBondState,
|
|
106
110
|
PalletVaultsRecentCapacityDrop,
|
|
107
111
|
PalletVaultsVaultFrameRevenue,
|
|
108
112
|
SpConsensusGrandpaAppPublic,
|
|
@@ -511,6 +515,40 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
511
515
|
**/
|
|
512
516
|
voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
|
|
513
517
|
};
|
|
518
|
+
bootstrap: {
|
|
519
|
+
/**
|
|
520
|
+
* Encrypted endpoint payload keyed by its public key.
|
|
521
|
+
*
|
|
522
|
+
* The pallet enforces ownership and length but does not parse or verify encryption.
|
|
523
|
+
**/
|
|
524
|
+
encryptedEndpointByPubkey: AugmentedQuery<
|
|
525
|
+
ApiType,
|
|
526
|
+
(arg: PalletBootstrapEndpointPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
|
|
527
|
+
[PalletBootstrapEndpointPubkey]
|
|
528
|
+
>;
|
|
529
|
+
/**
|
|
530
|
+
* Encrypted recovery payload authorized by the corresponding recovery key.
|
|
531
|
+
*
|
|
532
|
+
* The pallet enforces authorization and length but does not parse or verify encryption.
|
|
533
|
+
**/
|
|
534
|
+
encryptedRecoveryPayloadByPubkey: AugmentedQuery<
|
|
535
|
+
ApiType,
|
|
536
|
+
(arg: PalletBootstrapRecoveryPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
|
|
537
|
+
[PalletBootstrapRecoveryPubkey]
|
|
538
|
+
>;
|
|
539
|
+
/**
|
|
540
|
+
* Account authorized to update an encrypted endpoint payload.
|
|
541
|
+
*
|
|
542
|
+
* The first successful [`Pallet::set_endpoint`] call for a public key establishes its owner.
|
|
543
|
+
**/
|
|
544
|
+
endpointOwnerByPubkey: AugmentedQuery<
|
|
545
|
+
ApiType,
|
|
546
|
+
(
|
|
547
|
+
arg: PalletBootstrapEndpointPubkey | string | Uint8Array,
|
|
548
|
+
) => Observable<Option<AccountId32>>,
|
|
549
|
+
[PalletBootstrapEndpointPubkey]
|
|
550
|
+
>;
|
|
551
|
+
};
|
|
514
552
|
crosschainTransfer: {
|
|
515
553
|
/**
|
|
516
554
|
* The active Global Issuance Council hash in force for each destination chain.
|
|
@@ -658,6 +696,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
658
696
|
) => Observable<u64>,
|
|
659
697
|
[PalletCrosschainTransferSourceChain]
|
|
660
698
|
>;
|
|
699
|
+
/**
|
|
700
|
+
* First frame where a new council snapshot may be added to a chain's approval queue.
|
|
701
|
+
**/
|
|
702
|
+
nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
|
|
703
|
+
ApiType,
|
|
704
|
+
(
|
|
705
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
706
|
+
) => Observable<Option<u64>>,
|
|
707
|
+
[PalletCrosschainTransferSourceChain]
|
|
708
|
+
>;
|
|
661
709
|
/**
|
|
662
710
|
* Next outbound transfer nonce for each sending account.
|
|
663
711
|
**/
|
|
@@ -1260,14 +1308,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1260
1308
|
>;
|
|
1261
1309
|
};
|
|
1262
1310
|
operationalAccounts: {
|
|
1263
|
-
/**
|
|
1264
|
-
* Opaque encrypted upstream server payload keyed by the downstream account.
|
|
1265
|
-
**/
|
|
1266
|
-
encryptedServerByDownstreamAccount: AugmentedQuery<
|
|
1267
|
-
ApiType,
|
|
1268
|
-
(arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>,
|
|
1269
|
-
[AccountId32]
|
|
1270
|
-
>;
|
|
1271
1311
|
/**
|
|
1272
1312
|
* Whether operational-account access is invite-only.
|
|
1273
1313
|
*
|
|
@@ -1648,7 +1688,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1648
1688
|
};
|
|
1649
1689
|
treasury: {
|
|
1650
1690
|
/**
|
|
1651
|
-
* The active
|
|
1691
|
+
* The active Argonot set keeps the smallest bond amount first, then lower ids first when
|
|
1692
|
+
* amounts tie.
|
|
1652
1693
|
**/
|
|
1653
1694
|
argonotBondLots: AugmentedQuery<
|
|
1654
1695
|
ApiType,
|
|
@@ -1675,13 +1716,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1675
1716
|
[AccountId32, u64]
|
|
1676
1717
|
>;
|
|
1677
1718
|
/**
|
|
1678
|
-
* The
|
|
1719
|
+
* The active bond state for a vault.
|
|
1679
1720
|
*
|
|
1680
|
-
*
|
|
1721
|
+
* The bounded payout set keeps the largest bond amount first, then lower `bond_lot_id` first
|
|
1722
|
+
* when amounts tie. Backfill lots remain in `BondLotById` and are represented here by their
|
|
1723
|
+
* aggregate.
|
|
1681
1724
|
**/
|
|
1682
1725
|
bondLotsByVault: AugmentedQuery<
|
|
1683
1726
|
ApiType,
|
|
1684
|
-
(arg: u32 | AnyNumber | Uint8Array) => Observable<
|
|
1727
|
+
(arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>,
|
|
1685
1728
|
[u32]
|
|
1686
1729
|
>;
|
|
1687
1730
|
/**
|
|
@@ -49,6 +49,9 @@ import type {
|
|
|
49
49
|
ArgonRuntimeSessionKeys,
|
|
50
50
|
PalletBalancesAdjustmentDirection,
|
|
51
51
|
PalletBitcoinLocksLockOptions,
|
|
52
|
+
PalletBootstrapEndpointPubkey,
|
|
53
|
+
PalletBootstrapRecoveryProof,
|
|
54
|
+
PalletBootstrapRecoveryPubkey,
|
|
52
55
|
PalletCrosschainTransferAssetKind,
|
|
53
56
|
PalletCrosschainTransferChainConfig,
|
|
54
57
|
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
@@ -366,6 +369,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
366
369
|
| PalletBitcoinLocksLockOptions
|
|
367
370
|
| { V1: any }
|
|
368
371
|
| string,
|
|
372
|
+
backfillSecuritizationToUnreserve: Compact<u128> | AnyNumber | Uint8Array,
|
|
369
373
|
) => SubmittableExtrinsic<ApiType>,
|
|
370
374
|
[
|
|
371
375
|
AccountId32,
|
|
@@ -373,6 +377,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
373
377
|
Compact<u64>,
|
|
374
378
|
ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
|
|
375
379
|
Option<PalletBitcoinLocksLockOptions>,
|
|
380
|
+
Compact<u128>,
|
|
376
381
|
]
|
|
377
382
|
>;
|
|
378
383
|
/**
|
|
@@ -432,6 +437,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
432
437
|
) => SubmittableExtrinsic<ApiType>,
|
|
433
438
|
[u64, Bytes, u64]
|
|
434
439
|
>;
|
|
440
|
+
setAsBackfill: AugmentedSubmittable<
|
|
441
|
+
(
|
|
442
|
+
utxoId: u64 | AnyNumber | Uint8Array,
|
|
443
|
+
isBackfill: bool | boolean | Uint8Array,
|
|
444
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
445
|
+
[u64, bool]
|
|
446
|
+
>;
|
|
435
447
|
};
|
|
436
448
|
bitcoinUtxos: {
|
|
437
449
|
/**
|
|
@@ -535,6 +547,35 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
535
547
|
[Option<u128>, Option<u128>]
|
|
536
548
|
>;
|
|
537
549
|
};
|
|
550
|
+
bootstrap: {
|
|
551
|
+
/**
|
|
552
|
+
* Store or replace an encrypted endpoint payload.
|
|
553
|
+
*
|
|
554
|
+
* The first writer for `endpoint_pubkey` becomes its owner. Later updates require the
|
|
555
|
+
* same signing account.
|
|
556
|
+
**/
|
|
557
|
+
setEndpoint: AugmentedSubmittable<
|
|
558
|
+
(
|
|
559
|
+
endpointPubkey: PalletBootstrapEndpointPubkey | string | Uint8Array,
|
|
560
|
+
encryptedEndpoint: Bytes | string | Uint8Array,
|
|
561
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
562
|
+
[PalletBootstrapEndpointPubkey, Bytes]
|
|
563
|
+
>;
|
|
564
|
+
/**
|
|
565
|
+
* Store or replace an encrypted recovery payload.
|
|
566
|
+
*
|
|
567
|
+
* The proof must be signed by `recovery_pubkey` and binds the submitting `writer`,
|
|
568
|
+
* `recovery_pubkey`, and the encrypted payload hash.
|
|
569
|
+
**/
|
|
570
|
+
setRecoveryPayload: AugmentedSubmittable<
|
|
571
|
+
(
|
|
572
|
+
recoveryPubkey: PalletBootstrapRecoveryPubkey | string | Uint8Array,
|
|
573
|
+
recoveryProof: PalletBootstrapRecoveryProof | { signature?: any } | string | Uint8Array,
|
|
574
|
+
encryptedRecoveryPayload: Bytes | string | Uint8Array,
|
|
575
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
576
|
+
[PalletBootstrapRecoveryPubkey, PalletBootstrapRecoveryProof, Bytes]
|
|
577
|
+
>;
|
|
578
|
+
};
|
|
538
579
|
crosschainTransfer: {
|
|
539
580
|
approveQueueEntries: AugmentedSubmittable<
|
|
540
581
|
(
|
|
@@ -1177,16 +1218,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1177
1218
|
) => SubmittableExtrinsic<ApiType>,
|
|
1178
1219
|
[PalletOperationalAccountsRegistration]
|
|
1179
1220
|
>;
|
|
1180
|
-
/**
|
|
1181
|
-
* Store an opaque encrypted upstream server payload for a downstream account.
|
|
1182
|
-
**/
|
|
1183
|
-
setEncryptedServerForDownstreamAccount: AugmentedSubmittable<
|
|
1184
|
-
(
|
|
1185
|
-
downstreamAccount: AccountId32 | string | Uint8Array,
|
|
1186
|
-
encryptedServer: Bytes | string | Uint8Array,
|
|
1187
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1188
|
-
[AccountId32, Bytes]
|
|
1189
|
-
>;
|
|
1190
1221
|
/**
|
|
1191
1222
|
* Update certification reward amounts for operational accounts.
|
|
1192
1223
|
**/
|
|
@@ -2023,7 +2054,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2023
2054
|
| null
|
|
2024
2055
|
| Uint8Array
|
|
2025
2056
|
| ArgonPrimitivesVaultTreasuryBonusApprovalProof
|
|
2026
|
-
| {
|
|
2057
|
+
| {
|
|
2058
|
+
vaultId?: any;
|
|
2059
|
+
beneficiary?: any;
|
|
2060
|
+
expiresAtFrame?: any;
|
|
2061
|
+
backfillBondsToUnreserve?: any;
|
|
2062
|
+
signature?: any;
|
|
2063
|
+
}
|
|
2027
2064
|
| string,
|
|
2028
2065
|
) => SubmittableExtrinsic<ApiType>,
|
|
2029
2066
|
[u32, u32, Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof>]
|
|
@@ -2037,6 +2074,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2037
2074
|
(bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2038
2075
|
[u64]
|
|
2039
2076
|
>;
|
|
2077
|
+
setBackfillBondsReserved: AugmentedSubmittable<
|
|
2078
|
+
(
|
|
2079
|
+
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2080
|
+
backfillBondsReserved: u32 | AnyNumber | Uint8Array,
|
|
2081
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
2082
|
+
[u32, u32]
|
|
2083
|
+
>;
|
|
2084
|
+
setBondLotAsBackfill: AugmentedSubmittable<
|
|
2085
|
+
(
|
|
2086
|
+
bondLotId: u64 | AnyNumber | Uint8Array,
|
|
2087
|
+
isBackfill: bool | boolean | Uint8Array,
|
|
2088
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
2089
|
+
[u64, bool]
|
|
2090
|
+
>;
|
|
2040
2091
|
};
|
|
2041
2092
|
txPause: {
|
|
2042
2093
|
/**
|
|
@@ -2320,6 +2371,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2320
2371
|
) => SubmittableExtrinsic<ApiType>,
|
|
2321
2372
|
[u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]
|
|
2322
2373
|
>;
|
|
2374
|
+
setBackfillSecuritizationReserved: AugmentedSubmittable<
|
|
2375
|
+
(
|
|
2376
|
+
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2377
|
+
backfillSecuritizationReserved: u128 | AnyNumber | Uint8Array,
|
|
2378
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
2379
|
+
[u32, u128]
|
|
2380
|
+
>;
|
|
2323
2381
|
setCommittedArgonots: AugmentedSubmittable<
|
|
2324
2382
|
(amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2325
2383
|
[Compact<u128>]
|