@airgap/etherlink
Version:
The @airgap/etherlink package is an implementation of the ICoinProtocol interface from @airgap/coinlib-core.
10 lines (9 loc) • 484 B
TypeScript
import { Address } from '../../../types/address';
import { SubProtocolType } from '../../../types/sub-protocol';
import { _AnyProtocol } from '../../protocol';
import { SubProtocol } from './SubProtocolExtension';
export declare type SingleTokenSubProtocolExtension<_T extends _AnyProtocol> = SingleTokenSubProtocol;
export interface SingleTokenSubProtocol extends SubProtocol {
getType(): Promise<Extract<SubProtocolType, 'token'>>;
getContractAddress(): Promise<Address>;
}