web3-wizzard-lib 1.6.4__py3-none-any.whl → 1.6.5__py3-none-any.whl

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.
Files changed (107) hide show
  1. web3-wizzard-lib/core/modules/swap/swap_list.py +1 -1
  2. web3-wizzard-lib/launcher.py +1 -1
  3. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/METADATA +2 -2
  4. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/RECORD +7 -107
  5. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/top_level.txt +1 -0
  6. web3-wizzard-lib/resources/abi/aave.json +0 -282
  7. web3-wizzard-lib/resources/abi/abbysworld.json +0 -1113
  8. web3-wizzard-lib/resources/abi/arena_games.json +0 -15
  9. web3-wizzard-lib/resources/abi/asmatch.json +0 -1113
  10. web3-wizzard-lib/resources/abi/basiliks.json +0 -1467
  11. web3-wizzard-lib/resources/abi/bilinear.json +0 -1375
  12. web3-wizzard-lib/resources/abi/bungee.json +0 -525
  13. web3-wizzard-lib/resources/abi/coredao.json +0 -1068
  14. web3-wizzard-lib/resources/abi/coredao_bridge.json +0 -1012
  15. web3-wizzard-lib/resources/abi/dmail.json +0 -964
  16. web3-wizzard-lib/resources/abi/empty_nft.json +0 -1131
  17. web3-wizzard-lib/resources/abi/era_ns.json +0 -878
  18. web3-wizzard-lib/resources/abi/eralend.json +0 -1221
  19. web3-wizzard-lib/resources/abi/erc20.json +0 -801
  20. web3-wizzard-lib/resources/abi/erc20_test.json +0 -337
  21. web3-wizzard-lib/resources/abi/eth_scroll_bridge.json +0 -675
  22. web3-wizzard-lib/resources/abi/frog_war_contract.json +0 -1943
  23. web3-wizzard-lib/resources/abi/gmx_reward_router.json +0 -749
  24. web3-wizzard-lib/resources/abi/horizondex.json +0 -413
  25. web3-wizzard-lib/resources/abi/horizondex_quoter.json +0 -273
  26. web3-wizzard-lib/resources/abi/imagine.json +0 -457
  27. web3-wizzard-lib/resources/abi/izumi.json +0 -532
  28. web3-wizzard-lib/resources/abi/kreatorland.json +0 -500
  29. web3-wizzard-lib/resources/abi/layerbank.json +0 -1240
  30. web3-wizzard-lib/resources/abi/layerbank_price.json +0 -354
  31. web3-wizzard-lib/resources/abi/layerbank_token.json +0 -1124
  32. web3-wizzard-lib/resources/abi/linea_day_2.json +0 -933
  33. web3-wizzard-lib/resources/abi/linea_day_3.json +0 -1804
  34. web3-wizzard-lib/resources/abi/linea_ens_names.json +0 -1000
  35. web3-wizzard-lib/resources/abi/lineaswap_router.json +0 -973
  36. web3-wizzard-lib/resources/abi/maverick_ipool.json +0 -942
  37. web3-wizzard-lib/resources/abi/maverick_multicall.json +0 -1082
  38. web3-wizzard-lib/resources/abi/mendi_token.json +0 -1690
  39. web3-wizzard-lib/resources/abi/merkly.json +0 -787
  40. web3-wizzard-lib/resources/abi/micro3.json +0 -1054
  41. web3-wizzard-lib/resources/abi/mute_router.json +0 -856
  42. web3-wizzard-lib/resources/abi/new_rage_abi.json +0 -1944
  43. web3-wizzard-lib/resources/abi/nidus.json +0 -1017
  44. web3-wizzard-lib/resources/abi/nile_pool.json +0 -1313
  45. web3-wizzard-lib/resources/abi/nomis.json +0 -1601
  46. web3-wizzard-lib/resources/abi/nomis_attest.json +0 -710
  47. web3-wizzard-lib/resources/abi/octomos.json +0 -408
  48. web3-wizzard-lib/resources/abi/omnisea.json +0 -175
  49. web3-wizzard-lib/resources/abi/orbiter_starknet.json +0 -48
  50. web3-wizzard-lib/resources/abi/pancake/factory.json +0 -450
  51. web3-wizzard-lib/resources/abi/pancake/pool.json +0 -713
  52. web3-wizzard-lib/resources/abi/pancake/quoter.json +0 -285
  53. web3-wizzard-lib/resources/abi/pancake/router.json +0 -1271
  54. web3-wizzard-lib/resources/abi/rage_claim.json +0 -218
  55. web3-wizzard-lib/resources/abi/reactor_fusion.json +0 -1479
  56. web3-wizzard-lib/resources/abi/readon.json +0 -71
  57. web3-wizzard-lib/resources/abi/rubyscore.json +0 -698
  58. web3-wizzard-lib/resources/abi/satoshi_universe.json +0 -301
  59. web3-wizzard-lib/resources/abi/scroll_bridge.json +0 -666
  60. web3-wizzard-lib/resources/abi/scroll_canvas_mint.json +0 -602
  61. web3-wizzard-lib/resources/abi/scroll_oracle.json +0 -714
  62. web3-wizzard-lib/resources/abi/snap.json +0 -622
  63. web3-wizzard-lib/resources/abi/socialscan.json +0 -884
  64. web3-wizzard-lib/resources/abi/stargate_farming.json +0 -494
  65. web3-wizzard-lib/resources/abi/stargate_router.json +0 -1341
  66. web3-wizzard-lib/resources/abi/stargate_swapETH_abi.json +0 -106
  67. web3-wizzard-lib/resources/abi/stargate_token_pool.json +0 -1940
  68. web3-wizzard-lib/resources/abi/stargate_v2.json +0 -1936
  69. web3-wizzard-lib/resources/abi/syncswap_classic_pool.json +0 -151
  70. web3-wizzard-lib/resources/abi/syncswap_classic_pool_factory.json +0 -151
  71. web3-wizzard-lib/resources/abi/syncswap_pool.json +0 -924
  72. web3-wizzard-lib/resources/abi/syncswap_router.json +0 -1178
  73. web3-wizzard-lib/resources/abi/syncswap_stable_pool.json +0 -950
  74. web3-wizzard-lib/resources/abi/tavaera.json +0 -586
  75. web3-wizzard-lib/resources/abi/tavaera_id.json +0 -724
  76. web3-wizzard-lib/resources/abi/townstory.json +0 -391
  77. web3-wizzard-lib/resources/abi/townstory_bonus.json +0 -279
  78. web3-wizzard-lib/resources/abi/uniswap_abi.json +0 -193
  79. web3-wizzard-lib/resources/abi/velocore.json +0 -1008
  80. web3-wizzard-lib/resources/abi/velocore_lens.json +0 -1030
  81. web3-wizzard-lib/resources/abi/velocore_pool.json +0 -490
  82. web3-wizzard-lib/resources/abi/velocore_vault.json +0 -1272
  83. web3-wizzard-lib/resources/abi/weth.json +0 -279
  84. web3-wizzard-lib/resources/abi/woofi.json +0 -400
  85. web3-wizzard-lib/resources/abi/yoddlo.json +0 -67
  86. web3-wizzard-lib/resources/abi/zebra.json +0 -1075
  87. web3-wizzard-lib/resources/abi/zerolend.json +0 -282
  88. web3-wizzard-lib/resources/abi/zerolend_liquidity.json +0 -1038
  89. web3-wizzard-lib/resources/abi/zkdx_data.json +0 -436
  90. web3-wizzard-lib/resources/abi/zks.json +0 -671
  91. web3-wizzard-lib/resources/banner.txt +0 -7
  92. web3-wizzard-lib/resources/goerli/contracts.json +0 -48
  93. web3-wizzard-lib/resources/goerli/networks.json +0 -139
  94. web3-wizzard-lib/resources/goerli/pairs.json +0 -113
  95. web3-wizzard-lib/resources/goerli/tokens.json +0 -40
  96. web3-wizzard-lib/resources/linea_appeal.txt +0 -0
  97. web3-wizzard-lib/resources/local/contracts.json +0 -150
  98. web3-wizzard-lib/resources/local/networks.json +0 -119
  99. web3-wizzard-lib/resources/local/pairs.json +0 -451
  100. web3-wizzard-lib/resources/local/tokens.json +0 -88
  101. web3-wizzard-lib/resources/main/contracts.json +0 -231
  102. web3-wizzard-lib/resources/main/networks.json +0 -272
  103. web3-wizzard-lib/resources/main/pairs.json +0 -516
  104. web3-wizzard-lib/resources/main/tokens.json +0 -119
  105. web3-wizzard-lib/resources/verify_data.json +0 -1243
  106. {web3_wizzard_lib-1.6.4.data → web3_wizzard_lib-1.6.5.data}/data/requirements.txt +0 -0
  107. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/WHEEL +0 -0
