UNPKG

@soma-finance/core-contracts

Version:

SOMA Finance core contracts

210 lines 5.31 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ISomaGuard__factory = void 0; const ethers_1 = require("ethers"); const _erc165InterfaceId = "0xd26cb990"; const _erc1820InterfaceId = "0x20f507aca541aa3dfc8ef6157a5d8a33557f3d4dc3bf679b872218cbb8a322ec"; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address[][]", name: "accounts", type: "address[][]", }, { indexed: false, internalType: "bytes32[]", name: "privileges", type: "bytes32[]", }, { indexed: true, internalType: "address", name: "sender", type: "address", }, ], name: "BatchUpdate", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "accounts", type: "address[]", }, { indexed: false, internalType: "bytes32[]", name: "access", type: "bytes32[]", }, { indexed: true, internalType: "address", name: "sender", type: "address", }, ], name: "BatchUpdateSingle", type: "event", }, { inputs: [], name: "DEFAULT_PRIVILEGES", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address[]", name: "accounts_", type: "address[]", }, ], name: "batchFetch", outputs: [ { internalType: "bytes32[]", name: "privileges_", type: "bytes32[]", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address[]", name: "accounts_", type: "address[]", }, { internalType: "bytes32[]", name: "privileges_", type: "bytes32[]", }, ], name: "batchUpdate", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address[][]", name: "accounts_", type: "address[][]", }, { internalType: "bytes32[]", name: "privileges_", type: "bytes32[]", }, ], name: "batchUpdate", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, { internalType: "bytes32", name: "query", type: "bytes32", }, ], name: "check", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, ], name: "privileges", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, ]; class ISomaGuard__factory { static createInterface() { return new ethers_1.utils.Interface(_abi); } static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.ISomaGuard__factory = ISomaGuard__factory; ISomaGuard__factory.erc165InterfaceId = _erc165InterfaceId; ISomaGuard__factory.erc1820InterfaceId = _erc1820InterfaceId; ISomaGuard__factory.abi = _abi; //# sourceMappingURL=ISomaGuard__factory.js.map