@dolomite-exchange/dolomite-margin
Version:
Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol
17 lines • 664 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Operation = void 0;
var AccountOperation_1 = require("./AccountOperation");
var Operation = /** @class */ (function () {
function Operation(contracts, orderMapper, networkId) {
this.contracts = contracts;
this.orderMapper = orderMapper;
this.networkId = networkId;
}
Operation.prototype.initiate = function (options) {
return new AccountOperation_1.AccountOperation(this.contracts, this.orderMapper, this.networkId, options || {});
};
return Operation;
}());
exports.Operation = Operation;
//# sourceMappingURL=Operation.js.map