Providing liquidity
In order to lend to a portfolio, a lender must complete two transactions:
  • approve() gives portfolio contract allowance to spend funds on behalf of lender
  • deposit() lends a certain amount of an tokens into the protocol, minting corresponding portfolio tokens and transferring them to the lender's address
Export as PDF
Copy link