CallableLoanConfigHelper
CallableLoanConfigHelper
A convenience library for getting easy access to other contracts and constants within the protocol, through the use of the IGoldfinchConfig contract
getUSDC
function getUSDC(contract IGoldfinchConfig config) internal view returns (contract IERC20UpgradeableWithDec)
getPoolTokens
function getPoolTokens(contract IGoldfinchConfig config) internal view returns (contract IPoolTokens)
getGo
function getGo(contract IGoldfinchConfig config) internal view returns (contract IGo)
poolTokensAddress
function poolTokensAddress(contract IGoldfinchConfig config) internal view returns (address)
usdcAddress
function usdcAddress(contract IGoldfinchConfig config) internal view returns (address)
reserveAddress
function reserveAddress(contract IGoldfinchConfig config) internal view returns (address)
protocolAdminAddress
function protocolAdminAddress(contract IGoldfinchConfig config) internal view returns (address)
goAddress
function goAddress(contract IGoldfinchConfig config) internal view returns (address)
getDrawdownPeriodInSeconds
function getDrawdownPeriodInSeconds(contract IGoldfinchConfig config) internal view returns (uint256)
getLatenessGracePeriodInDays
function getLatenessGracePeriodInDays(contract IGoldfinchConfig config) internal view returns (uint256)
getReserveDenominator
function getReserveDenominator(contract IGoldfinchConfig config) internal view returns (uint256)
getWithdrawFeeDenominator
function getWithdrawFeeDenominator(contract IGoldfinchConfig config) internal view returns (uint256)