ConfiguratorPool
This module is used to creating, deleting and setting custom pools.
Write Methods
createPool
Creating a new custom pool.
name
string
The name of the pool
deletePool
Deleting a custom pool which does not has any asset.
poolId
uint32
The id of the pool
setPoolName
Changing the name of the pool.
poolId
uint32
The id of the pool
name
string
The new name of the pool
addPoolGroup
Adding a new group to the pool. The group will be used for classify the collateral and interest rate. Each asset must belong to only one group.
poolId
uint32
The id of the pool
groupId
uint32
The id of the group and the value MUST be in [1, 2, 3]
removePoolGroup
Removing a group from the pool. The to be deleted group MUST does not have any asset belong to this group.
poolId
uint32
The id of the pool
groupId
uint32
The id of the group and the value MUST be in [1, 2, 3]
Last updated