genlayer-js 0.18.6 → 0.18.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
 
2
2
 
3
+ ## 0.18.8 (2025-12-05)
4
+
5
+ ## 0.18.7 (2025-12-04)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Decodes contract error messages ([#127](https://github.com/genlayerlabs/genlayer-js/issues/127)) ([0a82545](https://github.com/genlayerlabs/genlayer-js/commit/0a82545e994144229950ad2d156c20233102a8c4))
11
+
3
12
  ## 0.18.6 (2025-12-04)
4
13
 
5
14
 
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkQAAO2WJLcjs = require('../chunk-QAAO2WJL.cjs');
5
+ var _chunkWTAFQOXCcjs = require('../chunk-WTAFQOXC.cjs');
6
6
  require('../chunk-75ZPJI57.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.localnet = _chunkQAAO2WJLcjs.localnet; exports.studionet = _chunkQAAO2WJLcjs.studionet; exports.testnetAsimov = _chunkQAAO2WJLcjs.testnetAsimov;
11
+ exports.localnet = _chunkWTAFQOXCcjs.localnet; exports.studionet = _chunkWTAFQOXCcjs.studionet; exports.testnetAsimov = _chunkWTAFQOXCcjs.testnetAsimov;
@@ -2,7 +2,7 @@ import {
2
2
  localnet,
3
3
  studionet,
4
4
  testnetAsimov
5
- } from "../chunk-KVHGQTAI.js";
5
+ } from "../chunk-V4ZFI4GV.js";
6
6
  import "../chunk-MLKGABMK.js";
