Skip to main content

ConfigurationHelper

ConfigHelper

A convenience library for getting easy access to other contracts and constants within the protocol, through the use of the Registry contract

getAddress

function getAddress(contract Registry registry, enum Configuration.CONTRACT_TYPE contractType) internal view returns (address)

getSecuritizationManager

function getSecuritizationManager(contract Registry registry) internal view returns (contract ISecuritizationManager)

getSecuritizationPool

function getSecuritizationPool(contract Registry registry) internal view returns (contract IPool)

getNoteTokenFactory

function getNoteTokenFactory(contract Registry registry) internal view returns (contract INoteTokenFactory)

getTokenGenerationEventFactory

function getTokenGenerationEventFactory(contract Registry registry) internal view returns (contract ITokenGenerationEventFactory)

getLoanAssetToken

function getLoanAssetToken(contract Registry registry) internal view returns (contract LoanAssetToken)

getLoanKernel

function getLoanKernel(contract Registry registry) internal view returns (contract ILoanKernel)

getSecuritizationPoolValueService

function getSecuritizationPoolValueService(contract Registry registry) internal view returns (contract ISecuritizationPoolValueService)

getGo

function getGo(contract Registry registry) internal view returns (contract IGo)

getNoteTokenVault

function getNoteTokenVault(contract Registry registry) internal view returns (contract INoteTokenVault)

requireSecuritizationManager

function requireSecuritizationManager(contract Registry registry, address account) internal view

requireLoanKernel

function requireLoanKernel(contract Registry registry, address account) internal view