zic-evm-sdk
Version:
An sdk for interacting with zebec card evm contracts
50 lines (49 loc) • 1.37 kB
TypeScript
import { SupportedChain, SupportedChainId } from "./types";
/**
* Ethereum mainnet chain ID
*/
export declare const MAINNET_CHAIN_ID: SupportedChainId;
/**
* Sepolia chain ID
*/
export declare const SEPOLIA_CHAIN_ID: SupportedChainId;
/**
* Base chain ID
*/
export declare const BASE_CHAIN_ID: SupportedChainId;
/**
* BSC chain ID
*/
export declare const BSC_CHAIN_ID: SupportedChainId;
/**
* BSC testnet chain ID
*/
export declare const BSC_TESTNET_CHAIN_ID: SupportedChainId;
/**
* Odyssey testnet chain ID
*/
export declare const ODYSSEY_TESTNET_CHAIN_ID: SupportedChainId;
export declare const ODYSSEY_MAINNET_CHAIN_ID: SupportedChainId;
export declare const CHAINS: Record<SupportedChainId, SupportedChain>;
/**
* Gets ZebecCard contract address for given chainId
* @param chainId
* @returns address
*/
export declare const getZebecCardAddress: (chainId: SupportedChainId) => string;
/**
* Gets USDC address for given chainId
* @param chainId
* @returns address
*/
export declare const getUsdcAddress: (chainId: SupportedChainId) => string;
/**
* Gets WETH address for given chainId
* @param chainId
* @returns address
*/
export declare const getWethAddress: (chainId: SupportedChainId) => string;
/**
* Gets Aave Usdc token address for supported chains
*/
export declare const getATokenAddress: (chainId: SupportedChainId) => string;