From d5cdc0bce46883cdebcd3ba1d2c130dccfe16c3e Mon Sep 17 00:00:00 2001 From: g1nt0ki <99907941+g1nt0ki@users.noreply.github.com> Date: Wed, 25 May 2022 08:54:52 +0200 Subject: [PATCH] clean-up milkyway --- projects/milkyway/cerc20.json | 62 ----------------------------------- projects/milkyway/index.js | 7 +--- 2 files changed, 1 insertion(+), 68 deletions(-) delete mode 100644 projects/milkyway/cerc20.json diff --git a/projects/milkyway/cerc20.json b/projects/milkyway/cerc20.json deleted file mode 100644 index 539e90ab6..000000000 --- a/projects/milkyway/cerc20.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "getCash": { - "constant": true, - "inputs": [], - "name": "getCash", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - "underlying": { - "constant": true, - "inputs": [], - "name": "underlying", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - "totalBorrows": { - "constant": true, - "inputs": [], - "name": "totalBorrows", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - "totalReserves": { - "constant": true, - "inputs": [], - "name": "totalReserves", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - } -} \ No newline at end of file diff --git a/projects/milkyway/index.js b/projects/milkyway/index.js index ccb4d2e1f..369279adf 100644 --- a/projects/milkyway/index.js +++ b/projects/milkyway/index.js @@ -1,9 +1,4 @@ -const sdk = require("@defillama/sdk"); -const utils = require("../helper/utils"); -const { getCompoundV2Tvl, compoundExports } = require("../helper/compound"); -const { GraphQLClient, gql } = require('graphql-request') - -const abiCerc20 = require("./cerc20.json"); +const { compoundExports } = require("../helper/compound"); module.exports = { timetravel: false, // milkomeda api's for staked coins can't be queried at historical points