@soma-finance/core-contracts
Version:
SOMA Finance core contracts
100 lines • 2.7 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IGuardable__factory = void 0;
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0x723711d8";
const _erc1820InterfaceId = "0x50922a1e52edcf4ab538b7b8efc906a6ff19734f7d3abd007727de982f6f47af";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "bytes32",
name: "prevPrivileges",
type: "bytes32",
},
{
indexed: false,
internalType: "bytes32",
name: "newPrivileges",
type: "bytes32",
},
{
indexed: true,
internalType: "address",
name: "sender",
type: "address",
},
],
name: "RequiredPrivilegesUpdated",
type: "event",
},
{
inputs: [
{
internalType: "address",
name: "account",
type: "address",
},
],
name: "hasPrivileges",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "requiredPrivileges",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "newRequiredPrivileges",
type: "bytes32",
},
],
name: "updateRequiredPrivileges",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "nonpayable",
type: "function",
},
];
class IGuardable__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IGuardable__factory = IGuardable__factory;
IGuardable__factory.erc165InterfaceId = _erc165InterfaceId;
IGuardable__factory.erc1820InterfaceId = _erc1820InterfaceId;
IGuardable__factory.abi = _abi;
//# sourceMappingURL=IGuardable__factory.js.map