UNPKG

@soma-finance/core-contracts

Version:

SOMA Finance core contracts

100 lines 2.9 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ITransferablePartition__factory = void 0; const ethers_1 = require("ethers"); const _erc165InterfaceId = "0x72cee8d5"; const _erc1820InterfaceId = "0xbf3c522d07ad3839ab1eb19ca3a0e943c4172a94dee774d3250d020b18c6b243"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address", }, { indexed: false, internalType: "bytes32", name: "fromId", type: "bytes32", }, { indexed: false, internalType: "bytes32", name: "toId", type: "bytes32", }, { indexed: false, internalType: "uint256", name: "value", type: "uint256", }, { indexed: false, internalType: "bytes", name: "data", type: "bytes", }, ], name: "MovedPartition", type: "event", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, { internalType: "bytes32", name: "fromId", type: "bytes32", }, { internalType: "bytes32", name: "toId", type: "bytes32", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "bytes", name: "data", type: "bytes", }, ], name: "transferPartition", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, ]; class ITransferablePartition__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ITransferablePartition__factory = ITransferablePartition__factory; ITransferablePartition__factory.erc165InterfaceId = _erc165InterfaceId; ITransferablePartition__factory.erc1820InterfaceId = _erc1820InterfaceId; ITransferablePartition__factory.abi = _abi; //# sourceMappingURL=ITransferablePartition__factory.js.map