UNPKG

@vaimee/my3sec-contracts

Version:

A set of contracts that implements the My3Sec protocol

133 lines (132 loc) 3.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Errors__factory = void 0; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ const ethers_1 = require("ethers"); const _abi = [ { inputs: [], name: "AlreadyCompleted", type: "error", }, { inputs: [], name: "AlreadyMember", type: "error", }, { inputs: [], name: "AlreadyRegistered", type: "error", }, { inputs: [], name: "AlreadyWithdrawn", type: "error", }, { inputs: [], name: "CallerNotOrganization", type: "error", }, { inputs: [], name: "ExceededLoggableTime", type: "error", }, { inputs: [], name: "IndexOutOfBounds", type: "error", }, { inputs: [], name: "InitParamsInvalid", type: "error", }, { inputs: [], name: "InvalidContract", type: "error", }, { inputs: [], name: "NotCompleted", type: "error", }, { inputs: [], name: "NotGovernance", type: "error", }, { inputs: [], name: "NotHub", type: "error", }, { inputs: [], name: "NotMember", type: "error", }, { inputs: [], name: "NotPendingMember", type: "error", }, { inputs: [], name: "NotProfileOwner", type: "error", }, { inputs: [], name: "NotRegistered", type: "error", }, { inputs: [], name: "NotWhitelisted", type: "error", }, { inputs: [], name: "SkillNotFound", type: "error", }, ]; const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b0887ccc709af9f7d78a1ba8ae528b9a5d057e317752ef0fd872c4e21652598d64736f6c63430008110033"; const isSuperArgs = (xs) => xs.length > 1; class Errors__factory extends ethers_1.ContractFactory { constructor(...args) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } deploy(overrides) { return super.deploy(overrides || {}); } getDeployTransaction(overrides) { return super.getDeployTransaction(overrides || {}); } attach(address) { return super.attach(address); } connect(signer) { return super.connect(signer); } static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.Errors__factory = Errors__factory; Errors__factory.bytecode = _bytecode; Errors__factory.abi = _abi;