@augumented-finance/protocol-v1
Version:
Augmented Protocol smart contracts
315 lines • 7.62 kB
JavaScript
"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IManagedAccessControllerFactory = void 0;
const ethers_1 = require("ethers");
class IManagedAccessControllerFactory {
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IManagedAccessControllerFactory = IManagedAccessControllerFactory;
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "uint256",
name: "id",
type: "uint256",
},
{
indexed: true,
internalType: "address",
name: "newAddress",
type: "address",
},
{
indexed: false,
internalType: "bool",
name: "hasProxy",
type: "bool",
},
],
name: "AddressSet",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "newAddress",
type: "address",
},
],
name: "EmergencyAdminUpdated",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "uint256",
name: "id",
type: "uint256",
},
{
indexed: true,
internalType: "address",
name: "newAddress",
type: "address",
},
],
name: "ProxyCreated",
type: "event",
},
{
inputs: [
{
internalType: "string",
name: "id",
type: "string",
},
{
internalType: "address",
name: "addr",
type: "address",
},
],
name: "addImplementation",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
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: [],
name: "getEmergencyAdmin",
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",
},
{
inputs: [
{
internalType: "uint256",
name: "id",
type: "uint256",
},
{
internalType: "address",
name: "newAddress",
type: "address",
},
],
name: "setAddress",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "id",
type: "uint256",
},
{
internalType: "address",
name: "impl",
type: "address",
},
],
name: "setAddressAsProxy",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "id",
type: "uint256",
},
{
internalType: "address",
name: "impl",
type: "address",
},
{
internalType: "bytes",
name: "initCall",
type: "bytes",
},
],
name: "setAddressAsProxyWithInit",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "admin",
type: "address",
},
],
name: "setEmergencyAdmin",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
//# sourceMappingURL=IManagedAccessControllerFactory.js.map