Skip to content

Conversation

@miklt
Copy link
Contributor

@miklt miklt commented Mar 31, 2022

Fixes #OE-12
This PR includes the entities for tracking Swap, Farm and Staking data on the Pangolin Exchange.

  • PangolinSwapData includes the volumes in token0 and token1 (and pair information) for every trade.

  • PangolinStakingData includes the reward token and staking tokens (which happens to be PNG), daily rewardRate and totalSupply of the staking token and totalStakedPNG (totalSupply <= totalStakedPNG).

  • PangolinFarmData includes the lpToken, the poolId, and the PNG per second for that farm. If the farm distributes more rewards, that info is on additionalRewards.

  • Tests

  • Documentation

  • Changelog entry

@uwe
Copy link
Contributor

uwe commented Apr 6, 2022

Please remove the files in .idea. You might want to add this to .gitignore.

@uwe
Copy link
Contributor

uwe commented Apr 6, 2022

Please also add an entry to .github/workflows/main.yml, this will build your subgraph.

@miklt
Copy link
Contributor Author

miklt commented Apr 8, 2022

Please also add an entry to .github/workflows/main.yml, this will build your subgraph.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants