Skip to content

Commit

Permalink
add hexdc
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Jul 15, 2024
1 parent c126e75 commit be9a2d5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/adapters/peggedAssets/hex-dollar-coin/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const chainContracts = {
pulse: {
issued: ["0x1fe0319440a672526916c232eaee4808254bdb00"],
},
};

import { addChainExports } from "../helper/getSupply";
const adapter = addChainExports(chainContracts);
export default adapter;
4 changes: 3 additions & 1 deletion src/adapters/peggedAssets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ import classicusd from "./classic-usd";
import usr from "./resolv-usr";
import ausd from "./stable-jack-ausd";
import creal from "./celo-real-creal";
import hexdc from "./hex-dollar-coin";

export default {
tether,
Expand Down Expand Up @@ -399,5 +400,6 @@ export default {
"resolv-usr": usr,
"stable-jack-ausd": ausd,
"hedera-swiss-franc": hchf,
"celo-real-creal": creal
"celo-real-creal": creal,
"hex-dollar-coin": hexdc
};
20 changes: 20 additions & 0 deletions src/peggedData/peggedData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4024,4 +4024,24 @@ export default [
twitter: "https://x.com/hliquity_",
wiki: "https://docs.hliquity.org/overview/overview#hchf-the-stablecoin",
},
{
id: "201",
name: "HEX Dollar Coin",
address: "pulse:0x1fe0319440a672526916c232eaee4808254bdb00",
symbol: "HEXDC",
url: "https://www.flex.powercity.io/#/",
description:
"Powercity Flex Protocol is a decentralized borrowing protocol that allows you to draw interest-free loans against HEX used as collateral. Loans are paid out in HEXDC (a USD pegged stablecoin)",
mintRedeemDescription:
"Powercity Flex Protocol offers interest-free loans. Lock up your HEX, borrow HEXDC against it, and repay later without interest",
onCoinGecko: "true",
gecko_id: "hex-dollar-coin",
cmcId: null,
pegType: "peggedUSD",
pegMechanism: "crypto-backed",
priceSource: "defillama",
auditLinks: null,
twitter: "https://x.com/POWERCITYio",
wiki: "https://docs.powercity.io/flex-protocol",
},
] as PeggedAsset[];

0 comments on commit be9a2d5

Please sign in to comment.