IPoolAddressesProvider
Last updated
Last updated
Defines the basic interface for a Pool Addresses Provider.
Retrieves the identifier of the Isle market associated with this contract.
Returns
<none>
string
The identifier of the market.
Links a new market identifier to this PoolAddressesProvider.
Useful for creating a registry of PoolAddressesProviders for multiple Isle markets.
Parameters
newMarketId
string
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
id
bytes32
The identifier of the contract to retrieve.
Returns
<none>
address
The address associated with the specified identifier.
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
id
bytes32
The identifier of the contract to update.
newImplementationAddress
address
The address of the new implementation.
params
bytes
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
id
bytes32
The identifier for which to set the address.
newAddress
address
The new address to associate with the identifier.
Retrieves the address of the PoolConfigurator proxy.
Returns
<none>
address
The address of the PoolConfigurator proxy.
Sets or initializes the PoolConfigurator proxy with a new implementation.
Parameters
newPoolConfiguratorImpl
address
The address of the new PoolConfigurator implementation.
params
bytes
The initialization parameters for the PoolConfigurator.
Retrieves the address of the LoanManager proxy.
Returns
<none>
address
The address of the LoanManager proxy.
Sets or initializes the LoanManager proxy with a new implementation.
Parameters
newLoanManagerImpl
address
The address of the new LoanManager implementation.
params
bytes
The initialization parameters for the LoanManager.
Retrieves the address of the WithdrawalManager proxy.
Returns
<none>
address
The address of the WithdrawalManager proxy.
Sets or initializes the WithdrawalManager proxy with a new implementation.
Parameters
newWithdrawalManagerImpl
address
The address of the new WithdrawalManager implementation.
params
bytes
The initialization parameters for the WithdrawalManager.
Retrieves the address of IsleGlobals.
Returns
<none>
address
The address of IsleGlobals.
Sets a new address for IsleGlobals, replacing the current address in the registry.
Parameters
newIsleGlobals
address
The new address for IsleGlobals.
Emitted when the market identifier is changed.
Parameters
oldMarketId
string
The previous identifier of the market.
newMarketId
string
The new identifier of the market.
Emitted when the address of the PoolConfigurator is updated.
Parameters
oldAddress
address
The former address of the PoolConfigurator.
newAddress
address
The updated address of the PoolConfigurator.
Emitted when the address of the LoanManager is updated.
Parameters
oldAddress
address
The former address of the LoanManager.
newAddress
address
The updated address of the LoanManager.
Emitted when the address of the WithdrawalManager is updated.
Parameters
oldAddress
address
The former address of the WithdrawalManager.
newAddress
address
The updated address of the WithdrawalManager.
Emitted when the address of IsleGlobals is updated.
Parameters
oldAddress
address
The former address of IsleGlobals.
newAddress
address
The updated address of IsleGlobals.
Emitted when a new proxy is created for a contract.
Parameters
id
bytes32
The identifier of the contract.
proxyAddress
address
The address of the newly created proxy contract.
implementationAddress
address
The address of the implementation contract linked to the proxy.
Emitted when a new address is registered for a contract without a proxy.
Parameters
id
bytes32
The identifier of the contract.
oldAddress
address
The former address of the contract.
newAddress
address
The newly registered address of the contract.
Emitted when the implementation of a registered proxy is updated.
Parameters
id
bytes32
The identifier of the contract.
proxyAddress
address
The address of the proxy contract.
oldImplementationAddress
address
The former address of the implementation contract.
newImplementationAddress
address
The updated address of the implementation contract.