UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

155 lines 3.78 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IAccessControllerFactory = void 0; const ethers_1 = require("ethers"); class IAccessControllerFactory { static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.IAccessControllerFactory = IAccessControllerFactory; const _abi = [ { inputs: [ { internalType: "address", name: "admin", type: "address", }, { internalType: "address", name: "impl", type: "address", }, { internalType: "bytes", name: "params", type: "bytes", }, ], name: "createProxy", outputs: [ { internalType: "contract IProxy", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "admin", type: "address", }, { internalType: "string", name: "implName", type: "string", }, { internalType: "bytes", name: "params", type: "bytes", }, ], name: "createProxyByName", outputs: [ { internalType: "contract IProxy", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256", }, ], name: "getAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "id", type: "string", }, ], name: "getImplementation", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "admin", type: "address", }, ], name: "isEmergencyAdmin", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "addr", type: "address", }, { internalType: "uint256", name: "filterMask", type: "uint256", }, ], name: "queryAccessControlMask", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, ]; //# sourceMappingURL=IAccessControllerFactory.js.map