viem 2.28.0-entrypoint-0-8-20250417075822 → 2.28.1-canary-20250426072350
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 +25 -3
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +7 -63
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/index.js +3 -1
- package/_cjs/account-abstraction/index.js.map +1 -1
- package/_cjs/account-abstraction/utils/userOperation/getInitCode.js +18 -0
- package/_cjs/account-abstraction/utils/userOperation/getInitCode.js.map +1 -0
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js +29 -108
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationTypedData.js +32 -0
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationTypedData.js.map +1 -0
- package/_cjs/account-abstraction/utils/userOperation/toPackedUserOperation.js +3 -2
- package/_cjs/account-abstraction/utils/userOperation/toPackedUserOperation.js.map +1 -1
- package/_cjs/actions/index.js +12 -1
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.js +3 -3
- package/_cjs/actions/wallet/getCallsStatus.js.map +1 -0
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/getCapabilities.js +1 -1
- package/{_esm/experimental/eip5792/actions → _cjs/actions/wallet}/getCapabilities.js.map +1 -1
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/sendCalls.js +7 -7
- package/_cjs/actions/wallet/sendCalls.js.map +1 -0
- package/_cjs/actions/wallet/showCallsStatus.js.map +1 -0
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.js +5 -5
- package/_cjs/actions/wallet/waitForCallsStatus.js.map +1 -0
- package/_cjs/chains/definitions/gunz.js +29 -0
- package/_cjs/chains/definitions/gunz.js.map +1 -0
- package/_cjs/chains/definitions/memecore.js +36 -0
- package/_cjs/chains/definitions/memecore.js.map +1 -0
- package/_cjs/chains/definitions/memecoreFormicariumTestnet.js +36 -0
- package/_cjs/chains/definitions/memecoreFormicariumTestnet.js.map +1 -0
- package/_cjs/chains/index.js +15 -9
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js +10 -0
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/constants/abis.js +417 -1
- package/_cjs/constants/abis.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/writeContracts.js +1 -1
- package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -1
- package/_cjs/experimental/eip5792/decorators/eip5792.js +5 -5
- package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_cjs/experimental/index.js +6 -7
- package/_cjs/experimental/index.js.map +1 -1
- package/_cjs/index.js +12 -9
- package/_cjs/index.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +8 -64
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -1
- package/_esm/account-abstraction/index.js +1 -0
- package/_esm/account-abstraction/index.js.map +1 -1
- package/_esm/account-abstraction/utils/userOperation/getInitCode.js +15 -0
- package/_esm/account-abstraction/utils/userOperation/getInitCode.js.map +1 -0
- package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js +29 -108
- package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
- package/_esm/account-abstraction/utils/userOperation/getUserOperationTypedData.js +29 -0
- package/_esm/account-abstraction/utils/userOperation/getUserOperationTypedData.js.map +1 -0
- package/_esm/account-abstraction/utils/userOperation/toPackedUserOperation.js +3 -2
- package/_esm/account-abstraction/utils/userOperation/toPackedUserOperation.js.map +1 -1
- package/_esm/actions/index.js +5 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.js +5 -5
- package/_esm/actions/wallet/getCallsStatus.js.map +1 -0
- package/_esm/{experimental/eip5792/actions → actions/wallet}/getCapabilities.js +3 -3
- package/_esm/actions/wallet/getCapabilities.js.map +1 -0
- package/_esm/{experimental/eip5792/actions → actions/wallet}/sendCalls.js +9 -9
- package/_esm/actions/wallet/sendCalls.js.map +1 -0
- package/_esm/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.js +2 -2
- package/_esm/actions/wallet/showCallsStatus.js.map +1 -0
- package/_esm/actions/wallet/switchChain.js +1 -1
- package/_esm/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.js +7 -7
- package/_esm/actions/wallet/waitForCallsStatus.js.map +1 -0
- package/_esm/chains/definitions/gunz.js +26 -0
- package/_esm/chains/definitions/gunz.js.map +1 -0
- package/_esm/chains/definitions/memecore.js +33 -0
- package/_esm/chains/definitions/memecore.js.map +1 -0
- package/_esm/chains/definitions/memecoreFormicariumTestnet.js +33 -0
- package/_esm/chains/definitions/memecoreFormicariumTestnet.js.map +1 -0
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/clients/decorators/wallet.js +10 -0
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/constants/abis.js +417 -0
- package/_esm/constants/abis.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/experimental/eip5792/actions/writeContracts.js +2 -3
- package/_esm/experimental/eip5792/actions/writeContracts.js.map +1 -1
- package/_esm/experimental/eip5792/decorators/eip5792.js +6 -5
- package/_esm/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_esm/experimental/index.js +21 -7
- package/_esm/experimental/index.js.map +1 -1
- package/_esm/index.js +2 -1
- package/_esm/index.js.map +1 -1
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts +1 -1
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts.map +1 -1
- package/_types/account-abstraction/index.d.ts +1 -0
- package/_types/account-abstraction/index.d.ts.map +1 -1
- package/_types/account-abstraction/utils/userOperation/getInitCode.d.ts +3 -0
- package/_types/account-abstraction/utils/userOperation/getInitCode.d.ts.map +1 -0
- package/_types/account-abstraction/utils/userOperation/getUserOperationHash.d.ts.map +1 -1
- package/_types/account-abstraction/utils/userOperation/getUserOperationTypedData.d.ts +39 -0
- package/_types/account-abstraction/utils/userOperation/getUserOperationTypedData.d.ts.map +1 -0
- package/_types/account-abstraction/utils/userOperation/toPackedUserOperation.d.ts.map +1 -1
- package/_types/actions/index.d.ts +5 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.d.ts +10 -10
- package/_types/actions/wallet/getCallsStatus.d.ts.map +1 -0
- package/_types/{experimental/eip5792/actions → actions/wallet}/getCapabilities.d.ts +9 -9
- package/_types/actions/wallet/getCapabilities.d.ts.map +1 -0
- package/_types/{experimental/eip5792/actions → actions/wallet}/sendCalls.d.ts +10 -10
- package/_types/actions/wallet/sendCalls.d.ts.map +1 -0
- package/_types/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.d.ts +8 -8
- package/_types/actions/wallet/showCallsStatus.d.ts.map +1 -0
- package/_types/actions/wallet/switchChain.d.ts +1 -1
- package/_types/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.d.ts +9 -9
- package/_types/actions/wallet/waitForCallsStatus.d.ts.map +1 -0
- package/_types/chains/definitions/gunz.d.ts +34 -0
- package/_types/chains/definitions/gunz.d.ts.map +1 -0
- package/_types/chains/definitions/memecore.d.ts +48 -0
- package/_types/chains/definitions/memecore.d.ts.map +1 -0
- package/_types/chains/definitions/memecoreFormicariumTestnet.d.ts +47 -0
- package/_types/chains/definitions/memecoreFormicariumTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +3 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +126 -0
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/constants/abis.d.ts +321 -0
- package/_types/constants/abis.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/experimental/eip5792/actions/writeContracts.d.ts +1 -3
- package/_types/experimental/eip5792/actions/writeContracts.d.ts.map +1 -1
- package/_types/experimental/eip5792/decorators/eip5792.d.ts +6 -6
- package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
- package/_types/experimental/index.d.ts +63 -7
- package/_types/experimental/index.d.ts.map +1 -1
- package/_types/index.d.ts +7 -1
- package/_types/index.d.ts.map +1 -1
- package/account-abstraction/accounts/implementations/toSimple7702SmartAccount.ts +8 -73
- package/account-abstraction/index.ts +5 -0
- package/account-abstraction/utils/userOperation/getInitCode.ts +21 -0
- package/account-abstraction/utils/userOperation/getUserOperationHash.ts +36 -128
- package/account-abstraction/utils/userOperation/getUserOperationTypedData.ts +49 -0
- package/account-abstraction/utils/userOperation/toPackedUserOperation.ts +2 -4
- package/actions/index.ts +31 -0
- package/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.ts +13 -13
- package/{experimental/eip5792/actions → actions/wallet}/getCapabilities.ts +10 -10
- package/{experimental/eip5792/actions → actions/wallet}/sendCalls.ts +18 -18
- package/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.ts +8 -8
- package/actions/wallet/switchChain.ts +1 -1
- package/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.ts +11 -11
- package/chains/definitions/gunz.ts +26 -0
- package/chains/definitions/memecore.ts +33 -0
- package/chains/definitions/memecoreFormicariumTestnet.ts +33 -0
- package/chains/index.ts +3 -0
- package/clients/decorators/wallet.ts +164 -0
- package/constants/abis.ts +418 -0
- package/errors/version.ts +1 -1
- package/experimental/eip5792/actions/writeContracts.ts +8 -8
- package/experimental/eip5792/decorators/eip5792.ts +12 -10
- package/experimental/index.ts +33 -6
- package/index.ts +28 -0
- package/package.json +3 -3
- package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/sendCalls.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/waitForCallsStatus.js.map +0 -1
- package/_esm/experimental/eip5792/actions/getCallsStatus.js.map +0 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js.map +0 -1
- package/_esm/experimental/eip5792/actions/showCallsStatus.js.map +0 -1
- package/_esm/experimental/eip5792/actions/waitForCallsStatus.js.map +0 -1
- package/_types/experimental/eip5792/actions/getCallsStatus.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/showCallsStatus.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/waitForCallsStatus.d.ts.map +0 -1
- /package/_cjs/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.js +0 -0
@@ -583,6 +583,327 @@ export declare const erc20Abi_bytes32: readonly [{
|
|
583
583
|
readonly type: "bool";
|
584
584
|
}];
|
585
585
|
}];
|
586
|
+
/** [ERC-1155 Multi Token Standard](https://ethereum.org/en/developers/docs/standards/tokens/erc-1155) */
|
587
|
+
export declare const erc1155Abi: readonly [{
|
588
|
+
readonly inputs: readonly [{
|
589
|
+
readonly internalType: "address";
|
590
|
+
readonly name: "sender";
|
591
|
+
readonly type: "address";
|
592
|
+
}, {
|
593
|
+
readonly internalType: "uint256";
|
594
|
+
readonly name: "balance";
|
595
|
+
readonly type: "uint256";
|
596
|
+
}, {
|
597
|
+
readonly internalType: "uint256";
|
598
|
+
readonly name: "needed";
|
599
|
+
readonly type: "uint256";
|
600
|
+
}, {
|
601
|
+
readonly internalType: "uint256";
|
602
|
+
readonly name: "tokenId";
|
603
|
+
readonly type: "uint256";
|
604
|
+
}];
|
605
|
+
readonly name: "ERC1155InsufficientBalance";
|
606
|
+
readonly type: "error";
|
607
|
+
}, {
|
608
|
+
readonly inputs: readonly [{
|
609
|
+
readonly internalType: "address";
|
610
|
+
readonly name: "approver";
|
611
|
+
readonly type: "address";
|
612
|
+
}];
|
613
|
+
readonly name: "ERC1155InvalidApprover";
|
614
|
+
readonly type: "error";
|
615
|
+
}, {
|
616
|
+
readonly inputs: readonly [{
|
617
|
+
readonly internalType: "uint256";
|
618
|
+
readonly name: "idsLength";
|
619
|
+
readonly type: "uint256";
|
620
|
+
}, {
|
621
|
+
readonly internalType: "uint256";
|
622
|
+
readonly name: "valuesLength";
|
623
|
+
readonly type: "uint256";
|
624
|
+
}];
|
625
|
+
readonly name: "ERC1155InvalidArrayLength";
|
626
|
+
readonly type: "error";
|
627
|
+
}, {
|
628
|
+
readonly inputs: readonly [{
|
629
|
+
readonly internalType: "address";
|
630
|
+
readonly name: "operator";
|
631
|
+
readonly type: "address";
|
632
|
+
}];
|
633
|
+
readonly name: "ERC1155InvalidOperator";
|
634
|
+
readonly type: "error";
|
635
|
+
}, {
|
636
|
+
readonly inputs: readonly [{
|
637
|
+
readonly internalType: "address";
|
638
|
+
readonly name: "receiver";
|
639
|
+
readonly type: "address";
|
640
|
+
}];
|
641
|
+
readonly name: "ERC1155InvalidReceiver";
|
642
|
+
readonly type: "error";
|
643
|
+
}, {
|
644
|
+
readonly inputs: readonly [{
|
645
|
+
readonly internalType: "address";
|
646
|
+
readonly name: "sender";
|
647
|
+
readonly type: "address";
|
648
|
+
}];
|
649
|
+
readonly name: "ERC1155InvalidSender";
|
650
|
+
readonly type: "error";
|
651
|
+
}, {
|
652
|
+
readonly inputs: readonly [{
|
653
|
+
readonly internalType: "address";
|
654
|
+
readonly name: "operator";
|
655
|
+
readonly type: "address";
|
656
|
+
}, {
|
657
|
+
readonly internalType: "address";
|
658
|
+
readonly name: "owner";
|
659
|
+
readonly type: "address";
|
660
|
+
}];
|
661
|
+
readonly name: "ERC1155MissingApprovalForAll";
|
662
|
+
readonly type: "error";
|
663
|
+
}, {
|
664
|
+
readonly anonymous: false;
|
665
|
+
readonly inputs: readonly [{
|
666
|
+
readonly indexed: true;
|
667
|
+
readonly internalType: "address";
|
668
|
+
readonly name: "account";
|
669
|
+
readonly type: "address";
|
670
|
+
}, {
|
671
|
+
readonly indexed: true;
|
672
|
+
readonly internalType: "address";
|
673
|
+
readonly name: "operator";
|
674
|
+
readonly type: "address";
|
675
|
+
}, {
|
676
|
+
readonly indexed: false;
|
677
|
+
readonly internalType: "bool";
|
678
|
+
readonly name: "approved";
|
679
|
+
readonly type: "bool";
|
680
|
+
}];
|
681
|
+
readonly name: "ApprovalForAll";
|
682
|
+
readonly type: "event";
|
683
|
+
}, {
|
684
|
+
readonly anonymous: false;
|
685
|
+
readonly inputs: readonly [{
|
686
|
+
readonly indexed: true;
|
687
|
+
readonly internalType: "address";
|
688
|
+
readonly name: "operator";
|
689
|
+
readonly type: "address";
|
690
|
+
}, {
|
691
|
+
readonly indexed: true;
|
692
|
+
readonly internalType: "address";
|
693
|
+
readonly name: "from";
|
694
|
+
readonly type: "address";
|
695
|
+
}, {
|
696
|
+
readonly indexed: true;
|
697
|
+
readonly internalType: "address";
|
698
|
+
readonly name: "to";
|
699
|
+
readonly type: "address";
|
700
|
+
}, {
|
701
|
+
readonly indexed: false;
|
702
|
+
readonly internalType: "uint256[]";
|
703
|
+
readonly name: "ids";
|
704
|
+
readonly type: "uint256[]";
|
705
|
+
}, {
|
706
|
+
readonly indexed: false;
|
707
|
+
readonly internalType: "uint256[]";
|
708
|
+
readonly name: "values";
|
709
|
+
readonly type: "uint256[]";
|
710
|
+
}];
|
711
|
+
readonly name: "TransferBatch";
|
712
|
+
readonly type: "event";
|
713
|
+
}, {
|
714
|
+
readonly anonymous: false;
|
715
|
+
readonly inputs: readonly [{
|
716
|
+
readonly indexed: true;
|
717
|
+
readonly internalType: "address";
|
718
|
+
readonly name: "operator";
|
719
|
+
readonly type: "address";
|
720
|
+
}, {
|
721
|
+
readonly indexed: true;
|
722
|
+
readonly internalType: "address";
|
723
|
+
readonly name: "from";
|
724
|
+
readonly type: "address";
|
725
|
+
}, {
|
726
|
+
readonly indexed: true;
|
727
|
+
readonly internalType: "address";
|
728
|
+
readonly name: "to";
|
729
|
+
readonly type: "address";
|
730
|
+
}, {
|
731
|
+
readonly indexed: false;
|
732
|
+
readonly internalType: "uint256";
|
733
|
+
readonly name: "id";
|
734
|
+
readonly type: "uint256";
|
735
|
+
}, {
|
736
|
+
readonly indexed: false;
|
737
|
+
readonly internalType: "uint256";
|
738
|
+
readonly name: "value";
|
739
|
+
readonly type: "uint256";
|
740
|
+
}];
|
741
|
+
readonly name: "TransferSingle";
|
742
|
+
readonly type: "event";
|
743
|
+
}, {
|
744
|
+
readonly anonymous: false;
|
745
|
+
readonly inputs: readonly [{
|
746
|
+
readonly indexed: false;
|
747
|
+
readonly internalType: "string";
|
748
|
+
readonly name: "value";
|
749
|
+
readonly type: "string";
|
750
|
+
}, {
|
751
|
+
readonly indexed: true;
|
752
|
+
readonly internalType: "uint256";
|
753
|
+
readonly name: "id";
|
754
|
+
readonly type: "uint256";
|
755
|
+
}];
|
756
|
+
readonly name: "URI";
|
757
|
+
readonly type: "event";
|
758
|
+
}, {
|
759
|
+
readonly inputs: readonly [{
|
760
|
+
readonly internalType: "address";
|
761
|
+
readonly name: "account";
|
762
|
+
readonly type: "address";
|
763
|
+
}, {
|
764
|
+
readonly internalType: "uint256";
|
765
|
+
readonly name: "id";
|
766
|
+
readonly type: "uint256";
|
767
|
+
}];
|
768
|
+
readonly name: "balanceOf";
|
769
|
+
readonly outputs: readonly [{
|
770
|
+
readonly internalType: "uint256";
|
771
|
+
readonly name: "";
|
772
|
+
readonly type: "uint256";
|
773
|
+
}];
|
774
|
+
readonly stateMutability: "view";
|
775
|
+
readonly type: "function";
|
776
|
+
}, {
|
777
|
+
readonly inputs: readonly [{
|
778
|
+
readonly internalType: "address[]";
|
779
|
+
readonly name: "accounts";
|
780
|
+
readonly type: "address[]";
|
781
|
+
}, {
|
782
|
+
readonly internalType: "uint256[]";
|
783
|
+
readonly name: "ids";
|
784
|
+
readonly type: "uint256[]";
|
785
|
+
}];
|
786
|
+
readonly name: "balanceOfBatch";
|
787
|
+
readonly outputs: readonly [{
|
788
|
+
readonly internalType: "uint256[]";
|
789
|
+
readonly name: "";
|
790
|
+
readonly type: "uint256[]";
|
791
|
+
}];
|
792
|
+
readonly stateMutability: "view";
|
793
|
+
readonly type: "function";
|
794
|
+
}, {
|
795
|
+
readonly inputs: readonly [{
|
796
|
+
readonly internalType: "address";
|
797
|
+
readonly name: "account";
|
798
|
+
readonly type: "address";
|
799
|
+
}, {
|
800
|
+
readonly internalType: "address";
|
801
|
+
readonly name: "operator";
|
802
|
+
readonly type: "address";
|
803
|
+
}];
|
804
|
+
readonly name: "isApprovedForAll";
|
805
|
+
readonly outputs: readonly [{
|
806
|
+
readonly internalType: "bool";
|
807
|
+
readonly name: "";
|
808
|
+
readonly type: "bool";
|
809
|
+
}];
|
810
|
+
readonly stateMutability: "view";
|
811
|
+
readonly type: "function";
|
812
|
+
}, {
|
813
|
+
readonly inputs: readonly [{
|
814
|
+
readonly internalType: "address";
|
815
|
+
readonly name: "from";
|
816
|
+
readonly type: "address";
|
817
|
+
}, {
|
818
|
+
readonly internalType: "address";
|
819
|
+
readonly name: "to";
|
820
|
+
readonly type: "address";
|
821
|
+
}, {
|
822
|
+
readonly internalType: "uint256[]";
|
823
|
+
readonly name: "ids";
|
824
|
+
readonly type: "uint256[]";
|
825
|
+
}, {
|
826
|
+
readonly internalType: "uint256[]";
|
827
|
+
readonly name: "values";
|
828
|
+
readonly type: "uint256[]";
|
829
|
+
}, {
|
830
|
+
readonly internalType: "bytes";
|
831
|
+
readonly name: "data";
|
832
|
+
readonly type: "bytes";
|
833
|
+
}];
|
834
|
+
readonly name: "safeBatchTransferFrom";
|
835
|
+
readonly outputs: readonly [];
|
836
|
+
readonly stateMutability: "nonpayable";
|
837
|
+
readonly type: "function";
|
838
|
+
}, {
|
839
|
+
readonly inputs: readonly [{
|
840
|
+
readonly internalType: "address";
|
841
|
+
readonly name: "from";
|
842
|
+
readonly type: "address";
|
843
|
+
}, {
|
844
|
+
readonly internalType: "address";
|
845
|
+
readonly name: "to";
|
846
|
+
readonly type: "address";
|
847
|
+
}, {
|
848
|
+
readonly internalType: "uint256";
|
849
|
+
readonly name: "id";
|
850
|
+
readonly type: "uint256";
|
851
|
+
}, {
|
852
|
+
readonly internalType: "uint256";
|
853
|
+
readonly name: "value";
|
854
|
+
readonly type: "uint256";
|
855
|
+
}, {
|
856
|
+
readonly internalType: "bytes";
|
857
|
+
readonly name: "data";
|
858
|
+
readonly type: "bytes";
|
859
|
+
}];
|
860
|
+
readonly name: "safeTransferFrom";
|
861
|
+
readonly outputs: readonly [];
|
862
|
+
readonly stateMutability: "nonpayable";
|
863
|
+
readonly type: "function";
|
864
|
+
}, {
|
865
|
+
readonly inputs: readonly [{
|
866
|
+
readonly internalType: "address";
|
867
|
+
readonly name: "operator";
|
868
|
+
readonly type: "address";
|
869
|
+
}, {
|
870
|
+
readonly internalType: "bool";
|
871
|
+
readonly name: "approved";
|
872
|
+
readonly type: "bool";
|
873
|
+
}];
|
874
|
+
readonly name: "setApprovalForAll";
|
875
|
+
readonly outputs: readonly [];
|
876
|
+
readonly stateMutability: "nonpayable";
|
877
|
+
readonly type: "function";
|
878
|
+
}, {
|
879
|
+
readonly inputs: readonly [{
|
880
|
+
readonly internalType: "bytes4";
|
881
|
+
readonly name: "interfaceId";
|
882
|
+
readonly type: "bytes4";
|
883
|
+
}];
|
884
|
+
readonly name: "supportsInterface";
|
885
|
+
readonly outputs: readonly [{
|
886
|
+
readonly internalType: "bool";
|
887
|
+
readonly name: "";
|
888
|
+
readonly type: "bool";
|
889
|
+
}];
|
890
|
+
readonly stateMutability: "view";
|
891
|
+
readonly type: "function";
|
892
|
+
}, {
|
893
|
+
readonly inputs: readonly [{
|
894
|
+
readonly internalType: "uint256";
|
895
|
+
readonly name: "";
|
896
|
+
readonly type: "uint256";
|
897
|
+
}];
|
898
|
+
readonly name: "uri";
|
899
|
+
readonly outputs: readonly [{
|
900
|
+
readonly internalType: "string";
|
901
|
+
readonly name: "";
|
902
|
+
readonly type: "string";
|
903
|
+
}];
|
904
|
+
readonly stateMutability: "view";
|
905
|
+
readonly type: "function";
|
906
|
+
}];
|
586
907
|
/** [ERC-721 Non-Fungible Token Standard](https://ethereum.org/en/developers/docs/standards/tokens/erc-721) */
|
587
908
|
export declare const erc721Abi: readonly [{
|
588
909
|
readonly type: "event";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../constants/abis.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0ChB,CAAA;AAEV,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDlB,CAAA;AAkDV,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B9B,CAAA;AAEV,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B9B,CAAA;AAEV,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAWlB,CAAA;AAEV,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBrB,CAAA;AAIV,gBAAgB;AAChB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAWlB,CAAA;AAKV,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2CjC,CAAA;AAEV,+FAA+F;AAC/F,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;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canary-20250426072350";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,iCAAiC,CAAA"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { Abi, AbiStateMutability, Address, Narrow } from 'abitype';
|
2
|
+
import { type SendCallsErrorType, type SendCallsParameters, type SendCallsReturnType } from '../../../actions/wallet/sendCalls.js';
|
2
3
|
import type { Client } from '../../../clients/createClient.js';
|
3
4
|
import type { Transport } from '../../../clients/transports/createTransport.js';
|
4
5
|
import type { ErrorType } from '../../../errors/utils.js';
|
@@ -7,7 +8,6 @@ import type { Chain, GetChainParameter } from '../../../types/chain.js';
|
|
7
8
|
import type { ContractFunctionArgs, ContractFunctionName, GetValue, UnionWiden, Widen } from '../../../types/contract.js';
|
8
9
|
import type { MulticallContracts } from '../../../types/multicall.js';
|
9
10
|
import { type EncodeFunctionDataErrorType } from '../../../utils/abi/encodeFunctionData.js';
|
10
|
-
import { type SendCallsErrorType, type SendCallsParameters, type SendCallsReturnType } from './sendCalls.js';
|
11
11
|
export type WriteContractsParameters<contracts extends readonly unknown[] = readonly WriteContractFunctionParameters[], chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined> = Pick<SendCallsParameters<chain, account, chainOverride>, 'capabilities' | 'version'> & {
|
12
12
|
contracts: MulticallContracts<Narrow<contracts>, {
|
13
13
|
mutability: AbiStateMutability;
|
@@ -16,8 +16,6 @@ export type WriteContractsParameters<contracts extends readonly unknown[] = read
|
|
16
16
|
export type WriteContractsReturnType = SendCallsReturnType;
|
17
17
|
export type WriteContractsErrorType = EncodeFunctionDataErrorType | SendCallsErrorType | ErrorType;
|
18
18
|
/**
|
19
|
-
* @deprecated Use {@link sendCalls} instead. See https://viem.sh/experimental/eip5792/sendCalls#contract-calls.
|
20
|
-
*
|
21
19
|
* Requests for the wallet to sign and broadcast a batch of write contract calls (transactions) to the network.
|
22
20
|
*
|
23
21
|
* - Docs: https://viem.sh/experimental/eip5792/writeContracts
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"writeContracts.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/writeContracts.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"writeContracts.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/writeContracts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAEvE,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAEzB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAA;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAC7E,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACvE,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,QAAQ,EACR,UAAU,EACV,KAAK,EACN,MAAM,4BAA4B,CAAA;AACnC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AACrE,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,0CAA0C,CAAA;AAGjD,MAAM,MAAM,wBAAwB,CAClC,SAAS,SACP,SAAS,OAAO,EAAE,GAAG,SAAS,+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H,UAAU,CACX,GAAG,oBAAoB,CAAC,GAAG,EAAE,UAAU,CAAC,EACzC,IAAI,SAAS,oBAAoB,CAC/B,GAAG,EACH,UAAU,EACV,YAAY,CACb,GAAG,oBAAoB,CAAC,GAAG,EAAE,UAAU,EAAE,YAAY,CAAC,EAEvD,gBAAgB,GAAG,oBAAoB,CAAC,GAAG,EAAE,UAAU,CAAC,EACxD,OAAO,GAAG,oBAAoB,CAAC,GAAG,EAAE,UAAU,EAAE,YAAY,CAAC,IAG3D;IACF,OAAO,EAAE,OAAO,CAAA;IAChB,GAAG,EAAE,GAAG,CAAA;IACR,YAAY,EACR,gBAAgB,GAChB,CAAC,YAAY,SAAS,gBAAgB,GAAG,YAAY,GAAG,KAAK,CAAC,CAAA;IAClE,IAAI,CAAC,EAAE,CAAC,GAAG,SAAS,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,GAAG,OAAO,GAAG,SAAS,CAAA;CAC1E,GAAG,CAAC,SAAS,EAAE,SAAS,OAAO,GAAG,EAAE,GAAG;IAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAA;CAAE,CAAC,GAC5D,QAAQ,CAAC,GAAG,EAAE,YAAY,CAAC,CAAA"}
|
@@ -1,12 +1,12 @@
|
|
1
|
+
import { type GetCallsStatusParameters, type GetCallsStatusReturnType } from '../../../actions/wallet/getCallsStatus.js';
|
2
|
+
import { type GetCapabilitiesParameters, type GetCapabilitiesReturnType } from '../../../actions/wallet/getCapabilities.js';
|
3
|
+
import { type SendCallsParameters, type SendCallsReturnType } from '../../../actions/wallet/sendCalls.js';
|
4
|
+
import { type ShowCallsStatusParameters, type ShowCallsStatusReturnType } from '../../../actions/wallet/showCallsStatus.js';
|
5
|
+
import { type WaitForCallsStatusParameters, type WaitForCallsStatusReturnType } from '../../../actions/wallet/waitForCallsStatus.js';
|
1
6
|
import type { Client } from '../../../clients/createClient.js';
|
2
7
|
import type { Transport } from '../../../clients/transports/createTransport.js';
|
3
8
|
import type { Account } from '../../../types/account.js';
|
4
9
|
import type { Chain } from '../../../types/chain.js';
|
5
|
-
import { type GetCallsStatusParameters, type GetCallsStatusReturnType } from '../actions/getCallsStatus.js';
|
6
|
-
import { type GetCapabilitiesParameters, type GetCapabilitiesReturnType } from '../actions/getCapabilities.js';
|
7
|
-
import { type SendCallsParameters, type SendCallsReturnType } from '../actions/sendCalls.js';
|
8
|
-
import { type ShowCallsStatusParameters, type ShowCallsStatusReturnType } from '../actions/showCallsStatus.js';
|
9
|
-
import { type WaitForCallsStatusParameters, type WaitForCallsStatusReturnType } from '../actions/waitForCallsStatus.js';
|
10
10
|
import { type WriteContractsParameters, type WriteContractsReturnType } from '../actions/writeContracts.js';
|
11
11
|
export type Eip5792Actions<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined> = {
|
12
12
|
/**
|
@@ -58,7 +58,7 @@ export type Eip5792Actions<chain extends Chain | undefined = Chain | undefined,
|
|
58
58
|
/**
|
59
59
|
* Requests the connected wallet to send a batch of calls.
|
60
60
|
*
|
61
|
-
* - Docs: https://viem.sh/
|
61
|
+
* - Docs: https://viem.sh/docs/actions/wallet/sendCalls
|
62
62
|
* - JSON-RPC Methods: [`wallet_sendCalls`](https://eips.ethereum.org/EIPS/eip-5792)
|
63
63
|
*
|
64
64
|
* @param client - Client to use
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eip5792.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/decorators/eip5792.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"eip5792.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/decorators/eip5792.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAE9B,MAAM,2CAA2C,CAAA;AAClD,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAE/B,MAAM,4CAA4C,CAAA;AACnD,OAAO,EACL,KAAK,mBAAmB,E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eAAe,EAAE,CACf,UAAU,EAAE,yBAAyB,KAClC,OAAO,CAAC,yBAAyB,CAAC,CAAA;IACvC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,kBAAkB,EAAE,CAClB,UAAU,EAAE,4BAA4B,KACrC,OAAO,CAAC,4BAA4B,CAAC,CAAA;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,cAAc,EAAE,CACd,KAAK,CAAC,SAAS,SAAS,SAAS,OAAO,EAAE,EAC1C,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEnD,UAAU,EAAE,wBAAwB,CAClC,SAAS,EACT,KAAK,EACL,OAAO,EACP,aAAa,CACd,KACE,OAAO,CAAC,wBAAwB,CAAC,CAAA;CACvC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,KAE1B,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACnD,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EAEzD,QAAQ,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,KACxC,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAYlC"}
|
@@ -1,10 +1,66 @@
|
|
1
|
-
export {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
export {
|
2
|
+
/** @deprecated This is no longer experimental – use `import type { GetCapabilitiesParameters } from 'viem/actions'` instead. */
|
3
|
+
type GetCapabilitiesParameters,
|
4
|
+
/** @deprecated This is no longer experimental – use `import type { GetCapabilitiesErrorType } from 'viem/actions'` instead. */
|
5
|
+
type GetCapabilitiesErrorType,
|
6
|
+
/** @deprecated This is no longer experimental – use `import type { GetCapabilitiesReturnType } from 'viem/actions'` instead. */
|
7
|
+
type GetCapabilitiesReturnType,
|
8
|
+
/** @deprecated This is no longer experimental – use `import { getCapabilities } from 'viem/actions'` instead. */
|
9
|
+
getCapabilities, } from '../actions/wallet/getCapabilities.js';
|
10
|
+
export {
|
11
|
+
/** @deprecated This is no longer experimental – use `import type { SendCallsErrorType } from 'viem/actions'` instead. */
|
12
|
+
type SendCallsErrorType,
|
13
|
+
/** @deprecated This is no longer experimental – use `import type { SendCallsParameters } from 'viem/actions'` instead. */
|
14
|
+
type SendCallsParameters,
|
15
|
+
/** @deprecated This is no longer experimental – use `import type { SendCallsReturnType } from 'viem/actions'` instead. */
|
16
|
+
type SendCallsReturnType,
|
17
|
+
/** @deprecated This is no longer experimental – use `import { sendCalls } from 'viem/actions'` instead. */
|
18
|
+
sendCalls, } from '../actions/wallet/sendCalls.js';
|
19
|
+
export {
|
20
|
+
/** @deprecated This is no longer experimental – use `import type { GetCallsStatusErrorType } from 'viem/actions'` instead. */
|
21
|
+
type GetCallsStatusErrorType,
|
22
|
+
/** @deprecated This is no longer experimental – use `import type { GetCallsStatusParameters } from 'viem/actions'` instead. */
|
23
|
+
type GetCallsStatusParameters,
|
24
|
+
/** @deprecated This is no longer experimental – use `import type { GetCallsStatusReturnType } from 'viem/actions'` instead. */
|
25
|
+
type GetCallsStatusReturnType,
|
26
|
+
/** @deprecated This is no longer experimental – use `import { getCallsStatus } from 'viem/actions'` instead. */
|
27
|
+
getCallsStatus, } from '../actions/wallet/getCallsStatus.js';
|
28
|
+
export {
|
29
|
+
/** @deprecated This is no longer experimental – use `import type { ShowCallsStatusErrorType } from 'viem/actions'` instead. */
|
30
|
+
type ShowCallsStatusErrorType,
|
31
|
+
/** @deprecated This is no longer experimental – use `import type { ShowCallsStatusParameters } from 'viem/actions'` instead. */
|
32
|
+
type ShowCallsStatusParameters,
|
33
|
+
/** @deprecated This is no longer experimental – use `import type { ShowCallsStatusReturnType } from 'viem/actions'` instead. */
|
34
|
+
type ShowCallsStatusReturnType,
|
35
|
+
/** @deprecated This is no longer experimental – use `import { showCallsStatus } from 'viem/actions'` instead. */
|
36
|
+
showCallsStatus, } from '../actions/wallet/showCallsStatus.js';
|
37
|
+
export {
|
38
|
+
/** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusErrorType } from 'viem/actions'` instead. */
|
39
|
+
type WaitForCallsStatusErrorType,
|
40
|
+
/** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusParameters } from 'viem/actions'` instead. */
|
41
|
+
type WaitForCallsStatusParameters,
|
42
|
+
/** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusReturnType } from 'viem/actions'` instead. */
|
43
|
+
type WaitForCallsStatusReturnType,
|
44
|
+
/** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusTimeoutErrorType } from 'viem/actions'` instead. */
|
45
|
+
type WaitForCallsStatusTimeoutErrorType,
|
46
|
+
/** @deprecated This is no longer experimental – use `import { waitForCallsStatus } from 'viem/actions'` instead. */
|
47
|
+
waitForCallsStatus, } from '../actions/wallet/waitForCallsStatus.js';
|
48
|
+
export {
|
49
|
+
/** @deprecated Use `SendCallsErrorType` instead. */
|
50
|
+
type WriteContractsErrorType,
|
51
|
+
/** @deprecated Use `SendCallsParameters` instead. */
|
52
|
+
type WriteContractsParameters,
|
53
|
+
/** @deprecated Use `SendCallsReturnType` instead. */
|
54
|
+
type WriteContractsReturnType,
|
55
|
+
/** @deprecated */
|
56
|
+
type WriteContractFunctionParameters,
|
57
|
+
/** @deprecated Use `sendCalls` instead. */
|
58
|
+
writeContracts, } from './eip5792/actions/writeContracts.js';
|
59
|
+
export {
|
60
|
+
/** @deprecated This is no longer experimental – use `import type { WalletActions } from 'viem'` instead. */
|
61
|
+
type Eip5792Actions,
|
62
|
+
/** @deprecated This is no longer experimental – use `import { createWalletClient } from 'viem'` or `import { walletActions } from 'viem'` instead. */
|
63
|
+
eip5792Actions, } from './eip5792/decorators/eip5792.js';
|
8
64
|
export {
|
9
65
|
/** @deprecated This is no longer experimental – use `import type { WalletActions } from 'viem'` instead. */
|
10
66
|
type WalletActions as Eip7702Actions,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":"AACA,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":"AACA,OAAO;AACL,gIAAgI;AAChI,KAAK,yBAAyB;AAC9B,+HAA+H;AAC/H,KAAK,wBAAwB;AAC7B,gIAAgI;AAChI,KAAK,yBAAyB;AAC9B,iHAAiH;AACjH,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO;AACL,yHAAyH;AACzH,KAAK,kBAAkB;AACvB,0HAA0H;AAC1H,KAAK,mBAAmB;AACxB,0HAA0H;AAC1H,KAAK,mBAAmB;AACxB,2GAA2G;AAC3G,SAAS,GACV,MAAM,gCAAgC,CAAA;AACvC,OAAO;AACL,8HAA8H;AAC9H,KAAK,uBAAuB;AAC5B,+HAA+H;AAC/H,KAAK,wBAAwB;AAC7B,+HAA+H;AAC/H,KAAK,wBAAwB;AAC7B,gHAAgH;AAChH,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO;AACL,+HAA+H;AAC/H,KAAK,wBAAwB;AAC7B,gIAAgI;AAChI,KAAK,yBAAyB;AAC9B,gIAAgI;AAChI,KAAK,yBAAyB;AAC9B,iHAAiH;AACjH,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO;AACL,kIAAkI;AAClI,KAAK,2BAA2B;AAChC,mIAAmI;AACnI,KAAK,4BAA4B;AACjC,mIAAmI;AACnI,KAAK,4BAA4B;AACjC,yIAAyI;AACzI,KAAK,kCAAkC;AACvC,oHAAoH;AACpH,kBAAkB,GACnB,MAAM,yCAAyC,CAAA;AAChD,OAAO;AACL,oDAAoD;AACpD,KAAK,uBAAuB;AAC5B,qDAAqD;AACrD,KAAK,wBAAwB;AAC7B,qDAAqD;AACrD,KAAK,wBAAwB;AAC7B,kBAAkB;AAClB,KAAK,+BAA+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AA2H;AAC3H,2BAA2B,GAC5B,MAAM,uDAAuD,CAAA;AAC9D,OAAO;AACL,yIAAyI;AACzI,KAAK,oCAAoC;AACzC,wIAAwI;AACxI,KAAK,mCAAmC;AACxC,0HAA0H;AAC1H,0BAA0B,GAC3B,MAAM,sDAAsD,CAAA;AAC7D,OAAO;AACL,kIAAkI;AAClI,KAAK,6BAA6B;AAClC,kIAAkI;AAClI,KAAK,6BAA6B;AAClC,iIAAiI;AACjI,KAAK,4BAA4B;AACjC,mHAAmH;AACnH,mBAAmB,GACpB,MAAM,+CAA+C,CAAA;AAEtD,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,gBAAgB,GACjB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,GACf,MAAM,iCAAiC,CAAA"}
|
package/_types/index.d.ts
CHANGED
@@ -76,6 +76,12 @@ export type { SendRawTransactionErrorType, SendRawTransactionParameters, SendRaw
|
|
76
76
|
export type { SendTransactionErrorType, SendTransactionParameters, SendTransactionRequest, SendTransactionReturnType, } from './actions/wallet/sendTransaction.js';
|
77
77
|
export type { SignTransactionErrorType, SignTransactionParameters, SignTransactionReturnType, } from './actions/wallet/signTransaction.js';
|
78
78
|
export type { PrepareTransactionRequestErrorType, PrepareTransactionRequestParameters, PrepareTransactionRequestParameterType, PrepareTransactionRequestRequest, PrepareTransactionRequestReturnType, } from './actions/wallet/prepareTransactionRequest.js';
|
79
|
+
export type { GetCapabilitiesParameters, GetCapabilitiesErrorType, GetCapabilitiesReturnType, } from './actions/wallet/getCapabilities.js';
|
80
|
+
export type { SendCallsErrorType, SendCallsParameters, SendCallsReturnType, } from './actions/wallet/sendCalls.js';
|
81
|
+
export type { GetCallsStatusErrorType, GetCallsStatusParameters, GetCallsStatusReturnType, } from './actions/wallet/getCallsStatus.js';
|
82
|
+
export type { ShowCallsStatusErrorType, ShowCallsStatusParameters, ShowCallsStatusReturnType, } from './actions/wallet/showCallsStatus.js';
|
83
|
+
export { WaitForCallsStatusTimeoutError } from './actions/wallet/waitForCallsStatus.js';
|
84
|
+
export type { WaitForCallsStatusErrorType, WaitForCallsStatusParameters, WaitForCallsStatusReturnType, WaitForCallsStatusTimeoutErrorType, } from './actions/wallet/waitForCallsStatus.js';
|
79
85
|
export type { SendUnsignedTransactionErrorType, SendUnsignedTransactionParameters, SendUnsignedTransactionReturnType, } from './actions/test/sendUnsignedTransaction.js';
|
80
86
|
export type { SetAutomineErrorType } from './actions/test/setAutomine.js';
|
81
87
|
export type { SetBalanceErrorType, SetBalanceParameters, } from './actions/test/setBalance.js';
|
@@ -117,7 +123,7 @@ export { type WalletActions, walletActions, } from './clients/decorators/wallet.
|
|
117
123
|
export { type Transport, type TransportConfig, type CreateTransportErrorType, createTransport, } from './clients/transports/createTransport.js';
|
118
124
|
export { type WalletClient, type WalletClientConfig, type CreateWalletClientErrorType, createWalletClient, } from './clients/createWalletClient.js';
|
119
125
|
export { type WebSocketTransport, type WebSocketTransportConfig, type WebSocketTransportErrorType, webSocket, } from './clients/transports/webSocket.js';
|
120
|
-
export { multicall3Abi, erc20Abi, erc20Abi_bytes32, erc721Abi, erc4626Abi, universalSignatureValidatorAbi, } from './constants/abis.js';
|
126
|
+
export { multicall3Abi, erc20Abi, erc20Abi_bytes32, erc721Abi, erc1155Abi, erc4626Abi, universalSignatureValidatorAbi, } from './constants/abis.js';
|
121
127
|
export { ethAddress, zeroAddress } from './constants/address.js';
|
122
128
|
export { deploylessCallViaBytecodeBytecode, deploylessCallViaFactoryBytecode, universalSignatureValidatorByteCode, } from './constants/contracts.js';
|
123
129
|
export { etherUnits, gweiUnits, weiUnits } from './constants/unit.js';
|