Skip to content

Commit

Permalink
token trace
Browse files Browse the repository at this point in the history
  • Loading branch information
t4sk committed Dec 14, 2020
1 parent 728fcec commit 1785ce6
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
memo
63 changes: 63 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,64 @@
# harvest-hack

0x7eb9651a0d8afc3dcec913e889a64a35ef69a94fb82bd84adeb8d738a4208383

```
uni usdt -> eve (18.67M USDT)
uni usdc -> eve (50M USDC)
---------------------------------------------
eve 18.67M USDT 50M USDC
---------------------------------------------
### swap USDT to USDC ###
eve -> curve y swap (17.58M USDT)
curve y swap -> y usdt (17.58M USDT)
0 -> curve y swap (17.06M yUSDT)
curve y swap -> 0 (15.10M yUSDC)
y usdc -> curve y swap (17.58M USDC)
curve y swap -> eve (17.58M USDC)
---------------------------------------------
curve y swap +17.58M USDT -17.58M USDC
eve 1.09M USDT 67.58M USDC
---------------------------------------------
### deposit USDC into Harvest ###
0 -> eve (60.18M fUSDC)
eve -> f usdc (55.13M USDC)
---------------------------------------------
eve 1.09M USDT 12.45M USDC 60M fUSDC
---------------------------------------------
### swap USDC to USDC ###
eve -> curve y swap (17.60M USDC) TODO: where 17.60M USDC from ?
curve y swap -> y usdc (17.60M USDC)
0 -> curve y swap (15.12M yUSDC)
curve y swap -> 0 (17.07M yUSDT)
y usdt -> curve y swap (17.59M USDT)
curve y swap -> eve (17.59M USDT)
---------------------------------------------
curve y swap -17.59M USDT +17.60M USDC
eve +17.59M USDT -17.60M USDC
---------------------------------------------
## withdraw fUSDC from Harvest ###
eve -> 0 (60.18M fUSDC)
eve -> f usdc (55.80M USDC)
f usdc -> eve (55.49 USDC)
...
eve -> uni usdc (50.16M USDC)
eve -> uni usdt (18.69M USDT)
eve -> uni usdc ( 0.38M USDC)
uni usdc -> eve (93 WETH ($55455))
eve -> uni usdt (73 WETH ($43,599))
```

0 comments on commit 1785ce6

Please sign in to comment.