web3-wizzard-lib 1.0.5__py3-none-any.whl → 1.1.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- web3_wizzard_lib/core/contract/gmx_reward_router.py +22 -0
- web3_wizzard_lib/core/contract/new_rage_contract.py +28 -0
- web3_wizzard_lib/core/modules/concrete_swap.py +13 -2
- web3_wizzard_lib/core/modules/gmx_reward.py +27 -0
- web3_wizzard_lib/core/modules/new_rage_withdraw.py +42 -0
- web3_wizzard_lib/core/modules/swap/odos.py +1 -1
- web3_wizzard_lib/core/modules/swap/woofi.py +1 -1
- web3_wizzard_lib/resources/abi/gmx_reward_router.json +749 -0
- web3_wizzard_lib/resources/abi/new_rage_abi.json +1944 -0
- web3_wizzard_lib/resources/main/contracts.json +4 -2
- {web3_wizzard_lib-1.0.5.dist-info → web3_wizzard_lib-1.1.0.dist-info}/METADATA +1 -1
- {web3_wizzard_lib-1.0.5.dist-info → web3_wizzard_lib-1.1.0.dist-info}/RECORD +15 -9
- {web3_wizzard_lib-1.0.5.data → web3_wizzard_lib-1.1.0.data}/data/requirements.txt +0 -0
- {web3_wizzard_lib-1.0.5.dist-info → web3_wizzard_lib-1.1.0.dist-info}/WHEEL +0 -0
- {web3_wizzard_lib-1.0.5.dist-info → web3_wizzard_lib-1.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,749 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"anonymous": false,
|
4
|
+
"inputs": [
|
5
|
+
{
|
6
|
+
"indexed": false,
|
7
|
+
"internalType": "address",
|
8
|
+
"name": "account",
|
9
|
+
"type": "address"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"indexed": false,
|
13
|
+
"internalType": "uint256",
|
14
|
+
"name": "amount",
|
15
|
+
"type": "uint256"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"name": "StakeGlp",
|
19
|
+
"type": "event"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"anonymous": false,
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"indexed": false,
|
26
|
+
"internalType": "address",
|
27
|
+
"name": "account",
|
28
|
+
"type": "address"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"indexed": false,
|
32
|
+
"internalType": "address",
|
33
|
+
"name": "token",
|
34
|
+
"type": "address"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"indexed": false,
|
38
|
+
"internalType": "uint256",
|
39
|
+
"name": "amount",
|
40
|
+
"type": "uint256"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"name": "StakeGmx",
|
44
|
+
"type": "event"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"anonymous": false,
|
48
|
+
"inputs": [
|
49
|
+
{
|
50
|
+
"indexed": false,
|
51
|
+
"internalType": "address",
|
52
|
+
"name": "account",
|
53
|
+
"type": "address"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"indexed": false,
|
57
|
+
"internalType": "uint256",
|
58
|
+
"name": "amount",
|
59
|
+
"type": "uint256"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"name": "UnstakeGlp",
|
63
|
+
"type": "event"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"anonymous": false,
|
67
|
+
"inputs": [
|
68
|
+
{
|
69
|
+
"indexed": false,
|
70
|
+
"internalType": "address",
|
71
|
+
"name": "account",
|
72
|
+
"type": "address"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"indexed": false,
|
76
|
+
"internalType": "address",
|
77
|
+
"name": "token",
|
78
|
+
"type": "address"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"indexed": false,
|
82
|
+
"internalType": "uint256",
|
83
|
+
"name": "amount",
|
84
|
+
"type": "uint256"
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"name": "UnstakeGmx",
|
88
|
+
"type": "event"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"inputs": [
|
92
|
+
{
|
93
|
+
"internalType": "address",
|
94
|
+
"name": "_sender",
|
95
|
+
"type": "address"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"name": "acceptTransfer",
|
99
|
+
"outputs": [],
|
100
|
+
"stateMutability": "nonpayable",
|
101
|
+
"type": "function"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"inputs": [
|
105
|
+
{
|
106
|
+
"internalType": "address[]",
|
107
|
+
"name": "_accounts",
|
108
|
+
"type": "address[]"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"name": "batchCompoundForAccounts",
|
112
|
+
"outputs": [],
|
113
|
+
"stateMutability": "nonpayable",
|
114
|
+
"type": "function"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"inputs": [
|
118
|
+
{
|
119
|
+
"internalType": "address[]",
|
120
|
+
"name": "_accounts",
|
121
|
+
"type": "address[]"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"internalType": "uint256[]",
|
125
|
+
"name": "_amounts",
|
126
|
+
"type": "uint256[]"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"name": "batchStakeGmxForAccount",
|
130
|
+
"outputs": [],
|
131
|
+
"stateMutability": "nonpayable",
|
132
|
+
"type": "function"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"inputs": [],
|
136
|
+
"name": "bnGmx",
|
137
|
+
"outputs": [
|
138
|
+
{
|
139
|
+
"internalType": "address",
|
140
|
+
"name": "",
|
141
|
+
"type": "address"
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"stateMutability": "view",
|
145
|
+
"type": "function"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"inputs": [],
|
149
|
+
"name": "bonusGmxTracker",
|
150
|
+
"outputs": [
|
151
|
+
{
|
152
|
+
"internalType": "address",
|
153
|
+
"name": "",
|
154
|
+
"type": "address"
|
155
|
+
}
|
156
|
+
],
|
157
|
+
"stateMutability": "view",
|
158
|
+
"type": "function"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"inputs": [],
|
162
|
+
"name": "claim",
|
163
|
+
"outputs": [],
|
164
|
+
"stateMutability": "nonpayable",
|
165
|
+
"type": "function"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"inputs": [],
|
169
|
+
"name": "claimEsGmx",
|
170
|
+
"outputs": [],
|
171
|
+
"stateMutability": "nonpayable",
|
172
|
+
"type": "function"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"inputs": [],
|
176
|
+
"name": "claimFees",
|
177
|
+
"outputs": [],
|
178
|
+
"stateMutability": "nonpayable",
|
179
|
+
"type": "function"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"inputs": [],
|
183
|
+
"name": "compound",
|
184
|
+
"outputs": [],
|
185
|
+
"stateMutability": "nonpayable",
|
186
|
+
"type": "function"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"inputs": [
|
190
|
+
{
|
191
|
+
"internalType": "address",
|
192
|
+
"name": "_account",
|
193
|
+
"type": "address"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "compoundForAccount",
|
197
|
+
"outputs": [],
|
198
|
+
"stateMutability": "nonpayable",
|
199
|
+
"type": "function"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"inputs": [],
|
203
|
+
"name": "esGmx",
|
204
|
+
"outputs": [
|
205
|
+
{
|
206
|
+
"internalType": "address",
|
207
|
+
"name": "",
|
208
|
+
"type": "address"
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"stateMutability": "view",
|
212
|
+
"type": "function"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"inputs": [],
|
216
|
+
"name": "feeGlpTracker",
|
217
|
+
"outputs": [
|
218
|
+
{
|
219
|
+
"internalType": "address",
|
220
|
+
"name": "",
|
221
|
+
"type": "address"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"stateMutability": "view",
|
225
|
+
"type": "function"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"inputs": [],
|
229
|
+
"name": "feeGmxTracker",
|
230
|
+
"outputs": [
|
231
|
+
{
|
232
|
+
"internalType": "address",
|
233
|
+
"name": "",
|
234
|
+
"type": "address"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"stateMutability": "view",
|
238
|
+
"type": "function"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"inputs": [],
|
242
|
+
"name": "glp",
|
243
|
+
"outputs": [
|
244
|
+
{
|
245
|
+
"internalType": "address",
|
246
|
+
"name": "",
|
247
|
+
"type": "address"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"stateMutability": "view",
|
251
|
+
"type": "function"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"inputs": [],
|
255
|
+
"name": "glpManager",
|
256
|
+
"outputs": [
|
257
|
+
{
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "",
|
260
|
+
"type": "address"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"stateMutability": "view",
|
264
|
+
"type": "function"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"inputs": [],
|
268
|
+
"name": "glpVester",
|
269
|
+
"outputs": [
|
270
|
+
{
|
271
|
+
"internalType": "address",
|
272
|
+
"name": "",
|
273
|
+
"type": "address"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"stateMutability": "view",
|
277
|
+
"type": "function"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"inputs": [],
|
281
|
+
"name": "gmx",
|
282
|
+
"outputs": [
|
283
|
+
{
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "",
|
286
|
+
"type": "address"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"stateMutability": "view",
|
290
|
+
"type": "function"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"inputs": [],
|
294
|
+
"name": "gmxVester",
|
295
|
+
"outputs": [
|
296
|
+
{
|
297
|
+
"internalType": "address",
|
298
|
+
"name": "",
|
299
|
+
"type": "address"
|
300
|
+
}
|
301
|
+
],
|
302
|
+
"stateMutability": "view",
|
303
|
+
"type": "function"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"inputs": [],
|
307
|
+
"name": "gov",
|
308
|
+
"outputs": [
|
309
|
+
{
|
310
|
+
"internalType": "address",
|
311
|
+
"name": "",
|
312
|
+
"type": "address"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"stateMutability": "view",
|
316
|
+
"type": "function"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"inputs": [
|
320
|
+
{
|
321
|
+
"internalType": "bool",
|
322
|
+
"name": "_shouldClaimGmx",
|
323
|
+
"type": "bool"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "bool",
|
327
|
+
"name": "_shouldStakeGmx",
|
328
|
+
"type": "bool"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"internalType": "bool",
|
332
|
+
"name": "_shouldClaimEsGmx",
|
333
|
+
"type": "bool"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"internalType": "bool",
|
337
|
+
"name": "_shouldStakeEsGmx",
|
338
|
+
"type": "bool"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"internalType": "bool",
|
342
|
+
"name": "_shouldStakeMultiplierPoints",
|
343
|
+
"type": "bool"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"internalType": "bool",
|
347
|
+
"name": "_shouldClaimWeth",
|
348
|
+
"type": "bool"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"internalType": "bool",
|
352
|
+
"name": "_shouldConvertWethToEth",
|
353
|
+
"type": "bool"
|
354
|
+
}
|
355
|
+
],
|
356
|
+
"name": "handleRewards",
|
357
|
+
"outputs": [],
|
358
|
+
"stateMutability": "nonpayable",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [
|
363
|
+
{
|
364
|
+
"internalType": "address",
|
365
|
+
"name": "_weth",
|
366
|
+
"type": "address"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"internalType": "address",
|
370
|
+
"name": "_gmx",
|
371
|
+
"type": "address"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"internalType": "address",
|
375
|
+
"name": "_esGmx",
|
376
|
+
"type": "address"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"internalType": "address",
|
380
|
+
"name": "_bnGmx",
|
381
|
+
"type": "address"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"internalType": "address",
|
385
|
+
"name": "_glp",
|
386
|
+
"type": "address"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"internalType": "address",
|
390
|
+
"name": "_stakedGmxTracker",
|
391
|
+
"type": "address"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"internalType": "address",
|
395
|
+
"name": "_bonusGmxTracker",
|
396
|
+
"type": "address"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"internalType": "address",
|
400
|
+
"name": "_feeGmxTracker",
|
401
|
+
"type": "address"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"internalType": "address",
|
405
|
+
"name": "_feeGlpTracker",
|
406
|
+
"type": "address"
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"internalType": "address",
|
410
|
+
"name": "_stakedGlpTracker",
|
411
|
+
"type": "address"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"internalType": "address",
|
415
|
+
"name": "_glpManager",
|
416
|
+
"type": "address"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"internalType": "address",
|
420
|
+
"name": "_gmxVester",
|
421
|
+
"type": "address"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"internalType": "address",
|
425
|
+
"name": "_glpVester",
|
426
|
+
"type": "address"
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"name": "initialize",
|
430
|
+
"outputs": [],
|
431
|
+
"stateMutability": "nonpayable",
|
432
|
+
"type": "function"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"inputs": [],
|
436
|
+
"name": "isInitialized",
|
437
|
+
"outputs": [
|
438
|
+
{
|
439
|
+
"internalType": "bool",
|
440
|
+
"name": "",
|
441
|
+
"type": "bool"
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"stateMutability": "view",
|
445
|
+
"type": "function"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"inputs": [
|
449
|
+
{
|
450
|
+
"internalType": "address",
|
451
|
+
"name": "_token",
|
452
|
+
"type": "address"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"internalType": "uint256",
|
456
|
+
"name": "_amount",
|
457
|
+
"type": "uint256"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"internalType": "uint256",
|
461
|
+
"name": "_minUsdg",
|
462
|
+
"type": "uint256"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"internalType": "uint256",
|
466
|
+
"name": "_minGlp",
|
467
|
+
"type": "uint256"
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"name": "mintAndStakeGlp",
|
471
|
+
"outputs": [
|
472
|
+
{
|
473
|
+
"internalType": "uint256",
|
474
|
+
"name": "",
|
475
|
+
"type": "uint256"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"stateMutability": "nonpayable",
|
479
|
+
"type": "function"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"inputs": [
|
483
|
+
{
|
484
|
+
"internalType": "uint256",
|
485
|
+
"name": "_minUsdg",
|
486
|
+
"type": "uint256"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"internalType": "uint256",
|
490
|
+
"name": "_minGlp",
|
491
|
+
"type": "uint256"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"name": "mintAndStakeGlpETH",
|
495
|
+
"outputs": [
|
496
|
+
{
|
497
|
+
"internalType": "uint256",
|
498
|
+
"name": "",
|
499
|
+
"type": "uint256"
|
500
|
+
}
|
501
|
+
],
|
502
|
+
"stateMutability": "payable",
|
503
|
+
"type": "function"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"inputs": [
|
507
|
+
{
|
508
|
+
"internalType": "address",
|
509
|
+
"name": "",
|
510
|
+
"type": "address"
|
511
|
+
}
|
512
|
+
],
|
513
|
+
"name": "pendingReceivers",
|
514
|
+
"outputs": [
|
515
|
+
{
|
516
|
+
"internalType": "address",
|
517
|
+
"name": "",
|
518
|
+
"type": "address"
|
519
|
+
}
|
520
|
+
],
|
521
|
+
"stateMutability": "view",
|
522
|
+
"type": "function"
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"inputs": [
|
526
|
+
{
|
527
|
+
"internalType": "address",
|
528
|
+
"name": "_gov",
|
529
|
+
"type": "address"
|
530
|
+
}
|
531
|
+
],
|
532
|
+
"name": "setGov",
|
533
|
+
"outputs": [],
|
534
|
+
"stateMutability": "nonpayable",
|
535
|
+
"type": "function"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"inputs": [
|
539
|
+
{
|
540
|
+
"internalType": "address",
|
541
|
+
"name": "_receiver",
|
542
|
+
"type": "address"
|
543
|
+
}
|
544
|
+
],
|
545
|
+
"name": "signalTransfer",
|
546
|
+
"outputs": [],
|
547
|
+
"stateMutability": "nonpayable",
|
548
|
+
"type": "function"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"inputs": [
|
552
|
+
{
|
553
|
+
"internalType": "uint256",
|
554
|
+
"name": "_amount",
|
555
|
+
"type": "uint256"
|
556
|
+
}
|
557
|
+
],
|
558
|
+
"name": "stakeEsGmx",
|
559
|
+
"outputs": [],
|
560
|
+
"stateMutability": "nonpayable",
|
561
|
+
"type": "function"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"inputs": [
|
565
|
+
{
|
566
|
+
"internalType": "uint256",
|
567
|
+
"name": "_amount",
|
568
|
+
"type": "uint256"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"name": "stakeGmx",
|
572
|
+
"outputs": [],
|
573
|
+
"stateMutability": "nonpayable",
|
574
|
+
"type": "function"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"inputs": [
|
578
|
+
{
|
579
|
+
"internalType": "address",
|
580
|
+
"name": "_account",
|
581
|
+
"type": "address"
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"internalType": "uint256",
|
585
|
+
"name": "_amount",
|
586
|
+
"type": "uint256"
|
587
|
+
}
|
588
|
+
],
|
589
|
+
"name": "stakeGmxForAccount",
|
590
|
+
"outputs": [],
|
591
|
+
"stateMutability": "nonpayable",
|
592
|
+
"type": "function"
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"inputs": [],
|
596
|
+
"name": "stakedGlpTracker",
|
597
|
+
"outputs": [
|
598
|
+
{
|
599
|
+
"internalType": "address",
|
600
|
+
"name": "",
|
601
|
+
"type": "address"
|
602
|
+
}
|
603
|
+
],
|
604
|
+
"stateMutability": "view",
|
605
|
+
"type": "function"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"inputs": [],
|
609
|
+
"name": "stakedGmxTracker",
|
610
|
+
"outputs": [
|
611
|
+
{
|
612
|
+
"internalType": "address",
|
613
|
+
"name": "",
|
614
|
+
"type": "address"
|
615
|
+
}
|
616
|
+
],
|
617
|
+
"stateMutability": "view",
|
618
|
+
"type": "function"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"inputs": [
|
622
|
+
{
|
623
|
+
"internalType": "address",
|
624
|
+
"name": "_tokenOut",
|
625
|
+
"type": "address"
|
626
|
+
},
|
627
|
+
{
|
628
|
+
"internalType": "uint256",
|
629
|
+
"name": "_glpAmount",
|
630
|
+
"type": "uint256"
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"internalType": "uint256",
|
634
|
+
"name": "_minOut",
|
635
|
+
"type": "uint256"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"internalType": "address",
|
639
|
+
"name": "_receiver",
|
640
|
+
"type": "address"
|
641
|
+
}
|
642
|
+
],
|
643
|
+
"name": "unstakeAndRedeemGlp",
|
644
|
+
"outputs": [
|
645
|
+
{
|
646
|
+
"internalType": "uint256",
|
647
|
+
"name": "",
|
648
|
+
"type": "uint256"
|
649
|
+
}
|
650
|
+
],
|
651
|
+
"stateMutability": "nonpayable",
|
652
|
+
"type": "function"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"inputs": [
|
656
|
+
{
|
657
|
+
"internalType": "uint256",
|
658
|
+
"name": "_glpAmount",
|
659
|
+
"type": "uint256"
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"internalType": "uint256",
|
663
|
+
"name": "_minOut",
|
664
|
+
"type": "uint256"
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"internalType": "address payable",
|
668
|
+
"name": "_receiver",
|
669
|
+
"type": "address"
|
670
|
+
}
|
671
|
+
],
|
672
|
+
"name": "unstakeAndRedeemGlpETH",
|
673
|
+
"outputs": [
|
674
|
+
{
|
675
|
+
"internalType": "uint256",
|
676
|
+
"name": "",
|
677
|
+
"type": "uint256"
|
678
|
+
}
|
679
|
+
],
|
680
|
+
"stateMutability": "nonpayable",
|
681
|
+
"type": "function"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"inputs": [
|
685
|
+
{
|
686
|
+
"internalType": "uint256",
|
687
|
+
"name": "_amount",
|
688
|
+
"type": "uint256"
|
689
|
+
}
|
690
|
+
],
|
691
|
+
"name": "unstakeEsGmx",
|
692
|
+
"outputs": [],
|
693
|
+
"stateMutability": "nonpayable",
|
694
|
+
"type": "function"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"inputs": [
|
698
|
+
{
|
699
|
+
"internalType": "uint256",
|
700
|
+
"name": "_amount",
|
701
|
+
"type": "uint256"
|
702
|
+
}
|
703
|
+
],
|
704
|
+
"name": "unstakeGmx",
|
705
|
+
"outputs": [],
|
706
|
+
"stateMutability": "nonpayable",
|
707
|
+
"type": "function"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"inputs": [],
|
711
|
+
"name": "weth",
|
712
|
+
"outputs": [
|
713
|
+
{
|
714
|
+
"internalType": "address",
|
715
|
+
"name": "",
|
716
|
+
"type": "address"
|
717
|
+
}
|
718
|
+
],
|
719
|
+
"stateMutability": "view",
|
720
|
+
"type": "function"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"inputs": [
|
724
|
+
{
|
725
|
+
"internalType": "address",
|
726
|
+
"name": "_token",
|
727
|
+
"type": "address"
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"internalType": "address",
|
731
|
+
"name": "_account",
|
732
|
+
"type": "address"
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"internalType": "uint256",
|
736
|
+
"name": "_amount",
|
737
|
+
"type": "uint256"
|
738
|
+
}
|
739
|
+
],
|
740
|
+
"name": "withdrawToken",
|
741
|
+
"outputs": [],
|
742
|
+
"stateMutability": "nonpayable",
|
743
|
+
"type": "function"
|
744
|
+
},
|
745
|
+
{
|
746
|
+
"stateMutability": "payable",
|
747
|
+
"type": "receive"
|
748
|
+
}
|
749
|
+
]
|