diff --git a/src/seaport.ts b/src/seaport.ts index 744bd386..7f2f9aa1 100644 --- a/src/seaport.ts +++ b/src/seaport.ts @@ -6,6 +6,7 @@ import { JsonRpcProvider, Provider, JsonRpcSigner, + Signer, } from "ethers"; import { SEAPORT_CONTRACT_NAME, @@ -33,7 +34,6 @@ import type { OrderWithCounter, TipInputItem, MatchOrdersFulfillment, - Signer, ApprovalAction, CreateBulkOrdersAction, SeaportContract, diff --git a/src/types.ts b/src/types.ts index a1aa927e..77e6d5be 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -import { BigNumberish, BytesLike, ContractTransaction, ethers } from "ethers"; +import { BigNumberish, ContractTransaction } from "ethers"; import { ItemType, OrderType } from "./constants"; import type { TestERC20, TestERC721 } from "./typechain-types"; import { TransactionMethods } from "./utils/usecase"; @@ -27,28 +27,6 @@ export type SeaportConfig = { }; }; -type TypedDataDomain = { - name?: string; - version?: string; - chainId?: BigNumberish; - verifyingContract?: string; - salt?: BytesLike; -}; - -type TypedDataField = { - name: string; - type: string; -}; - -// Temporary until TypedDataSigner is added in ethers (in v6) -export type Signer = ethers.Signer & { - _signTypedData( - domain: TypedDataDomain, - types: Record>, - value: Record, - ): Promise; -}; - export type OfferItem = { itemType: ItemType; token: string;