j2abro - Overview

View j2abro's full-sized avatar

John Abraham j2abro

Block or report j2abro

Pinned Loading

  1. Forta agent to detect arbitrage attacks on Uniswap V2

    TypeScript 11 3

  2. 1

    // Get the first Uniswap V2 pairs. Sorted, starting at zero. Get the next 1000 by setting skip to 1000

    2

    // https://thegraph.com/hosted-service/subgraph/uniswap/uniswap-v2

    3

    // https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2/graphql
  3. 2

    from collections import Counter

    3

    # Count unique OFACs SDN addresses

    5

    # https://www.treasury.gov/ofac/downloads/sdnlist.txt
  4. Exploring Sparse Merkle Trees and State Synchronization in Polygon AggLayer