UNPKG

@dolomite-exchange/dolomite-margin

Version:

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

46 lines (41 loc) 1.93 kB
"use strict"; /* Copyright 2019 dYdX Trading Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.BigNumber = exports.Web3 = void 0; var web3_1 = __importDefault(require("web3")); exports.Web3 = web3_1.default; var bignumber_js_1 = __importDefault(require("bignumber.js")); exports.BigNumber = bignumber_js_1.default; bignumber_js_1.default.config({ EXPONENTIAL_AT: 1000, DECIMAL_PLACES: 80, }); var DolomiteMargin_1 = require("./DolomiteMargin"); Object.defineProperty(exports, "DolomiteMargin", { enumerable: true, get: function () { return DolomiteMargin_1.DolomiteMargin; } }); __exportStar(require("./types"), exports); __exportStar(require("./lib/Constants"), exports); //# sourceMappingURL=index.js.map