farm-army / farm-army-backend

Track your farming and pool performance on the Binance Smart Chain, Polygon, Fantom, KuCoin Community Chain, Harmony, Celo - https://farm.army - nodejs backend
https://farm.army
MIT License
107 stars 61 forks source link

ADD pancake pool (Auto) conf #32

Closed keops-sys closed 3 years ago

keops-sys commented 3 years ago

Hello Farm-army team,

Thank you for your amazing work Pancake got a new pool PANCAKE (AUTO) where a lot of users are migrating unfortunately there is no config to view data

As I am not familiar with Smart Contract, I'd rather show you what I guess is working (it works on my forked repository)

On file https://github.com/farm-army/farm-army-backend/blob/master/src/platforms/pancake/farms/pools.json

Whats is changing?

What I don't know if need changes

Here is bellow new item that could be inserted in the array from pools.js for Pancake

{
    "sousId": 0,
    "stakingToken": {
      "symbol": "CAKE",
      "address": {
        "56": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
        "97": "0xa35062141Fa33BCA92Ce69FeD37D0E8908868AAe"
      },
      "decimals": 18,
      "projectLink": "https://pancakeswap.finance/"
    },
    "earningToken": {
      "symbol": "CAKE",
      "address": {
        "56": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
        "97": "0xa35062141Fa33BCA92Ce69FeD37D0E8908868AAe"
      },
      "decimals": 18,
      "projectLink": "https://pancakeswap.finance/"
    },
    "contractAddress": {
      "56": "0xa80240Eb5d7E05d3F250cF000eEc0891d00b51CC",
      "97": "0xd3af5fe61dbaf8f73149bfcfa9fb653ff096029a"
    },
    "poolCategory": "Core",
    "harvest": false,
    "tokenPerBlock": "10",
    "sortOrder": 1,
    "isFinished": false
  }

Let me know if you want me to do more to get this update passed, it is important for me

Thank you

keops-sys commented 3 years ago

@Haehnchen