UNPKG

@soma-finance/core-contracts

Version:

SOMA Finance core contracts

212 lines 5.72 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ITemplateDeployer__factory = void 0; const ethers_1 = require("ethers"); const _erc165InterfaceId = "0x6dd103e6"; const _erc1820InterfaceId = "0xf12669db836a147f0174f963bb01bf158407da8a7ad3921018b926cedc42392b"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "deployment", type: "address", }, { indexed: true, internalType: "address", name: "sender", type: "address", }, ], name: "TemplateDeployed", type: "event", }, { inputs: [], name: "FACTORY", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "INIT_CODE_HASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "TEMPLATE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "TEMPLATE_VERSION", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "target", type: "address", }, ], name: "deployed", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256", }, ], name: "deployment", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "target", type: "address", }, ], name: "deploymentInfo", outputs: [ { components: [ { internalType: "bool", name: "exists", type: "bool", }, { internalType: "uint64", name: "block", type: "uint64", }, { internalType: "uint64", name: "timestamp", type: "uint64", }, { internalType: "address", name: "sender", type: "address", }, { internalType: "bytes32", name: "templateId", type: "bytes32", }, { internalType: "uint256", name: "version", type: "uint256", }, { internalType: "bytes", name: "args", type: "bytes", }, { internalType: "bytes[]", name: "functionCalls", type: "bytes[]", }, { internalType: "bool", name: "cloned", type: "bool", }, ], internalType: "struct ITemplateFactory.DeploymentInfo", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "totalDeployments", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, ]; class ITemplateDeployer__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ITemplateDeployer__factory = ITemplateDeployer__factory; ITemplateDeployer__factory.erc165InterfaceId = _erc165InterfaceId; ITemplateDeployer__factory.erc1820InterfaceId = _erc1820InterfaceId; ITemplateDeployer__factory.abi = _abi; //# sourceMappingURL=ITemplateDeployer__factory.js.map