{ "contractName": "ColonyAuthority", "abi": [ { "constant": true, "inputs": [ { "name": "who", "type": "address" } ], "name": "getUserRoles", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "owner_", "type": "address" } ], "name": "setOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "code", "type": "address" }, { "name": "sig", "type": "bytes4" } ], "name": "getCapabilityRoles", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "code", "type": "address" }, { "name": "sig", "type": "bytes4" } ], "name": "isCapabilityPublic", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "who", "type": "address" }, { "name": "where", "type": "uint256" } ], "name": "getUserRoles", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "who", "type": "address" }, { "name": "role", "type": "uint8" }, { "name": "enabled", "type": "bool" } ], "name": "setUserRole", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "who", "type": "address" }, { "name": "where", "type": "uint256" }, { "name": "role", "type": "uint8" }, { "name": "enabled", "type": "bool" } ], "name": "setUserRole", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "authority_", "type": "address" } ], "name": "setAuthority", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "role", "type": "uint8" }, { "name": "code", "type": "address" }, { "name": "sig", "type": "bytes4" }, { "name": "enabled", "type": "bool" } ], "name": "setRoleCapability", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "caller", "type": "address" }, { "name": "where", "type": "uint256" }, { "name": "code", "type": "address" }, { "name": "sig", "type": "bytes4" } ], "name": "canCall", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "who", "type": "address" }, { "name": "role", "type": "uint8" } ], "name": "hasUserRole", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "who", "type": "address" }, { "name": "where", "type": "uint256" }, { "name": "role", "type": "uint8" } ], "name": "hasUserRole", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "caller", "type": "address" }, { "name": "where", "type": "uint256" }, { "name": "role", "type": "uint8" }, { "name": "code", "type": "address" }, { "name": "sig", "type": "bytes4" } ], "name": "canCallOnlyBecause", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "caller", "type": "address" }, { "name": "code", "type": "address" }, { "name": "sig", "type": "bytes4" } ], "name": "canCall", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "authority", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "code", "type": "address" }, { "name": "sig", "type": "bytes4" }, { "name": "enabled", "type": "bool" } ], "name": "setPublicCapability", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "who", "type": "address" }, { "name": "enabled", "type": "bool" } ], "name": "setRootUser", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "who", "type": "address" } ], "name": "isUserRoot", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "_colony", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "authority", "type": "address" } ], "name": "LogSetAuthority", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "owner", "type": "address" } ], "name": "LogSetOwner", "type": "event" } ], "devdoc": { "methods": {} }, "userdoc": { "methods": {} } }