UNPKG

@vocdoni/davinci-contracts

Version:

Smart contracts powering DAVINCI's digital voting protocol

67 lines (66 loc) 1.95 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Address__factory = void 0; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ const ethers_1 = require("ethers"); const _abi = [ { inputs: [ { internalType: "address", name: "target", type: "address", }, ], name: "AddressEmptyCode", type: "error", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, ], name: "AddressInsufficientBalance", type: "error", }, { inputs: [], name: "FailedInnerCall", type: "error", }, ]; const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d33e072f138326b998472252382814a3319a68274006d5091af6cdb6f025241564736f6c634300081c0033"; const isSuperArgs = (xs) => xs.length > 1; class Address__factory extends ethers_1.ContractFactory { constructor(...args) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } getDeployTransaction(overrides) { return super.getDeployTransaction(overrides || {}); } deploy(overrides) { return super.deploy(overrides || {}); } connect(runner) { return super.connect(runner); } static createInterface() { return new ethers_1.Interface(_abi); } static connect(address, runner) { return new ethers_1.Contract(address, _abi, runner); } } exports.Address__factory = Address__factory; Address__factory.bytecode = _bytecode; Address__factory.abi = _abi;