Giter Club home page Giter Club logo

farm-army / farm-army-backend Goto Github PK

View Code? Open in Web Editor NEW
107.0 10.0 63.0 2.12 MB

Track your farming and pool performance on the Binance Smart Chain, Polygon, Fantom, KuCoin Community Chain, Harmony, Celo - https://farm.army - nodejs backend

Home Page: https://farm.army

License: MIT License

JavaScript 93.28% TypeScript 6.71% Shell 0.01%
bsc binance blockchain smart-contracts yield yield-farming smart-chain nodejs binance-smart-chain portfolio

farm-army-backend's People

Contributors

dskarasev avatar haehnchen avatar sooth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

farm-army-backend's Issues

ADD pancake pool (Auto) conf

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?

  • contractAddress(56): set to new address 0xa80240Eb5d7E05d3F250cF000eEc0891d00b51CC
  • harvest : set to false because auto compound

What I don't know if need changes

  • tokenPerBlock
  • contractAddress(97) : I don't know hot to find testnet contract from a mainnet contract

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

Wrong total calculation

Hi team,

I noticed that the total net worth calculation on farm.army is wrong. It is adding the total in vaults including the profits, and then adding the profits again. I think the "vaults total" should not include accrued profits.

Please see the following screen from a random 0x :

image

Thanks in advance for your awesome work :)

Value vFarms with vesting show incorrect pending rewards

The pending rewards shown for Value DeFi vFarms are incorrect for farms that have a vesting mechanism.
Example pool: 30% rewards available immediately and 70% eligible for vesting after block X distributed linearly until block Y.

When I claim my rewards, the pending to harvest resets to zero on farm.army, but the number increases as if its the full amount of the vested (claimable) and unvested (unclaimable) portions.

I suggest displaying and breaking down the two amounts separately so the user can see dollar values and amounts of the claimable and unclaimable portions of the rewards.

Support CROissant

Hi team,

It would be awesome to track staked LPs and CROISSANTs on CROissant ! :)

Unlike traditional games that operate in black boxes, Croissant Games runs on smart contracts that are fair, transparent, non-custodian, and immutable. Furthermore, we have a proprietary gasless model utilising EIP-712, meaning that playing any of our games will not require any gas fees from the player's end!

Dapp : https://croissant.games/
Staking : https://croissant.games/pool
Docs : https://croissant-games.gitbook.io/

Thanks in advance for your consideration ๐Ÿ‘

the prices api should have an address

for example, there are 2 addresses with a token called milk:

0x8e9f5173e16ff93f81579d73a7f9723324d6b6af
0x076d6e83649c166aa06dfc6383b28046e46bef77

and when you query prices, you get:

milk -> 4.8877940645606275
milk2 -> 0.2667732801025411

it's not possible to know which one is which.

on the other hand, there are 3 addresses with a token called bsocks, but only one entry in the price list.

Suggestion: Adding the information if the vault is auto-compounding

It would be a nice to have a parameter which indicates whether the vault is auto-compounding or not, which means if the vault is currently reinvesting your assets + yield at a given time period and therefore actually generating APY.
So in this case the user won't have to reinvest it manually.

Alpaca showing balances too high

If you go to the farming page of an open farming posistion you see something like this:

image

Note the 3 BNB amounts. Posistion, debt and equity. The posistion is the total being farmed, the debt is how much is being borrowed to achieve that, and the equity is the difference, which is how much your posistion is actually worth if you withdraw.

Right now with FARM.army shows this:
image
which is 93 BNB which is the same as the posistion value shown on the site.

Basically you need to either grab the "equity" value of bnb, or subtract the debt from the posistion in order to get the actual equity.

Drop me a comment if you want a wallet address, but I think this is clear and should be easy to fix.

Support CRO Predict

Hi team,

It would be awesome to track staked LPs and CRPs on CRO Predict! :)

CRO Predict is a prediction market maker GameFi on the Cronos Chain, it's a play-to-earn (predict-to-earn) GameFi. Users will be able to Predict BTC, ETH, CRO, LTC, Doge and earn CRP rewards after winning. Predict crypto prices, sports games and gain experience in the arena, as well as earn rewards while at it.

Dapp : https://cropredict.finance/
Staking : https://cropredict.finance/staking
Farming : https://cropredict.finance/farming

Thanks in advance for your consideration ๐Ÿ‘

[Request] Support O3 Swap

Site: https://o3swap.com/

Request feature:

  • Vault assets tracking
  • Hub assets tracking

Extra info:

I love farm.army. It's a good tool for tracking my assets without any setup (just wallet address). But O3 swap vault and hub are missing but I can't do anything for that.

My suggestion is: provide a mechanism to help users adding a new platform or less-known platform.

CakeBunny wrong data

2021-03-29 19_29_55-farm army - Farm   Liquidity Pools - Binance Smart Chain - Vivaldi

I think the pictures describes all. Three different vaults, but same yield and TVL. On Cakebunny, they all have different values.

