aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-26 05:17:56 +0800
committerFabio Berger <me@fabioberger.com>2018-06-26 05:17:56 +0800
commit8064914bb7f226c98d62357e29581238f0f765e4 (patch)
tree02b499ecbed8b8926c3be2e3d832053ee5f77fbb /packages/contracts
parent1134ff107542d9014b195b6dc6ce6040752c92e3 (diff)
downloaddexon-sol-tools-8064914bb7f226c98d62357e29581238f0f765e4.tar
dexon-sol-tools-8064914bb7f226c98d62357e29581238f0f765e4.tar.gz
dexon-sol-tools-8064914bb7f226c98d62357e29581238f0f765e4.tar.bz2
dexon-sol-tools-8064914bb7f226c98d62357e29581238f0f765e4.tar.lz
dexon-sol-tools-8064914bb7f226c98d62357e29581238f0f765e4.tar.xz
dexon-sol-tools-8064914bb7f226c98d62357e29581238f0f765e4.tar.zst
dexon-sol-tools-8064914bb7f226c98d62357e29581238f0f765e4.zip
Prettier fixes
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/src/utils/erc721_wrapper.ts5
-rw-r--r--packages/contracts/test/exchange/core.ts5
2 files changed, 2 insertions, 8 deletions
diff --git a/packages/contracts/src/utils/erc721_wrapper.ts b/packages/contracts/src/utils/erc721_wrapper.ts
index e83e845a0..0ad2fc7d7 100644
--- a/packages/contracts/src/utils/erc721_wrapper.ts
+++ b/packages/contracts/src/utils/erc721_wrapper.ts
@@ -152,10 +152,7 @@ export class ERC721Wrapper {
const isOwner = tokenOwner === userAddress;
return isOwner;
}
- public async isProxyApprovedForAllAsync(
- userAddress: string,
- tokenAddress: string,
- ): Promise<boolean> {
+ public async isProxyApprovedForAllAsync(userAddress: string, tokenAddress: string): Promise<boolean> {
this._validateProxyContractExistsOrThrow();
const tokenContract = this._getTokenContractFromAssetData(tokenAddress);
const operator = (this._proxyContract as ERC721ProxyContract).address;
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index b9ef0a652..63cbc155a 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -11,10 +11,7 @@ import { DummyERC20TokenContract } from '../../src/generated_contract_wrappers/d
import { DummyERC721TokenContract } from '../../src/generated_contract_wrappers/dummy_e_r_c721_token';
import { ERC20ProxyContract } from '../../src/generated_contract_wrappers/e_r_c20_proxy';
import { ERC721ProxyContract } from '../../src/generated_contract_wrappers/e_r_c721_proxy';
-import {
- CancelContractEventArgs,
- ExchangeContract,
-} from '../../src/generated_contract_wrappers/exchange';
+import { CancelContractEventArgs, ExchangeContract } from '../../src/generated_contract_wrappers/exchange';
import { artifacts } from '../../src/utils/artifacts';
import {
expectRevertOrAlwaysFailingTransactionAsync,