Taker
Search
K
Comment on page

TakerAddressesProvider

The smart contracts in Taker Protocol V2 are upgradeable through governance. The protocol keeps a global register of the latest addresses deployed on a particular network.
This contract must be used to fetch the address of the latest implementation of the LendingV2contract and ETHPool contract.
This contract is immutable and the address will never change, and it resisted in TakerAddressesProviderRegistry same with Taker Protocol V1.
Whenever the LendngiPool contract is needed, we recommended you fetch the correct address from the TakerAddressesProvider smart contract.

View Methods

getLendingPool

function getLendingPool() external view override returns (address)
Returns the address of the LendingV2 proxy.

getETHPool

function getETHPool() external view override returns (address)
Returns the address of the ETHPool proxy.