"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WstMTRGAdapter__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_wstMTRG",
                type: "address",
            },
            {
                internalType: "address",
                name: "_stMTRG",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [],
        name: "exchangeRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
const _bytecode = "0x608034608657601f6101c738819003918201601f19168301916001600160401b03831184841017608b578084926040948552833981010312608657604b602060458360a1565b920160a1565b600180546001600160a01b039384166001600160a01b0319918216179091556000805492909316911617905560405161011290816100b58239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820360865756fe6080806040526004361015601257600080fd5b60003560e01c633ba0b9a914602657600080fd5b3460d757600036600319011260d757600154635638467b60e01b8252602090829060049082906001600160a01b03165afa90811560cb57600091606f575b602082604051908152f35b60203d60201160c5575b601f8101601f1916820167ffffffffffffffff81118382101760b15760209183916040528101031260ad5751905060206064565b5080fd5b634e487b7160e01b84526041600452602484fd5b503d6079565b6040513d6000823e3d90fd5b600080fdfea26469706673582212208c59aac9ad145821da7b0450b3214b566906e0f8b39d0b32f85ce5990d23fb2a64736f6c634300081a0033";
const isSuperArgs = (xs) => xs.length > 1;
class WstMTRGAdapter__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(_wstMTRG, _stMTRG, overrides) {
        return super.getDeployTransaction(_wstMTRG, _stMTRG, overrides || {});
    }
    deploy(_wstMTRG, _stMTRG, overrides) {
        return super.deploy(_wstMTRG, _stMTRG, 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.WstMTRGAdapter__factory = WstMTRGAdapter__factory;
WstMTRGAdapter__factory.bytecode = _bytecode;
WstMTRGAdapter__factory.abi = _abi;
//# sourceMappingURL=WstMTRGAdapter__factory.js.map