viem 2.47.6 → 2.47.11
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 +58 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js +12 -0
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/waitForCallsStatus.js.map +1 -1
- package/_cjs/chains/definitions/battlechainTestnet.js +26 -0
- package/_cjs/chains/definitions/battlechainTestnet.js.map +1 -0
- package/_cjs/chains/definitions/eden.js +32 -0
- package/_cjs/chains/definitions/eden.js.map +1 -0
- package/_cjs/chains/definitions/fluent.js +26 -0
- package/_cjs/chains/definitions/fluent.js.map +1 -0
- package/_cjs/chains/definitions/gensyn.js +29 -0
- package/_cjs/chains/definitions/gensyn.js.map +1 -0
- package/_cjs/chains/definitions/igra.js +26 -0
- package/_cjs/chains/definitions/igra.js.map +1 -0
- package/_cjs/chains/definitions/katana.js +6 -0
- package/_cjs/chains/definitions/katana.js.map +1 -1
- package/_cjs/chains/definitions/megaeth.js +25 -3
- package/_cjs/chains/definitions/megaeth.js.map +1 -1
- package/_cjs/chains/definitions/mezo.js +23 -0
- package/_cjs/chains/definitions/mezo.js.map +1 -0
- package/_cjs/chains/definitions/mezoTestnet.js +30 -0
- package/_cjs/chains/definitions/mezoTestnet.js.map +1 -0
- package/_cjs/chains/definitions/radius.js +22 -0
- package/_cjs/chains/definitions/radius.js.map +1 -0
- package/_cjs/chains/definitions/radiusTestnet.js +22 -0
- package/_cjs/chains/definitions/radiusTestnet.js.map +1 -0
- package/_cjs/chains/definitions/tempoDevnet.js +1 -0
- package/_cjs/chains/definitions/tempoDevnet.js.map +1 -1
- package/_cjs/chains/definitions/tempoLocalnet.js +1 -0
- package/_cjs/chains/definitions/tempoLocalnet.js.map +1 -1
- package/_cjs/chains/definitions/tempoModerato.js +1 -1
- package/_cjs/chains/definitions/tempoModerato.js.map +1 -1
- package/_cjs/chains/index.js +34 -17
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/tempo/Abis.js +701 -4
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Account.js +7 -5
- package/_cjs/tempo/Account.js.map +1 -1
- package/_cjs/tempo/Hardfork.js +18 -0
- package/_cjs/tempo/Hardfork.js.map +1 -0
- package/_cjs/tempo/Transaction.js +1 -0
- package/_cjs/tempo/Transaction.js.map +1 -1
- package/_cjs/tempo/actions/accessKey.js +28 -3
- package/_cjs/tempo/actions/accessKey.js.map +1 -1
- package/_cjs/tempo/actions/token.js +2 -1
- package/_cjs/tempo/actions/token.js.map +1 -1
- package/_cjs/tempo/actions/validator.js +11 -11
- package/_cjs/tempo/actions/validator.js.map +1 -1
- package/_cjs/tempo/chainConfig.js +44 -8
- package/_cjs/tempo/chainConfig.js.map +1 -1
- package/_cjs/tempo/index.js +3 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_cjs/utils/buildRequest.js +2 -0
- package/_cjs/utils/buildRequest.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +12 -0
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/waitForCallsStatus.js.map +1 -1
- package/_esm/chains/definitions/battlechainTestnet.js +23 -0
- package/_esm/chains/definitions/battlechainTestnet.js.map +1 -0
- package/_esm/chains/definitions/eden.js +29 -0
- package/_esm/chains/definitions/eden.js.map +1 -0
- package/_esm/chains/definitions/fluent.js +23 -0
- package/_esm/chains/definitions/fluent.js.map +1 -0
- package/_esm/chains/definitions/gensyn.js +26 -0
- package/_esm/chains/definitions/gensyn.js.map +1 -0
- package/_esm/chains/definitions/igra.js +23 -0
- package/_esm/chains/definitions/igra.js.map +1 -0
- package/_esm/chains/definitions/katana.js +6 -0
- package/_esm/chains/definitions/katana.js.map +1 -1
- package/_esm/chains/definitions/megaeth.js +25 -3
- package/_esm/chains/definitions/megaeth.js.map +1 -1
- package/_esm/chains/definitions/mezo.js +20 -0
- package/_esm/chains/definitions/mezo.js.map +1 -0
- package/_esm/chains/definitions/mezoTestnet.js +27 -0
- package/_esm/chains/definitions/mezoTestnet.js.map +1 -0
- package/_esm/chains/definitions/radius.js +19 -0
- package/_esm/chains/definitions/radius.js.map +1 -0
- package/_esm/chains/definitions/radiusTestnet.js +19 -0
- package/_esm/chains/definitions/radiusTestnet.js.map +1 -0
- package/_esm/chains/definitions/tempoDevnet.js +1 -0
- package/_esm/chains/definitions/tempoDevnet.js.map +1 -1
- package/_esm/chains/definitions/tempoLocalnet.js +1 -0
- package/_esm/chains/definitions/tempoLocalnet.js.map +1 -1
- package/_esm/chains/definitions/tempoModerato.js +1 -1
- package/_esm/chains/definitions/tempoModerato.js.map +1 -1
- package/_esm/chains/index.js +11 -7
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/tempo/Abis.js +700 -3
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Account.js +7 -7
- package/_esm/tempo/Account.js.map +1 -1
- package/_esm/tempo/Hardfork.js +15 -0
- package/_esm/tempo/Hardfork.js.map +1 -0
- package/_esm/tempo/Transaction.js +1 -0
- package/_esm/tempo/Transaction.js.map +1 -1
- package/_esm/tempo/actions/accessKey.js +36 -4
- package/_esm/tempo/actions/accessKey.js.map +1 -1
- package/_esm/tempo/actions/token.js +2 -1
- package/_esm/tempo/actions/token.js.map +1 -1
- package/_esm/tempo/actions/validator.js +11 -11
- package/_esm/tempo/actions/validator.js.map +1 -1
- package/_esm/tempo/chainConfig.js +52 -11
- package/_esm/tempo/chainConfig.js.map +1 -1
- package/_esm/tempo/index.js +2 -1
- package/_esm/tempo/index.js.map +1 -1
- package/_esm/utils/buildRequest.js +5 -0
- package/_esm/utils/buildRequest.js.map +1 -1
- package/_types/actions/public/verifyHash.d.ts +1 -1
- package/_types/actions/public/verifyHash.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/chains/definitions/battlechainTestnet.d.ts +441 -0
- package/_types/chains/definitions/battlechainTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/eden.d.ts +46 -0
- package/_types/chains/definitions/eden.d.ts.map +1 -0
- package/_types/chains/definitions/fluent.d.ts +48 -0
- package/_types/chains/definitions/fluent.d.ts.map +1 -0
- package/_types/chains/definitions/gensyn.d.ts +45 -0
- package/_types/chains/definitions/gensyn.d.ts.map +1 -0
- package/_types/chains/definitions/igra.d.ts +48 -0
- package/_types/chains/definitions/igra.d.ts.map +1 -0
- package/_types/chains/definitions/katana.d.ts +6 -9
- package/_types/chains/definitions/katana.d.ts.map +1 -1
- package/_types/chains/definitions/megaeth.d.ts +274 -6
- package/_types/chains/definitions/megaeth.d.ts.map +1 -1
- package/_types/chains/definitions/mezo.d.ts +48 -0
- package/_types/chains/definitions/mezo.d.ts.map +1 -0
- package/_types/chains/definitions/mezoTestnet.d.ts +45 -0
- package/_types/chains/definitions/mezoTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/radius.d.ts +48 -0
- package/_types/chains/definitions/radius.d.ts.map +1 -0
- package/_types/chains/definitions/radiusTestnet.d.ts +48 -0
- package/_types/chains/definitions/radiusTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/tempo.d.ts +25 -22
- package/_types/chains/definitions/tempo.d.ts.map +1 -1
- package/_types/chains/definitions/tempoDevnet.d.ts +27 -22
- package/_types/chains/definitions/tempoDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/tempoLocalnet.d.ts +27 -22
- package/_types/chains/definitions/tempoLocalnet.d.ts.map +1 -1
- package/_types/chains/definitions/tempoModerato.d.ts +27 -24
- package/_types/chains/definitions/tempoModerato.d.ts.map +1 -1
- package/_types/chains/index.d.ts +11 -7
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/tempo/Abis.d.ts +1262 -150
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Account.d.ts +2 -2
- package/_types/tempo/Account.d.ts.map +1 -1
- package/_types/tempo/Decorator.d.ts +2 -2
- package/_types/tempo/Hardfork.d.ts +5 -0
- package/_types/tempo/Hardfork.d.ts.map +1 -0
- package/_types/tempo/Transaction.d.ts.map +1 -1
- package/_types/tempo/actions/accessKey.d.ts +645 -3
- package/_types/tempo/actions/accessKey.d.ts.map +1 -1
- package/_types/tempo/actions/policy.d.ts +444 -4
- package/_types/tempo/actions/policy.d.ts.map +1 -1
- package/_types/tempo/actions/reward.d.ts +108 -0
- package/_types/tempo/actions/reward.d.ts.map +1 -1
- package/_types/tempo/actions/token.d.ts +828 -18
- package/_types/tempo/actions/token.d.ts.map +1 -1
- package/_types/tempo/actions/validator.d.ts +6 -6
- package/_types/tempo/actions/validator.d.ts.map +1 -1
- package/_types/tempo/chainConfig.d.ts +13 -11
- package/_types/tempo/chainConfig.d.ts.map +1 -1
- package/_types/tempo/index.d.ts +2 -1
- package/_types/tempo/index.d.ts.map +1 -1
- package/_types/utils/buildRequest.d.ts.map +1 -1
- package/actions/public/verifyHash.ts +1 -1
- package/actions/wallet/prepareTransactionRequest.ts +12 -0
- package/actions/wallet/waitForCallsStatus.ts +1 -1
- package/chains/definitions/battlechainTestnet.ts +24 -0
- package/chains/definitions/eden.ts +29 -0
- package/chains/definitions/fluent.ts +23 -0
- package/chains/definitions/gensyn.ts +26 -0
- package/chains/definitions/igra.ts +23 -0
- package/chains/definitions/katana.ts +6 -0
- package/chains/definitions/megaeth.ts +26 -3
- package/chains/definitions/mezo.ts +20 -0
- package/chains/definitions/mezoTestnet.ts +27 -0
- package/chains/definitions/radius.ts +19 -0
- package/chains/definitions/radiusTestnet.ts +19 -0
- package/chains/definitions/tempoDevnet.ts +1 -0
- package/chains/definitions/tempoLocalnet.ts +1 -0
- package/chains/definitions/tempoModerato.ts +1 -1
- package/chains/index.ts +14 -8
- package/errors/version.ts +1 -1
- package/package.json +2 -2
- package/tempo/Abis.ts +703 -3
- package/tempo/Account.ts +9 -8
- package/tempo/Decorator.ts +2 -2
- package/tempo/Hardfork.ts +17 -0
- package/tempo/Transaction.ts +2 -1
- package/tempo/actions/accessKey.ts +53 -11
- package/tempo/actions/token.ts +2 -1
- package/tempo/actions/validator.ts +17 -17
- package/tempo/chainConfig.ts +59 -15
- package/tempo/index.ts +2 -1
- package/tsconfig.json +1 -1
- package/utils/buildRequest.ts +4 -0
- package/_cjs/chains/definitions/tempoAndantino.js +0 -28
- package/_cjs/chains/definitions/tempoAndantino.js.map +0 -1
- package/_esm/chains/definitions/tempoAndantino.js +0 -25
- package/_esm/chains/definitions/tempoAndantino.js.map +0 -1
- package/_types/chains/definitions/tempoAndantino.d.ts +0 -918
- package/_types/chains/definitions/tempoAndantino.d.ts.map +0 -1
- package/chains/definitions/tempoAndantino.ts +0 -25
package/_types/tempo/Abis.d.ts
CHANGED
|
@@ -320,6 +320,52 @@ export declare const tip20: readonly [{
|
|
|
320
320
|
readonly outputs: readonly [{
|
|
321
321
|
readonly type: "bytes32";
|
|
322
322
|
}];
|
|
323
|
+
}, {
|
|
324
|
+
readonly name: "permit";
|
|
325
|
+
readonly type: "function";
|
|
326
|
+
readonly stateMutability: "nonpayable";
|
|
327
|
+
readonly inputs: readonly [{
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
readonly name: "owner";
|
|
330
|
+
}, {
|
|
331
|
+
readonly type: "address";
|
|
332
|
+
readonly name: "spender";
|
|
333
|
+
}, {
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
readonly name: "value";
|
|
336
|
+
}, {
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
readonly name: "deadline";
|
|
339
|
+
}, {
|
|
340
|
+
readonly type: "uint8";
|
|
341
|
+
readonly name: "v";
|
|
342
|
+
}, {
|
|
343
|
+
readonly type: "bytes32";
|
|
344
|
+
readonly name: "r";
|
|
345
|
+
}, {
|
|
346
|
+
readonly type: "bytes32";
|
|
347
|
+
readonly name: "s";
|
|
348
|
+
}];
|
|
349
|
+
readonly outputs: readonly [];
|
|
350
|
+
}, {
|
|
351
|
+
readonly name: "nonces";
|
|
352
|
+
readonly type: "function";
|
|
353
|
+
readonly stateMutability: "view";
|
|
354
|
+
readonly inputs: readonly [{
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
readonly name: "owner";
|
|
357
|
+
}];
|
|
358
|
+
readonly outputs: readonly [{
|
|
359
|
+
readonly type: "uint256";
|
|
360
|
+
}];
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
363
|
+
readonly type: "function";
|
|
364
|
+
readonly stateMutability: "view";
|
|
365
|
+
readonly inputs: readonly [];
|
|
366
|
+
readonly outputs: readonly [{
|
|
367
|
+
readonly type: "bytes32";
|
|
368
|
+
}];
|
|
323
369
|
}, {
|
|
324
370
|
readonly name: "distributeReward";
|
|
325
371
|
readonly type: "function";
|
|
@@ -524,232 +570,858 @@ export declare const tip20: readonly [{
|
|
|
524
570
|
readonly indexed: true;
|
|
525
571
|
}];
|
|
526
572
|
}, {
|
|
527
|
-
readonly name: "QuoteTokenUpdate";
|
|
573
|
+
readonly name: "QuoteTokenUpdate";
|
|
574
|
+
readonly type: "event";
|
|
575
|
+
readonly inputs: readonly [{
|
|
576
|
+
readonly type: "address";
|
|
577
|
+
readonly name: "updater";
|
|
578
|
+
readonly indexed: true;
|
|
579
|
+
}, {
|
|
580
|
+
readonly type: "address";
|
|
581
|
+
readonly name: "newQuoteToken";
|
|
582
|
+
readonly indexed: true;
|
|
583
|
+
}];
|
|
584
|
+
}, {
|
|
585
|
+
readonly name: "RewardDistributed";
|
|
586
|
+
readonly type: "event";
|
|
587
|
+
readonly inputs: readonly [{
|
|
588
|
+
readonly type: "address";
|
|
589
|
+
readonly name: "funder";
|
|
590
|
+
readonly indexed: true;
|
|
591
|
+
}, {
|
|
592
|
+
readonly type: "uint256";
|
|
593
|
+
readonly name: "amount";
|
|
594
|
+
}];
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "RewardRecipientSet";
|
|
597
|
+
readonly type: "event";
|
|
598
|
+
readonly inputs: readonly [{
|
|
599
|
+
readonly type: "address";
|
|
600
|
+
readonly name: "holder";
|
|
601
|
+
readonly indexed: true;
|
|
602
|
+
}, {
|
|
603
|
+
readonly type: "address";
|
|
604
|
+
readonly name: "recipient";
|
|
605
|
+
readonly indexed: true;
|
|
606
|
+
}];
|
|
607
|
+
}, {
|
|
608
|
+
readonly name: "InsufficientBalance";
|
|
609
|
+
readonly type: "error";
|
|
610
|
+
readonly inputs: readonly [{
|
|
611
|
+
readonly type: "uint256";
|
|
612
|
+
readonly name: "available";
|
|
613
|
+
}, {
|
|
614
|
+
readonly type: "uint256";
|
|
615
|
+
readonly name: "required";
|
|
616
|
+
}, {
|
|
617
|
+
readonly type: "address";
|
|
618
|
+
readonly name: "token";
|
|
619
|
+
}];
|
|
620
|
+
}, {
|
|
621
|
+
readonly name: "InsufficientAllowance";
|
|
622
|
+
readonly type: "error";
|
|
623
|
+
readonly inputs: readonly [];
|
|
624
|
+
}, {
|
|
625
|
+
readonly name: "SupplyCapExceeded";
|
|
626
|
+
readonly type: "error";
|
|
627
|
+
readonly inputs: readonly [];
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: "InvalidSupplyCap";
|
|
630
|
+
readonly type: "error";
|
|
631
|
+
readonly inputs: readonly [];
|
|
632
|
+
}, {
|
|
633
|
+
readonly name: "InvalidPayload";
|
|
634
|
+
readonly type: "error";
|
|
635
|
+
readonly inputs: readonly [];
|
|
636
|
+
}, {
|
|
637
|
+
readonly name: "StringTooLong";
|
|
638
|
+
readonly type: "error";
|
|
639
|
+
readonly inputs: readonly [];
|
|
640
|
+
}, {
|
|
641
|
+
readonly name: "PolicyForbids";
|
|
642
|
+
readonly type: "error";
|
|
643
|
+
readonly inputs: readonly [];
|
|
644
|
+
}, {
|
|
645
|
+
readonly name: "InvalidRecipient";
|
|
646
|
+
readonly type: "error";
|
|
647
|
+
readonly inputs: readonly [];
|
|
648
|
+
}, {
|
|
649
|
+
readonly name: "ContractPaused";
|
|
650
|
+
readonly type: "error";
|
|
651
|
+
readonly inputs: readonly [];
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "InvalidCurrency";
|
|
654
|
+
readonly type: "error";
|
|
655
|
+
readonly inputs: readonly [];
|
|
656
|
+
}, {
|
|
657
|
+
readonly name: "InvalidQuoteToken";
|
|
658
|
+
readonly type: "error";
|
|
659
|
+
readonly inputs: readonly [];
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "TransfersDisabled";
|
|
662
|
+
readonly type: "error";
|
|
663
|
+
readonly inputs: readonly [];
|
|
664
|
+
}, {
|
|
665
|
+
readonly name: "InvalidAmount";
|
|
666
|
+
readonly type: "error";
|
|
667
|
+
readonly inputs: readonly [];
|
|
668
|
+
}, {
|
|
669
|
+
readonly name: "NoOptedInSupply";
|
|
670
|
+
readonly type: "error";
|
|
671
|
+
readonly inputs: readonly [];
|
|
672
|
+
}, {
|
|
673
|
+
readonly name: "Unauthorized";
|
|
674
|
+
readonly type: "error";
|
|
675
|
+
readonly inputs: readonly [];
|
|
676
|
+
}, {
|
|
677
|
+
readonly name: "ProtectedAddress";
|
|
678
|
+
readonly type: "error";
|
|
679
|
+
readonly inputs: readonly [];
|
|
680
|
+
}, {
|
|
681
|
+
readonly name: "InvalidToken";
|
|
682
|
+
readonly type: "error";
|
|
683
|
+
readonly inputs: readonly [];
|
|
684
|
+
}, {
|
|
685
|
+
readonly name: "Uninitialized";
|
|
686
|
+
readonly type: "error";
|
|
687
|
+
readonly inputs: readonly [];
|
|
688
|
+
}, {
|
|
689
|
+
readonly name: "InvalidTransferPolicyId";
|
|
690
|
+
readonly type: "error";
|
|
691
|
+
readonly inputs: readonly [];
|
|
692
|
+
}, {
|
|
693
|
+
readonly name: "PermitExpired";
|
|
694
|
+
readonly type: "error";
|
|
695
|
+
readonly inputs: readonly [];
|
|
696
|
+
}, {
|
|
697
|
+
readonly name: "InvalidSignature";
|
|
698
|
+
readonly type: "error";
|
|
699
|
+
readonly inputs: readonly [];
|
|
700
|
+
}, {
|
|
701
|
+
readonly name: "hasRole";
|
|
702
|
+
readonly type: "function";
|
|
703
|
+
readonly stateMutability: "view";
|
|
704
|
+
readonly inputs: readonly [{
|
|
705
|
+
readonly type: "address";
|
|
706
|
+
readonly name: "account";
|
|
707
|
+
}, {
|
|
708
|
+
readonly type: "bytes32";
|
|
709
|
+
readonly name: "role";
|
|
710
|
+
}];
|
|
711
|
+
readonly outputs: readonly [{
|
|
712
|
+
readonly type: "bool";
|
|
713
|
+
}];
|
|
714
|
+
}, {
|
|
715
|
+
readonly name: "getRoleAdmin";
|
|
716
|
+
readonly type: "function";
|
|
717
|
+
readonly stateMutability: "view";
|
|
718
|
+
readonly inputs: readonly [{
|
|
719
|
+
readonly type: "bytes32";
|
|
720
|
+
readonly name: "role";
|
|
721
|
+
}];
|
|
722
|
+
readonly outputs: readonly [{
|
|
723
|
+
readonly type: "bytes32";
|
|
724
|
+
}];
|
|
725
|
+
}, {
|
|
726
|
+
readonly name: "grantRole";
|
|
727
|
+
readonly type: "function";
|
|
728
|
+
readonly stateMutability: "nonpayable";
|
|
729
|
+
readonly inputs: readonly [{
|
|
730
|
+
readonly type: "bytes32";
|
|
731
|
+
readonly name: "role";
|
|
732
|
+
}, {
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
readonly name: "account";
|
|
735
|
+
}];
|
|
736
|
+
readonly outputs: readonly [];
|
|
737
|
+
}, {
|
|
738
|
+
readonly name: "revokeRole";
|
|
739
|
+
readonly type: "function";
|
|
740
|
+
readonly stateMutability: "nonpayable";
|
|
741
|
+
readonly inputs: readonly [{
|
|
742
|
+
readonly type: "bytes32";
|
|
743
|
+
readonly name: "role";
|
|
744
|
+
}, {
|
|
745
|
+
readonly type: "address";
|
|
746
|
+
readonly name: "account";
|
|
747
|
+
}];
|
|
748
|
+
readonly outputs: readonly [];
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "renounceRole";
|
|
751
|
+
readonly type: "function";
|
|
752
|
+
readonly stateMutability: "nonpayable";
|
|
753
|
+
readonly inputs: readonly [{
|
|
754
|
+
readonly type: "bytes32";
|
|
755
|
+
readonly name: "role";
|
|
756
|
+
}];
|
|
757
|
+
readonly outputs: readonly [];
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "setRoleAdmin";
|
|
760
|
+
readonly type: "function";
|
|
761
|
+
readonly stateMutability: "nonpayable";
|
|
762
|
+
readonly inputs: readonly [{
|
|
763
|
+
readonly type: "bytes32";
|
|
764
|
+
readonly name: "role";
|
|
765
|
+
}, {
|
|
766
|
+
readonly type: "bytes32";
|
|
767
|
+
readonly name: "adminRole";
|
|
768
|
+
}];
|
|
769
|
+
readonly outputs: readonly [];
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "RoleMembershipUpdated";
|
|
772
|
+
readonly type: "event";
|
|
773
|
+
readonly inputs: readonly [{
|
|
774
|
+
readonly type: "bytes32";
|
|
775
|
+
readonly name: "role";
|
|
776
|
+
readonly indexed: true;
|
|
777
|
+
}, {
|
|
778
|
+
readonly type: "address";
|
|
779
|
+
readonly name: "account";
|
|
780
|
+
readonly indexed: true;
|
|
781
|
+
}, {
|
|
782
|
+
readonly type: "address";
|
|
783
|
+
readonly name: "sender";
|
|
784
|
+
readonly indexed: true;
|
|
785
|
+
}, {
|
|
786
|
+
readonly type: "bool";
|
|
787
|
+
readonly name: "hasRole";
|
|
788
|
+
}];
|
|
789
|
+
}, {
|
|
790
|
+
readonly name: "RoleAdminUpdated";
|
|
791
|
+
readonly type: "event";
|
|
792
|
+
readonly inputs: readonly [{
|
|
793
|
+
readonly type: "bytes32";
|
|
794
|
+
readonly name: "role";
|
|
795
|
+
readonly indexed: true;
|
|
796
|
+
}, {
|
|
797
|
+
readonly type: "bytes32";
|
|
798
|
+
readonly name: "newAdminRole";
|
|
799
|
+
readonly indexed: true;
|
|
800
|
+
}, {
|
|
801
|
+
readonly type: "address";
|
|
802
|
+
readonly name: "sender";
|
|
803
|
+
readonly indexed: true;
|
|
804
|
+
}];
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "Unauthorized";
|
|
807
|
+
readonly type: "error";
|
|
808
|
+
readonly inputs: readonly [];
|
|
809
|
+
}];
|
|
810
|
+
export declare const validatorConfigV2: readonly [{
|
|
811
|
+
readonly name: "getActiveValidators";
|
|
812
|
+
readonly type: "function";
|
|
813
|
+
readonly stateMutability: "view";
|
|
814
|
+
readonly inputs: readonly [];
|
|
815
|
+
readonly outputs: readonly [{
|
|
816
|
+
readonly type: "tuple[]";
|
|
817
|
+
readonly name: "validators";
|
|
818
|
+
readonly components: readonly [{
|
|
819
|
+
readonly type: "bytes32";
|
|
820
|
+
readonly name: "publicKey";
|
|
821
|
+
}, {
|
|
822
|
+
readonly type: "address";
|
|
823
|
+
readonly name: "validatorAddress";
|
|
824
|
+
}, {
|
|
825
|
+
readonly type: "string";
|
|
826
|
+
readonly name: "ingress";
|
|
827
|
+
}, {
|
|
828
|
+
readonly type: "string";
|
|
829
|
+
readonly name: "egress";
|
|
830
|
+
}, {
|
|
831
|
+
readonly type: "address";
|
|
832
|
+
readonly name: "feeRecipient";
|
|
833
|
+
}, {
|
|
834
|
+
readonly type: "uint64";
|
|
835
|
+
readonly name: "index";
|
|
836
|
+
}, {
|
|
837
|
+
readonly type: "uint64";
|
|
838
|
+
readonly name: "addedAtHeight";
|
|
839
|
+
}, {
|
|
840
|
+
readonly type: "uint64";
|
|
841
|
+
readonly name: "deactivatedAtHeight";
|
|
842
|
+
}];
|
|
843
|
+
}];
|
|
844
|
+
}, {
|
|
845
|
+
readonly name: "getInitializedAtHeight";
|
|
846
|
+
readonly type: "function";
|
|
847
|
+
readonly stateMutability: "view";
|
|
848
|
+
readonly inputs: readonly [];
|
|
849
|
+
readonly outputs: readonly [{
|
|
850
|
+
readonly type: "uint64";
|
|
851
|
+
}];
|
|
852
|
+
}, {
|
|
853
|
+
readonly name: "owner";
|
|
854
|
+
readonly type: "function";
|
|
855
|
+
readonly stateMutability: "view";
|
|
856
|
+
readonly inputs: readonly [];
|
|
857
|
+
readonly outputs: readonly [{
|
|
858
|
+
readonly type: "address";
|
|
859
|
+
}];
|
|
860
|
+
}, {
|
|
861
|
+
readonly name: "validatorCount";
|
|
862
|
+
readonly type: "function";
|
|
863
|
+
readonly stateMutability: "view";
|
|
864
|
+
readonly inputs: readonly [];
|
|
865
|
+
readonly outputs: readonly [{
|
|
866
|
+
readonly type: "uint64";
|
|
867
|
+
}];
|
|
868
|
+
}, {
|
|
869
|
+
readonly name: "validatorByIndex";
|
|
870
|
+
readonly type: "function";
|
|
871
|
+
readonly stateMutability: "view";
|
|
872
|
+
readonly inputs: readonly [{
|
|
873
|
+
readonly type: "uint64";
|
|
874
|
+
readonly name: "index";
|
|
875
|
+
}];
|
|
876
|
+
readonly outputs: readonly [{
|
|
877
|
+
readonly type: "tuple";
|
|
878
|
+
readonly components: readonly [{
|
|
879
|
+
readonly type: "bytes32";
|
|
880
|
+
readonly name: "publicKey";
|
|
881
|
+
}, {
|
|
882
|
+
readonly type: "address";
|
|
883
|
+
readonly name: "validatorAddress";
|
|
884
|
+
}, {
|
|
885
|
+
readonly type: "string";
|
|
886
|
+
readonly name: "ingress";
|
|
887
|
+
}, {
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
readonly name: "egress";
|
|
890
|
+
}, {
|
|
891
|
+
readonly type: "address";
|
|
892
|
+
readonly name: "feeRecipient";
|
|
893
|
+
}, {
|
|
894
|
+
readonly type: "uint64";
|
|
895
|
+
readonly name: "index";
|
|
896
|
+
}, {
|
|
897
|
+
readonly type: "uint64";
|
|
898
|
+
readonly name: "addedAtHeight";
|
|
899
|
+
}, {
|
|
900
|
+
readonly type: "uint64";
|
|
901
|
+
readonly name: "deactivatedAtHeight";
|
|
902
|
+
}];
|
|
903
|
+
}];
|
|
904
|
+
}, {
|
|
905
|
+
readonly name: "validatorByAddress";
|
|
906
|
+
readonly type: "function";
|
|
907
|
+
readonly stateMutability: "view";
|
|
908
|
+
readonly inputs: readonly [{
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
readonly name: "validatorAddress";
|
|
911
|
+
}];
|
|
912
|
+
readonly outputs: readonly [{
|
|
913
|
+
readonly type: "tuple";
|
|
914
|
+
readonly components: readonly [{
|
|
915
|
+
readonly type: "bytes32";
|
|
916
|
+
readonly name: "publicKey";
|
|
917
|
+
}, {
|
|
918
|
+
readonly type: "address";
|
|
919
|
+
readonly name: "validatorAddress";
|
|
920
|
+
}, {
|
|
921
|
+
readonly type: "string";
|
|
922
|
+
readonly name: "ingress";
|
|
923
|
+
}, {
|
|
924
|
+
readonly type: "string";
|
|
925
|
+
readonly name: "egress";
|
|
926
|
+
}, {
|
|
927
|
+
readonly type: "address";
|
|
928
|
+
readonly name: "feeRecipient";
|
|
929
|
+
}, {
|
|
930
|
+
readonly type: "uint64";
|
|
931
|
+
readonly name: "index";
|
|
932
|
+
}, {
|
|
933
|
+
readonly type: "uint64";
|
|
934
|
+
readonly name: "addedAtHeight";
|
|
935
|
+
}, {
|
|
936
|
+
readonly type: "uint64";
|
|
937
|
+
readonly name: "deactivatedAtHeight";
|
|
938
|
+
}];
|
|
939
|
+
}];
|
|
940
|
+
}, {
|
|
941
|
+
readonly name: "validatorByPublicKey";
|
|
942
|
+
readonly type: "function";
|
|
943
|
+
readonly stateMutability: "view";
|
|
944
|
+
readonly inputs: readonly [{
|
|
945
|
+
readonly type: "bytes32";
|
|
946
|
+
readonly name: "publicKey";
|
|
947
|
+
}];
|
|
948
|
+
readonly outputs: readonly [{
|
|
949
|
+
readonly type: "tuple";
|
|
950
|
+
readonly components: readonly [{
|
|
951
|
+
readonly type: "bytes32";
|
|
952
|
+
readonly name: "publicKey";
|
|
953
|
+
}, {
|
|
954
|
+
readonly type: "address";
|
|
955
|
+
readonly name: "validatorAddress";
|
|
956
|
+
}, {
|
|
957
|
+
readonly type: "string";
|
|
958
|
+
readonly name: "ingress";
|
|
959
|
+
}, {
|
|
960
|
+
readonly type: "string";
|
|
961
|
+
readonly name: "egress";
|
|
962
|
+
}, {
|
|
963
|
+
readonly type: "address";
|
|
964
|
+
readonly name: "feeRecipient";
|
|
965
|
+
}, {
|
|
966
|
+
readonly type: "uint64";
|
|
967
|
+
readonly name: "index";
|
|
968
|
+
}, {
|
|
969
|
+
readonly type: "uint64";
|
|
970
|
+
readonly name: "addedAtHeight";
|
|
971
|
+
}, {
|
|
972
|
+
readonly type: "uint64";
|
|
973
|
+
readonly name: "deactivatedAtHeight";
|
|
974
|
+
}];
|
|
975
|
+
}];
|
|
976
|
+
}, {
|
|
977
|
+
readonly name: "getNextNetworkIdentityRotationEpoch";
|
|
978
|
+
readonly type: "function";
|
|
979
|
+
readonly stateMutability: "view";
|
|
980
|
+
readonly inputs: readonly [];
|
|
981
|
+
readonly outputs: readonly [{
|
|
982
|
+
readonly type: "uint64";
|
|
983
|
+
}];
|
|
984
|
+
}, {
|
|
985
|
+
readonly name: "isInitialized";
|
|
986
|
+
readonly type: "function";
|
|
987
|
+
readonly stateMutability: "view";
|
|
988
|
+
readonly inputs: readonly [];
|
|
989
|
+
readonly outputs: readonly [{
|
|
990
|
+
readonly type: "bool";
|
|
991
|
+
}];
|
|
992
|
+
}, {
|
|
993
|
+
readonly name: "addValidator";
|
|
994
|
+
readonly type: "function";
|
|
995
|
+
readonly stateMutability: "nonpayable";
|
|
996
|
+
readonly inputs: readonly [{
|
|
997
|
+
readonly type: "address";
|
|
998
|
+
readonly name: "validatorAddress";
|
|
999
|
+
}, {
|
|
1000
|
+
readonly type: "bytes32";
|
|
1001
|
+
readonly name: "publicKey";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly type: "string";
|
|
1004
|
+
readonly name: "ingress";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly type: "string";
|
|
1007
|
+
readonly name: "egress";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly type: "address";
|
|
1010
|
+
readonly name: "feeRecipient";
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly type: "bytes";
|
|
1013
|
+
readonly name: "signature";
|
|
1014
|
+
}];
|
|
1015
|
+
readonly outputs: readonly [{
|
|
1016
|
+
readonly type: "uint64";
|
|
1017
|
+
readonly name: "index";
|
|
1018
|
+
}];
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly name: "deactivateValidator";
|
|
1021
|
+
readonly type: "function";
|
|
1022
|
+
readonly stateMutability: "nonpayable";
|
|
1023
|
+
readonly inputs: readonly [{
|
|
1024
|
+
readonly type: "uint64";
|
|
1025
|
+
readonly name: "idx";
|
|
1026
|
+
}];
|
|
1027
|
+
readonly outputs: readonly [];
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly name: "rotateValidator";
|
|
1030
|
+
readonly type: "function";
|
|
1031
|
+
readonly stateMutability: "nonpayable";
|
|
1032
|
+
readonly inputs: readonly [{
|
|
1033
|
+
readonly type: "uint64";
|
|
1034
|
+
readonly name: "idx";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly type: "bytes32";
|
|
1037
|
+
readonly name: "publicKey";
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly type: "string";
|
|
1040
|
+
readonly name: "ingress";
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly type: "string";
|
|
1043
|
+
readonly name: "egress";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly type: "bytes";
|
|
1046
|
+
readonly name: "signature";
|
|
1047
|
+
}];
|
|
1048
|
+
readonly outputs: readonly [];
|
|
1049
|
+
}, {
|
|
1050
|
+
readonly name: "setFeeRecipient";
|
|
1051
|
+
readonly type: "function";
|
|
1052
|
+
readonly stateMutability: "nonpayable";
|
|
1053
|
+
readonly inputs: readonly [{
|
|
1054
|
+
readonly type: "uint64";
|
|
1055
|
+
readonly name: "idx";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly type: "address";
|
|
1058
|
+
readonly name: "feeRecipient";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly outputs: readonly [];
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly name: "setIpAddresses";
|
|
1063
|
+
readonly type: "function";
|
|
1064
|
+
readonly stateMutability: "nonpayable";
|
|
1065
|
+
readonly inputs: readonly [{
|
|
1066
|
+
readonly type: "uint64";
|
|
1067
|
+
readonly name: "idx";
|
|
1068
|
+
}, {
|
|
1069
|
+
readonly type: "string";
|
|
1070
|
+
readonly name: "ingress";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly type: "string";
|
|
1073
|
+
readonly name: "egress";
|
|
1074
|
+
}];
|
|
1075
|
+
readonly outputs: readonly [];
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly name: "transferValidatorOwnership";
|
|
1078
|
+
readonly type: "function";
|
|
1079
|
+
readonly stateMutability: "nonpayable";
|
|
1080
|
+
readonly inputs: readonly [{
|
|
1081
|
+
readonly type: "uint64";
|
|
1082
|
+
readonly name: "idx";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly type: "address";
|
|
1085
|
+
readonly name: "newAddress";
|
|
1086
|
+
}];
|
|
1087
|
+
readonly outputs: readonly [];
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly name: "transferOwnership";
|
|
1090
|
+
readonly type: "function";
|
|
1091
|
+
readonly stateMutability: "nonpayable";
|
|
1092
|
+
readonly inputs: readonly [{
|
|
1093
|
+
readonly type: "address";
|
|
1094
|
+
readonly name: "newOwner";
|
|
1095
|
+
}];
|
|
1096
|
+
readonly outputs: readonly [];
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly name: "setNetworkIdentityRotationEpoch";
|
|
1099
|
+
readonly type: "function";
|
|
1100
|
+
readonly stateMutability: "nonpayable";
|
|
1101
|
+
readonly inputs: readonly [{
|
|
1102
|
+
readonly type: "uint64";
|
|
1103
|
+
readonly name: "epoch";
|
|
1104
|
+
}];
|
|
1105
|
+
readonly outputs: readonly [];
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly name: "migrateValidator";
|
|
1108
|
+
readonly type: "function";
|
|
1109
|
+
readonly stateMutability: "nonpayable";
|
|
1110
|
+
readonly inputs: readonly [{
|
|
1111
|
+
readonly type: "uint64";
|
|
1112
|
+
readonly name: "idx";
|
|
1113
|
+
}];
|
|
1114
|
+
readonly outputs: readonly [];
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly name: "initializeIfMigrated";
|
|
1117
|
+
readonly type: "function";
|
|
1118
|
+
readonly stateMutability: "nonpayable";
|
|
1119
|
+
readonly inputs: readonly [];
|
|
1120
|
+
readonly outputs: readonly [];
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly name: "ValidatorAdded";
|
|
1123
|
+
readonly type: "event";
|
|
1124
|
+
readonly inputs: readonly [{
|
|
1125
|
+
readonly type: "uint64";
|
|
1126
|
+
readonly name: "index";
|
|
1127
|
+
readonly indexed: true;
|
|
1128
|
+
}, {
|
|
1129
|
+
readonly type: "address";
|
|
1130
|
+
readonly name: "validatorAddress";
|
|
1131
|
+
readonly indexed: true;
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly type: "bytes32";
|
|
1134
|
+
readonly name: "publicKey";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly type: "string";
|
|
1137
|
+
readonly name: "ingress";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly type: "string";
|
|
1140
|
+
readonly name: "egress";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly type: "address";
|
|
1143
|
+
readonly name: "feeRecipient";
|
|
1144
|
+
}];
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly name: "ValidatorDeactivated";
|
|
1147
|
+
readonly type: "event";
|
|
1148
|
+
readonly inputs: readonly [{
|
|
1149
|
+
readonly type: "uint64";
|
|
1150
|
+
readonly name: "index";
|
|
1151
|
+
readonly indexed: true;
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly type: "address";
|
|
1154
|
+
readonly name: "validatorAddress";
|
|
1155
|
+
readonly indexed: true;
|
|
1156
|
+
}];
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly name: "ValidatorRotated";
|
|
1159
|
+
readonly type: "event";
|
|
1160
|
+
readonly inputs: readonly [{
|
|
1161
|
+
readonly type: "uint64";
|
|
1162
|
+
readonly name: "index";
|
|
1163
|
+
readonly indexed: true;
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly type: "uint64";
|
|
1166
|
+
readonly name: "deactivatedIndex";
|
|
1167
|
+
readonly indexed: true;
|
|
1168
|
+
}, {
|
|
1169
|
+
readonly type: "address";
|
|
1170
|
+
readonly name: "validatorAddress";
|
|
1171
|
+
readonly indexed: true;
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly type: "bytes32";
|
|
1174
|
+
readonly name: "oldPublicKey";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly type: "bytes32";
|
|
1177
|
+
readonly name: "newPublicKey";
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly type: "string";
|
|
1180
|
+
readonly name: "ingress";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly type: "string";
|
|
1183
|
+
readonly name: "egress";
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly type: "address";
|
|
1186
|
+
readonly name: "caller";
|
|
1187
|
+
}];
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly name: "FeeRecipientUpdated";
|
|
1190
|
+
readonly type: "event";
|
|
1191
|
+
readonly inputs: readonly [{
|
|
1192
|
+
readonly type: "uint64";
|
|
1193
|
+
readonly name: "index";
|
|
1194
|
+
readonly indexed: true;
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
readonly name: "feeRecipient";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly type: "address";
|
|
1200
|
+
readonly name: "caller";
|
|
1201
|
+
}];
|
|
1202
|
+
}, {
|
|
1203
|
+
readonly name: "IpAddressesUpdated";
|
|
1204
|
+
readonly type: "event";
|
|
1205
|
+
readonly inputs: readonly [{
|
|
1206
|
+
readonly type: "uint64";
|
|
1207
|
+
readonly name: "index";
|
|
1208
|
+
readonly indexed: true;
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly type: "string";
|
|
1211
|
+
readonly name: "ingress";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly type: "string";
|
|
1214
|
+
readonly name: "egress";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly type: "address";
|
|
1217
|
+
readonly name: "caller";
|
|
1218
|
+
}];
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly name: "ValidatorOwnershipTransferred";
|
|
1221
|
+
readonly type: "event";
|
|
1222
|
+
readonly inputs: readonly [{
|
|
1223
|
+
readonly type: "uint64";
|
|
1224
|
+
readonly name: "index";
|
|
1225
|
+
readonly indexed: true;
|
|
1226
|
+
}, {
|
|
1227
|
+
readonly type: "address";
|
|
1228
|
+
readonly name: "oldAddress";
|
|
1229
|
+
readonly indexed: true;
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly type: "address";
|
|
1232
|
+
readonly name: "newAddress";
|
|
1233
|
+
readonly indexed: true;
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly type: "address";
|
|
1236
|
+
readonly name: "caller";
|
|
1237
|
+
}];
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly name: "OwnershipTransferred";
|
|
1240
|
+
readonly type: "event";
|
|
1241
|
+
readonly inputs: readonly [{
|
|
1242
|
+
readonly type: "address";
|
|
1243
|
+
readonly name: "oldOwner";
|
|
1244
|
+
readonly indexed: true;
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly type: "address";
|
|
1247
|
+
readonly name: "newOwner";
|
|
1248
|
+
readonly indexed: true;
|
|
1249
|
+
}];
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly name: "ValidatorMigrated";
|
|
1252
|
+
readonly type: "event";
|
|
1253
|
+
readonly inputs: readonly [{
|
|
1254
|
+
readonly type: "uint64";
|
|
1255
|
+
readonly name: "index";
|
|
1256
|
+
readonly indexed: true;
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly type: "address";
|
|
1259
|
+
readonly name: "validatorAddress";
|
|
1260
|
+
readonly indexed: true;
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly type: "bytes32";
|
|
1263
|
+
readonly name: "publicKey";
|
|
1264
|
+
}];
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly name: "NetworkIdentityRotationEpochSet";
|
|
528
1267
|
readonly type: "event";
|
|
529
1268
|
readonly inputs: readonly [{
|
|
530
|
-
readonly type: "
|
|
531
|
-
readonly name: "
|
|
1269
|
+
readonly type: "uint64";
|
|
1270
|
+
readonly name: "previousEpoch";
|
|
532
1271
|
readonly indexed: true;
|
|
533
1272
|
}, {
|
|
534
|
-
readonly type: "
|
|
535
|
-
readonly name: "
|
|
1273
|
+
readonly type: "uint64";
|
|
1274
|
+
readonly name: "nextEpoch";
|
|
536
1275
|
readonly indexed: true;
|
|
537
1276
|
}];
|
|
538
1277
|
}, {
|
|
539
|
-
readonly name: "
|
|
1278
|
+
readonly name: "Initialized";
|
|
540
1279
|
readonly type: "event";
|
|
541
1280
|
readonly inputs: readonly [{
|
|
542
|
-
readonly type: "
|
|
543
|
-
readonly name: "
|
|
544
|
-
readonly indexed: true;
|
|
545
|
-
}, {
|
|
546
|
-
readonly type: "uint256";
|
|
547
|
-
readonly name: "amount";
|
|
1281
|
+
readonly type: "uint64";
|
|
1282
|
+
readonly name: "height";
|
|
548
1283
|
}];
|
|
549
1284
|
}, {
|
|
550
|
-
readonly name: "
|
|
1285
|
+
readonly name: "SkippedValidatorMigration";
|
|
551
1286
|
readonly type: "event";
|
|
552
1287
|
readonly inputs: readonly [{
|
|
553
|
-
readonly type: "
|
|
554
|
-
readonly name: "
|
|
1288
|
+
readonly type: "uint64";
|
|
1289
|
+
readonly name: "index";
|
|
555
1290
|
readonly indexed: true;
|
|
556
1291
|
}, {
|
|
557
1292
|
readonly type: "address";
|
|
558
|
-
readonly name: "
|
|
1293
|
+
readonly name: "validatorAddress";
|
|
559
1294
|
readonly indexed: true;
|
|
560
|
-
}];
|
|
561
|
-
}, {
|
|
562
|
-
readonly name: "InsufficientBalance";
|
|
563
|
-
readonly type: "error";
|
|
564
|
-
readonly inputs: readonly [{
|
|
565
|
-
readonly type: "uint256";
|
|
566
|
-
readonly name: "available";
|
|
567
|
-
}, {
|
|
568
|
-
readonly type: "uint256";
|
|
569
|
-
readonly name: "required";
|
|
570
1295
|
}, {
|
|
571
|
-
readonly type: "
|
|
572
|
-
readonly name: "
|
|
1296
|
+
readonly type: "bytes32";
|
|
1297
|
+
readonly name: "publicKey";
|
|
573
1298
|
}];
|
|
574
1299
|
}, {
|
|
575
|
-
readonly name: "
|
|
1300
|
+
readonly name: "AlreadyInitialized";
|
|
576
1301
|
readonly type: "error";
|
|
577
1302
|
readonly inputs: readonly [];
|
|
578
1303
|
}, {
|
|
579
|
-
readonly name: "
|
|
1304
|
+
readonly name: "IngressAlreadyExists";
|
|
580
1305
|
readonly type: "error";
|
|
581
|
-
readonly inputs: readonly [
|
|
1306
|
+
readonly inputs: readonly [{
|
|
1307
|
+
readonly type: "string";
|
|
1308
|
+
readonly name: "ingress";
|
|
1309
|
+
}];
|
|
582
1310
|
}, {
|
|
583
|
-
readonly name: "
|
|
1311
|
+
readonly name: "EmptyV1ValidatorSet";
|
|
584
1312
|
readonly type: "error";
|
|
585
1313
|
readonly inputs: readonly [];
|
|
586
1314
|
}, {
|
|
587
|
-
readonly name: "
|
|
1315
|
+
readonly name: "InvalidMigrationIndex";
|
|
588
1316
|
readonly type: "error";
|
|
589
1317
|
readonly inputs: readonly [];
|
|
590
1318
|
}, {
|
|
591
|
-
readonly name: "
|
|
1319
|
+
readonly name: "InvalidOwner";
|
|
592
1320
|
readonly type: "error";
|
|
593
1321
|
readonly inputs: readonly [];
|
|
594
1322
|
}, {
|
|
595
|
-
readonly name: "
|
|
1323
|
+
readonly name: "InvalidPublicKey";
|
|
596
1324
|
readonly type: "error";
|
|
597
1325
|
readonly inputs: readonly [];
|
|
598
1326
|
}, {
|
|
599
|
-
readonly name: "
|
|
1327
|
+
readonly name: "InvalidSignature";
|
|
600
1328
|
readonly type: "error";
|
|
601
1329
|
readonly inputs: readonly [];
|
|
602
1330
|
}, {
|
|
603
|
-
readonly name: "
|
|
1331
|
+
readonly name: "InvalidSignatureFormat";
|
|
604
1332
|
readonly type: "error";
|
|
605
1333
|
readonly inputs: readonly [];
|
|
606
1334
|
}, {
|
|
607
|
-
readonly name: "
|
|
1335
|
+
readonly name: "InvalidValidatorAddress";
|
|
608
1336
|
readonly type: "error";
|
|
609
1337
|
readonly inputs: readonly [];
|
|
610
1338
|
}, {
|
|
611
|
-
readonly name: "
|
|
1339
|
+
readonly name: "MigrationNotComplete";
|
|
612
1340
|
readonly type: "error";
|
|
613
1341
|
readonly inputs: readonly [];
|
|
614
1342
|
}, {
|
|
615
|
-
readonly name: "
|
|
1343
|
+
readonly name: "NotInitialized";
|
|
616
1344
|
readonly type: "error";
|
|
617
1345
|
readonly inputs: readonly [];
|
|
618
1346
|
}, {
|
|
619
|
-
readonly name: "
|
|
1347
|
+
readonly name: "NotIp";
|
|
620
1348
|
readonly type: "error";
|
|
621
|
-
readonly inputs: readonly [
|
|
1349
|
+
readonly inputs: readonly [{
|
|
1350
|
+
readonly type: "string";
|
|
1351
|
+
readonly name: "input";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly type: "string";
|
|
1354
|
+
readonly name: "backtrace";
|
|
1355
|
+
}];
|
|
622
1356
|
}, {
|
|
623
|
-
readonly name: "
|
|
1357
|
+
readonly name: "NotIpPort";
|
|
624
1358
|
readonly type: "error";
|
|
625
|
-
readonly inputs: readonly [
|
|
1359
|
+
readonly inputs: readonly [{
|
|
1360
|
+
readonly type: "string";
|
|
1361
|
+
readonly name: "input";
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly type: "string";
|
|
1364
|
+
readonly name: "backtrace";
|
|
1365
|
+
}];
|
|
626
1366
|
}, {
|
|
627
|
-
readonly name: "
|
|
1367
|
+
readonly name: "PublicKeyAlreadyExists";
|
|
628
1368
|
readonly type: "error";
|
|
629
1369
|
readonly inputs: readonly [];
|
|
630
1370
|
}, {
|
|
631
|
-
readonly name: "
|
|
1371
|
+
readonly name: "Unauthorized";
|
|
632
1372
|
readonly type: "error";
|
|
633
1373
|
readonly inputs: readonly [];
|
|
634
1374
|
}, {
|
|
635
|
-
readonly name: "
|
|
1375
|
+
readonly name: "AddressAlreadyHasValidator";
|
|
636
1376
|
readonly type: "error";
|
|
637
1377
|
readonly inputs: readonly [];
|
|
638
1378
|
}, {
|
|
639
|
-
readonly name: "
|
|
1379
|
+
readonly name: "ValidatorAlreadyDeactivated";
|
|
640
1380
|
readonly type: "error";
|
|
641
1381
|
readonly inputs: readonly [];
|
|
642
1382
|
}, {
|
|
643
|
-
readonly name: "
|
|
1383
|
+
readonly name: "ValidatorNotFound";
|
|
644
1384
|
readonly type: "error";
|
|
645
1385
|
readonly inputs: readonly [];
|
|
646
|
-
}
|
|
647
|
-
|
|
1386
|
+
}];
|
|
1387
|
+
export declare const signatureVerifier: readonly [{
|
|
1388
|
+
readonly name: "recover";
|
|
648
1389
|
readonly type: "function";
|
|
649
1390
|
readonly stateMutability: "view";
|
|
650
1391
|
readonly inputs: readonly [{
|
|
651
|
-
readonly type: "address";
|
|
652
|
-
readonly name: "account";
|
|
653
|
-
}, {
|
|
654
1392
|
readonly type: "bytes32";
|
|
655
|
-
readonly name: "
|
|
1393
|
+
readonly name: "hash";
|
|
1394
|
+
}, {
|
|
1395
|
+
readonly type: "bytes";
|
|
1396
|
+
readonly name: "signature";
|
|
656
1397
|
}];
|
|
657
1398
|
readonly outputs: readonly [{
|
|
658
|
-
readonly type: "
|
|
1399
|
+
readonly type: "address";
|
|
1400
|
+
readonly name: "signer";
|
|
659
1401
|
}];
|
|
660
1402
|
}, {
|
|
661
|
-
readonly name: "
|
|
1403
|
+
readonly name: "verify";
|
|
662
1404
|
readonly type: "function";
|
|
663
1405
|
readonly stateMutability: "view";
|
|
664
1406
|
readonly inputs: readonly [{
|
|
665
|
-
readonly type: "bytes32";
|
|
666
|
-
readonly name: "role";
|
|
667
|
-
}];
|
|
668
|
-
readonly outputs: readonly [{
|
|
669
|
-
readonly type: "bytes32";
|
|
670
|
-
}];
|
|
671
|
-
}, {
|
|
672
|
-
readonly name: "grantRole";
|
|
673
|
-
readonly type: "function";
|
|
674
|
-
readonly stateMutability: "nonpayable";
|
|
675
|
-
readonly inputs: readonly [{
|
|
676
|
-
readonly type: "bytes32";
|
|
677
|
-
readonly name: "role";
|
|
678
|
-
}, {
|
|
679
1407
|
readonly type: "address";
|
|
680
|
-
readonly name: "
|
|
681
|
-
}];
|
|
682
|
-
readonly outputs: readonly [];
|
|
683
|
-
}, {
|
|
684
|
-
readonly name: "revokeRole";
|
|
685
|
-
readonly type: "function";
|
|
686
|
-
readonly stateMutability: "nonpayable";
|
|
687
|
-
readonly inputs: readonly [{
|
|
688
|
-
readonly type: "bytes32";
|
|
689
|
-
readonly name: "role";
|
|
1408
|
+
readonly name: "signer";
|
|
690
1409
|
}, {
|
|
691
|
-
readonly type: "address";
|
|
692
|
-
readonly name: "account";
|
|
693
|
-
}];
|
|
694
|
-
readonly outputs: readonly [];
|
|
695
|
-
}, {
|
|
696
|
-
readonly name: "renounceRole";
|
|
697
|
-
readonly type: "function";
|
|
698
|
-
readonly stateMutability: "nonpayable";
|
|
699
|
-
readonly inputs: readonly [{
|
|
700
|
-
readonly type: "bytes32";
|
|
701
|
-
readonly name: "role";
|
|
702
|
-
}];
|
|
703
|
-
readonly outputs: readonly [];
|
|
704
|
-
}, {
|
|
705
|
-
readonly name: "setRoleAdmin";
|
|
706
|
-
readonly type: "function";
|
|
707
|
-
readonly stateMutability: "nonpayable";
|
|
708
|
-
readonly inputs: readonly [{
|
|
709
1410
|
readonly type: "bytes32";
|
|
710
|
-
readonly name: "
|
|
1411
|
+
readonly name: "hash";
|
|
711
1412
|
}, {
|
|
712
|
-
readonly type: "
|
|
713
|
-
readonly name: "
|
|
1413
|
+
readonly type: "bytes";
|
|
1414
|
+
readonly name: "signature";
|
|
714
1415
|
}];
|
|
715
|
-
readonly outputs: readonly [
|
|
716
|
-
}, {
|
|
717
|
-
readonly name: "RoleMembershipUpdated";
|
|
718
|
-
readonly type: "event";
|
|
719
|
-
readonly inputs: readonly [{
|
|
720
|
-
readonly type: "bytes32";
|
|
721
|
-
readonly name: "role";
|
|
722
|
-
readonly indexed: true;
|
|
723
|
-
}, {
|
|
724
|
-
readonly type: "address";
|
|
725
|
-
readonly name: "account";
|
|
726
|
-
readonly indexed: true;
|
|
727
|
-
}, {
|
|
728
|
-
readonly type: "address";
|
|
729
|
-
readonly name: "sender";
|
|
730
|
-
readonly indexed: true;
|
|
731
|
-
}, {
|
|
1416
|
+
readonly outputs: readonly [{
|
|
732
1417
|
readonly type: "bool";
|
|
733
|
-
readonly name: "hasRole";
|
|
734
1418
|
}];
|
|
735
1419
|
}, {
|
|
736
|
-
readonly name: "
|
|
737
|
-
readonly type: "
|
|
738
|
-
readonly inputs: readonly [
|
|
739
|
-
readonly type: "bytes32";
|
|
740
|
-
readonly name: "role";
|
|
741
|
-
readonly indexed: true;
|
|
742
|
-
}, {
|
|
743
|
-
readonly type: "bytes32";
|
|
744
|
-
readonly name: "newAdminRole";
|
|
745
|
-
readonly indexed: true;
|
|
746
|
-
}, {
|
|
747
|
-
readonly type: "address";
|
|
748
|
-
readonly name: "sender";
|
|
749
|
-
readonly indexed: true;
|
|
750
|
-
}];
|
|
1420
|
+
readonly name: "InvalidFormat";
|
|
1421
|
+
readonly type: "error";
|
|
1422
|
+
readonly inputs: readonly [];
|
|
751
1423
|
}, {
|
|
752
|
-
readonly name: "
|
|
1424
|
+
readonly name: "InvalidSignature";
|
|
753
1425
|
readonly type: "error";
|
|
754
1426
|
readonly inputs: readonly [];
|
|
755
1427
|
}];
|
|
@@ -1252,26 +1924,134 @@ export declare const stablecoinDex: readonly [{
|
|
|
1252
1924
|
readonly type: "error";
|
|
1253
1925
|
readonly inputs: readonly [];
|
|
1254
1926
|
}, {
|
|
1255
|
-
readonly name: "InsufficientOutput";
|
|
1927
|
+
readonly name: "InsufficientOutput";
|
|
1928
|
+
readonly type: "error";
|
|
1929
|
+
readonly inputs: readonly [];
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly name: "MaxInputExceeded";
|
|
1932
|
+
readonly type: "error";
|
|
1933
|
+
readonly inputs: readonly [];
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "BelowMinimumOrderSize";
|
|
1936
|
+
readonly type: "error";
|
|
1937
|
+
readonly inputs: readonly [{
|
|
1938
|
+
readonly type: "uint128";
|
|
1939
|
+
readonly name: "amount";
|
|
1940
|
+
}];
|
|
1941
|
+
}, {
|
|
1942
|
+
readonly name: "InvalidBaseToken";
|
|
1943
|
+
readonly type: "error";
|
|
1944
|
+
readonly inputs: readonly [];
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly name: "OrderNotStale";
|
|
1947
|
+
readonly type: "error";
|
|
1948
|
+
readonly inputs: readonly [];
|
|
1949
|
+
}];
|
|
1950
|
+
export declare const addressRegistry: readonly [{
|
|
1951
|
+
readonly name: "registerVirtualMaster";
|
|
1952
|
+
readonly type: "function";
|
|
1953
|
+
readonly stateMutability: "nonpayable";
|
|
1954
|
+
readonly inputs: readonly [{
|
|
1955
|
+
readonly type: "bytes32";
|
|
1956
|
+
readonly name: "salt";
|
|
1957
|
+
}];
|
|
1958
|
+
readonly outputs: readonly [{
|
|
1959
|
+
readonly type: "bytes4";
|
|
1960
|
+
readonly name: "masterId";
|
|
1961
|
+
}];
|
|
1962
|
+
}, {
|
|
1963
|
+
readonly name: "getMaster";
|
|
1964
|
+
readonly type: "function";
|
|
1965
|
+
readonly stateMutability: "view";
|
|
1966
|
+
readonly inputs: readonly [{
|
|
1967
|
+
readonly type: "bytes4";
|
|
1968
|
+
readonly name: "masterId";
|
|
1969
|
+
}];
|
|
1970
|
+
readonly outputs: readonly [{
|
|
1971
|
+
readonly type: "address";
|
|
1972
|
+
}];
|
|
1973
|
+
}, {
|
|
1974
|
+
readonly name: "resolveRecipient";
|
|
1975
|
+
readonly type: "function";
|
|
1976
|
+
readonly stateMutability: "view";
|
|
1977
|
+
readonly inputs: readonly [{
|
|
1978
|
+
readonly type: "address";
|
|
1979
|
+
readonly name: "to";
|
|
1980
|
+
}];
|
|
1981
|
+
readonly outputs: readonly [{
|
|
1982
|
+
readonly type: "address";
|
|
1983
|
+
readonly name: "effectiveRecipient";
|
|
1984
|
+
}];
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly name: "resolveVirtualAddress";
|
|
1987
|
+
readonly type: "function";
|
|
1988
|
+
readonly stateMutability: "view";
|
|
1989
|
+
readonly inputs: readonly [{
|
|
1990
|
+
readonly type: "address";
|
|
1991
|
+
readonly name: "virtualAddr";
|
|
1992
|
+
}];
|
|
1993
|
+
readonly outputs: readonly [{
|
|
1994
|
+
readonly type: "address";
|
|
1995
|
+
readonly name: "master";
|
|
1996
|
+
}];
|
|
1997
|
+
}, {
|
|
1998
|
+
readonly name: "isVirtualAddress";
|
|
1999
|
+
readonly type: "function";
|
|
2000
|
+
readonly stateMutability: "pure";
|
|
2001
|
+
readonly inputs: readonly [{
|
|
2002
|
+
readonly type: "address";
|
|
2003
|
+
readonly name: "addr";
|
|
2004
|
+
}];
|
|
2005
|
+
readonly outputs: readonly [{
|
|
2006
|
+
readonly type: "bool";
|
|
2007
|
+
}];
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly name: "decodeVirtualAddress";
|
|
2010
|
+
readonly type: "function";
|
|
2011
|
+
readonly stateMutability: "pure";
|
|
2012
|
+
readonly inputs: readonly [{
|
|
2013
|
+
readonly type: "address";
|
|
2014
|
+
readonly name: "addr";
|
|
2015
|
+
}];
|
|
2016
|
+
readonly outputs: readonly [{
|
|
2017
|
+
readonly type: "bool";
|
|
2018
|
+
readonly name: "isVirtual";
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly type: "bytes4";
|
|
2021
|
+
readonly name: "masterId";
|
|
2022
|
+
}, {
|
|
2023
|
+
readonly type: "bytes6";
|
|
2024
|
+
readonly name: "userTag";
|
|
2025
|
+
}];
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly name: "MasterRegistered";
|
|
2028
|
+
readonly type: "event";
|
|
2029
|
+
readonly inputs: readonly [{
|
|
2030
|
+
readonly type: "bytes4";
|
|
2031
|
+
readonly name: "masterId";
|
|
2032
|
+
readonly indexed: true;
|
|
2033
|
+
}, {
|
|
2034
|
+
readonly type: "address";
|
|
2035
|
+
readonly name: "masterAddress";
|
|
2036
|
+
readonly indexed: true;
|
|
2037
|
+
}];
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly name: "MasterIdCollision";
|
|
1256
2040
|
readonly type: "error";
|
|
1257
|
-
readonly inputs: readonly [
|
|
2041
|
+
readonly inputs: readonly [{
|
|
2042
|
+
readonly type: "address";
|
|
2043
|
+
readonly name: "master";
|
|
2044
|
+
}];
|
|
1258
2045
|
}, {
|
|
1259
|
-
readonly name: "
|
|
2046
|
+
readonly name: "InvalidMasterAddress";
|
|
1260
2047
|
readonly type: "error";
|
|
1261
2048
|
readonly inputs: readonly [];
|
|
1262
2049
|
}, {
|
|
1263
|
-
readonly name: "
|
|
1264
|
-
readonly type: "error";
|
|
1265
|
-
readonly inputs: readonly [{
|
|
1266
|
-
readonly type: "uint128";
|
|
1267
|
-
readonly name: "amount";
|
|
1268
|
-
}];
|
|
1269
|
-
}, {
|
|
1270
|
-
readonly name: "InvalidBaseToken";
|
|
2050
|
+
readonly name: "ProofOfWorkFailed";
|
|
1271
2051
|
readonly type: "error";
|
|
1272
2052
|
readonly inputs: readonly [];
|
|
1273
2053
|
}, {
|
|
1274
|
-
readonly name: "
|
|
2054
|
+
readonly name: "VirtualAddressUnregistered";
|
|
1275
2055
|
readonly type: "error";
|
|
1276
2056
|
readonly inputs: readonly [];
|
|
1277
2057
|
}];
|
|
@@ -1725,6 +2505,61 @@ export declare const accountKeychain: readonly [{
|
|
|
1725
2505
|
}];
|
|
1726
2506
|
}];
|
|
1727
2507
|
readonly outputs: readonly [];
|
|
2508
|
+
}, {
|
|
2509
|
+
readonly name: "authorizeKey";
|
|
2510
|
+
readonly type: "function";
|
|
2511
|
+
readonly stateMutability: "nonpayable";
|
|
2512
|
+
readonly inputs: readonly [{
|
|
2513
|
+
readonly type: "address";
|
|
2514
|
+
readonly name: "keyId";
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly type: "uint8";
|
|
2517
|
+
readonly name: "signatureType";
|
|
2518
|
+
}, {
|
|
2519
|
+
readonly type: "tuple";
|
|
2520
|
+
readonly name: "config";
|
|
2521
|
+
readonly components: readonly [{
|
|
2522
|
+
readonly type: "uint64";
|
|
2523
|
+
readonly name: "expiry";
|
|
2524
|
+
}, {
|
|
2525
|
+
readonly type: "bool";
|
|
2526
|
+
readonly name: "enforceLimits";
|
|
2527
|
+
}, {
|
|
2528
|
+
readonly type: "tuple[]";
|
|
2529
|
+
readonly name: "limits";
|
|
2530
|
+
readonly components: readonly [{
|
|
2531
|
+
readonly type: "address";
|
|
2532
|
+
readonly name: "token";
|
|
2533
|
+
}, {
|
|
2534
|
+
readonly type: "uint256";
|
|
2535
|
+
readonly name: "amount";
|
|
2536
|
+
}, {
|
|
2537
|
+
readonly type: "uint64";
|
|
2538
|
+
readonly name: "period";
|
|
2539
|
+
}];
|
|
2540
|
+
}, {
|
|
2541
|
+
readonly type: "bool";
|
|
2542
|
+
readonly name: "allowAnyCalls";
|
|
2543
|
+
}, {
|
|
2544
|
+
readonly type: "tuple[]";
|
|
2545
|
+
readonly name: "allowedCalls";
|
|
2546
|
+
readonly components: readonly [{
|
|
2547
|
+
readonly type: "address";
|
|
2548
|
+
readonly name: "target";
|
|
2549
|
+
}, {
|
|
2550
|
+
readonly type: "tuple[]";
|
|
2551
|
+
readonly name: "selectorRules";
|
|
2552
|
+
readonly components: readonly [{
|
|
2553
|
+
readonly type: "bytes4";
|
|
2554
|
+
readonly name: "selector";
|
|
2555
|
+
}, {
|
|
2556
|
+
readonly type: "address[]";
|
|
2557
|
+
readonly name: "recipients";
|
|
2558
|
+
}];
|
|
2559
|
+
}];
|
|
2560
|
+
}];
|
|
2561
|
+
}];
|
|
2562
|
+
readonly outputs: readonly [];
|
|
1728
2563
|
}, {
|
|
1729
2564
|
readonly name: "revokeKey";
|
|
1730
2565
|
readonly type: "function";
|
|
@@ -1749,6 +2584,44 @@ export declare const accountKeychain: readonly [{
|
|
|
1749
2584
|
readonly name: "newLimit";
|
|
1750
2585
|
}];
|
|
1751
2586
|
readonly outputs: readonly [];
|
|
2587
|
+
}, {
|
|
2588
|
+
readonly name: "setAllowedCalls";
|
|
2589
|
+
readonly type: "function";
|
|
2590
|
+
readonly stateMutability: "nonpayable";
|
|
2591
|
+
readonly inputs: readonly [{
|
|
2592
|
+
readonly type: "address";
|
|
2593
|
+
readonly name: "keyId";
|
|
2594
|
+
}, {
|
|
2595
|
+
readonly type: "tuple[]";
|
|
2596
|
+
readonly name: "scopes";
|
|
2597
|
+
readonly components: readonly [{
|
|
2598
|
+
readonly type: "address";
|
|
2599
|
+
readonly name: "target";
|
|
2600
|
+
}, {
|
|
2601
|
+
readonly type: "tuple[]";
|
|
2602
|
+
readonly name: "selectorRules";
|
|
2603
|
+
readonly components: readonly [{
|
|
2604
|
+
readonly type: "bytes4";
|
|
2605
|
+
readonly name: "selector";
|
|
2606
|
+
}, {
|
|
2607
|
+
readonly type: "address[]";
|
|
2608
|
+
readonly name: "recipients";
|
|
2609
|
+
}];
|
|
2610
|
+
}];
|
|
2611
|
+
}];
|
|
2612
|
+
readonly outputs: readonly [];
|
|
2613
|
+
}, {
|
|
2614
|
+
readonly name: "removeAllowedCalls";
|
|
2615
|
+
readonly type: "function";
|
|
2616
|
+
readonly stateMutability: "nonpayable";
|
|
2617
|
+
readonly inputs: readonly [{
|
|
2618
|
+
readonly type: "address";
|
|
2619
|
+
readonly name: "keyId";
|
|
2620
|
+
}, {
|
|
2621
|
+
readonly type: "address";
|
|
2622
|
+
readonly name: "target";
|
|
2623
|
+
}];
|
|
2624
|
+
readonly outputs: readonly [];
|
|
1752
2625
|
}, {
|
|
1753
2626
|
readonly name: "getKey";
|
|
1754
2627
|
readonly type: "function";
|
|
@@ -1795,6 +2668,60 @@ export declare const accountKeychain: readonly [{
|
|
|
1795
2668
|
}];
|
|
1796
2669
|
readonly outputs: readonly [{
|
|
1797
2670
|
readonly type: "uint256";
|
|
2671
|
+
readonly name: "remaining";
|
|
2672
|
+
}];
|
|
2673
|
+
}, {
|
|
2674
|
+
readonly name: "getRemainingLimitWithPeriod";
|
|
2675
|
+
readonly type: "function";
|
|
2676
|
+
readonly stateMutability: "view";
|
|
2677
|
+
readonly inputs: readonly [{
|
|
2678
|
+
readonly type: "address";
|
|
2679
|
+
readonly name: "account";
|
|
2680
|
+
}, {
|
|
2681
|
+
readonly type: "address";
|
|
2682
|
+
readonly name: "keyId";
|
|
2683
|
+
}, {
|
|
2684
|
+
readonly type: "address";
|
|
2685
|
+
readonly name: "token";
|
|
2686
|
+
}];
|
|
2687
|
+
readonly outputs: readonly [{
|
|
2688
|
+
readonly type: "uint256";
|
|
2689
|
+
readonly name: "remaining";
|
|
2690
|
+
}, {
|
|
2691
|
+
readonly type: "uint64";
|
|
2692
|
+
readonly name: "periodEnd";
|
|
2693
|
+
}];
|
|
2694
|
+
}, {
|
|
2695
|
+
readonly name: "getAllowedCalls";
|
|
2696
|
+
readonly type: "function";
|
|
2697
|
+
readonly stateMutability: "view";
|
|
2698
|
+
readonly inputs: readonly [{
|
|
2699
|
+
readonly type: "address";
|
|
2700
|
+
readonly name: "account";
|
|
2701
|
+
}, {
|
|
2702
|
+
readonly type: "address";
|
|
2703
|
+
readonly name: "keyId";
|
|
2704
|
+
}];
|
|
2705
|
+
readonly outputs: readonly [{
|
|
2706
|
+
readonly type: "bool";
|
|
2707
|
+
readonly name: "isScoped";
|
|
2708
|
+
}, {
|
|
2709
|
+
readonly type: "tuple[]";
|
|
2710
|
+
readonly name: "scopes";
|
|
2711
|
+
readonly components: readonly [{
|
|
2712
|
+
readonly type: "address";
|
|
2713
|
+
readonly name: "target";
|
|
2714
|
+
}, {
|
|
2715
|
+
readonly type: "tuple[]";
|
|
2716
|
+
readonly name: "selectorRules";
|
|
2717
|
+
readonly components: readonly [{
|
|
2718
|
+
readonly type: "bytes4";
|
|
2719
|
+
readonly name: "selector";
|
|
2720
|
+
}, {
|
|
2721
|
+
readonly type: "address[]";
|
|
2722
|
+
readonly name: "recipients";
|
|
2723
|
+
}];
|
|
2724
|
+
}];
|
|
1798
2725
|
}];
|
|
1799
2726
|
}, {
|
|
1800
2727
|
readonly name: "getTransactionKey";
|
|
@@ -1853,6 +2780,28 @@ export declare const accountKeychain: readonly [{
|
|
|
1853
2780
|
readonly type: "uint256";
|
|
1854
2781
|
readonly name: "newLimit";
|
|
1855
2782
|
}];
|
|
2783
|
+
}, {
|
|
2784
|
+
readonly name: "AccessKeySpend";
|
|
2785
|
+
readonly type: "event";
|
|
2786
|
+
readonly inputs: readonly [{
|
|
2787
|
+
readonly type: "address";
|
|
2788
|
+
readonly name: "account";
|
|
2789
|
+
readonly indexed: true;
|
|
2790
|
+
}, {
|
|
2791
|
+
readonly type: "address";
|
|
2792
|
+
readonly name: "publicKey";
|
|
2793
|
+
readonly indexed: true;
|
|
2794
|
+
}, {
|
|
2795
|
+
readonly type: "address";
|
|
2796
|
+
readonly name: "token";
|
|
2797
|
+
readonly indexed: true;
|
|
2798
|
+
}, {
|
|
2799
|
+
readonly type: "uint256";
|
|
2800
|
+
readonly name: "amount";
|
|
2801
|
+
}, {
|
|
2802
|
+
readonly type: "uint256";
|
|
2803
|
+
readonly name: "remainingLimit";
|
|
2804
|
+
}];
|
|
1856
2805
|
}, {
|
|
1857
2806
|
readonly name: "UnauthorizedCaller";
|
|
1858
2807
|
readonly type: "error";
|
|
@@ -1873,6 +2822,10 @@ export declare const accountKeychain: readonly [{
|
|
|
1873
2822
|
readonly name: "SpendingLimitExceeded";
|
|
1874
2823
|
readonly type: "error";
|
|
1875
2824
|
readonly inputs: readonly [];
|
|
2825
|
+
}, {
|
|
2826
|
+
readonly name: "InvalidSpendingLimit";
|
|
2827
|
+
readonly type: "error";
|
|
2828
|
+
readonly inputs: readonly [];
|
|
1876
2829
|
}, {
|
|
1877
2830
|
readonly name: "InvalidSignatureType";
|
|
1878
2831
|
readonly type: "error";
|
|
@@ -1889,6 +2842,31 @@ export declare const accountKeychain: readonly [{
|
|
|
1889
2842
|
readonly name: "KeyAlreadyRevoked";
|
|
1890
2843
|
readonly type: "error";
|
|
1891
2844
|
readonly inputs: readonly [];
|
|
2845
|
+
}, {
|
|
2846
|
+
readonly name: "SignatureTypeMismatch";
|
|
2847
|
+
readonly type: "error";
|
|
2848
|
+
readonly inputs: readonly [{
|
|
2849
|
+
readonly type: "uint8";
|
|
2850
|
+
readonly name: "expected";
|
|
2851
|
+
}, {
|
|
2852
|
+
readonly type: "uint8";
|
|
2853
|
+
readonly name: "actual";
|
|
2854
|
+
}];
|
|
2855
|
+
}, {
|
|
2856
|
+
readonly name: "CallNotAllowed";
|
|
2857
|
+
readonly type: "error";
|
|
2858
|
+
readonly inputs: readonly [];
|
|
2859
|
+
}, {
|
|
2860
|
+
readonly name: "InvalidCallScope";
|
|
2861
|
+
readonly type: "error";
|
|
2862
|
+
readonly inputs: readonly [];
|
|
2863
|
+
}, {
|
|
2864
|
+
readonly name: "LegacyAuthorizeKeySelectorChanged";
|
|
2865
|
+
readonly type: "error";
|
|
2866
|
+
readonly inputs: readonly [{
|
|
2867
|
+
readonly type: "bytes4";
|
|
2868
|
+
readonly name: "newSelector";
|
|
2869
|
+
}];
|
|
1892
2870
|
}];
|
|
1893
2871
|
export declare const nonce: readonly [{
|
|
1894
2872
|
readonly name: "getNonce";
|
|
@@ -1932,6 +2910,18 @@ export declare const nonce: readonly [{
|
|
|
1932
2910
|
readonly name: "NonceOverflow";
|
|
1933
2911
|
readonly type: "error";
|
|
1934
2912
|
readonly inputs: readonly [];
|
|
2913
|
+
}, {
|
|
2914
|
+
readonly name: "ExpiringNonceReplay";
|
|
2915
|
+
readonly type: "error";
|
|
2916
|
+
readonly inputs: readonly [];
|
|
2917
|
+
}, {
|
|
2918
|
+
readonly name: "ExpiringNonceSetFull";
|
|
2919
|
+
readonly type: "error";
|
|
2920
|
+
readonly inputs: readonly [];
|
|
2921
|
+
}, {
|
|
2922
|
+
readonly name: "InvalidExpiringNonceExpiry";
|
|
2923
|
+
readonly type: "error";
|
|
2924
|
+
readonly inputs: readonly [];
|
|
1935
2925
|
}];
|
|
1936
2926
|
export declare const tip20Factory: readonly [{
|
|
1937
2927
|
readonly name: "createToken";
|
|
@@ -2078,6 +3068,66 @@ export declare const tip403Registry: readonly [{
|
|
|
2078
3068
|
readonly outputs: readonly [{
|
|
2079
3069
|
readonly type: "bool";
|
|
2080
3070
|
}];
|
|
3071
|
+
}, {
|
|
3072
|
+
readonly name: "isAuthorizedSender";
|
|
3073
|
+
readonly type: "function";
|
|
3074
|
+
readonly stateMutability: "view";
|
|
3075
|
+
readonly inputs: readonly [{
|
|
3076
|
+
readonly type: "uint64";
|
|
3077
|
+
readonly name: "policyId";
|
|
3078
|
+
}, {
|
|
3079
|
+
readonly type: "address";
|
|
3080
|
+
readonly name: "user";
|
|
3081
|
+
}];
|
|
3082
|
+
readonly outputs: readonly [{
|
|
3083
|
+
readonly type: "bool";
|
|
3084
|
+
}];
|
|
3085
|
+
}, {
|
|
3086
|
+
readonly name: "isAuthorizedRecipient";
|
|
3087
|
+
readonly type: "function";
|
|
3088
|
+
readonly stateMutability: "view";
|
|
3089
|
+
readonly inputs: readonly [{
|
|
3090
|
+
readonly type: "uint64";
|
|
3091
|
+
readonly name: "policyId";
|
|
3092
|
+
}, {
|
|
3093
|
+
readonly type: "address";
|
|
3094
|
+
readonly name: "user";
|
|
3095
|
+
}];
|
|
3096
|
+
readonly outputs: readonly [{
|
|
3097
|
+
readonly type: "bool";
|
|
3098
|
+
}];
|
|
3099
|
+
}, {
|
|
3100
|
+
readonly name: "isAuthorizedMintRecipient";
|
|
3101
|
+
readonly type: "function";
|
|
3102
|
+
readonly stateMutability: "view";
|
|
3103
|
+
readonly inputs: readonly [{
|
|
3104
|
+
readonly type: "uint64";
|
|
3105
|
+
readonly name: "policyId";
|
|
3106
|
+
}, {
|
|
3107
|
+
readonly type: "address";
|
|
3108
|
+
readonly name: "user";
|
|
3109
|
+
}];
|
|
3110
|
+
readonly outputs: readonly [{
|
|
3111
|
+
readonly type: "bool";
|
|
3112
|
+
}];
|
|
3113
|
+
}, {
|
|
3114
|
+
readonly name: "compoundPolicyData";
|
|
3115
|
+
readonly type: "function";
|
|
3116
|
+
readonly stateMutability: "view";
|
|
3117
|
+
readonly inputs: readonly [{
|
|
3118
|
+
readonly type: "uint64";
|
|
3119
|
+
readonly name: "policyId";
|
|
3120
|
+
}];
|
|
3121
|
+
readonly outputs: readonly [{
|
|
3122
|
+
readonly type: "uint64";
|
|
3123
|
+
readonly name: "senderPolicyId";
|
|
3124
|
+
}, {
|
|
3125
|
+
readonly type: "uint64";
|
|
3126
|
+
readonly name: "recipientPolicyId";
|
|
3127
|
+
}, {
|
|
3128
|
+
readonly type: "uint64";
|
|
3129
|
+
readonly name: "mintRecipientPolicyId";
|
|
3130
|
+
}];
|
|
2081
3131
|
}, {
|
|
2082
3132
|
readonly name: "createPolicy";
|
|
2083
3133
|
readonly type: "function";
|
|
@@ -2151,6 +3201,23 @@ export declare const tip403Registry: readonly [{
|
|
|
2151
3201
|
readonly name: "restricted";
|
|
2152
3202
|
}];
|
|
2153
3203
|
readonly outputs: readonly [];
|
|
3204
|
+
}, {
|
|
3205
|
+
readonly name: "createCompoundPolicy";
|
|
3206
|
+
readonly type: "function";
|
|
3207
|
+
readonly stateMutability: "nonpayable";
|
|
3208
|
+
readonly inputs: readonly [{
|
|
3209
|
+
readonly type: "uint64";
|
|
3210
|
+
readonly name: "senderPolicyId";
|
|
3211
|
+
}, {
|
|
3212
|
+
readonly type: "uint64";
|
|
3213
|
+
readonly name: "recipientPolicyId";
|
|
3214
|
+
}, {
|
|
3215
|
+
readonly type: "uint64";
|
|
3216
|
+
readonly name: "mintRecipientPolicyId";
|
|
3217
|
+
}];
|
|
3218
|
+
readonly outputs: readonly [{
|
|
3219
|
+
readonly type: "uint64";
|
|
3220
|
+
}];
|
|
2154
3221
|
}, {
|
|
2155
3222
|
readonly name: "PolicyAdminUpdated";
|
|
2156
3223
|
readonly type: "event";
|
|
@@ -2220,20 +3287,53 @@ export declare const tip403Registry: readonly [{
|
|
|
2220
3287
|
readonly type: "bool";
|
|
2221
3288
|
readonly name: "restricted";
|
|
2222
3289
|
}];
|
|
3290
|
+
}, {
|
|
3291
|
+
readonly name: "CompoundPolicyCreated";
|
|
3292
|
+
readonly type: "event";
|
|
3293
|
+
readonly inputs: readonly [{
|
|
3294
|
+
readonly type: "uint64";
|
|
3295
|
+
readonly name: "policyId";
|
|
3296
|
+
readonly indexed: true;
|
|
3297
|
+
}, {
|
|
3298
|
+
readonly type: "address";
|
|
3299
|
+
readonly name: "creator";
|
|
3300
|
+
readonly indexed: true;
|
|
3301
|
+
}, {
|
|
3302
|
+
readonly type: "uint64";
|
|
3303
|
+
readonly name: "senderPolicyId";
|
|
3304
|
+
}, {
|
|
3305
|
+
readonly type: "uint64";
|
|
3306
|
+
readonly name: "recipientPolicyId";
|
|
3307
|
+
}, {
|
|
3308
|
+
readonly type: "uint64";
|
|
3309
|
+
readonly name: "mintRecipientPolicyId";
|
|
3310
|
+
}];
|
|
2223
3311
|
}, {
|
|
2224
3312
|
readonly name: "Unauthorized";
|
|
2225
3313
|
readonly type: "error";
|
|
2226
3314
|
readonly inputs: readonly [];
|
|
3315
|
+
}, {
|
|
3316
|
+
readonly name: "PolicyNotFound";
|
|
3317
|
+
readonly type: "error";
|
|
3318
|
+
readonly inputs: readonly [];
|
|
3319
|
+
}, {
|
|
3320
|
+
readonly name: "PolicyNotSimple";
|
|
3321
|
+
readonly type: "error";
|
|
3322
|
+
readonly inputs: readonly [];
|
|
3323
|
+
}, {
|
|
3324
|
+
readonly name: "InvalidPolicyType";
|
|
3325
|
+
readonly type: "error";
|
|
3326
|
+
readonly inputs: readonly [];
|
|
2227
3327
|
}, {
|
|
2228
3328
|
readonly name: "IncompatiblePolicyType";
|
|
2229
3329
|
readonly type: "error";
|
|
2230
3330
|
readonly inputs: readonly [];
|
|
2231
3331
|
}, {
|
|
2232
|
-
readonly name: "
|
|
3332
|
+
readonly name: "VirtualAddressNotAllowed";
|
|
2233
3333
|
readonly type: "error";
|
|
2234
3334
|
readonly inputs: readonly [];
|
|
2235
3335
|
}];
|
|
2236
|
-
export declare const
|
|
3336
|
+
export declare const validatorConfig: readonly [{
|
|
2237
3337
|
readonly name: "getValidators";
|
|
2238
3338
|
readonly type: "function";
|
|
2239
3339
|
readonly stateMutability: "view";
|
|
@@ -2312,6 +3412,18 @@ export declare const validator: readonly [{
|
|
|
2312
3412
|
readonly name: "active";
|
|
2313
3413
|
}];
|
|
2314
3414
|
readonly outputs: readonly [];
|
|
3415
|
+
}, {
|
|
3416
|
+
readonly name: "changeValidatorStatusByIndex";
|
|
3417
|
+
readonly type: "function";
|
|
3418
|
+
readonly stateMutability: "nonpayable";
|
|
3419
|
+
readonly inputs: readonly [{
|
|
3420
|
+
readonly type: "uint64";
|
|
3421
|
+
readonly name: "index";
|
|
3422
|
+
}, {
|
|
3423
|
+
readonly type: "bool";
|
|
3424
|
+
readonly name: "active";
|
|
3425
|
+
}];
|
|
3426
|
+
readonly outputs: readonly [];
|
|
2315
3427
|
}, {
|
|
2316
3428
|
readonly name: "owner";
|
|
2317
3429
|
readonly type: "function";
|