UNPKG

@soma-finance/core-contracts

Version:

SOMA Finance core contracts

90 lines 2.54 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ISomaEarnFactory__factory = void 0; const ethers_1 = require("ethers"); const _erc165InterfaceId = "0x73414407"; const _erc1820InterfaceId = "0xfc68b34fe78c2a4c576d5dd3e481fa176f643143c628081036a809549f13a28d"; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256", }, { indexed: false, internalType: "address", name: "asset", type: "address", }, { indexed: false, internalType: "address", name: "instance", type: "address", }, ], name: "SomaEarnCreated", type: "event", }, { inputs: [], name: "CREATE_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "address", name: "asset", type: "address", }, { internalType: "address", name: "withdrawTo", type: "address", }, { internalType: "uint48", name: "startDate", type: "uint48", }, { internalType: "uint48", name: "endDate", type: "uint48", }, ], name: "create", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class ISomaEarnFactory__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ISomaEarnFactory__factory = ISomaEarnFactory__factory; ISomaEarnFactory__factory.erc165InterfaceId = _erc165InterfaceId; ISomaEarnFactory__factory.erc1820InterfaceId = _erc1820InterfaceId; ISomaEarnFactory__factory.abi = _abi; //# sourceMappingURL=ISomaEarnFactory__factory.js.map