Address Provider¶
Contract functionality is documented here .
Github
The source code for the AddressProviderNG.vy
contract can be found on GitHub.
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
:
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
: