@funkit/core 2.1.0 → 2.1.1
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 +45 -9
- package/dist/src/abis/ApproveAndSwap.json +141 -1
- package/dist/src/abis/CheckoutPaymaster.json +3358 -1
- package/dist/src/abis/EntryPoint.json +590 -113
- package/dist/src/abis/EstimationPaymaster.json +134 -24
- package/dist/src/abis/FeePercentOracle.json +94 -18
- package/dist/src/abis/FunWallet.json +280 -56
- package/dist/src/abis/FunWalletFactory.json +112 -21
- package/dist/src/abis/GaslessPaymaster.json +279 -50
- package/dist/src/abis/RoleBasedAccessControl.json +2 -1
- package/dist/src/abis/TestNFT.json +71 -15
- package/dist/src/abis/TokenPriceOracle.json +17 -4
- package/dist/src/abis/UserAuthentication.json +147 -32
- package/dist/src/auth/Auth.js +10 -4
- package/dist/src/auth/Auth.js.map +1 -1
- package/dist/src/common/constants.d.ts +141 -3
- package/dist/src/common/constants.js +28 -1
- package/dist/src/common/constants.js.map +1 -1
- package/dist/src/viem/Converter.d.ts +16 -16
- package/dist/src/wallet/FunWallet.d.ts +1 -1
- package/package.json +2 -1
|
@@ -3,11 +3,31 @@
|
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
{
|
|
7
|
+
"internalType": "contractICreate3Deployer",
|
|
8
|
+
"name": "_deployer",
|
|
9
|
+
"type": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"internalType": "address",
|
|
13
|
+
"name": "_funWalletImpAddress",
|
|
14
|
+
"type": "address"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"internalType": "addresspayable",
|
|
18
|
+
"name": "_feeOracle",
|
|
19
|
+
"type": "address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"internalType": "contractIWalletInit",
|
|
23
|
+
"name": "_walletInit",
|
|
24
|
+
"type": "address"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"internalType": "contractIEntryPoint",
|
|
28
|
+
"name": "_entryPoint",
|
|
29
|
+
"type": "address"
|
|
30
|
+
}
|
|
11
31
|
],
|
|
12
32
|
"stateMutability": "nonpayable",
|
|
13
33
|
"type": "constructor"
|
|
@@ -15,21 +35,49 @@
|
|
|
15
35
|
{
|
|
16
36
|
"anonymous": false,
|
|
17
37
|
"inputs": [
|
|
18
|
-
{
|
|
19
|
-
|
|
20
|
-
|
|
38
|
+
{
|
|
39
|
+
"indexed": true,
|
|
40
|
+
"internalType": "address",
|
|
41
|
+
"name": "funWallet",
|
|
42
|
+
"type": "address"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"indexed": true,
|
|
46
|
+
"internalType": "address",
|
|
47
|
+
"name": "implementation",
|
|
48
|
+
"type": "address"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"indexed": false,
|
|
52
|
+
"internalType": "bytes",
|
|
53
|
+
"name": "initializerCallData",
|
|
54
|
+
"type": "bytes"
|
|
55
|
+
}
|
|
21
56
|
],
|
|
22
57
|
"name": "AccountCreated",
|
|
23
58
|
"type": "event"
|
|
24
59
|
},
|
|
25
60
|
{
|
|
26
61
|
"anonymous": false,
|
|
27
|
-
"inputs": [
|
|
62
|
+
"inputs": [
|
|
63
|
+
{
|
|
64
|
+
"indexed": true,
|
|
65
|
+
"internalType": "address",
|
|
66
|
+
"name": "feeOracle",
|
|
67
|
+
"type": "address"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
28
70
|
"name": "FeeOracleSet",
|
|
29
71
|
"type": "event"
|
|
30
72
|
},
|
|
31
73
|
{
|
|
32
|
-
"inputs": [
|
|
74
|
+
"inputs": [
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint32",
|
|
77
|
+
"name": "unstakeDelaySec",
|
|
78
|
+
"type": "uint32"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
33
81
|
"name": "addStakeToEntryPoint",
|
|
34
82
|
"outputs": [],
|
|
35
83
|
"stateMutability": "payable",
|
|
@@ -37,32 +85,52 @@
|
|
|
37
85
|
},
|
|
38
86
|
{
|
|
39
87
|
"inputs": [
|
|
40
|
-
{
|
|
88
|
+
{
|
|
89
|
+
"internalType": "bytes",
|
|
90
|
+
"name": "initializerCallData",
|
|
91
|
+
"type": "bytes"
|
|
92
|
+
},
|
|
41
93
|
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
42
94
|
],
|
|
43
95
|
"name": "createAccount",
|
|
44
|
-
"outputs": [
|
|
96
|
+
"outputs": [
|
|
97
|
+
{
|
|
98
|
+
"internalType": "contractIFunWallet",
|
|
99
|
+
"name": "funWallet",
|
|
100
|
+
"type": "address"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
45
103
|
"stateMutability": "nonpayable",
|
|
46
104
|
"type": "function"
|
|
47
105
|
},
|
|
48
106
|
{
|
|
49
107
|
"inputs": [],
|
|
50
108
|
"name": "deployer",
|
|
51
|
-
"outputs": [
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"internalType": "contractICreate3Deployer",
|
|
112
|
+
"name": "",
|
|
113
|
+
"type": "address"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
52
116
|
"stateMutability": "view",
|
|
53
117
|
"type": "function"
|
|
54
118
|
},
|
|
55
119
|
{
|
|
56
120
|
"inputs": [],
|
|
57
121
|
"name": "entryPoint",
|
|
58
|
-
"outputs": [
|
|
122
|
+
"outputs": [
|
|
123
|
+
{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }
|
|
124
|
+
],
|
|
59
125
|
"stateMutability": "view",
|
|
60
126
|
"type": "function"
|
|
61
127
|
},
|
|
62
128
|
{
|
|
63
129
|
"inputs": [],
|
|
64
130
|
"name": "feeOracle",
|
|
65
|
-
"outputs": [
|
|
131
|
+
"outputs": [
|
|
132
|
+
{ "internalType": "addresspayable", "name": "", "type": "address" }
|
|
133
|
+
],
|
|
66
134
|
"stateMutability": "view",
|
|
67
135
|
"type": "function"
|
|
68
136
|
},
|
|
@@ -83,7 +151,9 @@
|
|
|
83
151
|
{
|
|
84
152
|
"inputs": [],
|
|
85
153
|
"name": "getFeeOracle",
|
|
86
|
-
"outputs": [
|
|
154
|
+
"outputs": [
|
|
155
|
+
{ "internalType": "addresspayable", "name": "", "type": "address" }
|
|
156
|
+
],
|
|
87
157
|
"stateMutability": "view",
|
|
88
158
|
"type": "function"
|
|
89
159
|
},
|
|
@@ -95,13 +165,25 @@
|
|
|
95
165
|
"type": "function"
|
|
96
166
|
},
|
|
97
167
|
{
|
|
98
|
-
"inputs": [
|
|
168
|
+
"inputs": [
|
|
169
|
+
{
|
|
170
|
+
"internalType": "addresspayable",
|
|
171
|
+
"name": "_feeOracle",
|
|
172
|
+
"type": "address"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
99
175
|
"name": "setFeeOracle",
|
|
100
176
|
"outputs": [],
|
|
101
177
|
"stateMutability": "nonpayable",
|
|
102
178
|
"type": "function"
|
|
103
179
|
},
|
|
104
|
-
{
|
|
180
|
+
{
|
|
181
|
+
"inputs": [],
|
|
182
|
+
"name": "unlockStakeFromEntryPoint",
|
|
183
|
+
"outputs": [],
|
|
184
|
+
"stateMutability": "nonpayable",
|
|
185
|
+
"type": "function"
|
|
186
|
+
},
|
|
105
187
|
{
|
|
106
188
|
"inputs": [
|
|
107
189
|
{ "internalType": "bytes32", "name": "salt", "type": "bytes32" },
|
|
@@ -115,12 +197,20 @@
|
|
|
115
197
|
{
|
|
116
198
|
"inputs": [],
|
|
117
199
|
"name": "walletInit",
|
|
118
|
-
"outputs": [
|
|
200
|
+
"outputs": [
|
|
201
|
+
{ "internalType": "contractIWalletInit", "name": "", "type": "address" }
|
|
202
|
+
],
|
|
119
203
|
"stateMutability": "view",
|
|
120
204
|
"type": "function"
|
|
121
205
|
},
|
|
122
206
|
{
|
|
123
|
-
"inputs": [
|
|
207
|
+
"inputs": [
|
|
208
|
+
{
|
|
209
|
+
"internalType": "addresspayable",
|
|
210
|
+
"name": "withdrawAddress",
|
|
211
|
+
"type": "address"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
124
214
|
"name": "withdrawStakeFromEntryPoint",
|
|
125
215
|
"outputs": [],
|
|
126
216
|
"stateMutability": "nonpayable",
|
|
@@ -136,6 +226,7 @@
|
|
|
136
226
|
"36865": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
137
227
|
"42161": "0xBADa4B9bdc249B788A6247e4a8a9158eD0b3e504",
|
|
138
228
|
"421614": "0x177D6C1Ae1dAb06Ac056EE2A0C89aDE0f723022d",
|
|
139
|
-
"5000": "0x55CbD830841299a398958bC0a43Be2B31B8CF73D"
|
|
229
|
+
"5000": "0x55CbD830841299a398958bC0a43Be2B31B8CF73D",
|
|
230
|
+
"534352": "0xa839F61b1f6e19ecD0f0aCFE61Bc14B1A49b8FB9"
|
|
140
231
|
}
|
|
141
232
|
}
|