diff --git a/contracts/asset-proxy/src/erc1155_proxy_wrapper.ts b/contracts/asset-proxy/src/erc1155_proxy_wrapper.ts index 8f69fdb7c9..b372fa4c64 100644 --- a/contracts/asset-proxy/src/erc1155_proxy_wrapper.ts +++ b/contracts/asset-proxy/src/erc1155_proxy_wrapper.ts @@ -60,7 +60,7 @@ export class ERC1155ProxyWrapper { txDefaults, artifacts, ); - const erc1155Wrapper = new Erc1155Wrapper(erc1155Contract, this._provider, this._contractOwnerAddress); + const erc1155Wrapper = new Erc1155Wrapper(erc1155Contract, this._contractOwnerAddress); this._dummyTokenWrappers.push(erc1155Wrapper); } return this._dummyTokenWrappers; diff --git a/contracts/erc1155/src/erc1155_wrapper.ts b/contracts/erc1155/src/erc1155_wrapper.ts index b66da0a418..254e1d1314 100644 --- a/contracts/erc1155/src/erc1155_wrapper.ts +++ b/contracts/erc1155/src/erc1155_wrapper.ts @@ -1,5 +1,5 @@ import { BigNumber } from '@0x/utils'; -import { LogWithDecodedArgs, Provider, TransactionReceiptWithDecodedLogs } from 'ethereum-types'; +import { LogWithDecodedArgs, TransactionReceiptWithDecodedLogs } from 'ethereum-types'; import * as _ from 'lodash'; import { ERC1155MintableContract, ERC1155TransferSingleEventArgs } from './wrappers'; @@ -8,7 +8,7 @@ export class Erc1155Wrapper { private readonly _erc1155Contract: ERC1155MintableContract; private readonly _contractOwner: string; - constructor(contractInstance: ERC1155MintableContract, provider: Provider, contractOwner: string) { + constructor(contractInstance: ERC1155MintableContract, contractOwner: string) { this._erc1155Contract = contractInstance; this._contractOwner = contractOwner; } diff --git a/contracts/erc1155/src/index.ts b/contracts/erc1155/src/index.ts index 724d7805ac..61d9c30686 100644 --- a/contracts/erc1155/src/index.ts +++ b/contracts/erc1155/src/index.ts @@ -5,21 +5,18 @@ export { IERC1155ReceiverContract, DummyERC1155ReceiverBatchTokenReceivedEventArgs, ERC1155TransferSingleEventArgs, + ERC1155TransferBatchEventArgs, + ERC1155Events, } from './wrappers'; export { artifacts } from './artifacts'; export { Erc1155Wrapper } from './erc1155_wrapper'; export { - Provider, TransactionReceiptWithDecodedLogs, - JSONRPCRequestPayload, - JSONRPCResponsePayload, - JSONRPCResponseError, - JSONRPCErrorCallback, TransactionReceiptStatus, - ContractArtifact, ContractChains, CompilerOpts, StandardContractOutput, + ContractArtifact, CompilerSettings, ContractChainData, ContractAbi, diff --git a/contracts/erc1155/test/erc1155_token.ts b/contracts/erc1155/test/erc1155_token.ts index 24e2797bdb..6ed1a276e6 100644 --- a/contracts/erc1155/test/erc1155_token.ts +++ b/contracts/erc1155/test/erc1155_token.ts @@ -67,7 +67,7 @@ describe('ERC1155Token', () => { ); receiver = erc1155Receiver.address; // create wrapper & mint erc1155 tokens - erc1155Wrapper = new Erc1155Wrapper(erc1155Contract, provider, owner); + erc1155Wrapper = new Erc1155Wrapper(erc1155Contract, owner); fungibleToken = await erc1155Wrapper.mintFungibleTokensAsync([spender], spenderInitialFungibleBalance); let nonFungibleTokens: BigNumber[]; [, nonFungibleTokens] = await erc1155Wrapper.mintNonFungibleTokensAsync([spender]);