@funkit/core 2.1.1 → 2.1.2-next.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/index.js +16232 -12
- package/dist/index.js.map +7 -1
- package/dist/src/common/constants.d.ts +35 -9
- package/dist/src/viem/Converter.d.ts +4 -4
- package/package.json +6 -4
- package/dist/src/abis/ApproveAndExec.json +0 -106
- package/dist/src/abis/ApproveAndSwap.json +0 -141
- package/dist/src/abis/CheckoutPaymaster.json +0 -3358
- package/dist/src/abis/ERC20.json +0 -1
- package/dist/src/abis/ERC721.json +0 -1
- package/dist/src/abis/EntryPoint.json +0 -1023
- package/dist/src/abis/EstimationPaymaster.json +0 -266
- package/dist/src/abis/FeePercentOracle.json +0 -218
- package/dist/src/abis/FunWallet.json +0 -758
- package/dist/src/abis/FunWalletFactory.json +0 -232
- package/dist/src/abis/GaslessPaymaster.json +0 -558
- package/dist/src/abis/LidoWithdrawQueue.json +0 -1
- package/dist/src/abis/RoleBasedAccessControl.json +0 -836
- package/dist/src/abis/TestNFT.json +0 -226
- package/dist/src/abis/TokenPaymaster.json +0 -696
- package/dist/src/abis/TokenPriceOracle.json +0 -57
- package/dist/src/abis/UniswapV2Factory.json +0 -1
- package/dist/src/abis/UniswapV2Router02.json +0 -1
- package/dist/src/abis/UniswapV3LimitOrder.json +0 -1
- package/dist/src/abis/UserAuthentication.json +0 -338
- package/dist/src/abis/univ3factory.json +0 -1
- package/dist/src/abis/univ3quoter.json +0 -1
- package/dist/src/abis/univ3router.json +0 -1
- package/dist/src/actions/AccessControl.js +0 -87
- package/dist/src/actions/AccessControl.js.map +0 -1
- package/dist/src/actions/BatchActions.js +0 -8
- package/dist/src/actions/BatchActions.js.map +0 -1
- package/dist/src/actions/Bridge.js +0 -42
- package/dist/src/actions/Bridge.js.map +0 -1
- package/dist/src/actions/FirstClassActions.js +0 -329
- package/dist/src/actions/FirstClassActions.js.map +0 -1
- package/dist/src/actions/Group.js +0 -30
- package/dist/src/actions/Group.js.map +0 -1
- package/dist/src/actions/LimitOrder.js +0 -43
- package/dist/src/actions/LimitOrder.js.map +0 -1
- package/dist/src/actions/Stake.js +0 -108
- package/dist/src/actions/Stake.js.map +0 -1
- package/dist/src/actions/Swap.js +0 -150
- package/dist/src/actions/Swap.js.map +0 -1
- package/dist/src/actions/Token.js +0 -103
- package/dist/src/actions/Token.js.map +0 -1
- package/dist/src/actions/index.js +0 -8
- package/dist/src/actions/index.js.map +0 -1
- package/dist/src/actions/types.js +0 -14
- package/dist/src/actions/types.js.map +0 -1
- package/dist/src/apis/AccessControlApis.js +0 -19
- package/dist/src/apis/AccessControlApis.js.map +0 -1
- package/dist/src/apis/BridgeApis.js +0 -54
- package/dist/src/apis/BridgeApis.js.map +0 -1
- package/dist/src/apis/ContractApis.js +0 -7
- package/dist/src/apis/ContractApis.js.map +0 -1
- package/dist/src/apis/GroupApis.js +0 -15
- package/dist/src/apis/GroupApis.js.map +0 -1
- package/dist/src/apis/InfoApis.js +0 -53
- package/dist/src/apis/InfoApis.js.map +0 -1
- package/dist/src/apis/ListenerApis.js +0 -31
- package/dist/src/apis/ListenerApis.js.map +0 -1
- package/dist/src/apis/NFTApis.js +0 -29
- package/dist/src/apis/NFTApis.js.map +0 -1
- package/dist/src/apis/OperationApis.js +0 -76
- package/dist/src/apis/OperationApis.js.map +0 -1
- package/dist/src/apis/PaymasterApis.js +0 -18
- package/dist/src/apis/PaymasterApis.js.map +0 -1
- package/dist/src/apis/SwapApis.js +0 -40
- package/dist/src/apis/SwapApis.js.map +0 -1
- package/dist/src/apis/UserApis.js +0 -56
- package/dist/src/apis/UserApis.js.map +0 -1
- package/dist/src/apis/index.js +0 -9
- package/dist/src/apis/index.js.map +0 -1
- package/dist/src/apis/types.js +0 -2
- package/dist/src/apis/types.js.map +0 -1
- package/dist/src/auth/Auth.js +0 -321
- package/dist/src/auth/Auth.js.map +0 -1
- package/dist/src/auth/SessionKeyAuth.js +0 -115
- package/dist/src/auth/SessionKeyAuth.js.map +0 -1
- package/dist/src/auth/index.js +0 -3
- package/dist/src/auth/index.js.map +0 -1
- package/dist/src/auth/types.js +0 -2
- package/dist/src/auth/types.js.map +0 -1
- package/dist/src/common/constants.js +0 -449
- package/dist/src/common/constants.js.map +0 -1
- package/dist/src/common/index.js +0 -3
- package/dist/src/common/index.js.map +0 -1
- package/dist/src/common/types.js +0 -2
- package/dist/src/common/types.js.map +0 -1
- package/dist/src/config/Config.js +0 -50
- package/dist/src/config/Config.js.map +0 -1
- package/dist/src/config/index.js +0 -3
- package/dist/src/config/index.js.map +0 -1
- package/dist/src/config/types.js +0 -2
- package/dist/src/config/types.js.map +0 -1
- package/dist/src/data/Chain.js +0 -209
- package/dist/src/data/Chain.js.map +0 -1
- package/dist/src/data/NFT.js +0 -101
- package/dist/src/data/NFT.js.map +0 -1
- package/dist/src/data/Operation.js +0 -88
- package/dist/src/data/Operation.js.map +0 -1
- package/dist/src/data/SolidityData.js +0 -84
- package/dist/src/data/SolidityData.js.map +0 -1
- package/dist/src/data/Token.js +0 -118
- package/dist/src/data/Token.js.map +0 -1
- package/dist/src/data/index.js +0 -7
- package/dist/src/data/index.js.map +0 -1
- package/dist/src/data/types.js +0 -22
- package/dist/src/data/types.js.map +0 -1
- package/dist/src/errors/BaseError.js +0 -25
- package/dist/src/errors/BaseError.js.map +0 -1
- package/dist/src/errors/ClientError.js +0 -63
- package/dist/src/errors/ClientError.js.map +0 -1
- package/dist/src/errors/ServerError.js +0 -13
- package/dist/src/errors/ServerError.js.map +0 -1
- package/dist/src/errors/errors.json +0 -626
- package/dist/src/errors/index.js +0 -5
- package/dist/src/errors/index.js.map +0 -1
- package/dist/src/errors/types.js +0 -48
- package/dist/src/errors/types.js.map +0 -1
- package/dist/src/sponsors/CheckoutSponsor.js +0 -61
- package/dist/src/sponsors/CheckoutSponsor.js.map +0 -1
- package/dist/src/sponsors/GaslessSponsor.js +0 -75
- package/dist/src/sponsors/GaslessSponsor.js.map +0 -1
- package/dist/src/sponsors/Sponsor.js +0 -80
- package/dist/src/sponsors/Sponsor.js.map +0 -1
- package/dist/src/sponsors/TokenSponsor.js +0 -251
- package/dist/src/sponsors/TokenSponsor.js.map +0 -1
- package/dist/src/sponsors/index.js +0 -5
- package/dist/src/sponsors/index.js.map +0 -1
- package/dist/src/sponsors/types.js +0 -8
- package/dist/src/sponsors/types.js.map +0 -1
- package/dist/src/utils/ApiUtils.js +0 -94
- package/dist/src/utils/ApiUtils.js.map +0 -1
- package/dist/src/utils/AuthUtils.js +0 -31
- package/dist/src/utils/AuthUtils.js.map +0 -1
- package/dist/src/utils/ChainUtils.js +0 -131
- package/dist/src/utils/ChainUtils.js.map +0 -1
- package/dist/src/utils/CheckoutUtils.js +0 -28
- package/dist/src/utils/CheckoutUtils.js.map +0 -1
- package/dist/src/utils/GroupUtils.js +0 -26
- package/dist/src/utils/GroupUtils.js.map +0 -1
- package/dist/src/utils/MerkleUtils.js +0 -86
- package/dist/src/utils/MerkleUtils.js.map +0 -1
- package/dist/src/utils/PaymasterUtils.js +0 -17
- package/dist/src/utils/PaymasterUtils.js.map +0 -1
- package/dist/src/utils/SwapUtils.js +0 -193
- package/dist/src/utils/SwapUtils.js.map +0 -1
- package/dist/src/utils/TypeUtils.js +0 -9
- package/dist/src/utils/TypeUtils.js.map +0 -1
- package/dist/src/utils/UserOpUtils.js +0 -171
- package/dist/src/utils/UserOpUtils.js.map +0 -1
- package/dist/src/utils/ViemUtils.js +0 -30
- package/dist/src/utils/ViemUtils.js.map +0 -1
- package/dist/src/utils/WalletUtils.js +0 -56
- package/dist/src/utils/WalletUtils.js.map +0 -1
- package/dist/src/utils/index.js +0 -9
- package/dist/src/utils/index.js.map +0 -1
- package/dist/src/viem/ContractInterface.js +0 -90
- package/dist/src/viem/ContractInterface.js.map +0 -1
- package/dist/src/viem/Converter.js +0 -47
- package/dist/src/viem/Converter.js.map +0 -1
- package/dist/src/viem/index.js +0 -3
- package/dist/src/viem/index.js.map +0 -1
- package/dist/src/wallet/FunWallet.js +0 -804
- package/dist/src/wallet/FunWallet.js.map +0 -1
- package/dist/src/wallet/index.js +0 -3
- package/dist/src/wallet/index.js.map +0 -1
- package/dist/src/wallet/types.js +0 -2
- package/dist/src/wallet/types.js.map +0 -1
|
@@ -1,558 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "GaslessPaymaster",
|
|
3
|
-
"abi": [
|
|
4
|
-
{
|
|
5
|
-
"inputs": [
|
|
6
|
-
{
|
|
7
|
-
"internalType": "contractIEntryPoint",
|
|
8
|
-
"name": "_entryPoint",
|
|
9
|
-
"type": "address"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"stateMutability": "nonpayable",
|
|
13
|
-
"type": "constructor"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"anonymous": false,
|
|
17
|
-
"inputs": [
|
|
18
|
-
{
|
|
19
|
-
"indexed": true,
|
|
20
|
-
"internalType": "address",
|
|
21
|
-
"name": "sponsor",
|
|
22
|
-
"type": "address"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"indexed": false,
|
|
26
|
-
"internalType": "uint256",
|
|
27
|
-
"name": "amount",
|
|
28
|
-
"type": "uint256"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"name": "AddDepositTo",
|
|
32
|
-
"type": "event"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"anonymous": false,
|
|
36
|
-
"inputs": [
|
|
37
|
-
{
|
|
38
|
-
"indexed": false,
|
|
39
|
-
"internalType": "bytes[]",
|
|
40
|
-
"name": "data",
|
|
41
|
-
"type": "bytes[]"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"name": "BatchActions",
|
|
45
|
-
"type": "event"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"anonymous": false,
|
|
49
|
-
"inputs": [
|
|
50
|
-
{
|
|
51
|
-
"indexed": true,
|
|
52
|
-
"internalType": "address",
|
|
53
|
-
"name": "locker",
|
|
54
|
-
"type": "address"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"name": "LockDeposit",
|
|
58
|
-
"type": "event"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"anonymous": false,
|
|
62
|
-
"inputs": [
|
|
63
|
-
{
|
|
64
|
-
"indexed": true,
|
|
65
|
-
"internalType": "address",
|
|
66
|
-
"name": "previousOwner",
|
|
67
|
-
"type": "address"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"indexed": true,
|
|
71
|
-
"internalType": "address",
|
|
72
|
-
"name": "newOwner",
|
|
73
|
-
"type": "address"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"name": "OwnershipTransferStarted",
|
|
77
|
-
"type": "event"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"anonymous": false,
|
|
81
|
-
"inputs": [
|
|
82
|
-
{
|
|
83
|
-
"indexed": true,
|
|
84
|
-
"internalType": "address",
|
|
85
|
-
"name": "previousOwner",
|
|
86
|
-
"type": "address"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"indexed": true,
|
|
90
|
-
"internalType": "address",
|
|
91
|
-
"name": "newOwner",
|
|
92
|
-
"type": "address"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"name": "OwnershipTransferred",
|
|
96
|
-
"type": "event"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"anonymous": false,
|
|
100
|
-
"inputs": [
|
|
101
|
-
{
|
|
102
|
-
"indexed": false,
|
|
103
|
-
"internalType": "contractIEntryPoint",
|
|
104
|
-
"name": "entryPoint",
|
|
105
|
-
"type": "address"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
"name": "PaymasterCreated",
|
|
109
|
-
"type": "event"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"anonymous": false,
|
|
113
|
-
"inputs": [
|
|
114
|
-
{
|
|
115
|
-
"indexed": true,
|
|
116
|
-
"internalType": "bytes32",
|
|
117
|
-
"name": "opHash",
|
|
118
|
-
"type": "bytes32"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"indexed": true,
|
|
122
|
-
"internalType": "address",
|
|
123
|
-
"name": "spender",
|
|
124
|
-
"type": "address"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"indexed": true,
|
|
128
|
-
"internalType": "address",
|
|
129
|
-
"name": "sponsor",
|
|
130
|
-
"type": "address"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"indexed": false,
|
|
134
|
-
"internalType": "uint256",
|
|
135
|
-
"name": "sponsorCost",
|
|
136
|
-
"type": "uint256"
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"name": "PostOpGasPaid",
|
|
140
|
-
"type": "event"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"anonymous": false,
|
|
144
|
-
"inputs": [
|
|
145
|
-
{
|
|
146
|
-
"indexed": true,
|
|
147
|
-
"internalType": "address",
|
|
148
|
-
"name": "sponsor",
|
|
149
|
-
"type": "address"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"indexed": false,
|
|
153
|
-
"internalType": "bool",
|
|
154
|
-
"name": "mode",
|
|
155
|
-
"type": "bool"
|
|
156
|
-
}
|
|
157
|
-
],
|
|
158
|
-
"name": "SetListMode",
|
|
159
|
-
"type": "event"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"anonymous": false,
|
|
163
|
-
"inputs": [
|
|
164
|
-
{
|
|
165
|
-
"indexed": true,
|
|
166
|
-
"internalType": "address",
|
|
167
|
-
"name": "sponsor",
|
|
168
|
-
"type": "address"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"indexed": true,
|
|
172
|
-
"internalType": "address",
|
|
173
|
-
"name": "spender",
|
|
174
|
-
"type": "address"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"indexed": false,
|
|
178
|
-
"internalType": "bool",
|
|
179
|
-
"name": "mode",
|
|
180
|
-
"type": "bool"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
"name": "SetSpenderBlacklistMode",
|
|
184
|
-
"type": "event"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"anonymous": false,
|
|
188
|
-
"inputs": [
|
|
189
|
-
{
|
|
190
|
-
"indexed": true,
|
|
191
|
-
"internalType": "address",
|
|
192
|
-
"name": "sponsor",
|
|
193
|
-
"type": "address"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"indexed": true,
|
|
197
|
-
"internalType": "address",
|
|
198
|
-
"name": "spender",
|
|
199
|
-
"type": "address"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"indexed": false,
|
|
203
|
-
"internalType": "bool",
|
|
204
|
-
"name": "mode",
|
|
205
|
-
"type": "bool"
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"name": "SetSpenderWhitelistMode",
|
|
209
|
-
"type": "event"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"anonymous": false,
|
|
213
|
-
"inputs": [
|
|
214
|
-
{
|
|
215
|
-
"indexed": true,
|
|
216
|
-
"internalType": "address",
|
|
217
|
-
"name": "locker",
|
|
218
|
-
"type": "address"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"indexed": false,
|
|
222
|
-
"internalType": "uint256",
|
|
223
|
-
"name": "unlockBlockNum",
|
|
224
|
-
"type": "uint256"
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
"name": "UnlockDepositAfter",
|
|
228
|
-
"type": "event"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"anonymous": false,
|
|
232
|
-
"inputs": [
|
|
233
|
-
{
|
|
234
|
-
"indexed": true,
|
|
235
|
-
"internalType": "address",
|
|
236
|
-
"name": "sponsor",
|
|
237
|
-
"type": "address"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"indexed": true,
|
|
241
|
-
"internalType": "address",
|
|
242
|
-
"name": "target",
|
|
243
|
-
"type": "address"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"indexed": false,
|
|
247
|
-
"internalType": "uint256",
|
|
248
|
-
"name": "amount",
|
|
249
|
-
"type": "uint256"
|
|
250
|
-
}
|
|
251
|
-
],
|
|
252
|
-
"name": "WithdrawDepositTo",
|
|
253
|
-
"type": "event"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"inputs": [],
|
|
257
|
-
"name": "COST_OF_POST",
|
|
258
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
259
|
-
"stateMutability": "view",
|
|
260
|
-
"type": "function"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"inputs": [],
|
|
264
|
-
"name": "VERSION",
|
|
265
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
266
|
-
"stateMutability": "view",
|
|
267
|
-
"type": "function"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"inputs": [],
|
|
271
|
-
"name": "acceptOwnership",
|
|
272
|
-
"outputs": [],
|
|
273
|
-
"stateMutability": "nonpayable",
|
|
274
|
-
"type": "function"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"inputs": [
|
|
278
|
-
{ "internalType": "address", "name": "sponsor", "type": "address" },
|
|
279
|
-
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
280
|
-
],
|
|
281
|
-
"name": "addDepositTo",
|
|
282
|
-
"outputs": [],
|
|
283
|
-
"stateMutability": "payable",
|
|
284
|
-
"type": "function"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"inputs": [
|
|
288
|
-
{
|
|
289
|
-
"internalType": "uint32",
|
|
290
|
-
"name": "unstakeDelaySec",
|
|
291
|
-
"type": "uint32"
|
|
292
|
-
}
|
|
293
|
-
],
|
|
294
|
-
"name": "addStakeToEntryPoint",
|
|
295
|
-
"outputs": [],
|
|
296
|
-
"stateMutability": "payable",
|
|
297
|
-
"type": "function"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"inputs": [
|
|
301
|
-
{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }
|
|
302
|
-
],
|
|
303
|
-
"name": "batchActions",
|
|
304
|
-
"outputs": [],
|
|
305
|
-
"stateMutability": "payable",
|
|
306
|
-
"type": "function"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"inputs": [],
|
|
310
|
-
"name": "entryPoint",
|
|
311
|
-
"outputs": [
|
|
312
|
-
{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }
|
|
313
|
-
],
|
|
314
|
-
"stateMutability": "view",
|
|
315
|
-
"type": "function"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"inputs": [
|
|
319
|
-
{ "internalType": "address", "name": "sponsor", "type": "address" }
|
|
320
|
-
],
|
|
321
|
-
"name": "getBalance",
|
|
322
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
323
|
-
"stateMutability": "view",
|
|
324
|
-
"type": "function"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"inputs": [
|
|
328
|
-
{ "internalType": "address", "name": "spender", "type": "address" }
|
|
329
|
-
],
|
|
330
|
-
"name": "getListMode",
|
|
331
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
332
|
-
"stateMutability": "view",
|
|
333
|
-
"type": "function"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"inputs": [
|
|
337
|
-
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
338
|
-
{ "internalType": "address", "name": "sponsor", "type": "address" }
|
|
339
|
-
],
|
|
340
|
-
"name": "getSpenderBlacklistMode",
|
|
341
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
342
|
-
"stateMutability": "view",
|
|
343
|
-
"type": "function"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"inputs": [
|
|
347
|
-
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
348
|
-
{ "internalType": "address", "name": "sponsor", "type": "address" }
|
|
349
|
-
],
|
|
350
|
-
"name": "getSpenderWhitelistMode",
|
|
351
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
352
|
-
"stateMutability": "view",
|
|
353
|
-
"type": "function"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"inputs": [
|
|
357
|
-
{ "internalType": "address", "name": "spender", "type": "address" }
|
|
358
|
-
],
|
|
359
|
-
"name": "getUnlockBlock",
|
|
360
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
361
|
-
"stateMutability": "view",
|
|
362
|
-
"type": "function"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"inputs": [],
|
|
366
|
-
"name": "lockDeposit",
|
|
367
|
-
"outputs": [],
|
|
368
|
-
"stateMutability": "payable",
|
|
369
|
-
"type": "function"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"inputs": [],
|
|
373
|
-
"name": "owner",
|
|
374
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
375
|
-
"stateMutability": "view",
|
|
376
|
-
"type": "function"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"inputs": [],
|
|
380
|
-
"name": "pendingOwner",
|
|
381
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
382
|
-
"stateMutability": "view",
|
|
383
|
-
"type": "function"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"inputs": [
|
|
387
|
-
{
|
|
388
|
-
"internalType": "enumIPaymaster.PostOpMode",
|
|
389
|
-
"name": "mode",
|
|
390
|
-
"type": "uint8"
|
|
391
|
-
},
|
|
392
|
-
{ "internalType": "bytes", "name": "context", "type": "bytes" },
|
|
393
|
-
{
|
|
394
|
-
"internalType": "uint256",
|
|
395
|
-
"name": "actualGasCost",
|
|
396
|
-
"type": "uint256"
|
|
397
|
-
}
|
|
398
|
-
],
|
|
399
|
-
"name": "postOp",
|
|
400
|
-
"outputs": [],
|
|
401
|
-
"stateMutability": "nonpayable",
|
|
402
|
-
"type": "function"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"inputs": [],
|
|
406
|
-
"name": "renounceOwnership",
|
|
407
|
-
"outputs": [],
|
|
408
|
-
"stateMutability": "nonpayable",
|
|
409
|
-
"type": "function"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],
|
|
413
|
-
"name": "setListMode",
|
|
414
|
-
"outputs": [],
|
|
415
|
-
"stateMutability": "payable",
|
|
416
|
-
"type": "function"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"inputs": [
|
|
420
|
-
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
421
|
-
{ "internalType": "bool", "name": "mode", "type": "bool" }
|
|
422
|
-
],
|
|
423
|
-
"name": "setSpenderBlacklistMode",
|
|
424
|
-
"outputs": [],
|
|
425
|
-
"stateMutability": "payable",
|
|
426
|
-
"type": "function"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
"inputs": [
|
|
430
|
-
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
431
|
-
{ "internalType": "bool", "name": "mode", "type": "bool" }
|
|
432
|
-
],
|
|
433
|
-
"name": "setSpenderWhitelistMode",
|
|
434
|
-
"outputs": [],
|
|
435
|
-
"stateMutability": "payable",
|
|
436
|
-
"type": "function"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"inputs": [
|
|
440
|
-
{ "internalType": "address", "name": "newOwner", "type": "address" }
|
|
441
|
-
],
|
|
442
|
-
"name": "transferOwnership",
|
|
443
|
-
"outputs": [],
|
|
444
|
-
"stateMutability": "nonpayable",
|
|
445
|
-
"type": "function"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"inputs": [
|
|
449
|
-
{ "internalType": "uint256", "name": "num", "type": "uint256" }
|
|
450
|
-
],
|
|
451
|
-
"name": "unlockDepositAfter",
|
|
452
|
-
"outputs": [],
|
|
453
|
-
"stateMutability": "payable",
|
|
454
|
-
"type": "function"
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
"inputs": [],
|
|
458
|
-
"name": "unlockStakeFromEntryPoint",
|
|
459
|
-
"outputs": [],
|
|
460
|
-
"stateMutability": "nonpayable",
|
|
461
|
-
"type": "function"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"inputs": [
|
|
465
|
-
{
|
|
466
|
-
"components": [
|
|
467
|
-
{ "internalType": "address", "name": "sender", "type": "address" },
|
|
468
|
-
{ "internalType": "uint256", "name": "nonce", "type": "uint256" },
|
|
469
|
-
{ "internalType": "bytes", "name": "initCode", "type": "bytes" },
|
|
470
|
-
{ "internalType": "bytes", "name": "callData", "type": "bytes" },
|
|
471
|
-
{
|
|
472
|
-
"internalType": "uint256",
|
|
473
|
-
"name": "callGasLimit",
|
|
474
|
-
"type": "uint256"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"internalType": "uint256",
|
|
478
|
-
"name": "verificationGasLimit",
|
|
479
|
-
"type": "uint256"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"internalType": "uint256",
|
|
483
|
-
"name": "preVerificationGas",
|
|
484
|
-
"type": "uint256"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"internalType": "uint256",
|
|
488
|
-
"name": "maxFeePerGas",
|
|
489
|
-
"type": "uint256"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"internalType": "uint256",
|
|
493
|
-
"name": "maxPriorityFeePerGas",
|
|
494
|
-
"type": "uint256"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"internalType": "bytes",
|
|
498
|
-
"name": "paymasterAndData",
|
|
499
|
-
"type": "bytes"
|
|
500
|
-
},
|
|
501
|
-
{ "internalType": "bytes", "name": "signature", "type": "bytes" }
|
|
502
|
-
],
|
|
503
|
-
"internalType": "structUserOperation",
|
|
504
|
-
"name": "userOp",
|
|
505
|
-
"type": "tuple"
|
|
506
|
-
},
|
|
507
|
-
{ "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
|
|
508
|
-
{ "internalType": "uint256", "name": "maxCost", "type": "uint256" }
|
|
509
|
-
],
|
|
510
|
-
"name": "validatePaymasterUserOp",
|
|
511
|
-
"outputs": [
|
|
512
|
-
{ "internalType": "bytes", "name": "context", "type": "bytes" },
|
|
513
|
-
{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }
|
|
514
|
-
],
|
|
515
|
-
"stateMutability": "nonpayable",
|
|
516
|
-
"type": "function"
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"inputs": [
|
|
520
|
-
{
|
|
521
|
-
"internalType": "addresspayable",
|
|
522
|
-
"name": "target",
|
|
523
|
-
"type": "address"
|
|
524
|
-
},
|
|
525
|
-
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
526
|
-
],
|
|
527
|
-
"name": "withdrawDepositTo",
|
|
528
|
-
"outputs": [],
|
|
529
|
-
"stateMutability": "payable",
|
|
530
|
-
"type": "function"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"inputs": [
|
|
534
|
-
{
|
|
535
|
-
"internalType": "addresspayable",
|
|
536
|
-
"name": "withdrawAddress",
|
|
537
|
-
"type": "address"
|
|
538
|
-
}
|
|
539
|
-
],
|
|
540
|
-
"name": "withdrawStakeFromEntryPoint",
|
|
541
|
-
"outputs": [],
|
|
542
|
-
"stateMutability": "nonpayable",
|
|
543
|
-
"type": "function"
|
|
544
|
-
}
|
|
545
|
-
],
|
|
546
|
-
"addresses": {
|
|
547
|
-
"1": "0x670E428B165350c77AC7523854995486C1796ae3",
|
|
548
|
-
"5": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5",
|
|
549
|
-
"10": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5",
|
|
550
|
-
"137": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5",
|
|
551
|
-
"8453": "0x70795B38d1d077DA1c255f4d004Df657aEc98915",
|
|
552
|
-
"36865": "0x670E428B165350c77AC7523854995486C1796ae3",
|
|
553
|
-
"42161": "0xA0B0c6590f43951d4112092640eFb702d7b15FDD",
|
|
554
|
-
"421614": "0x3C42EfF85d0DB160c339E8c6Df78C7a4a0A6AC51",
|
|
555
|
-
"5000": "0xEe628ba7185D54dDcF66D85cad375DC661BEd67B",
|
|
556
|
-
"534352": "0xC695a41a8E1B2D396B0Ad93a88DeD975e8dBAcC8"
|
|
557
|
-
}
|
|
558
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "abi": [{ "inputs": [{ "internalType": "address", "name": "_wstETH", "type": "address" }, { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AdminZeroAddress", "type": "error" }, { "inputs": [], "name": "ApprovalToOwner", "type": "error" }, { "inputs": [], "name": "ApproveToCaller", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "_firstArrayLength", "type": "uint256" }, { "internalType": "uint256", "name": "_secondArrayLength", "type": "uint256" }], "name": "ArraysLengthMismatch", "type": "error" }, { "inputs": [], "name": "BatchesAreNotSorted", "type": "error" }, { "inputs": [], "name": "CantSendValueRecipientMayHaveReverted", "type": "error" }, { "inputs": [], "name": "EmptyBatches", "type": "error" }, { "inputs": [], "name": "InvalidContractVersionIncrement", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "_hint", "type": "uint256" }], "name": "InvalidHint", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "InvalidOwnerAddress", "type": "error" }, { "inputs": [], "name": "InvalidReportTimestamp", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "InvalidRequestId", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "startId", "type": "uint256" }, { "internalType": "uint256", "name": "endId", "type": "uint256" }], "name": "InvalidRequestIdRange", "type": "error" }, { "inputs": [], "name": "InvalidState", "type": "error" }, { "inputs": [], "name": "NonZeroContractVersionOnInit", "type": "error" }, { "inputs": [], "name": "NotEnoughEther", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "_sender", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }], "name": "NotOwner", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "sender", "type": "address" }], "name": "NotOwnerOrApproved", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "sender", "type": "address" }], "name": "NotOwnerOrApprovedForAll", "type": "error" }, { "inputs": [], "name": "PauseUntilMustBeInFuture", "type": "error" }, { "inputs": [], "name": "PausedExpected", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "RequestAlreadyClaimed", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "_amountOfStETH", "type": "uint256" }], "name": "RequestAmountTooLarge", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "_amountOfStETH", "type": "uint256" }], "name": "RequestAmountTooSmall", "type": "error" }, { "inputs": [], "name": "RequestIdsNotSorted", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "RequestNotFoundOrNotFinalized", "type": "error" }, { "inputs": [], "name": "ResumedExpected", "type": "error" }, { "inputs": [{ "internalType": "string", "name": "str", "type": "string" }], "name": "StringTooLong", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "sent", "type": "uint256" }, { "internalType": "uint256", "name": "maxExpected", "type": "uint256" }], "name": "TooMuchEtherToFinalize", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "realOwner", "type": "address" }], "name": "TransferFromIncorrectOwner", "type": "error" }, { "inputs": [], "name": "TransferFromZeroAddress", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "TransferToNonIERC721Receiver", "type": "error" }, { "inputs": [], "name": "TransferToThemselves", "type": "error" }, { "inputs": [], "name": "TransferToZeroAddress", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "expected", "type": "uint256" }, { "internalType": "uint256", "name": "received", "type": "uint256" }], "name": "UnexpectedContractVersion", "type": "error" }, { "inputs": [], "name": "ZeroAmountOfETH", "type": "error" }, { "inputs": [], "name": "ZeroMetadata", "type": "error" }, { "inputs": [], "name": "ZeroPauseDuration", "type": "error" }, { "inputs": [], "name": "ZeroRecipient", "type": "error" }, { "inputs": [], "name": "ZeroShareRate", "type": "error" }, { "inputs": [], "name": "ZeroTimestamp", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" }], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "string", "name": "baseURI", "type": "string" }], "name": "BaseURISet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_fromTokenId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_toTokenId", "type": "uint256" }], "name": "BatchMetadataUpdate", "type": "event" }, { "anonymous": false, "inputs": [], "name": "BunkerModeDisabled", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_sinceTimestamp", "type": "uint256" }], "name": "BunkerModeEnabled", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "version", "type": "uint256" }], "name": "ContractVersionSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "_admin", "type": "address" }], "name": "InitializedV1", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "_tokenId", "type": "uint256" }], "name": "MetadataUpdate", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "nftDescriptorAddress", "type": "address" }], "name": "NftDescriptorAddressSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "duration", "type": "uint256" }], "name": "Paused", "type": "event" }, { "anonymous": false, "inputs": [], "name": "Resumed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" }], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }], "name": "RoleRevoked", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountOfETH", "type": "uint256" }], "name": "WithdrawalClaimed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "requestor", "type": "address" }, { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountOfStETH", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountOfShares", "type": "uint256" }], "name": "WithdrawalRequested", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "from", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "to", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountOfETHLocked", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sharesToBurn", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" }], "name": "WithdrawalsFinalized", "type": "event" }, { "inputs": [], "name": "BUNKER_MODE_DISABLED_TIMESTAMP", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "FINALIZE_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MANAGE_TOKEN_URI_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_BATCHES_LENGTH", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_STETH_WITHDRAWAL_AMOUNT", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MIN_STETH_WITHDRAWAL_AMOUNT", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ORACLE_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PAUSE_INFINITELY", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PAUSE_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "RESUME_ROLE", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "STETH", "outputs": [{ "internalType": "contractIStETH", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WSTETH", "outputs": [{ "internalType": "contractIWstETH", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "bunkerModeSinceTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_maxShareRate", "type": "uint256" }, { "internalType": "uint256", "name": "_maxTimestamp", "type": "uint256" }, { "internalType": "uint256", "name": "_maxRequestsPerCall", "type": "uint256" }, { "components": [{ "internalType": "uint256", "name": "remainingEthBudget", "type": "uint256" }, { "internalType": "bool", "name": "finished", "type": "bool" }, { "internalType": "uint256[36]", "name": "batches", "type": "uint256[36]" }, { "internalType": "uint256", "name": "batchesLength", "type": "uint256" }], "internalType": "structWithdrawalQueueBase.BatchesCalculationState", "name": "_state", "type": "tuple" }], "name": "calculateFinalizationBatches", "outputs": [{ "components": [{ "internalType": "uint256", "name": "remainingEthBudget", "type": "uint256" }, { "internalType": "bool", "name": "finished", "type": "bool" }, { "internalType": "uint256[36]", "name": "batches", "type": "uint256[36]" }, { "internalType": "uint256", "name": "batchesLength", "type": "uint256" }], "internalType": "structWithdrawalQueueBase.BatchesCalculationState", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "claimWithdrawal", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_requestIds", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "_hints", "type": "uint256[]" }], "name": "claimWithdrawals", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_requestIds", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "_hints", "type": "uint256[]" }, { "internalType": "address", "name": "_recipient", "type": "address" }], "name": "claimWithdrawalsTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_lastRequestIdToBeFinalized", "type": "uint256" }, { "internalType": "uint256", "name": "_maxShareRate", "type": "uint256" }], "name": "finalize", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_requestIds", "type": "uint256[]" }, { "internalType": "uint256", "name": "_firstIndex", "type": "uint256" }, { "internalType": "uint256", "name": "_lastIndex", "type": "uint256" }], "name": "findCheckpointHints", "outputs": [{ "internalType": "uint256[]", "name": "hintIds", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "getApproved", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getBaseURI", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_requestIds", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "_hints", "type": "uint256[]" }], "name": "getClaimableEther", "outputs": [{ "internalType": "uint256[]", "name": "claimableEthValues", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getContractVersion", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLastCheckpointIndex", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLastFinalizedRequestId", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLastRequestId", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLockedEtherAmount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getNFTDescriptorAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getResumeSinceTimestamp", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }], "name": "getRoleAdmin", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "uint256", "name": "index", "type": "uint256" }], "name": "getRoleMember", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }], "name": "getRoleMemberCount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }], "name": "getWithdrawalRequests", "outputs": [{ "internalType": "uint256[]", "name": "requestsIds", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_requestIds", "type": "uint256[]" }], "name": "getWithdrawalStatus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "amountOfStETH", "type": "uint256" }, { "internalType": "uint256", "name": "amountOfShares", "type": "uint256" }, { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "bool", "name": "isFinalized", "type": "bool" }, { "internalType": "bool", "name": "isClaimed", "type": "bool" }], "internalType": "structWithdrawalQueueBase.WithdrawalRequestStatus[]", "name": "statuses", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" }], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" }], "name": "hasRole", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_admin", "type": "address" }], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_operator", "type": "address" }], "name": "isApprovedForAll", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isBunkerModeActive", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_isBunkerModeNow", "type": "bool" }, { "internalType": "uint256", "name": "_bunkerStartTimestamp", "type": "uint256" }, { "internalType": "uint256", "name": "_currentReportTimestamp", "type": "uint256" }], "name": "onOracleReport", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "ownerOf", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_duration", "type": "uint256" }], "name": "pauseFor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_pauseUntilInclusive", "type": "uint256" }], "name": "pauseUntil", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_batches", "type": "uint256[]" }, { "internalType": "uint256", "name": "_maxShareRate", "type": "uint256" }], "name": "prefinalize", "outputs": [{ "internalType": "uint256", "name": "ethToLock", "type": "uint256" }, { "internalType": "uint256", "name": "sharesToBurn", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" }], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, { "internalType": "address", "name": "_owner", "type": "address" }], "name": "requestWithdrawals", "outputs": [{ "internalType": "uint256[]", "name": "requestIds", "type": "uint256[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, { "internalType": "address", "name": "_owner", "type": "address" }, { "components": [{ "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "internalType": "structWithdrawalQueue.PermitInput", "name": "_permit", "type": "tuple" }], "name": "requestWithdrawalsWithPermit", "outputs": [{ "internalType": "uint256[]", "name": "requestIds", "type": "uint256[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, { "internalType": "address", "name": "_owner", "type": "address" }], "name": "requestWithdrawalsWstETH", "outputs": [{ "internalType": "uint256[]", "name": "requestIds", "type": "uint256[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, { "internalType": "address", "name": "_owner", "type": "address" }, { "components": [{ "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "internalType": "structWithdrawalQueue.PermitInput", "name": "_permit", "type": "tuple" }], "name": "requestWithdrawalsWstETHWithPermit", "outputs": [{ "internalType": "uint256[]", "name": "requestIds", "type": "uint256[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "resume", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" }], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_from", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_from", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_requestId", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" }], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_operator", "type": "address" }, { "internalType": "bool", "name": "_approved", "type": "bool" }], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "string", "name": "_baseURI", "type": "string" }], "name": "setBaseURI", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_nftDescriptorAddress", "type": "address" }], "name": "setNFTDescriptorAddress", "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": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "tokenURI", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_from", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_requestId", "type": "uint256" }], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unfinalizedRequestNumber", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "unfinalizedStETH", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }] }
|