Skip to content

Commit

Permalink
chore: Addresses type (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexacroes committed May 25, 2023
1 parent cf47351 commit 00408b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
10 changes: 1 addition & 9 deletions src/constants/addresses.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
import { ChainId } from "@looksrare/sdk-v2";

/** LooksRare aggregator contract addresses */
export interface Addresses {
AGGREGATOR: string;
ERC20_ENABLED_AGGREGATOR: string;
LOOKSRARE_V2_PROXY: string;
SEAPORT_V1_4_PROXY: string;
SEAPORT_V1_5_PROXY: string;
}
import { Addresses } from "../types";

const mainnetAddresses: Addresses = {
AGGREGATOR: "0x00000000005228B791a99a61f36A130d50600106",
Expand Down
9 changes: 9 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ import { Order } from "@opensea/seaport-js/lib/types";
import { BigNumber, BigNumberish, BytesLike, ContractTransaction, PayableOverrides, UnsignedTransaction } from "ethers";
import { MakerOrderFromAPI } from "./interfaces/LooksRareV2";

/** LooksRare aggregator contract addresses */
export interface Addresses {
AGGREGATOR: string;
ERC20_ENABLED_AGGREGATOR: string;
LOOKSRARE_V2_PROXY: string;
SEAPORT_V1_4_PROXY: string;
SEAPORT_V1_5_PROXY: string;
}

/** List of collection types supported by the aggregator */
export enum CollectionType {
ERC721 = 0,
Expand Down

0 comments on commit 00408b7

Please sign in to comment.