RiskFundConverter
RiskFundConverter
This contract extends the AbtractTokenConverter contract. It maintains a distribution of assets per comptroller and assets. ProtocolShareReserve will send RiskFund's share of income to this contract which will convert the assets and send them to RiskFund.
Solidity API
CORE_POOL_COMPTROLLER
Address of the core pool comptroller
VBNB
Address of the vBNB
NATIVE_WRAPPED
Address of the native wrapped currency
poolRegistry
Address of pool registry contract
poolsAssetsDirectTransfer
The mapping contains the assets for each pool which are sent to RiskFund directly
setPoolsAssetsDirectTransfer
Update the poolsAssetsDirectTransfer mapping
Parameters
📅 Events
PoolAssetsDirectTransferUpdated emits on success
⛔️ Access Requirements
Restricted by ACM
balanceOf
Get the balance for specific token
Parameters
Return Values
getPools
Get the array of all pools addresses
Parameters
Return Values
Last updated