Coder Social home page Coder Social logo

wrap-statistics's Introduction

Wrap statistics

This project watches for Tezos, Ethereum and IPFS to build statistics about the $WRAP protocol.

It watches :

  • ERC20/ERC721 locks and unlocks on Ethereum side
  • Quorum configuration
  • Quorum signers activity on IPFS
  • FA2 Tokens minting and unminting on Tezos side

Build and run

yarn lint yarn build node build/src/index.js

API

You can access a json http api on http://localhost:3000/[api_version] Current api version is "v1"

Endpoint [host:port/version]/locks

Exposes :

  • ethereumSymbol = Ethereum token symbol, ie : LINK
  • token = Ethereum token address, ie : 0x514910771af9ca656af840dff83e8264ecf986ca
  • lockCount = total unique lock contract calls
  • tokenVolume = total number of tokens that was locked on the contract
  • lockUsdTotalValue = Total locked usd value at the time of the lock. For each lock, the notional value of has been recorded at the time of the transaction.
  • currentUsdTotalValue = Total locked current usd value

This endpoint accepts query filters on :

  • ethereumFrom
  • token
  • ethereumSymbol
  • tezosTo

Exposes array of wrapping volume :

  • begin: start of the interval in ms
  • end: start of the interval in ms
  • usd: total locked usd value at the time of locking on the interval
  • data : array of all tokens with their corresponding usd wrapped values

This endpoints accepts query filters on :

  • interval => value "days" or "weeks"

Return the wrapped usd volume of the last rolling 24h for all tokens

wrap-statistics's People

Contributors

couillardcharles avatar daviddumon avatar bodysplash avatar

Watchers

 avatar  avatar James Cloos avatar

Forkers

top1st

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.