diff options
author | Jacob Evans <dekz@dekz.net> | 2018-07-06 14:29:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 14:29:56 +0800 |
commit | 03b3d74748a6328ac9637ca4e176a316ca347704 (patch) | |
tree | e7d98700e0a5b957048f50c5b5d2c5dfba5216a1 /packages/contracts/test/utils/erc20_wrapper.ts | |
parent | d975c0cef34d126ce30202610671a6f8dca6b6c0 (diff) | |
parent | 0557d6a9bfc07b8d360970ffbcf582f8a26943cb (diff) | |
download | dexon-sol-tools-03b3d74748a6328ac9637ca4e176a316ca347704.tar dexon-sol-tools-03b3d74748a6328ac9637ca4e176a316ca347704.tar.gz dexon-sol-tools-03b3d74748a6328ac9637ca4e176a316ca347704.tar.bz2 dexon-sol-tools-03b3d74748a6328ac9637ca4e176a316ca347704.tar.lz dexon-sol-tools-03b3d74748a6328ac9637ca4e176a316ca347704.tar.xz dexon-sol-tools-03b3d74748a6328ac9637ca4e176a316ca347704.tar.zst dexon-sol-tools-03b3d74748a6328ac9637ca4e176a316ca347704.zip |
Merge pull request #522 from 0xProject/feature/contracts/forwarder
Forwarding contract
Diffstat (limited to 'packages/contracts/test/utils/erc20_wrapper.ts')
-rw-r--r-- | packages/contracts/test/utils/erc20_wrapper.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/contracts/test/utils/erc20_wrapper.ts b/packages/contracts/test/utils/erc20_wrapper.ts index 53e9791bc..9351b1e3d 100644 --- a/packages/contracts/test/utils/erc20_wrapper.ts +++ b/packages/contracts/test/utils/erc20_wrapper.ts @@ -138,6 +138,14 @@ export class ERC20Wrapper { }); return balancesByOwner; } + public addDummyTokenContract(dummy: DummyERC20TokenContract): void { + if (!_.isUndefined(this._dummyTokenContracts)) { + this._dummyTokenContracts.push(dummy); + } + } + public addTokenOwnerAddress(address: string): void { + this._tokenOwnerAddresses.push(address); + } public getTokenOwnerAddresses(): string[] { return this._tokenOwnerAddresses; } |