@broxus/js-bridge-essentials
Version:
Bridge JavaScript Essentials library
17 lines (16 loc) • 821 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.nativeProxyV6Contract = nativeProxyV6Contract;
exports.nativeProxyV7Contract = nativeProxyV7Contract;
exports.nativeProxyV8Contract = nativeProxyV8Contract;
const js_core_1 = require("@broxus/js-core");
const abi_1 = require("../../models/native-proxy/abi");
function nativeProxyV6Contract(connection, address) {
return new connection.Contract(abi_1.NativeProxyV6Abi, (0, js_core_1.resolveTvmAddress)(address));
}
function nativeProxyV7Contract(connection, address) {
return new connection.Contract(abi_1.NativeProxyV7Abi, (0, js_core_1.resolveTvmAddress)(address));
}
function nativeProxyV8Contract(connection, address) {
return new connection.Contract(abi_1.NativeProxyV8Abi, (0, js_core_1.resolveTvmAddress)(address));
}