Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
192 changes: 187 additions & 5 deletions constants/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface PoolNames {
USDC: string;
crvUSD: string;
WETH: string;
JPYC: string;
// 新しい要素が追加される場合はここに追加
// 例: EUR: string;
}
Expand All @@ -16,6 +17,7 @@ export const SupportedPoolName = {
USDC: "USDC",
crvUSD: "crvUSD",
WETH: "WETH",
JPYC: "JPYC",
},
[SupportedChainId.SEPOLIA]: {
CJPY: "",
Expand All @@ -27,7 +29,7 @@ export const SupportedPoolName = {

export const POOL_CONFIG_MAP: PoolConfigMap = {
[SupportedChainId.MAINNET]: {
[SupportedPoolName[SupportedChainId.MAINNET].CJPY]: {
[SupportedPoolName[SupportedChainId.MAINNET].CJPY as string]: {
proxy: "0xAA59F501c92092E624D30Cff77eAFf5EA4E7BfA2",
reward: "0xA1D458530da3C4a4F0ED26BEC5E6CdE6ad0B7aC4",
cometDecimals: 18,
Expand Down Expand Up @@ -207,7 +209,7 @@ export const POOL_CONFIG_MAP: PoolConfigMap = {
},
],
},
[SupportedPoolName[SupportedChainId.MAINNET].USDC]: {
[SupportedPoolName[SupportedChainId.MAINNET].USDC as string]: {
proxy: "0x7a997e2D7C84abb219832d944141de210e2840e1",
reward: "0xA1D458530da3C4a4F0ED26BEC5E6CdE6ad0B7aC4",
cometDecimals: 18,
Expand Down Expand Up @@ -312,7 +314,7 @@ export const POOL_CONFIG_MAP: PoolConfigMap = {
},
],
},
[SupportedPoolName[SupportedChainId.MAINNET].crvUSD]: {
[SupportedPoolName[SupportedChainId.MAINNET].crvUSD as string]: {
proxy: "0xE0e2d860797eF02F18c474847787A6C8f8389044",
reward: "0xA1D458530da3C4a4F0ED26BEC5E6CdE6ad0B7aC4",
cometDecimals: 18,
Expand Down Expand Up @@ -417,7 +419,7 @@ export const POOL_CONFIG_MAP: PoolConfigMap = {
},
],
},
[SupportedPoolName[SupportedChainId.MAINNET].WETH]: {
[SupportedPoolName[SupportedChainId.MAINNET].WETH as string]: {
proxy: "0x2bf8B07e41572FB09d9F002b2500E3eeDC5d7922",
reward: "0xA1D458530da3C4a4F0ED26BEC5E6CdE6ad0B7aC4",
cometDecimals: 18,
Expand Down Expand Up @@ -537,10 +539,190 @@ export const POOL_CONFIG_MAP: PoolConfigMap = {
},
],
},
[SupportedPoolName[SupportedChainId.MAINNET].JPYC as string]: {
proxy: "0x68cBE77063dbCF7de7F59cD8c0051e0B2A23BF75",
reward: "0xA1D458530da3C4a4F0ED26BEC5E6CdE6ad0B7aC4",
cometDecimals: 18,
chainId: 1,
baseToken: {
name: "JPYC",
symbol: "JPYC",
address: "0xE7C3D8C9a439feDe00D2600032D5dB0Be71C3c29",
decimals: 18,
color: "#00459F",
logoURL: "/tokens/jpyc_logo_symbol_color_-reverse-text-only.svg",
priceFeed: "0xbce206cae7f0ec07b545edde332a47c2f75bbeb3",
priceFeedDecimals: 8,
},
rewardToken: {
name: "pnd DAO Token",
symbol: "PND",
address: "0x5FFF1443Cb859E17e9a6786f7e24c369F22FD002",
decimals: 8,
color: "#bc1c4c",
logoURL: "/tokens/PND.png",
priceFeed: "0x11ff569892Ca55846dACAa2B43C1877424ceB0CB",
priceFeedDecimals: 8,
},
supplyKink: 90,
supplyPerYearInterestRateSlopeLow: 0.04,
supplyPerYearInterestRateSlopeHigh: 0.99,
supplyPerYearInterestRateBase: 0,
borrowKink: 90,
borrowPerYearInterestRateSlopeLow: 0.025,
borrowPerYearInterestRateSlopeHigh: 0.99,
borrowPerYearInterestRateBase: 2.75,
storeFrontPriceFactor: 50,
trackingIndexScale: 1e15,
baseTrackingRewardSpeed: 2608.2,
rewardKink: 85,
baseMinForRewards: 10000000,
baseBorrowMin: 1000,
targetReserves: 5000000,
jpyPriceFeed: "0xbce206cae7f0ec07b545edde332a47c2f75bbeb3",
jpyPriceFeedDecimals: 8,
assetConfigs: [
{
name: "TenX Community JAPAN",
symbol: "TXJP",
address: "0x961dD84059505D59f82cE4fb87D3c09bec65301d",
decimals: 8,
color: "#bc1c4c",
logoURL: "/tokens/TXJP.png",
priceFeed: "0x7354FbF446fFF15Db6C7c2B8A4a84bFc092B6485",
priceFeedDecimals: 8,
borrowCollateralFactor: 80,
liquidateCollateralFactor: 90,
liquidationFactor: 90,
LiquidationPenalty: 10,
supplyCap: 100000,
},
{
name: "Wrapped st ETH",
symbol: "wstETH",
address: "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
decimals: 18,
color: "#627EEA",
logoURL: "/tokens/stETH.png",
priceFeed: "0x96Cf272b16d3aEC1933B593b25E3C60F173390ee",
priceFeedDecimals: 8,
borrowCollateralFactor: 85,
liquidateCollateralFactor: 95,
liquidationFactor: 95,
LiquidationPenalty: 5,
supplyCap: 50000,
},
{
name: "USD Coin",
symbol: "USDC",
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
decimals: 6,
color: "#627EEA",
logoURL: "/tokens/USDC.png",
priceFeed: "0x8fffffd4afb6115b954bd326cbe7b4ba576818f6",
priceFeedDecimals: 8,
borrowCollateralFactor: 95,
liquidateCollateralFactor: 98,
liquidationFactor: 98.5,
LiquidationPenalty: 1.5,
supplyCap: 50000,
},
{
name: "Curve.Fi USD Stablecoin",
symbol: "crvUSD",
address: "0xf939e0a03fb07f59a73314e73794be0e57ac1b4e",
decimals: 18,
color: "#627EEA",
logoURL: "/tokens/crvUSD.png",
priceFeed: "0xeef0c605546958c1f899b6fb336c20671f9cd49f",
priceFeedDecimals: 8,
borrowCollateralFactor: 95,
liquidateCollateralFactor: 98,
liquidationFactor: 98.5,
LiquidationPenalty: 1.5,
supplyCap: 50000,
},
{
name: "Uniswap",
symbol: "UNI",
address: "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",
decimals: 18,
color: "#627EEA",
logoURL: "/tokens/UNI.png",
priceFeed: "0x553303d460EE0afB37EdFf9bE42922D8FF63220e",
priceFeedDecimals: 8,
borrowCollateralFactor: 65,
liquidateCollateralFactor: 75,
liquidationFactor: 85,
LiquidationPenalty: 15,
supplyCap: 1000000,
},
{
name: "Curve DAO token",
symbol: "CRV",
address: "0xD533a949740bb3306d119CC777fa900bA034cd52",
decimals: 18,
color: "#627EEA",
logoURL: "/tokens/CRV.png",
priceFeed: "0xCd627aA160A6fA45Eb793D19Ef54f5062F20f33f",
priceFeedDecimals: 8,
borrowCollateralFactor: 65,
liquidateCollateralFactor: 75,
liquidationFactor: 85,
LiquidationPenalty: 15,
supplyCap: 10000000,
},
{
name: "pnd DAO token",
symbol: "PND",
address: "0x5FFF1443Cb859E17e9a6786f7e24c369F22FD002",
decimals: 18,
color: "#627EEA",
logoURL: "/tokens/PND.png",
priceFeed: "0x11ff569892Ca55846dACAa2B43C1877424ceB0CB",
priceFeedDecimals: 8,
borrowCollateralFactor: 60,
liquidateCollateralFactor: 70,
liquidationFactor: 80,
LiquidationPenalty: 20,
supplyCap: 100000000,
},
{
name: "savings crvUSD",
symbol: "scrvUSD",
address: "0x0655977FEb2f289A4aB78af67BAB0d17aAb84367",
decimals: 18,
color: "#627EEA",
logoURL: "/tokens/scrvUSD.png",
priceFeed: "0x571323c0501b76fc1bA16b4551116248c77cCD18",
priceFeedDecimals: 8,
borrowCollateralFactor: 95,
liquidateCollateralFactor: 98,
liquidationFactor: 98.5,
LiquidationPenalty: 1.5,
supplyCap: 50000000,
},
{
name: "Convertible JPY Token",
symbol: "CJPY",
address: "0x1cfa5641c01406aB8AC350dEd7d735ec41298372",
decimals: 18,
color: "#00ad92",
logoURL: "/tokens/CJPY.png",
priceFeed: "0xbce206cae7f0ec07b545edde332a47c2f75bbeb3",
priceFeedDecimals: 8,
borrowCollateralFactor: 95,
liquidateCollateralFactor: 98,
liquidationFactor: 98.5,
LiquidationPenalty: 1.5,
supplyCap: 1000000000,
},
],
},
},

[SupportedChainId.SEPOLIA]: {
[SupportedPoolName[SupportedChainId.MAINNET].USDC]: {
[SupportedPoolName[SupportedChainId.MAINNET].USDC as string]: {
proxy: "0xF4d0bE4f24F7D978C424877A5B2051876B4c9253",
reward: "0xBD658038900D585aD5D298f0dc8a498C5B20684A",
cometDecimals: 6,
Expand Down
4 changes: 4 additions & 0 deletions public/tokens/jpyc_logo_symbol_color_-reverse-text-only.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.