@airgap/etherlink
Version:
The @airgap/etherlink package is an implementation of the ICoinProtocol interface from @airgap/coinlib-core.
8 lines (7 loc) • 371 B
TypeScript
import { _AnyProtocol } from '../../protocol';
export declare type ConfigurableContractExtension<_T extends _AnyProtocol> = ConfigurableContractProtocol;
export interface ConfigurableContractProtocol {
isContractValid(address: string): Promise<boolean>;
getContractAddress(): Promise<string | undefined>;
setContractAddress(address: string): Promise<void>;
}