zeriontech / defi-sdk Goto Github PK
View Code? Open in Web Editor NEWDeFi SDK Makes Money Lego Work
Home Page: https://docs.zerion.io/defi-sdk/
License: GNU Lesser General Public License v3.0
DeFi SDK Makes Money Lego Work
Home Page: https://docs.zerion.io/defi-sdk/
License: GNU Lesser General Public License v3.0
0x8314337d2b13e1A61EadF0FD1686b2134D43762F -> 0xB9a4Bca06F14A982fcD14907D31DFACaDC8ff88E
https://github.com/zeriontech/defi-sdk#supported-protocols
almost all Asset adapters links are missing, might due to architecture update #96
Certain DeFi Protocols (e.g. Compound, Aave), let a user use their deposited assets as collateral in order to take out loans (borrow). The user must enable this on a per asset basis. Since there is thus a differentiation between deposited assets and deposited assets enabled as collateral, it would be nice if this information was exposed in the protocolBalances calls. Since this property isn't common across all protocols perhaps it would go into something like an extendedInformation
property within the metadata
for the token.
As an example, here is one of the Aave methods that exposes this information: https://docs.aave.com/developers/developing-on-aave/the-protocol/lendingpool#getuserreservedata (see usageAsCollateralEnabled
).
Hi, I'm interested in downloading e.g. daily price of a given TokenSet index. Is this possible? I saw that in the web app one can follow a chart of the historic price of an index, e.g. https://app.zerion.io/invest/asset/ILSI-0x0acc0fee1d86d2cd5af372615bf59b298d50cd69.
Thanks!
Add the following protocol adapters:
Also, update readme
HI.
Contract address - 0x06FE76B2f432fdfEcAEf1a7d4f6C3d41B5861672
function - getBalances
arg - 0xD032a14D09C10f788fC79e8C8e3E295c82cA679d
result - [ getBalances(address) method Response ]
tuple[] : Error: Returned error: out of gas
I am use etherscan -> contract -> read contract
нужно сделать по аналогию с Curve, если трейд идет 100% на Uniswap:
Hello guys!
In parallel with other querying methods we started utilizing your Adapter contracts to get some overview of DeFi balances in Rotki.
https://github.com/rotki/rotki/blob/19204d766a88407e35cd056a327fddaf625659ac/rotkehlchen/chain/ethereum/zerion.py
We noticed that if the balance of an address is queried that has LEND
deposited in the Aave Lending Pool then this is not returned by the Adapter contract. So we had to make a "special case" fix for it: rotki/rotki#1137. Essentially querying the lending pool directly for LEND balances for each address.
Are you aware of the problem? Any idea if a fix can be provided at some point so we can get rid of our ugly fix?
When call defiSdk.getProtocolBalances(obj.walletAddress, protocolList).then(obj.getProtocolBalances);
For Uniswap V2, underlying array is empty.
The DeFi Money Market Controller address is outdated now.
The old address was 0x4CB120Dd1D33C9A3De8Bc15620C7Cd43418d77E2
The new one is 0xB07EB3426d742cda9120931e7028d54F9dF34A3e
Все что у меня есть:
{"results":[{"name":"9943 MARLOWE ST.","address":"0xe5f7ef61443fc36ae040650aa585b0395aef77c8","totalTokens":1000,"price":63.75,"ownedTokens":"0","balance":0},{"name":"16200 FULLERTON","address":"0x22c8ecf727c23422f47093b562ec53c139805301","totalTokens":3800,"price":161.84,"ownedTokens":"0","balance":0},{"name":"18483 MANSFIELD","address":"0xb1d42642c6da784a5498180fdc64df8f8f2bb773","totalTokens":900,"price":68.52,"ownedTokens":"0","balance":0},{"name":"5942 AUDUBON RD","address":"0x43688910273f199b8ae2ca018c13918fb3d37b58","totalTokens":750,"price":77.73,"ownedTokens":"0","balance":0},{"name":"10024 APPOLINE ST","address":"0x5807ca447851c98569c567963b25b1c83d41bebc","totalTokens":4000,"price":145.56,"ownedTokens":"0","balance":0},{"name":"9336 PATTON ST","address":"0xed42cedcadbfbcaa3e6f411b09567c2c0b5ad28f","totalTokens":1000,"price":62.7,"ownedTokens":"0","balance":0},{"name":"20200 LESURE ST","address":"0x395c47a421c254ae42253764a7f56e0ee0cddac5","totalTokens":1000,"price":69.4,"ownedTokens":"0","balance":0}]}
This is a feature request for get_token_components
for Mooniswap which currently has $89m TVL.
@abalyasnikov commented on Fri Oct 16 2020
hi. i think $LUNC is stuck, can you fix it please? here is the Zerion link.
https://app.zerion.io/tokens/LUNC-0xd2877702675e6ceb975b4a1dff9fb7baf4c91ea9
24 hour volume is at $48,984 and total market cap is $946,011,554.00
https://coinhall.org/terra-classic/terra1m6ywlgn6wrjuagcmmezzz2a029gtldhey5k552
Would be great if pool pools could be added. Contract is here https://etherscan.io/address/0x27d22a7648e955e510a40bdb058333e9190d12d4
Request to Add PHI Network Support to wallet
Chain Id 144
Block explorer https://phiscan.com
RPC url: https://connect.phi.network
compare https://debank.com/ and https://app.zerion.io/ result, found aCRV
is not shown in the Aave V2
balance
https://etherscan.io/address/0x78f32a27559170f9a005b319ed53441b9e852158#loansAddress
https://app.zerion.io/0x78f32a27559170f9a005b319ed53441b9e852158/overview
This address has Loans and Assets on Maker, but none are returned on getProtocolBalances
, or on getBalances
.
The issue is relevant for the following protocols:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.