Arbitrove
Search
K

Address Registry

The Address Registry contract is used to manage the mapping of strategies to supported coins. The contract is upgradeable.

Functions

getCoinToStrategy

This function takes an address u and returns the strategies associated with that coin.

getStrategyWhitelisted

This function takes a strategy s and returns a boolean indicating whether the strategy is whitelisted.

init

This 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.

addStrategy

This 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.