UNPKG

@dolomite-exchange/dolomite-margin

Version:

Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol

16 lines 573 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Operation = void 0; const AccountOperation_1 = require("./AccountOperation"); class Operation { constructor(contracts, orderMapper, networkId) { this.contracts = contracts; this.orderMapper = orderMapper; this.networkId = networkId; } initiate(options) { return new AccountOperation_1.AccountOperation(this.contracts, this.orderMapper, this.networkId, options || {}); } } exports.Operation = Operation; //# sourceMappingURL=Operation.js.map