Hi all,
This is my go at the assignment. I read through the whole thread, so @scottnik8 I hope this helps, sorry about lack of screenshots but I hope the links and description work the same way.
- Decided to perform this task in Kovan Testnet.
Started with the daily 1 KETH balance.
- Open a maker CDP and Mint some DAI tokens.
Opened CDP through Oasis, since the CDP Portal will not grant you Multi-Collateral Dai. MCD is only generated through Vaults and SCD will be shutdown https://blog.makerdao.com/introducing-oasis-borrow-and-save/.
I opened the vault with 0.5 ETH, and minted 30 DAI. This ending up with a Collateralization ratio of 220.12% given a testnet rate of 132.08 USD/ETH. Minimum ratio to not get liquidated = 150.00%.
Transaction for opening vault:
https://kovan.etherscan.io/tx/0x8f689d36b8bb9c38b712715d67ff8486063fc09a2945df472387bd24922dc622
This vault will incurr in a stability fee of 4.00%, meaning that after a year of having this DAI available, to unlock my ETH I will need to give back 104% of the minted DAI.
- Let’s park these DAI tokens into Compound, Chai or Oasis.
ETH supply rate seems attactive atm (20% APY) so I will lock a few KETH there generating interest Tx. Not too much tho, just in case I need to lock more KETH to avoid liquidation on Oasis.
I will supply my DAI as well. This would theoretically reduce my DAI Vault debt interest to (4.00% - 3.62% = 0.38%) assuming Compound supply rate stays around 3.62%.
There an additional transaction involved to enable the use of my DAI in Compound as collateral. Let’s use the supplied ETH as collateral as well - Why not.
- Borrow on a different protocol perhaps?.
For this part of the homework I will borrow right here on Compound. USDC borrow rate is attractive on Testnet(0.08%)! Check the Tx at https://kovan.etherscan.io/tx/0x401147da8adbf5a5c7abe8148533f1e6afcfed49fab06731f3f43dc792ea988d
I now have borrowed $10 USDC!
- When locking Etherum in a Maker DAO CDP and then borrowing you collateral to another protocol do you see any interesting market opportunities?
Definitely, it’s worth giving a look to the different supply and borrow rates across different platforms and see where can we find an arbitrage opportunity.
From my example, I could go and swap the USD for DAI in Kyber and pay back 10 to the Oasis vault. Now I would only owe 20 DAI to vault and 10 USDT to Compound. The difference is that interest rate on USDC loan is only 0.08% APY vs 0.38% on the DAI. Theoretically 1 DAI being equal to 1 USD, I would be generating 0.3%(big asterisks here) over time just by borrowing on USDC and paying on minted/purchased DAI that’s generating higher interest than what I have to pay.
Do you have any cool ideas of new building blocks that we can build together?
Idea above works great - as long as all rates stay the same. This doesn’t happen with a high probability in real life (Plus the transaction fees for each interaction!!! Breaks any good deal with small quantities of money).
It would be cool if we could create a building block that acts as insurance or risk cover on these rate changes.
Let me know what you think @amadeobrands and forum!