import addresses from "../constants/contracts" ; import { Address } from "../types" ; export const getNftAddress = ( nftAddresses , chainId ) : string => { return nftAddresses [ chainId ] ; } ; export const getPancakeProfileAddress = ( chainId ) : string => { return addresses . pancakeProfile [ chainId ] ; } ;