Interface ERC20Like

A subset of ERC20

interface ERC20Like {
    address: Address;
    allowance(owner, spender): Promise<BN>;
    approve(spender, amount): Promise<undefined | TransactionResponse>;
    balanceOf(userAddress): Promise<BN>;
    decimals(): Promise<number>;
    name(): Promise<string>;
    symbol(): Promise<string>;
    transfer(to, amount): Promise<TransactionResponse>;
}

Implemented by

Properties

address: Address

Methods

Generated using TypeDoc