Manage Position

Overview

We mainly manage users' positions through the following methods.

Supply Assets

Deposit ERC20

Step
Contract
Method

Deposit some ERC20 token into the pool

depositERC20

Withdraw some ERC20 token from the pool

withdrawERC20

Deposit ERC721

Step
Contract
Method

Deposit some ERC721 token into the pool

depositERC721

Withdraw some ERC721 token from the pool

withdrawERC721

Borrow Assets

Step
Contract
Method

Borrow some ERC20 token from the pool

crossBorrowERC20

Repay some ERC20 token into the pool

repayBorrowERC20

Last updated