UNPKG

zodor-protocol-web3

Version:

SDK to interact with zodor protocol

17 lines 517 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContractFactory = void 0; const ethers_1 = require("ethers"); class ContractFactory { // Method to create contracts dynamically createContract(contractAddress, abi, runner) { try { return new ethers_1.Contract(contractAddress, abi, runner); } catch (error) { throw error; } } } exports.ContractFactory = ContractFactory; //# sourceMappingURL=ContractFactory.js.map