@broxus/js-bridge-essentials
Version:
Bridge JavaScript Essentials library
17 lines (16 loc) • 824 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.tonAlienProxyContract = tonAlienProxyContract;
exports.tonMergePoolContract = tonMergePoolContract;
exports.tonMergeRouterContract = tonMergeRouterContract;
const js_core_1 = require("@broxus/js-core");
const abi_1 = require("../../models/ton-alien-proxy/abi");
function tonAlienProxyContract(connection, address) {
return new connection.Contract(abi_1.TonAlienProxyAbi, (0, js_core_1.resolveTvmAddress)(address));
}
function tonMergePoolContract(connection, address) {
return new connection.Contract(abi_1.TonMergePoolAbi, (0, js_core_1.resolveTvmAddress)(address));
}
function tonMergeRouterContract(connection, address) {
return new connection.Contract(abi_1.TonMergeRouterAbi, (0, js_core_1.resolveTvmAddress)(address));
}