@opiumteam/opium-sdk-v2
Version:
one-stop-shop SDK to interact with the Opium-v2 protocol contracts, subgraphs and APIs
11 lines (10 loc) • 393 B
TypeScript
import { Contract, ContractInterface } from 'ethers';
import { SDKContext } from '../../common/sdkContext';
export declare class ContractService<T extends Contract> {
readonly sdkCtx: SDKContext;
private readonly address$;
private readonly abi$;
readonly contract: T;
constructor(_sdkCtx: SDKContext, _address: string, _abi: ContractInterface);
getAddress(): string;
}