"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoreWriterLib__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "error",
        name: "CoreWriterLib__CannotSelfTransfer",
        inputs: [],
    },
    {
        type: "error",
        name: "CoreWriterLib__CoreAmountTooLarge",
        inputs: [
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "CoreWriterLib__EvmAmountTooSmall",
        inputs: [
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "CoreWriterLib__HypeTransferFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "CoreWriterLib__StillLockedUntilTimestamp",
        inputs: [
            {
                name: "lockedUntilTimestamp",
                type: "uint64",
                internalType: "uint64",
            },
        ],
    },
];
const _bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212202ff61fe149e8a97685c8e0f757b72d7104d8e903c88a1ce4223c21f59d18082564736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class CoreWriterLib__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.CoreWriterLib__factory = CoreWriterLib__factory;
CoreWriterLib__factory.bytecode = _bytecode;
CoreWriterLib__factory.abi = _abi;
