Strategy registry holds a list of approved strategies that can be used within the sublime ecosystem. Initially Aave, Compound and Yearn will be supported for use within sublime ecosystem. Though users can build more complex custom strategies to invest their tokens in the future.
getStrategies
This function helps to query the list of supported strategies in the sublime ecosystem.
functiongetStrategies()returns(address[])
RETURN: List of supported strategies for sublime ecosystem
registry
This function helps to check if a specified strategy is supported.
functionregistry(address strategy)returns(bool)
strategy: Address of the strategy to check for support
RETURN: boolean which represents if strategy is supported