Implement zeroEx.token.getProxyAllowanceAsync
This commit is contained in:
@@ -17,6 +17,11 @@ export const ZeroExError = strEnum([
|
||||
]);
|
||||
export type ZeroExError = keyof typeof ZeroExError;
|
||||
|
||||
export const InternalError = strEnum([
|
||||
'PROXY_ADDRESS_NOT_FOUND',
|
||||
]);
|
||||
export type InternalError = keyof typeof InternalError;
|
||||
|
||||
/**
|
||||
* Elliptic Curve signature
|
||||
*/
|
||||
@@ -34,6 +39,9 @@ export interface TokenContract {
|
||||
balanceOf: {
|
||||
call: (address: string) => Promise<BigNumber.BigNumber>;
|
||||
};
|
||||
allowance: {
|
||||
call: (ownerAddress: string, allowedAddress: string) => Promise<BigNumber.BigNumber>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface TokenRegistryContract {
|
||||
|
Reference in New Issue
Block a user