UNPKG

chaingate

Version:

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

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