{
  "_format": "hh-sol-artifact-1",
  "contractName": "IdentityMock",
  "sourceName": "contracts/mocks/IdentityMock.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "daoContract_",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "WhitelistedAdded",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "addBlacklisted",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "addIdentityAdmin",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "did",
          "type": "string"
        }
      ],
      "name": "addWhitelistedWithDID",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "addrToDID",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "daoContract",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "hash",
          "type": "bytes32"
        }
      ],
      "name": "didHashToAddress",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "isBlacklisted",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "isDAOContract",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "isIdentityAdmin",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "isWhitelisted",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "lastAuthenticated",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "removeBlacklisted",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "removeContract",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "account",
          "type": "address"
        }
      ],
      "name": "removeWhitelisted",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_avatar",
          "type": "address"
        }
      ],
      "name": "setAvatar",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x60c060405234801561001057600080fd5b5060405161045738038061045783398101604081905261002f91610044565b336080526001600160a01b031660a052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160a0516103be6100996000396000610128015260006101c001526103be6000f3fe608060405234801561001057600080fd5b50600436106100d05760003560e01c8063086cfca8146100d5578063188efc16146100d55780631b027099146100e8578063291d9549146100d55780632b32e46c146100fa5780633af32abf146100fa5780634a7ffcbc1461012357806354f9f7a31461016257806367c75937146101a75780638da5cb5b146101bb578063c375c2ef146100d5578063c6a276c2146100d5578063c73cc4ae146101e2578063e1e360ba146101f0578063e5ecaf59146100fa578063fe575a87146100fa575b600080fd5b6100e66100e3366004610228565b50565b005b6100e66100f6366004610260565b5050565b61010e610108366004610228565b50600190565b60405190151581526020015b60405180910390f35b61014a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161011a565b61019a610170366004610228565b5060408051808201909152600f81526e1b9bdd081a5b5c1b195b595b9d1959608a1b602082015290565b60405161011a9190610321565b61014a6101b536600461036f565b50600090565b61014a7f000000000000000000000000000000000000000000000000000000000000000081565b61010e6101b5366004610228565b6101fe6101b5366004610228565b60405190815260200161011a565b80356001600160a01b038116811461022357600080fd5b919050565b60006020828403121561023a57600080fd5b6102438261020c565b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561027357600080fd5b61027c8361020c565b915060208301356001600160401b038082111561029857600080fd5b818501915085601f8301126102ac57600080fd5b8135818111156102be576102be61024a565b604051601f8201601f19908116603f011681019083821181831017156102e6576102e661024a565b816040528281528860208487010111156102ff57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b600060208083528351808285015260005b8181101561034e57858101830151858201604001528201610332565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561038157600080fd5b503591905056fea26469706673582212202ff7e393bf730a90bf63524c38f3daae6bd610089630cbcff211a6bec600d4c564736f6c63430008130033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100d05760003560e01c8063086cfca8146100d5578063188efc16146100d55780631b027099146100e8578063291d9549146100d55780632b32e46c146100fa5780633af32abf146100fa5780634a7ffcbc1461012357806354f9f7a31461016257806367c75937146101a75780638da5cb5b146101bb578063c375c2ef146100d5578063c6a276c2146100d5578063c73cc4ae146101e2578063e1e360ba146101f0578063e5ecaf59146100fa578063fe575a87146100fa575b600080fd5b6100e66100e3366004610228565b50565b005b6100e66100f6366004610260565b5050565b61010e610108366004610228565b50600190565b60405190151581526020015b60405180910390f35b61014a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161011a565b61019a610170366004610228565b5060408051808201909152600f81526e1b9bdd081a5b5c1b195b595b9d1959608a1b602082015290565b60405161011a9190610321565b61014a6101b536600461036f565b50600090565b61014a7f000000000000000000000000000000000000000000000000000000000000000081565b61010e6101b5366004610228565b6101fe6101b5366004610228565b60405190815260200161011a565b80356001600160a01b038116811461022357600080fd5b919050565b60006020828403121561023a57600080fd5b6102438261020c565b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561027357600080fd5b61027c8361020c565b915060208301356001600160401b038082111561029857600080fd5b818501915085601f8301126102ac57600080fd5b8135818111156102be576102be61024a565b604051601f8201601f19908116603f011681019083821181831017156102e6576102e661024a565b816040528281528860208487010111156102ff57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b600060208083528351808285015260005b8181101561034e57858101830151858201604001528201610332565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561038157600080fd5b503591905056fea26469706673582212202ff7e393bf730a90bf63524c38f3daae6bd610089630cbcff211a6bec600d4c564736f6c63430008130033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
