aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/erc20_wrapper.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-26 14:43:37 +0800
committerFabio Berger <me@fabioberger.com>2018-06-26 14:43:37 +0800
commit105b9273975b34d46dc98254846d2b31990d9d9a (patch)
tree2a099d173df79d6ce0f37960977b39ebc61eecc7 /packages/contracts/src/utils/erc20_wrapper.ts
parent9219f9d8ae2166c7c7b1d0a4ede78890094a3831 (diff)
downloaddexon-0x-contracts-105b9273975b34d46dc98254846d2b31990d9d9a.tar.gz
dexon-0x-contracts-105b9273975b34d46dc98254846d2b31990d9d9a.tar.zst
dexon-0x-contracts-105b9273975b34d46dc98254846d2b31990d9d9a.zip
Fix merge issues
Diffstat (limited to 'packages/contracts/src/utils/erc20_wrapper.ts')
-rw-r--r--packages/contracts/src/utils/erc20_wrapper.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/src/utils/erc20_wrapper.ts b/packages/contracts/src/utils/erc20_wrapper.ts
index 6dd717f4a..652f29726 100644
--- a/packages/contracts/src/utils/erc20_wrapper.ts
+++ b/packages/contracts/src/utils/erc20_wrapper.ts
@@ -19,7 +19,7 @@ export class ERC20Wrapper {
private _provider: Provider;
private _dummyTokenContracts: DummyERC20TokenContract[];
private _proxyContract?: ERC20ProxyContract;
- private _proxyIdIfExists?: number;
+ private _proxyIdIfExists?: string;
constructor(provider: Provider, tokenOwnerAddresses: string[], contractOwnerAddress: string) {
this._dummyTokenContracts = [];
this._web3Wrapper = new Web3Wrapper(provider);
@@ -55,9 +55,9 @@ export class ERC20Wrapper {
this._proxyIdIfExists = await this._proxyContract.getProxyId.callAsync();
return this._proxyContract;
}
- public getProxyId(): number {
+ public getProxyId(): string {
this._validateProxyContractExistsOrThrow();
- return this._proxyIdIfExists as number;
+ return this._proxyIdIfExists as string;
}
public async setBalancesAndAllowancesAsync(): Promise<void> {
this._validateDummyTokenContractsExistOrThrow();