"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IncrementalNG__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_start",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [],
        name: "number",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_block",
                type: "uint256",
            },
        ],
        name: "receiveRandomness",
        outputs: [
            {
                internalType: "uint256",
                name: "randomNumber",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "_block",
                type: "uint256",
            },
        ],
        name: "requestRandomness",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
const _bytecode = "0x608060405234801561001057600080fd5b5060405161013138038061013183398101604081905261002f91610037565b600055610050565b60006020828403121561004957600080fd5b5051919050565b60d38061005e6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c806313cf90541460415780637363ae1f14606d5780638381f58a14607d575b600080fd5b605b604c3660046085565b50600080546001810190915590565b60405190815260200160405180910390f35b607b60783660046085565b50565b005b605b60005481565b600060208284031215609657600080fd5b503591905056fea26469706673582212207d0c97576f0dbe1d7cdb9667d65c3ac914de1dd0db341a475aae50676b44bb3c64736f6c63430008180033";
const isSuperArgs = (xs) => xs.length > 1;
class IncrementalNG__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(_start, overrides) {
        return super.getDeployTransaction(_start, overrides || {});
    }
    deploy(_start, overrides) {
        return super.deploy(_start, overrides || {});
    }
    connect(runner) {
        return super.connect(runner);
    }
    static bytecode = _bytecode;
    static abi = _abi;
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.IncrementalNG__factory = IncrementalNG__factory;
