UNPKG

@soma-finance/core-contracts

Version:

SOMA Finance core contracts

60 lines 2.13 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SOMAlib__factory = void 0; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ const ethers_1 = require("ethers"); const _erc165InterfaceId = "0x63727fc2"; const _erc1820InterfaceId = "0x49a6dca072199699a97f21a153cc58fecf5e7721e24626f65b23663e38856064"; const _abi = [ { inputs: [], name: "SOMA", outputs: [ { internalType: "contract ISOMA", name: "", type: "ISOMA", }, ], stateMutability: "view", type: "function", }, ]; const _bytecode = "0x607b610038600b82828239805160001a607314602b57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c806363727fc2146038575b600080fd5b6052730f3dc00189dbcd1d0c574e48031270cae04c4adf81565b6040516001600160a01b03909116815260200160405180910390f3fea164736f6c6343000812000a"; const isSuperArgs = (xs) => xs.length > 1; class SOMAlib__factory extends ethers_1.ContractFactory { constructor(...args) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } deploy(overrides) { return super.deploy(overrides || {}); } getDeployTransaction(overrides) { return super.getDeployTransaction(overrides || {}); } attach(address) { return super.attach(address); } connect(signer) { return super.connect(signer); } static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.SOMAlib__factory = SOMAlib__factory; SOMAlib__factory.bytecode = _bytecode; SOMAlib__factory.erc165InterfaceId = _erc165InterfaceId; SOMAlib__factory.erc1820InterfaceId = _erc1820InterfaceId; SOMAlib__factory.abi = _abi; //# sourceMappingURL=SOMAlib__factory.js.map