@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 +1,70 @@
1
- { "name": "ApproveAndExec", "abi": [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "dest", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "executeData", "type": "bytes" }, { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "approveData", "type": "bytes" }], "name": "ApproveAndExecute", "type": "event" }, { "inputs": [], "name": "EMPTY_STATE", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dest", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "executeData", "type": "bytes" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "bytes", "name": "approveData", "type": "bytes" }], "name": "approveAndExecute", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }], "name": "getState", "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "moduleId", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "addresses": { "1": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "5": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "10": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "137": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "8453": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "36865": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "42161": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB", "421614": "0x587f2f3B109Ed85059AEC26a68E694e678C2F917" } }
1
+ {
2
+ "name": "ApproveAndExec",
3
+ "abi": [
4
+ {
5
+ "anonymous": false,
6
+ "inputs": [
7
+ { "indexed": true, "internalType": "address", "name": "dest", "type": "address" },
8
+ { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" },
9
+ { "indexed": false, "internalType": "bytes", "name": "executeData", "type": "bytes" },
10
+ { "indexed": false, "internalType": "address", "name": "token", "type": "address" },
11
+ { "indexed": false, "internalType": "bytes", "name": "approveData", "type": "bytes" }
12
+ ],
13
+ "name": "ApproveAndExecute",
14
+ "type": "event"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "EMPTY_STATE",
19
+ "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
20
+ "stateMutability": "view",
21
+ "type": "function"
22
+ },
23
+ {
24
+ "inputs": [
25
+ { "internalType": "address", "name": "dest", "type": "address" },
26
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
27
+ { "internalType": "bytes", "name": "executeData", "type": "bytes" },
28
+ { "internalType": "address", "name": "token", "type": "address" },
29
+ { "internalType": "bytes", "name": "approveData", "type": "bytes" }
30
+ ],
31
+ "name": "approveAndExecute",
32
+ "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
33
+ "stateMutability": "nonpayable",
34
+ "type": "function"
35
+ },
36
+ {
37
+ "inputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
38
+ "name": "execute",
39
+ "outputs": [],
40
+ "stateMutability": "nonpayable",
41
+ "type": "function"
42
+ },
43
+ {
44
+ "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
45
+ "name": "getState",
46
+ "outputs": [{ "internalType": "bytes", "name": "state", "type": "bytes" }],
47
+ "stateMutability": "view",
48
+ "type": "function"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "moduleId",
53
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
54
+ "stateMutability": "view",
55
+ "type": "function"
56
+ },
57
+ { "inputs": [], "name": "payFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }
58
+ ],
59
+ "addresses": {
60
+ "1": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB",
61
+ "5": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB",
62
+ "10": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB",
63
+ "137": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB",
64
+ "8453": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB",
65
+ "36865": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB",
66
+ "42161": "0xD953Eda57EAB69F2EB0103bffA9acc66eA98e0aB",
67
+ "421614": "0x587f2f3B109Ed85059AEC26a68E694e678C2F917",
68
+ "5000": "0x1d8538726daE26eE163ebB7606c1f145395F838c"
69
+ }
70
+ }