Basically yVaults for sushi-swap's $SUSHI
.
Deposit $SUSHI
into the contract, and you get gSushi
, a "grazing sushi" that will attempt to yield farm $SUSHI
. Note that holding gSushi
means that you're exposed to impermenant loss, as it provides liquidity to the ETH/SUSHI Univ2 pool behind the scenes to farm more $SUSHI
.
TL;DR: Hold gSUSHI
if you're trying to accrue more $SUSHI
.
- SushiFarm 0xA0508a94848fc6c1bed5597905cD7d2bbA4A959a
- gSushi 0x339d73f9a0fbd064ea81f274437760a9db934806
Your strategy doesn't make sense
Only callable every hour. Harvests the SUSHI profits from the UNIV2-SUSHI-ETH pool. Function caller gets 0.05% of the profits to compensate for GAS.
harvest()
Converts normal $SUSHI
into gSushi
. (Sushi that grazes).
deposit(uint256 _amount)
depositAll()
Converts your gSushi
(sushi that grazes) for normal SUSHI
.
withdraw(uint256 _shares)
withdrawAll()
How much $SUSHI
does 1 gSUSHI
yield?
i.e. 1 gSUSHI = X SUSHI
getGSushiOverSushiRatio()
# Ether.js default Infura provider
export DAPP_TEST_BALANCE_CREATE=10000000000000000000000000
dapp test --rpc-url https://mainnet.infura.io/v3/84842078b09946638c03157f83405213