Solidity Version: ^0.8.0
-
MyTokenContract : IERC20 Interfaces. It consist of both six mandatory set of functions and three optional ones with two events.
-
Bank Contract : Contract would take ethers from the User and under the hood would stake upon Compound Protocol(cEth Rinkebt Test Network) and provide the Interest(given by compound cEth). Contract would take a %cut from the Interest when user withdraws