Comprehensive onboarding for all BSC farms as listed on vfat tools

Please onboard all BSC farms - can potentially re-use their code if available.
https://vfat.tools/bsc/

As of 3/11/21 their BSC list includes:
************************ BINANCE SMART CHAIN *************************

---Pool Provider--- --------LP-------- --Reward Tokens-- --INFO--
Pancake Various CAKE https://pancakeswap.finance
Apeswap Various BANANA https://apeswap.finance
Autofarm Various AUTOFARM https://autofarm.network
Bake Various BAKE https://www.bakeryswap.org
Brew Various BREW https://cafeswap.finance
Donut Various DONUT https://donutdefi.com
Pumpkin Various PUMP https://pumpkindefi.org
Teamrocket Various MEOWTH https://teamrocket.app/farms
Ramen Various RAMENSWAP https://ramenswap.finance
Rose Various ROSE https://roseswap.app
Goose Various GOOSE https://www.goosedefi.com
Salt Various SALT https://www.saltswap.finance
Soup Various SOUP/SOUPS https://soups.finance
Kebab Various KEBAB https://kebabfinance.com
Kimochi Various KIMOCHI https://kimochi.finance
Viking Various VIKING https://www.vikingswap.finance
Xoxo Various XOXO https://xoxo.finance
Nyan Various NYAN https://yieldnyan.com
bDollar Various BDO/sBDO/bBDO https://bdollar.fi
Beluga Various BELUGA https://belugaprotocol.org
BoltDollar Various BTD/BTS/BTB https://boltdollar.finance
Nya Cash Various NYAS/NYAC https://nya.cash
YieldScienceLabs Various Various https://yieldlab.science
Icecream Various GLTO https://icecreamswap.finance
Mochi Various MOCHI https://pool.mochiswap.io
Oat Various OAT https://oatswap.org
ValueDefi Various vBSWAP https://bsc.valuedefi.io/#/vfarm
Taste Various TASTE https://taste.finance
MonsterSlayer Various MSS/MSC https://monsterslayer.finance
Kickstart Various KICK https://kickstart.finance
Boba Various BOBA https://bobadefi.com
MidasDollar Various MDS/MDO https://midasdollar.fi
Slime Various SLIME http://slime.finance
Lotus Various LOTUS https://lotusfinance.org/farms
Stakd Various STAKD https://app.stakd.finance
Glacier Various ICE https://glacierswap.org/farms/
Alpaca Various ALPACA https://app.alpacafinance.org
UFO Swap Various UFO https://ufodefi.com
Mythic Various MAGIC https://www.mythic.finance
Wault Various WAULT https://app.wault.finance
Wantanmee Various MEE/MES https://wantanmee.finance
Acryptos Various ACS https://app.acryptos.com
Sashimi Various SASHIMI https://bsc.sashimi.cool
Beefy Various BIFI https://app.beefy.finance
Toad Swap Various TOAD https://toad.farm
Nut Various NUT https://www.nutdefi.finance/
Koala Various LYPTUS https://koaladefi.finance/
Yoda Various YODA https://yodaswap.finance/
Duck Various DUCK https://duckswap.finance/
Taco Various TACO https://taco.finance/
Teddy Various TEDDY https://teddy.bears.finance/
Gemz Various GEMZ https://www.gemz.finance/
Pyramid Various RA https://pyramidswap.com/
Jalapenos Various JLP https://jalapenos.finance/
Fed Various FED https://fedswap.finance/
Coral Various CRL https://coralfarm.finance/
Duck Money Various DUCK https://duck.money/
Gyro Various GYRO https://gyroswap.finance/
Iron Finance Various SIL https://iron.finance/
BVaults Various Various https://bvaults.fi
MidasGold Various MDG/BCASH/MDO https://midasgold.network/
Nerve Various NRV https://nerve.fi
Hyperjump Various ALLOY https://farm.hyperjump.fi
Berry Various BRY https://berrydata.co
Belt Various BELT https://beta.belt.fi
Julswap Various Various https://julswap.com
Blueswap Various BLUE https://app.blueswap.finance
Brickchain Various BRICK https://brickchain.finance

Rewards tokens with no price on bscscan incorrectly default to $1.00

I noticed that the reward token value for SEEDS shows a dollar value of the exact amount of SEEDS. This leads me to believe that there is logic that is defaulting the token value to $1.00 if there is no data available. This is incorrect. This should either show as "Not Available" or a swap service like Value's vSwap should be used for pricing if there is no price information on bscscan.

Frontend repo?

Hi, could you post your fronted repo so we can submit some PRs to enhance/improve it? For example, mobile view could benefit from some work

Blizzard.Money - New Contracts for XBLZD

Blizzard.Money moved to new masterchef and token this past week for v2 upgrade

xBlzd Token Contract: 0x9a946c3Cb16c08334b69aE249690C236Ebd5583E
YetiMaster: 0x367CdDA266ADa588d380C7B970244434e4Dde790

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.