pool-borrow
List of Core Functions:
supply
: Supplies an asset to the protocol.withdraw
: Withdraws an asset from the protocol.borrow
: Borrows an asset from the protocol.repay
: Repays a borrowed asset.liquidation-call
: Executes a liquidation call on an undercollateralized loan.flashloan
: Executes a flash loan transaction.set-configurator
: Sets the configurator address.set-user-use-reserve-as-collateral
: Sets whether a user's reserve can be used as collateral.init
: Initializes a reserve.set-reserve
: Sets the state of a reserve.set-borrowing-enabled
: Enables or disables borrowing for a reserve.set-usage-as-collateral-enabled
: Enables or disables a reserve's usage as collateral.add-isolated-asset
: Adds an asset to the list of isolated assets.add-asset
: Adds an asset to the protocol.remove-asset
: Removes an asset from the protocol.remove-isolated-asset
: Removes an asset from the list of isolated assets.set-borroweable-isolated
: Sets an asset as borrowable when isolated assets are used as collateral.remove-borroweable-isolated
: Removes an asset from the list of borrowable assets when isolated assets are used as collateral.
Detailed Tables:
supply
supply
Supplies an asset to the protocol.
withdraw
withdraw
Withdraws an asset from the protocol.
borrow
borrow
Borrows an asset from the protocol.
repay
repay
Repays a borrowed asset.
liquidation-call
liquidation-call
Executes a liquidation call on an undercollateralized loan.
flashloan
flashloan
Executes a flash loan transaction.
set-configurator
set-configurator
Sets the configurator address.
set-user-use-reserve-as-collateral
set-user-use-reserve-as-collateral
Sets whether a user's reserve can be used as collateral.
init
init
Initializes a reserve.
set-reserve
set-reserve
Sets the state of a reserve.
set-borrowing-enabled
set-borrowing-enabled
Enables or disables borrowing for a reserve.
set-usage-as-collateral-enabled
set-usage-as-collateral-enabled
Enables or disables a reserve's usage as collateral.
add-isolated-asset
add-isolated-asset
Adds an asset to the list of isolated assets.
add-asset
add-asset
Adds an asset to the protocol.
remove-asset
remove-asset
Removes an asset from the protocol.
remove-isolated-asset
remove-isolated-asset
Removes an asset from the list of isolated assets.
set-borroweable-isolated
set-borroweable-isolated
Sets an asset as borrowable when isolated assets are used as collateral.
remove-borroweable-isolated
remove-borroweable-isolated
Removes an asset from the list of borrowable assets when isolated assets are used as collateral.
Last updated