Skip to content

Commit

Permalink
init 1inch
Browse files Browse the repository at this point in the history
  • Loading branch information
grkhr committed Oct 25, 2023
1 parent 550e2aa commit 09af437
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions src/adaptors/1inch-network/index.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@


// interface Pool {
// pool: string;
// chain: string;
// project: string;
// symbol: string;
// tvlUsd: number; // for lending protocols: tvlUsd = totalSupplyUsd - totalBorrowUsd
// apyBase?: number;
// apyReward?: number;
// rewardTokens?: Array<string>;
// underlyingTokens?: Array<string>;
// poolMeta?: string;
// url?: string;
// // optional lending protocol specific fields:
// apyBaseBorrow?: number;
// apyRewardBorrow?: number;
// totalSupplyUsd?: number;
// totalBorrowUsd?: number;
// ltv?: number; // btw [0, 1]
// }


const utils = require('../utils');

const ADDRESSES = {
Expand Down Expand Up @@ -54,7 +31,7 @@ const main = async() => {
module.exports = {
timetravel: false,
apy: main,
url: "https://app.1inch.io/#/1/dao/staking",
// url: "https://app.1inch.io/#/1/dao/staking",
};


Expand Down

0 comments on commit 09af437

Please sign in to comment.