/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { OmniteLayerZeroBridgeSender, OmniteLayerZeroBridgeSenderInterface, } from "../OmniteLayerZeroBridgeSender"; const _abi = [ { inputs: [ { internalType: "contract ISystemContext", name: "systemContext_", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint16", name: "chainId", type: "uint16", }, { indexed: true, internalType: "bytes", name: "fromAddress", type: "bytes", }, { indexed: true, internalType: "uint64", name: "nonce", type: "uint64", }, { indexed: false, internalType: "address", name: "calledContract", type: "address", }, { indexed: false, internalType: "uint16", name: "index", type: "uint16", }, { indexed: false, internalType: "string", name: "error", type: "string", }, ], name: "CallFailed", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint16", name: "chainId", type: "uint16", }, { indexed: true, internalType: "bytes", name: "fromAddress", type: "bytes", }, { indexed: true, internalType: "uint64", name: "nonce", type: "uint64", }, { indexed: false, internalType: "address", name: "calledContract", type: "address", }, { indexed: false, internalType: "bytes", name: "returnData", type: "bytes", }, { indexed: false, internalType: "uint16", name: "index", type: "uint16", }, ], name: "CallSuccess", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint16", name: "chainId", type: "uint16", }, { indexed: true, internalType: "bytes", name: "fromAddress", type: "bytes", }, { indexed: true, internalType: "uint64", name: "nonce", type: "uint64", }, { indexed: false, internalType: "address", name: "newContract", type: "address", }, ], name: "ContractDeployed", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint16", name: "chainId", type: "uint16", }, { indexed: true, internalType: "bytes", name: "fromAddress", type: "bytes", }, { indexed: true, internalType: "uint64", name: "nonce", type: "uint64", }, { indexed: false, internalType: "string", name: "error", type: "string", }, ], name: "ContractNotDeployed", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint16", name: "chainId", type: "uint16", }, { indexed: false, internalType: "bytes", name: "fromAddress", type: "bytes", }, { indexed: false, internalType: "uint64", name: "nonce", type: "uint64", }, { indexed: false, internalType: "enum IBridge.Operation", name: "operation", type: "uint8", }, ], name: "ReceiveEvent", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint16", name: "destChainId", type: "uint16", }, { indexed: false, internalType: "bytes", name: "destBridge", type: "bytes", }, { indexed: false, internalType: "uint64", name: "nonce", type: "uint64", }, ], name: "SendEvent", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint16", name: "chainId", type: "uint16", }, { indexed: true, internalType: "bytes", name: "fromAddress", type: "bytes", }, { indexed: true, internalType: "uint64", name: "nonce", type: "uint64", }, { indexed: false, internalType: "enum IBridge.Operation", name: "operation", type: "uint8", }, { indexed: false, internalType: "uint256", name: "apiVersion", type: "uint256", }, { indexed: false, internalType: "bytes", name: "rawData", type: "bytes", }, ], name: "UndefinedCall", type: "event", }, { inputs: [], name: "CROWDSALE_BLUEPRINT_NAME", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "ERC721_NATIVE_BLUEPRINT_NAME", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "ERC721_NON_NATIVE_BLUEPRINT_NAME", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "ERC721_NON_NATIVE_WRAPPER_BLUEPRINT_NAME", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAX_CALL_DATA_LEN", outputs: [ { internalType: "uint64", name: "", type: "uint64", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAX_URL_LEN", outputs: [ { internalType: "uint64", name: "", type: "uint64", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { components: [ { internalType: "uint16", name: "chainId", type: "uint16", }, { internalType: "bytes", name: "bridgeAddress", type: "bytes", }, { internalType: "uint256", name: "value", type: "uint256", }, { internalType: "bytes", name: "ctorParams", type: "bytes", }, { internalType: "address", name: "originalContractAddress", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridge.DeploymentParams[]", name: "deploymentParams_", type: "tuple[]", }, { components: [ { internalType: "address", name: "originalCollection", type: "address", }, { internalType: "string", name: "collectionName", type: "string", }, { internalType: "address", name: "refundAddress", type: "address", }, { internalType: "uint256", name: "gasAmount", type: "uint256", }, { internalType: "address", name: "owner", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridgeSender.DeployExternalParams", name: "params", type: "tuple", }, ], name: "_deployExternalCollection", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { internalType: "address", name: "owner_", type: "address", }, { internalType: "uint256", name: "tokenId_", type: "uint256", }, { internalType: "string", name: "tokenUri_", type: "string", }, { internalType: "bytes4", name: "selector", type: "bytes4", }, ], name: "_encodeERC721Call", outputs: [ { internalType: "bytes", name: "", type: "bytes", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "apiVersion", outputs: [ { internalType: "uint64", name: "", type: "uint64", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { internalType: "bytes", name: "callData_", type: "bytes", }, ], name: "callOnTargetChainEncode", outputs: [ { internalType: "bytes", name: "", type: "bytes", }, ], stateMutability: "view", type: "function", }, { inputs: [ { components: [ { internalType: "uint16", name: "chainId", type: "uint16", }, { internalType: "bytes", name: "bridgeAddress", type: "bytes", }, { internalType: "uint256", name: "value", type: "uint256", }, { internalType: "bytes", name: "ctorParams", type: "bytes", }, { internalType: "address", name: "originalContractAddress", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridge.DeploymentParams[]", name: "deploymentParams_", type: "tuple[]", }, { components: [ { internalType: "address", name: "originalCollection", type: "address", }, { internalType: "string", name: "collectionName", type: "string", }, { internalType: "address", name: "refundAddress", type: "address", }, { internalType: "uint256", name: "gasAmount", type: "uint256", }, { internalType: "address", name: "owner", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridgeSender.DeployExternalParams", name: "params", type: "tuple", }, ], name: "deployExternalCollection", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { components: [ { internalType: "uint16", name: "chainId", type: "uint16", }, { internalType: "bytes", name: "bridgeAddress", type: "bytes", }, { internalType: "uint256", name: "value", type: "uint256", }, { internalType: "bytes", name: "ctorParams", type: "bytes", }, { internalType: "address", name: "originalContractAddress", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridge.DeploymentParams[]", name: "deploymentParams_", type: "tuple[]", }, { components: [ { internalType: "address", name: "originalCollection", type: "address", }, { internalType: "string", name: "collectionName", type: "string", }, { internalType: "address", name: "refundAddress", type: "address", }, { internalType: "uint256", name: "gasAmount", type: "uint256", }, { internalType: "address", name: "owner", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridgeSender.DeployExternalParams", name: "params", type: "tuple", }, ], name: "deployExternalCollectionOnNewChains", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { components: [ { internalType: "uint16", name: "chainId", type: "uint16", }, { internalType: "bytes", name: "bridgeAddress", type: "bytes", }, { internalType: "uint256", name: "value", type: "uint256", }, { internalType: "bytes", name: "ctorParams", type: "bytes", }, { internalType: "address", name: "originalContractAddress", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridge.DeploymentParams[]", name: "deploymentParams_", type: "tuple[]", }, { components: [ { internalType: "string", name: "collectionName", type: "string", }, { internalType: "address", name: "refundAddress", type: "address", }, { internalType: "uint256", name: "gasAmount", type: "uint256", }, { internalType: "address", name: "owner", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridgeSender.DeployNativeParams", name: "params", type: "tuple", }, ], name: "deployNativeCollection", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { components: [ { internalType: "uint16", name: "chainId", type: "uint16", }, { internalType: "bytes", name: "bridgeAddress", type: "bytes", }, { internalType: "uint256", name: "value", type: "uint256", }, { internalType: "bytes", name: "ctorParams", type: "bytes", }, { internalType: "address", name: "originalContractAddress", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridge.DeploymentParams[]", name: "deploymentParams_", type: "tuple[]", }, { components: [ { internalType: "string", name: "collectionName", type: "string", }, { internalType: "address", name: "refundAddress", type: "address", }, { internalType: "uint256", name: "gasAmount", type: "uint256", }, { internalType: "address", name: "owner", type: "address", }, ], internalType: "struct IOmniteLayerZeroBridgeSender.DeployNativeParams", name: "params", type: "tuple", }, ], name: "deployNativeCollectionOnNewChains", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "string", name: "blueprintName_", type: "string", }, { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { internalType: "bytes", name: "ctorParams_", type: "bytes", }, { internalType: "string", name: "collectionName_", type: "string", }, { internalType: "address", name: "owner_", type: "address", }, ], name: "deployTokenContractEncode", outputs: [ { internalType: "bytes", name: "", type: "bytes", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "endpoint", outputs: [ { internalType: "contract ILayerZeroEndpoint", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getOutboundNonce", outputs: [ { internalType: "uint64", name: "", type: "uint64", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "maxNetworks", outputs: [ { internalType: "uint64", name: "", type: "uint64", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "minGas", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint16", name: "chainId_", type: "uint16", }, { internalType: "bytes", name: "bridge_", type: "bytes", }, { internalType: "address", name: "refundAddress_", type: "address", }, { internalType: "address", name: "owner_", type: "address", }, { internalType: "uint256", name: "mintId_", type: "uint256", }, { internalType: "string", name: "tokenUri_", type: "string", }, { internalType: "uint256", name: "gasAmount_", type: "uint256", }, ], name: "mintOnTargetChain", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { internalType: "address", name: "owner_", type: "address", }, { internalType: "uint256", name: "mintId_", type: "uint256", }, { internalType: "string", name: "tokenUri_", type: "string", }, ], name: "mintOnTargetChainEncode", outputs: [ { internalType: "bytes", name: "", type: "bytes", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint16", name: "chainId_", type: "uint16", }, { internalType: "bytes", name: "bridge_", type: "bytes", }, { internalType: "address", name: "refundAddress_", type: "address", }, { internalType: "address", name: "addr_", type: "address", }, { internalType: "uint256", name: "mintId_", type: "uint256", }, { internalType: "string", name: "tokenUri_", type: "string", }, { internalType: "uint256", name: "gasAmount_", type: "uint256", }, ], name: "moveToTargetChain", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId_", type: "bytes32", }, { internalType: "address", name: "owner_", type: "address", }, { internalType: "uint256", name: "mintId_", type: "uint256", }, { internalType: "string", name: "tokenUri_", type: "string", }, ], name: "moveToTargetChainEncode", outputs: [ { internalType: "bytes", name: "", type: "bytes", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes", name: "adapterParams", type: "bytes", }, ], name: "recoverGasDecode", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "contract ILayerZeroEndpoint", name: "endpoint_", type: "address", }, ], name: "setEndpoint", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint64", name: "maxNetworks_", type: "uint64", }, ], name: "setMaxNetworks", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "minGas_", type: "uint256", }, ], name: "setMinGas", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "systemContext", outputs: [ { internalType: "contract ISystemContext", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ]; export class OmniteLayerZeroBridgeSender__factory { static readonly abi = _abi; static createInterface(): OmniteLayerZeroBridgeSenderInterface { return new utils.Interface(_abi) as OmniteLayerZeroBridgeSenderInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): OmniteLayerZeroBridgeSender { return new Contract( address, _abi, signerOrProvider ) as OmniteLayerZeroBridgeSender; } }