Skip to content

Commit

Permalink
Rename /volumes -> /dexs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtawa committed Oct 28, 2022
1 parent f685de3 commit 7cb9528
Show file tree
Hide file tree
Showing 215 changed files with 14 additions and 14 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion fees/biswap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter } from "../adapters/types";
import volumeAdapter from "../volumes/biswap";
import volumeAdapter from "../dexs/biswap";
import { getDexChainFees } from "../helpers/getUniSubgraphFees";

const TOTAL_FEES = 0.002;
Expand Down
2 changes: 1 addition & 1 deletion fees/mooniswap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Adapter } from "../adapters/types";
import { getDexChainFees } from "../helpers/getUniSubgraphFees";
import volumeAdapter from "../volumes/mooniswap";
import volumeAdapter from "../dexs/mooniswap";

const TOTAL_FEES = 0.003;

Expand Down
2 changes: 1 addition & 1 deletion fees/pancakeswap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DEFAULT_DAILY_VOLUME_FIELD, DEFAULT_TOTAL_VOLUME_FIELD, getDexChainBreakdownFees } from "../helpers/getUniSubgraphFees";
import volumeAdapter from "../volumes/pancakeswap";
import volumeAdapter from "../dexs/pancakeswap";
import { Adapter, BreakdownAdapter, Fetch } from "../adapters/types";
import { CHAIN } from "../helpers/chains";
import { getChainVolume } from "../helpers/getUniSubgraphVolume";
Expand Down
2 changes: 1 addition & 1 deletion fees/pangolin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter } from "../adapters/types";
import volumeAdapter from "../volumes/pangolin";
import volumeAdapter from "../dexs/pangolin";
import { getDexChainFees } from "../helpers/getUniSubgraphFees";

const TOTAL_FEES = 0.003;
Expand Down
2 changes: 1 addition & 1 deletion fees/quickswap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getDexChainFeesRaw, getDexChainFees } from "../helpers/getUniSubgraphFees";
import { Adapter } from "../adapters/types";
import volumeAdapter from "../volumes/quickswap";
import volumeAdapter from "../dexs/quickswap";
import { POLYGON } from "../helpers/chains";
import { Chain } from "@defillama/sdk/build/general";

Expand Down
2 changes: 1 addition & 1 deletion fees/raydium.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BaseAdapter, Adapter } from "../adapters/types";
import volumeAdapter from "../volumes/raydium";
import volumeAdapter from "../dexs/raydium";
import { getDexChainFees } from "../helpers/getUniSubgraphFees";

const TOTAL_FEES = 0.0025;
Expand Down
2 changes: 1 addition & 1 deletion fees/spookyswap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getDexChainFees } from "../helpers/getUniSubgraphFees";
import volumeAdapter from "../volumes/spookyswap";
import volumeAdapter from "../dexs/spookyswap";
import { Adapter, BaseAdapter } from "../adapters/types";

const TOTAL_FEES = 0.002;
Expand Down
2 changes: 1 addition & 1 deletion fees/sushiswap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getDexChainFees } from "../helpers/getUniSubgraphFees";
import volumeAdapter from "../volumes/sushiswap";
import volumeAdapter from "../dexs/sushiswap";
import { Adapter, BaseAdapter } from "../adapters/types";

const TOTAL_FEES = 0.003;
Expand Down
2 changes: 1 addition & 1 deletion fees/traderjoe.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getDexChainFees } from "../helpers/getUniSubgraphFees";
import volumeAdapter from "../volumes/traderjoe";
import volumeAdapter from "../dexs/traderjoe";
import { Adapter, BaseAdapter } from "../adapters/types";

const TOTAL_FEES = 0.003;
Expand Down
2 changes: 1 addition & 1 deletion fees/uniswap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BreakdownAdapter, Adapter } from "../adapters/types";
import { ARBITRUM, ETHEREUM, OPTIMISM, POLYGON } from "../helpers/chains";
import { getStartTimestamp } from "../helpers/getStartTimestamp";
import { getDexChainBreakdownFees, getUniswapV3Fees } from "../helpers/getUniSubgraphFees";
import volumeAdapter from "../volumes/uniswap";
import volumeAdapter from "../dexs/uniswap";

const v3Endpoints = {
[ETHEREUM]: "https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3",
Expand Down
2 changes: 1 addition & 1 deletion fees/velodrome.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter } from "../adapters/types";
import volumeAdapter from "../volumes/velodrome";
import volumeAdapter from "../dexs/velodrome";
import { getDexChainFees } from "../helpers/getUniSubgraphFees";

const TOTAL_FEES = 0.002;
Expand Down
2 changes: 1 addition & 1 deletion fees/wombat-exchange.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter } from "../adapters/types";
import volumeAdapter from "../volumes/wombat-exchange";
import volumeAdapter from "../dexs/wombat-exchange";
import { getDexChainFees } from "../helpers/getUniSubgraphFees";

const TOTAL_FEES = 0.0001;
Expand Down
2 changes: 1 addition & 1 deletion fees/woofi.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getDexChainFees } from "../helpers/getUniSubgraphFees";
import volumeAdapter from "../volumes/woofi";
import volumeAdapter from "../dexs/woofi";
import { Adapter, BaseAdapter } from "../adapters/types";

const TOTAL_FEES = 0.00025;
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
},
"include": [
"fees/*",
"volumes/*",
"dexs/*",
"adapters/*", "aggregators/*", "options/*", "incentives/*", "fees/*"],
}

0 comments on commit 7cb9528

Please sign in to comment.