@admin-jigsaw/jigsaw-sdk
Version:
Returns predefined data for Jigsaw platform and exposes functionality to retrieve the necessary data
147 lines (146 loc) • 4.17 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SYMBOLS_ALL = exports.COLLATERALS = void 0;
// Dictionary of coins
exports.COLLATERALS = {
// Stablecoins
USDC: {
name: "USD Coin",
symbol: "USDC",
icon: "/assets/coins/usd.png",
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
id: "usd-coin",
decimals: 6,
},
USDT: {
name: "Tether USD",
symbol: "USDT",
icon: "/assets/coins/usdt.png",
address: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
id: "tether",
decimals: 6,
},
DAI: {
name: "Dai Stablecoin",
symbol: "DAI",
icon: "/assets/coins/dai.png",
address: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
id: "dai",
decimals: 18,
},
rUSD: {
name: "Fortufi Reservoir",
symbol: "rUSD",
icon: "/assets/coins/rusd.webp",
address: "0x09D4214C03D01F49544C0448DBE3A27f768F2b34",
decimals: 18,
id: "reservoir-rusd",
},
sUSDe: {
name: "Ethena Staked USDe",
symbol: "sUSDe",
icon: "/assets/coins/susde.webp",
address: "0x9d39a5de30e57443bff2a8307a4256c8797a3497",
decimals: 18,
id: "ethena-staked-usde",
},
"USD0++": {
name: "USD0 Liquid Bond",
symbol: "USD0++",
icon: "/assets/coins/usd0.png",
address: "0x35d8949372d46b7a3d5a56006ae77b215fc69bc0",
decimals: 18,
id: "usd0-liquid-bond",
},
// Majors
WBTC: {
name: "Wrapped Bitcoin",
symbol: "WBTC",
icon: "/assets/coins/wbtc.png",
address: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
id: "wrapped-bitcoin",
decimals: 8,
},
WETH: {
name: "Wrapped Ether",
symbol: "WETH",
icon: "/assets/coins/weth.png",
address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
id: "weth",
decimals: 18,
},
ETH: {
name: "Ethereum Native Coin",
symbol: "ETH",
icon: "/assets/coins/eth.png",
address: null,
id: "ethereum",
},
wstETH: {
name: "Wrapped Staked Ether",
symbol: "wstETH",
icon: "/assets/coins/wsteth.png",
address: "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
id: "wsteth",
decimals: 18,
},
// Liquid Restaking Tokens (LRTs)
rswETH: {
name: "Restaked Swell Ether",
symbol: "rswETH",
icon: "/assets/coins/rsweth.png",
address: "0xfae103dc9cf190ed75350761e95403b7b8afa6c0",
id: "restaked-swell-eth",
decimals: 18,
},
pufETH: {
name: "Purffer Ethereum",
symbol: "pufETH",
icon: "/assets/coins/pufeth.png",
address: "0xD9A442856C234a39a81a089C06451EBAa4306a72",
id: "pufeth",
decimals: 18,
},
weETH: {
name: "Ethefi Eth",
symbol: "weETH",
icon: "/assets/coins/weeth.png",
address: "0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee",
id: "wrapped-eeth",
decimals: 18,
},
ezETH: {
name: "Renzo Restaked ETH",
symbol: "ezETH",
icon: "/assets/coins/ezeth.png",
address: "0xbf5495Efe5DB9ce00f80364C8B423567e58d2110",
id: "renzo-restaked-eth",
decimals: 18,
},
pxETH: {
name: "Pirex Ether",
symbol: "pxETH",
icon: "/assets/coins/pxeth.png",
address: "0x04C154b66CB340F3Ae24111CC767e0184Ed00Cc6",
id: "dinero-staked-eth",
decimals: 18,
},
LBTC: {
name: "Lombard Staked BTC",
symbol: "LBTC",
icon: "/assets/coins/lbtc.png",
address: "0x8236a87084f8B84306f72007F36F2618A5634494",
id: "lombard-staked-btc",
decimals: 8,
},
jUSD: {
name: "Jigsaw USD",
symbol: "jUSD",
icon: "/assets/coins/jUSD.svg",
address: process.env.NEXT_PUBLIC_JUSD,
decimals: 18,
id: "usd-coin",
},
};
// The assets we can deposit
exports.SYMBOLS_ALL = Object.keys(exports.COLLATERALS);