/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { OmniteContractFactory, OmniteContractFactoryInterface, } from "../OmniteContractFactory"; const _abi = [ { inputs: [ { internalType: "address", name: "systemContext_", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "blueprintAddress", type: "address", }, { indexed: false, internalType: "string", name: "blueprintName", type: "string", }, ], name: "NewBlueprintRegistered", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "blueprintAddress", type: "address", }, { indexed: false, internalType: "string", name: "blueprintName", type: "string", }, { indexed: false, internalType: "uint16", name: "version", type: "uint16", }, ], name: "NewBlueprintVersionRegistered", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "string", name: "blueprintName", type: "string", }, { indexed: false, internalType: "address", name: "proxyAddress", type: "address", }, ], name: "NewProxyDeployed", type: "event", }, { inputs: [ { internalType: "string", name: "", type: "string", }, ], name: "beacons", outputs: [ { internalType: "contract UpgradeableBeacon", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "name", type: "string", }, ], name: "blueprintExists", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "", type: "string", }, ], name: "blueprintNative", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "", type: "string", }, { internalType: "uint16", name: "", type: "uint16", }, ], name: "blueprints", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "blueprintName", type: "string", }, { internalType: "bytes", name: "initParams", type: "bytes", }, { internalType: "bytes32", name: "salt", type: "bytes32", }, ], name: "createSimpleContractInstanceByName", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "blueprintName", type: "string", }, { internalType: "bytes", name: "initParams", type: "bytes", }, { internalType: "bytes32", name: "collectionId", type: "bytes32", }, { internalType: "string", name: "name", type: "string", }, { internalType: "address", name: "owner", type: "address", }, ], name: "createTokenInstanceByName", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes", name: "bytecode", type: "bytes", }, { internalType: "bytes32", name: "salt", type: "bytes32", }, ], name: "deployCreate2", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes", name: "bytecode", type: "bytes", }, { internalType: "bytes", name: "constructorParams", type: "bytes", }, { internalType: "bytes32", name: "salt", type: "bytes32", }, ], name: "deployCreate2WithParams", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "name", type: "string", }, { internalType: "bool", name: "forceUpdate", type: "bool", }, ], name: "deregisterLatestBlueprint", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getBeaconProxyCreationCode", outputs: [ { internalType: "bytes", name: "", type: "bytes", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "blueprintName_", type: "string", }, ], name: "getLatestBlueprint", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "", type: "string", }, ], name: "latestBlueprintVersion", outputs: [ { internalType: "uint16", name: "", type: "uint16", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "blueprintAddress", type: "address", }, { internalType: "string", name: "blueprintName", type: "string", }, { internalType: "bool", name: "isNative", type: "bool", }, ], name: "registerNewBlueprint", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "blueprintAddress", type: "address", }, { internalType: "string", name: "blueprintName", type: "string", }, { internalType: "uint16", name: "version", type: "uint16", }, { internalType: "bool", name: "forceUpdate", type: "bool", }, ], name: "registerNewBlueprintVersion", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes32", name: "collectionId", type: "bytes32", }, { internalType: "address", name: "originalAddress", type: "address", }, ], name: "registerOriginalContract", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "systemContext", outputs: [ { internalType: "contract SystemContext", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ]; export class OmniteContractFactory__factory { static readonly abi = _abi; static createInterface(): OmniteContractFactoryInterface { return new utils.Interface(_abi) as OmniteContractFactoryInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): OmniteContractFactory { return new Contract( address, _abi, signerOrProvider ) as OmniteContractFactory; } }