maia-core-sdk
Version:
⚒️ An SDK for building applications on top of Maia DAO Ecosytem
44 lines (43 loc) • 1.68 kB
TypeScript
import { AddressMap } from './types';
/**
* Holds the chain ids for the supported router chains
* TODO: Deploy router on Mainnet and Optimism or remove them from the list
*/
export declare enum ChainId {
SEPOLIA = 11155111,
MAINNET = 1,
ARBITRUM_ONE = 42161,
OPTIMISM = 10
}
export declare const SUPPORTED_CHAINS: readonly [ChainId.MAINNET, ChainId.SEPOLIA, ChainId.ARBITRUM_ONE, ChainId.OPTIMISM];
export declare type SupportedChainsType = (typeof SUPPORTED_CHAINS)[number];
export declare enum NativeCurrencyName {
ETHER = "ETH",
MATIC = "MATIC",
CELO = "CELO",
GNOSIS = "XDAI",
MOONBEAM = "GLMR",
BNB = "BNB",
AVAX = "AVAX"
}
declare type ChainAddresses = {
v3CoreFactoryAddress: string;
multicallAddress: string;
quoterAddress: string;
v3MigratorAddress?: string;
nonfungiblePositionManagerAddress?: string;
tickLensAddress?: string;
swapRouter02Address?: string;
v1MixedRouteQuoterAddress?: string;
};
export declare const CHAIN_TO_ADDRESSES_MAP: Record<SupportedChainsType, ChainAddresses>;
export declare const V3_CORE_FACTORY_ADDRESSES: AddressMap;
export declare const V3_MIGRATOR_ADDRESSES: AddressMap;
export declare const MULTICALL_ADDRESSES: AddressMap;
export declare const ARGENT_WALLET_DETECTOR_ADDRESS: AddressMap;
export declare const QUOTER_ADDRESSES: AddressMap;
export declare const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap;
export declare const ENS_REGISTRAR_ADDRESSES: AddressMap;
export declare const TICK_LENS_ADDRESSES: AddressMap;
export declare const SWAP_ROUTER_02_ADDRESSES: (chainId: number) => string;
export {};