Manage Position

Overview

We mainly manage users' positions through the following methods.

Supply Assets

Deposit ERC20

StepContractMethod

Deposit some ERC20 token into the pool

depositERC20

Withdraw some ERC20 token from the pool

withdrawERC20

Deposit ERC721

StepContractMethod

Deposit some ERC721 token into the pool

depositERC721

Withdraw some ERC721 token from the pool

withdrawERC721

Borrow Assets

StepContractMethod

Borrow some ERC20 token from the pool

crossBorrowERC20

Repay some ERC20 token into the pool

repayBorrowERC20

Last updated