@argonprotocol/mainchain 1.5.1 → 1.5.2-dev.5254a99c
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 +67 -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 +45 -16
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/browser/index.d.ts +797 -394
- package/browser/index.js +1142 -298
- package/browser/index.js.map +1 -1
- 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 +45 -16
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +3 -3
- package/lib/index.cjs +1110 -296
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +797 -394
- package/lib/index.d.ts +797 -394
- package/lib/index.js +1111 -297
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +15 -1
- package/src/interfaces/augment-api-errors.ts +53 -10
- package/src/interfaces/augment-api-events.ts +24 -29
- package/src/interfaces/augment-api-query.ts +63 -6
- package/src/interfaces/augment-api-rpc.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +88 -47
- package/src/interfaces/lookup.ts +413 -302
- package/src/interfaces/registry.ts +16 -0
- package/src/interfaces/types-lookup.ts +440 -315
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2-dev.5254a99c",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
71
|
-
"@argonprotocol/testing": "1.5.
|
|
71
|
+
"@argonprotocol/testing": "1.5.2-dev.5254a99c",
|
|
72
72
|
"@polkadot/typegen": "^17.0.1",
|
|
73
73
|
"@substrate/ss58-registry": "^1.51.0",
|
|
74
74
|
"@types/node": "^20",
|
|
@@ -101,7 +101,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
101
101
|
**/
|
|
102
102
|
orphanedUtxoReleaseExpiryFrames: u64 & AugmentedConst<ApiType>;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Initial Bitcoin deposit window, measured in Bitcoin blocks.
|
|
105
105
|
**/
|
|
106
106
|
securitizationHoldBlocks: u64 & AugmentedConst<ApiType>;
|
|
107
107
|
/**
|
|
@@ -181,6 +181,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
181
181
|
* Canonical Ethereum burn-accounting account representing funds moved to Ethereum.
|
|
182
182
|
**/
|
|
183
183
|
ethereumBurnAccount: AccountId32 & AugmentedConst<ApiType>;
|
|
184
|
+
/**
|
|
185
|
+
* Maximum activities in one complete gateway locator storage proof.
|
|
186
|
+
**/
|
|
187
|
+
maxActivitiesPerGatewayProof: u32 & AugmentedConst<ApiType>;
|
|
184
188
|
/**
|
|
185
189
|
* Maximum number of ordered gateway activities that may share one receipt proof.
|
|
186
190
|
**/
|
|
@@ -189,6 +193,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
189
193
|
* Maximum number of members the active Global Issuance Council may carry.
|
|
190
194
|
**/
|
|
191
195
|
maxCouncilMembers: u32 & AugmentedConst<ApiType>;
|
|
196
|
+
/**
|
|
197
|
+
* Maximum aggregate event data carried by one storage-proof locator.
|
|
198
|
+
**/
|
|
199
|
+
maxGatewayActivityLogDataBytes: u32 & AugmentedConst<ApiType>;
|
|
192
200
|
/**
|
|
193
201
|
* Maximum number of non-terminal transfer-out requests tracked for one destination chain.
|
|
194
202
|
**/
|
|
@@ -271,6 +279,8 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
271
279
|
* The increment that bids can be on (for instance, one cent increments)
|
|
272
280
|
**/
|
|
273
281
|
bidIncrements: u128 & AugmentedConst<ApiType>;
|
|
282
|
+
bidRevealBlocks: u32 & AugmentedConst<ApiType>;
|
|
283
|
+
bidSettlementBuffer: u32 & AugmentedConst<ApiType>;
|
|
274
284
|
/**
|
|
275
285
|
* The number of frames a miner operates for
|
|
276
286
|
**/
|
|
@@ -279,6 +289,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
279
289
|
* The initial argonots needed per seat before a prior-day median is available.
|
|
280
290
|
**/
|
|
281
291
|
initialArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
|
|
292
|
+
/**
|
|
293
|
+
* Maximum commitments, including public bids, admitted per block.
|
|
294
|
+
**/
|
|
295
|
+
maxBidsPerBlock: u32 & AugmentedConst<ApiType>;
|
|
282
296
|
/**
|
|
283
297
|
* How many new miners can be in the cohort for each slot. The actual maximum will adjust
|
|
284
298
|
* dynamically
|
|
@@ -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
|
|
@@ -102,6 +101,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
102
101
|
* A source Lock's securitization does not cover the requested allocation and liability.
|
|
103
102
|
**/
|
|
104
103
|
InsufficientSecuritization: AugmentedError<ApiType>;
|
|
104
|
+
/**
|
|
105
|
+
* The fee coupon is invalid, expired, or already consumed.
|
|
106
|
+
**/
|
|
107
|
+
InvalidFeeCoupon: AugmentedError<ApiType>;
|
|
105
108
|
/**
|
|
106
109
|
* The requested source Lock does not exist.
|
|
107
110
|
**/
|
|
@@ -138,6 +141,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
138
141
|
* The Fission's ratchet counter cannot be incremented.
|
|
139
142
|
**/
|
|
140
143
|
RatchetNumberOverflow: AugmentedError<ApiType>;
|
|
144
|
+
/**
|
|
145
|
+
* The Vault could not upgrade the guarantee assigned to this Fission.
|
|
146
|
+
**/
|
|
147
|
+
ResecuritizationFailed: AugmentedError<ApiType>;
|
|
141
148
|
/**
|
|
142
149
|
* The source Lock already has the maximum number of active Fissions.
|
|
143
150
|
**/
|
|
@@ -221,10 +228,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
221
228
|
* The requested Lock securitization has fewer satoshis than its active Fissions.
|
|
222
229
|
**/
|
|
223
230
|
InsufficientSatoshisForFissions: AugmentedError<ApiType>;
|
|
224
|
-
/**
|
|
225
|
-
* The requested Lock securitization does not cover its active Fission liabilities.
|
|
226
|
-
**/
|
|
227
|
-
InsufficientSecuritizationForFissions: AugmentedError<ApiType>;
|
|
228
231
|
InsufficientVaultFunds: AugmentedError<ApiType>;
|
|
229
232
|
/**
|
|
230
233
|
* The external destination amount must be nonzero and fit with the network fee.
|
|
@@ -247,7 +250,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
247
250
|
**/
|
|
248
251
|
LockHasActiveFissions: AugmentedError<ApiType>;
|
|
249
252
|
/**
|
|
250
|
-
* A Lock
|
|
253
|
+
* A Lock's guarantee cannot be changed while release is pending.
|
|
251
254
|
**/
|
|
252
255
|
LockInProcessOfRelease: AugmentedError<ApiType>;
|
|
253
256
|
/**
|
|
@@ -279,13 +282,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
279
282
|
**/
|
|
280
283
|
NoBitcoinPricesAvailable: AugmentedError<ApiType>;
|
|
281
284
|
/**
|
|
282
|
-
* The
|
|
285
|
+
* The requested securitization matches the Lock's current securitization.
|
|
283
286
|
**/
|
|
284
|
-
|
|
287
|
+
NoGuaranteeChange: AugmentedError<ApiType>;
|
|
285
288
|
/**
|
|
286
|
-
* The
|
|
289
|
+
* The user does not have permissions to perform this action
|
|
287
290
|
**/
|
|
288
|
-
|
|
291
|
+
NoPermissions: AugmentedError<ApiType>;
|
|
289
292
|
/**
|
|
290
293
|
* No Vault public keys are available
|
|
291
294
|
**/
|
|
@@ -898,6 +901,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
898
901
|
NotebookIncludesExpiredLocalchainTransfer: AugmentedError<ApiType>;
|
|
899
902
|
};
|
|
900
903
|
miningSlot: {
|
|
904
|
+
/**
|
|
905
|
+
* The bid batch cannot settle until its reveal window has ended.
|
|
906
|
+
**/
|
|
907
|
+
BatchNotMature: AugmentedError<ApiType>;
|
|
908
|
+
/**
|
|
909
|
+
* The pending bid's maximum has already been revealed.
|
|
910
|
+
**/
|
|
911
|
+
BidAlreadyRevealed: AugmentedError<ApiType>;
|
|
901
912
|
/**
|
|
902
913
|
* The mining bid cannot be reduced
|
|
903
914
|
**/
|
|
@@ -914,6 +925,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
914
925
|
* An account can only have one active registration
|
|
915
926
|
**/
|
|
916
927
|
CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
|
|
928
|
+
/**
|
|
929
|
+
* The miner already has a pending bid awaiting settlement.
|
|
930
|
+
**/
|
|
931
|
+
DuplicateBidCommitment: AugmentedError<ApiType>;
|
|
917
932
|
/**
|
|
918
933
|
* The funding account does not have enough funds to cover the bid
|
|
919
934
|
**/
|
|
@@ -926,14 +941,38 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
926
941
|
* Bids must be in allowed increments
|
|
927
942
|
**/
|
|
928
943
|
InvalidBidAmount: AugmentedError<ApiType>;
|
|
944
|
+
/**
|
|
945
|
+
* The revealed maximum and salt do not match the pending bid's hash.
|
|
946
|
+
**/
|
|
947
|
+
InvalidBidCommitment: AugmentedError<ApiType>;
|
|
948
|
+
/**
|
|
949
|
+
* The revealed maximum is lower than the public bid.
|
|
950
|
+
**/
|
|
951
|
+
InvalidBidRange: AugmentedError<ApiType>;
|
|
952
|
+
/**
|
|
953
|
+
* A maximum must be revealed in a block after submission and within the reveal window.
|
|
954
|
+
**/
|
|
955
|
+
InvalidRevealBlock: AugmentedError<ApiType>;
|
|
956
|
+
/**
|
|
957
|
+
* The miner has no pending bid with a committed maximum to reveal.
|
|
958
|
+
**/
|
|
959
|
+
MissingBidCommitment: AugmentedError<ApiType>;
|
|
929
960
|
/**
|
|
930
961
|
* Mining slot bidding currently requires a prior operational-account upgrade.
|
|
931
962
|
**/
|
|
932
963
|
OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
|
|
964
|
+
/**
|
|
965
|
+
* Bidding with a committed maximum is not enabled for the current auction frame.
|
|
966
|
+
**/
|
|
967
|
+
RangeAuctionNotActive: AugmentedError<ApiType>;
|
|
933
968
|
/**
|
|
934
969
|
* Bidding for the next cohort has closed
|
|
935
970
|
**/
|
|
936
971
|
SlotNotTakingBids: AugmentedError<ApiType>;
|
|
972
|
+
/**
|
|
973
|
+
* This block has reached the maximum number of pending bid submissions.
|
|
974
|
+
**/
|
|
975
|
+
TooManyBidCommitments: AugmentedError<ApiType>;
|
|
937
976
|
/**
|
|
938
977
|
* The cohort registration overflowed
|
|
939
978
|
**/
|
|
@@ -942,6 +981,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
942
981
|
* The argonots on hold cannot be released
|
|
943
982
|
**/
|
|
944
983
|
UnrecoverableHold: AugmentedError<ApiType>;
|
|
984
|
+
/**
|
|
985
|
+
* The bid targets a different auction frame than the current one.
|
|
986
|
+
**/
|
|
987
|
+
WrongBidFrame: AugmentedError<ApiType>;
|
|
945
988
|
};
|
|
946
989
|
mint: {
|
|
947
990
|
TooManyPendingMints: AugmentedError<ApiType>;
|
|
@@ -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
|
|
@@ -401,7 +400,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
401
400
|
lockId: u64,
|
|
402
401
|
vaultId: u32,
|
|
403
402
|
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis,
|
|
404
|
-
|
|
403
|
+
securitizationMicrogons: u128,
|
|
405
404
|
accountId: AccountId32,
|
|
406
405
|
securityFee: u128,
|
|
407
406
|
],
|
|
@@ -409,7 +408,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
409
408
|
lockId: u64;
|
|
410
409
|
vaultId: u32;
|
|
411
410
|
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis;
|
|
412
|
-
|
|
411
|
+
securitizationMicrogons: u128;
|
|
413
412
|
accountId: AccountId32;
|
|
414
413
|
securityFee: u128;
|
|
415
414
|
}
|
|
@@ -419,7 +418,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
419
418
|
[lockId: u64, vaultId: u32, isFlexible: bool],
|
|
420
419
|
{ lockId: u64; vaultId: u32; isFlexible: bool }
|
|
421
420
|
>;
|
|
422
|
-
|
|
421
|
+
BitcoinLockGuaranteeSet: AugmentedEvent<
|
|
423
422
|
ApiType,
|
|
424
423
|
[
|
|
425
424
|
lockId: u64,
|
|
@@ -1114,6 +1113,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1114
1113
|
>;
|
|
1115
1114
|
};
|
|
1116
1115
|
miningSlot: {
|
|
1116
|
+
BidCommitted: AugmentedEvent<
|
|
1117
|
+
ApiType,
|
|
1118
|
+
[accountId: AccountId32, targetFrameId: u64],
|
|
1119
|
+
{ accountId: AccountId32; targetFrameId: u64 }
|
|
1120
|
+
>;
|
|
1121
|
+
BidLost: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1122
|
+
BidRejected: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1123
|
+
BidRevealed: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1117
1124
|
/**
|
|
1118
1125
|
* Bids are closed due to the VRF randomized function triggering
|
|
1119
1126
|
**/
|
|
@@ -1164,6 +1171,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1164
1171
|
[accountId: AccountId32, preservedArgonotHold: bool],
|
|
1165
1172
|
{ accountId: AccountId32; preservedArgonotHold: bool }
|
|
1166
1173
|
>;
|
|
1174
|
+
WinningBidPriceChanged: AugmentedEvent<
|
|
1175
|
+
ApiType,
|
|
1176
|
+
[accountId: AccountId32, bidAmount: u128],
|
|
1177
|
+
{ accountId: AccountId32; bidAmount: u128 }
|
|
1178
|
+
>;
|
|
1167
1179
|
};
|
|
1168
1180
|
mint: {
|
|
1169
1181
|
/**
|
|
@@ -2120,8 +2132,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2120
2132
|
>;
|
|
2121
2133
|
RewardEconomicsConfigured: AugmentedEvent<
|
|
2122
2134
|
ApiType,
|
|
2123
|
-
[targetBitcoinPercent: Percent],
|
|
2124
|
-
{ targetBitcoinPercent: Percent }
|
|
2135
|
+
[targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent],
|
|
2136
|
+
{ targetBitcoinPercent: Percent; upstreamParticipationFactor: Percent }
|
|
2125
2137
|
>;
|
|
2126
2138
|
};
|
|
2127
2139
|
txPause: {
|
|
@@ -2261,14 +2273,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2261
2273
|
[
|
|
2262
2274
|
vaultId: u32,
|
|
2263
2275
|
locker: AccountId32,
|
|
2264
|
-
|
|
2276
|
+
securitizationMicrogons: u128,
|
|
2265
2277
|
feeRevenue: u128,
|
|
2266
2278
|
didUseFeeCoupon: bool,
|
|
2267
2279
|
],
|
|
2268
2280
|
{
|
|
2269
2281
|
vaultId: u32;
|
|
2270
2282
|
locker: AccountId32;
|
|
2271
|
-
|
|
2283
|
+
securitizationMicrogons: u128;
|
|
2272
2284
|
feeRevenue: u128;
|
|
2273
2285
|
didUseFeeCoupon: bool;
|
|
2274
2286
|
}
|
|
@@ -2299,30 +2311,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2299
2311
|
>;
|
|
2300
2312
|
VaultCreated: AugmentedEvent<
|
|
2301
2313
|
ApiType,
|
|
2302
|
-
[
|
|
2303
|
-
|
|
2304
|
-
securitization: u128,
|
|
2305
|
-
securitizationRatio: u128,
|
|
2306
|
-
operatorAccountId: AccountId32,
|
|
2307
|
-
openedTick: u64,
|
|
2308
|
-
],
|
|
2309
|
-
{
|
|
2310
|
-
vaultId: u32;
|
|
2311
|
-
securitization: u128;
|
|
2312
|
-
securitizationRatio: u128;
|
|
2313
|
-
operatorAccountId: AccountId32;
|
|
2314
|
-
openedTick: u64;
|
|
2315
|
-
}
|
|
2314
|
+
[vaultId: u32, securitization: u128, operatorAccountId: AccountId32, openedTick: u64],
|
|
2315
|
+
{ vaultId: u32; securitization: u128; operatorAccountId: AccountId32; openedTick: u64 }
|
|
2316
2316
|
>;
|
|
2317
2317
|
VaultModified: AugmentedEvent<
|
|
2318
2318
|
ApiType,
|
|
2319
|
-
[vaultId: u32, securitization: u128, securitizationTarget: u128
|
|
2320
|
-
{
|
|
2321
|
-
vaultId: u32;
|
|
2322
|
-
securitization: u128;
|
|
2323
|
-
securitizationTarget: u128;
|
|
2324
|
-
securitizationRatio: u128;
|
|
2325
|
-
}
|
|
2319
|
+
[vaultId: u32, securitization: u128, securitizationTarget: u128],
|
|
2320
|
+
{ vaultId: u32; securitization: u128; securitizationTarget: u128 }
|
|
2326
2321
|
>;
|
|
2327
2322
|
/**
|
|
2328
2323
|
* Vault revenue was not collected within the required window, so has been burned
|
|
@@ -50,7 +50,7 @@ import type {
|
|
|
50
50
|
ArgonPrimitivesNotaryNotaryRecord,
|
|
51
51
|
ArgonPrimitivesProvidersBlockSealerInfo,
|
|
52
52
|
ArgonPrimitivesTickTicker,
|
|
53
|
-
|
|
53
|
+
ArgonPrimitivesTreasuryNetworkPositionQuantities,
|
|
54
54
|
ArgonPrimitivesVault,
|
|
55
55
|
ArgonPrimitivesVaultVaultArgonotSecuritization,
|
|
56
56
|
FrameSupportDispatchPerDispatchClassWeight,
|
|
@@ -95,7 +95,9 @@ import type {
|
|
|
95
95
|
PalletGrandpaStoredState,
|
|
96
96
|
PalletLocalchainTransferQueuedTransferOut,
|
|
97
97
|
PalletMiningSlotMinerNonceScoring,
|
|
98
|
+
PalletMiningSlotPendingBid,
|
|
98
99
|
PalletMiningSlotSeatPriceStats,
|
|
100
|
+
PalletMiningSlotStandingBid,
|
|
99
101
|
PalletMintMintAction,
|
|
100
102
|
PalletMintMintQueueCursor,
|
|
101
103
|
PalletMintPendingBitcoinMint,
|
|
@@ -113,6 +115,7 @@ import type {
|
|
|
113
115
|
PalletTreasuryBondLot,
|
|
114
116
|
PalletTreasuryBondLotSummary,
|
|
115
117
|
PalletTreasuryFrameArgonotBondParticipants,
|
|
118
|
+
PalletTreasuryFrameVaultBitcoin,
|
|
116
119
|
PalletTreasuryFrameVaultCapital,
|
|
117
120
|
PalletTreasuryPositionsPosition,
|
|
118
121
|
PalletTreasuryVaultBondState,
|
|
@@ -255,13 +258,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
255
258
|
[u32, AccountId32]
|
|
256
259
|
>;
|
|
257
260
|
/**
|
|
258
|
-
* Highest Bitcoin UTXO sync height
|
|
261
|
+
* Highest Bitcoin UTXO sync height checked for funding expirations; failures remain pending.
|
|
259
262
|
**/
|
|
260
263
|
lastProcessedSecuritizationHoldBitcoinHeight: AugmentedQuery<
|
|
261
264
|
ApiType,
|
|
262
265
|
() => Observable<Option<u64>>,
|
|
263
266
|
[]
|
|
264
267
|
>;
|
|
268
|
+
/**
|
|
269
|
+
* Resume retries after this Lock so a persistent failure cannot starve other expirations.
|
|
270
|
+
**/
|
|
271
|
+
lastRetriedLockExpiration: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
265
272
|
/**
|
|
266
273
|
* Utxos that have been requested to be cosigned for releasing
|
|
267
274
|
**/
|
|
@@ -367,6 +374,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
367
374
|
) => Observable<Option<PalletBitcoinLocksOrphanedUtxo>>,
|
|
368
375
|
[AccountId32, ArgonPrimitivesBitcoinUtxoRef]
|
|
369
376
|
>;
|
|
377
|
+
/**
|
|
378
|
+
* Locks whose funding-window or terminal expiration failed and must be retried.
|
|
379
|
+
**/
|
|
380
|
+
pendingLockExpirations: AugmentedQuery<
|
|
381
|
+
ApiType,
|
|
382
|
+
(arg: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>,
|
|
383
|
+
[u64]
|
|
384
|
+
>;
|
|
370
385
|
/**
|
|
371
386
|
* Cosigned partial releases awaiting confirmation on Bitcoin.
|
|
372
387
|
**/
|
|
@@ -1088,6 +1103,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1088
1103
|
* Argonots that must be locked to take a Miner role
|
|
1089
1104
|
**/
|
|
1090
1105
|
argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
1106
|
+
auctionAdmissionClosed: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Zero on fresh chains. Upgrades finish the deployed fixed-price auction first.
|
|
1109
|
+
**/
|
|
1110
|
+
auctionRulesStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1091
1111
|
/**
|
|
1092
1112
|
* Winning bid totals and seat counts for averaging prices over the last 10 frames (newest
|
|
1093
1113
|
* first).
|
|
@@ -1097,6 +1117,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1097
1117
|
() => Observable<Vec<PalletMiningSlotSeatPriceStats>>,
|
|
1098
1118
|
[]
|
|
1099
1119
|
>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Vector position is canonical commitment order, including calls inside utility batches.
|
|
1122
|
+
**/
|
|
1123
|
+
bidBatches: AugmentedQuery<
|
|
1124
|
+
ApiType,
|
|
1125
|
+
(arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
|
|
1126
|
+
[u32]
|
|
1127
|
+
>;
|
|
1100
1128
|
/**
|
|
1101
1129
|
* The cohort set to go into effect in the next slot. The Vec has all
|
|
1102
1130
|
* registrants with their bid amount
|
|
@@ -1118,9 +1146,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1118
1146
|
* The previous 10 frame start ticks
|
|
1119
1147
|
**/
|
|
1120
1148
|
frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Whether the current auction has an accepted price, including a valid zero price.
|
|
1151
|
+
**/
|
|
1152
|
+
hasAcceptedBidPrice: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1121
1153
|
hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1122
1154
|
/**
|
|
1123
|
-
*
|
|
1155
|
+
* Bid activity and accepted prices for the last 10 auctions (newest first).
|
|
1156
|
+
* Activity counts committed submissions and automatic standing-bid price increases.
|
|
1124
1157
|
**/
|
|
1125
1158
|
historicalBidsPerSlot: AugmentedQuery<
|
|
1126
1159
|
ApiType,
|
|
@@ -1131,6 +1164,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1131
1164
|
* Is the next slot still open for bids
|
|
1132
1165
|
**/
|
|
1133
1166
|
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1167
|
+
lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1134
1168
|
/**
|
|
1135
1169
|
* This is a lookup of each miner's nonce to use when picking a best authority to submit a
|
|
1136
1170
|
* block. It's a blake2 256 hash of the miner account id and the block hash at time of
|
|
@@ -1172,6 +1206,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1172
1206
|
* cohorts.
|
|
1173
1207
|
**/
|
|
1174
1208
|
nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1209
|
+
pendingBids: AugmentedQuery<
|
|
1210
|
+
ApiType,
|
|
1211
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotPendingBid>>,
|
|
1212
|
+
[AccountId32]
|
|
1213
|
+
>;
|
|
1175
1214
|
/**
|
|
1176
1215
|
* The miners released in the last block (only kept for a single block)
|
|
1177
1216
|
**/
|
|
@@ -1190,6 +1229,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1190
1229
|
() => Observable<BTreeMap<u64, u32>>,
|
|
1191
1230
|
[]
|
|
1192
1231
|
>;
|
|
1232
|
+
standingBids: AugmentedQuery<
|
|
1233
|
+
ApiType,
|
|
1234
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotStandingBid>>,
|
|
1235
|
+
[AccountId32]
|
|
1236
|
+
>;
|
|
1193
1237
|
/**
|
|
1194
1238
|
* Temporary store the frame info digest
|
|
1195
1239
|
**/
|
|
@@ -1833,6 +1877,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1833
1877
|
() => Observable<Option<PalletTreasuryFrameArgonotBondParticipants>>,
|
|
1834
1878
|
[]
|
|
1835
1879
|
>;
|
|
1880
|
+
/**
|
|
1881
|
+
* Covered Bitcoin locked alongside vault capital for frames using independent reward tiers.
|
|
1882
|
+
**/
|
|
1883
|
+
currentFrameVaultBitcoin: AugmentedQuery<
|
|
1884
|
+
ApiType,
|
|
1885
|
+
() => Observable<Option<PalletTreasuryFrameVaultBitcoin>>,
|
|
1886
|
+
[]
|
|
1887
|
+
>;
|
|
1836
1888
|
/**
|
|
1837
1889
|
* The network bond total and vault capital locked for the current frame's payout.
|
|
1838
1890
|
**/
|
|
@@ -1887,15 +1939,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1887
1939
|
* limit.
|
|
1888
1940
|
**/
|
|
1889
1941
|
totalArgonBondLots: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1942
|
+
/**
|
|
1943
|
+
* Share of reward uplift controlled by upstream participation, frozen at frame start.
|
|
1944
|
+
* Zero disables the requirement; 100% applies the full participation score.
|
|
1945
|
+
**/
|
|
1946
|
+
upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1890
1947
|
};
|
|
1891
1948
|
treasuryPositions: {
|
|
1892
1949
|
/**
|
|
1893
|
-
*
|
|
1894
|
-
* Treasury
|
|
1950
|
+
* Account contribution totals and Vault Bitcoin coverage, maintained as sources change.
|
|
1951
|
+
* Treasury freezes these network quantities at each frame boundary.
|
|
1895
1952
|
**/
|
|
1896
1953
|
networkTotals: AugmentedQuery<
|
|
1897
1954
|
ApiType,
|
|
1898
|
-
() => Observable<
|
|
1955
|
+
() => Observable<ArgonPrimitivesTreasuryNetworkPositionQuantities>,
|
|
1899
1956
|
[]
|
|
1900
1957
|
>;
|
|
1901
1958
|
/**
|