npm ERR! EEXIST: file already exists
npm ERR! File exists: /usr/bin/yarnpkg
sudo rm /usr/bin/yarnpkg
sudo npm install -g yarn
The Graph is an indexing protocol for querying networks like Ethereum and AVAX. Anyone can build and publish open APIs, called subgraphs, making data easily accessible.
We go to the Uniswap v3 playground.Uniswap uses multiple subgraphs for indexing and organizing data from the Uniswap smart contracts. …
06.09.2021 , I found error in calculating PNG rewards of Pangolin.
How to calculate PNG rewards for each pool ?
This is formula:
[(Staked Amount of the Pool) / (Total Staked Amounts in Pools)] * RewardWeight * Weekly Distributed Png Amount
RewardWeight is fixed and you can see this page in each box