PoolAddressesProvider

Ethereum

0x2f39d218133afab8f2b819b1066c7e434ad94e9e

Solidity v0.8.10+commit.fc410830

🤖
Query this contract from your AI
Reference: aavev3-addresses-provider-eth 0x2f39d218133afab8f2b819b1066c7e434ad94e9e
Sample prompt: “Tell me the current state of aavev3-addresses-provider-eth”
No AI wired up yet? → mcp.smarts.md

Admin & Risk

Who can change the rules?

Block #25,169,820

Detected ownable controls from the verified ABI.

Ownable

Current controls

Owner
0x5300a1a15135ea4dc7ad5a167152c01efc9b192a ↗ Etherscan → smarts

Overview

Read Functions
10
Write Functions
12
Events
12

Read Functions

Block #25,169,820 · just now
getACLAdmin() view → 0x5300a1a15135ea4dc7ad5a167152c01efc9b192a

Returns the address of the ACL admin.

Returns

Name Type Description
address The address of the ACL admin
getACLManager() view → 0xc2aacf6553d20d1e9d78e365aaba8032af9c85b0

Returns the address of the ACL manager.

Returns

Name Type Description
address The address of the ACLManager
getAddress(id: bytes32) view

Returns an address by its identifier.

dev: It returns ZERO if there is no registered address with the given id

Parameters

Name Type Description
id bytes32 The id

Returns

Name Type Description
address The address of the registered for the specified id
getMarketId() view → Aave Ethereum Market

Returns the id of the Aave market to which this contract points to.

Returns

Name Type Description
string The market id
getPool() view → 0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2

Returns the address of the Pool proxy.

Returns

Name Type Description
address The Pool proxy address
getPoolConfigurator() view → 0x64b761d848206f447fe2dd461b0c635ec39ebb27

Returns the address of the PoolConfigurator proxy.

Returns

Name Type Description
address The PoolConfigurator proxy address
getPoolDataProvider() view → 0x0a16f2fcc0d44fae41cc54e079281d84a363becd

Returns the address of the data provider.

Returns

Name Type Description
address The address of the DataProvider
getPriceOracle() view → 0x54586be62e3c3580375ae3723c145253060ca0c2

Returns the address of the price oracle.

Returns

Name Type Description
address The address of the PriceOracle
getPriceOracleSentinel() view → 0x0000000000000000000000000000000000000000

Returns the address of the price oracle sentinel.

Returns

Name Type Description
address The address of the PriceOracleSentinel
owner() view → 0x5300a1a15135ea4dc7ad5a167152c01efc9b192a
dev: Returns the address of the current owner.

Returns

Name Type Description
address

Write Functions

renounceOwnership() nonpayable
dev: Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
setACLAdmin(newAclAdmin: address) nonpayable

Updates the address of the ACL admin.

Parameters

Name Type Description
newAclAdmin address The address of the new ACL admin
setACLManager(newAclManager: address) nonpayable

Updates the address of the ACL manager.

Parameters

Name Type Description
newAclManager address The address of the new ACLManager
setAddress(id: bytes32, newAddress: address) nonpayable

Sets an address for an id replacing the address saved in the addresses map.

dev: IMPORTANT Use this function carefully, as it will do a hard replacement

Parameters

Name Type Description
id bytes32 The id
newAddress address The address to set
setAddressAsProxy(id: bytes32, newImplementationAddress: address) nonpayable

General function to update the implementation of a proxy registered with certain `id`. If there is no proxy registered, it will instantiate one and set as implementation the `newImplementationAddress`.

dev: IMPORTANT Use this function carefully, only for ids that don't have an explicit setter function, in order to avoid unexpected consequences

Parameters

Name Type Description
id bytes32 The id
newImplementationAddress address The address of the new implementation
setMarketId(newMarketId: string) nonpayable

Associates an id with a specific PoolAddressesProvider.

dev: This can be used to create an onchain registry of PoolAddressesProviders to identify and validate multiple Aave markets.

Parameters

Name Type Description
newMarketId string The market id
setPoolConfiguratorImpl(newPoolConfiguratorImpl: address) nonpayable

Updates the implementation of the PoolConfigurator, or creates a proxy setting the new `PoolConfigurator` implementation when the function is called for the first time.

Parameters

Name Type Description
newPoolConfiguratorImpl address The new PoolConfigurator implementation
setPoolDataProvider(newDataProvider: address) nonpayable

Updates the address of the data provider.

Parameters

Name Type Description
newDataProvider address The address of the new DataProvider
setPoolImpl(newPoolImpl: address) nonpayable

Updates the implementation of the Pool, or creates a proxy setting the new `pool` implementation when the function is called for the first time.

Parameters

Name Type Description
newPoolImpl address The new Pool implementation
setPriceOracle(newPriceOracle: address) nonpayable

Updates the address of the price oracle.

Parameters

Name Type Description
newPriceOracle address The address of the new PriceOracle
setPriceOracleSentinel(newPriceOracleSentinel: address) nonpayable

Updates the address of the price oracle sentinel.

Parameters

Name Type Description
newPriceOracleSentinel address The address of the new PriceOracleSentinel
transferOwnership(newOwner: address) nonpayable
dev: Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.

Parameters

Name Type Description
newOwner address

Events

ACLAdminUpdated(oldAddress: address, newAddress: address)
Name Type Indexed Description
oldAddress address The old address of the ACLAdmin
newAddress address The new address of the ACLAdmin
ACLManagerUpdated(oldAddress: address, newAddress: address)
Name Type Indexed Description
oldAddress address The old address of the ACLManager
newAddress address The new address of the ACLManager
AddressSet(id: bytes32, oldAddress: address, newAddress: address)
Name Type Indexed Description
id bytes32 The identifier of the contract
oldAddress address The address of the old contract
newAddress address The address of the new contract
AddressSetAsProxy(id: bytes32, proxyAddress: address, oldImplementationAddress: address, newImplementationAddress: address)
Name Type Indexed Description
id bytes32 The identifier of the contract
proxyAddress address The address of the proxy contract
oldImplementationAddress address The address of the old implementation contract
newImplementationAddress address The address of the new implementation contract
MarketIdSet(oldMarketId: string, newMarketId: string)
Name Type Indexed Description
oldMarketId string The old id of the market
newMarketId string The new id of the market
OwnershipTransferred(previousOwner: address, newOwner: address)
Name Type Indexed Description
previousOwner address
newOwner address
PoolConfiguratorUpdated(oldAddress: address, newAddress: address)
Name Type Indexed Description
oldAddress address The old address of the PoolConfigurator
newAddress address The new address of the PoolConfigurator
PoolDataProviderUpdated(oldAddress: address, newAddress: address)
Name Type Indexed Description
oldAddress address The old address of the PoolDataProvider
newAddress address The new address of the PoolDataProvider
PoolUpdated(oldAddress: address, newAddress: address)
Name Type Indexed Description
oldAddress address The old address of the Pool
newAddress address The new address of the Pool
PriceOracleSentinelUpdated(oldAddress: address, newAddress: address)
Name Type Indexed Description
oldAddress address The old address of the PriceOracleSentinel
newAddress address The new address of the PriceOracleSentinel
PriceOracleUpdated(oldAddress: address, newAddress: address)
Name Type Indexed Description
oldAddress address The old address of the PriceOracle
newAddress address The new address of the PriceOracle
ProxyCreated(id: bytes32, proxyAddress: address, implementationAddress: address)
Name Type Indexed Description
id bytes32 The identifier of the proxy
proxyAddress address The address of the created proxy contract
implementationAddress address The address of the implementation contract