@argonprotocol/mainchain 1.0.13 → 1.0.15
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/lib/cjs/interfaces/augment-api-errors.d.ts +12 -0
- package/lib/cjs/interfaces/augment-api-events.d.ts +27 -1
- package/lib/cjs/interfaces/augment-api-tx.d.ts +2 -2
- package/lib/cjs/interfaces/lookup.d.ts +81 -66
- package/lib/cjs/interfaces/lookup.js +83 -66
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +91 -71
- package/lib/esm/interfaces/augment-api-errors.d.ts +12 -0
- package/lib/esm/interfaces/augment-api-events.d.ts +27 -1
- package/lib/esm/interfaces/augment-api-tx.d.ts +2 -2
- package/lib/esm/interfaces/lookup.d.ts +81 -66
- package/lib/esm/interfaces/lookup.js +83 -66
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/types-lookup.d.ts +91 -71
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/augment-api-errors.d.ts +12 -0
- package/lib/types/interfaces/augment-api-events.d.ts +27 -1
- package/lib/types/interfaces/augment-api-tx.d.ts +2 -2
- package/lib/types/interfaces/lookup.d.ts +81 -66
- package/lib/types/interfaces/types-lookup.d.ts +91 -71
- package/package.json +1 -1
|
@@ -253,8 +253,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
253
253
|
readonly bidAmount: u128;
|
|
254
254
|
readonly index: u32;
|
|
255
255
|
} & Struct;
|
|
256
|
-
readonly
|
|
257
|
-
readonly
|
|
256
|
+
readonly isSlotBidderOut: boolean;
|
|
257
|
+
readonly asSlotBidderOut: {
|
|
258
|
+
readonly accountId: AccountId32;
|
|
259
|
+
readonly bidAmount: u128;
|
|
260
|
+
readonly obligationId: Option<u64>;
|
|
261
|
+
} & Struct;
|
|
262
|
+
readonly isSlotBidderDropped: boolean;
|
|
263
|
+
readonly asSlotBidderDropped: {
|
|
258
264
|
readonly accountId: AccountId32;
|
|
259
265
|
readonly obligationId: Option<u64>;
|
|
260
266
|
readonly preservedArgonotHold: bool;
|
|
@@ -277,7 +283,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
277
283
|
readonly ticksBetweenSlots: u64;
|
|
278
284
|
readonly slotBiddingStartAfterTicks: u64;
|
|
279
285
|
} & Struct;
|
|
280
|
-
readonly
|
|
286
|
+
readonly isMiningBidsClosed: boolean;
|
|
287
|
+
readonly asMiningBidsClosed: {
|
|
288
|
+
readonly cohortId: u64;
|
|
289
|
+
} & Struct;
|
|
290
|
+
readonly isReleaseBidError: boolean;
|
|
291
|
+
readonly asReleaseBidError: {
|
|
292
|
+
readonly accountId: AccountId32;
|
|
293
|
+
readonly obligationId: Option<u64>;
|
|
294
|
+
readonly error: SpRuntimeDispatchError;
|
|
295
|
+
} & Struct;
|
|
296
|
+
readonly type: 'NewMiners' | 'SlotBidderAdded' | 'SlotBidderOut' | 'SlotBidderDropped' | 'ReleasedMinerSeat' | 'ReleaseMinerSeatError' | 'MiningConfigurationUpdated' | 'MiningBidsClosed' | 'ReleaseBidError';
|
|
281
297
|
}
|
|
282
298
|
/** @name ArgonPrimitivesBlockSealMiningRegistration (41) */
|
|
283
299
|
interface ArgonPrimitivesBlockSealMiningRegistration extends Struct {
|
|
@@ -2381,20 +2397,20 @@ declare module '@polkadot/types/lookup' {
|
|
|
2381
2397
|
}
|
|
2382
2398
|
/** @name PalletTicksError (326) */
|
|
2383
2399
|
type PalletTicksError = Null;
|
|
2384
|
-
/** @name ArgonPrimitivesBlockSealMiningBidStats (
|
|
2400
|
+
/** @name ArgonPrimitivesBlockSealMiningBidStats (333) */
|
|
2385
2401
|
interface ArgonPrimitivesBlockSealMiningBidStats extends Struct {
|
|
2386
2402
|
readonly bidsCount: u32;
|
|
2387
2403
|
readonly bidAmountMin: u128;
|
|
2388
2404
|
readonly bidAmountMax: u128;
|
|
2389
2405
|
readonly bidAmountSum: u128;
|
|
2390
2406
|
}
|
|
2391
|
-
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (
|
|
2407
|
+
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (335) */
|
|
2392
2408
|
interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
|
|
2393
2409
|
readonly ticksBeforeBidEndForVrfClose: Compact<u64>;
|
|
2394
2410
|
readonly ticksBetweenSlots: Compact<u64>;
|
|
2395
2411
|
readonly slotBiddingStartAfterTicks: Compact<u64>;
|
|
2396
2412
|
}
|
|
2397
|
-
/** @name PalletMiningSlotError (
|
|
2413
|
+
/** @name PalletMiningSlotError (337) */
|
|
2398
2414
|
interface PalletMiningSlotError extends Enum {
|
|
2399
2415
|
readonly isSlotNotTakingBids: boolean;
|
|
2400
2416
|
readonly isTooManyBlockRegistrants: boolean;
|
|
@@ -2418,9 +2434,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
2418
2434
|
readonly asGenericObligationError: ArgonPrimitivesVaultObligationError;
|
|
2419
2435
|
readonly isCannotRegisterDuplicateKeys: boolean;
|
|
2420
2436
|
readonly isInvalidKeyFormat: boolean;
|
|
2421
|
-
readonly
|
|
2437
|
+
readonly isCannotReduceBondedArgons: boolean;
|
|
2438
|
+
readonly isInvalidVaultSwitch: boolean;
|
|
2439
|
+
readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'ObligationNotFound' | 'NoMoreObligationIds' | 'VaultClosed' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'AccountWouldBeBelowMinimum' | 'GenericObligationError' | 'CannotRegisterDuplicateKeys' | 'InvalidKeyFormat' | 'CannotReduceBondedArgons' | 'InvalidVaultSwitch';
|
|
2422
2440
|
}
|
|
2423
|
-
/** @name ArgonPrimitivesVaultObligationError (
|
|
2441
|
+
/** @name ArgonPrimitivesVaultObligationError (338) */
|
|
2424
2442
|
interface ArgonPrimitivesVaultObligationError extends Enum {
|
|
2425
2443
|
readonly isObligationNotFound: boolean;
|
|
2426
2444
|
readonly isNoMoreObligationIds: boolean;
|
|
@@ -2443,9 +2461,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
2443
2461
|
readonly isObligationCompletionError: boolean;
|
|
2444
2462
|
readonly isVaultNotYetActive: boolean;
|
|
2445
2463
|
readonly isBaseFeeOverflow: boolean;
|
|
2446
|
-
readonly
|
|
2464
|
+
readonly isInvalidVaultSwitch: boolean;
|
|
2465
|
+
readonly type: 'ObligationNotFound' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'VaultClosed' | 'ExpirationAtBlockOverflow' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'InsufficientBondedArgons' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'InvalidBitcoinScript' | 'InternalError' | 'ObligationCompletionError' | 'VaultNotYetActive' | 'BaseFeeOverflow' | 'InvalidVaultSwitch';
|
|
2447
2466
|
}
|
|
2448
|
-
/** @name ArgonPrimitivesBitcoinUtxoValue (
|
|
2467
|
+
/** @name ArgonPrimitivesBitcoinUtxoValue (339) */
|
|
2449
2468
|
interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
|
|
2450
2469
|
readonly utxoId: u64;
|
|
2451
2470
|
readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
@@ -2453,7 +2472,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2453
2472
|
readonly submittedAtHeight: Compact<u64>;
|
|
2454
2473
|
readonly watchForSpentUntilHeight: Compact<u64>;
|
|
2455
2474
|
}
|
|
2456
|
-
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (
|
|
2475
|
+
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (340) */
|
|
2457
2476
|
interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
|
|
2458
2477
|
readonly isP2wsh: boolean;
|
|
2459
2478
|
readonly asP2wsh: {
|
|
@@ -2461,7 +2480,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2461
2480
|
} & Struct;
|
|
2462
2481
|
readonly type: 'P2wsh';
|
|
2463
2482
|
}
|
|
2464
|
-
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (
|
|
2483
|
+
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (345) */
|
|
2465
2484
|
interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
|
|
2466
2485
|
readonly isBitcoin: boolean;
|
|
2467
2486
|
readonly isTestnet: boolean;
|
|
@@ -2469,7 +2488,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2469
2488
|
readonly isRegtest: boolean;
|
|
2470
2489
|
readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
|
|
2471
2490
|
}
|
|
2472
|
-
/** @name PalletBitcoinUtxosError (
|
|
2491
|
+
/** @name PalletBitcoinUtxosError (348) */
|
|
2473
2492
|
interface PalletBitcoinUtxosError extends Enum {
|
|
2474
2493
|
readonly isNoPermissions: boolean;
|
|
2475
2494
|
readonly isNoBitcoinConfirmedBlock: boolean;
|
|
@@ -2482,9 +2501,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
2482
2501
|
readonly isBitcoinHeightNotConfirmed: boolean;
|
|
2483
2502
|
readonly isMaxUtxosExceeded: boolean;
|
|
2484
2503
|
readonly isInvalidBitcoinScript: boolean;
|
|
2485
|
-
readonly
|
|
2504
|
+
readonly isDuplicateUtxoId: boolean;
|
|
2505
|
+
readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript' | 'DuplicateUtxoId';
|
|
2486
2506
|
}
|
|
2487
|
-
/** @name ArgonPrimitivesVault (
|
|
2507
|
+
/** @name ArgonPrimitivesVault (349) */
|
|
2488
2508
|
interface ArgonPrimitivesVault extends Struct {
|
|
2489
2509
|
readonly operatorAccountId: AccountId32;
|
|
2490
2510
|
readonly bitcoinArgons: ArgonPrimitivesVaultVaultArgons;
|
|
@@ -2498,14 +2518,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
2498
2518
|
readonly pendingBitcoins: u128;
|
|
2499
2519
|
readonly activationTick: u64;
|
|
2500
2520
|
}
|
|
2501
|
-
/** @name ArgonPrimitivesVaultVaultArgons (
|
|
2521
|
+
/** @name ArgonPrimitivesVaultVaultArgons (350) */
|
|
2502
2522
|
interface ArgonPrimitivesVaultVaultArgons extends Struct {
|
|
2503
2523
|
readonly annualPercentRate: Compact<u128>;
|
|
2504
2524
|
readonly allocated: Compact<u128>;
|
|
2505
2525
|
readonly reserved: Compact<u128>;
|
|
2506
2526
|
readonly baseFee: Compact<u128>;
|
|
2507
2527
|
}
|
|
2508
|
-
/** @name ArgonPrimitivesBitcoinBitcoinXPub (
|
|
2528
|
+
/** @name ArgonPrimitivesBitcoinBitcoinXPub (356) */
|
|
2509
2529
|
interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
|
|
2510
2530
|
readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
2511
2531
|
readonly depth: Compact<u8>;
|
|
@@ -2514,13 +2534,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
2514
2534
|
readonly chainCode: U8aFixed;
|
|
2515
2535
|
readonly network: ArgonPrimitivesBitcoinNetworkKind;
|
|
2516
2536
|
}
|
|
2517
|
-
/** @name ArgonPrimitivesBitcoinNetworkKind (
|
|
2537
|
+
/** @name ArgonPrimitivesBitcoinNetworkKind (358) */
|
|
2518
2538
|
interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
|
|
2519
2539
|
readonly isMain: boolean;
|
|
2520
2540
|
readonly isTest: boolean;
|
|
2521
2541
|
readonly type: 'Main' | 'Test';
|
|
2522
2542
|
}
|
|
2523
|
-
/** @name ArgonPrimitivesVaultObligation (
|
|
2543
|
+
/** @name ArgonPrimitivesVaultObligation (364) */
|
|
2524
2544
|
interface ArgonPrimitivesVaultObligation extends Struct {
|
|
2525
2545
|
readonly obligationId: Compact<u64>;
|
|
2526
2546
|
readonly fundType: ArgonPrimitivesVaultFundType;
|
|
@@ -2532,7 +2552,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2532
2552
|
readonly startTick: Compact<u64>;
|
|
2533
2553
|
readonly expiration: ArgonPrimitivesVaultObligationExpiration;
|
|
2534
2554
|
}
|
|
2535
|
-
/** @name PalletVaultsError (
|
|
2555
|
+
/** @name PalletVaultsError (367) */
|
|
2536
2556
|
interface PalletVaultsError extends Enum {
|
|
2537
2557
|
readonly isObligationNotFound: boolean;
|
|
2538
2558
|
readonly isNoMoreVaultIds: boolean;
|
|
@@ -2570,7 +2590,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2570
2590
|
readonly isBaseFeeOverflow: boolean;
|
|
2571
2591
|
readonly type: 'ObligationNotFound' | 'NoMoreVaultIds' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'InsufficientBondedArgons' | 'AccountBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'VaultReductionBelowAllocatedFunds' | 'InvalidSecuritization' | 'ReusedVaultBitcoinXpub' | 'InvalidBitcoinScript' | 'InvalidXpubkey' | 'WrongXpubNetwork' | 'UnsafeXpubkey' | 'UnableToDeriveVaultXpubChild' | 'BitcoinConversionFailed' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'VaultNotYetActive' | 'NoVaultBitcoinPubkeysAvailable' | 'TermsModificationOverflow' | 'TermsChangeAlreadyScheduled' | 'InternalError' | 'UnableToGenerateVaultBitcoinPubkey' | 'FundingChangeAlreadyScheduled' | 'ObligationCompletionError' | 'BaseFeeOverflow';
|
|
2572
2592
|
}
|
|
2573
|
-
/** @name PalletBitcoinLocksLockedBitcoin (
|
|
2593
|
+
/** @name PalletBitcoinLocksLockedBitcoin (368) */
|
|
2574
2594
|
interface PalletBitcoinLocksLockedBitcoin extends Struct {
|
|
2575
2595
|
readonly obligationId: Compact<u64>;
|
|
2576
2596
|
readonly vaultId: Compact<u32>;
|
|
@@ -2587,7 +2607,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2587
2607
|
readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
2588
2608
|
readonly isVerified: bool;
|
|
2589
2609
|
}
|
|
2590
|
-
/** @name PalletBitcoinLocksLockReleaseRequest (
|
|
2610
|
+
/** @name PalletBitcoinLocksLockReleaseRequest (372) */
|
|
2591
2611
|
interface PalletBitcoinLocksLockReleaseRequest extends Struct {
|
|
2592
2612
|
readonly utxoId: Compact<u64>;
|
|
2593
2613
|
readonly obligationId: Compact<u64>;
|
|
@@ -2597,7 +2617,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2597
2617
|
readonly toScriptPubkey: Bytes;
|
|
2598
2618
|
readonly redemptionPrice: Compact<u128>;
|
|
2599
2619
|
}
|
|
2600
|
-
/** @name PalletBitcoinLocksError (
|
|
2620
|
+
/** @name PalletBitcoinLocksError (376) */
|
|
2601
2621
|
interface PalletBitcoinLocksError extends Enum {
|
|
2602
2622
|
readonly isObligationNotFound: boolean;
|
|
2603
2623
|
readonly isNoMoreObligationIds: boolean;
|
|
@@ -2632,7 +2652,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2632
2652
|
readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
|
|
2633
2653
|
readonly type: 'ObligationNotFound' | 'NoMoreObligationIds' | 'MinimumObligationAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'InsufficientBondedArgons' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericObligationError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey';
|
|
2634
2654
|
}
|
|
2635
|
-
/** @name PalletNotariesError (
|
|
2655
|
+
/** @name PalletNotariesError (388) */
|
|
2636
2656
|
interface PalletNotariesError extends Enum {
|
|
2637
2657
|
readonly isProposalNotFound: boolean;
|
|
2638
2658
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -2645,7 +2665,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2645
2665
|
readonly isInvalidNotary: boolean;
|
|
2646
2666
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
2647
2667
|
}
|
|
2648
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
2668
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (392) */
|
|
2649
2669
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
2650
2670
|
readonly notebookNumber: Compact<u32>;
|
|
2651
2671
|
readonly tick: Compact<u64>;
|
|
@@ -2653,7 +2673,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2653
2673
|
readonly secretHash: H256;
|
|
2654
2674
|
readonly parentSecret: Option<H256>;
|
|
2655
2675
|
}
|
|
2656
|
-
/** @name PalletNotebookError (
|
|
2676
|
+
/** @name PalletNotebookError (395) */
|
|
2657
2677
|
interface PalletNotebookError extends Enum {
|
|
2658
2678
|
readonly isDuplicateNotebookNumber: boolean;
|
|
2659
2679
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -2672,17 +2692,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
2672
2692
|
readonly isInvalidNotebookSubmissionTick: boolean;
|
|
2673
2693
|
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator' | 'InvalidNotebookSubmissionTick';
|
|
2674
2694
|
}
|
|
2675
|
-
/** @name PalletChainTransferQueuedTransferOut (
|
|
2695
|
+
/** @name PalletChainTransferQueuedTransferOut (396) */
|
|
2676
2696
|
interface PalletChainTransferQueuedTransferOut extends Struct {
|
|
2677
2697
|
readonly accountId: AccountId32;
|
|
2678
2698
|
readonly amount: u128;
|
|
2679
2699
|
readonly expirationTick: u64;
|
|
2680
2700
|
readonly notaryId: u32;
|
|
2681
2701
|
}
|
|
2682
|
-
/** @name FrameSupportPalletId (
|
|
2702
|
+
/** @name FrameSupportPalletId (402) */
|
|
2683
2703
|
interface FrameSupportPalletId extends U8aFixed {
|
|
2684
2704
|
}
|
|
2685
|
-
/** @name PalletChainTransferError (
|
|
2705
|
+
/** @name PalletChainTransferError (403) */
|
|
2686
2706
|
interface PalletChainTransferError extends Enum {
|
|
2687
2707
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
2688
2708
|
readonly isInsufficientFunds: boolean;
|
|
@@ -2692,7 +2712,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2692
2712
|
readonly isInvalidNotaryUsedForTransfer: boolean;
|
|
2693
2713
|
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer';
|
|
2694
2714
|
}
|
|
2695
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
2715
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (408) */
|
|
2696
2716
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
2697
2717
|
readonly notaryId: Compact<u32>;
|
|
2698
2718
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -2700,12 +2720,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
2700
2720
|
readonly blockVotesCount: Compact<u32>;
|
|
2701
2721
|
readonly blockVotingPower: Compact<u128>;
|
|
2702
2722
|
}
|
|
2703
|
-
/** @name PalletBlockSealSpecError (
|
|
2723
|
+
/** @name PalletBlockSealSpecError (413) */
|
|
2704
2724
|
interface PalletBlockSealSpecError extends Enum {
|
|
2705
2725
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
2706
2726
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
2707
2727
|
}
|
|
2708
|
-
/** @name PalletDomainsError (
|
|
2728
|
+
/** @name PalletDomainsError (415) */
|
|
2709
2729
|
interface PalletDomainsError extends Enum {
|
|
2710
2730
|
readonly isDomainNotRegistered: boolean;
|
|
2711
2731
|
readonly isNotDomainOwner: boolean;
|
|
@@ -2714,7 +2734,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2714
2734
|
readonly isAccountDecodingError: boolean;
|
|
2715
2735
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
2716
2736
|
}
|
|
2717
|
-
/** @name PalletPriceIndexError (
|
|
2737
|
+
/** @name PalletPriceIndexError (416) */
|
|
2718
2738
|
interface PalletPriceIndexError extends Enum {
|
|
2719
2739
|
readonly isNotAuthorizedOperator: boolean;
|
|
2720
2740
|
readonly isMissingValue: boolean;
|
|
@@ -2722,7 +2742,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2722
2742
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
2723
2743
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
2724
2744
|
}
|
|
2725
|
-
/** @name PalletGrandpaStoredState (
|
|
2745
|
+
/** @name PalletGrandpaStoredState (417) */
|
|
2726
2746
|
interface PalletGrandpaStoredState extends Enum {
|
|
2727
2747
|
readonly isLive: boolean;
|
|
2728
2748
|
readonly isPendingPause: boolean;
|
|
@@ -2738,14 +2758,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
2738
2758
|
} & Struct;
|
|
2739
2759
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
2740
2760
|
}
|
|
2741
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
2761
|
+
/** @name PalletGrandpaStoredPendingChange (418) */
|
|
2742
2762
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
2743
2763
|
readonly scheduledAt: u32;
|
|
2744
2764
|
readonly delay: u32;
|
|
2745
2765
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
2746
2766
|
readonly forced: Option<u32>;
|
|
2747
2767
|
}
|
|
2748
|
-
/** @name PalletGrandpaError (
|
|
2768
|
+
/** @name PalletGrandpaError (421) */
|
|
2749
2769
|
interface PalletGrandpaError extends Enum {
|
|
2750
2770
|
readonly isPauseFailed: boolean;
|
|
2751
2771
|
readonly isResumeFailed: boolean;
|
|
@@ -2756,13 +2776,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
2756
2776
|
readonly isDuplicateOffenceReport: boolean;
|
|
2757
2777
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
2758
2778
|
}
|
|
2759
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
2779
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (422) */
|
|
2760
2780
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
2761
2781
|
readonly blockAuthorAccountId: AccountId32;
|
|
2762
2782
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
2763
2783
|
readonly blockSealAuthority: Option<ArgonPrimitivesBlockSealAppPublic>;
|
|
2764
2784
|
}
|
|
2765
|
-
/** @name PalletBlockSealError (
|
|
2785
|
+
/** @name PalletBlockSealError (426) */
|
|
2766
2786
|
interface PalletBlockSealError extends Enum {
|
|
2767
2787
|
readonly isInvalidVoteSealStrength: boolean;
|
|
2768
2788
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -2785,43 +2805,43 @@ declare module '@polkadot/types/lookup' {
|
|
|
2785
2805
|
readonly isInvalidComputeBlockTick: boolean;
|
|
2786
2806
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature' | 'InvalidForkPowerParent' | 'BlockSealDecodeError' | 'InvalidComputeBlockTick';
|
|
2787
2807
|
}
|
|
2788
|
-
/** @name PalletBlockRewardsError (
|
|
2808
|
+
/** @name PalletBlockRewardsError (429) */
|
|
2789
2809
|
type PalletBlockRewardsError = Null;
|
|
2790
|
-
/** @name PalletMintMintAction (
|
|
2810
|
+
/** @name PalletMintMintAction (434) */
|
|
2791
2811
|
interface PalletMintMintAction extends Struct {
|
|
2792
2812
|
readonly argonBurned: u128;
|
|
2793
2813
|
readonly argonMinted: u128;
|
|
2794
2814
|
readonly bitcoinMinted: u128;
|
|
2795
2815
|
}
|
|
2796
|
-
/** @name PalletMintError (
|
|
2816
|
+
/** @name PalletMintError (435) */
|
|
2797
2817
|
interface PalletMintError extends Enum {
|
|
2798
2818
|
readonly isTooManyPendingMints: boolean;
|
|
2799
2819
|
readonly type: 'TooManyPendingMints';
|
|
2800
2820
|
}
|
|
2801
|
-
/** @name PalletBalancesBalanceLock (
|
|
2821
|
+
/** @name PalletBalancesBalanceLock (437) */
|
|
2802
2822
|
interface PalletBalancesBalanceLock extends Struct {
|
|
2803
2823
|
readonly id: U8aFixed;
|
|
2804
2824
|
readonly amount: u128;
|
|
2805
2825
|
readonly reasons: PalletBalancesReasons;
|
|
2806
2826
|
}
|
|
2807
|
-
/** @name PalletBalancesReasons (
|
|
2827
|
+
/** @name PalletBalancesReasons (438) */
|
|
2808
2828
|
interface PalletBalancesReasons extends Enum {
|
|
2809
2829
|
readonly isFee: boolean;
|
|
2810
2830
|
readonly isMisc: boolean;
|
|
2811
2831
|
readonly isAll: boolean;
|
|
2812
2832
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
2813
2833
|
}
|
|
2814
|
-
/** @name PalletBalancesReserveData (
|
|
2834
|
+
/** @name PalletBalancesReserveData (441) */
|
|
2815
2835
|
interface PalletBalancesReserveData extends Struct {
|
|
2816
2836
|
readonly id: U8aFixed;
|
|
2817
2837
|
readonly amount: u128;
|
|
2818
2838
|
}
|
|
2819
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
2839
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (444) */
|
|
2820
2840
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
2821
2841
|
readonly id: ArgonRuntimeRuntimeHoldReason;
|
|
2822
2842
|
readonly amount: u128;
|
|
2823
2843
|
}
|
|
2824
|
-
/** @name ArgonRuntimeRuntimeHoldReason (
|
|
2844
|
+
/** @name ArgonRuntimeRuntimeHoldReason (445) */
|
|
2825
2845
|
interface ArgonRuntimeRuntimeHoldReason extends Enum {
|
|
2826
2846
|
readonly isMiningSlot: boolean;
|
|
2827
2847
|
readonly asMiningSlot: PalletMiningSlotHoldReason;
|
|
@@ -2833,44 +2853,44 @@ declare module '@polkadot/types/lookup' {
|
|
|
2833
2853
|
readonly asBlockRewards: PalletBlockRewardsHoldReason;
|
|
2834
2854
|
readonly type: 'MiningSlot' | 'Vaults' | 'BitcoinLocks' | 'BlockRewards';
|
|
2835
2855
|
}
|
|
2836
|
-
/** @name PalletMiningSlotHoldReason (
|
|
2856
|
+
/** @name PalletMiningSlotHoldReason (446) */
|
|
2837
2857
|
interface PalletMiningSlotHoldReason extends Enum {
|
|
2838
2858
|
readonly isRegisterAsMiner: boolean;
|
|
2839
2859
|
readonly type: 'RegisterAsMiner';
|
|
2840
2860
|
}
|
|
2841
|
-
/** @name PalletVaultsHoldReason (
|
|
2861
|
+
/** @name PalletVaultsHoldReason (447) */
|
|
2842
2862
|
interface PalletVaultsHoldReason extends Enum {
|
|
2843
2863
|
readonly isEnterVault: boolean;
|
|
2844
2864
|
readonly isObligationFee: boolean;
|
|
2845
2865
|
readonly type: 'EnterVault' | 'ObligationFee';
|
|
2846
2866
|
}
|
|
2847
|
-
/** @name PalletBitcoinLocksHoldReason (
|
|
2867
|
+
/** @name PalletBitcoinLocksHoldReason (448) */
|
|
2848
2868
|
interface PalletBitcoinLocksHoldReason extends Enum {
|
|
2849
2869
|
readonly isReleaseBitcoinLock: boolean;
|
|
2850
2870
|
readonly type: 'ReleaseBitcoinLock';
|
|
2851
2871
|
}
|
|
2852
|
-
/** @name PalletBlockRewardsHoldReason (
|
|
2872
|
+
/** @name PalletBlockRewardsHoldReason (449) */
|
|
2853
2873
|
interface PalletBlockRewardsHoldReason extends Enum {
|
|
2854
2874
|
readonly isMaturationPeriod: boolean;
|
|
2855
2875
|
readonly type: 'MaturationPeriod';
|
|
2856
2876
|
}
|
|
2857
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
2877
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (452) */
|
|
2858
2878
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
2859
2879
|
readonly id: ArgonRuntimeRuntimeFreezeReason;
|
|
2860
2880
|
readonly amount: u128;
|
|
2861
2881
|
}
|
|
2862
|
-
/** @name ArgonRuntimeRuntimeFreezeReason (
|
|
2882
|
+
/** @name ArgonRuntimeRuntimeFreezeReason (453) */
|
|
2863
2883
|
interface ArgonRuntimeRuntimeFreezeReason extends Enum {
|
|
2864
2884
|
readonly isBlockRewards: boolean;
|
|
2865
2885
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
2866
2886
|
readonly type: 'BlockRewards';
|
|
2867
2887
|
}
|
|
2868
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
2888
|
+
/** @name PalletBlockRewardsFreezeReason (454) */
|
|
2869
2889
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
2870
2890
|
readonly isMaturationPeriod: boolean;
|
|
2871
2891
|
readonly type: 'MaturationPeriod';
|
|
2872
2892
|
}
|
|
2873
|
-
/** @name PalletBalancesError (
|
|
2893
|
+
/** @name PalletBalancesError (456) */
|
|
2874
2894
|
interface PalletBalancesError extends Enum {
|
|
2875
2895
|
readonly isVestingBalance: boolean;
|
|
2876
2896
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -2886,7 +2906,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2886
2906
|
readonly isDeltaZero: boolean;
|
|
2887
2907
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
2888
2908
|
}
|
|
2889
|
-
/** @name PalletTxPauseError (
|
|
2909
|
+
/** @name PalletTxPauseError (458) */
|
|
2890
2910
|
interface PalletTxPauseError extends Enum {
|
|
2891
2911
|
readonly isIsPaused: boolean;
|
|
2892
2912
|
readonly isIsUnpaused: boolean;
|
|
@@ -2894,23 +2914,23 @@ declare module '@polkadot/types/lookup' {
|
|
|
2894
2914
|
readonly isNotFound: boolean;
|
|
2895
2915
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
2896
2916
|
}
|
|
2897
|
-
/** @name PalletTransactionPaymentReleases (
|
|
2917
|
+
/** @name PalletTransactionPaymentReleases (459) */
|
|
2898
2918
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
2899
2919
|
readonly isV1Ancient: boolean;
|
|
2900
2920
|
readonly isV2: boolean;
|
|
2901
2921
|
readonly type: 'V1Ancient' | 'V2';
|
|
2902
2922
|
}
|
|
2903
|
-
/** @name PalletUtilityError (
|
|
2923
|
+
/** @name PalletUtilityError (460) */
|
|
2904
2924
|
interface PalletUtilityError extends Enum {
|
|
2905
2925
|
readonly isTooManyCalls: boolean;
|
|
2906
2926
|
readonly type: 'TooManyCalls';
|
|
2907
2927
|
}
|
|
2908
|
-
/** @name PalletSudoError (
|
|
2928
|
+
/** @name PalletSudoError (461) */
|
|
2909
2929
|
interface PalletSudoError extends Enum {
|
|
2910
2930
|
readonly isRequireSudo: boolean;
|
|
2911
2931
|
readonly type: 'RequireSudo';
|
|
2912
2932
|
}
|
|
2913
|
-
/** @name PalletIsmpError (
|
|
2933
|
+
/** @name PalletIsmpError (462) */
|
|
2914
2934
|
interface PalletIsmpError extends Enum {
|
|
2915
2935
|
readonly isInvalidMessage: boolean;
|
|
2916
2936
|
readonly isMessageNotFound: boolean;
|
|
@@ -2919,9 +2939,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
2919
2939
|
readonly isChallengePeriodUpdateFailed: boolean;
|
|
2920
2940
|
readonly type: 'InvalidMessage' | 'MessageNotFound' | 'ConsensusClientCreationFailed' | 'UnbondingPeriodUpdateFailed' | 'ChallengePeriodUpdateFailed';
|
|
2921
2941
|
}
|
|
2922
|
-
/** @name PalletHyperbridgeError (
|
|
2942
|
+
/** @name PalletHyperbridgeError (463) */
|
|
2923
2943
|
type PalletHyperbridgeError = Null;
|
|
2924
|
-
/** @name PalletTokenGatewayError (
|
|
2944
|
+
/** @name PalletTokenGatewayError (465) */
|
|
2925
2945
|
interface PalletTokenGatewayError extends Enum {
|
|
2926
2946
|
readonly isUnregisteredAsset: boolean;
|
|
2927
2947
|
readonly isAssetTeleportError: boolean;
|
|
@@ -2934,32 +2954,32 @@ declare module '@polkadot/types/lookup' {
|
|
|
2934
2954
|
readonly isNotAssetOwner: boolean;
|
|
2935
2955
|
readonly type: 'UnregisteredAsset' | 'AssetTeleportError' | 'CoprocessorNotConfigured' | 'DispatchError' | 'AssetCreationError' | 'AssetDecimalsNotFound' | 'NotInitialized' | 'UnknownAsset' | 'NotAssetOwner';
|
|
2936
2956
|
}
|
|
2937
|
-
/** @name FrameSystemExtensionsCheckNonZeroSender (
|
|
2957
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (468) */
|
|
2938
2958
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
2939
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
2959
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (469) */
|
|
2940
2960
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
2941
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
2961
|
+
/** @name FrameSystemExtensionsCheckTxVersion (470) */
|
|
2942
2962
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
2943
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
2963
|
+
/** @name FrameSystemExtensionsCheckGenesis (471) */
|
|
2944
2964
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
2945
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
2965
|
+
/** @name FrameSystemExtensionsCheckNonce (474) */
|
|
2946
2966
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
2947
2967
|
}
|
|
2948
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
2968
|
+
/** @name FrameSystemExtensionsCheckWeight (475) */
|
|
2949
2969
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
2950
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
2970
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (476) */
|
|
2951
2971
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
2952
2972
|
}
|
|
2953
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
2973
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (477) */
|
|
2954
2974
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
2955
2975
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
2956
2976
|
}
|
|
2957
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
2977
|
+
/** @name FrameMetadataHashExtensionMode (478) */
|
|
2958
2978
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
2959
2979
|
readonly isDisabled: boolean;
|
|
2960
2980
|
readonly isEnabled: boolean;
|
|
2961
2981
|
readonly type: 'Disabled' | 'Enabled';
|
|
2962
2982
|
}
|
|
2963
|
-
/** @name ArgonRuntimeRuntime (
|
|
2983
|
+
/** @name ArgonRuntimeRuntime (480) */
|
|
2964
2984
|
type ArgonRuntimeRuntime = Null;
|
|
2965
2985
|
}
|
|
@@ -132,6 +132,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
132
132
|
* Bitcoin height not confirmed yet
|
|
133
133
|
**/
|
|
134
134
|
BitcoinHeightNotConfirmed: AugmentedError<ApiType>;
|
|
135
|
+
/**
|
|
136
|
+
* Duplicated UtxoId. Already in use
|
|
137
|
+
**/
|
|
138
|
+
DuplicateUtxoId: AugmentedError<ApiType>;
|
|
135
139
|
/**
|
|
136
140
|
* Insufficient bitcoin amount
|
|
137
141
|
**/
|
|
@@ -411,6 +415,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
411
415
|
miningSlot: {
|
|
412
416
|
AccountWouldBeBelowMinimum: AugmentedError<ApiType>;
|
|
413
417
|
BidTooLow: AugmentedError<ApiType>;
|
|
418
|
+
/**
|
|
419
|
+
* You can't reduce the amount of bonded argons
|
|
420
|
+
**/
|
|
421
|
+
CannotReduceBondedArgons: AugmentedError<ApiType>;
|
|
414
422
|
/**
|
|
415
423
|
* Keys cannot be registered by multiple accounts
|
|
416
424
|
**/
|
|
@@ -430,6 +438,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
430
438
|
* Unable to decode the key format
|
|
431
439
|
**/
|
|
432
440
|
InvalidKeyFormat: AugmentedError<ApiType>;
|
|
441
|
+
/**
|
|
442
|
+
* Cannot change the bonded argon vault
|
|
443
|
+
**/
|
|
444
|
+
InvalidVaultSwitch: AugmentedError<ApiType>;
|
|
433
445
|
MinimumObligationAmountNotMet: AugmentedError<ApiType>;
|
|
434
446
|
NoMoreObligationIds: AugmentedError<ApiType>;
|
|
435
447
|
NoPermissions: AugmentedError<ApiType>;
|
|
@@ -756,6 +756,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
756
756
|
}>;
|
|
757
757
|
};
|
|
758
758
|
miningSlot: {
|
|
759
|
+
/**
|
|
760
|
+
* Bids are closed due to the VRF randomized function triggering
|
|
761
|
+
**/
|
|
762
|
+
MiningBidsClosed: AugmentedEvent<ApiType, [
|
|
763
|
+
cohortId: u64
|
|
764
|
+
], {
|
|
765
|
+
cohortId: u64;
|
|
766
|
+
}>;
|
|
759
767
|
MiningConfigurationUpdated: AugmentedEvent<ApiType, [
|
|
760
768
|
ticksBeforeBidEndForVrfClose: u64,
|
|
761
769
|
ticksBetweenSlots: u64,
|
|
@@ -774,6 +782,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
774
782
|
newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
|
|
775
783
|
cohortId: u64;
|
|
776
784
|
}>;
|
|
785
|
+
ReleaseBidError: AugmentedEvent<ApiType, [
|
|
786
|
+
accountId: AccountId32,
|
|
787
|
+
obligationId: Option<u64>,
|
|
788
|
+
error: SpRuntimeDispatchError
|
|
789
|
+
], {
|
|
790
|
+
accountId: AccountId32;
|
|
791
|
+
obligationId: Option<u64>;
|
|
792
|
+
error: SpRuntimeDispatchError;
|
|
793
|
+
}>;
|
|
777
794
|
ReleasedMinerSeat: AugmentedEvent<ApiType, [
|
|
778
795
|
accountId: AccountId32,
|
|
779
796
|
obligationId: Option<u64>,
|
|
@@ -801,7 +818,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
801
818
|
bidAmount: u128;
|
|
802
819
|
index: u32;
|
|
803
820
|
}>;
|
|
804
|
-
|
|
821
|
+
SlotBidderDropped: AugmentedEvent<ApiType, [
|
|
805
822
|
accountId: AccountId32,
|
|
806
823
|
obligationId: Option<u64>,
|
|
807
824
|
preservedArgonotHold: bool
|
|
@@ -810,6 +827,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
810
827
|
obligationId: Option<u64>;
|
|
811
828
|
preservedArgonotHold: bool;
|
|
812
829
|
}>;
|
|
830
|
+
SlotBidderOut: AugmentedEvent<ApiType, [
|
|
831
|
+
accountId: AccountId32,
|
|
832
|
+
bidAmount: u128,
|
|
833
|
+
obligationId: Option<u64>
|
|
834
|
+
], {
|
|
835
|
+
accountId: AccountId32;
|
|
836
|
+
bidAmount: u128;
|
|
837
|
+
obligationId: Option<u64>;
|
|
838
|
+
}>;
|
|
813
839
|
};
|
|
814
840
|
mint: {
|
|
815
841
|
ArgonsMinted: AugmentedEvent<ApiType, [
|
|
@@ -467,8 +467,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
467
467
|
* The required amount is calculated as a percentage of the total ownership tokens in the
|
|
468
468
|
* network. This percentage is adjusted before the beginning of each slot.
|
|
469
469
|
*
|
|
470
|
-
* If your bid is
|
|
471
|
-
* this event, you will be able to ensure your bid is accepted.
|
|
470
|
+
* If your bid is no longer winning, a `SlotBidderOut` event will be emitted. By monitoring
|
|
471
|
+
* for this event, you will be able to ensure your bid is accepted.
|
|
472
472
|
*
|
|
473
473
|
* NOTE: bidding for each slot will be closed at a random block within
|
|
474
474
|
* `mining_config.ticks_before_bid_end_for_vrf_close` blocks of the slot end time.
|