@soma-finance/core-contracts
Version:
SOMA Finance core contracts
144 lines • 3.91 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IMintableSecurity__factory = void 0;
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0x6e596043";
const _erc1820InterfaceId = "0x6ad73d638f82ae7fe270725fe347a157bf6c834bf517fd05d85a94700b91a1be";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "operator",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "from",
type: "address",
},
{
indexed: false,
internalType: "bytes32",
name: "id",
type: "bytes32",
},
{
indexed: false,
internalType: "uint256",
name: "value",
type: "uint256",
},
{
indexed: false,
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "Burned",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "operator",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "to",
type: "address",
},
{
indexed: false,
internalType: "bytes32",
name: "id",
type: "bytes32",
},
{
indexed: false,
internalType: "uint256",
name: "value",
type: "uint256",
},
{
indexed: false,
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "Minted",
type: "event",
},
{
inputs: [
{
internalType: "bytes32",
name: "id",
type: "bytes32",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
{
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "burn",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "id",
type: "bytes32",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
{
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "mint",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
class IMintableSecurity__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IMintableSecurity__factory = IMintableSecurity__factory;
IMintableSecurity__factory.erc165InterfaceId = _erc165InterfaceId;
IMintableSecurity__factory.erc1820InterfaceId = _erc1820InterfaceId;
IMintableSecurity__factory.abi = _abi;
//# sourceMappingURL=IMintableSecurity__factory.js.map