Exports a strategy file required to list Levana markets on the Osmosis earn page.
- Pulls all the markets from the querier
- Ignores all the ones that are winding down
- Gets current strategies file from Github
- Created strategy definitions for all the markets
riskLevel
,unlisted
,categories
are copied from existing definitions
- Log all generated strategies that were not present in the Github file
- Clone repo && npm i
- Check that all values in
config.ts
look up-to-date - npm run run
- Output will contain which markets were added, manually update categories in the outputted
strategies.json
file - Create PR to This Repo replacing all the Levana strategies with the content of the
strategies.json
file