
pool-reserve-data
set-flashloan-fee-protocol: Sets the protocol fee for flash loans for a given asset.get-flashloan-fee-protocol: Retrieves the protocol fee for flash loans for a given asset.set-health-factor-liquidation-threshold: Sets the health factor liquidation threshold.get-health-factor-liquidation-threshold: Gets the health factor liquidation threshold.set-protocol-treasury-addr: Sets the address of the protocol treasury.get-protocol-treasury-addr: Gets the address of the protocol treasury.set-reserve-vault: Sets the reserve vault address.get-reserve-vault: Gets the reserve vault address.set-user-reserve-data: Sets the reserve data for a user.delete-user-reserve-data: Deletes the reserve data for a user.get-user-reserve-data: Gets the reserve data for a user.set-user-assets: Sets the user's assets.delete-user-assets: Deletes a user's assets.get-user-assets: Gets a user's assets.set-reserve-state: Sets the state of a reserve.delete-reserve-state: Deletes the state of a reserve.get-reserve-state: Gets the state of a reserve.set-user-index: Sets the user index for an asset.delete-user-index: Deletes the user index for an asset.get-user-index: Gets the user index for an asset.set-assets: Sets the list of assets in the protocol.get-assets: Gets the list of assets in the protocol.set-isolated-assets: Sets whether an asset is isolated.delete-isolated-assets: Deletes the isolated status of an asset.get-isolated-assets: Gets the isolated status of an asset.set-borroweable-isolated: Sets the list of assets that can be borrowed using isolated assets as collateral.get-borroweable-isolated: Gets the list of assets that can be borrowed using isolated assets as collateral.set-optimal-utilization-rate: Sets the optimal utilization rate for an asset.get-optimal-utilization-rate: Gets the optimal utilization rate for an asset.set-base-variable-borrow-rate: Sets the base variable borrow rate for an asset.get-base-variable-borrow-rate: Gets the base variable borrow rate for an asset.set-variable-rate-slope-1: Sets the first slope of the variable borrow rate for an asset.get-variable-rate-slope-1: Gets the first slope of the variable borrow rate for an asset.set-variable-rate-slope-2: Sets the second slope of the variable borrow rate for an asset.get-variable-rate-slope-2: Gets the second slope of the variable borrow rate for an asset.set-liquidation-close-factor-percent: Sets the liquidation close factor percentage for an asset.get-liquidation-close-factor-percent: Gets the liquidation close factor percentage for an asset.set-origination-fee-prc: Sets the origination fee percentage for an asset.get-origination-fee-prc: Gets the origination fee percentage for an asset.set-reserve-factor: Sets the reserve factor for an asset.get-reserve-factor: Gets the reserve factor for an asset.set-contract-owner: Sets the owner of the contract.get-contract-owner: Gets the owner of the contract.is-contract-owner: Checks if a given principal is the contract owner.set-approved-contract: Approves or revokes a contract's access to modify protected state variables.delete-approved-contract: Deletes an approved contract from the list of approved contracts.is-approved-contract: Checks if a contract is approved.
set-flashloan-fee-protocol
set-flashloan-fee-protocolSets the protocol fee for flash loans for a given asset.
asset
principal
The asset for which the fee is set.
fee
uint
The fee amount.
get-flashloan-fee-protocol
get-flashloan-fee-protocolRetrieves the protocol fee for flash loans for a given asset.
asset
principal
The asset for which the fee is retrieved.
set-health-factor-liquidation-threshold
set-health-factor-liquidation-thresholdSets the health factor liquidation threshold.
hf
uint
The health factor liquidation threshold value.
get-health-factor-liquidation-threshold
get-health-factor-liquidation-thresholdGets the health factor liquidation threshold.
set-protocol-treasury-addr
set-protocol-treasury-addrSets the address of the protocol treasury.
protocol-treasury
principal
The new protocol treasury address.
get-protocol-treasury-addr
get-protocol-treasury-addrGets the address of the protocol treasury.
set-reserve-vault
set-reserve-vaultSets the reserve vault address.
new-reserve-vault
principal
The new reserve vault address.
get-reserve-vault
get-reserve-vaultGets the reserve vault address.
set-user-reserve-data
set-user-reserve-dataSets the reserve data for a user.
user
principal
The user's identifier.
reserve
principal
The reserve identifier.
data
tuple
The reserve data for the user.
delete-user-reserve-data
delete-user-reserve-dataDeletes the reserve data for a user.
user
principal
The user's identifier.
reserve
principal
The reserve identifier.
get-user-reserve-data
get-user-reserve-dataGets the reserve data for a user.
user
principal
The user's identifier.
reserve
principal
The reserve identifier.
set-user-assets
set-user-assetsSets the user's assets.
user
principal
The user's identifier.
data
tuple
The assets data for the user.
delete-user-assets
delete-user-assetsDeletes a user's assets.
user
principal
The user's identifier.
get-user-assets
get-user-assetsGets a user's assets.
user
principal
The user's identifier.
set-reserve-state
set-reserve-stateSets the state of a reserve.
reserve
principal
The reserve identifier.
data
tuple
The state data for the reserve.
delete-reserve-state
delete-reserve-stateDeletes the state of a reserve.
reserve
principal
The reserve identifier.
get-reserve-state
get-reserve-stateGets the state of a reserve.
reserve
principal
The reserve identifier.
set-user-index
set-user-indexSets the user index for an asset.
user
principal
The user's identifier.
asset
principal
The asset identifier.
data
uint
The index data.
delete-user-index
delete-user-indexDeletes the user index for an asset.
user
principal
The user's identifier.
asset
principal
The asset identifier.
get-user-index
get-user-indexGets the user index for an asset.
user
principal
The user's identifier.
asset
principal
The asset identifier.
set-assets
set-assetsSets the list of assets in the protocol.
data
list principal
The list of asset identifiers.
get-assets
get-assetsGets the list of assets in the protocol.
set-isolated-assets
set-isolated-assetsSets whether an asset is isolated.
reserve
principal
The reserve identifier.
data
bool
Whether the asset is isolated.
delete-isolated-assets
delete-isolated-assetsDeletes the isolated status of an asset.
reserve
principal
The reserve identifier.
get-isolated-assets
get-isolated-assetsGets the isolated status of an asset.
reserve
principal
The reserve identifier.
set-borroweable-isolated
set-borroweable-isolatedSets the list of assets that can be borrowed using isolated assets as collateral.
data
list principal
The list of asset identifiers.
get-borroweable-isolated
get-borroweable-isolatedGets the list of assets that can be borrowed using isolated assets as collateral.
set-optimal-utilization-rate
set-optimal-utilization-rateSets the optimal utilization rate for an asset.
asset
principal
The asset identifier.
rate
uint
The optimal utilization rate.
get-optimal-utilization-rate
get-optimal-utilization-rateGets the optimal utilization rate for an asset.
asset
principal
The asset identifier.
set-base-variable-borrow-rate
set-base-variable-borrow-rateSets the base variable borrow rate for an asset.
asset
principal
The asset identifier.
rate
uint
The base variable borrow rate.
get-base-variable-borrow-rate
get-base-variable-borrow-rateGets the base variable borrow rate for an asset.
asset
principal
The asset identifier.
set-variable-rate-slope-1
set-variable-rate-slope-1Sets the first slope of the variable borrow rate for an asset.
asset
principal
The asset identifier.
rate
uint
The first slope rate.
get-variable-rate-slope-1
get-variable-rate-slope-1Gets the first slope of the variable borrow rate for an asset.
asset
principal
The asset identifier.
set-variable-rate-slope-2
set-variable-rate-slope-2Sets the second slope of the variable borrow rate for an asset.
asset
principal
The asset identifier.
rate
uint
The second slope rate.
get-variable-rate-slope-2
get-variable-rate-slope-2Gets the second slope of the variable borrow rate for an asset.
asset
principal
The asset identifier.
set-liquidation-close-factor-percent
set-liquidation-close-factor-percentSets the liquidation close factor percentage for an asset.
asset
principal
The asset identifier.
rate
uint
The liquidation close factor percentage.
get-liquidation-close-factor-percent
get-liquidation-close-factor-percentGets the liquidation close factor percentage for an asset.
asset
principal
The asset identifier.
set-origination-fee-prc
set-origination-fee-prcSets the origination fee percentage for an asset.
asset
principal
The asset identifier.
prc
uint
The origination fee percentage.
get-origination-fee-prc
get-origination-fee-prcGets the origination fee percentage for an asset.
asset
principal
The asset identifier.
set-reserve-factor
set-reserve-factorSets the reserve factor for an asset.
asset
principal
The asset identifier.
factor
uint
The reserve factor.
get-reserve-factor
get-reserve-factorGets the reserve factor for an asset.
asset
principal
The asset identifier.
set-contract-owner
set-contract-ownerSets the owner of the contract.
owner
principal
The new contract owner.
get-contract-owner
get-contract-ownerGets the owner of the contract.
is-contract-owner
is-contract-ownerChecks if a given principal is the contract owner.
caller
principal
The caller to check.
set-approved-contract
set-approved-contractApproves or revokes a contract's access to modify protected state variables.
contract
principal
The contract to approve or revoke.
enabled
bool
true to approve, false to revoke.
delete-approved-contract
delete-approved-contractDeletes an approved contract from the list of approved contracts.
contract
principal
The contract to delete.
is-approved-contract
is-approved-contractChecks if a contract is approved.
contract
principal
The contract to check.
Last updated