Skip to content

Instantly share code, notes, and snippets.

@rodrigosobrero
Created September 3, 2020 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigosobrero/a70372d3a8bc31bdcde932af1134bd9b to your computer and use it in GitHub Desktop.
Save rodrigosobrero/a70372d3a8bc31bdcde932af1134bd9b to your computer and use it in GitHub Desktop.
defi-sdk balances
[
{
"metadata": {
"name": "Matic",
"description": "A scaling solution for public blockchains",
"website": "https://matic.network/",
"logo": "https://http//protocol-icons.s3.amazonaws.com/matic.png",
"version": "1n"
},
"balances": [
{
"metadata": {
"address": "0x8d53A8D660aa917755F28bB81Ea79de94187f4aF",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "9112762386402785899",
"metadata": {
"address": "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
"decimals": 18,
"name": "Matic Token",
"symbol": "MATIC"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "yearn.finance • Vaults",
"description": "Yield aggregator for lending platforms",
"website": "https://yearn.finance/",
"logo": "https://protocol-icons.s3.amazonaws.com/yearn.png",
"version": "3n"
},
"balances": [
{
"metadata": {
"address": "0x49DD4a17a84A7c16d0b15AB75f325900Ae2F86ee",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "220272110842550503",
"metadata": {
"address": "0x37d19d1c4E1fa9DC47bD1eA12f742a0887eDa74a",
"decimals": 18,
"name": "yearn TrueUSD",
"symbol": "yTUSD"
}
},
"underlying": [
{
"balance": "225644480636541247",
"metadata": {
"address": "0x0000000000085d4780B73119b644AE5ecd22b376",
"decimals": 18,
"name": "TrueUSD",
"symbol": "TUSD"
}
}
]
}
]
}
]
},
{
"metadata": {
"name": "KeeperDAO",
"description": "An on-chain liquidity underwriter for DeFi",
"website": "https://keeperdao.com/",
"logo": "https://protocol-icons.s3.amazonaws.com/keeperDAO.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x913647e26C4Fb1111d78157a8bA1dDB3aB94f549",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "97225149127333",
"metadata": {
"address": "0xC4c43C78fb32F2c7F8417AF5af3B85f090F1d327",
"decimals": 18,
"name": "kEther",
"symbol": "kETH"
}
},
"underlying": [
{
"balance": "100044205297568",
"metadata": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
}
}
]
}
]
}
]
},
{
"metadata": {
"name": "mStable",
"description": "mStable unifies stablecoins, lending and swapping into one standard",
"website": "https://mstable.org/",
"logo": "https://protocol-icons.s3.amazonaws.com/mstable.png",
"version": "1n"
},
"balances": [
{
"metadata": {
"address": "0xEA26f93f614Df8f1F39aAF22482C98Bc8901E3AA",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "203564863243306566",
"metadata": {
"address": "0xe2f2a5C287993345a840Db3B0845fbC70f5935a5",
"decimals": 18,
"name": "mStable USD",
"symbol": "mUSD"
}
},
"underlying": [
{
"balance": "8529971344810",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
{
"balance": "7756",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
},
{
"balance": "88163026306403425",
"metadata": {
"address": "0x0000000000085d4780B73119b644AE5ecd22b376",
"decimals": 18,
"name": "TrueUSD",
"symbol": "TUSD"
}
},
{
"balance": "107637",
"metadata": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 6,
"name": "Tether USD",
"symbol": "USDT"
}
}
]
}
]
},
{
"metadata": {
"address": "0xF52eEbf497e6e499c46E6D56C2cDdF4DcCf9D113",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "4165138676061185",
"metadata": {
"address": "0xa3BeD4E1c75D00fa6f4E5E6922DB7261B5E9AcD2",
"decimals": 18,
"name": "Meta",
"symbol": "MTA"
}
},
"underlying": []
},
{
"base": {
"balance": "3000000000000000",
"metadata": {
"address": "0x0d0d65E7A7dB277d3E0F5E1676325E75f3340455",
"decimals": 18,
"name": "Uniswap V2",
"symbol": "UNI-V2"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "KyberDAO",
"description": "Platform that allows KNC token holders to participate in governance",
"website": "https://kyber.network/",
"logo": "https://protocol-icons.s3.amazonaws.com/kyber.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x3ec898ad082C35C92A174269770D23e98Ab1a00A",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "300000000000000000",
"metadata": {
"address": "0xdd974D5C2e2928deA5F71b9825b8b646686BD200",
"decimals": 18,
"name": "Kyber Network Crystal",
"symbol": "KNC"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "DDEX • Spot",
"description": "Decentralized margin trading",
"website": "https://ddex.io/",
"logo": "https://protocol-icons.s3.amazonaws.com/ddex.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0xDB3aD18B6EF9949FeE2D8E37fDF6F46cCFb6a44e",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "30000000000000000",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "DDEX • Margin",
"description": "Decentralized margin trading",
"website": "https://ddex.io/",
"logo": "https://protocol-icons.s3.amazonaws.com/ddex.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x22fB29a8130FA4811E05f79C366b3f5520688A93",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "1021409999999999754",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
"underlying": []
},
{
"base": {
"balance": "4500000000000000",
"metadata": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
}
},
"underlying": []
}
]
},
{
"metadata": {
"address": "0xEC8519F02828c7cccE68c430aC5A023f0a63A13a",
"type": "Debt"
},
"balances": [
{
"base": {
"balance": "4515935897590871",
"metadata": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "DDEX • Lending",
"description": "Decentralized margin trading",
"website": "https://ddex.io/",
"logo": "https://protocol-icons.s3.amazonaws.com/ddex.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x151e18aA894F68908c42E405D75E2F3f4b36f070",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "70021504381844450",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "Ampleforth",
"description": "An adaptive money built on sound economics",
"website": "https://ampleforth.org/",
"logo": "https://protocol-icons.s3.amazonaws.com/ampl.png",
"version": "1n"
},
"balances": [
{
"metadata": {
"address": "0xc2e93bE045897Cea6Cfc711A9270c463387e1288",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "1351763478",
"metadata": {
"address": "0xD46bA6D942050d489DBd938a2C909A5d5039A161",
"decimals": 9,
"name": "Ampleforth",
"symbol": "AMPL"
}
},
"underlying": []
},
{
"base": {
"balance": "106700000000",
"metadata": {
"address": "0xc5be99A02C6857f9Eac67BbCE58DF5572498F40c",
"decimals": 18,
"name": "Uniswap V2",
"symbol": "UNI-V2"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "Chi Gastoken by 1inch",
"description": "Next-generation Gastoken",
"website": "https://1inch.exchange/",
"logo": "https://protocol-icons.s3.amazonaws.com/chi_token.png",
"version": "1n"
},
"balances": [
{
"metadata": {
"address": "0x257137D5FFabac902A339556432122206eAdf94D",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "1",
"metadata": {
"address": "0x0000000000004946c0e9F43F4Dee607b0eF1fA1c",
"decimals": 0,
"name": "Chi Gastoken by 1inch",
"symbol": "CHI"
}
},
"underlying": [
{
"balance": "4618826128291610",
"metadata": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
}
}
]
}
]
}
]
},
{
"metadata": {
"name": "Aave • Uniswap Market",
"description": "Decentralized lending & borrowing protocol",
"website": "https://aave.com/",
"logo": "https://protocol-icons.s3.amazonaws.com/aave.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0xF0f87c88Fa206777e2ad191B7BF7c52ea9E53c9b",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "517951124801951",
"metadata": {
"address": "0xBbBb7F2aC04484F7F04A2C2C16f20479791BbB44",
"decimals": 18,
"name": "Aave Interest bearing UniDAIETH",
"symbol": "aUniDAIETH"
}
},
"underlying": [
{
"balance": "446082584836759",
"metadata": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
}
},
{
"balance": "181663818733504669",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
},
{
"base": {
"balance": "101421162017231935",
"metadata": {
"address": "0x048930eec73c91B44b0844aEACdEBADC2F2b6efb",
"decimals": 18,
"name": "Aave Interest bearing UniDAI",
"symbol": "aUniDAI"
}
},
"underlying": [
{
"balance": "101421162017231935",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
}
]
},
{
"metadata": {
"address": "0xa0848938068ACB263B47f0C44F7D2F9F39895984",
"type": "Debt"
},
"balances": [
{
"base": {
"balance": "10120",
"metadata": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 6,
"name": "Tether USD",
"symbol": "USDT"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "DeFi Money Market",
"description": "Earn interest on crypto through revenue-producing real world assets",
"website": "https://defimoneymarket.com/",
"logo": "https://protocol-icons.s3.amazonaws.com/DMM.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0xd9fADfaFe49712c420b5efC85774f178fB2f3dA3",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "99210225768308497",
"metadata": {
"address": "0x06301057D77D54B6e14c7FafFB11Ffc7Cab4eaa7",
"decimals": 18,
"name": "DMM: DAI",
"symbol": "mDAI"
}
},
"underlying": [
{
"balance": "102431840013523340",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
},
{
"base": {
"balance": "98834",
"metadata": {
"address": "0x3564ad35b9E95340E5Ace2D6251dbfC76098669B",
"decimals": 6,
"name": "DMM: USDC",
"symbol": "mUSDC"
}
},
"underlying": [
{
"balance": "102043",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
}
]
}
]
}
]
},
{
"metadata": {
"name": "0x Staking",
"description": "Liquidity rewards with ZRX",
"website": "https://0x.org/zrx/staking",
"logo": "https://protocol-icons.s3.amazonaws.com/0x-staking.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x42F21fBD1C8711b2EdD0853f98feD73E6A5d280D",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "1030000000000000000",
"metadata": {
"address": "0xE41d2489571d322189246DaFA5ebDe1F4699F498",
"decimals": 18,
"name": "0x Protocol Token",
"symbol": "ZRX"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "Synthetix",
"description": "Synthetic assets protocol",
"website": "https://synthetix.io/",
"logo": "https://protocol-icons.s3.amazonaws.com/synthetix.png",
"version": "5n"
},
"balances": [
{
"metadata": {
"address": "0xd610Da908a460a8189D2d9830583228AA2151856",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "532789849520397827",
"metadata": {
"address": "0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F",
"decimals": 18,
"name": "Synthetix Network Token",
"symbol": "SNX"
}
},
"underlying": []
},
{
"base": {
"balance": "1510860316060560761",
"metadata": {
"address": "0xC25a3A3b969415c80451098fa907EC722572917F",
"decimals": 18,
"name": "Curve.fi DAI/USDC/USDT/sUSD",
"symbol": "crvPlain3andSUSD"
}
},
"underlying": []
},
{
"base": {
"balance": "3661777181203744",
"metadata": {
"address": "0xA9859874e1743A32409f75bB11549892138BBA1E",
"decimals": 18,
"name": "Synth iETH",
"symbol": "iETH"
}
},
"underlying": []
},
{
"base": {
"balance": "968170291422045",
"metadata": {
"address": "0xe9Cf7887b93150D4F2Da7dFc6D502B216438F244",
"decimals": 0,
"name": "Not available",
"symbol": "N/A"
}
},
"underlying": []
},
{
"base": {
"balance": "159349972497",
"metadata": {
"address": "0x330416C863f2acCE7aF9C9314B422d24c672534a",
"decimals": 18,
"name": "Balancer Pool Token",
"symbol": "BPT"
}
},
"underlying": []
},
{
"base": {
"balance": "4994439282290",
"metadata": {
"address": "0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3",
"decimals": 18,
"name": "Curve.fi renBTC/wBTC/sBTC",
"symbol": "crvRenWSBTC"
}
},
"underlying": []
},
{
"base": {
"balance": "2874727322",
"metadata": {
"address": "0x34a0216C5057bC18e5d34D4405284564eFd759b2",
"decimals": 18,
"name": "Uniswap V2",
"symbol": "UNI-V2"
}
},
"underlying": []
}
]
},
{
"metadata": {
"address": "0x8537550aceCCEF73Af7b05c83e25e80f2531C964",
"type": "Debt"
},
"balances": [
{
"base": {
"balance": "14053454877064323",
"metadata": {
"address": "0x57Ab1ec28D129707052df4dF418D58a2D46d5f51",
"decimals": 18,
"name": "Synth sUSD",
"symbol": "sUSD"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "PoolTogether",
"description": "Decentralized no-loss lottery",
"website": "https://pooltogether.com/",
"logo": "https://protocol-icons.s3.amazonaws.com/pooltogether.png",
"version": "1n"
},
"balances": [
{
"metadata": {
"address": "0xc819251E32bB49A2FD74bE1e9bB6bcf24BcC6390",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "4043257606717545391",
"metadata": {
"address": "0x29fe7D60DdF151E5b52e5FAB4f1325da6b2bD958",
"decimals": 18,
"name": "DAI pool",
"symbol": "PLT"
}
},
"underlying": [
{
"balance": "4043257606717545391",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
},
{
"base": {
"balance": "1000000",
"metadata": {
"address": "0x0034Ea9808E620A0EF79261c51AF20614B742B24",
"decimals": 6,
"name": "USDC pool",
"symbol": "PLT"
}
},
"underlying": [
{
"balance": "1000000",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
}
]
}
]
}
]
},
{
"metadata": {
"name": "Chai",
"description": "A simple ERC20 wrapper over the Dai Savings Rate",
"website": "https://chai.money/",
"logo": "https://protocol-icons.s3.amazonaws.com/chai.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x2449f66700A3E29d0eA3927Af142F3d39f2C110E",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "491155058990729832",
"metadata": {
"address": "0x06AF07097C9Eeb7fD685c692751D5C66dB49c215",
"decimals": 18,
"name": "Chai",
"symbol": "CHAI"
}
},
"underlying": [
{
"balance": "499999999999999999",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
}
]
}
]
},
{
"metadata": {
"name": "iearn.finance (v3)",
"description": "Yield aggregator for lending platforms",
"website": "https://iearn.finance/",
"logo": "https://protocol-icons.s3.amazonaws.com/iearn.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x38567918557518272a87087Aa4a3729FCD3f410B",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "99699172896900878",
"metadata": {
"address": "0xC2cB1040220768554cf699b0d863A3cd4324ce32",
"decimals": 18,
"name": "iearn DAI",
"symbol": "yDAI"
}
},
"underlying": [
{
"balance": "102749549757326797",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
}
]
}
]
},
{
"metadata": {
"name": "iearn.finance (v2)",
"description": "Yield aggregator for lending platforms",
"website": "https://iearn.finance/",
"logo": "https://protocol-icons.s3.amazonaws.com/iearn.png",
"version": "2n"
},
"balances": [
{
"metadata": {
"address": "0xc9131a1bf881bBbDF50272adEDaBce5a9D62AAB1",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "30354879689129",
"metadata": {
"address": "0x16de59092dAE5CcF4A1E6439D611fd0653f0Bd01",
"decimals": 18,
"name": "iearn DAI",
"symbol": "yDAI"
}
},
"underlying": [
{
"balance": "31553269583298",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
},
{
"base": {
"balance": "30",
"metadata": {
"address": "0xd6aD7a6750A7593E092a9B218d66C0A814a3436e",
"decimals": 6,
"name": "iearn USDC",
"symbol": "yUSDC"
}
},
"underlying": [
{
"balance": "34",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
}
]
}
]
},
{
"metadata": {
"address": "0xDa431E99Ee44776D27d228A8F5C61E882AfA70d9",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "50000000000000",
"metadata": {
"address": "0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e",
"decimals": 18,
"name": "yearn.finance",
"symbol": "YFI"
}
},
"underlying": []
},
{
"base": {
"balance": "1966262099041427",
"metadata": {
"address": "0xdF5e0e81Dff6FAF3A7e52BA697820c5e32D806A8",
"decimals": 18,
"name": "Curve.fi yDAI/yUSDC/yUSDT/yTUSD",
"symbol": "yDAI+yUSDC+yUSDT+yTUSD"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "dYdX",
"description": "Decentralized trading platform",
"website": "https://dydx.exchange/",
"logo": "https://protocol-icons.s3.amazonaws.com/dYdX.png",
"version": "0n"
},
"balances": [
{
"metadata": {
"address": "0x375c3222bb7d4834B4381ABD4ED15DFF4d4c0A68",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "26135424725369952",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "Curve",
"description": "Exchange liquidity pool for stablecoin trading",
"website": "https://curve.fi/",
"logo": "https://protocol-icons.s3.amazonaws.com/curve.fi.png",
"version": "6n"
},
"balances": [
{
"metadata": {
"address": "0xEd8885a1e77b5D679544b06196fE8ECC69367Ebd",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "398803979082926895",
"metadata": {
"address": "0x845838DF265Dcd2c412A1Dc9e959c7d08537f8a2",
"decimals": 18,
"name": "Compound Pool",
"symbol": "cDAI+cUSDC"
}
},
"underlying": [
{
"balance": "108689732100391724",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
{
"balance": "302238",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
}
]
},
{
"base": {
"balance": "98467640586474096",
"metadata": {
"address": "0x9fC689CCaDa600B6DF723D9E47D84d76664a1F23",
"decimals": 18,
"name": "USDT Pool",
"symbol": "cDAI+cUSDC+USDT"
}
},
"underlying": [
{
"balance": "6341614935889674",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
{
"balance": "46262",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
},
{
"balance": "49516",
"metadata": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 6,
"name": "Tether USD",
"symbol": "USDT"
}
}
]
},
{
"base": {
"balance": "298006831004138170",
"metadata": {
"address": "0xdF5e0e81Dff6FAF3A7e52BA697820c5e32D806A8",
"decimals": 18,
"name": "Y Pool",
"symbol": "yDAI+yUSDC+yUSDT+yTUSD"
}
},
"underlying": [
{
"balance": "19432027557746640",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
{
"balance": "79946",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
},
{
"balance": "141958",
"metadata": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 6,
"name": "Tether USD",
"symbol": "USDT"
}
},
{
"balance": "71834713226108510",
"metadata": {
"address": "0x0000000000085d4780B73119b644AE5ecd22b376",
"decimals": 18,
"name": "TrueUSD",
"symbol": "TUSD"
}
}
]
},
{
"base": {
"balance": "297620888579628330",
"metadata": {
"address": "0x3B3Ac5386837Dc563660FB6a0937DFAa5924333B",
"decimals": 18,
"name": "bUSD Pool",
"symbol": "yDAI+yUSDC+yUSDT+yBUSD"
}
},
"underlying": [
{
"balance": "35009918417547104",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
{
"balance": "72226",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
},
{
"balance": "91287",
"metadata": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 6,
"name": "Tether USD",
"symbol": "USDT"
}
},
{
"balance": "114324018126718505",
"metadata": {
"address": "0x4Fabb145d64652a948d72533023f6E7A623C7C53",
"decimals": 18,
"name": "Binance USD",
"symbol": "BUSD"
}
}
]
},
{
"base": {
"balance": "10031750974942",
"metadata": {
"address": "0x49849C98ae39Fff122806C06791Fa73784FB3675",
"decimals": 18,
"name": "renBTC Pool",
"symbol": "crvRenWBTC"
}
},
"underlying": [
{
"balance": "570",
"metadata": {
"address": "0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D",
"decimals": 8,
"name": "renBTC",
"symbol": "renBTC"
}
},
{
"balance": "445",
"metadata": {
"address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
"decimals": 8,
"name": "Wrapped BTC",
"symbol": "WBTC"
}
}
]
},
{
"base": {
"balance": "4994439282801",
"metadata": {
"address": "0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3",
"decimals": 18,
"name": "sBTC Pool",
"symbol": "crvRenWSBTC"
}
},
"underlying": [
{
"balance": "248",
"metadata": {
"address": "0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D",
"decimals": 8,
"name": "renBTC",
"symbol": "renBTC"
}
},
{
"balance": "190",
"metadata": {
"address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
"decimals": 8,
"name": "Wrapped BTC",
"symbol": "WBTC"
}
},
{
"balance": "639786450763",
"metadata": {
"address": "0xfE18be6b3Bd88A2D2A7f928d00292E7a9963CfC6",
"decimals": 18,
"name": "Synth sBTC",
"symbol": "sBTC"
}
}
]
}
]
},
{
"metadata": {
"address": "0xF58F90cb329F812f6d7c5a7b14ffCcACBE9C034E",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "959215843335730045",
"metadata": {
"address": "0xD533a949740bb3306d119CC777fa900bA034cd52",
"decimals": 18,
"name": "Curve DAO Token",
"symbol": "CRV"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "Compound",
"description": "Decentralized lending & borrowing protocol",
"website": "https://compound.finance/",
"logo": "https://protocol-icons.s3.amazonaws.com/compound.png",
"version": "3n"
},
"balances": [
{
"metadata": {
"address": "0xaA74B0f33cab1B291980532BC5E0057E10adb2a3",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "242342996",
"metadata": {
"address": "0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643",
"decimals": 8,
"name": "Compound Dai",
"symbol": "cDAI"
}
},
"underlying": [
{
"balance": "49990142889266158",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
},
{
"base": {
"balance": "38928864",
"metadata": {
"address": "0x39AA39c021dfbaE8faC545936693aC917d5E7563",
"decimals": 8,
"name": "Compound USD Coin",
"symbol": "cUSDC"
}
},
"underlying": [
{
"balance": "8237",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
}
]
},
{
"base": {
"balance": "497462",
"metadata": {
"address": "0xC11b1268C1A384e55C48c2391d8d480264A3A7F4",
"decimals": 8,
"name": "Compound Wrapped BTC",
"symbol": "cWBTC"
}
},
"underlying": [
{
"balance": "10038",
"metadata": {
"address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
"decimals": 8,
"name": "Wrapped BTC",
"symbol": "WBTC"
}
}
]
},
{
"base": {
"balance": "15160188016",
"metadata": {
"address": "0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9",
"decimals": 8,
"name": "Compound USDT",
"symbol": "cUSDT"
}
},
"underlying": [
{
"balance": "3067203",
"metadata": {
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": 6,
"name": "Tether USD",
"symbol": "USDT"
}
}
]
}
]
},
{
"metadata": {
"address": "0x3d4A93f2263Ca35D9691e1e1B2cEb37Dde54Af77",
"type": "Debt"
},
"balances": [
{
"base": {
"balance": "10143504198491159",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
},
"underlying": []
},
{
"base": {
"balance": "10393859361856116",
"metadata": {
"address": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF",
"decimals": 18,
"name": "Basic Attention Token",
"symbol": "BAT"
}
},
"underlying": []
},
{
"base": {
"balance": "101151516416627",
"metadata": {
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "Ether",
"symbol": "ETH"
}
},
"underlying": []
},
{
"base": {
"balance": "10236",
"metadata": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": 6,
"name": "USD Coin",
"symbol": "USDC"
}
},
"underlying": []
}
]
},
{
"metadata": {
"address": "0xDD31BC47D07873405C2bf27634f7640e95118fb3",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "467646150174933",
"metadata": {
"address": "0xc00e94Cb662C3520282E6f5717214004A7f26888",
"decimals": 18,
"name": "Compound",
"symbol": "COMP"
}
},
"underlying": []
}
]
}
]
},
{
"metadata": {
"name": "Aave",
"description": "Decentralized lending & borrowing protocol",
"website": "https://aave.com/",
"logo": "https://protocol-icons.s3.amazonaws.com/aave.png",
"version": "4n"
},
"balances": [
{
"metadata": {
"address": "0x8B62C02091FE06AE3454D3c12921B32611Ba5501",
"type": "Asset"
},
"balances": [
{
"base": {
"balance": "525632580552255173",
"metadata": {
"address": "0xfC1E690f61EFd961294b3e1Ce3313fBD8aa4f85d",
"decimals": 18,
"name": "Aave Interest bearing DAI",
"symbol": "aDAI"
}
},
"underlying": [
{
"balance": "525632580552255173",
"metadata": {
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
"name": "Dai Stablecoin",
"symbol": "DAI"
}
}
]
},
{
"base": {
"balance": "298189286279362925",
"metadata": {
"address": "0x4DA9b813057D04BAef4e5800E36083717b4a0341",
"decimals": 18,
"name": "Aave Interest bearing TUSD",
"symbol": "aTUSD"
}
},
"underlying": [
{
"balance": "298189286279362925",
"metadata": {
"address": "0x0000000000085d4780B73119b644AE5ecd22b376",
"decimals": 18,
"name": "TrueUSD",
"symbol": "TUSD"
}
}
]
},
{
"base": {
"balance": "1012617370668918795",
"metadata": {
"address": "0xE1BA0FB44CCb0D11b80F92f4f8Ed94CA3fF51D00",
"decimals": 18,
"name": "Aave Interest bearing BAT",
"symbol": "aBAT"
}
},
"underlying": [
{
"balance": "1012617370668918795",
"metadata": {
"address": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF",
"decimals": 18,
"name": "Basic Attention Token",
"symbol": "BAT"
}
}
]
}
]
},
{
"metadata": {
"address": "0x30F0BB7556159B0E812DE4af7023daCFDD4F7110",
"type": "Debt"
},
"balances": [
{
"base": {
"balance": "101661539196917724",
"metadata": {
"address": "0xdd974D5C2e2928deA5F71b9825b8b646686BD200",
"decimals": 18,
"name": "Kyber Network Crystal",
"symbol": "KNC"
}
},
"underlying": []
},
{
"base": {
"balance": "20413664233038",
"metadata": {
"address": "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2",
"decimals": 18,
"name": "Maker",
"symbol": "MKR"
}
},
"underlying": []
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment