@argonprotocol/mainchain 1.4.9 → 1.4.10-dev.459cb75f
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 +639 -428
- package/browser/index.js +135 -28
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +158 -52
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +639 -428
- package/lib/index.d.ts +639 -428
- package/lib/index.js +134 -28
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +56 -24
- package/src/interfaces/augment-api-errors.ts +39 -15
- package/src/interfaces/augment-api-events.ts +117 -32
- package/src/interfaces/augment-api-query.ts +86 -51
- package/src/interfaces/augment-api-tx.ts +20 -13
- package/src/interfaces/lookup.ts +367 -283
- package/src/interfaces/registry.ts +14 -2
- package/src/interfaces/types-lookup.ts +388 -297
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.10-dev.459cb75f",
|
|
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.
|
|
68
|
+
"@argonprotocol/testing": "1.4.10-dev.459cb75f",
|
|
69
69
|
"@polkadot/typegen": "^16.5.6",
|
|
70
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
71
71
|
"@types/node": "^20",
|
|
@@ -209,11 +209,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
209
209
|
* completes the remaining uncovered amount.
|
|
210
210
|
**/
|
|
211
211
|
minTransferCollateralIncrement: u128 & AugmentedConst<ApiType>;
|
|
212
|
-
/**
|
|
213
|
-
* Retention window, in ticks, for recent Argon transfer evidence used by operational
|
|
214
|
-
* accounts.
|
|
215
|
-
**/
|
|
216
|
-
recentTransferRetentionTicks: u64 & AugmentedConst<ApiType>;
|
|
217
212
|
/**
|
|
218
213
|
* Minting authority tip rate applied to transfer-out requests in basis points.
|
|
219
214
|
**/
|
|
@@ -301,14 +296,25 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
301
296
|
targetPricePerSeat: u128 & AugmentedConst<ApiType>;
|
|
302
297
|
};
|
|
303
298
|
mint: {
|
|
299
|
+
/**
|
|
300
|
+
* The maximum share of a queued bitcoin mint that may be paid in a single frame.
|
|
301
|
+
**/
|
|
302
|
+
bitcoinMintPayoutPercentPerFrame: Percent & AugmentedConst<ApiType>;
|
|
304
303
|
/**
|
|
305
304
|
* The maximum number of mint histories to keep
|
|
306
305
|
**/
|
|
307
306
|
maxMintHistoryToMaintain: u32 & AugmentedConst<ApiType>;
|
|
308
307
|
/**
|
|
309
|
-
* The maximum number of
|
|
308
|
+
* The maximum number of queued bitcoin mints that may receive payouts in a frame.
|
|
309
|
+
**/
|
|
310
|
+
maxPendingMintPayoutWindowSize: u32 & AugmentedConst<ApiType>;
|
|
311
|
+
/**
|
|
312
|
+
* The maximum number of queued mint entries a single bitcoin UTXO may accumulate.
|
|
313
|
+
**/
|
|
314
|
+
maxPendingMintsPerUtxo: u32 & AugmentedConst<ApiType>;
|
|
315
|
+
/**
|
|
316
|
+
* The maximum number of miners that can be paid in a frame.
|
|
310
317
|
**/
|
|
311
|
-
maxPendingMintUtxos: u32 & AugmentedConst<ApiType>;
|
|
312
318
|
maxPossibleMiners: u32 & AugmentedConst<ApiType>;
|
|
313
319
|
};
|
|
314
320
|
multisig: {
|
|
@@ -359,45 +365,59 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
359
365
|
};
|
|
360
366
|
operationalAccounts: {
|
|
361
367
|
/**
|
|
362
|
-
* Additional argon amount (base units) required per
|
|
368
|
+
* Additional argon amount (base units) required per follow-on access code after an account
|
|
369
|
+
* becomes operational.
|
|
363
370
|
**/
|
|
364
|
-
|
|
371
|
+
bitcoinLockSizeForAccessCode: u128 & AugmentedConst<ApiType>;
|
|
365
372
|
/**
|
|
366
|
-
* Maximum number of available
|
|
373
|
+
* Maximum number of available access codes allowed at once.
|
|
367
374
|
**/
|
|
368
|
-
|
|
375
|
+
maxAvailableAccessCodes: u32 & AugmentedConst<ApiType>;
|
|
369
376
|
/**
|
|
370
|
-
* Maximum number of encrypted server bytes stored per
|
|
377
|
+
* Maximum number of encrypted server bytes stored per network account.
|
|
371
378
|
**/
|
|
372
379
|
maxEncryptedServerLen: u32 & AugmentedConst<ApiType>;
|
|
373
380
|
/**
|
|
374
|
-
*
|
|
381
|
+
* Minimum bitcoin amount required to register.
|
|
382
|
+
**/
|
|
383
|
+
minimumBitcoin: u128 & AugmentedConst<ApiType>;
|
|
384
|
+
/**
|
|
385
|
+
* Minimum bond amount required to register.
|
|
386
|
+
**/
|
|
387
|
+
minimumBonds: u128 & AugmentedConst<ApiType>;
|
|
388
|
+
/**
|
|
389
|
+
* Minimum Uniswap transfer amount required to register.
|
|
375
390
|
**/
|
|
376
|
-
|
|
391
|
+
minimumUniswapTransfer: u128 & AugmentedConst<ApiType>;
|
|
377
392
|
/**
|
|
378
393
|
* Mining seats required to become operational.
|
|
379
394
|
**/
|
|
380
395
|
miningSeatsForOperational: u32 & AugmentedConst<ApiType>;
|
|
381
396
|
/**
|
|
382
|
-
* Mining seats required per
|
|
397
|
+
* Mining seats required per follow-on access code after an account becomes
|
|
398
|
+
* operational.
|
|
383
399
|
**/
|
|
384
|
-
|
|
400
|
+
miningSeatsPerAccessCode: u32 & AugmentedConst<ApiType>;
|
|
385
401
|
/**
|
|
386
|
-
*
|
|
402
|
+
* Default bonus reward paid every operational certification threshold.
|
|
387
403
|
**/
|
|
388
|
-
|
|
404
|
+
operationalCertificationBonusReward: u128 & AugmentedConst<ApiType>;
|
|
405
|
+
/**
|
|
406
|
+
* Default reward paid when an account becomes operationally certified.
|
|
407
|
+
**/
|
|
408
|
+
operationalCertificationReward: u128 & AugmentedConst<ApiType>;
|
|
389
409
|
/**
|
|
390
|
-
*
|
|
410
|
+
* Number of operational certifications required per bonus reward.
|
|
391
411
|
**/
|
|
392
|
-
|
|
412
|
+
operationalCertificationsPerBonusReward: u32 & AugmentedConst<ApiType>;
|
|
393
413
|
/**
|
|
394
|
-
*
|
|
414
|
+
* Minimum total Uniswap transfer amount required for operational certification.
|
|
395
415
|
**/
|
|
396
|
-
|
|
416
|
+
operationalMinimumUniswapTransfer: u128 & AugmentedConst<ApiType>;
|
|
397
417
|
/**
|
|
398
|
-
*
|
|
418
|
+
* Minimum vault securitization required to become operational.
|
|
399
419
|
**/
|
|
400
|
-
|
|
420
|
+
operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
|
|
401
421
|
};
|
|
402
422
|
ownership: {
|
|
403
423
|
/**
|
|
@@ -560,6 +580,14 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
560
580
|
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
|
|
561
581
|
};
|
|
562
582
|
treasury: {
|
|
583
|
+
/**
|
|
584
|
+
* The maximum number of active Argonot bond lots.
|
|
585
|
+
**/
|
|
586
|
+
maxActiveArgonotBondLots: u32 & AugmentedConst<ApiType>;
|
|
587
|
+
/**
|
|
588
|
+
* The maximum percent of ownership-token circulation that can be bonded.
|
|
589
|
+
**/
|
|
590
|
+
maxArgonotBondedPercentOfCirculation: Percent & AugmentedConst<ApiType>;
|
|
563
591
|
/**
|
|
564
592
|
* The maximum number of bond lots whose release delay may mature in a single frame.
|
|
565
593
|
**/
|
|
@@ -580,6 +608,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
580
608
|
* Treasury pallet id retained in metadata for account derivation.
|
|
581
609
|
**/
|
|
582
610
|
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
|
611
|
+
/**
|
|
612
|
+
* Percent of the full bid pool paid to Argonot bonds before vault distribution.
|
|
613
|
+
**/
|
|
614
|
+
percentForArgonotBondPool: Percent & AugmentedConst<ApiType>;
|
|
583
615
|
/**
|
|
584
616
|
* Percent of the bid pool reserved for treasury reserves.
|
|
585
617
|
**/
|
|
@@ -369,6 +369,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
369
369
|
* The account has not registered a council signer for this destination chain.
|
|
370
370
|
**/
|
|
371
371
|
CouncilSignerNotRegistered: AugmentedError<ApiType>;
|
|
372
|
+
/**
|
|
373
|
+
* The account already has a council signer rotation pending for this destination chain.
|
|
374
|
+
**/
|
|
375
|
+
CouncilSignerRotationPending: AugmentedError<ApiType>;
|
|
372
376
|
/**
|
|
373
377
|
* The supplied Global Issuance Council contains the same account more than once.
|
|
374
378
|
**/
|
|
@@ -791,7 +795,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
791
795
|
**/
|
|
792
796
|
InvalidBidAmount: AugmentedError<ApiType>;
|
|
793
797
|
/**
|
|
794
|
-
* Mining slot bidding currently requires prior operational-account
|
|
798
|
+
* Mining slot bidding currently requires a prior operational-account upgrade.
|
|
795
799
|
**/
|
|
796
800
|
OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
|
|
797
801
|
/**
|
|
@@ -975,29 +979,37 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
975
979
|
**/
|
|
976
980
|
AccountAlreadyLinked: AugmentedError<ApiType>;
|
|
977
981
|
/**
|
|
978
|
-
* The account is already
|
|
982
|
+
* The account is already operationally certified.
|
|
979
983
|
**/
|
|
980
|
-
|
|
984
|
+
AlreadyOperationallyCertified: AugmentedError<ApiType>;
|
|
981
985
|
/**
|
|
982
986
|
* The caller already registered an operational account.
|
|
983
987
|
**/
|
|
984
988
|
AlreadyRegistered: AugmentedError<ApiType>;
|
|
989
|
+
/**
|
|
990
|
+
* An account cannot grant access to itself.
|
|
991
|
+
**/
|
|
992
|
+
CannotGrantAccessToSelf: AugmentedError<ApiType>;
|
|
985
993
|
/**
|
|
986
994
|
* The encrypted server payload exceeds the configured max length.
|
|
987
995
|
**/
|
|
988
996
|
EncryptedServerTooLong: AugmentedError<ApiType>;
|
|
989
997
|
/**
|
|
990
|
-
*
|
|
998
|
+
* The upstream access proof is invalid.
|
|
991
999
|
**/
|
|
992
|
-
|
|
1000
|
+
InvalidAccessProof: AugmentedError<ApiType>;
|
|
993
1001
|
/**
|
|
994
|
-
*
|
|
1002
|
+
* One of the linked account ownership proofs is invalid.
|
|
995
1003
|
**/
|
|
996
|
-
|
|
1004
|
+
InvalidAccountProof: AugmentedError<ApiType>;
|
|
997
1005
|
/**
|
|
998
1006
|
* The caller is not one of the accounts included in the registration.
|
|
999
1007
|
**/
|
|
1000
1008
|
InvalidRegistrationSubmitter: AugmentedError<ApiType>;
|
|
1009
|
+
/**
|
|
1010
|
+
* The requested account does not currently satisfy the minimums.
|
|
1011
|
+
**/
|
|
1012
|
+
MinimumsNotMet: AugmentedError<ApiType>;
|
|
1001
1013
|
/**
|
|
1002
1014
|
* The operational account has no pending rewards to claim.
|
|
1003
1015
|
**/
|
|
@@ -1011,17 +1023,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1011
1023
|
**/
|
|
1012
1024
|
NotEligibleForActivation: AugmentedError<ApiType>;
|
|
1013
1025
|
/**
|
|
1014
|
-
* The
|
|
1026
|
+
* The requested account has not registered operational accounts.
|
|
1015
1027
|
**/
|
|
1016
1028
|
NotOperationalAccount: AugmentedError<ApiType>;
|
|
1017
1029
|
/**
|
|
1018
|
-
* The caller is not the
|
|
1030
|
+
* The caller is not the upstream account for the requested downstream account.
|
|
1019
1031
|
**/
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* The referral proof has expired.
|
|
1023
|
-
**/
|
|
1024
|
-
ReferralProofExpired: AugmentedError<ApiType>;
|
|
1032
|
+
NotUpstreamOfDownstream: AugmentedError<ApiType>;
|
|
1025
1033
|
/**
|
|
1026
1034
|
* A valid invite is required to register an operational account.
|
|
1027
1035
|
**/
|
|
@@ -1042,6 +1050,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1042
1050
|
* The treasury does not currently have enough available reserves for the claim.
|
|
1043
1051
|
**/
|
|
1044
1052
|
TreasuryInsufficientFunds: AugmentedError<ApiType>;
|
|
1053
|
+
/**
|
|
1054
|
+
* The requested upstream account does not have any available access codes.
|
|
1055
|
+
**/
|
|
1056
|
+
UpstreamHasNoAvailableAccessCodes: AugmentedError<ApiType>;
|
|
1057
|
+
/**
|
|
1058
|
+
* The requested upstream account does not have a registered operational account.
|
|
1059
|
+
**/
|
|
1060
|
+
UpstreamNotOperationalAccount: AugmentedError<ApiType>;
|
|
1045
1061
|
};
|
|
1046
1062
|
ownership: {
|
|
1047
1063
|
/**
|
|
@@ -1200,6 +1216,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1200
1216
|
* treasury backing.
|
|
1201
1217
|
**/
|
|
1202
1218
|
ActiveBondAmountBelowEncumberedBacking: AugmentedError<ApiType>;
|
|
1219
|
+
/**
|
|
1220
|
+
* The Argonot bond purchase would exceed the active circulation cap.
|
|
1221
|
+
**/
|
|
1222
|
+
ArgonotBondPurchaseAboveCap: AugmentedError<ApiType>;
|
|
1223
|
+
/**
|
|
1224
|
+
* The Argonot bond purchase did not beat the current active-set cutoff.
|
|
1225
|
+
**/
|
|
1226
|
+
ArgonotBondPurchaseBelowCutoff: AugmentedError<ApiType>;
|
|
1203
1227
|
/**
|
|
1204
1228
|
* The bond lot is already scheduled for release.
|
|
1205
1229
|
**/
|
|
@@ -1352,7 +1376,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1352
1376
|
**/
|
|
1353
1377
|
NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
|
|
1354
1378
|
/**
|
|
1355
|
-
* Vault creation currently requires prior operational-account
|
|
1379
|
+
* Vault creation currently requires a prior operational-account upgrade.
|
|
1356
1380
|
**/
|
|
1357
1381
|
OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
|
|
1358
1382
|
/**
|
|
@@ -49,6 +49,7 @@ import type {
|
|
|
49
49
|
PalletMintMintType,
|
|
50
50
|
PalletMultisigTimepoint,
|
|
51
51
|
PalletProxyDepositKind,
|
|
52
|
+
PalletTreasuryBondProgramId,
|
|
52
53
|
PalletTreasuryBondReleaseReason,
|
|
53
54
|
SpConsensusGrandpaAppPublic,
|
|
54
55
|
SpRuntimeDispatchError,
|
|
@@ -606,6 +607,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
606
607
|
[destinationChain: PalletCrosschainTransferSourceChain, councilHash: H256],
|
|
607
608
|
{ destinationChain: PalletCrosschainTransferSourceChain; councilHash: H256 }
|
|
608
609
|
>;
|
|
610
|
+
/**
|
|
611
|
+
* A frame transition queued a new Global Issuance Council for destination-chain approval.
|
|
612
|
+
**/
|
|
613
|
+
GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
|
|
614
|
+
ApiType,
|
|
615
|
+
[
|
|
616
|
+
destinationChain: PalletCrosschainTransferSourceChain,
|
|
617
|
+
councilHash: H256,
|
|
618
|
+
approvalQueueNonce: u64,
|
|
619
|
+
],
|
|
620
|
+
{
|
|
621
|
+
destinationChain: PalletCrosschainTransferSourceChain;
|
|
622
|
+
councilHash: H256;
|
|
623
|
+
approvalQueueNonce: u64;
|
|
624
|
+
}
|
|
625
|
+
>;
|
|
609
626
|
/**
|
|
610
627
|
* Root updated the minimum normalized microgon value required to register a Minting
|
|
611
628
|
* Authority on one destination chain.
|
|
@@ -1241,20 +1258,28 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1241
1258
|
};
|
|
1242
1259
|
operationalAccounts: {
|
|
1243
1260
|
/**
|
|
1244
|
-
* Account has
|
|
1261
|
+
* Account has met the registration minimums.
|
|
1262
|
+
**/
|
|
1263
|
+
AccountMeetsMinimums: AugmentedEvent<
|
|
1264
|
+
ApiType,
|
|
1265
|
+
[account: AccountId32],
|
|
1266
|
+
{ account: AccountId32 }
|
|
1267
|
+
>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Account has become operationally certified.
|
|
1245
1270
|
**/
|
|
1246
|
-
|
|
1271
|
+
AccountOperationallyCertified: AugmentedEvent<
|
|
1247
1272
|
ApiType,
|
|
1248
1273
|
[account: AccountId32],
|
|
1249
1274
|
{ account: AccountId32 }
|
|
1250
1275
|
>;
|
|
1251
1276
|
/**
|
|
1252
|
-
*
|
|
1277
|
+
* An upstream account updated the encrypted server payload for a downstream account.
|
|
1253
1278
|
**/
|
|
1254
1279
|
EncryptedServerUpdated: AugmentedEvent<
|
|
1255
1280
|
ApiType,
|
|
1256
|
-
[
|
|
1257
|
-
{
|
|
1281
|
+
[upstreamAccount: AccountId32, downstreamAccount: AccountId32],
|
|
1282
|
+
{ upstreamAccount: AccountId32; downstreamAccount: AccountId32 }
|
|
1258
1283
|
>;
|
|
1259
1284
|
/**
|
|
1260
1285
|
* An operational account was registered with its linked accounts.
|
|
@@ -1264,16 +1289,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1264
1289
|
[
|
|
1265
1290
|
operationalAccount: AccountId32,
|
|
1266
1291
|
vaultAccount: AccountId32,
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
sponsor: Option<AccountId32>,
|
|
1292
|
+
miningAccount: AccountId32,
|
|
1293
|
+
upstreamAccount: Option<AccountId32>,
|
|
1270
1294
|
],
|
|
1271
1295
|
{
|
|
1272
1296
|
operationalAccount: AccountId32;
|
|
1273
1297
|
vaultAccount: AccountId32;
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
sponsor: Option<AccountId32>;
|
|
1298
|
+
miningAccount: AccountId32;
|
|
1299
|
+
upstreamAccount: Option<AccountId32>;
|
|
1277
1300
|
}
|
|
1278
1301
|
>;
|
|
1279
1302
|
/**
|
|
@@ -1284,20 +1307,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1284
1307
|
[
|
|
1285
1308
|
account: AccountId32,
|
|
1286
1309
|
updateOperationalProgress: bool,
|
|
1287
|
-
|
|
1310
|
+
meetsMinimums: bool,
|
|
1311
|
+
uniswapArgonTransfersInAmount: u128,
|
|
1312
|
+
accountBitcoinAmount: u128,
|
|
1313
|
+
accountVaultBondAmount: u128,
|
|
1288
1314
|
vaultCreated: bool,
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
observedMiningSeatTotal: u32,
|
|
1315
|
+
operatorVaultBitcoinAmount: u128,
|
|
1316
|
+
miningSeatCount: u32,
|
|
1292
1317
|
],
|
|
1293
1318
|
{
|
|
1294
1319
|
account: AccountId32;
|
|
1295
1320
|
updateOperationalProgress: bool;
|
|
1296
|
-
|
|
1321
|
+
meetsMinimums: bool;
|
|
1322
|
+
uniswapArgonTransfersInAmount: u128;
|
|
1323
|
+
accountBitcoinAmount: u128;
|
|
1324
|
+
accountVaultBondAmount: u128;
|
|
1297
1325
|
vaultCreated: bool;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
observedMiningSeatTotal: u32;
|
|
1326
|
+
operatorVaultBitcoinAmount: u128;
|
|
1327
|
+
miningSeatCount: u32;
|
|
1301
1328
|
}
|
|
1302
1329
|
>;
|
|
1303
1330
|
/**
|
|
@@ -1339,8 +1366,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1339
1366
|
**/
|
|
1340
1367
|
RewardsConfigUpdated: AugmentedEvent<
|
|
1341
1368
|
ApiType,
|
|
1342
|
-
[
|
|
1343
|
-
{
|
|
1369
|
+
[operationalCertificationReward: u128, operationalCertificationBonusReward: u128],
|
|
1370
|
+
{ operationalCertificationReward: u128; operationalCertificationBonusReward: u128 }
|
|
1344
1371
|
>;
|
|
1345
1372
|
};
|
|
1346
1373
|
ownership: {
|
|
@@ -1804,20 +1831,42 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1804
1831
|
};
|
|
1805
1832
|
treasury: {
|
|
1806
1833
|
/**
|
|
1807
|
-
* A bond purchase entered
|
|
1834
|
+
* A bond purchase entered its active program set.
|
|
1808
1835
|
**/
|
|
1809
1836
|
BondLotPurchased: AugmentedEvent<
|
|
1810
1837
|
ApiType,
|
|
1811
|
-
[
|
|
1812
|
-
|
|
1838
|
+
[
|
|
1839
|
+
programId: PalletTreasuryBondProgramId,
|
|
1840
|
+
bondLotId: u64,
|
|
1841
|
+
accountId: AccountId32,
|
|
1842
|
+
bonds: u32,
|
|
1843
|
+
],
|
|
1844
|
+
{
|
|
1845
|
+
programId: PalletTreasuryBondProgramId;
|
|
1846
|
+
bondLotId: u64;
|
|
1847
|
+
accountId: AccountId32;
|
|
1848
|
+
bonds: u32;
|
|
1849
|
+
}
|
|
1813
1850
|
>;
|
|
1814
1851
|
/**
|
|
1815
1852
|
* A bond lot was released.
|
|
1816
1853
|
**/
|
|
1817
1854
|
BondLotReleased: AugmentedEvent<
|
|
1818
1855
|
ApiType,
|
|
1819
|
-
[
|
|
1820
|
-
|
|
1856
|
+
[
|
|
1857
|
+
frameId: u64,
|
|
1858
|
+
programId: PalletTreasuryBondProgramId,
|
|
1859
|
+
bondLotId: u64,
|
|
1860
|
+
accountId: AccountId32,
|
|
1861
|
+
bonds: u32,
|
|
1862
|
+
],
|
|
1863
|
+
{
|
|
1864
|
+
frameId: u64;
|
|
1865
|
+
programId: PalletTreasuryBondProgramId;
|
|
1866
|
+
bondLotId: u64;
|
|
1867
|
+
accountId: AccountId32;
|
|
1868
|
+
bonds: u32;
|
|
1869
|
+
}
|
|
1821
1870
|
>;
|
|
1822
1871
|
/**
|
|
1823
1872
|
* A bond lot was removed from future frames and scheduled for release.
|
|
@@ -1825,7 +1874,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1825
1874
|
BondLotReleaseScheduled: AugmentedEvent<
|
|
1826
1875
|
ApiType,
|
|
1827
1876
|
[
|
|
1828
|
-
|
|
1877
|
+
programId: PalletTreasuryBondProgramId,
|
|
1829
1878
|
bondLotId: u64,
|
|
1830
1879
|
accountId: AccountId32,
|
|
1831
1880
|
bonds: u32,
|
|
@@ -1833,7 +1882,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1833
1882
|
reason: PalletTreasuryBondReleaseReason,
|
|
1834
1883
|
],
|
|
1835
1884
|
{
|
|
1836
|
-
|
|
1885
|
+
programId: PalletTreasuryBondProgramId;
|
|
1837
1886
|
bondLotId: u64;
|
|
1838
1887
|
accountId: AccountId32;
|
|
1839
1888
|
bonds: u32;
|
|
@@ -1841,6 +1890,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1841
1890
|
reason: PalletTreasuryBondReleaseReason;
|
|
1842
1891
|
}
|
|
1843
1892
|
>;
|
|
1893
|
+
/**
|
|
1894
|
+
* An error occurred while paying frame earnings for an Argonot bond lot.
|
|
1895
|
+
**/
|
|
1896
|
+
CouldNotDistributeEarningsToArgonotBondLot: AugmentedEvent<
|
|
1897
|
+
ApiType,
|
|
1898
|
+
[
|
|
1899
|
+
frameId: u64,
|
|
1900
|
+
bondLotId: u64,
|
|
1901
|
+
accountId: AccountId32,
|
|
1902
|
+
amount: u128,
|
|
1903
|
+
dispatchError: SpRuntimeDispatchError,
|
|
1904
|
+
],
|
|
1905
|
+
{
|
|
1906
|
+
frameId: u64;
|
|
1907
|
+
bondLotId: u64;
|
|
1908
|
+
accountId: AccountId32;
|
|
1909
|
+
amount: u128;
|
|
1910
|
+
dispatchError: SpRuntimeDispatchError;
|
|
1911
|
+
}
|
|
1912
|
+
>;
|
|
1844
1913
|
/**
|
|
1845
1914
|
* An error occurred while paying frame earnings for a bond lot.
|
|
1846
1915
|
**/
|
|
@@ -1870,7 +1939,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1870
1939
|
ApiType,
|
|
1871
1940
|
[
|
|
1872
1941
|
frameId: u64,
|
|
1873
|
-
|
|
1942
|
+
programId: PalletTreasuryBondProgramId,
|
|
1874
1943
|
bondLotId: u64,
|
|
1875
1944
|
amount: u128,
|
|
1876
1945
|
accountId: AccountId32,
|
|
@@ -1878,7 +1947,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1878
1947
|
],
|
|
1879
1948
|
{
|
|
1880
1949
|
frameId: u64;
|
|
1881
|
-
|
|
1950
|
+
programId: PalletTreasuryBondProgramId;
|
|
1882
1951
|
bondLotId: u64;
|
|
1883
1952
|
amount: u128;
|
|
1884
1953
|
accountId: AccountId32;
|
|
@@ -1907,8 +1976,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1907
1976
|
**/
|
|
1908
1977
|
FrameEarningsDistributed: AugmentedEvent<
|
|
1909
1978
|
ApiType,
|
|
1910
|
-
[
|
|
1911
|
-
|
|
1979
|
+
[
|
|
1980
|
+
frameId: u64,
|
|
1981
|
+
bidPoolDistributed: u128,
|
|
1982
|
+
argonotBondPoolDistributed: u128,
|
|
1983
|
+
vaultBidPoolDistributed: u128,
|
|
1984
|
+
treasuryRefunds: u128,
|
|
1985
|
+
treasuryReserves: u128,
|
|
1986
|
+
participatingVaults: u32,
|
|
1987
|
+
],
|
|
1988
|
+
{
|
|
1989
|
+
frameId: u64;
|
|
1990
|
+
bidPoolDistributed: u128;
|
|
1991
|
+
argonotBondPoolDistributed: u128;
|
|
1992
|
+
vaultBidPoolDistributed: u128;
|
|
1993
|
+
treasuryRefunds: u128;
|
|
1994
|
+
treasuryReserves: u128;
|
|
1995
|
+
participatingVaults: u32;
|
|
1996
|
+
}
|
|
1912
1997
|
>;
|
|
1913
1998
|
/**
|
|
1914
1999
|
* The current frame's vault capital was locked in.
|