exactly / liquidation-bot

bot and contract for liquidating accounts in exactly protocol.

Home Page:https://exact.ly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New blocks notification

pmolina opened this issue · comments

  • Change transport layer from HTTP to WebSocket
  • Change provider connector from polling system to a streaming system
  • Change the reading process from parsing all events from a block at once to parse each event
  • Use a debounce pattern to check for liquidations only when no more events are received