Giter VIP home page Giter VIP logo

vfat-tools's Issues

Request - demeter finance

Are you planning on adding demeterfinance.org

Thanks in advance for either a yes or a no!!
I love your website. Where is the donation address?

Apeswap page errors out

*************** ๐Ÿ‘จโ€๐ŸŒพ UNOFFICIAL APESWAP.FINANCE FARMING CALCULATOR ๐Ÿ‘จโ€๐ŸŒพ ***************
INFO : https://apeswap.finance


Tue Mar 23 2021 20:28:41 GMT-0700 (Pacific Daylight Time)

Initialized 0x2b354cfa9170febc4829d499af094c70c7920334

Reading smart contracts...

{
"reason": null,
"code": "CALL_EXCEPTION",
"method": "cakePerBlock()",
"errorSignature": null,
"errorArgs": [
null
],
"address": "0x5c8D727b265DBAfaba67E050f2f739cAeEB4A6F9",
"args": [],
"transaction": {
"data": "0x0755e0b6",
"to": "0x5c8D727b265DBAfaba67E050f2f739cAeEB4A6F9"
}
}
Oops something went wrong. Try refreshing the page.

Dynamic peg for VTD

Variable Time Dollar has moved to a dynamically calculated peg:

https://vtdollar.medium.com/vip4-the-mechanics-behind-vtds-dynamic-peg-9385d5767157

This article introduces Momentum Price (MP). Comparing TWAP to MP at the end of the epoch is what determines whether supply will contract or expand:

If Price > Mprevious : then the next epoch is a Contango Epoch
If Price < Mprevious : then the next epoch is a Backwardation Epoch

where:
Price = TWAP at the end of epoch, currently 3.37 DSD (at the end of epoch 99)
Mprevious = MP at the end of epoch, currently 3.44 DSD (at the end of epoch 99)

Price < Mprevious, therefore next epoch (100) will be in contraction (see picture capturing epoch 100)

VTD Prices

RULER - Unpredictable gas limit

I'm getting a recurring error message when trying to pull up vfat.tools/ruler

