Locus Finance
Ask or search…
K

How to deposit and withdraw through smart contracts

How to withdrawal

  1. 1.
    Define the vault from which you want to withdraw. At the moment we have 2 vaults on the Ethereum network and one on the Arbitrum network.
Locus Vaults Dashboard
  1. 2.
    Click on the Vault Address –– this link will take you to the blockchain browser where you can directly interact with the contract.
Vault Address Button
  1. 3.
    To get your amount of Vault token in a requirment format go to the Contract section. Then in the Read Contract section, Method 16. Enter your wallet address and you will receive your total amount of current vault tokens.
Read Contract Tab
  1. 3.
    Connect your wallet, and sign a transaction in Metamask.
Connect Wallet Button
  1. 3.
    After that go to the Contract section. Then in the Write Contract section. This section contains functions that modify the contract state.
Write Contract Section
Withdrawal Methods
  1. 4.
    We have several withdrawal methods. Simplest one - 27. You only need to enter the amount of Vault tokens you'd like to withdraw. Please note that it isn't dollars, but the specific format you copied from balanceOf method.
  2. 5.
    Enter the number of Vault's tokens in this format you'd like to withdraw click Write, and confirm the transaction in a metamask.
Withdrawal Final Step