Comments (8)
@DarkGhost7 looks nice. this would be a good feature
@detroitcoder looks like the most recent batch of yearn data has some null's in the TVL's. patched the yearn code to handle this here e6dedef . command should work with that patch
from checkthechain.
Thanks will fix
from checkthechain.
I also get an exception when invoking ctc yearn
. Likely because of json parse error or something with the old api.
from checkthechain.
@DarkGhost7 looks nice. this would be a good feature
@detroitcoder looks like the most recent batch of yearn data has some null's in the TVL's. patched the yearn code to handle this here e6dedef . command should work with that patch
odd.. the api shouldn't have nulls in the tvl, humm do you know which one is giving this error?
from checkthechain.
@DarkGhost7 looks like 2 entries
(search for None
not null
because python)
yCRV-f
{'inception': 15568224, 'address': '0x61f46C65E403429266e8b569F23f70dD75d9BeE7', 'symbol': 'lp-yCRV', 'name': 'lp-yCRV 0.4.3', 'display_name': 'yCRV-f', 'icon': 'https://rawcdn.githack.com/yearn/yearn-assets/32b1cafa8ee1a3f83a29f7dfee8c0241c471697c/icons/multichain-tokens/1/0x61f46C65E403429266e8b569F23f70dD75d9BeE7/logo-128.png', 'token': {'name': 'Curve.fi Factory Plain Pool: yCRV', 'symbol': 'yCRV-f', 'address': '0x0309A528bBa0394dC4A2Ce59123C52E317A54604', 'decimals': 18, 'display_name': 'yCRV-f', 'icon': 'https://rawcdn.githack.com/yearn/yearn-assets/32b1cafa8ee1a3f83a29f7dfee8c0241c471697c/icons/multichain-tokens/1/0x0309A528bBa0394dC4A2Ce59123C52E317A54604/logo-128.png'}, 'tvl': {'total_assets': 0, 'price': 0, 'tvl': None}, 'apy': {'type': 'error', 'gross_apr': 0, 'net_apy': 0, 'fees': {'performance': 0, 'withdrawal': 0, 'management': None, 'keep_crv': None, 'cvx_keep_crv': None}, 'points': {'week_ago': 0, 'month_ago': 0, 'inception': 0}, 'composite': None}, 'strategies': [], 'endorsed': True, 'version': '0.4.3', 'decimals': 18, 'type': 'v2', 'emergency_shutdown': False, 'updated': 1664898517, 'migration': {'available': False, 'address': '0x61f46C65E403429266e8b569F23f70dD75d9BeE7'}}
yCRV
{'inception': 15568224, 'address': '0x8a0889d47f9Aa0Fac1cC718ba34E26b867437880', 'symbol': 'st-yCRV', 'name': 'st-yCRV 0.4.3', 'display_name': 'yCRV', 'icon': 'https://rawcdn.githack.com/yearn/yearn-assets/32b1cafa8ee1a3f83a29f7dfee8c0241c471697c/icons/multichain-tokens/1/0x8a0889d47f9Aa0Fac1cC718ba34E26b867437880/logo-128.png', 'token': {'name': 'Yearn CRV', 'symbol': 'yCRV', 'address': '0x4c1317326fD8EFDeBdBE5e1cd052010D97723bd6', 'decimals': 18, 'display_name': 'yCRV', 'icon': 'https://rawcdn.githack.com/yearn/yearn-assets/32b1cafa8ee1a3f83a29f7dfee8c0241c471697c/icons/multichain-tokens/1/0x4c1317326fD8EFDeBdBE5e1cd052010D97723bd6/logo-128.png'}, 'tvl': {'total_assets': 207599893043316296483, 'price': None, 'tvl': None}, 'apy': {'type': 'error', 'gross_apr': 0, 'net_apy': 0, 'fees': {'performance': 0, 'withdrawal': 0, 'management': None, 'keep_crv': None, 'cvx_keep_crv': None}, 'points': {'week_ago': 0, 'month_ago': 0, 'inception': 0}, 'composite': None}, 'strategies': [], 'endorsed': True, 'version': '0.4.3', 'decimals': 18, 'type': 'v2', 'emergency_shutdown': False, 'updated': 1664898518, 'migration': {'available': False, 'address': '0x8a0889d47f9Aa0Fac1cC718ba34E26b867437880'}}```
from checkthechain.
Should be fixed now
from checkthechain.
excellent 🙌
from checkthechain.
Any updates on this? Would be nice to support the new api.
from checkthechain.
Related Issues (20)
- fix: Networking broken on Apple M1 HOT 15
- Setup error when not using default ctc_data location HOT 1
- ctc setup fails with non-default data root directory HOT 1
- ctc setup fails on Polygon, `table not found in db: network_1__erc20_metadata` HOT 1
- cg graphs not working on windows HOT 1
- Installation failure from source code
- Error: `(sqlite3.OperationalError) near "ON": syntax error` HOT 1
- `ctc ens` not successful HOT 2
- Specify network HOT 1
- a lot of my `ctc ascii 0x...` queries come back with only `utf-8`
- I run the python sample and get "Exception: no default network specified"
- RPC ERROR: query returned more than 10000 results HOT 1
- NameError: name 'ctc' is not defined HOT 1
- A very grateful stranger
- Add support for `eth_feeHistory` HOT 1
- Issue with the erc20 transfers cli command HOT 1
- feature: add localised ABIs for frequently queried contracts to speed up querying
- UPDATE syntax error on setup
- KeyError 'id' in chunk HOT 1
- Downloading blocks fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkthechain.