Git Source
Defines the basic interface for a Pool Addresses Provider.
Retrieves the identifier of the Isle market associated with this contract.
function getMarketId() external view returns (string memory);
Returns
The identifier of the market.
Links a new market identifier to this PoolAddressesProvider.
Useful for creating a registry of PoolAddressesProviders for multiple Isle markets.
function setMarketId(string calldata newMarketId) external;
Parameters
The new market identifier.
Fetches an address associated with a given identifier.
Can return either a direct contract address or a proxy address.
Returns address(0) if no address is registered with the given identifier.
Parameters
The identifier of the contract to retrieve.
Returns
The address associated with the specified identifier.
setAddressAsProxy
Updates or initializes a proxy for a given identifier with a new implementation address.
Use with caution for identifiers without dedicated setter functions to prevent unintended effects.
Only use for identifiers POOL_CONFIGURATOR, LOAN_MANAGER, WITHDRAWAL_MANAGER, or ISLE_GLOBALS.
Parameters
The identifier of the contract to update.
The address of the new implementation.
The initialization parameters for the proxy contract.
Directly sets a new address for a given identifier, replacing the current address.
Use with caution as this will overwrite the existing address without any checks.
Only use for identifiers POOL_CONFIGURATOR, LOAN_MANAGER, WITHDRAWAL_MANAGER, or ISLE_GLOBALS.
Parameters
The identifier for which to set the address.
The new address to associate with the identifier.
getPoolConfigurator
Retrieves the address of the PoolConfigurator proxy.
Returns
The address of the PoolConfigurator proxy.
setPoolConfiguratorImpl
Sets or initializes the PoolConfigurator proxy with a new implementation.
Parameters
The address of the new PoolConfigurator implementation.
The initialization parameters for the PoolConfigurator.
Retrieves the address of the LoanManager proxy.
Returns
The address of the LoanManager proxy.
setLoanManagerImpl
Sets or initializes the LoanManager proxy with a new implementation.
Parameters
The address of the new LoanManager implementation.
The initialization parameters for the LoanManager.
getWithdrawalManager
Retrieves the address of the WithdrawalManager proxy.
Returns
The address of the WithdrawalManager proxy.
setWithdrawalManagerImpl
Sets or initializes the WithdrawalManager proxy with a new implementation.
Parameters
The address of the new WithdrawalManager implementation.
The initialization parameters for the WithdrawalManager.
Retrieves the address of IsleGlobals.
Returns
The address of IsleGlobals.
Sets a new address for IsleGlobals, replacing the current address in the registry.
Parameters
The new address for IsleGlobals.
Emitted when the market identifier is changed.
Parameters
The previous identifier of the market.
The new identifier of the market.
PoolConfiguratorUpdated
Emitted when the address of the PoolConfigurator is updated.
Parameters
The former address of the PoolConfigurator.
The updated address of the PoolConfigurator.
LoanManagerUpdated
Emitted when the address of the LoanManager is updated.
Parameters
The former address of the LoanManager.
The updated address of the LoanManager.
WithdrawalManagerUpdated
Emitted when the address of the WithdrawalManager is updated.
Parameters
The former address of the WithdrawalManager.
The updated address of the WithdrawalManager.
IsleGlobalsUpdated
Emitted when the address of IsleGlobals is updated.
Parameters
The former address of IsleGlobals.
The updated address of IsleGlobals.
Emitted when a new proxy is created for a contract.
Parameters
The identifier of the contract.
The address of the newly created proxy contract.
The address of the implementation contract linked to the proxy.
Emitted when a new address is registered for a contract without a proxy.
Parameters
The identifier of the contract.
The former address of the contract.
The newly registered address of the contract.
AddressSetAsProxy
Emitted when the implementation of a registered proxy is updated.
Parameters
The identifier of the contract.
The address of the proxy contract.
The former address of the implementation contract.
The updated address of the implementation contract.