Custom Pools
Overview
This guide can assist our partners to manage custom pools based on the V2 protocol.
Prerequisites
Ethereum Node RPC, E.g. Alchemy or Infura.
Web3 SDK, E.g. Webjs.
Deployed Contract Addresses, E.g. Mainnet.
ABI json files at here.
Creating Custom Pools
The following smart contract methods require operation permissions and can only be operated by DAO governance thourgh multi-signatures. Please contact the development team to assist you in creating a pool. We will provide new permissionless public methods as soon as possible.
Step
Contract
Method
Setting asset risk parameters
setAssetClassGroup
setAssetCollateralParams
setAssetProtocolFee
setAssetActive
setAssetBorrowing
setAssetFlashLoan
Supply Assets
Deposit ERC20
Deposit ERC721
Borrow Assets
Step
Contract
Method
Last updated