@funkit/core 1.0.15 → 1.0.17

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.
Files changed (61) hide show
  1. package/dist/src/abis/ApproveAndExec.json +70 -1
  2. package/dist/src/abis/EntryPoint.json +546 -2
  3. package/dist/src/abis/EstimationPaymaster.json +156 -1
  4. package/dist/src/abis/FeePercentOracle.json +142 -1
  5. package/dist/src/abis/FunWallet.json +534 -2
  6. package/dist/src/abis/FunWalletFactory.json +141 -1
  7. package/dist/src/abis/GaslessPaymaster.json +329 -1
  8. package/dist/src/abis/RoleBasedAccessControl.json +2 -1
  9. package/dist/src/abis/TestNFT.json +170 -1
  10. package/dist/src/abis/TokenPaymaster.json +696 -1
  11. package/dist/src/abis/TokenPriceOracle.json +44 -1
  12. package/dist/src/abis/UserAuthentication.json +223 -1
  13. package/dist/src/apis/AccessControlApis.js +4 -5
  14. package/dist/src/apis/AccessControlApis.js.map +1 -1
  15. package/dist/src/apis/BridgeApis.js +4 -5
  16. package/dist/src/apis/BridgeApis.js.map +1 -1
  17. package/dist/src/apis/ContractApis.js +1 -2
  18. package/dist/src/apis/ContractApis.js.map +1 -1
  19. package/dist/src/apis/GroupApis.js +2 -3
  20. package/dist/src/apis/GroupApis.js.map +1 -1
  21. package/dist/src/apis/InfoApis.js +5 -6
  22. package/dist/src/apis/InfoApis.js.map +1 -1
  23. package/dist/src/apis/ListenerApis.js +2 -3
  24. package/dist/src/apis/ListenerApis.js.map +1 -1
  25. package/dist/src/apis/NFTApis.js +2 -3
  26. package/dist/src/apis/NFTApis.js.map +1 -1
  27. package/dist/src/apis/OperationApis.js +10 -10
  28. package/dist/src/apis/OperationApis.js.map +1 -1
  29. package/dist/src/apis/PaymasterApis.js +1 -2
  30. package/dist/src/apis/PaymasterApis.js.map +1 -1
  31. package/dist/src/apis/SwapApis.js +3 -4
  32. package/dist/src/apis/SwapApis.js.map +1 -1
  33. package/dist/src/apis/UserApis.js +7 -8
  34. package/dist/src/apis/UserApis.js.map +1 -1
  35. package/dist/src/apis/types.d.ts +0 -117
  36. package/dist/src/apis/types.js +0 -18
  37. package/dist/src/apis/types.js.map +1 -1
  38. package/dist/src/common/constants.d.ts +1646 -1509
  39. package/dist/src/common/constants.js +32 -2
  40. package/dist/src/common/constants.js.map +1 -1
  41. package/dist/src/config/Config.js +3 -4
  42. package/dist/src/config/Config.js.map +1 -1
  43. package/dist/src/data/SolidityData.js +5 -6
  44. package/dist/src/data/SolidityData.js.map +1 -1
  45. package/dist/src/data/Token.js +1 -1
  46. package/dist/src/data/Token.js.map +1 -1
  47. package/dist/src/utils/ApiUtils.js +5 -5
  48. package/dist/src/utils/ApiUtils.js.map +1 -1
  49. package/dist/src/utils/CheckoutUtils.js +3 -4
  50. package/dist/src/utils/CheckoutUtils.js.map +1 -1
  51. package/dist/src/utils/GroupUtils.js +1 -2
  52. package/dist/src/utils/GroupUtils.js.map +1 -1
  53. package/dist/src/utils/SwapUtils.js +3 -4
  54. package/dist/src/utils/SwapUtils.js.map +1 -1
  55. package/dist/src/utils/UserOpUtils.js +3 -3
  56. package/dist/src/utils/UserOpUtils.js.map +1 -1
  57. package/dist/src/utils/ViemUtils.js +3 -3
  58. package/dist/src/utils/ViemUtils.js.map +1 -1
  59. package/dist/src/viem/Converter.d.ts +188 -5654
  60. package/dist/src/wallet/FunWallet.d.ts +1 -1
  61. package/package.json +3 -2
