Address Registry
The Address Registry contract is used to manage the mapping of strategies to supported coins. The contract is upgradeable.
Last updated
The Address Registry contract is used to manage the mapping of strategies to supported coins. The contract is upgradeable.
getCoinToStrategyThis function takes an address u and returns the strategies associated with that coin.
getStrategyWhitelistedThis function takes a strategy s and returns a boolean indicating whether the strategy is whitelisted.
initThis function is an initializer function that sets up the contract. It takes three parameters:
_oracleSigner: The address of the oracle signer.
_vault: The address of the vault.
_feeOracle: The address of the fee oracle.
addStrategyThis function adds a strategy to the whitelist and associates it with one or more supported coins. The function takes two parameters:
strategy: The strategy to be added.
components: An array of addresses of supported coins.
Last updated