7
7
  export {
8
8
  localnet,
@@ -8042,6 +8042,13 @@ import { defineChain as defineChain3 } from "viem";
8042
8042
 
8043
8043
  // src/abi/staking.ts
8044
8044
  var VALIDATOR_WALLET_ABI = [
8045
+ // Custom errors
8046
+ { name: "NotOperator", type: "error", inputs: [] },
8047
+ { name: "InvalidAddress", type: "error", inputs: [] },
8048
+ { name: "TransferFailed", type: "error", inputs: [] },
8049
+ { name: "OperatorTransferNotReady", type: "error", inputs: [] },
8050
+ { name: "NoPendingOperator", type: "error", inputs: [] },
8051
+ // Functions
8045
8052
  {
8046
8053
  name: "operator",
8047
8054
  type: "function",
@@ -8102,22 +8109,115 @@ var VALIDATOR_WALLET_ABI = [
8102
8109
  { name: "extraCid", type: "bytes" }
8103
8110
  ],
8104
8111
  outputs: []
8112
+ },
8113
+ // Staking functions (forwarded to staking contract)
8114
+ {
8115
+ name: "validatorDeposit",
8116
+ type: "function",
8117
+ stateMutability: "payable",
8118
+ inputs: [],
8119
+ outputs: []
8120
+ },
8121
+ {
8122
+ name: "validatorExit",
8123
+ type: "function",
8124
+ stateMutability: "nonpayable",
8125
+ inputs: [{ name: "_shares", type: "uint256" }],
8126
+ outputs: []
8127
+ },
8128
+ {
8129
+ name: "validatorClaim",
8130
+ type: "function",
8131
+ stateMutability: "nonpayable",
8132
+ inputs: [],
8133
+ outputs: []
8134
+ },
8135
+ // Two-step operator transfer
8136
+ {
8137
+ name: "initiateOperatorTransfer",
8138
+ type: "function",
8139
+ stateMutability: "nonpayable",
8140
+ inputs: [{ name: "_newOperator", type: "address" }],
8141
+ outputs: []
8142
+ },
8143
+ {
8144
+ name: "completeOperatorTransfer",
8145
+ type: "function",
8146
+ stateMutability: "nonpayable",
8147
+ inputs: [],
8148
+ outputs: []
8149
+ },
8150
+ {
8151
+ name: "cancelOperatorTransfer",
8152
+ type: "function",
8153
+ stateMutability: "nonpayable",
8154
+ inputs: [],
8155
+ outputs: []
8156
+ },
8157
+ {
8158
+ name: "getPendingOperator",
8159
+ type: "function",
8160
+ stateMutability: "view",
8161
+ inputs: [],
8162
+ outputs: [
8163
+ { name: "", type: "address" },
8164
+ { name: "", type: "uint256" }
8165
+ ]
8166
+ },
8167
+ {
8168
+ name: "getOperator",
8169
+ type: "function",
8170
+ stateMutability: "view",
8171
+ inputs: [],
8172
+ outputs: [{ name: "", type: "address" }]
8105
8173
  }
8106
8174
  ];
8107
8175
  var STAKING_ABI = [
8108
- // Custom errors
8109
- { name: "BelowMinStake", type: "error", inputs: [] },
8110
- { name: "AlreadyValidator", type: "error", inputs: [] },
8111
- { name: "NotValidator", type: "error", inputs: [] },
8112
- { name: "NotOwner", type: "error", inputs: [] },
8113
- { name: "NotOperator", type: "error", inputs: [] },
8114
- { name: "ValidatorBanned", type: "error", inputs: [] },
8115
- { name: "ValidatorQuarantined", type: "error", inputs: [] },
8116
- { name: "InsufficientShares", type: "error", inputs: [] },
8117
- { name: "NothingToClaim", type: "error", inputs: [] },
8118
- { name: "NotYetClaimable", type: "error", inputs: [] },
8119
- { name: "ZeroAmount", type: "error", inputs: [] },
8120
- { name: "InvalidOperator", type: "error", inputs: [] },
8176
+ // Custom errors from IGenLayerStaking
8177
+ { name: "OnlyGEN", type: "error", inputs: [] },
8178
+ { name: "OnlyTribunal", type: "error", inputs: [] },
8179
+ { name: "OnlyIdleness", type: "error", inputs: [] },
8180
+ { name: "OnlyTransactions", type: "error", inputs: [] },
8181
+ { name: "OnlyIdlenessOrTribunal", type: "error", inputs: [] },
8182
+ { name: "OnlyTransactionsOrTribunal", type: "error", inputs: [] },
8183
+ { name: "InvalidAtEpoch", type: "error", inputs: [] },
8184
+ { name: "MaxValidatorsCannotBeZero", type: "error", inputs: [] },
8185
+ { name: "ValidatorExitExceedsShares", type: "error", inputs: [] },
8186
+ { name: "DelegatorExitExceedsShares", type: "error", inputs: [] },
8187
+ { name: "DelegatorMayNotJoinWithZeroValue", type: "error", inputs: [] },
8188
+ { name: "DelegatorMayNotJoinTwoValidatorsSimultaneously", type: "error", inputs: [] },
8189
+ { name: "DelegatorBelowMinimumStake", type: "error", inputs: [] },
8190
+ { name: "DelegatorExitWouldBeBelowMinimum", type: "error", inputs: [] },
8191
+ { name: "ValidatorNotActive", type: "error", inputs: [] },
8192
+ { name: "ValidatorMayNotBeDelegator", type: "error", inputs: [] },
8193
+ { name: "ValidatorMustNotBeDelegator", type: "error", inputs: [] },
8194
+ { name: "ValidatorMayNotJoinWithZeroValue", type: "error", inputs: [] },
8195
+ { name: "ValidatorMayNotDepositZeroValue", type: "error", inputs: [] },
8196
+ { name: "ValidatorWithdrawalExceedsStake", type: "error", inputs: [] },
8197
+ { name: "ValidatorAlreadyJoined", type: "error", inputs: [] },
8198
+ { name: "ValidatorNotJoined", type: "error", inputs: [] },
8199
+ { name: "ValidatorBelowMinimumStake", type: "error", inputs: [] },
8200
+ { name: "OperatorAlreadyAssigned", type: "error", inputs: [] },
8201
+ { name: "InvalidOperatorAddress", type: "error", inputs: [] },
8202
+ { name: "MaxNumberOfValidatorsReached", type: "error", inputs: [] },
8203
+ { name: "ValidatorsConsumed", type: "error", inputs: [] },
8204
+ { name: "ValidatorsUnavailable", type: "error", inputs: [] },
8205
+ { name: "EpochNotFinished", type: "error", inputs: [] },
8206
+ { name: "EpochNotFinalized", type: "error", inputs: [] },
8207
+ { name: "InflationInvalidAmount", type: "error", inputs: [] },
8208
+ { name: "InflationAlreadyReceived", type: "error", inputs: [] },
8209
+ { name: "InflationAlreadyInitialized", type: "error", inputs: [] },
8210
+ { name: "EpochAlreadyFinalized", type: "error", inputs: [] },
8211
+ { name: "PendingTribunals", type: "error", inputs: [{ name: "epoch", type: "uint256" }] },
8212
+ { name: "FailedTransfer", type: "error", inputs: [{ name: "validator", type: "address" }] },
8213
+ { name: "NFTMinterCallFailed", type: "error", inputs: [] },
8214
+ { name: "DeepthoughtCallFailed", type: "error", inputs: [] },
8215
+ { name: "NFTMinterNotConfigured", type: "error", inputs: [] },
8216
+ { name: "NumberOfValidatorsExceedsAvailable", type: "error", inputs: [] },
8217
+ { name: "EpochAdvanceNotReady", type: "error", inputs: [] },
8218
+ { name: "PreviousEpochNotFinalizable", type: "error", inputs: [] },
8219
+ { name: "NoBurning", type: "error", inputs: [] },
8220
+ { name: "ReductionFactorCannotBeZero", type: "error", inputs: [] },
8121
8221
  // Validator functions
8122
8222
  {
8123
8223
  name: "validatorJoin",
@@ -8042,6 +8042,13 @@ var studionet = _viem.defineChain.call(void 0, {
8042
8042
 
8043
8043
  // src/abi/staking.ts
8044
8044
  var VALIDATOR_WALLET_ABI = [
8045
+ // Custom errors
8046
+ { name: "NotOperator", type: "error", inputs: [] },
8047
+ { name: "InvalidAddress", type: "error", inputs: [] },
8048
+ { name: "TransferFailed", type: "error", inputs: [] },
8049
+ { name: "OperatorTransferNotReady", type: "error", inputs: [] },
8050
+ { name: "NoPendingOperator", type: "error", inputs: [] },
8051
+ // Functions
8045
8052
  {
8046
8053
  name: "operator",
8047
8054
  type: "function",
@@ -8102,22 +8109,115 @@ var VALIDATOR_WALLET_ABI = [
8102
8109
  { name: "extraCid", type: "bytes" }
8103
8110
  ],
8104
8111
  outputs: []
8112
+ },
8113
+ // Staking functions (forwarded to staking contract)
8114
+ {
8115
+ name: "validatorDeposit",
8116
+ type: "function",
8117
+ stateMutability: "payable",
8118
+ inputs: [],
8119
+ outputs: []
8120
+ },
8121
+ {
8122
+ name: "validatorExit",
8123
+ type: "function",
8124
+ stateMutability: "nonpayable",
8125
+ inputs: [{ name: "_shares", type: "uint256" }],
8126
+ outputs: []
8127
+ },
8128
+ {
8129
+ name: "validatorClaim",
8130
+ type: "function",
8131
+ stateMutability: "nonpayable",
8132
+ inputs: [],
8133
+ outputs: []
8134
+ },
8135
+ // Two-step operator transfer
8136
+ {
8137
+ name: "initiateOperatorTransfer",
8138
+ type: "function",
8139
+ stateMutability: "nonpayable",
8140
+ inputs: [{ name: "_newOperator", type: "address" }],
8141
+ outputs: []
8142
+ },
8143
+ {
8144
+ name: "completeOperatorTransfer",
8145
+ type: "function",
8146
+ stateMutability: "nonpayable",
8147
+ inputs: [],
8148
+ outputs: []
8149
+ },
8150
+ {
8151
+ name: "cancelOperatorTransfer",
8152
+ type: "function",
8153
+ stateMutability: "nonpayable",
8154
+ inputs: [],
8155
+ outputs: []
8156
+ },
8157
+ {
8158
+ name: "getPendingOperator",
8159
+ type: "function",
8160
+ stateMutability: "view",
8161
+ inputs: [],
8162
+ outputs: [
8163
+ { name: "", type: "address" },
8164
+ { name: "", type: "uint256" }
8165
+ ]
8166
+ },
8167
+ {
8168
+ name: "getOperator",
8169
+ type: "function",
8170
+ stateMutability: "view",
8171
+ inputs: [],
8172
+ outputs: [{ name: "", type: "address" }]
8105
8173
  }
8106
8174
  ];
8107
8175
  var STAKING_ABI = [
8108
- // Custom errors
8109
- { name: "BelowMinStake", type: "error", inputs: [] },
8110
- { name: "AlreadyValidator", type: "error", inputs: [] },
8111
- { name: "NotValidator", type: "error", inputs: [] },
8112
- { name: "NotOwner", type: "error", inputs: [] },
8113
- { name: "NotOperator", type: "error", inputs: [] },
8114
- { name: "ValidatorBanned", type: "error", inputs: [] },
8115
- { name: "ValidatorQuarantined", type: "error", inputs: [] },
8116
- { name: "InsufficientShares", type: "error", inputs: [] },
8117
- { name: "NothingToClaim", type: "error", inputs: [] },
8118
- { name: "NotYetClaimable", type: "error", inputs: [] },
8119
- { name: "ZeroAmount", type: "error", inputs: [] },
8120
- { name: "InvalidOperator", type: "error", inputs: [] },
8176
+ // Custom errors from IGenLayerStaking
8177
+ { name: "OnlyGEN", type: "error", inputs: [] },
8178
+ { name: "OnlyTribunal", type: "error", inputs: [] },
8179
+ { name: "OnlyIdleness", type: "error", inputs: [] },
8180
+ { name: "OnlyTransactions", type: "error", inputs: [] },
8181
+ { name: "OnlyIdlenessOrTribunal", type: "error", inputs: [] },
8182
+ { name: "OnlyTransactionsOrTribunal", type: "error", inputs: [] },
8183
+ { name: "InvalidAtEpoch", type: "error", inputs: [] },
8184
+ { name: "MaxValidatorsCannotBeZero", type: "error", inputs: [] },
8185
+ { name: "ValidatorExitExceedsShares", type: "error", inputs: [] },
8186
+ { name: "DelegatorExitExceedsShares", type: "error", inputs: [] },
8187
+ { name: "DelegatorMayNotJoinWithZeroValue", type: "error", inputs: [] },
8188
+ { name: "DelegatorMayNotJoinTwoValidatorsSimultaneously", type: "error", inputs: [] },
8189
+ { name: "DelegatorBelowMinimumStake", type: "error", inputs: [] },
8190
+ { name: "DelegatorExitWouldBeBelowMinimum", type: "error", inputs: [] },
8191
+ { name: "ValidatorNotActive", type: "error", inputs: [] },
8192
+ { name: "ValidatorMayNotBeDelegator", type: "error", inputs: [] },
8193
+ { name: "ValidatorMustNotBeDelegator", type: "error", inputs: [] },
8194
+ { name: "ValidatorMayNotJoinWithZeroValue", type: "error", inputs: [] },
8195
+ { name: "ValidatorMayNotDepositZeroValue", type: "error", inputs: [] },
8196
+ { name: "ValidatorWithdrawalExceedsStake", type: "error", inputs: [] },
8197
+ { name: "ValidatorAlreadyJoined", type: "error", inputs: [] },
8198
+ { name: "ValidatorNotJoined", type: "error", inputs: [] },
8199
+ { name: "ValidatorBelowMinimumStake", type: "error", inputs: [] },
8200
+ { name: "OperatorAlreadyAssigned", type: "error", inputs: [] },
8201
+ { name: "InvalidOperatorAddress", type: "error", inputs: [] },
8202
+ { name: "MaxNumberOfValidatorsReached", type: "error", inputs: [] },
8203
+ { name: "ValidatorsConsumed", type: "error", inputs: [] },
8204
+ { name: "ValidatorsUnavailable", type: "error", inputs: [] },
8205
+ { name: "EpochNotFinished", type: "error", inputs: [] },
8206
+ { name: "EpochNotFinalized", type: "error", inputs: [] },
8207
+ { name: "InflationInvalidAmount", type: "error", inputs: [] },
8208
+ { name: "InflationAlreadyReceived", type: "error", inputs: [] },
8209
+ { name: "InflationAlreadyInitialized", type: "error", inputs: [] },
8210
+ { name: "EpochAlreadyFinalized", type: "error", inputs: [] },
8211
+ { name: "PendingTribunals", type: "error", inputs: [{ name: "epoch", type: "uint256" }] },
8212
+ { name: "FailedTransfer", type: "error", inputs: [{ name: "validator", type: "address" }] },
8213
+ { name: "NFTMinterCallFailed", type: "error", inputs: [] },
8214
+ { name: "DeepthoughtCallFailed", type: "error", inputs: [] },
8215
+ { name: "NFTMinterNotConfigured", type: "error", inputs: [] },
8216
+ { name: "NumberOfValidatorsExceedsAvailable", type: "error", inputs: [] },
8217
+ { name: "EpochAdvanceNotReady", type: "error", inputs: [] },
8218
+ { name: "PreviousEpochNotFinalizable", type: "error", inputs: [] },
8219
+ { name: "NoBurning", type: "error", inputs: [] },
8220
+ { name: "ReductionFactorCannotBeZero", type: "error", inputs: [] },
8121
8221
  // Validator functions
8122
8222
  {
8123
8223
  name: "validatorJoin",
@@ -289,6 +289,26 @@ type MetaMaskClientResult = {
289
289
  };
290
290
 
291
291
  declare const VALIDATOR_WALLET_ABI: readonly [{
292
+ readonly name: "NotOperator";
293
+ readonly type: "error";
294
+ readonly inputs: readonly [];
295
+ }, {
296
+ readonly name: "InvalidAddress";
297
+ readonly type: "error";
298
+ readonly inputs: readonly [];
299
+ }, {
300
+ readonly name: "TransferFailed";
301
+ readonly type: "error";
302
+ readonly inputs: readonly [];
303
+ }, {
304
+ readonly name: "OperatorTransferNotReady";
305
+ readonly type: "error";
306
+ readonly inputs: readonly [];
307
+ }, {
308
+ readonly name: "NoPendingOperator";
309
+ readonly type: "error";
310
+ readonly inputs: readonly [];
311
+ }, {
292
312
  readonly name: "operator";
293
313
  readonly type: "function";
294
314
  readonly stateMutability: "view";
@@ -385,53 +405,250 @@ declare const VALIDATOR_WALLET_ABI: readonly [{
385
405
  readonly type: "bytes";
386
406
  }];
387
407
  readonly outputs: readonly [];
408
+ }, {
409
+ readonly name: "validatorDeposit";
410
+ readonly type: "function";
411
+ readonly stateMutability: "payable";
412
+ readonly inputs: readonly [];
413
+ readonly outputs: readonly [];
414
+ }, {
415
+ readonly name: "validatorExit";
416
+ readonly type: "function";
417
+ readonly stateMutability: "nonpayable";
418
+ readonly inputs: readonly [{
419
+ readonly name: "_shares";
420
+ readonly type: "uint256";
421
+ }];
422
+ readonly outputs: readonly [];
423
+ }, {
424
+ readonly name: "validatorClaim";
425
+ readonly type: "function";
426
+ readonly stateMutability: "nonpayable";
427
+ readonly inputs: readonly [];
428
+ readonly outputs: readonly [];
429
+ }, {
430
+ readonly name: "initiateOperatorTransfer";
431
+ readonly type: "function";
432
+ readonly stateMutability: "nonpayable";
433
+ readonly inputs: readonly [{
434
+ readonly name: "_newOperator";
435
+ readonly type: "address";
436
+ }];
437
+ readonly outputs: readonly [];
438
+ }, {
439
+ readonly name: "completeOperatorTransfer";
440
+ readonly type: "function";
441
+ readonly stateMutability: "nonpayable";
442
+ readonly inputs: readonly [];
443
+ readonly outputs: readonly [];
444
+ }, {
445
+ readonly name: "cancelOperatorTransfer";
446
+ readonly type: "function";
447
+ readonly stateMutability: "nonpayable";
448
+ readonly inputs: readonly [];
449
+ readonly outputs: readonly [];
450
+ }, {
451
+ readonly name: "getPendingOperator";
452
+ readonly type: "function";
453
+ readonly stateMutability: "view";
454
+ readonly inputs: readonly [];
455
+ readonly outputs: readonly [{
456
+ readonly name: "";
457
+ readonly type: "address";
458
+ }, {
459
+ readonly name: "";
460
+ readonly type: "uint256";
461
+ }];
462
+ }, {
463
+ readonly name: "getOperator";
464
+ readonly type: "function";
465
+ readonly stateMutability: "view";
466
+ readonly inputs: readonly [];
467
+ readonly outputs: readonly [{
468
+ readonly name: "";
469
+ readonly type: "address";
470
+ }];
388
471
  }];
389
472
  declare const STAKING_ABI: readonly [{
390
- readonly name: "BelowMinStake";
473
+ readonly name: "OnlyGEN";
391
474
  readonly type: "error";
392
475
  readonly inputs: readonly [];
393
476
  }, {
394
- readonly name: "AlreadyValidator";
477
+ readonly name: "OnlyTribunal";
395
478
  readonly type: "error";
396
479
  readonly inputs: readonly [];
397
480
  }, {
398
- readonly name: "NotValidator";
481
+ readonly name: "OnlyIdleness";
399
482
  readonly type: "error";
400
483
  readonly inputs: readonly [];
401
484
  }, {
402
- readonly name: "NotOwner";
485
+ readonly name: "OnlyTransactions";
403
486
  readonly type: "error";
404
487
  readonly inputs: readonly [];
405
488
  }, {
406
- readonly name: "NotOperator";
489
+ readonly name: "OnlyIdlenessOrTribunal";
490
+ readonly type: "error";
491
+ readonly inputs: readonly [];
492
+ }, {
493
+ readonly name: "OnlyTransactionsOrTribunal";
494
+ readonly type: "error";
495
+ readonly inputs: readonly [];
496
+ }, {
497
+ readonly name: "InvalidAtEpoch";
498
+ readonly type: "error";
499
+ readonly inputs: readonly [];
500
+ }, {
501
+ readonly name: "MaxValidatorsCannotBeZero";
502
+ readonly type: "error";
503
+ readonly inputs: readonly [];
504
+ }, {
505
+ readonly name: "ValidatorExitExceedsShares";
506
+ readonly type: "error";
507
+ readonly inputs: readonly [];
508
+ }, {
509
+ readonly name: "DelegatorExitExceedsShares";
510
+ readonly type: "error";
511
+ readonly inputs: readonly [];
512
+ }, {
513
+ readonly name: "DelegatorMayNotJoinWithZeroValue";
514
+ readonly type: "error";
515
+ readonly inputs: readonly [];
516
+ }, {
517
+ readonly name: "DelegatorMayNotJoinTwoValidatorsSimultaneously";
518
+ readonly type: "error";
519
+ readonly inputs: readonly [];
520
+ }, {
521
+ readonly name: "DelegatorBelowMinimumStake";
522
+ readonly type: "error";
523
+ readonly inputs: readonly [];
524
+ }, {
525
+ readonly name: "DelegatorExitWouldBeBelowMinimum";
526
+ readonly type: "error";
527
+ readonly inputs: readonly [];
528
+ }, {
529
+ readonly name: "ValidatorNotActive";
530
+ readonly type: "error";
531
+ readonly inputs: readonly [];
532
+ }, {
533
+ readonly name: "ValidatorMayNotBeDelegator";
534
+ readonly type: "error";
535
+ readonly inputs: readonly [];
536
+ }, {
537
+ readonly name: "ValidatorMustNotBeDelegator";
538
+ readonly type: "error";
539
+ readonly inputs: readonly [];
540
+ }, {
541
+ readonly name: "ValidatorMayNotJoinWithZeroValue";
542
+ readonly type: "error";
543
+ readonly inputs: readonly [];
544
+ }, {
545
+ readonly name: "ValidatorMayNotDepositZeroValue";
546
+ readonly type: "error";
547
+ readonly inputs: readonly [];
548
+ }, {
549
+ readonly name: "ValidatorWithdrawalExceedsStake";
550
+ readonly type: "error";
551
+ readonly inputs: readonly [];
552
+ }, {
553
+ readonly name: "ValidatorAlreadyJoined";
554
+ readonly type: "error";
555
+ readonly inputs: readonly [];
556
+ }, {
557
+ readonly name: "ValidatorNotJoined";
558
+ readonly type: "error";
559
+ readonly inputs: readonly [];
560
+ }, {
561
+ readonly name: "ValidatorBelowMinimumStake";
562
+ readonly type: "error";
563
+ readonly inputs: readonly [];
564
+ }, {
565
+ readonly name: "OperatorAlreadyAssigned";
566
+ readonly type: "error";
567
+ readonly inputs: readonly [];
568
+ }, {
569
+ readonly name: "InvalidOperatorAddress";
570
+ readonly type: "error";
571
+ readonly inputs: readonly [];
572
+ }, {
573
+ readonly name: "MaxNumberOfValidatorsReached";
574
+ readonly type: "error";
575
+ readonly inputs: readonly [];
576
+ }, {
577
+ readonly name: "ValidatorsConsumed";
578
+ readonly type: "error";
579
+ readonly inputs: readonly [];
580
+ }, {
581
+ readonly name: "ValidatorsUnavailable";
582
+ readonly type: "error";
583
+ readonly inputs: readonly [];
584
+ }, {
585
+ readonly name: "EpochNotFinished";
586
+ readonly type: "error";
587
+ readonly inputs: readonly [];
588
+ }, {
589
+ readonly name: "EpochNotFinalized";
590
+ readonly type: "error";
591
+ readonly inputs: readonly [];
592
+ }, {
593
+ readonly name: "InflationInvalidAmount";
594
+ readonly type: "error";
595
+ readonly inputs: readonly [];
596
+ }, {
597
+ readonly name: "InflationAlreadyReceived";
598
+ readonly type: "error";
599
+ readonly inputs: readonly [];
600
+ }, {
601
+ readonly name: "InflationAlreadyInitialized";
602
+ readonly type: "error";
603
+ readonly inputs: readonly [];
604
+ }, {
605
+ readonly name: "EpochAlreadyFinalized";
606
+ readonly type: "error";
607
+ readonly inputs: readonly [];
608
+ }, {
609
+ readonly name: "PendingTribunals";
610
+ readonly type: "error";
611
+ readonly inputs: readonly [{
612
+ readonly name: "epoch";
613
+ readonly type: "uint256";
614
+ }];
615
+ }, {
616
+ readonly name: "FailedTransfer";
617
+ readonly type: "error";
618
+ readonly inputs: readonly [{
619
+ readonly name: "validator";
620
+ readonly type: "address";
621
+ }];
622
+ }, {
623
+ readonly name: "NFTMinterCallFailed";
407
624
  readonly type: "error";
408
625
  readonly inputs: readonly [];
409
626
  }, {
410
- readonly name: "ValidatorBanned";
627
+ readonly name: "DeepthoughtCallFailed";
411
628
  readonly type: "error";
412
629
  readonly inputs: readonly [];
413
630
  }, {
414
- readonly name: "ValidatorQuarantined";
631
+ readonly name: "NFTMinterNotConfigured";
415
632
  readonly type: "error";
416
633
  readonly inputs: readonly [];
417
634
  }, {
418
- readonly name: "InsufficientShares";
635
+ readonly name: "NumberOfValidatorsExceedsAvailable";
419
636
  readonly type: "error";
420
637
  readonly inputs: readonly [];
421
638
  }, {
422
- readonly name: "NothingToClaim";
639
+ readonly name: "EpochAdvanceNotReady";
423
640
  readonly type: "error";
424
641
  readonly inputs: readonly [];
425
642
  }, {
426
- readonly name: "NotYetClaimable";
643
+ readonly name: "PreviousEpochNotFinalizable";
427
644
  readonly type: "error";
428
645
  readonly inputs: readonly [];
429
646
  }, {
430
- readonly name: "ZeroAmount";
647
+ readonly name: "NoBurning";
431
648
  readonly type: "error";
432
649
  readonly inputs: readonly [];
433
650
  }, {
434
- readonly name: "InvalidOperator";
651
+ readonly name: "ReductionFactorCannotBeZero";
435
652
  readonly type: "error";
436
653
  readonly inputs: readonly [];
437
654
  }, {