aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/abstract/balance_and_allowance_fetcher.ts
blob: f7b1183f1a4676e55d9f77512ac3640a0cb3dd6c (plain) (blame)
1
2
3
4
5
6
import { BigNumber } from '@0xproject/utils';

export abstract class BalanceAndAllowanceFetcher {
    public abstract async getBalanceAsync(tokenAddress: string, userAddress: string): Promise<BigNumber>;
    public abstract async getProxyAllowanceAsync(tokenAddress: string, userAddress: string): Promise<BigNumber>;
}