"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZContract__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "onCrossChainCall",
        inputs: [
            {
                name: "context",
                type: "tuple",
                internalType: "struct zContext",
                components: [
                    {
                        name: "origin",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "sender",
                        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 ZContract__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.ZContract__factory = ZContract__factory;
ZContract__factory.abi = _abi;
