solidity-mentorship
solidity-mentorship copied to clipboard
Vault 2 (Wrapper)
A Vault that inherits from ERC20.
When the users deposit Token (another ERC20) they receive Vault tokens in the same amount.
To recover their initial Token, the users must burn the Vault tokens they originally received.
When done, have a look at WETH9.