[
    {
        "inputs": [],
        "stateMutability": "nonpayable",
        "type": "constructor"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "newMember",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "manager",
                "type": "address"
            }
        ],
        "name": "AddedSharedMember",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "contractAddress",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "creator",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "address[]",
                "name": "parties",
                "type": "address[]"
            }
        ],
        "name": "NewContractRegistered",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "contractAddress",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "party",
                "type": "address"
            }
        ],
        "name": "PartyAdded",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "contractAddress",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "party",
                "type": "address"
            }
        ],
        "name": "PartyRemoved",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "oldMember",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "manager",
                "type": "address"
            }
        ],
        "name": "RemovedSharedMember",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "newMember",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "manager",
                "type": "address"
            }
        ],
        "name": "ResetExclusiveMember",
        "type": "event"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "newMember",
                "type": "address"
            }
        ],
        "name": "addMember",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "name": "contractMap",
        "outputs": [
            {
                "internalType": "enum Registry.Validity",
                "name": "valid",
                "type": "uint8"
            },
            {
                "internalType": "uint128",
                "name": "index",
                "type": "uint128"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            }
        ],
        "name": "getMember",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "memberToCheck",
                "type": "address"
            }
        ],
        "name": "holdsRole",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "name": "registeredContracts",
        "outputs": [
            {
                "internalType": "address",
                "name": "",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "memberToRemove",
                "type": "address"
            }
        ],
        "name": "removeMember",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            }
        ],
        "name": "renounceMembership",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "roleId",
                "type": "uint256"
            },
            {
                "internalType": "address",
                "name": "newMember",
                "type": "address"
            }
        ],
        "name": "resetMember",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address[]",
                "name": "parties",
                "type": "address[]"
            },
            {
                "internalType": "address",
                "name": "contractAddress",
                "type": "address"
            }
        ],
        "name": "registerContract",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "party",
                "type": "address"
            }
        ],
        "name": "addPartyToContract",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "partyAddress",
                "type": "address"
            }
        ],
        "name": "removePartyFromContract",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "contractAddress",
                "type": "address"
            }
        ],
        "name": "isContractRegistered",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "party",
                "type": "address"
            }
        ],
        "name": "getRegisteredContracts",
        "outputs": [
            {
                "internalType": "address[]",
                "name": "",
                "type": "address[]"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    },
    {
        "inputs": [],
        "name": "getAllRegisteredContracts",
        "outputs": [
            {
                "internalType": "address[]",
                "name": "",
                "type": "address[]"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "party",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "contractAddress",
                "type": "address"
            }
        ],
        "name": "isPartyMemberOfContract",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function",
        "constant": true
    }
]
