UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

18 lines 601 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CurrencyUtilsProvider = void 0; const CurrencyModules_1 = require("./Currencies/CurrencyModules"); class CurrencyUtilsProvider { client; markets; constructor(client, markets) { this.client = client; this.markets = markets; } currency(id) { const UtilsCtor = CurrencyModules_1.CurrencyModules[id].utils; return new UtilsCtor(this.client, this.markets); } } exports.CurrencyUtilsProvider = CurrencyUtilsProvider; //# sourceMappingURL=CurrencyUtilsProvider.js.map