defi-state-querier 0.4.25__py3-none-any.whl → 0.4.27__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- defi_services/__init__.py +1 -1
- defi_services/abis/vault/lido/__init__.py +0 -0
- defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
- defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
- defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
- defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
- defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
- defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
- defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
- defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
- defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
- defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
- defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
- defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
- defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
- defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
- defi_services/abis/vault/lido/lido_burner.py +698 -0
- defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
- defi_services/abis/vault/lido/lido_dao.py +623 -0
- defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
- defi_services/abis/vault/lido/lido_dao_token.py +590 -0
- defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
- defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
- defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
- defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
- defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
- defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
- defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
- defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
- defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_locator.py +357 -0
- defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
- defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
- defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
- defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
- defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
- defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
- defi_services/abis/vault/lido/lido_steth.py +1604 -0
- defi_services/abis/vault/lido/lido_stonks.py +744 -0
- defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
- defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
- defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
- defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
- defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
- defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
- defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
- defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
- defi_services/abis/vault/lido/lido_wsteth.py +481 -0
- defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
- defi_services/jobs/processors/multi_state_processor.py +2 -2
- defi_services/jobs/processors/state_processor.py +2 -2
- defi_services/jobs/queriers/state_querier.py +4 -4
- defi_services/services/dex/pancakeswap_service.py +1 -1
- defi_services/services/dex/pancakeswap_v2_service.py +1 -1
- defi_services/services/dex/uniswap_v2_service.py +1 -1
- defi_services/services/dex/uniswap_v3_service.py +2 -2
- defi_services/services/lending/aave_v2_services.py +2 -2
- defi_services/services/lending/aave_v3_services.py +4 -4
- defi_services/services/lending/apeswap_services.py +3 -3
- defi_services/services/lending/compound_service.py +3 -3
- defi_services/services/lending/compound_v3_services.py +1 -1
- defi_services/services/lending/flux_services.py +3 -3
- defi_services/services/lending/granary_services.py +1 -1
- defi_services/services/lending/iron_bank_service.py +4 -4
- defi_services/services/lending/justlend_service.py +3 -3
- defi_services/services/lending/liqee_service.py +3 -3
- defi_services/services/lending/morpho_aave_v2_services.py +2 -2
- defi_services/services/lending/morpho_aave_v3_services.py +2 -2
- defi_services/services/lending/morpho_compound_services.py +5 -5
- defi_services/services/lending/onyx_service.py +4 -4
- defi_services/services/lending/silo_services.py +3 -3
- defi_services/services/lending/strike_service.py +3 -3
- defi_services/services/lending/trava_services.py +2 -2
- defi_services/services/lending/uwu_services.py +2 -2
- defi_services/services/lending/valas_services.py +1 -1
- defi_services/services/lending/venus_services.py +7 -7
- defi_services/services/lending/wepiggy_services.py +4 -4
- defi_services/services/token_services.py +1 -1
- defi_services/utils/convert_address.py +2 -2
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/METADATA +1 -1
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +95 -36
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.4.25.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1308 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_1INCH_STETH_DAI_POOL_ABI = json.loads('''
|
4
|
+
[
|
5
|
+
{
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"internalType": "contract IERC20",
|
9
|
+
"name": "_token0",
|
10
|
+
"type": "address"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"internalType": "contract IERC20",
|
14
|
+
"name": "_token1",
|
15
|
+
"type": "address"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"internalType": "string",
|
19
|
+
"name": "name",
|
20
|
+
"type": "string"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"internalType": "string",
|
24
|
+
"name": "symbol",
|
25
|
+
"type": "string"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"internalType": "contract IMooniswapFactoryGovernance",
|
29
|
+
"name": "_mooniswapFactoryGovernance",
|
30
|
+
"type": "address"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"stateMutability": "nonpayable",
|
34
|
+
"type": "constructor"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"anonymous": false,
|
38
|
+
"inputs": [
|
39
|
+
{
|
40
|
+
"indexed": true,
|
41
|
+
"internalType": "address",
|
42
|
+
"name": "owner",
|
43
|
+
"type": "address"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"indexed": true,
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "spender",
|
49
|
+
"type": "address"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"indexed": false,
|
53
|
+
"internalType": "uint256",
|
54
|
+
"name": "value",
|
55
|
+
"type": "uint256"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"name": "Approval",
|
59
|
+
"type": "event"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"anonymous": false,
|
63
|
+
"inputs": [
|
64
|
+
{
|
65
|
+
"indexed": true,
|
66
|
+
"internalType": "address",
|
67
|
+
"name": "user",
|
68
|
+
"type": "address"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"indexed": false,
|
72
|
+
"internalType": "uint256",
|
73
|
+
"name": "decayPeriod",
|
74
|
+
"type": "uint256"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"indexed": false,
|
78
|
+
"internalType": "bool",
|
79
|
+
"name": "isDefault",
|
80
|
+
"type": "bool"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"indexed": false,
|
84
|
+
"internalType": "uint256",
|
85
|
+
"name": "amount",
|
86
|
+
"type": "uint256"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "DecayPeriodVoteUpdate",
|
90
|
+
"type": "event"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"anonymous": false,
|
94
|
+
"inputs": [
|
95
|
+
{
|
96
|
+
"indexed": true,
|
97
|
+
"internalType": "address",
|
98
|
+
"name": "sender",
|
99
|
+
"type": "address"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"indexed": true,
|
103
|
+
"internalType": "address",
|
104
|
+
"name": "receiver",
|
105
|
+
"type": "address"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"indexed": false,
|
109
|
+
"internalType": "uint256",
|
110
|
+
"name": "share",
|
111
|
+
"type": "uint256"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"indexed": false,
|
115
|
+
"internalType": "uint256",
|
116
|
+
"name": "token0Amount",
|
117
|
+
"type": "uint256"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"indexed": false,
|
121
|
+
"internalType": "uint256",
|
122
|
+
"name": "token1Amount",
|
123
|
+
"type": "uint256"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "Deposited",
|
127
|
+
"type": "event"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"anonymous": false,
|
131
|
+
"inputs": [
|
132
|
+
{
|
133
|
+
"indexed": false,
|
134
|
+
"internalType": "string",
|
135
|
+
"name": "reason",
|
136
|
+
"type": "string"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "Error",
|
140
|
+
"type": "event"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"anonymous": false,
|
144
|
+
"inputs": [
|
145
|
+
{
|
146
|
+
"indexed": true,
|
147
|
+
"internalType": "address",
|
148
|
+
"name": "user",
|
149
|
+
"type": "address"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"indexed": false,
|
153
|
+
"internalType": "uint256",
|
154
|
+
"name": "fee",
|
155
|
+
"type": "uint256"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"indexed": false,
|
159
|
+
"internalType": "bool",
|
160
|
+
"name": "isDefault",
|
161
|
+
"type": "bool"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"indexed": false,
|
165
|
+
"internalType": "uint256",
|
166
|
+
"name": "amount",
|
167
|
+
"type": "uint256"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"name": "FeeVoteUpdate",
|
171
|
+
"type": "event"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"anonymous": false,
|
175
|
+
"inputs": [
|
176
|
+
{
|
177
|
+
"indexed": true,
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "previousOwner",
|
180
|
+
"type": "address"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"indexed": true,
|
184
|
+
"internalType": "address",
|
185
|
+
"name": "newOwner",
|
186
|
+
"type": "address"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
"name": "OwnershipTransferred",
|
190
|
+
"type": "event"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"anonymous": false,
|
194
|
+
"inputs": [
|
195
|
+
{
|
196
|
+
"indexed": true,
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "user",
|
199
|
+
"type": "address"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"indexed": false,
|
203
|
+
"internalType": "uint256",
|
204
|
+
"name": "slippageFee",
|
205
|
+
"type": "uint256"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"indexed": false,
|
209
|
+
"internalType": "bool",
|
210
|
+
"name": "isDefault",
|
211
|
+
"type": "bool"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"indexed": false,
|
215
|
+
"internalType": "uint256",
|
216
|
+
"name": "amount",
|
217
|
+
"type": "uint256"
|
218
|
+
}
|
219
|
+
],
|
220
|
+
"name": "SlippageFeeVoteUpdate",
|
221
|
+
"type": "event"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"anonymous": false,
|
225
|
+
"inputs": [
|
226
|
+
{
|
227
|
+
"indexed": true,
|
228
|
+
"internalType": "address",
|
229
|
+
"name": "sender",
|
230
|
+
"type": "address"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"indexed": true,
|
234
|
+
"internalType": "address",
|
235
|
+
"name": "receiver",
|
236
|
+
"type": "address"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"indexed": true,
|
240
|
+
"internalType": "address",
|
241
|
+
"name": "srcToken",
|
242
|
+
"type": "address"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "dstToken",
|
248
|
+
"type": "address"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"indexed": false,
|
252
|
+
"internalType": "uint256",
|
253
|
+
"name": "amount",
|
254
|
+
"type": "uint256"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"indexed": false,
|
258
|
+
"internalType": "uint256",
|
259
|
+
"name": "result",
|
260
|
+
"type": "uint256"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"indexed": false,
|
264
|
+
"internalType": "uint256",
|
265
|
+
"name": "srcAdditionBalance",
|
266
|
+
"type": "uint256"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"indexed": false,
|
270
|
+
"internalType": "uint256",
|
271
|
+
"name": "dstRemovalBalance",
|
272
|
+
"type": "uint256"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"indexed": false,
|
276
|
+
"internalType": "address",
|
277
|
+
"name": "referral",
|
278
|
+
"type": "address"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"name": "Swapped",
|
282
|
+
"type": "event"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"anonymous": false,
|
286
|
+
"inputs": [
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "uint256",
|
290
|
+
"name": "srcBalance",
|
291
|
+
"type": "uint256"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"indexed": false,
|
295
|
+
"internalType": "uint256",
|
296
|
+
"name": "dstBalance",
|
297
|
+
"type": "uint256"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"indexed": false,
|
301
|
+
"internalType": "uint256",
|
302
|
+
"name": "fee",
|
303
|
+
"type": "uint256"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"indexed": false,
|
307
|
+
"internalType": "uint256",
|
308
|
+
"name": "slippageFee",
|
309
|
+
"type": "uint256"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"indexed": false,
|
313
|
+
"internalType": "uint256",
|
314
|
+
"name": "referralShare",
|
315
|
+
"type": "uint256"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"indexed": false,
|
319
|
+
"internalType": "uint256",
|
320
|
+
"name": "governanceShare",
|
321
|
+
"type": "uint256"
|
322
|
+
}
|
323
|
+
],
|
324
|
+
"name": "Sync",
|
325
|
+
"type": "event"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"anonymous": false,
|
329
|
+
"inputs": [
|
330
|
+
{
|
331
|
+
"indexed": true,
|
332
|
+
"internalType": "address",
|
333
|
+
"name": "from",
|
334
|
+
"type": "address"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"indexed": true,
|
338
|
+
"internalType": "address",
|
339
|
+
"name": "to",
|
340
|
+
"type": "address"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"indexed": false,
|
344
|
+
"internalType": "uint256",
|
345
|
+
"name": "value",
|
346
|
+
"type": "uint256"
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"name": "Transfer",
|
350
|
+
"type": "event"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"anonymous": false,
|
354
|
+
"inputs": [
|
355
|
+
{
|
356
|
+
"indexed": true,
|
357
|
+
"internalType": "address",
|
358
|
+
"name": "sender",
|
359
|
+
"type": "address"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"indexed": true,
|
363
|
+
"internalType": "address",
|
364
|
+
"name": "receiver",
|
365
|
+
"type": "address"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"indexed": false,
|
369
|
+
"internalType": "uint256",
|
370
|
+
"name": "share",
|
371
|
+
"type": "uint256"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"indexed": false,
|
375
|
+
"internalType": "uint256",
|
376
|
+
"name": "token0Amount",
|
377
|
+
"type": "uint256"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"indexed": false,
|
381
|
+
"internalType": "uint256",
|
382
|
+
"name": "token1Amount",
|
383
|
+
"type": "uint256"
|
384
|
+
}
|
385
|
+
],
|
386
|
+
"name": "Withdrawn",
|
387
|
+
"type": "event"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"inputs": [
|
391
|
+
{
|
392
|
+
"internalType": "address",
|
393
|
+
"name": "owner",
|
394
|
+
"type": "address"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"internalType": "address",
|
398
|
+
"name": "spender",
|
399
|
+
"type": "address"
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"name": "allowance",
|
403
|
+
"outputs": [
|
404
|
+
{
|
405
|
+
"internalType": "uint256",
|
406
|
+
"name": "",
|
407
|
+
"type": "uint256"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"stateMutability": "view",
|
411
|
+
"type": "function"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"inputs": [
|
415
|
+
{
|
416
|
+
"internalType": "address",
|
417
|
+
"name": "spender",
|
418
|
+
"type": "address"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"internalType": "uint256",
|
422
|
+
"name": "amount",
|
423
|
+
"type": "uint256"
|
424
|
+
}
|
425
|
+
],
|
426
|
+
"name": "approve",
|
427
|
+
"outputs": [
|
428
|
+
{
|
429
|
+
"internalType": "bool",
|
430
|
+
"name": "",
|
431
|
+
"type": "bool"
|
432
|
+
}
|
433
|
+
],
|
434
|
+
"stateMutability": "nonpayable",
|
435
|
+
"type": "function"
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"inputs": [
|
439
|
+
{
|
440
|
+
"internalType": "address",
|
441
|
+
"name": "account",
|
442
|
+
"type": "address"
|
443
|
+
}
|
444
|
+
],
|
445
|
+
"name": "balanceOf",
|
446
|
+
"outputs": [
|
447
|
+
{
|
448
|
+
"internalType": "uint256",
|
449
|
+
"name": "",
|
450
|
+
"type": "uint256"
|
451
|
+
}
|
452
|
+
],
|
453
|
+
"stateMutability": "view",
|
454
|
+
"type": "function"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"inputs": [],
|
458
|
+
"name": "decayPeriod",
|
459
|
+
"outputs": [
|
460
|
+
{
|
461
|
+
"internalType": "uint256",
|
462
|
+
"name": "",
|
463
|
+
"type": "uint256"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"stateMutability": "view",
|
467
|
+
"type": "function"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"inputs": [
|
471
|
+
{
|
472
|
+
"internalType": "uint256",
|
473
|
+
"name": "vote",
|
474
|
+
"type": "uint256"
|
475
|
+
}
|
476
|
+
],
|
477
|
+
"name": "decayPeriodVote",
|
478
|
+
"outputs": [],
|
479
|
+
"stateMutability": "nonpayable",
|
480
|
+
"type": "function"
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"inputs": [
|
484
|
+
{
|
485
|
+
"internalType": "address",
|
486
|
+
"name": "user",
|
487
|
+
"type": "address"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"name": "decayPeriodVotes",
|
491
|
+
"outputs": [
|
492
|
+
{
|
493
|
+
"internalType": "uint256",
|
494
|
+
"name": "",
|
495
|
+
"type": "uint256"
|
496
|
+
}
|
497
|
+
],
|
498
|
+
"stateMutability": "view",
|
499
|
+
"type": "function"
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"inputs": [],
|
503
|
+
"name": "decimals",
|
504
|
+
"outputs": [
|
505
|
+
{
|
506
|
+
"internalType": "uint8",
|
507
|
+
"name": "",
|
508
|
+
"type": "uint8"
|
509
|
+
}
|
510
|
+
],
|
511
|
+
"stateMutability": "view",
|
512
|
+
"type": "function"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"inputs": [
|
516
|
+
{
|
517
|
+
"internalType": "address",
|
518
|
+
"name": "spender",
|
519
|
+
"type": "address"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "uint256",
|
523
|
+
"name": "subtractedValue",
|
524
|
+
"type": "uint256"
|
525
|
+
}
|
526
|
+
],
|
527
|
+
"name": "decreaseAllowance",
|
528
|
+
"outputs": [
|
529
|
+
{
|
530
|
+
"internalType": "bool",
|
531
|
+
"name": "",
|
532
|
+
"type": "bool"
|
533
|
+
}
|
534
|
+
],
|
535
|
+
"stateMutability": "nonpayable",
|
536
|
+
"type": "function"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"inputs": [
|
540
|
+
{
|
541
|
+
"internalType": "uint256[2]",
|
542
|
+
"name": "maxAmounts",
|
543
|
+
"type": "uint256[2]"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"internalType": "uint256[2]",
|
547
|
+
"name": "minAmounts",
|
548
|
+
"type": "uint256[2]"
|
549
|
+
}
|
550
|
+
],
|
551
|
+
"name": "deposit",
|
552
|
+
"outputs": [
|
553
|
+
{
|
554
|
+
"internalType": "uint256",
|
555
|
+
"name": "fairSupply",
|
556
|
+
"type": "uint256"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "uint256[2]",
|
560
|
+
"name": "receivedAmounts",
|
561
|
+
"type": "uint256[2]"
|
562
|
+
}
|
563
|
+
],
|
564
|
+
"stateMutability": "payable",
|
565
|
+
"type": "function"
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"inputs": [
|
569
|
+
{
|
570
|
+
"internalType": "uint256[2]",
|
571
|
+
"name": "maxAmounts",
|
572
|
+
"type": "uint256[2]"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"internalType": "uint256[2]",
|
576
|
+
"name": "minAmounts",
|
577
|
+
"type": "uint256[2]"
|
578
|
+
},
|
579
|
+
{
|
580
|
+
"internalType": "address",
|
581
|
+
"name": "target",
|
582
|
+
"type": "address"
|
583
|
+
}
|
584
|
+
],
|
585
|
+
"name": "depositFor",
|
586
|
+
"outputs": [
|
587
|
+
{
|
588
|
+
"internalType": "uint256",
|
589
|
+
"name": "fairSupply",
|
590
|
+
"type": "uint256"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"internalType": "uint256[2]",
|
594
|
+
"name": "receivedAmounts",
|
595
|
+
"type": "uint256[2]"
|
596
|
+
}
|
597
|
+
],
|
598
|
+
"stateMutability": "payable",
|
599
|
+
"type": "function"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"inputs": [],
|
603
|
+
"name": "discardDecayPeriodVote",
|
604
|
+
"outputs": [],
|
605
|
+
"stateMutability": "nonpayable",
|
606
|
+
"type": "function"
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"inputs": [],
|
610
|
+
"name": "discardFeeVote",
|
611
|
+
"outputs": [],
|
612
|
+
"stateMutability": "nonpayable",
|
613
|
+
"type": "function"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"inputs": [],
|
617
|
+
"name": "discardSlippageFeeVote",
|
618
|
+
"outputs": [],
|
619
|
+
"stateMutability": "nonpayable",
|
620
|
+
"type": "function"
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"inputs": [],
|
624
|
+
"name": "fee",
|
625
|
+
"outputs": [
|
626
|
+
{
|
627
|
+
"internalType": "uint256",
|
628
|
+
"name": "",
|
629
|
+
"type": "uint256"
|
630
|
+
}
|
631
|
+
],
|
632
|
+
"stateMutability": "view",
|
633
|
+
"type": "function"
|
634
|
+
},
|
635
|
+
{
|
636
|
+
"inputs": [
|
637
|
+
{
|
638
|
+
"internalType": "uint256",
|
639
|
+
"name": "vote",
|
640
|
+
"type": "uint256"
|
641
|
+
}
|
642
|
+
],
|
643
|
+
"name": "feeVote",
|
644
|
+
"outputs": [],
|
645
|
+
"stateMutability": "nonpayable",
|
646
|
+
"type": "function"
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"inputs": [
|
650
|
+
{
|
651
|
+
"internalType": "address",
|
652
|
+
"name": "user",
|
653
|
+
"type": "address"
|
654
|
+
}
|
655
|
+
],
|
656
|
+
"name": "feeVotes",
|
657
|
+
"outputs": [
|
658
|
+
{
|
659
|
+
"internalType": "uint256",
|
660
|
+
"name": "",
|
661
|
+
"type": "uint256"
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"stateMutability": "view",
|
665
|
+
"type": "function"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"inputs": [
|
669
|
+
{
|
670
|
+
"internalType": "contract IERC20",
|
671
|
+
"name": "token",
|
672
|
+
"type": "address"
|
673
|
+
}
|
674
|
+
],
|
675
|
+
"name": "getBalanceForAddition",
|
676
|
+
"outputs": [
|
677
|
+
{
|
678
|
+
"internalType": "uint256",
|
679
|
+
"name": "",
|
680
|
+
"type": "uint256"
|
681
|
+
}
|
682
|
+
],
|
683
|
+
"stateMutability": "view",
|
684
|
+
"type": "function"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"inputs": [
|
688
|
+
{
|
689
|
+
"internalType": "contract IERC20",
|
690
|
+
"name": "token",
|
691
|
+
"type": "address"
|
692
|
+
}
|
693
|
+
],
|
694
|
+
"name": "getBalanceForRemoval",
|
695
|
+
"outputs": [
|
696
|
+
{
|
697
|
+
"internalType": "uint256",
|
698
|
+
"name": "",
|
699
|
+
"type": "uint256"
|
700
|
+
}
|
701
|
+
],
|
702
|
+
"stateMutability": "view",
|
703
|
+
"type": "function"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"inputs": [
|
707
|
+
{
|
708
|
+
"internalType": "contract IERC20",
|
709
|
+
"name": "src",
|
710
|
+
"type": "address"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"internalType": "contract IERC20",
|
714
|
+
"name": "dst",
|
715
|
+
"type": "address"
|
716
|
+
},
|
717
|
+
{
|
718
|
+
"internalType": "uint256",
|
719
|
+
"name": "amount",
|
720
|
+
"type": "uint256"
|
721
|
+
}
|
722
|
+
],
|
723
|
+
"name": "getReturn",
|
724
|
+
"outputs": [
|
725
|
+
{
|
726
|
+
"internalType": "uint256",
|
727
|
+
"name": "",
|
728
|
+
"type": "uint256"
|
729
|
+
}
|
730
|
+
],
|
731
|
+
"stateMutability": "view",
|
732
|
+
"type": "function"
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"inputs": [],
|
736
|
+
"name": "getTokens",
|
737
|
+
"outputs": [
|
738
|
+
{
|
739
|
+
"internalType": "contract IERC20[]",
|
740
|
+
"name": "tokens",
|
741
|
+
"type": "address[]"
|
742
|
+
}
|
743
|
+
],
|
744
|
+
"stateMutability": "view",
|
745
|
+
"type": "function"
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"inputs": [
|
749
|
+
{
|
750
|
+
"internalType": "address",
|
751
|
+
"name": "spender",
|
752
|
+
"type": "address"
|
753
|
+
},
|
754
|
+
{
|
755
|
+
"internalType": "uint256",
|
756
|
+
"name": "addedValue",
|
757
|
+
"type": "uint256"
|
758
|
+
}
|
759
|
+
],
|
760
|
+
"name": "increaseAllowance",
|
761
|
+
"outputs": [
|
762
|
+
{
|
763
|
+
"internalType": "bool",
|
764
|
+
"name": "",
|
765
|
+
"type": "bool"
|
766
|
+
}
|
767
|
+
],
|
768
|
+
"stateMutability": "nonpayable",
|
769
|
+
"type": "function"
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"inputs": [],
|
773
|
+
"name": "mooniswapFactoryGovernance",
|
774
|
+
"outputs": [
|
775
|
+
{
|
776
|
+
"internalType": "contract IMooniswapFactoryGovernance",
|
777
|
+
"name": "",
|
778
|
+
"type": "address"
|
779
|
+
}
|
780
|
+
],
|
781
|
+
"stateMutability": "view",
|
782
|
+
"type": "function"
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"inputs": [],
|
786
|
+
"name": "name",
|
787
|
+
"outputs": [
|
788
|
+
{
|
789
|
+
"internalType": "string",
|
790
|
+
"name": "",
|
791
|
+
"type": "string"
|
792
|
+
}
|
793
|
+
],
|
794
|
+
"stateMutability": "view",
|
795
|
+
"type": "function"
|
796
|
+
},
|
797
|
+
{
|
798
|
+
"inputs": [],
|
799
|
+
"name": "owner",
|
800
|
+
"outputs": [
|
801
|
+
{
|
802
|
+
"internalType": "address",
|
803
|
+
"name": "",
|
804
|
+
"type": "address"
|
805
|
+
}
|
806
|
+
],
|
807
|
+
"stateMutability": "view",
|
808
|
+
"type": "function"
|
809
|
+
},
|
810
|
+
{
|
811
|
+
"inputs": [],
|
812
|
+
"name": "renounceOwnership",
|
813
|
+
"outputs": [],
|
814
|
+
"stateMutability": "nonpayable",
|
815
|
+
"type": "function"
|
816
|
+
},
|
817
|
+
{
|
818
|
+
"inputs": [
|
819
|
+
{
|
820
|
+
"internalType": "contract IERC20",
|
821
|
+
"name": "token",
|
822
|
+
"type": "address"
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"internalType": "uint256",
|
826
|
+
"name": "amount",
|
827
|
+
"type": "uint256"
|
828
|
+
}
|
829
|
+
],
|
830
|
+
"name": "rescueFunds",
|
831
|
+
"outputs": [],
|
832
|
+
"stateMutability": "nonpayable",
|
833
|
+
"type": "function"
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"inputs": [
|
837
|
+
{
|
838
|
+
"internalType": "contract IMooniswapFactoryGovernance",
|
839
|
+
"name": "newMooniswapFactoryGovernance",
|
840
|
+
"type": "address"
|
841
|
+
}
|
842
|
+
],
|
843
|
+
"name": "setMooniswapFactoryGovernance",
|
844
|
+
"outputs": [],
|
845
|
+
"stateMutability": "nonpayable",
|
846
|
+
"type": "function"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"inputs": [],
|
850
|
+
"name": "slippageFee",
|
851
|
+
"outputs": [
|
852
|
+
{
|
853
|
+
"internalType": "uint256",
|
854
|
+
"name": "",
|
855
|
+
"type": "uint256"
|
856
|
+
}
|
857
|
+
],
|
858
|
+
"stateMutability": "view",
|
859
|
+
"type": "function"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"inputs": [
|
863
|
+
{
|
864
|
+
"internalType": "uint256",
|
865
|
+
"name": "vote",
|
866
|
+
"type": "uint256"
|
867
|
+
}
|
868
|
+
],
|
869
|
+
"name": "slippageFeeVote",
|
870
|
+
"outputs": [],
|
871
|
+
"stateMutability": "nonpayable",
|
872
|
+
"type": "function"
|
873
|
+
},
|
874
|
+
{
|
875
|
+
"inputs": [
|
876
|
+
{
|
877
|
+
"internalType": "address",
|
878
|
+
"name": "user",
|
879
|
+
"type": "address"
|
880
|
+
}
|
881
|
+
],
|
882
|
+
"name": "slippageFeeVotes",
|
883
|
+
"outputs": [
|
884
|
+
{
|
885
|
+
"internalType": "uint256",
|
886
|
+
"name": "",
|
887
|
+
"type": "uint256"
|
888
|
+
}
|
889
|
+
],
|
890
|
+
"stateMutability": "view",
|
891
|
+
"type": "function"
|
892
|
+
},
|
893
|
+
{
|
894
|
+
"inputs": [
|
895
|
+
{
|
896
|
+
"internalType": "contract IERC20",
|
897
|
+
"name": "src",
|
898
|
+
"type": "address"
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"internalType": "contract IERC20",
|
902
|
+
"name": "dst",
|
903
|
+
"type": "address"
|
904
|
+
},
|
905
|
+
{
|
906
|
+
"internalType": "uint256",
|
907
|
+
"name": "amount",
|
908
|
+
"type": "uint256"
|
909
|
+
},
|
910
|
+
{
|
911
|
+
"internalType": "uint256",
|
912
|
+
"name": "minReturn",
|
913
|
+
"type": "uint256"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"internalType": "address",
|
917
|
+
"name": "referral",
|
918
|
+
"type": "address"
|
919
|
+
}
|
920
|
+
],
|
921
|
+
"name": "swap",
|
922
|
+
"outputs": [
|
923
|
+
{
|
924
|
+
"internalType": "uint256",
|
925
|
+
"name": "result",
|
926
|
+
"type": "uint256"
|
927
|
+
}
|
928
|
+
],
|
929
|
+
"stateMutability": "payable",
|
930
|
+
"type": "function"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"inputs": [
|
934
|
+
{
|
935
|
+
"internalType": "contract IERC20",
|
936
|
+
"name": "src",
|
937
|
+
"type": "address"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"internalType": "contract IERC20",
|
941
|
+
"name": "dst",
|
942
|
+
"type": "address"
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"internalType": "uint256",
|
946
|
+
"name": "amount",
|
947
|
+
"type": "uint256"
|
948
|
+
},
|
949
|
+
{
|
950
|
+
"internalType": "uint256",
|
951
|
+
"name": "minReturn",
|
952
|
+
"type": "uint256"
|
953
|
+
},
|
954
|
+
{
|
955
|
+
"internalType": "address",
|
956
|
+
"name": "referral",
|
957
|
+
"type": "address"
|
958
|
+
},
|
959
|
+
{
|
960
|
+
"internalType": "address payable",
|
961
|
+
"name": "receiver",
|
962
|
+
"type": "address"
|
963
|
+
}
|
964
|
+
],
|
965
|
+
"name": "swapFor",
|
966
|
+
"outputs": [
|
967
|
+
{
|
968
|
+
"internalType": "uint256",
|
969
|
+
"name": "result",
|
970
|
+
"type": "uint256"
|
971
|
+
}
|
972
|
+
],
|
973
|
+
"stateMutability": "payable",
|
974
|
+
"type": "function"
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"inputs": [],
|
978
|
+
"name": "symbol",
|
979
|
+
"outputs": [
|
980
|
+
{
|
981
|
+
"internalType": "string",
|
982
|
+
"name": "",
|
983
|
+
"type": "string"
|
984
|
+
}
|
985
|
+
],
|
986
|
+
"stateMutability": "view",
|
987
|
+
"type": "function"
|
988
|
+
},
|
989
|
+
{
|
990
|
+
"inputs": [],
|
991
|
+
"name": "token0",
|
992
|
+
"outputs": [
|
993
|
+
{
|
994
|
+
"internalType": "contract IERC20",
|
995
|
+
"name": "",
|
996
|
+
"type": "address"
|
997
|
+
}
|
998
|
+
],
|
999
|
+
"stateMutability": "view",
|
1000
|
+
"type": "function"
|
1001
|
+
},
|
1002
|
+
{
|
1003
|
+
"inputs": [],
|
1004
|
+
"name": "token1",
|
1005
|
+
"outputs": [
|
1006
|
+
{
|
1007
|
+
"internalType": "contract IERC20",
|
1008
|
+
"name": "",
|
1009
|
+
"type": "address"
|
1010
|
+
}
|
1011
|
+
],
|
1012
|
+
"stateMutability": "view",
|
1013
|
+
"type": "function"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"inputs": [
|
1017
|
+
{
|
1018
|
+
"internalType": "uint256",
|
1019
|
+
"name": "i",
|
1020
|
+
"type": "uint256"
|
1021
|
+
}
|
1022
|
+
],
|
1023
|
+
"name": "tokens",
|
1024
|
+
"outputs": [
|
1025
|
+
{
|
1026
|
+
"internalType": "contract IERC20",
|
1027
|
+
"name": "",
|
1028
|
+
"type": "address"
|
1029
|
+
}
|
1030
|
+
],
|
1031
|
+
"stateMutability": "view",
|
1032
|
+
"type": "function"
|
1033
|
+
},
|
1034
|
+
{
|
1035
|
+
"inputs": [],
|
1036
|
+
"name": "totalSupply",
|
1037
|
+
"outputs": [
|
1038
|
+
{
|
1039
|
+
"internalType": "uint256",
|
1040
|
+
"name": "",
|
1041
|
+
"type": "uint256"
|
1042
|
+
}
|
1043
|
+
],
|
1044
|
+
"stateMutability": "view",
|
1045
|
+
"type": "function"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"inputs": [
|
1049
|
+
{
|
1050
|
+
"internalType": "address",
|
1051
|
+
"name": "recipient",
|
1052
|
+
"type": "address"
|
1053
|
+
},
|
1054
|
+
{
|
1055
|
+
"internalType": "uint256",
|
1056
|
+
"name": "amount",
|
1057
|
+
"type": "uint256"
|
1058
|
+
}
|
1059
|
+
],
|
1060
|
+
"name": "transfer",
|
1061
|
+
"outputs": [
|
1062
|
+
{
|
1063
|
+
"internalType": "bool",
|
1064
|
+
"name": "",
|
1065
|
+
"type": "bool"
|
1066
|
+
}
|
1067
|
+
],
|
1068
|
+
"stateMutability": "nonpayable",
|
1069
|
+
"type": "function"
|
1070
|
+
},
|
1071
|
+
{
|
1072
|
+
"inputs": [
|
1073
|
+
{
|
1074
|
+
"internalType": "address",
|
1075
|
+
"name": "sender",
|
1076
|
+
"type": "address"
|
1077
|
+
},
|
1078
|
+
{
|
1079
|
+
"internalType": "address",
|
1080
|
+
"name": "recipient",
|
1081
|
+
"type": "address"
|
1082
|
+
},
|
1083
|
+
{
|
1084
|
+
"internalType": "uint256",
|
1085
|
+
"name": "amount",
|
1086
|
+
"type": "uint256"
|
1087
|
+
}
|
1088
|
+
],
|
1089
|
+
"name": "transferFrom",
|
1090
|
+
"outputs": [
|
1091
|
+
{
|
1092
|
+
"internalType": "bool",
|
1093
|
+
"name": "",
|
1094
|
+
"type": "bool"
|
1095
|
+
}
|
1096
|
+
],
|
1097
|
+
"stateMutability": "nonpayable",
|
1098
|
+
"type": "function"
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
"inputs": [
|
1102
|
+
{
|
1103
|
+
"internalType": "address",
|
1104
|
+
"name": "newOwner",
|
1105
|
+
"type": "address"
|
1106
|
+
}
|
1107
|
+
],
|
1108
|
+
"name": "transferOwnership",
|
1109
|
+
"outputs": [],
|
1110
|
+
"stateMutability": "nonpayable",
|
1111
|
+
"type": "function"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"inputs": [
|
1115
|
+
{
|
1116
|
+
"internalType": "contract IERC20",
|
1117
|
+
"name": "",
|
1118
|
+
"type": "address"
|
1119
|
+
}
|
1120
|
+
],
|
1121
|
+
"name": "virtualBalancesForAddition",
|
1122
|
+
"outputs": [
|
1123
|
+
{
|
1124
|
+
"internalType": "uint216",
|
1125
|
+
"name": "balance",
|
1126
|
+
"type": "uint216"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"internalType": "uint40",
|
1130
|
+
"name": "time",
|
1131
|
+
"type": "uint40"
|
1132
|
+
}
|
1133
|
+
],
|
1134
|
+
"stateMutability": "view",
|
1135
|
+
"type": "function"
|
1136
|
+
},
|
1137
|
+
{
|
1138
|
+
"inputs": [
|
1139
|
+
{
|
1140
|
+
"internalType": "contract IERC20",
|
1141
|
+
"name": "",
|
1142
|
+
"type": "address"
|
1143
|
+
}
|
1144
|
+
],
|
1145
|
+
"name": "virtualBalancesForRemoval",
|
1146
|
+
"outputs": [
|
1147
|
+
{
|
1148
|
+
"internalType": "uint216",
|
1149
|
+
"name": "balance",
|
1150
|
+
"type": "uint216"
|
1151
|
+
},
|
1152
|
+
{
|
1153
|
+
"internalType": "uint40",
|
1154
|
+
"name": "time",
|
1155
|
+
"type": "uint40"
|
1156
|
+
}
|
1157
|
+
],
|
1158
|
+
"stateMutability": "view",
|
1159
|
+
"type": "function"
|
1160
|
+
},
|
1161
|
+
{
|
1162
|
+
"inputs": [],
|
1163
|
+
"name": "virtualDecayPeriod",
|
1164
|
+
"outputs": [
|
1165
|
+
{
|
1166
|
+
"internalType": "uint104",
|
1167
|
+
"name": "",
|
1168
|
+
"type": "uint104"
|
1169
|
+
},
|
1170
|
+
{
|
1171
|
+
"internalType": "uint104",
|
1172
|
+
"name": "",
|
1173
|
+
"type": "uint104"
|
1174
|
+
},
|
1175
|
+
{
|
1176
|
+
"internalType": "uint48",
|
1177
|
+
"name": "",
|
1178
|
+
"type": "uint48"
|
1179
|
+
}
|
1180
|
+
],
|
1181
|
+
"stateMutability": "view",
|
1182
|
+
"type": "function"
|
1183
|
+
},
|
1184
|
+
{
|
1185
|
+
"inputs": [],
|
1186
|
+
"name": "virtualFee",
|
1187
|
+
"outputs": [
|
1188
|
+
{
|
1189
|
+
"internalType": "uint104",
|
1190
|
+
"name": "",
|
1191
|
+
"type": "uint104"
|
1192
|
+
},
|
1193
|
+
{
|
1194
|
+
"internalType": "uint104",
|
1195
|
+
"name": "",
|
1196
|
+
"type": "uint104"
|
1197
|
+
},
|
1198
|
+
{
|
1199
|
+
"internalType": "uint48",
|
1200
|
+
"name": "",
|
1201
|
+
"type": "uint48"
|
1202
|
+
}
|
1203
|
+
],
|
1204
|
+
"stateMutability": "view",
|
1205
|
+
"type": "function"
|
1206
|
+
},
|
1207
|
+
{
|
1208
|
+
"inputs": [],
|
1209
|
+
"name": "virtualSlippageFee",
|
1210
|
+
"outputs": [
|
1211
|
+
{
|
1212
|
+
"internalType": "uint104",
|
1213
|
+
"name": "",
|
1214
|
+
"type": "uint104"
|
1215
|
+
},
|
1216
|
+
{
|
1217
|
+
"internalType": "uint104",
|
1218
|
+
"name": "",
|
1219
|
+
"type": "uint104"
|
1220
|
+
},
|
1221
|
+
{
|
1222
|
+
"internalType": "uint48",
|
1223
|
+
"name": "",
|
1224
|
+
"type": "uint48"
|
1225
|
+
}
|
1226
|
+
],
|
1227
|
+
"stateMutability": "view",
|
1228
|
+
"type": "function"
|
1229
|
+
},
|
1230
|
+
{
|
1231
|
+
"inputs": [
|
1232
|
+
{
|
1233
|
+
"internalType": "contract IERC20",
|
1234
|
+
"name": "",
|
1235
|
+
"type": "address"
|
1236
|
+
}
|
1237
|
+
],
|
1238
|
+
"name": "volumes",
|
1239
|
+
"outputs": [
|
1240
|
+
{
|
1241
|
+
"internalType": "uint128",
|
1242
|
+
"name": "confirmed",
|
1243
|
+
"type": "uint128"
|
1244
|
+
},
|
1245
|
+
{
|
1246
|
+
"internalType": "uint128",
|
1247
|
+
"name": "result",
|
1248
|
+
"type": "uint128"
|
1249
|
+
}
|
1250
|
+
],
|
1251
|
+
"stateMutability": "view",
|
1252
|
+
"type": "function"
|
1253
|
+
},
|
1254
|
+
{
|
1255
|
+
"inputs": [
|
1256
|
+
{
|
1257
|
+
"internalType": "uint256",
|
1258
|
+
"name": "amount",
|
1259
|
+
"type": "uint256"
|
1260
|
+
},
|
1261
|
+
{
|
1262
|
+
"internalType": "uint256[]",
|
1263
|
+
"name": "minReturns",
|
1264
|
+
"type": "uint256[]"
|
1265
|
+
}
|
1266
|
+
],
|
1267
|
+
"name": "withdraw",
|
1268
|
+
"outputs": [
|
1269
|
+
{
|
1270
|
+
"internalType": "uint256[2]",
|
1271
|
+
"name": "withdrawnAmounts",
|
1272
|
+
"type": "uint256[2]"
|
1273
|
+
}
|
1274
|
+
],
|
1275
|
+
"stateMutability": "nonpayable",
|
1276
|
+
"type": "function"
|
1277
|
+
},
|
1278
|
+
{
|
1279
|
+
"inputs": [
|
1280
|
+
{
|
1281
|
+
"internalType": "uint256",
|
1282
|
+
"name": "amount",
|
1283
|
+
"type": "uint256"
|
1284
|
+
},
|
1285
|
+
{
|
1286
|
+
"internalType": "uint256[]",
|
1287
|
+
"name": "minReturns",
|
1288
|
+
"type": "uint256[]"
|
1289
|
+
},
|
1290
|
+
{
|
1291
|
+
"internalType": "address payable",
|
1292
|
+
"name": "target",
|
1293
|
+
"type": "address"
|
1294
|
+
}
|
1295
|
+
],
|
1296
|
+
"name": "withdrawFor",
|
1297
|
+
"outputs": [
|
1298
|
+
{
|
1299
|
+
"internalType": "uint256[2]",
|
1300
|
+
"name": "withdrawnAmounts",
|
1301
|
+
"type": "uint256[2]"
|
1302
|
+
}
|
1303
|
+
],
|
1304
|
+
"stateMutability": "nonpayable",
|
1305
|
+
"type": "function"
|
1306
|
+
}
|
1307
|
+
]
|
1308
|
+
''')
|