Skip to content

imrtlfarm/audit1

Repository files navigation

immortal.audit0

immortal.farm first audit

The share token referenced in MultiVault is a Custom modification of ERC20PresetMinterPauser

***When depositing or withdrawing from a Multivault, please increase the gas limit by 2-3% manually in metamask.

In order to set up the contracts correctly you must do the following:

  1. Deploy MultiVault from stables.sol, focus.sol, duality.sol, or everything.sol
  2. Deploy ERC20PresetMinterPauser
  3. call declareShareAddress with the share address
  4. grant the MultiVault a Minter Role
  5. 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).
  6. Now the contract is ready to go.
  7. When withdrawing, you must first approve the spending enough of the share tokens by the vault.

image image

About

updated audit0 w bugfixes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published