Skip to content

Address Provider

Contract functionality is documented here .

Github

The source code for the AddressProviderNG.vy contract can be found on GitHub.

Chain Contract Address
Ethereum 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Arbitrum 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Optimism 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Base 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
BinanceSmartChain 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
polygon Polygon 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Fantom circle@2x Fantom 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Gnosis 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Aurora 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Celo 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Mantle 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Linea 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
polygon Polygon zkEVM 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Scroll 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Fraxtal 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Avalanche 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
Kava 0x5ffe7FB82894076ECB99A30D6A32e969e6e35E98
X-Layer 0x5ffe7fb82894076ecb99a30d6a32e969e6e35e98
zk-Sync 0x960C90aE833af0fd699dBc2503468A07cC28FA4F

Meta Registry

Contract functionality is documented here: MetaRegistry

Github

The source code for the MetaRegistry.vy and MetaRegistryL2.vy contracts can be found on GitHub.

Each MetaRegistry is integrated into the chain-specific AddressProvider at ID = 7. To get the most recent contract, users are advised to fetch it directly from the AddressProvider contract.

For example, to query the MetaRegistry contract on Ethereum, one can call get_address(7) on the AddressProvider:

>>> AddressProvider.get_address(7)
'0xF98B45FA17DE75FB1aD0e7aFD971b0ca00e379fC'

Rate Provider

Contract functionality is documented here: RateProvider

Github

The source code for the RateProvider.vy contract can be found on GitHub.

Each RateProvider is integrated into the chain-specific AddressProvider at ID = 18.

For example, to query the RateProvider contract on Ethereum, one can call get_address(18) on the AddressProvider:

>>> AddressProvider.get_address(18)
'0xA834f3d23749233c9B61ba723588570A1cCA0Ed7'