UNPKG

@soma-finance/core-contracts

Version:

SOMA Finance core contracts

104 lines 2.87 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ISecurityTokenFactory__factory = void 0; const ethers_1 = require("ethers"); const _erc165InterfaceId = "0xa0466ef7"; const _erc1820InterfaceId = "0x653e432fbd57c938372f3e95ca9453573e83fedeeec2808e7dbb7ae401797843"; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256", }, { indexed: false, internalType: "string", name: "name", type: "string", }, { indexed: false, internalType: "address", name: "instance", type: "address", }, ], name: "SecurityTokenCreated", type: "event", }, { inputs: [], name: "CREATE_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "pure", type: "function", }, { inputs: [ { internalType: "string", name: "domain", type: "string", }, { internalType: "string", name: "name", type: "string", }, { internalType: "string", name: "symbol", type: "string", }, ], name: "create", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "newVersion", type: "uint256", }, ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; class ISecurityTokenFactory__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ISecurityTokenFactory__factory = ISecurityTokenFactory__factory; ISecurityTokenFactory__factory.erc165InterfaceId = _erc165InterfaceId; ISecurityTokenFactory__factory.erc1820InterfaceId = _erc1820InterfaceId; ISecurityTokenFactory__factory.abi = _abi; //# sourceMappingURL=ISecurityTokenFactory__factory.js.map