@@ -1,1944 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "name": "ArraysLengthMismatch",
5
- "type": "error"
6
- },
7
- {
8
- "inputs": [],
9
- "name": "DepositCapExceeded",
10
- "type": "error"
11
- },
12
- {
13
- "inputs": [],
14
- "name": "FlashloanNotInitiated",
15
- "type": "error"
16
- },
17
- {
18
- "inputs": [],
19
- "name": "InvalidFeeBps",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [],
24
- "name": "InvalidFeeRecipient",
25
- "type": "error"
26
- },
27
- {
28
- "inputs": [],
29
- "name": "InvalidRebalance",
30
- "type": "error"
31
- },
32
- {
33
- "inputs": [],
34
- "name": "InvalidRebalanceDeltaThresholdBps",
35
- "type": "error"
36
- },
37
- {
38
- "inputs": [],
39
- "name": "InvalidRebalanceHfThresholdBps",
40
- "type": "error"
41
- },
42
- {
43
- "inputs": [],
44
- "name": "InvalidRebalanceTimeThreshold",
45
- "type": "error"
46
- },
47
- {
48
- "inputs": [],
49
- "name": "InvalidSlippageThresholdGmx",
50
- "type": "error"
51
- },
52
- {
53
- "inputs": [],
54
- "name": "InvalidSlippageThresholdSwapBtc",
55
- "type": "error"
56
- },
57
- {
58
- "inputs": [],
59
- "name": "InvalidSlippageThresholdSwapEth",
60
- "type": "error"
61
- },
62
- {
63
- "inputs": [],
64
- "name": "InvalidTargetHealthFactor",
65
- "type": "error"
66
- },
67
- {
68
- "inputs": [
69
- {
70
- "internalType": "int128",
71
- "name": "btcTraderOIHedge",
72
- "type": "int128"
73
- },
74
- {
75
- "internalType": "int128",
76
- "name": "ethTraderOIHedge",
77
- "type": "int128"
78
- }
79
- ],
80
- "name": "InvalidTraderOIHedges",
81
- "type": "error"
82
- },
83
- {
84
- "inputs": [],
85
- "name": "InvalidWithdrawFeeBps",
86
- "type": "error"
87
- },
88
- {
89
- "inputs": [],
90
- "name": "NotBalancerVault",
91
- "type": "error"
92
- },
93
- {
94
- "inputs": [],
95
- "name": "NotDnGmxSeniorVault",
96
- "type": "error"
97
- },
98
- {
99
- "inputs": [
100
- {
101
- "internalType": "address",
102
- "name": "msgSender",
103
- "type": "address"
104
- },
105
- {
106
- "internalType": "address",
107
- "name": "authorisedKeeperAddress",
108
- "type": "address"
109
- }
110
- ],
111
- "name": "OnlyKeeperAllowed",
112
- "type": "error"
113
- },
114
- {
115
- "inputs": [
116
- {
117
- "internalType": "address",
118
- "name": "msgSender",
119
- "type": "address"
120
- },
121
- {
122
- "internalType": "address",
123
- "name": "authorisedKeeperAddress",
124
- "type": "address"
125
- }
126
- ],
127
- "name": "OnlyTraderHedgeStrategyAllowed",
128
- "type": "error"
129
- },
130
- {
131
- "inputs": [
132
- {
133
- "internalType": "uint256",
134
- "name": "netSlippage",
135
- "type": "uint256"
136
- },
137
- {
138
- "internalType": "uint256",
139
- "name": "assets",
140
- "type": "uint256"
141
- }
142
- ],
143
- "name": "TooMuchSlippage",
144
- "type": "error"
145
- },
146
- {
147
- "anonymous": false,
148
- "inputs": [
149
- {
150
- "indexed": false,
151
- "internalType": "address",
152
- "name": "newKeeper",
153
- "type": "address"
154
- },
155
- {
156
- "indexed": false,
157
- "internalType": "address",
158
- "name": "dnGmxSeniorVault",
159
- "type": "address"
160
- },
161
- {
162
- "indexed": false,
163
- "internalType": "uint256",
164
- "name": "newDepositCap",
165
- "type": "uint256"
166
- },
167
- {
168
- "indexed": false,
169
- "internalType": "address",
170
- "name": "batchingManager",
171
- "type": "address"
172
- },
173
- {
174
- "indexed": false,
175
- "internalType": "uint16",
176
- "name": "withdrawFeeBps",
177
- "type": "uint16"
178
- }
179
- ],
180
- "name": "AdminParamsUpdated",
181
- "type": "event"
182
- },
183
- {
184
- "anonymous": false,
185
- "inputs": [],
186
- "name": "AllowancesGranted",
187
- "type": "event"
188
- },
189
- {
190
- "anonymous": false,
191
- "inputs": [
192
- {
193
- "indexed": true,
194
- "internalType": "address",
195
- "name": "owner",
196
- "type": "address"
197
- },
198
- {
199
- "indexed": true,
200
- "internalType": "address",
201
- "name": "spender",
202
- "type": "address"
203
- },
204
- {
205
- "indexed": false,
206
- "internalType": "uint256",
207
- "name": "value",
208
- "type": "uint256"
209
- }
210
- ],
211
- "name": "Approval",
212
- "type": "event"
213
- },
214
- {
215
- "anonymous": false,
216
- "inputs": [
217
- {
218
- "indexed": true,
219
- "internalType": "address",
220
- "name": "user",
221
- "type": "address"
222
- },
223
- {
224
- "indexed": false,
225
- "internalType": "uint256",
226
- "name": "slippage",
227
- "type": "uint256"
228
- }
229
- ],
230
- "name": "AssetSlippage",
231
- "type": "event"
232
- },
233
- {
234
- "anonymous": false,
235
- "inputs": [
236
- {
237
- "indexed": true,
238
- "internalType": "address",
239
- "name": "caller",
240
- "type": "address"
241
- },
242
- {
243
- "indexed": true,
244
- "internalType": "address",
245
- "name": "owner",
246
- "type": "address"
247
- },
248
- {
249
- "indexed": false,
250
- "internalType": "uint256",
251
- "name": "assets",
252
- "type": "uint256"
253
- },
254
- {
255
- "indexed": false,
256
- "internalType": "uint256",
257
- "name": "shares",
258
- "type": "uint256"
259
- }
260
- ],
261
- "name": "Deposit",
262
- "type": "event"
263
- },
264
- {
265
- "anonymous": false,
266
- "inputs": [
267
- {
268
- "indexed": false,
269
- "internalType": "uint256",
270
- "name": "_newDepositCap",
271
- "type": "uint256"
272
- }
273
- ],
274
- "name": "DepositCapUpdated",
275
- "type": "event"
276
- },
277
- {
278
- "anonymous": false,
279
- "inputs": [
280
- {
281
- "indexed": false,
282
- "internalType": "address",
283
- "name": "_dnGmxSeniorVault",
284
- "type": "address"
285
- }
286
- ],
287
- "name": "DnGmxSeniorVaultUpdated",
288
- "type": "event"
289
- },
290
- {
291
- "anonymous": false,
292
- "inputs": [
293
- {
294
- "indexed": false,
295
- "internalType": "uint256",
296
- "name": "amount",
297
- "type": "uint256"
298
- }
299
- ],
300
- "name": "EsGmxStaked",
301
- "type": "event"
302
- },
303
- {
304
- "anonymous": false,
305
- "inputs": [
306
- {
307
- "indexed": false,
308
- "internalType": "uint256",
309
- "name": "amount",
310
- "type": "uint256"
311
- }
312
- ],
313
- "name": "EsGmxVested",
314
- "type": "event"
315
- },
316
- {
317
- "anonymous": false,
318
- "inputs": [
319
- {
320
- "indexed": false,
321
- "internalType": "uint256",
322
- "name": "feeBps",
323
- "type": "uint256"
324
- },
325
- {
326
- "indexed": false,
327
- "internalType": "address",
328
- "name": "_newFeeRecipient",
329
- "type": "address"
330
- }
331
- ],
332
- "name": "FeeParamsUpdated",
333
- "type": "event"
334
- },
335
- {
336
- "anonymous": false,
337
- "inputs": [
338
- {
339
- "indexed": false,
340
- "internalType": "uint256",
341
- "name": "feeAmount",
342
- "type": "uint256"
343
- }
344
- ],
345
- "name": "FeesWithdrawn",
346
- "type": "event"
347
- },
348
- {
349
- "anonymous": false,
350
- "inputs": [
351
- {
352
- "indexed": false,
353
- "internalType": "uint256",
354
- "name": "amount",
355
- "type": "uint256"
356
- }
357
- ],
358
- "name": "GmxClaimed",
359
- "type": "event"
360
- },
361
- {
362
- "anonymous": false,
363
- "inputs": [
364
- {
365
- "indexed": false,
366
- "internalType": "contract IBalancerVault",
367
- "name": "vault",
368
- "type": "address"
369
- },
370
- {
371
- "indexed": false,
372
- "internalType": "contract ISwapRouter",
373
- "name": "swapRouter",
374
- "type": "address"
375
- },
376
- {
377
- "indexed": false,
378
- "internalType": "uint256",
379
- "name": "targetHealthFactor",
380
- "type": "uint256"
381
- },
382
- {
383
- "indexed": false,
384
- "internalType": "contract IRewardsController",
385
- "name": "aaveRewardsController",
386
- "type": "address"
387
- },
388
- {
389
- "indexed": false,
390
- "internalType": "contract IPool",
391
- "name": "pool",
392
- "type": "address"
393
- },
394
- {
395
- "indexed": false,
396
- "internalType": "contract IPriceOracle",
397
- "name": "oracle",
398
- "type": "address"
399
- }
400
- ],
401
- "name": "HedgeParamsUpdated",
402
- "type": "event"
403
- },
404
- {
405
- "anonymous": false,
406
- "inputs": [
407
- {
408
- "indexed": false,
409
- "internalType": "uint8",
410
- "name": "version",
411
- "type": "uint8"
412
- }
413
- ],
414
- "name": "Initialized",
415
- "type": "event"
416
- },
417
- {
418
- "anonymous": false,
419
- "inputs": [
420
- {
421
- "indexed": false,
422
- "internalType": "address",
423
- "name": "_newKeeper",
424
- "type": "address"
425
- }
426
- ],
427
- "name": "KeeperUpdated",
428
- "type": "event"
429
- },
430
- {
431
- "anonymous": false,
432
- "inputs": [
433
- {
434
- "indexed": true,
435
- "internalType": "address",
436
- "name": "previousOwner",
437
- "type": "address"
438
- },
439
- {
440
- "indexed": true,
441
- "internalType": "address",
442
- "name": "newOwner",
443
- "type": "address"
444
- }
445
- ],
446
- "name": "OwnershipTransferred",
447
- "type": "event"
448
- },
449
- {
450
- "anonymous": false,
451
- "inputs": [
452
- {
453
- "indexed": false,
454
- "internalType": "uint128",
455
- "name": "rebalanceProfitUsdcAmountThreshold",
456
- "type": "uint128"
457
- },
458
- {
459
- "indexed": false,
460
- "internalType": "contract IDnGmxTraderHedgeStrategy",
461
- "name": "dnGmxTraderHedgeStrategy",
462
- "type": "address"
463
- }
464
- ],
465
- "name": "ParamsV1Updated",
466
- "type": "event"
467
- },
468
- {
469
- "anonymous": false,
470
- "inputs": [
471
- {
472
- "indexed": false,
473
- "internalType": "address",
474
- "name": "account",
475
- "type": "address"
476
- }
477
- ],
478
- "name": "Paused",
479
- "type": "event"
480
- },
481
- {
482
- "anonymous": false,
483
- "inputs": [
484
- {
485
- "indexed": false,
486
- "internalType": "uint32",
487
- "name": "rebalanceTimeThreshold",
488
- "type": "uint32"
489
- },
490
- {
491
- "indexed": false,
492
- "internalType": "uint16",
493
- "name": "rebalanceDeltaThresholdBps",
494
- "type": "uint16"
495
- },
496
- {
497
- "indexed": false,
498
- "internalType": "uint16",
499
- "name": "rebalanceHfThresholdBps",
500
- "type": "uint16"
501
- }
502
- ],
503
- "name": "RebalanceParamsUpdated",
504
- "type": "event"
505
- },
506
- {
507
- "anonymous": false,
508
- "inputs": [],
509
- "name": "Rebalanced",
510
- "type": "event"
511
- },
512
- {
513
- "anonymous": false,
514
- "inputs": [
515
- {
516
- "indexed": false,
517
- "internalType": "uint16",
518
- "name": "slippageThresholdSwapBtcBps",
519
- "type": "uint16"
520
- },
521
- {
522
- "indexed": false,
523
- "internalType": "uint16",
524
- "name": "slippageThresholdSwapEthBps",
525
- "type": "uint16"
526
- },
527
- {
528
- "indexed": false,
529
- "internalType": "uint16",
530
- "name": "slippageThresholdGmxBps",
531
- "type": "uint16"
532
- },
533
- {
534
- "indexed": false,
535
- "internalType": "uint128",
536
- "name": "usdcConversionThreshold",
537
- "type": "uint128"
538
- },
539
- {
540
- "indexed": false,
541
- "internalType": "uint128",
542
- "name": "wethConversionThreshold",
543
- "type": "uint128"
544
- },
545
- {
546
- "indexed": false,
547
- "internalType": "uint128",
548
- "name": "hedgeUsdcAmountThreshold",
549
- "type": "uint128"
550
- },
551
- {
552
- "indexed": false,
553
- "internalType": "uint128",
554
- "name": "partialBtcHedgeUsdcAmountThreshold",
555
- "type": "uint128"
556
- },
557
- {
558
- "indexed": false,
559
- "internalType": "uint128",
560
- "name": "partialEthHedgeUsdcAmountThreshold",
561
- "type": "uint128"
562
- }
563
- ],
564
- "name": "ThresholdsUpdated",
565
- "type": "event"
566
- },
567
- {
568
- "anonymous": false,
569
- "inputs": [
570
- {
571
- "indexed": false,
572
- "internalType": "int256",
573
- "name": "btcTraderOIHedge",
574
- "type": "int256"
575
- },
576
- {
577
- "indexed": false,
578
- "internalType": "int256",
579
- "name": "ethTraderOIHedge",
580
- "type": "int256"
581
- }
582
- ],
583
- "name": "TraderOIHedgesUpdated",
584
- "type": "event"
585
- },
586
- {
587
- "anonymous": false,
588
- "inputs": [
589
- {
590
- "indexed": true,
591
- "internalType": "address",
592
- "name": "from",
593
- "type": "address"
594
- },
595
- {
596
- "indexed": true,
597
- "internalType": "address",
598
- "name": "to",
599
- "type": "address"
600
- },
601
- {
602
- "indexed": false,
603
- "internalType": "uint256",
604
- "name": "value",
605
- "type": "uint256"
606
- }
607
- ],
608
- "name": "Transfer",
609
- "type": "event"
610
- },
611
- {
612
- "anonymous": false,
613
- "inputs": [
614
- {
615
- "indexed": false,
616
- "internalType": "address",
617
- "name": "account",
618
- "type": "address"
619
- }
620
- ],
621
- "name": "Unpaused",
622
- "type": "event"
623
- },
624
- {
625
- "anonymous": false,
626
- "inputs": [
627
- {
628
- "indexed": true,
629
- "internalType": "address",
630
- "name": "caller",
631
- "type": "address"
632
- },
633
- {
634
- "indexed": true,
635
- "internalType": "address",
636
- "name": "receiver",
637
- "type": "address"
638
- },
639
- {
640
- "indexed": true,
641
- "internalType": "address",
642
- "name": "owner",
643
- "type": "address"
644
- },
645
- {
646
- "indexed": false,
647
- "internalType": "uint256",
648
- "name": "assets",
649
- "type": "uint256"
650
- },
651
- {
652
- "indexed": false,
653
- "internalType": "uint256",
654
- "name": "shares",
655
- "type": "uint256"
656
- }
657
- ],
658
- "name": "Withdraw",
659
- "type": "event"
660
- },
661
- {
662
- "anonymous": false,
663
- "inputs": [
664
- {
665
- "indexed": false,
666
- "internalType": "uint256",
667
- "name": "_withdrawFeeBps",
668
- "type": "uint256"
669
- }
670
- ],
671
- "name": "WithdrawFeeUpdated",
672
- "type": "event"
673
- },
674
- {
675
- "inputs": [
676
- {
677
- "internalType": "address",
678
- "name": "owner",
679
- "type": "address"
680
- },
681
- {
682
- "internalType": "address",
683
- "name": "spender",
684
- "type": "address"
685
- }
686
- ],
687
- "name": "allowance",
688
- "outputs": [
689
- {
690
- "internalType": "uint256",
691
- "name": "",
692
- "type": "uint256"
693
- }
694
- ],
695
- "stateMutability": "view",
696
- "type": "function"
697
- },
698
- {
699
- "inputs": [
700
- {
701
- "internalType": "address",
702
- "name": "spender",
703
- "type": "address"
704
- },
705
- {
706
- "internalType": "uint256",
707
- "name": "amount",
708
- "type": "uint256"
709
- }
710
- ],
711
- "name": "approve",
712
- "outputs": [
713
- {
714
- "internalType": "bool",
715
- "name": "",
716
- "type": "bool"
717
- }
718
- ],
719
- "stateMutability": "nonpayable",
720
- "type": "function"
721
- },
722
- {
723
- "inputs": [],
724
- "name": "asset",
725
- "outputs": [
726
- {
727
- "internalType": "address",
728
- "name": "",
729
- "type": "address"
730
- }
731
- ],
732
- "stateMutability": "view",
733
- "type": "function"
734
- },
735
- {
736
- "inputs": [
737
- {
738
- "internalType": "address",
739
- "name": "account",
740
- "type": "address"
741
- }
742
- ],
743
- "name": "balanceOf",
744
- "outputs": [
745
- {
746
- "internalType": "uint256",
747
- "name": "",
748
- "type": "uint256"
749
- }
750
- ],
751
- "stateMutability": "view",
752
- "type": "function"
753
- },
754
- {
755
- "inputs": [],
756
- "name": "claimVestedGmx",
757
- "outputs": [],
758
- "stateMutability": "nonpayable",
759
- "type": "function"
760
- },
761
- {
762
- "inputs": [
763
- {
764
- "internalType": "uint256",
765
- "name": "shares",
766
- "type": "uint256"
767
- }
768
- ],
769
- "name": "convertToAssets",
770
- "outputs": [
771
- {
772
- "internalType": "uint256",
773
- "name": "",
774
- "type": "uint256"
775
- }
776
- ],
777
- "stateMutability": "view",
778
- "type": "function"
779
- },
780
- {
781
- "inputs": [
782
- {
783
- "internalType": "uint256",
784
- "name": "assets",
785
- "type": "uint256"
786
- }
787
- ],
788
- "name": "convertToShares",
789
- "outputs": [
790
- {
791
- "internalType": "uint256",
792
- "name": "",
793
- "type": "uint256"
794
- }
795
- ],
796
- "stateMutability": "view",
797
- "type": "function"
798
- },
799
- {
800
- "inputs": [],
801
- "name": "decimals",
802
- "outputs": [
803
- {
804
- "internalType": "uint8",
805
- "name": "",
806
- "type": "uint8"
807
- }
808
- ],
809
- "stateMutability": "view",
810
- "type": "function"
811
- },
812
- {
813
- "inputs": [
814
- {
815
- "internalType": "address",
816
- "name": "spender",
817
- "type": "address"
818
- },
819
- {
820
- "internalType": "uint256",
821
- "name": "subtractedValue",
822
- "type": "uint256"
823
- }
824
- ],
825
- "name": "decreaseAllowance",
826
- "outputs": [
827
- {
828
- "internalType": "bool",
829
- "name": "",
830
- "type": "bool"
831
- }
832
- ],
833
- "stateMutability": "nonpayable",
834
- "type": "function"
835
- },
836
- {
837
- "inputs": [
838
- {
839
- "internalType": "uint256",
840
- "name": "amount",
841
- "type": "uint256"
842
- },
843
- {
844
- "internalType": "address",
845
- "name": "to",
846
- "type": "address"
847
- }
848
- ],
849
- "name": "deposit",
850
- "outputs": [
851
- {
852
- "internalType": "uint256",
853
- "name": "shares",
854
- "type": "uint256"
855
- }
856
- ],
857
- "stateMutability": "nonpayable",
858
- "type": "function"
859
- },
860
- {
861
- "inputs": [],
862
- "name": "depositCap",
863
- "outputs": [
864
- {
865
- "internalType": "uint256",
866
- "name": "",
867
- "type": "uint256"
868
- }
869
- ],
870
- "stateMutability": "view",
871
- "type": "function"
872
- },
873
- {
874
- "inputs": [],
875
- "name": "dnUsdcDeposited",
876
- "outputs": [
877
- {
878
- "internalType": "int256",
879
- "name": "",
880
- "type": "int256"
881
- }
882
- ],
883
- "stateMutability": "view",
884
- "type": "function"
885
- },
886
- {
887
- "inputs": [],
888
- "name": "getAdminParams",
889
- "outputs": [
890
- {
891
- "internalType": "address",
892
- "name": "keeper",
893
- "type": "address"
894
- },
895
- {
896
- "internalType": "contract IDnGmxSeniorVault",
897
- "name": "dnGmxSeniorVault",
898
- "type": "address"
899
- },
900
- {
901
- "internalType": "uint256",
902
- "name": "depositCap_",
903
- "type": "uint256"
904
- },
905
- {
906
- "internalType": "uint16",
907
- "name": "withdrawFeeBps",
908
- "type": "uint16"
909
- },
910
- {
911
- "internalType": "uint24",
912
- "name": "feeTierWethWbtcPool",
913
- "type": "uint24"
914
- }
915
- ],
916
- "stateMutability": "view",
917
- "type": "function"
918
- },
919
- {
920
- "inputs": [],
921
- "name": "getCurrentBorrows",
922
- "outputs": [
923
- {
924
- "internalType": "uint256",
925
- "name": "currentBtcBorrow",
926
- "type": "uint256"
927
- },
928
- {
929
- "internalType": "uint256",
930
- "name": "currentEthBorrow",
931
- "type": "uint256"
932
- }
933
- ],
934
- "stateMutability": "view",
935
- "type": "function"
936
- },
937
- {
938
- "inputs": [],
939
- "name": "getHedgeParams",
940
- "outputs": [
941
- {
942
- "internalType": "contract IBalancerVault",
943
- "name": "balancerVault",
944
- "type": "address"
945
- },
946
- {
947
- "internalType": "contract ISwapRouter",
948
- "name": "swapRouter",
949
- "type": "address"
950
- },
951
- {
952
- "internalType": "uint256",
953
- "name": "targetHealthFactor",
954
- "type": "uint256"
955
- },
956
- {
957
- "internalType": "contract IRewardsController",
958
- "name": "aaveRewardsController",
959
- "type": "address"
960
- }
961
- ],
962
- "stateMutability": "view",
963
- "type": "function"
964
- },
965
- {
966
- "inputs": [
967
- {
968
- "internalType": "uint256",
969
- "name": "assetAmount",
970
- "type": "uint256"
971
- }
972
- ],
973
- "name": "getMarketValue",
974
- "outputs": [
975
- {
976
- "internalType": "uint256",
977
- "name": "marketValue",
978
- "type": "uint256"
979
- }
980
- ],
981
- "stateMutability": "view",
982
- "type": "function"
983
- },
984
- {
985
- "inputs": [
986
- {
987
- "internalType": "uint256",
988
- "name": "glpDeposited",
989
- "type": "uint256"
990
- },
991
- {
992
- "internalType": "bool",
993
- "name": "withUpdatedPoolAmounts",
994
- "type": "bool"
995
- }
996
- ],
997
- "name": "getOptimalBorrows",
998
- "outputs": [
999
- {
1000
- "internalType": "uint256",
1001
- "name": "optimalBtcBorrow",
1002
- "type": "uint256"
1003
- },
1004
- {
1005
- "internalType": "uint256",
1006
- "name": "optimalEthBorrow",
1007
- "type": "uint256"
1008
- }
1009
- ],
1010
- "stateMutability": "view",
1011
- "type": "function"
1012
- },
1013
- {
1014
- "inputs": [
1015
- {
1016
- "internalType": "bool",
1017
- "name": "maximize",
1018
- "type": "bool"
1019
- }
1020
- ],
1021
- "name": "getPrice",
1022
- "outputs": [
1023
- {
1024
- "internalType": "uint256",
1025
- "name": "",
1026
- "type": "uint256"
1027
- }
1028
- ],
1029
- "stateMutability": "view",
1030
- "type": "function"
1031
- },
1032
- {
1033
- "inputs": [],
1034
- "name": "getPriceX128",
1035
- "outputs": [
1036
- {
1037
- "internalType": "uint256",
1038
- "name": "",
1039
- "type": "uint256"
1040
- }
1041
- ],
1042
- "stateMutability": "view",
1043
- "type": "function"
1044
- },
1045
- {
1046
- "inputs": [],
1047
- "name": "getRebalanceParams",
1048
- "outputs": [
1049
- {
1050
- "internalType": "uint32",
1051
- "name": "rebalanceTimeThreshold",
1052
- "type": "uint32"
1053
- },
1054
- {
1055
- "internalType": "uint16",
1056
- "name": "rebalanceDeltaThresholdBps",
1057
- "type": "uint16"
1058
- },
1059
- {
1060
- "internalType": "uint16",
1061
- "name": "rebalanceHfThresholdBps",
1062
- "type": "uint16"
1063
- }
1064
- ],
1065
- "stateMutability": "view",
1066
- "type": "function"
1067
- },
1068
- {
1069
- "inputs": [],
1070
- "name": "getThresholds",
1071
- "outputs": [
1072
- {
1073
- "internalType": "uint16",
1074
- "name": "slippageThresholdSwapBtcBps",
1075
- "type": "uint16"
1076
- },
1077
- {
1078
- "internalType": "uint16",
1079
- "name": "slippageThresholdSwapEthBps",
1080
- "type": "uint16"
1081
- },
1082
- {
1083
- "internalType": "uint16",
1084
- "name": "slippageThresholdGmxBps",
1085
- "type": "uint16"
1086
- },
1087
- {
1088
- "internalType": "uint128",
1089
- "name": "usdcConversionThreshold",
1090
- "type": "uint128"
1091
- },
1092
- {
1093
- "internalType": "uint128",
1094
- "name": "wethConversionThreshold",
1095
- "type": "uint128"
1096
- },
1097
- {
1098
- "internalType": "uint128",
1099
- "name": "hedgeUsdcAmountThreshold",
1100
- "type": "uint128"
1101
- },
1102
- {
1103
- "internalType": "uint128",
1104
- "name": "partialBtcHedgeUsdcAmountThreshold",
1105
- "type": "uint128"
1106
- },
1107
- {
1108
- "internalType": "uint128",
1109
- "name": "partialEthHedgeUsdcAmountThreshold",
1110
- "type": "uint128"
1111
- }
1112
- ],
1113
- "stateMutability": "view",
1114
- "type": "function"
1115
- },
1116
- {
1117
- "inputs": [],
1118
- "name": "getUsdcBorrowed",
1119
- "outputs": [
1120
- {
1121
- "internalType": "uint256",
1122
- "name": "usdcAmount",
1123
- "type": "uint256"
1124
- }
1125
- ],
1126
- "stateMutability": "view",
1127
- "type": "function"
1128
- },
1129
- {
1130
- "inputs": [],
1131
- "name": "getVaultMarketValue",
1132
- "outputs": [
1133
- {
1134
- "internalType": "int256",
1135
- "name": "vaultMarketValue",
1136
- "type": "int256"
1137
- }
1138
- ],
1139
- "stateMutability": "view",
1140
- "type": "function"
1141
- },
1142
- {
1143
- "inputs": [],
1144
- "name": "grantAllowances",
1145
- "outputs": [],
1146
- "stateMutability": "nonpayable",
1147
- "type": "function"
1148
- },
1149
- {
1150
- "inputs": [],
1151
- "name": "harvestFees",
1152
- "outputs": [],
1153
- "stateMutability": "nonpayable",
1154
- "type": "function"
1155
- },
1156
- {
1157
- "inputs": [
1158
- {
1159
- "internalType": "address",
1160
- "name": "spender",
1161
- "type": "address"
1162
- },
1163
- {
1164
- "internalType": "uint256",
1165
- "name": "addedValue",
1166
- "type": "uint256"
1167
- }
1168
- ],
1169
- "name": "increaseAllowance",
1170
- "outputs": [
1171
- {
1172
- "internalType": "bool",
1173
- "name": "",
1174
- "type": "bool"
1175
- }
1176
- ],
1177
- "stateMutability": "nonpayable",
1178
- "type": "function"
1179
- },
1180
- {
1181
- "inputs": [
1182
- {
1183
- "internalType": "string",
1184
- "name": "_name",
1185
- "type": "string"
1186
- },
1187
- {
1188
- "internalType": "string",
1189
- "name": "_symbol",
1190
- "type": "string"
1191
- },
1192
- {
1193
- "internalType": "address",
1194
- "name": "_swapRouter",
1195
- "type": "address"
1196
- },
1197
- {
1198
- "internalType": "address",
1199
- "name": "_rewardRouter",
1200
- "type": "address"
1201
- },
1202
- {
1203
- "internalType": "address",
1204
- "name": "_mintBurnRewardRouter",
1205
- "type": "address"
1206
- },
1207
- {
1208
- "components": [
1209
- {
1210
- "internalType": "contract IERC20Metadata",
1211
- "name": "weth",
1212
- "type": "address"
1213
- },
1214
- {
1215
- "internalType": "contract IERC20Metadata",
1216
- "name": "wbtc",
1217
- "type": "address"
1218
- },
1219
- {
1220
- "internalType": "contract IERC20Metadata",
1221
- "name": "sGlp",
1222
- "type": "address"
1223
- },
1224
- {
1225
- "internalType": "contract IERC20Metadata",
1226
- "name": "usdc",
1227
- "type": "address"
1228
- }
1229
- ],
1230
- "internalType": "struct DnGmxJuniorVaultManager.Tokens",
1231
- "name": "_tokens",
1232
- "type": "tuple"
1233
- },
1234
- {
1235
- "internalType": "contract IPoolAddressesProvider",
1236
- "name": "_poolAddressesProvider",
1237
- "type": "address"
1238
- }
1239
- ],
1240
- "name": "initialize",
1241
- "outputs": [],
1242
- "stateMutability": "nonpayable",
1243
- "type": "function"
1244
- },
1245
- {
1246
- "inputs": [],
1247
- "name": "isValidRebalance",
1248
- "outputs": [
1249
- {
1250
- "internalType": "bool",
1251
- "name": "",
1252
- "type": "bool"
1253
- }
1254
- ],
1255
- "stateMutability": "view",
1256
- "type": "function"
1257
- },
1258
- {
1259
- "inputs": [
1260
- {
1261
- "internalType": "address",
1262
- "name": "",
1263
- "type": "address"
1264
- }
1265
- ],
1266
- "name": "maxDeposit",
1267
- "outputs": [
1268
- {
1269
- "internalType": "uint256",
1270
- "name": "",
1271
- "type": "uint256"
1272
- }
1273
- ],
1274
- "stateMutability": "view",
1275
- "type": "function"
1276
- },
1277
- {
1278
- "inputs": [
1279
- {
1280
- "internalType": "address",
1281
- "name": "receiver",
1282
- "type": "address"
1283
- }
1284
- ],
1285
- "name": "maxMint",
1286
- "outputs": [
1287
- {
1288
- "internalType": "uint256",
1289
- "name": "",
1290
- "type": "uint256"
1291
- }
1292
- ],
1293
- "stateMutability": "view",
1294
- "type": "function"
1295
- },
1296
- {
1297
- "inputs": [
1298
- {
1299
- "internalType": "address",
1300
- "name": "owner",
1301
- "type": "address"
1302
- }
1303
- ],
1304
- "name": "maxRedeem",
1305
- "outputs": [
1306
- {
1307
- "internalType": "uint256",
1308
- "name": "",
1309
- "type": "uint256"
1310
- }
1311
- ],
1312
- "stateMutability": "view",
1313
- "type": "function"
1314
- },
1315
- {
1316
- "inputs": [
1317
- {
1318
- "internalType": "address",
1319
- "name": "owner",
1320
- "type": "address"
1321
- }
1322
- ],
1323
- "name": "maxWithdraw",
1324
- "outputs": [
1325
- {
1326
- "internalType": "uint256",
1327
- "name": "",
1328
- "type": "uint256"
1329
- }
1330
- ],
1331
- "stateMutability": "view",
1332
- "type": "function"
1333
- },
1334
- {
1335
- "inputs": [
1336
- {
1337
- "internalType": "uint256",
1338
- "name": "shares",
1339
- "type": "uint256"
1340
- },
1341
- {
1342
- "internalType": "address",
1343
- "name": "to",
1344
- "type": "address"
1345
- }
1346
- ],
1347
- "name": "mint",
1348
- "outputs": [
1349
- {
1350
- "internalType": "uint256",
1351
- "name": "amount",
1352
- "type": "uint256"
1353
- }
1354
- ],
1355
- "stateMutability": "nonpayable",
1356
- "type": "function"
1357
- },
1358
- {
1359
- "inputs": [],
1360
- "name": "name",
1361
- "outputs": [
1362
- {
1363
- "internalType": "string",
1364
- "name": "",
1365
- "type": "string"
1366
- }
1367
- ],
1368
- "stateMutability": "view",
1369
- "type": "function"
1370
- },
1371
- {
1372
- "inputs": [],
1373
- "name": "owner",
1374
- "outputs": [
1375
- {
1376
- "internalType": "address",
1377
- "name": "",
1378
- "type": "address"
1379
- }
1380
- ],
1381
- "stateMutability": "view",
1382
- "type": "function"
1383
- },
1384
- {
1385
- "inputs": [],
1386
- "name": "pause",
1387
- "outputs": [],
1388
- "stateMutability": "nonpayable",
1389
- "type": "function"
1390
- },
1391
- {
1392
- "inputs": [],
1393
- "name": "paused",
1394
- "outputs": [
1395
- {
1396
- "internalType": "bool",
1397
- "name": "",
1398
- "type": "bool"
1399
- }
1400
- ],
1401
- "stateMutability": "view",
1402
- "type": "function"
1403
- },
1404
- {
1405
- "inputs": [
1406
- {
1407
- "internalType": "uint256",
1408
- "name": "assets",
1409
- "type": "uint256"
1410
- }
1411
- ],
1412
- "name": "previewDeposit",
1413
- "outputs": [
1414
- {
1415
- "internalType": "uint256",
1416
- "name": "",
1417
- "type": "uint256"
1418
- }
1419
- ],
1420
- "stateMutability": "view",
1421
- "type": "function"
1422
- },
1423
- {
1424
- "inputs": [
1425
- {
1426
- "internalType": "uint256",
1427
- "name": "shares",
1428
- "type": "uint256"
1429
- }
1430
- ],
1431
- "name": "previewMint",
1432
- "outputs": [
1433
- {
1434
- "internalType": "uint256",
1435
- "name": "",
1436
- "type": "uint256"
1437
- }
1438
- ],
1439
- "stateMutability": "view",
1440
- "type": "function"
1441
- },
1442
- {
1443
- "inputs": [
1444
- {
1445
- "internalType": "uint256",
1446
- "name": "shares",
1447
- "type": "uint256"
1448
- }
1449
- ],
1450
- "name": "previewRedeem",
1451
- "outputs": [
1452
- {
1453
- "internalType": "uint256",
1454
- "name": "",
1455
- "type": "uint256"
1456
- }
1457
- ],
1458
- "stateMutability": "view",
1459
- "type": "function"
1460
- },
1461
- {
1462
- "inputs": [
1463
- {
1464
- "internalType": "uint256",
1465
- "name": "assets",
1466
- "type": "uint256"
1467
- }
1468
- ],
1469
- "name": "previewWithdraw",
1470
- "outputs": [
1471
- {
1472
- "internalType": "uint256",
1473
- "name": "",
1474
- "type": "uint256"
1475
- }
1476
- ],
1477
- "stateMutability": "view",
1478
- "type": "function"
1479
- },
1480
- {
1481
- "inputs": [],
1482
- "name": "rebalance",
1483
- "outputs": [],
1484
- "stateMutability": "nonpayable",
1485
- "type": "function"
1486
- },
1487
- {
1488
- "inputs": [],
1489
- "name": "rebalanceProfit",
1490
- "outputs": [],
1491
- "stateMutability": "nonpayable",
1492
- "type": "function"
1493
- },
1494
- {
1495
- "inputs": [
1496
- {
1497
- "internalType": "contract IERC20[]",
1498
- "name": "tokens",
1499
- "type": "address[]"
1500
- },
1501
- {
1502
- "internalType": "uint256[]",
1503
- "name": "amounts",
1504
- "type": "uint256[]"
1505
- },
1506
- {
1507
- "internalType": "uint256[]",
1508
- "name": "feeAmounts",
1509
- "type": "uint256[]"
1510
- },
1511
- {
1512
- "internalType": "bytes",
1513
- "name": "userData",
1514
- "type": "bytes"
1515
- }
1516
- ],
1517
- "name": "receiveFlashLoan",
1518
- "outputs": [],
1519
- "stateMutability": "nonpayable",
1520
- "type": "function"
1521
- },
1522
- {
1523
- "inputs": [
1524
- {
1525
- "internalType": "uint256",
1526
- "name": "shares",
1527
- "type": "uint256"
1528
- },
1529
- {
1530
- "internalType": "address",
1531
- "name": "receiver",
1532
- "type": "address"
1533
- },
1534
- {
1535
- "internalType": "address",
1536
- "name": "owner",
1537
- "type": "address"
1538
- }
1539
- ],
1540
- "name": "redeem",
1541
- "outputs": [
1542
- {
1543
- "internalType": "uint256",
1544
- "name": "assets",
1545
- "type": "uint256"
1546
- }
1547
- ],
1548
- "stateMutability": "nonpayable",
1549
- "type": "function"
1550
- },
1551
- {
1552
- "inputs": [],
1553
- "name": "renounceOwnership",
1554
- "outputs": [],
1555
- "stateMutability": "nonpayable",
1556
- "type": "function"
1557
- },
1558
- {
1559
- "inputs": [],
1560
- "name": "repay",
1561
- "outputs": [],
1562
- "stateMutability": "nonpayable",
1563
- "type": "function"
1564
- },
1565
- {
1566
- "inputs": [
1567
- {
1568
- "internalType": "address",
1569
- "name": "newKeeper",
1570
- "type": "address"
1571
- },
1572
- {
1573
- "internalType": "address",
1574
- "name": "dnGmxSeniorVault",
1575
- "type": "address"
1576
- },
1577
- {
1578
- "internalType": "uint256",
1579
- "name": "newDepositCap",
1580
- "type": "uint256"
1581
- },
1582
- {
1583
- "internalType": "uint16",
1584
- "name": "withdrawFeeBps",
1585
- "type": "uint16"
1586
- },
1587
- {
1588
- "internalType": "uint24",
1589
- "name": "feeTierWethWbtcPool",
1590
- "type": "uint24"
1591
- }
1592
- ],
1593
- "name": "setAdminParams",
1594
- "outputs": [],
1595
- "stateMutability": "nonpayable",
1596
- "type": "function"
1597
- },
1598
- {
1599
- "inputs": [
1600
- {
1601
- "internalType": "bool",
1602
- "name": "_useDirectConversionBurn",
1603
- "type": "bool"
1604
- },
1605
- {
1606
- "internalType": "bool",
1607
- "name": "_useDirectConversionMint",
1608
- "type": "bool"
1609
- }
1610
- ],
1611
- "name": "setDirectConversion",
1612
- "outputs": [],
1613
- "stateMutability": "nonpayable",
1614
- "type": "function"
1615
- },
1616
- {
1617
- "inputs": [
1618
- {
1619
- "internalType": "uint16",
1620
- "name": "_feeBps",
1621
- "type": "uint16"
1622
- },
1623
- {
1624
- "internalType": "address",
1625
- "name": "_feeRecipient",
1626
- "type": "address"
1627
- }
1628
- ],
1629
- "name": "setFeeParams",
1630
- "outputs": [],
1631
- "stateMutability": "nonpayable",
1632
- "type": "function"
1633
- },
1634
- {
1635
- "inputs": [
1636
- {
1637
- "internalType": "contract IGlpManager",
1638
- "name": "_glpManager",
1639
- "type": "address"
1640
- }
1641
- ],
1642
- "name": "setGmxParams",
1643
- "outputs": [],
1644
- "stateMutability": "nonpayable",
1645
- "type": "function"
1646
- },
1647
- {
1648
- "inputs": [
1649
- {
1650
- "internalType": "contract IBalancerVault",
1651
- "name": "vault",
1652
- "type": "address"
1653
- },
1654
- {
1655
- "internalType": "contract ISwapRouter",
1656
- "name": "swapRouter",
1657
- "type": "address"
1658
- },
1659
- {
1660
- "internalType": "uint256",
1661
- "name": "targetHealthFactor",
1662
- "type": "uint256"
1663
- },
1664
- {
1665
- "internalType": "contract IRewardsController",
1666
- "name": "aaveRewardsController",
1667
- "type": "address"
1668
- }
1669
- ],
1670
- "name": "setHedgeParams",
1671
- "outputs": [],
1672
- "stateMutability": "nonpayable",
1673
- "type": "function"
1674
- },
1675
- {
1676
- "inputs": [
1677
- {
1678
- "internalType": "uint128",
1679
- "name": "rebalanceProfitUsdcAmountThreshold",
1680
- "type": "uint128"
1681
- },
1682
- {
1683
- "internalType": "contract IDnGmxTraderHedgeStrategy",
1684
- "name": "dnGmxTraderHedgeStrategy",
1685
- "type": "address"
1686
- }
1687
- ],
1688
- "name": "setParamsV1",
1689
- "outputs": [],
1690
- "stateMutability": "nonpayable",
1691
- "type": "function"
1692
- },
1693
- {
1694
- "inputs": [
1695
- {
1696
- "internalType": "uint32",
1697
- "name": "rebalanceTimeThreshold",
1698
- "type": "uint32"
1699
- },
1700
- {
1701
- "internalType": "uint16",
1702
- "name": "rebalanceDeltaThresholdBps",
1703
- "type": "uint16"
1704
- },
1705
- {
1706
- "internalType": "uint16",
1707
- "name": "rebalanceHfThresholdBps",
1708
- "type": "uint16"
1709
- }
1710
- ],
1711
- "name": "setRebalanceParams",
1712
- "outputs": [],
1713
- "stateMutability": "nonpayable",
1714
- "type": "function"
1715
- },
1716
- {
1717
- "inputs": [
1718
- {
1719
- "internalType": "address",
1720
- "name": "rewardRouter",
1721
- "type": "address"
1722
- },
1723
- {
1724
- "internalType": "address",
1725
- "name": "mintBurnRewardRouter",
1726
- "type": "address"
1727
- }
1728
- ],
1729
- "name": "setRouters",
1730
- "outputs": [],
1731
- "stateMutability": "nonpayable",
1732
- "type": "function"
1733
- },
1734
- {
1735
- "inputs": [
1736
- {
1737
- "internalType": "uint16",
1738
- "name": "slippageThresholdSwapBtcBps",
1739
- "type": "uint16"
1740
- },
1741
- {
1742
- "internalType": "uint16",
1743
- "name": "slippageThresholdSwapEthBps",
1744
- "type": "uint16"
1745
- },
1746
- {
1747
- "internalType": "uint16",
1748
- "name": "slippageThresholdGmxBps",
1749
- "type": "uint16"
1750
- },
1751
- {
1752
- "internalType": "uint128",
1753
- "name": "usdcConversionThreshold",
1754
- "type": "uint128"
1755
- },
1756
- {
1757
- "internalType": "uint128",
1758
- "name": "wethConversionThreshold",
1759
- "type": "uint128"
1760
- },
1761
- {
1762
- "internalType": "uint128",
1763
- "name": "hedgeUsdcAmountThreshold",
1764
- "type": "uint128"
1765
- },
1766
- {
1767
- "internalType": "uint128",
1768
- "name": "partialBtcHedgeUsdcAmountThreshold",
1769
- "type": "uint128"
1770
- },
1771
- {
1772
- "internalType": "uint128",
1773
- "name": "partialEthHedgeUsdcAmountThreshold",
1774
- "type": "uint128"
1775
- }
1776
- ],
1777
- "name": "setThresholds",
1778
- "outputs": [],
1779
- "stateMutability": "nonpayable",
1780
- "type": "function"
1781
- },
1782
- {
1783
- "inputs": [],
1784
- "name": "stopVestAndStakeEsGmx",
1785
- "outputs": [],
1786
- "stateMutability": "nonpayable",
1787
- "type": "function"
1788
- },
1789
- {
1790
- "inputs": [],
1791
- "name": "symbol",
1792
- "outputs": [
1793
- {
1794
- "internalType": "string",
1795
- "name": "",
1796
- "type": "string"
1797
- }
1798
- ],
1799
- "stateMutability": "view",
1800
- "type": "function"
1801
- },
1802
- {
1803
- "inputs": [],
1804
- "name": "totalAssets",
1805
- "outputs": [
1806
- {
1807
- "internalType": "uint256",
1808
- "name": "",
1809
- "type": "uint256"
1810
- }
1811
- ],
1812
- "stateMutability": "view",
1813
- "type": "function"
1814
- },
1815
- {
1816
- "inputs": [],
1817
- "name": "totalSupply",
1818
- "outputs": [
1819
- {
1820
- "internalType": "uint256",
1821
- "name": "",
1822
- "type": "uint256"
1823
- }
1824
- ],
1825
- "stateMutability": "view",
1826
- "type": "function"
1827
- },
1828
- {
1829
- "inputs": [
1830
- {
1831
- "internalType": "address",
1832
- "name": "to",
1833
- "type": "address"
1834
- },
1835
- {
1836
- "internalType": "uint256",
1837
- "name": "amount",
1838
- "type": "uint256"
1839
- }
1840
- ],
1841
- "name": "transfer",
1842
- "outputs": [
1843
- {
1844
- "internalType": "bool",
1845
- "name": "",
1846
- "type": "bool"
1847
- }
1848
- ],
1849
- "stateMutability": "nonpayable",
1850
- "type": "function"
1851
- },
1852
- {
1853
- "inputs": [
1854
- {
1855
- "internalType": "address",
1856
- "name": "from",
1857
- "type": "address"
1858
- },
1859
- {
1860
- "internalType": "address",
1861
- "name": "to",
1862
- "type": "address"
1863
- },
1864
- {
1865
- "internalType": "uint256",
1866
- "name": "amount",
1867
- "type": "uint256"
1868
- }
1869
- ],
1870
- "name": "transferFrom",
1871
- "outputs": [
1872
- {
1873
- "internalType": "bool",
1874
- "name": "",
1875
- "type": "bool"
1876
- }
1877
- ],
1878
- "stateMutability": "nonpayable",
1879
- "type": "function"
1880
- },
1881
- {
1882
- "inputs": [
1883
- {
1884
- "internalType": "address",
1885
- "name": "newOwner",
1886
- "type": "address"
1887
- }
1888
- ],
1889
- "name": "transferOwnership",
1890
- "outputs": [],
1891
- "stateMutability": "nonpayable",
1892
- "type": "function"
1893
- },
1894
- {
1895
- "inputs": [],
1896
- "name": "unpause",
1897
- "outputs": [],
1898
- "stateMutability": "nonpayable",
1899
- "type": "function"
1900
- },
1901
- {
1902
- "inputs": [],
1903
- "name": "unstakeAndVestEsGmx",
1904
- "outputs": [],
1905
- "stateMutability": "nonpayable",
1906
- "type": "function"
1907
- },
1908
- {
1909
- "inputs": [
1910
- {
1911
- "internalType": "uint256",
1912
- "name": "assets",
1913
- "type": "uint256"
1914
- },
1915
- {
1916
- "internalType": "address",
1917
- "name": "receiver",
1918
- "type": "address"
1919
- },
1920
- {
1921
- "internalType": "address",
1922
- "name": "owner",
1923
- "type": "address"
1924
- }
1925
- ],
1926
- "name": "withdraw",
1927
- "outputs": [
1928
- {
1929
- "internalType": "uint256",
1930
- "name": "shares",
1931
- "type": "uint256"
1932
- }
1933
- ],
1934
- "stateMutability": "nonpayable",
1935
- "type": "function"
1936
- },
1937
- {
1938
- "inputs": [],
1939
- "name": "withdrawFees",
1940
- "outputs": [],
1941
- "stateMutability": "nonpayable",
1942
- "type": "function"
1943
- }
1944
- ]