Skip to content

devopslondon2021/Shrinkeduniswapv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Links

## Sample queries

  • Finding addLiquidity on basis of Protocol name
{
  addLiquidities(first:1, orderBy: timestamp, orderDirection: desc, where:{potocolName:UNISWAP_V2}) {
    id
    hash
    logIndex
    to
    from
    blockNumber
    timestamp
    pair {
      id
      token0 {
        id
        name
        symbol
        decimals
        totalSupply
      }
      token1 {
        id
        name
        symbol
        decimals
        totalSupply
      }
        reserve0
      reserve1
    }
    potocolName
    eventType
    amountA
    amountB
    Liquidity
    
  }
}
  • First 10 events ordered by Timestamp in asending order
{
  events(first: 10, orderBy: timestamp, orderDirection: asc) {
    id
    hash
    logIndex
    to
    from
    pair {
      id
    }
    amountA
    amountB
    Liquidity
    blockNumber
    timestamp
    __typename
  } 
}

About

shrinked UniswapV2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published