From bf6680d5b19c1aed38c92933ea837fc13e342d98 Mon Sep 17 00:00:00 2001 From: Marco Lipparini <1532277+liarco@users.noreply.github.com> Date: Sat, 26 Mar 2022 00:52:12 +0100 Subject: [PATCH] Improving imports structure for easier customization (#171) --- smart-contract/config/CollectionConfig.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/smart-contract/config/CollectionConfig.ts b/smart-contract/config/CollectionConfig.ts index 7ef8e880b..863f53005 100644 --- a/smart-contract/config/CollectionConfig.ts +++ b/smart-contract/config/CollectionConfig.ts @@ -1,11 +1,11 @@ import CollectionConfigInterface from '../lib/CollectionConfigInterface'; -import { ethereumTestnet, ethereumMainnet } from '../lib/Networks'; -import { openSea } from '../lib/Marketplaces'; +import * as Networks from '../lib/Networks'; +import * as Marketplaces from '../lib/Marketplaces'; import whitelistAddresses from './whitelist.json'; const CollectionConfig: CollectionConfigInterface = { - testnet: ethereumTestnet, - mainnet: ethereumMainnet, + testnet: Networks.ethereumTestnet, + mainnet: Networks.ethereumMainnet, // The contract name can be updated using the following command: // yarn rename-contract NEW_CONTRACT_NAME // Please DO NOT change it manually! @@ -28,7 +28,7 @@ const CollectionConfig: CollectionConfigInterface = { }, contractAddress: null, marketplaceIdentifier: 'my-nft-token', - marketplaceConfig: openSea, + marketplaceConfig: Marketplaces.openSea, whitelistAddresses: whitelistAddresses, };