immortal.farm first audit
The share token referenced in eqv.sol is here: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol
In order to set up the contracts correctly you must do the following:
- Deploy MultiVault from eqv.sol
- Deploy CustomERC20PresetMinterPauser from mods.sol
- call declareShareAddress with the share address
- grant the MultiVault a Minter Role
- Deposit exactly 1 FTM into the contract as the initial deposit (in the live version, the wallet that does the initial deposit will have its private key burned so that it can never be withdrawn).
- Now the contract is ready to go.
- When withdrawing, you must first approve the spending enough of the share tokens by the vault.

