Yield
Last updated
Last updated
function yieldBorrowERC20(uint32 poolId, address asset, uint256 amount)
Borrow an amount of underlying asset from the pool. Requires the caller to have been whitelisted and have sufficient debt quota.
Parameter Name | Type | Description |
---|---|---|
function yieldRepayERC20(uint32 poolId, address asset, uint256 amount) public
Repays an amount of underlying asset into the pool.
Parameter Name | Type | Description |
---|---|---|
poolId
uint32
The id of the pool
asset
address
The address of the underlying asset to deposit
amount
uint256
The underlying amount to be deposited, expressed in underlying asset decimals units
poolId
uint32
The id of the pool
asset
address
The address of the underlying asset to deposit
amount
uint256
The underlying amount to be deposited, expressed in underlying asset decimals units