@funkit/core 1.0.15 → 1.0.16
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/dist/src/abis/ApproveAndExec.json +70 -1
- package/dist/src/abis/EntryPoint.json +546 -2
- package/dist/src/abis/EstimationPaymaster.json +156 -1
- package/dist/src/abis/FeePercentOracle.json +142 -1
- package/dist/src/abis/FunWallet.json +534 -2
- package/dist/src/abis/FunWalletFactory.json +141 -1
- package/dist/src/abis/GaslessPaymaster.json +329 -1
- package/dist/src/abis/RoleBasedAccessControl.json +2 -1
- package/dist/src/abis/TestNFT.json +170 -1
- package/dist/src/abis/TokenPaymaster.json +696 -1
- package/dist/src/abis/TokenPriceOracle.json +44 -1
- package/dist/src/abis/UserAuthentication.json +223 -1
- package/dist/src/common/constants.d.ts +137 -0
- package/dist/src/common/constants.js +32 -2
- package/dist/src/common/constants.js.map +1 -1
- package/dist/src/data/Token.js +1 -1
- package/dist/src/data/Token.js.map +1 -1
- package/package.json +2 -1
|
@@ -1 +1,70 @@
|
|
|
1
|
-
{
|
|
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
|
+
}
|