import { BaseCoreSDK } from "./../mixins/base-core-sdk";
import { OpenSeaMarketplace } from "./opensea";
import { MarketplaceType } from "./types";
export class MarketplaceMixin extends BaseCoreSDK {
    marketplace(type, handler, feeRecipient) {
        switch (type) {
            case MarketplaceType.OPENSEA: {
                return new OpenSeaMarketplace(type, handler, this._contracts, feeRecipient, this._web3Lib);
            }
            default:
                throw new Error(`Not Supported Marketplace Type '${type}'`);
        }
    }
}
//# sourceMappingURL=mixin.js.map