Skip to content

Commit

Permalink
rm liquidchain (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche authored Jan 3, 2025
1 parent 473fbd2 commit 37ae44b
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions src/adapters/peggedAssets/tether/index.ts
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
const sdk = require("@defillama/sdk");
import { sumSingleBalance } from "../helper/generalUtil";
import { ChainApi } from "@defillama/sdk";
import { getTotalSupply as aptosGetTotalSupply } from "../helper/aptos";
import { sumMultipleBalanceFunctions, sumSingleBalance } from "../helper/generalUtil";
import {
bridgedSupply,
supplyInEthereumBridge,
getApi,
osmosisSupply,
solanaMintedOrBridged,
supplyInEthereumBridge,
terraSupply,
osmosisSupply,
getApi,
} from "../helper/getSupply";
import { getTokenBalance as solanaGetTokenBalance } from "../helper/solana";
import { getTotalSupply as kavaGetTotalSupply } from "../helper/kava";
import { mixinSupply } from "../helper/mixin";
import { call as nearCall } from "../helper/near";
import {
getTotalSupply as ontologyGetTotalSupply,
getBalance as ontologyGetBalance,
getTotalSupply as ontologyGetTotalSupply,
} from "../helper/ontology";
import { getTotalSupply as kavaGetTotalSupply } from "../helper/kava";
import { getTotalBridged as pnGetTotalBridged } from "../helper/polynetwork";
import { getTotalSupply as aptosGetTotalSupply } from "../helper/aptos";
import { call as nearCall } from "../helper/near";
import {
ChainBlocks,
PeggedIssuanceAdapter,
Balances,
PeggedAssetType,
} from "../peggedAsset.type";
import { getTokenBalance as solanaGetTokenBalance } from "../helper/solana";
import {
getTokenBalance as tronGetTokenBalance,
getTotalSupply as tronGetTotalSupply, // NOTE THIS DEPENDENCY
} from "../helper/tron";
import { sumMultipleBalanceFunctions } from "../helper/generalUtil";
import { mixinSupply } from "../helper/mixin";
import {
Balances,
ChainBlocks,
PeggedAssetType,
PeggedIssuanceAdapter,
} from "../peggedAsset.type";
import { chainContracts } from "./config";
import { ChainApi } from "@defillama/sdk";
const axios = require("axios");
const retry = require("async-retry");

Expand Down Expand Up @@ -782,10 +781,10 @@ const adapter: PeggedIssuanceAdapter = {
algorand: {
minted: algorandMinted(),
},
liquidchain: {
minted: liquidMinted(),
unreleased: usdtApiUnreleased("reserve_balance_liq"),
},
// liquidchain: {
// minted: liquidMinted(),
// unreleased: usdtApiUnreleased("reserve_balance_liq"),
// },
bittorrent: {
ethereum: bridgedSupply(
"bittorrent",
Expand Down

0 comments on commit 37ae44b

Please sign in to comment.