@@ -1,2 +1,534 @@
1
- { "name": "FunWallet", "abi": [{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "AdminChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "beacon", "type": "address" }], "name": "BeaconUpgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "DepositToEntryPoint", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "newEntryPoint", "type": "address" }], "name": "EntryPointChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" }], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dest", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "TransferERC20", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }], "name": "Upgraded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "indexed": false, "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "indexed": false, "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }], "name": "UserOpValidated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "withdrawAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawFromEntryPoint", "type": "event" }, { "inputs": [], "name": "EIP712_DOMAIN", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }, { "internalType": "bytes", "name": "initdata", "type": "bytes" }], "name": "addValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "depositToEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "entryPoint", "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "components": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "addresspayable", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "internalType": "structUserOperationFee", "name": "feedata", "type": "tuple" }], "name": "execFromEntryPointWithFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "execFromModule", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "dest", "type": "address[]" }, { "internalType": "uint256[]", "name": "value", "type": "uint256[]" }, { "internalType": "bytes[]", "name": "data", "type": "bytes[]" }], "name": "executeBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [{ "internalType": "contractIFunWalletFactory", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }], "name": "getNextValidation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "key", "type": "uint32" }], "name": "getNonce", "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }], "name": "getPermitHash", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState32", "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "address", "name": "addr", "type": "address" }], "name": "getState32WithAddr", "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getValidationCount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getValidations", "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "validationData", "type": "bytes" }], "name": "initValidations", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }, { "internalType": "bytes", "name": "validationInitData", "type": "bytes" }], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }, { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }], "name": "isValidAction", "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }], "name": "isValidation", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC1155BatchReceived", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC1155Received", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC721Received", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "name": "permitNonces", "outputs": [{ "internalType": "uint224", "name": "", "type": "uint224" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "sig", "type": "bytes" }], "name": "permitTransfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proxiableUUID", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "prevValidation", "type": "address" }, { "internalType": "address", "name": "validation", "type": "address" }], "name": "removeValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "salt", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "bytes", "name": "val", "type": "bytes" }], "name": "setState", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }, { "internalType": "bytes32", "name": "val", "type": "bytes32" }], "name": "setState32", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }], "name": "supportsInterface", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "tokensReceived", "outputs": [], "stateMutability": "pure", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferErc20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }], "name": "updateEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "prevValidation", "type": "address" }, { "internalType": "address", "name": "oldValidation", "type": "address" }, { "internalType": "address", "name": "newValidation", "type": "address" }, { "internalType": "bytes", "name": "newValidationInitData", "type": "bytes" }], "name": "updateValidation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }], "name": "upgradeTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "sig", "type": "bytes" }], "name": "validatePermit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "bytes", "name": "initCode", "type": "bytes" }, { "internalType": "bytes", "name": "callData", "type": "bytes" }, { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" }, { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" }, { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" }, { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "internalType": "structUserOperation", "name": "userOp", "type": "tuple" }, { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" }, { "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }], "name": "validateUserOp", "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }], "transactionHash": "0x3cb26c07f0cb0d58012d0656fab8f35d7b930a991eb898dcce9e656182884531", "addresses": { "1": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "5": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "10": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "137": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "8453": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "36865": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D", "42161": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
2
- "421614": "0x502077DCE504514e3e8f35706525AaC51D6e9852" } }
1
+ {
2
+ "name": "FunWallet",
3
+ "abi": [
4
+ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
5
+ {
6
+ "anonymous": false,
7
+ "inputs": [
8
+ { "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" },
9
+ { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }
10
+ ],
11
+ "name": "AdminChanged",
12
+ "type": "event"
13
+ },
14
+ {
15
+ "anonymous": false,
16
+ "inputs": [{ "indexed": true, "internalType": "address", "name": "beacon", "type": "address" }],
17
+ "name": "BeaconUpgraded",
18
+ "type": "event"
19
+ },
20
+ {
21
+ "anonymous": false,
22
+ "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }],
23
+ "name": "DepositToEntryPoint",
24
+ "type": "event"
25
+ },
26
+ {
27
+ "anonymous": false,
28
+ "inputs": [{ "indexed": true, "internalType": "address", "name": "newEntryPoint", "type": "address" }],
29
+ "name": "EntryPointChanged",
30
+ "type": "event"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [{ "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" }],
35
+ "name": "Initialized",
36
+ "type": "event"
37
+ },
38
+ {
39
+ "anonymous": false,
40
+ "inputs": [
41
+ { "indexed": true, "internalType": "address", "name": "token", "type": "address" },
42
+ { "indexed": true, "internalType": "address", "name": "dest", "type": "address" },
43
+ { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
44
+ ],
45
+ "name": "TransferERC20",
46
+ "type": "event"
47
+ },
48
+ {
49
+ "anonymous": false,
50
+ "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }],
51
+ "name": "Upgraded",
52
+ "type": "event"
53
+ },
54
+ {
55
+ "anonymous": false,
56
+ "inputs": [
57
+ { "indexed": true, "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
58
+ {
59
+ "components": [
60
+ { "internalType": "address", "name": "sender", "type": "address" },
61
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
62
+ { "internalType": "bytes", "name": "initCode", "type": "bytes" },
63
+ { "internalType": "bytes", "name": "callData", "type": "bytes" },
64
+ { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" },
65
+ { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" },
66
+ { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" },
67
+ { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" },
68
+ { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" },
69
+ { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" },
70
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
71
+ ],
72
+ "indexed": false,
73
+ "internalType": "structUserOperation",
74
+ "name": "userOp",
75
+ "type": "tuple"
76
+ },
77
+ { "indexed": false, "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" },
78
+ { "indexed": false, "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }
79
+ ],
80
+ "name": "UserOpValidated",
81
+ "type": "event"
82
+ },
83
+ {
84
+ "anonymous": false,
85
+ "inputs": [
86
+ { "indexed": true, "internalType": "address", "name": "withdrawAddress", "type": "address" },
87
+ { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
88
+ ],
89
+ "name": "WithdrawFromEntryPoint",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "EIP712_DOMAIN",
95
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
96
+ "stateMutability": "view",
97
+ "type": "function"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "PERMIT_TYPEHASH",
102
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
103
+ "stateMutability": "view",
104
+ "type": "function"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "VERSION",
109
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
110
+ "stateMutability": "view",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "inputs": [
115
+ { "internalType": "address", "name": "validation", "type": "address" },
116
+ { "internalType": "bytes", "name": "initdata", "type": "bytes" }
117
+ ],
118
+ "name": "addValidation",
119
+ "outputs": [],
120
+ "stateMutability": "nonpayable",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }],
125
+ "name": "depositToEntryPoint",
126
+ "outputs": [],
127
+ "stateMutability": "nonpayable",
128
+ "type": "function"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "entryPoint",
133
+ "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }],
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [
139
+ { "internalType": "address", "name": "dest", "type": "address" },
140
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
141
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
142
+ ],
143
+ "name": "execFromEntryPoint",
144
+ "outputs": [],
145
+ "stateMutability": "nonpayable",
146
+ "type": "function"
147
+ },
148
+ {
149
+ "inputs": [
150
+ { "internalType": "address", "name": "dest", "type": "address" },
151
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
152
+ { "internalType": "bytes", "name": "data", "type": "bytes" },
153
+ {
154
+ "components": [
155
+ { "internalType": "address", "name": "token", "type": "address" },
156
+ { "internalType": "addresspayable", "name": "recipient", "type": "address" },
157
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
158
+ ],
159
+ "internalType": "structUserOperationFee",
160
+ "name": "feedata",
161
+ "type": "tuple"
162
+ }
163
+ ],
164
+ "name": "execFromEntryPointWithFee",
165
+ "outputs": [],
166
+ "stateMutability": "nonpayable",
167
+ "type": "function"
168
+ },
169
+ {
170
+ "inputs": [
171
+ { "internalType": "address", "name": "dest", "type": "address" },
172
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
173
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
174
+ ],
175
+ "name": "execFromModule",
176
+ "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
177
+ "stateMutability": "payable",
178
+ "type": "function"
179
+ },
180
+ {
181
+ "inputs": [
182
+ { "internalType": "address[]", "name": "dest", "type": "address[]" },
183
+ { "internalType": "uint256[]", "name": "value", "type": "uint256[]" },
184
+ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" }
185
+ ],
186
+ "name": "executeBatch",
187
+ "outputs": [],
188
+ "stateMutability": "nonpayable",
189
+ "type": "function"
190
+ },
191
+ {
192
+ "inputs": [],
193
+ "name": "factory",
194
+ "outputs": [{ "internalType": "contractIFunWalletFactory", "name": "", "type": "address" }],
195
+ "stateMutability": "view",
196
+ "type": "function"
197
+ },
198
+ {
199
+ "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }],
200
+ "name": "getNextValidation",
201
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
202
+ "stateMutability": "view",
203
+ "type": "function"
204
+ },
205
+ {
206
+ "inputs": [{ "internalType": "uint32", "name": "key", "type": "uint32" }],
207
+ "name": "getNonce",
208
+ "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }],
209
+ "stateMutability": "view",
210
+ "type": "function"
211
+ },
212
+ {
213
+ "inputs": [
214
+ { "internalType": "address", "name": "token", "type": "address" },
215
+ { "internalType": "address", "name": "to", "type": "address" },
216
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
217
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" }
218
+ ],
219
+ "name": "getPermitHash",
220
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
221
+ "stateMutability": "view",
222
+ "type": "function"
223
+ },
224
+ {
225
+ "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
226
+ "name": "getState",
227
+ "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
233
+ "name": "getState32",
234
+ "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }],
235
+ "stateMutability": "view",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [
240
+ { "internalType": "bytes32", "name": "key", "type": "bytes32" },
241
+ { "internalType": "address", "name": "addr", "type": "address" }
242
+ ],
243
+ "name": "getState32WithAddr",
244
+ "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }],
245
+ "stateMutability": "view",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "inputs": [],
250
+ "name": "getValidationCount",
251
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
252
+ "stateMutability": "view",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "inputs": [],
257
+ "name": "getValidations",
258
+ "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }],
259
+ "stateMutability": "view",
260
+ "type": "function"
261
+ },
262
+ {
263
+ "inputs": [{ "internalType": "bytes", "name": "validationData", "type": "bytes" }],
264
+ "name": "initValidations",
265
+ "outputs": [],
266
+ "stateMutability": "nonpayable",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ { "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" },
272
+ { "internalType": "bytes", "name": "validationInitData", "type": "bytes" }
273
+ ],
274
+ "name": "initialize",
275
+ "outputs": [],
276
+ "stateMutability": "nonpayable",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [
281
+ { "internalType": "address", "name": "target", "type": "address" },
282
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
283
+ { "internalType": "bytes", "name": "data", "type": "bytes" },
284
+ { "internalType": "bytes", "name": "signature", "type": "bytes" },
285
+ { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }
286
+ ],
287
+ "name": "isValidAction",
288
+ "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }],
294
+ "name": "isValidation",
295
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
296
+ "stateMutability": "view",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [
301
+ { "internalType": "address", "name": "", "type": "address" },
302
+ { "internalType": "address", "name": "", "type": "address" },
303
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" },
304
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" },
305
+ { "internalType": "bytes", "name": "", "type": "bytes" }
306
+ ],
307
+ "name": "onERC1155BatchReceived",
308
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
309
+ "stateMutability": "pure",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [
314
+ { "internalType": "address", "name": "", "type": "address" },
315
+ { "internalType": "address", "name": "", "type": "address" },
316
+ { "internalType": "uint256", "name": "", "type": "uint256" },
317
+ { "internalType": "uint256", "name": "", "type": "uint256" },
318
+ { "internalType": "bytes", "name": "", "type": "bytes" }
319
+ ],
320
+ "name": "onERC1155Received",
321
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
322
+ "stateMutability": "pure",
323
+ "type": "function"
324
+ },
325
+ {
326
+ "inputs": [
327
+ { "internalType": "address", "name": "", "type": "address" },
328
+ { "internalType": "address", "name": "", "type": "address" },
329
+ { "internalType": "uint256", "name": "", "type": "uint256" },
330
+ { "internalType": "bytes", "name": "", "type": "bytes" }
331
+ ],
332
+ "name": "onERC721Received",
333
+ "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
334
+ "stateMutability": "pure",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }],
339
+ "name": "permitNonces",
340
+ "outputs": [{ "internalType": "uint224", "name": "", "type": "uint224" }],
341
+ "stateMutability": "view",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [
346
+ { "internalType": "address", "name": "token", "type": "address" },
347
+ { "internalType": "address", "name": "to", "type": "address" },
348
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
349
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
350
+ { "internalType": "bytes", "name": "sig", "type": "bytes" }
351
+ ],
352
+ "name": "permitTransfer",
353
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
354
+ "stateMutability": "nonpayable",
355
+ "type": "function"
356
+ },
357
+ {
358
+ "inputs": [],
359
+ "name": "proxiableUUID",
360
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ { "internalType": "address", "name": "prevValidation", "type": "address" },
367
+ { "internalType": "address", "name": "validation", "type": "address" }
368
+ ],
369
+ "name": "removeValidation",
370
+ "outputs": [],
371
+ "stateMutability": "nonpayable",
372
+ "type": "function"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "salt",
377
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
378
+ "stateMutability": "view",
379
+ "type": "function"
380
+ },
381
+ {
382
+ "inputs": [
383
+ { "internalType": "bytes32", "name": "key", "type": "bytes32" },
384
+ { "internalType": "bytes", "name": "val", "type": "bytes" }
385
+ ],
386
+ "name": "setState",
387
+ "outputs": [],
388
+ "stateMutability": "nonpayable",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [
393
+ { "internalType": "bytes32", "name": "key", "type": "bytes32" },
394
+ { "internalType": "bytes32", "name": "val", "type": "bytes32" }
395
+ ],
396
+ "name": "setState32",
397
+ "outputs": [],
398
+ "stateMutability": "nonpayable",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }],
403
+ "name": "supportsInterface",
404
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [
410
+ { "internalType": "address", "name": "", "type": "address" },
411
+ { "internalType": "address", "name": "", "type": "address" },
412
+ { "internalType": "address", "name": "", "type": "address" },
413
+ { "internalType": "uint256", "name": "", "type": "uint256" },
414
+ { "internalType": "bytes", "name": "", "type": "bytes" },
415
+ { "internalType": "bytes", "name": "", "type": "bytes" }
416
+ ],
417
+ "name": "tokensReceived",
418
+ "outputs": [],
419
+ "stateMutability": "pure",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [
424
+ { "internalType": "address", "name": "token", "type": "address" },
425
+ { "internalType": "address", "name": "dest", "type": "address" },
426
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
427
+ ],
428
+ "name": "transferErc20",
429
+ "outputs": [],
430
+ "stateMutability": "nonpayable",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }],
435
+ "name": "updateEntryPoint",
436
+ "outputs": [],
437
+ "stateMutability": "nonpayable",
438
+ "type": "function"
439
+ },
440
+ {
441
+ "inputs": [
442
+ { "internalType": "address", "name": "prevValidation", "type": "address" },
443
+ { "internalType": "address", "name": "oldValidation", "type": "address" },
444
+ { "internalType": "address", "name": "newValidation", "type": "address" },
445
+ { "internalType": "bytes", "name": "newValidationInitData", "type": "bytes" }
446
+ ],
447
+ "name": "updateValidation",
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }],
454
+ "name": "upgradeTo",
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
461
+ { "internalType": "address", "name": "newImplementation", "type": "address" },
462
+ { "internalType": "bytes", "name": "data", "type": "bytes" }
463
+ ],
464
+ "name": "upgradeToAndCall",
465
+ "outputs": [],
466
+ "stateMutability": "payable",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [
471
+ { "internalType": "address", "name": "token", "type": "address" },
472
+ { "internalType": "address", "name": "to", "type": "address" },
473
+ { "internalType": "uint256", "name": "amount", "type": "uint256" },
474
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
475
+ { "internalType": "bytes", "name": "sig", "type": "bytes" }
476
+ ],
477
+ "name": "validatePermit",
478
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
479
+ "stateMutability": "view",
480
+ "type": "function"
481
+ },
482
+ {
483
+ "inputs": [
484
+ {
485
+ "components": [
486
+ { "internalType": "address", "name": "sender", "type": "address" },
487
+ { "internalType": "uint256", "name": "nonce", "type": "uint256" },
488
+ { "internalType": "bytes", "name": "initCode", "type": "bytes" },
489
+ { "internalType": "bytes", "name": "callData", "type": "bytes" },
490
+ { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" },
491
+ { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" },
492
+ { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" },
493
+ { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" },
494
+ { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" },
495
+ { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" },
496
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
497
+ ],
498
+ "internalType": "structUserOperation",
499
+ "name": "userOp",
500
+ "type": "tuple"
501
+ },
502
+ { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
503
+ { "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }
504
+ ],
505
+ "name": "validateUserOp",
506
+ "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }],
507
+ "stateMutability": "nonpayable",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [
512
+ { "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" },
513
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
514
+ ],
515
+ "name": "withdrawFromEntryPoint",
516
+ "outputs": [],
517
+ "stateMutability": "nonpayable",
518
+ "type": "function"
519
+ },
520
+ { "stateMutability": "payable", "type": "receive" }
521
+ ],
522
+ "transactionHash": "0x3cb26c07f0cb0d58012d0656fab8f35d7b930a991eb898dcce9e656182884531",
523
+ "addresses": {
524
+ "1": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
525
+ "5": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
526
+ "10": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
527
+ "137": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
528
+ "8453": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
529
+ "36865": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
530
+ "42161": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
531
+ "421614": "0x502077DCE504514e3e8f35706525AaC51D6e9852",
532
+ "5000": "0x645E1F9102d1d5eA60d05d11B5D90Fb8c0c92169"
533
+ }
534
+ }