{
"reason": "cannot estimate gas; transaction may fail or may require manual gas limit",
"code": "UNPREDICTABLE_GAS_LIMIT",
"error": {
"code": -32000,
"message": "execution reverted"
},
"method": "call",
"transaction": {
"to": "0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441",
"data": "0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000034000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000004313ce5670000000000000000000000000000000000000000000000000000000000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002470a082310000000000000000000000003423c8af3a95d9fee7ec06c4e0e905d4fd559f890000000000000000000000000000000000000000000000000000000000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002470a082310000000000000000000000008e04968fb8159783f93cdfb3bb97aa9b90e2c72c0000000000000000000000000000000000000000000000000000000000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000406fdde030000000000000000000000000000000000000000000000000000000000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000495d89b410000000000000000000000000000000000000000000000000000000000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000418160ddd0000000000000000000000000000000000000000000000000000000000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000004bb7b8b800000000000000000000000000000000000000000000000000000000000000000000000000000000023078d5bc3aad79aefa8773079ee703168f15cf500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000024c6610657000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
}
Oops something went wrong. Try refreshing the page.

Uranium finance doesnt work

Hi,

Some APR in Uranium Finance look like

APR: Day NaN% Week NaN% Year NaN%

[BTCB]-[WBNB] Uni LP [+] [-] [<=>] Price: $10,893.30 TVL: $7,711,897.57
BTCB Price: $55,998.00
WBNB Price: $528.85
Staked: 707.6244 RADS-LP ($7,708,362.75)
U92 Per Week: 7871.44 ($0.00)
APR: Day NaN% Week NaN% Year NaN%
You are staking xx.xx [BTCB]-[WBNB] Uni LP ($xxx,937.85), x.xx% of the pool.
Estimated U92 earnings: Day xx.51 ($0.00) Week xxx.59 ($0.00) Year xxxx.80 ($0.00)
Your LP tokens comprise of 0.xxx BTCB + xx.xxxx WBNB
Stake 0.00 [BTCB]-[WBNB] Uni LP
Unstake x.xx [BTCB]-[WBNB] Uni LP
Claim x.xx U92 ($0.00)
Staking or unstaking also claims rewards.

BTD (BTS/BoltTrueShare) Broken. Incorrect CoinGecko ID

I believe coingecko updated the id for BatTrueShare -> Bolt True Share and its currently breaking the page on the BTS price lookup, current api call returns {} with the id bat-true-share updating the id results in having the proper usd returned

https://api.coingecko.com/api/v3/simple/price?ids=bat-true-share&vs_currencies=usd <- broken
https://api.coingecko.com/api/v3/simple/price?ids=bolt-true-share&vs_currencies=usd <- works

On Matic, Uniswap is called and not Quickswap

On the Matic pages, when you click on the buttons: [+] [-] [<=>] above a pool, they all calls Uniswap and not Quickswap.

These are super useful so you don't have to hunt for token contract addresses, pools etc.

Seigniorage summary table

The table at /seigniorage is a great overview of the space. One potential improvement concerns the Price column.

Prices are currently displayed in USD. This works for coins that are pegged to the dollar but it's not very informative for others. For example:

  • eEUR and FSEUR pegged to the EUR
  • ESG pegged to XAU (gold)
  • ESB pegged to BTC

It would be nice to show the "price" of these coins in relation to their peg. There are two workable solutions:

  • Update the Price column to show per-peg value (instead of USD)
  • Add columns to show the peg, it's price in USD, and the coin's per-peg value

I personally prefer the second option, but this would mean widening the table.

Valuedefi vsafe tool not calculating holdings properly

The tool appears to calculate ur position size by multiplying the number of shares you have by the price of the LP tokens. This leads to a really dramatic undervaluation, especially for the vbswap/bnb vsafe in particular as share price has diverged so greatly from a 1 to 1 ratio with the LP token. (atm 1 share = 1.37363 vBSWAPBNB)
The correct method would be to calculate the number of LP tokens that those shares represent based on current shares to LP price ratio then multiply that by the price of the LP tokens. - An example below of pricing at current time:
1 vBSWAPWBNB = $2724.97 1 vsVbswapBNB = 1.37363 x vBSWAPBNB = $3.822,68

(sorry i didnt know how else to contact you)

KLONDIKE PROTOCOL - Klon migration to V2 > OK - New asset kxUSD

Hi vfat tools team!

Klon is in the process of a 7 days migration, ending March 30th, pools and token will be worthless after that period.
Twitter: https://twitter.com/KlondikeFinance/status/1374714541850910723
Medium: https://klondikefinance.medium.com/on-the-way-to-v-2-ff078dc92dcc

Could you please update the data?

The addresses are:

KLONX token: https://etherscan.io/token/0xbf15797BB5E47F6fB094A4abDB2cfC43F77179Ef
KLONX-WBTC Uniswap LP: https://etherscan.io/address/0x69cda6eda9986f7fca8a5dba06c819b535f4fc50
KBTC-WBTC V2 staking pool: https://etherscan.io/address/0x2b01d3e34259d40cf2ff3b34a28d7c80d6319cb0
KLONX-WBTC V2 staking pool: https://etherscan.io/address/0x185bdc02aafbecdc8dc574e8319228b586764415
KLONX Boardroom: https://etherscan.io/address/0xacbdb82f07b2653137d3a08a22637121422ae747
Uniswap Boardroom (to stake KLONX-WTBC UNI-V2 in boardroom): https://etherscan.io/address/0xd5b0ae8003b24ecf232d434a5f098ea821cf8ae3

Any more info needed, would be happy to answer on the TG/Discord,
Many thanks.

Pickle finance: 3 new jars

pSUSHIYVBOOST 0xDA481b277dCe305B97F4091bD66595d57CF31634
pUNILUSDETH 0xbc9d68f38881a9c161da18881e21b2ac9df87b55
pSUSHIALCX 0xE9bEAd1d3e3A25E8AF7a6B40e48de469a9613EDe

Squirrel NUTS/BUSD LP V2 Contract

Hey folks, squirrel.finance has lauched a new farm pool on pancake v2 LP tokens.

With the update on the pancake the /squirrel path is not showing the info about the new pool.

Can you update it please?

More info about squirrel: https://squirrel.finance/farms.html

The NUTS Contract: 0x8893D5fA71389673C5c4b9b3cb4EE1ba71207556
The BUSD Contract: 0xe9e7cea3dedca5984780bafc599bd69add087d56

Let me know if yout have any questions, and sorry if it is not in correct template.

Thanks

Basis Cash - BasV2 Pool Needs Update

Currently the LP information uses the v1 BAS information which is out of date due to the v2 migration.

Some contract addresses to help:

Boardroom v2: https://etherscan.io/address/0xecf0dde35f6d895c065e7526348af1e79433e42a#code

BasV2: 0x106538cc16f938776c7c180186975bca23875287

BasV2 LP Pair Token/Contract: https://etherscan.io/token/0x3e78f2e7dade07ea685f8612f00477fd97162f1e

Staking Pool for Basv2/Dai: https://etherscan.io/address/0x3855c26d0621ceb21b5aaba0b8fe4ad76d658f7d#code

that uses as a wrapper/compatible upgrade/passthrough from before I think: https://etherscan.io/address/0x5859adb05988946b9d08dce2e12ae29af58120c0

badger.finance LP values need more decimal places

Badger.finance allows users to stake LP tokens from Uniswap and Sushiswap. Unless you have hundreds of BTC staked, the values for the LP tokens are very small- for example, 0.0000000001 sushiswap LP token represents 0.5 wbtc + 0.5 digg.

For these tokens, the interface should display more than 8 decimal places. The values in src/static/js/badger.js should probably be bumped up to the full 18 decimal places.

Additional Features

Hi Vfat,
Would like to request if possible to add favorites in the Vfat Tools, this way it is much easier to navigate farms attach to the wallet addrees, or just add favorites. thank you

Feature request: Show all pools of all platforms and filter them

Hi, it would be cool -since you seem to have everything in place already- to show (maybe make a new page for this feature) all pools of all platforms in one single page, then let the user sort them (asc/desc) by APY, coin etc. filter them vault type, e.g. by single asset, stables LPs, stables etc.

See filter on https://app.beefy.finance/ for inspiration:

image

Filter by platform (multi drop down select so to allow selecting several ones at once, e.g. the ones the user likes the most).
More filters can be welcome too, e.g. show only farms where APY e.g. is > 40% or so, so to avoid scrolling for non profitable ones.

How to run this app?

The readme is very brief. Instructions on what is required and how to run would be very nice.

Query - dose all the pools supported in https://vfat.tools/ have same logic?

Hi, I saw you support Big Data Protocol pool yield dashboard, I am curious about whether the pool you supported have the same yield farm logic( or in other words, the same forked codebase), so it's easy to add a new one. Or do they have significant difference, every protocol need a separate logic to handle?

I am going to research big data protocol smart contract, if it's forked from a well-known protocol, then I will have more confidence in it. That's why I ask.

Cryptex Vault Debt

Hey @vfat-tools! Thanks for the support with Cryptex in PR #279. I'm on the core team with Cryptex and one of our users alerted us to your project. Very cool!

We found that vault debt is not entirely supported.

image

The screenshot from the user here shows the staked or locked collateral, but does not show the TCAP debt. For purposes of CTX rewards and general understanding of their position, users would like to see their TCAP debt displayed here. Especially since they would need to pay back this debt in order to unstake or withdraw their collateral.

Thanks again for your support and we'd be happy to help answer any questions on discord, telegram, or here in this issue.

pancakebunny

Hello,

Is it possible to merge branch bunny with master and push to production on site?

Klondike Finance - New asset: kxUSD

Hi Team,

Thanks for the update of the KlonX vfat after migration https://vfat.tools/klonx/

We have a new stable coin, kxUSD, and its staking pool kxUSD-DAI, could you please add it to the list?

kxUSD token: https://etherscan.io/token/0x43244c686a014c49d3d5b8c4b20b4e3fab0cbda7
Uni pair: https://info.uniswap.org/pair/0x672c973155c46fc264c077a41218ddc397bb7532
kxUSD-DAI reward pool: https://etherscan.io/address/0xe301f632e573a3f8bd06fe623e4440560ab08692

Twitter: https://twitter.com/KlondikeFinance

Many thanks.
Cheers

Running locally

Any tips for running this project locally? I forked the project, installed the npm packages, and started the app but I am getting this error in localhost:3000

Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-oByu3isyoualNW0NX6KCfG52kLL6eFagsUSOlk5jiUM='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.

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.