@oikos/swap
Version:
Oikos Swap Contracts
46 lines (37 loc) • 1.17 kB
TypeScript
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { Contract, ContractTransaction, EventFilter } from "ethers";
import { Provider } from "ethers/providers";
import { BigNumber } from "ethers/utils";
import { TransactionOverrides } from ".";
export class IERC20 extends Contract {
functions: {
balanceOf(who: string): Promise<BigNumber>;
allowance(owner: string, spender: string): Promise<BigNumber>;
transfer(
to: string,
value: number | string | BigNumber,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
approve(
spender: string,
value: number | string | BigNumber,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
transferFrom(
from: string,
to: string,
value: number | string | BigNumber,
overrides?: TransactionOverrides
): Promise<ContractTransaction>;
totalSupply(): Promise<BigNumber>;
};
filters: {
Transfer(from: string | null, to: string | null, value: null): EventFilter;
Approval(
owner: string | null,
spender: string | null,
value: null
): EventFilter;
};
}