@soma-finance/core-contracts
Version:
SOMA Finance core contracts
106 lines • 3.11 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ISeizableSecurityPartition__factory = void 0;
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0xaacbbf58";
const _erc1820InterfaceId = "0x77e0694163307064b2e801e9c4ad11a7ec1fa6bbabc78686760621b84ca250e3";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "operator",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "from",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "to",
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: "Seized",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "tokenHolder",
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: "seize",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
class ISeizableSecurityPartition__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.ISeizableSecurityPartition__factory = ISeizableSecurityPartition__factory;
ISeizableSecurityPartition__factory.erc165InterfaceId = _erc165InterfaceId;
ISeizableSecurityPartition__factory.erc1820InterfaceId = _erc1820InterfaceId;
ISeizableSecurityPartition__factory.abi = _abi;
//# sourceMappingURL=ISeizableSecurityPartition__factory.js.map