UNPKG

@broxus/js-core

Version:

MobX-based JavaScript Core library

13 lines (12 loc) 612 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.dexStablePoolContract = dexStablePoolContract; exports.dexStablePoolV22Contract = dexStablePoolV22Contract; const abi_1 = require("../../models/dex-stable-pool/abi"); const utils_1 = require("../../utils"); function dexStablePoolContract(connection, address) { return new connection.Contract(abi_1.DexStablePoolAbi, (0, utils_1.resolveTvmAddress)(address)); } function dexStablePoolV22Contract(connection, address) { return new connection.Contract(abi_1.DexStablePoolV22Abi, (0, utils_1.resolveTvmAddress)(address)); }