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
Sonic 0x87FE17697D0f14A222e8bEf386a0860eCffDD617
Taiko 0x87FE17697D0f14A222e8bEf386a0860eCffDD617
Corn 0xd2002373543Ce3527023C75e7518C274A51ce712
Ink 0x604388Bb1159AFd21eB5191cE22b4DeCdEE2Ae22

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'