UNPKG

hector-rubic-sdk

Version:
39 lines 1.82 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.ZrxEthereumProvider = void 0; var blockchain_name_1 = require("../../../../../core/blockchain/models/blockchain-name"); var zrx_abstract_provider_1 = require("../../common/zrx-common/zrx-abstract-provider"); var features_1 = require("../../../.."); var ZrxEthereumProvider = /** @class */ (function (_super) { __extends(ZrxEthereumProvider, _super); function ZrxEthereumProvider() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.blockchain = blockchain_name_1.BLOCKCHAIN_NAME.ETHEREUM; return _this; } Object.defineProperty(ZrxEthereumProvider.prototype, "type", { get: function () { return features_1.TRADE_TYPE.ZRX_ETHEREUM; }, enumerable: false, configurable: true }); return ZrxEthereumProvider; }(zrx_abstract_provider_1.ZrxAbstractProvider)); exports.ZrxEthereumProvider = ZrxEthereumProvider; //# sourceMappingURL=zrx-ethereum-provider.js.map