pool-0-reserve
Core Functions
set-flashloan-fee-total
Sets the total fee for flash loans for a specific asset.
set-flashloan-fee-protocol
Sets the protocol fee for flash loans for a specific asset.
set-origination-fee-prc
Sets the origination fee percentage for a specific asset.
set-health-factor-liquidation-treshold
Sets the health factor liquidation threshold.
set-user-reserve-data
Sets user reserve data for a specific user and reserve.
set-user-assets
Sets user assets data for a specific user.
update-state-on-deposit
Updates the state when a user deposits assets.
update-state-on-flash-loan
Updates the state after a flash loan is executed.
update-state-on-repay
Updates the state when a user repays a loan.
update-state-on-redeem
Updates the state when a user redeems assets.
update-state-on-liquidation
Updates the state during the liquidation process.
update-state-on-borrow
Updates the state when a user borrows assets.
transfer-to-user
Transfers assets to a user.
set-user-reserve-as-collateral
Sets a user's reserve as collateral.
mint-to-treasury
Mints assets to the treasury.
transfer-to-reserve
Transfers assets to the reserve.
set-user-index
Sets the user index for a specific user and asset.
calculate-user-global-data
Calculates global data for a specific user.
aggregate-user-data
Aggregates user data for calculating global parameters.
update-reserve-interest-rates-and-timestamp
Updates the reserve interest rates and timestamp.
update-cumulative-indexes
Updates cumulative indexes for a specific asset.
Input Parameters
1. set-flashloan-fee-total
2. set-flashloan-fee-protocol
set-origination-fee-prc
set-origination-fee-prc
Sets the origination fee percentage for a specific asset.
get-health-factor-liquidation-threshold
get-health-factor-liquidation-threshold
Gets the health factor liquidation threshold.
No input parameters
set-health-factor-liquidation-treshold
set-health-factor-liquidation-treshold
Sets the health factor liquidation threshold.
set-user-reserve-data
set-user-reserve-data
Sets the reserve data for a user.
set-user-assets
set-user-assets
Sets the assets for a user.
set-configurator
set-configurator
Sets the configurator address.
set-lending-pool
set-lending-pool
Sets the lending pool address.
set-liquidator
set-liquidator
Sets the liquidator address.
set-admin
set-admin
Sets the admin address.
set-approved-contract
set-approved-contract
Sets an approved contract status.
set-optimal-utilization-rate
set-optimal-utilization-rate
Sets the optimal utilization rate for an asset.
set-base-variable-borrow-rate
set-base-variable-borrow-rate
Sets the base variable borrow rate for an asset.
set-variable-rate-slope-1
set-variable-rate-slope-1
Sets the variable rate slope 1 for an asset.
set-variable-rate-slope-2
set-variable-rate-slope-2
Sets the variable rate slope 2 for an asset.
set-liquidation-close-factor-percent
set-liquidation-close-factor-percent
Sets the liquidation close factor percent for an asset.
get-optimal-utilization-rate
get-optimal-utilization-rate
Gets the optimal utilization rate for an asset.
get-base-variable-borrow-rate
get-base-variable-borrow-rate
Gets the base variable borrow rate for an asset.
get-variable-rate-slope-1
get-variable-rate-slope-1
Gets the variable rate slope 1 for an asset.
get-variable-rate-slope-2
get-variable-rate-slope-2
Gets the variable rate slope 2 for an asset.
is-borroweable-isolated
is-borroweable-isolated
Checks if an asset is borrowable in isolation mode.
get-borroweable-isolated
get-borroweable-isolated
Gets the list of assets borrowable in isolation.
No input parameters
is-isolated-type
is-isolated-type
Checks if an asset is an isolated type.
set-borroweable-isolated
set-borroweable-isolated
Sets the assets that can be borrowed in isolation mode.
remove-isolated-asset
remove-isolated-asset
Removes an asset from the isolated assets list.
set-isolated-asset
set-isolated-asset
Sets an asset as an isolated asset.
is-borrowing-assets
is-borrowing-assets
Checks if a user is borrowing any assets.
is-in-isolation-mode
is-in-isolation-mode
Checks if a user is in isolation mode.
get-assets-used-as-collateral
get-assets-used-as-collateral
Gets the assets used as collateral by a user.
get-isolated-asset
get-isolated-asset
Gets the isolated asset for a user in isolation mode.
add-supplied-asset-ztoken
add-supplied-asset-ztoken
Adds an asset to the supplied assets list for a user when a zToken is involved.
remove-supplied-asset-ztoken
remove-supplied-asset-ztoken
Removes an asset from the supplied assets list for a user when a zToken is involved.
update-state-on-deposit
update-state-on-deposit
Updates the state of a reserve based on a deposit action.
update-state-on-flash-loan
update-state-on-flash-loan
Updates the state after a flash loan operation.
update-state-on-repay
update-state-on-repay
Updates the state of a reserve based on a repay action.
update-state-on-redeem
update-state-on-redeem
Updates the state of a reserve based on a redeem action.
update-state-on-liquidation
update-state-on-liquidation
Updates the state of reserves involved in a liquidation process.
Last updated