UNPKG

@malda-protocol/protocol-config

Version:

Centralized contract addresses, constants, and token configurations for Malda Protocol

52 lines (51 loc) 2.39 kB
import { ASSET_SYMBOLS, TESTNET_CHAINS } from '../shared/types.js'; import { sepolia, lineaSepolia, optimismSepolia } from '@wagmi/core/chains'; // Testnet configuration export const TESTNET_CONFIG = { hostChainId: lineaSepolia.id, operator: '0x389cc3D08305C3DaAf19B2Bf2EC7dD7f66D68dA8', priceOracle: '0xAc028838DaF18FAD0F69a1a1e143Eb8a29b04904', blocksPerYear: 365 * 24 * 60 * 60, gasHelper: '0x3aE44aC156557D30f58E38a6796336E7eD0A3fC1', migrator: '0x0000000000000000000000000000000000000000', // TODO: Add real address weth_mToken: '0x8Ef9d2057Fed09Fd18cbF393D789C6507CD3E875', referralSigning: '0x0000000000000000000000000000000000000000', // TODO: Add real address supportedChainIds: TESTNET_CHAINS.map((chain) => chain.id), assets: [ { symbol: ASSET_SYMBOLS.USDC, name: 'USD Coin', decimals: 6, addresses: { [lineaSepolia.id]: '0xc6e1FB449b08B26B2063c289DF9BBcb79B91c992', [optimismSepolia.id]: '0xc6e1FB449b08B26B2063c289DF9BBcb79B91c992', [sepolia.id]: '0xc6e1FB449b08B26B2063c289DF9BBcb79B91c992', }, mToken: '0x76daf584Cbf152c85EB2c7Fe7a3d50DaF3f5B6e6', jumpRateModel: '0xfe2E9AB5c7b759CaeA320578844Deae1b696eb32', }, { symbol: ASSET_SYMBOLS.WSTETH, name: 'Wrapped stETH', decimals: 18, addresses: { [lineaSepolia.id]: '0x0d7Ee0ee6E449e38269F2E089262b40cA4096594', [optimismSepolia.id]: '0x0d7Ee0ee6E449e38269F2E089262b40cA4096594', [sepolia.id]: '0x0d7Ee0ee6E449e38269F2E089262b40cA4096594', }, mToken: '0xD4286cc562b906589f8232335413f79d9aD42f7E', jumpRateModel: '0x10589A75f6D84B932613633831fdE1A4b5945930', }, // { // symbol: ASSET_SYMBOLS.WETH, // name: 'Wrapped ETH', // decimals: 18, // addresses: { // [lineaSepolia.id]: '0x06565ed324Ee9fb4DB0FF80B7eDbE4Cb007555a3' as Address, // [optimismSepolia.id]: '0x4200000000000000000000000000000000000006' as Address, // [sepolia.id]: '0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9' as Address, // }, // mToken: '0xD4286cc562b906589f8232335413f79d9aD42f7E' as Address, // }, ], };