ConfiguratorPool
Last updated
Last updated
This module is used to creating, deleting and setting custom pools.
Creating a new custom pool.
Parameter Name | Type | Description |
---|---|---|
Deleting a custom pool which does not has any asset.
Parameter Name | Type | Description |
---|---|---|
Changing the name of the pool.
Parameter Name | Type | Description |
---|---|---|
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.
Removing a group from the pool. The to be deleted group MUST does not have any asset belong to this group.
Parameter Name | Type | Description |
---|---|---|
Parameter Name | Type | Description |
---|---|---|
name
string
The name of the pool
poolId
uint32
The id of the pool
poolId
uint32
The id of the pool
name
string
The new name of the pool
poolId
uint32
The id of the pool
groupId
uint32
The id of the group and the value MUST be in [1, 2, 3]
poolId
uint32
The id of the pool
groupId
uint32
The id of the group and the value MUST be in [1, 2, 3]