UNPKG

@wasserstoff/tribes-sdk

Version:

SDK for integrating with Tribes by Astrix platform on any EVM compatible chain

22 lines (21 loc) 829 B
/** * Contract addresses configuration for Tribes by Astrix SDK */ import { NetworkId } from './networks'; import { ContractAddresses } from '../types/contracts'; /** * Contract addresses for each supported network */ export declare const CONTRACT_ADDRESSES: Record<number, ContractAddresses>; /** * Get contract addresses for a specific network ID * @param networkId The network ID to get addresses for * @returns Contract addresses for the specified network */ export declare function getContractAddresses(networkId: NetworkId): ContractAddresses; /** * Get contract addresses for a specific chain ID * @param chainId The chain ID to get addresses for * @returns Contract addresses for the specified chain ID */ export declare function getContractAddressesByChainId(chainId: number): ContractAddresses | undefined;