Long ETH
Sample code for longing Ethereum
Last updated
Sample code for longing Ethereum
Last updated
or just use your browser console.
Trigger the following uniquely designed spells to fulfill this use case. Check for generic details around casting spells.
The DSA will cast the spells across the , and connectors in the following sequence.
Benefits
Bullish on ETH? Get benefit whenever ETH goes up.
Instapool: borrow DAI
OasisDEX: swap DAI with ETH
Compound: deposit ETH
Compound: borrow DAI
Instapool: return DAI
User should have base amount of ETH to perform the leverage. Liquidation on Compound is 75% which means for $1 borrowed amount, user needs to have the balance of $0.33 worth ETH for collateral to perform this spell.