- Get all new transactions since last ran
- Parse withdraws and deposits
- Parse oracle prices
- Assign oracle prices to withdraws and deposits
- Parse liquidation and partial liquidation
- Transition from sqlite to postgres
yarn install
yarn start
When the program is first run it will initialise the sqlite db and insert the last 6 hours of mango instructions and oracle price updates. Subsequent runs will insert all new transactions (since the previous run).