Create a Deposit contract which:
- Stores the owner of the contract
- People can deposit ethers in the contract
- People can get the balance of the contract
- Owner can send amount
- Upon sending, the contract self-destructs with the total amount in the contract
- Use modifiers where it is appropriate. Add appropriate events for the functions.
Check contract on Etherscan: https://rinkeby.etherscan.io/address/0xF7a98CC7146fd38BB45C8Eb7ffC0Fb03ac5424b2
yarn hardhat run scripts/deploy.js