"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ITreasury__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_tokenAddress",
                type: "address",
            },
            {
                internalType: "address payable",
                name: "_to",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_amountToRescue",
                type: "uint256",
            },
            {
                internalType: "uint32",
                name: "_nonce",
                type: "uint32",
            },
        ],
        name: "rescueTokens",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_newHandler",
                type: "address",
            },
            {
                internalType: "uint32",
                name: "_nonce",
                type: "uint32",
            },
        ],
        name: "setHandler",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
var ITreasury__factory = exports.ITreasury__factory = /** @class */ (function () {
    function ITreasury__factory() {
    }
    ITreasury__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ITreasury__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ITreasury__factory.abi = _abi;
    return ITreasury__factory;
}());
