mirror of
https://github.com/alexgo-io/peggedassets-server.git
synced 2026-01-12 16:53:14 +08:00
Merge branch 'master' into hedera-swiss-franc
This commit is contained in:
11
src/adapters/peggedAssets/celo-real-creal/index.ts
Normal file
11
src/adapters/peggedAssets/celo-real-creal/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
const chainContracts = {
|
||||
celo: {
|
||||
issued: "0xe8537a3d056DA446677B9E9d6c5dB704EaAb4787",
|
||||
pegType: 'peggedREAL'
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
import { addChainExports } from "../helper/getSupply";
|
||||
const adapter = addChainExports(chainContracts);
|
||||
export default adapter;
|
||||
@@ -196,7 +196,8 @@ import ckusdc from "./ckusdc";
|
||||
import usd0 from "./usual-usd";
|
||||
import classicusd from "./classic-usd";
|
||||
import usr from "./resolv-usr";
|
||||
import ausd from "./stable-jack-ausd"
|
||||
import ausd from "./stable-jack-ausd";
|
||||
import creal from "./celo-real-creal";
|
||||
|
||||
export default {
|
||||
tether,
|
||||
@@ -398,4 +399,5 @@ export default {
|
||||
"resolv-usr": usr,
|
||||
"stable-jack-ausd": ausd,
|
||||
"hedera-swiss-franc": hchf
|
||||
"celo-real-creal": creal
|
||||
};
|
||||
|
||||
@@ -19,6 +19,7 @@ export type PeggedAssetType =
|
||||
| "peggedCHF"
|
||||
| "peggedGOLD" //not used
|
||||
| "peggedCOP"
|
||||
| "peggedREAL"
|
||||
| "peggedAUD";
|
||||
|
||||
type StringNumber = string;
|
||||
|
||||
@@ -220,6 +220,8 @@ export const chainContracts: ChainContracts = {
|
||||
],
|
||||
},
|
||||
celo: {
|
||||
//issued: ["0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e"],
|
||||
//unreleased: ["0x5754284f345afc66a98fbB0a0Afe71e0F007B949"],
|
||||
bridgedFromETH6Decimals: [
|
||||
"0x88eeC49252c8cbc039DCdB394c0c2BA2f1637EA0", // optics
|
||||
],
|
||||
|
||||
@@ -840,6 +840,8 @@ const adapter: PeggedIssuanceAdapter = {
|
||||
ethereum: bridgedSupply("fantom", 6, chainContracts.fantom.bridgedFromETH),
|
||||
},
|
||||
celo: {
|
||||
minted: usdtApiMinted("totaltokens_celo"),
|
||||
unreleased: usdtApiUnreleased("reserve_balance_celo"),
|
||||
ethereum: sumMultipleBalanceFunctions(
|
||||
[
|
||||
bridgedSupply("celo", 6, chainContracts.celo.bridgedFromETH6Decimals),
|
||||
|
||||
@@ -225,6 +225,7 @@ export const chainContracts: ChainContracts = {
|
||||
bridgedFromETH: ["0x3ad9dfe640e1a9cc1d9b0948620820d975c3803a"], // synapse
|
||||
},
|
||||
celo: {
|
||||
issued: ["0xcebA9300f2b948710d2653dD7B07f33A8B32118C"],
|
||||
bridgedFromETH6Decimals: [
|
||||
"0xef4229c8c3250C675F21BCefa42f58EfbfF6002a", // optics
|
||||
"0x37f750B7cC259A2f741AF45294f6a16572CF5cAd", // wormhole
|
||||
|
||||
@@ -690,6 +690,7 @@ const adapter: PeggedIssuanceAdapter = {
|
||||
ethereum: bridgedSupply("dfk", 18, chainContracts.dfk.bridgedFromETH),
|
||||
},
|
||||
celo: {
|
||||
minted: chainMinted("celo",6),
|
||||
ethereum: sumMultipleBalanceFunctions(
|
||||
[
|
||||
bridgedSupply("celo", 6, chainContracts.celo.bridgedFromETH6Decimals),
|
||||
|
||||
@@ -3984,4 +3984,24 @@ export default [
|
||||
twitter: "https://x.com/StableJack_xyz",
|
||||
wiki: "https://docs.stablejack.xyz/stablejack",
|
||||
},
|
||||
{
|
||||
id: "199",
|
||||
name: "Celo Real",
|
||||
address: "celo:0xe8537a3d056DA446677B9E9d6c5dB704EaAb4787",
|
||||
symbol: "CREAL",
|
||||
url: "https://celo.org/",
|
||||
description:
|
||||
"cREAL is a decentralized, over-collateralized algorithmic stablecoin that tracks the value of the Brazilian real",
|
||||
mintRedeemDescription:
|
||||
"Celo real (cREAL) is based on Mento, the stability protocol on Celo, and supported by multiple digital assets, including BTC and ETH, in the Celo Reserve.",
|
||||
onCoinGecko: "true",
|
||||
gecko_id: "celo-real-creal",
|
||||
cmcId: "16385",
|
||||
pegType: "peggedREAL",
|
||||
pegMechanism: "crypto-backed",
|
||||
priceSource: "defillama",
|
||||
auditLinks: null,
|
||||
twitter: "https://twitter.com/CeloOrg",
|
||||
wiki: "https://blog.celo.org/celo-launches-the-creal-stablecoin-11da0d560c1c",
|
||||
},
|
||||
] as PeggedAsset[];
|
||||
|
||||
@@ -13,6 +13,7 @@ type PegType =
|
||||
| "peggedXAU" //Gold this is not used
|
||||
| "peggedCHF" //Swiss franc
|
||||
| "peggedCOP" //colombian peso
|
||||
| "peggedREAL"//brazilian real
|
||||
| "peggedAUD"; //Australian currency
|
||||
|
||||
type PegMechanism = "algorithmic" | "fiat-backed" | "crypto-backed";
|
||||
|
||||
Reference in New Issue
Block a user