Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Settlements to DB from Action #185

Merged
merged 14 commits into from
Apr 3, 2023
Merged

Write Settlements to DB from Action #185

merged 14 commits into from
Apr 3, 2023

Commits on Mar 27, 2023

  1. Configuration menu
    Copy the full SHA
    a811acb View commit details
    Browse the repository at this point in the history
  2. fix tests to be more precise

    bh2smith committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    9da55fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    128b0ad View commit details
    Browse the repository at this point in the history
  4. change error to warning

    bh2smith committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    289a47a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d92767f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1964ca9 View commit details
    Browse the repository at this point in the history
  7. Parse event logs with ethers.js (#193)

    Introducing transaction log parsing via ethers library with appropriate Contract artifacts. Namely, we introduce dependencies on @cowprotocol/contracts which contain the abi files for GPv2Settlement and iERC20 and suffice for us to decode relevant event data from settlement transactions. For us these are Transfer, Settlement and Trade.
    
    We construct Event types out of each which only keep the parts that matter for our purposes (namely TradeEvent having owner as the only relevant field).
    bh2smith committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    df33563 View commit details
    Browse the repository at this point in the history
  8. address last points

    bh2smith committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    0248473 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e11e049 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f69cac6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1b418cd View commit details
    Browse the repository at this point in the history
  12. forgot to add new files

    bh2smith committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    c8b9f17 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Configuration menu
    Copy the full SHA
    03eb05a View commit details
    Browse the repository at this point in the history
  2. remove log statement

    bh2smith committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    c36cbf3 View commit details
    Browse the repository at this point in the history