@soma-finance/core-contracts
Version:
SOMA Finance core contracts
107 lines • 2.86 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.INonTransferable__factory = void 0;
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0xde504271";
const _erc1820InterfaceId = "0xa99cb9f97f43d40532460f106d4ba5b4875084a0f0a80f779cdbdce297de4064";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "account",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "sender",
type: "address",
},
],
name: "Whitelisted",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "account",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "sender",
type: "address",
},
],
name: "WhitelistedRevoked",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "account",
type: "address",
},
],
name: "revokeWhitelist",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "account",
type: "address",
},
],
name: "whitelist",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "account",
type: "address",
},
],
name: "whitelisted",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
];
class INonTransferable__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.INonTransferable__factory = INonTransferable__factory;
INonTransferable__factory.erc165InterfaceId = _erc165InterfaceId;
INonTransferable__factory.erc1820InterfaceId = _erc1820InterfaceId;
INonTransferable__factory.abi = _abi;
//# sourceMappingURL=INonTransferable__factory.js.map