UNPKG

@mstable/protocol

Version:
7 lines (6 loc) 980 B
import { Chain } from "./tokens"; export declare const contractNames: readonly ["Nexus", "DelayedProxyAdmin", "ProtocolDAO", "Governor", "FundManager", "mStableDAO", "SavingsManager", "Liquidator", "RewardsDistributor", "BoostDirector", "Collector", "Ejector", "Poker", "SaveWrapper", "RevenueRecipient", "FeederManager", "FeederLogic", "FeederWrapper", "FeederInterestValidator", "BasketManager", "AaveIncentivesController", "AaveLendingPoolAddressProvider", "AlchemixStakingPool", "CurveRegistryExchange", "QuickSwapRouter", "UniswapRouterV3", "UniswapQuoterV3", "UniswapEthToken", "MStableYieldSource"]; export declare type ContractNames = typeof contractNames[number]; export declare const getChainAddress: (contractName: ContractNames, chain: Chain) => string; export declare const getChain: (networkName: string, hardhatConfig?: string) => Chain; export declare const getNetworkAddress: (contractName: ContractNames, networkName?: string, hardhatConfig?: string) => string;