Clamp Assignment Adwait

Multicall for fetching price of token


Requirements

For development, you will only need Node.js and a node global package, Yarn, installed in your environement.

Install

$ git clone https://github.com/adwait2001/Multicall.git
$ npm install

First we will check the price oF pairs of token using uniswap V2

$ run "node new.js" 

Screenshot (134)

Now we will check price using multicall using ethereum-multicall model

$ run "node app.js"

Screenshot (135)

Note we can see price of DAI/ETH does not change while making multicall , so we can verify authenticity of our multicall

Demo Video Link for the application

https://drive.google.com/file/d/1T4WjYdlqciD-_eMownAEQ1twcY9Raffm/view?usp=sharing