UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

142 lines (141 loc) 2.57 kB
[ { "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" } ]