"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.UniversalContract__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "onCall",
        inputs: [
            {
                name: "context",
                type: "tuple",
                internalType: "struct MessageContext",
                components: [
                    {
                        name: "sender",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "senderEVM",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "chainID",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
            {
                name: "zrc20",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
];
class UniversalContract__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.UniversalContract__factory = UniversalContract__factory;
UniversalContract__factory.abi = _abi;
