aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/abstract/abstract_asset_wrapper.ts
blob: d7ab58fea0e22cd7bb0e9d9878d1f3d03dc3c51e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { BigNumber } from '@0xproject/utils';

export abstract class AbstractAssetWrapper {
    public abstract getProxyId(): number;
    public abstract async setBalancesAndAllowancesAsync(): Promise<void>;
    public abstract async getBalanceAsync(owner: string, assetData: string): Promise<BigNumber>;
    public abstract async getProxyAllowanceAsync(owner: string, assetData: string): Promise<BigNumber>;
    public abstract getTokenOwnerAddresses(): string[];
    public abstract getTokenAddresses(): string[];
}