Archi Finance

Supply Liquidity

To execute supply:
  • Approve the AbstractVault contract a big number for the token you would like to supply.
  • call AbstractVault.addLiquidity with parameters _amountIn : Amount you want to supply
  • Function return amount of token supplied
To execute withdraw liquidity:
  • call AbstractVault.removeLiquidity with parameters _amountOut : Amount you want to withdraw
To execute Claim reward
  • call CreditCaller.claimFor with parameters _target : supply base reward pool _recipient : Address that will receive supply interest