{
  "XcertUpdateProxy": {
    "abi": [
      {
        "anonymous": false,
        "inputs": [
          {
            "indexed": true,
            "internalType": "address",
            "name": "_target",
            "type": "address"
          },
          {
            "indexed": true,
            "internalType": "uint256",
            "name": "_abilities",
            "type": "uint256"
          }
        ],
        "name": "SetAbilities",
        "type": "event"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "",
            "type": "address"
          }
        ],
        "name": "addressToAbility",
        "outputs": [
          {
            "internalType": "uint256",
            "name": "",
            "type": "uint256"
          }
        ],
        "stateMutability": "view",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "_target",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "_abilities",
            "type": "uint256"
          }
        ],
        "name": "grantAbilities",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "_target",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "_abilities",
            "type": "uint256"
          }
        ],
        "name": "isAble",
        "outputs": [
          {
            "internalType": "bool",
            "name": "",
            "type": "bool"
          }
        ],
        "stateMutability": "view",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "_target",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "_abilities",
            "type": "uint256"
          }
        ],
        "name": "revokeAbilities",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "_target",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "_abilities",
            "type": "uint256"
          }
        ],
        "name": "setAbilities",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      },
      {
        "inputs": [
          {
            "internalType": "address",
            "name": "_xcert",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "_id",
            "type": "uint256"
          },
          {
            "internalType": "bytes32",
            "name": "_tokenURIIntegrityDigest",
            "type": "bytes32"
          }
        ],
        "name": "update",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
      }
    ],
    "evm": {
      "bytecode": {
        "object": "608060405234801561001057600080fd5b50336000908152602081905260409020600f90556105ca806100336000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630ab319e81461006757806315ec3b8b1461007c57806345a32c861461008f578063760f9d86146100b8578063ba00a330146100cb578063f394b6df146100eb575b600080fd5b61007a6100753660046104c4565b6100fe565b005b61007a61008a3660046104c4565b6101cc565b6100a261009d3660046104a3565b610281565b6040516100af919061057d565b60405180910390f35b61007a6100c63660046104ed565b610293565b6100de6100d93660046104c4565b610366565b6040516100af919061051f565b61007a6100f93660046104c4565b6103cb565b60408051808201909152600681526518189b98181960d11b602082015260019061012c565b60405180910390fd5b503360009081526020818152604091829020548251808401909352600683526530313730303160d01b918301919091528216821461017d5760405162461bcd60e51b8152600401610123919061052a565b506001600160a01b038316600081815260208190526040808220805486179081905590519092917fd1d59d2d212a435434e7a4a4676427610dfe2b6268b01e541d280d65bf3d6b9091a3505050565b60408051808201825260068082526518189b98181960d11b6020928301523360009081528083528390205483518085019094529083526530313730303160d01b9183019190915260019190821682146102385760405162461bcd60e51b8152600401610123919061052a565b506001600160a01b038316600081815260208190526040808220859055518492917fd1d59d2d212a435434e7a4a4676427610dfe2b6268b01e541d280d65bf3d6b9091a3505050565b60006020819052908152604090205481565b60408051808201825260068082526518189b98181960d11b6020928301523360009081528083528390205483518085019094529083526530313730303160d01b9183019190915260109190821682146102ff5760405162461bcd60e51b8152600401610123919061052a565b506040516301a0987760e31b81526001600160a01b03851690630d04c3b89061032e9086908690600401610586565b600060405180830381600087803b15801561034857600080fd5b505af115801561035c573d6000803e3d6000fd5b5050505050505050565b60008082116040518060400160405280600681526020016518189b98181960d11b815250906103a85760405162461bcd60e51b8152600401610123919061052a565b50506001600160a01b039190911660009081526020819052604090205481161490565b60408051808201825260068082526518189b98181960d11b6020928301523360009081528083528390205483518085019094529083526530313730303160d01b9183019190915260019190821682146104375760405162461bcd60e51b8152600401610123919061052a565b506001600160a01b03831660008181526020819052604080822080548619169081905590519092917fd1d59d2d212a435434e7a4a4676427610dfe2b6268b01e541d280d65bf3d6b9091a3505050565b80356001600160a01b038116811461049e57600080fd5b919050565b6000602082840312156104b4578081fd5b6104bd82610487565b9392505050565b600080604083850312156104d6578081fd5b6104df83610487565b946020939093013593505050565b600080600060608486031215610501578081fd5b61050a84610487565b95602085013595506040909401359392505050565b901515815260200190565b6000602080835283518082850152825b818110156105565785810183015185820160400152820161053a565b818111156105675783604083870101525b50601f01601f1916929092016040019392505050565b90815260200190565b91825260208201526040019056fea2646970667358221220ac362ca0251713ce191872145e79069028c279e9427e87f206a028eeb50ac17164736f6c63430008000033"
      },
      "methodIdentifiers": {
        "addressToAbility(address)": "45a32c86",
        "grantAbilities(address,uint256)": "0ab319e8",
        "isAble(address,uint256)": "ba00a330",
        "revokeAbilities(address,uint256)": "f394b6df",
        "setAbilities(address,uint256)": "15ec3b8b",
        "update(address,uint256,bytes32)": "760f9d86"
      }
    },
    "metadata": {
      "compiler": {
        "version": "0.8.0+commit.c7dfd78e"
      },
      "language": "Solidity",
      "output": {
        "abi": [
          {
            "anonymous": false,
            "inputs": [
              {
                "indexed": true,
                "internalType": "address",
                "name": "_target",
                "type": "address"
              },
              {
                "indexed": true,
                "internalType": "uint256",
                "name": "_abilities",
                "type": "uint256"
              }
            ],
            "name": "SetAbilities",
            "type": "event"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "",
                "type": "address"
              }
            ],
            "name": "addressToAbility",
            "outputs": [
              {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
              }
            ],
            "stateMutability": "view",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "_target",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "_abilities",
                "type": "uint256"
              }
            ],
            "name": "grantAbilities",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "_target",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "_abilities",
                "type": "uint256"
              }
            ],
            "name": "isAble",
            "outputs": [
              {
                "internalType": "bool",
                "name": "",
                "type": "bool"
              }
            ],
            "stateMutability": "view",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "_target",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "_abilities",
                "type": "uint256"
              }
            ],
            "name": "revokeAbilities",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "_target",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "_abilities",
                "type": "uint256"
              }
            ],
            "name": "setAbilities",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
          },
          {
            "inputs": [
              {
                "internalType": "address",
                "name": "_xcert",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "_id",
                "type": "uint256"
              },
              {
                "internalType": "bytes32",
                "name": "_tokenURIIntegrityDigest",
                "type": "bytes32"
              }
            ],
            "name": "update",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
          }
        ],
        "devdoc": {
          "kind": "dev",
          "methods": {
            "grantAbilities(address,uint256)": {
              "details": "Grants specific abilities to specified address.",
              "params": {
                "_abilities": "Number representing bitfield of abilities we are granting.",
                "_target": "Address to grant abilities to."
              }
            },
            "isAble(address,uint256)": {
              "details": "Check if an address has a specific ability. Throws if checking for 0.",
              "params": {
                "_abilities": "Number representing bitfield of abilities we are checking.",
                "_target": "Address for which we want to check if it has a specific abilities."
              }
            },
            "revokeAbilities(address,uint256)": {
              "details": "Unassigns specific abilities from specified address.",
              "params": {
                "_abilities": "Number representing bitfield of abilities we are revoking.",
                "_target": "Address of which we revoke abilites."
              }
            },
            "setAbilities(address,uint256)": {
              "details": "Sets specific abilities to specified address.",
              "params": {
                "_abilities": "Number representing bitfield of abilities we are setting.",
                "_target": "Address to which we are setting abilitites."
              }
            },
            "update(address,uint256,bytes32)": {
              "details": "Updates imprint of an existing Xcert.",
              "params": {
                "_id": "The Xcert we will update.",
                "_tokenURIIntegrityDigest": "Cryptographic asset URI integrity digest.",
                "_xcert": "Address of the Xcert contract on which the update will be performed."
              }
            }
          },
          "stateVariables": {
            "ABILITY_TO_EXECUTE": {
              "details": "List of abilities: 16 - Ability to execute create."
            }
          },
          "title": "XcertUpdateProxy - updates a token on behalf of contracts that have been approved via decentralized governance.",
          "version": 1
        },
        "userdoc": {
          "kind": "user",
          "methods": {},
          "notice": "There is a possibility of unintentional behavior when token imprint can be overwritten if more than one claim is active. Be aware of this when implementing.",
          "version": 1
        }
      },
      "settings": {
        "compilationTarget": {
          "./src/contracts/xcert-update-proxy.sol": "XcertUpdateProxy"
        },
        "evmVersion": "istanbul",
        "libraries": {},
        "metadata": {
          "bytecodeHash": "ipfs"
        },
        "optimizer": {
          "enabled": true,
          "runs": 200
        },
        "remappings": []
      },
      "sources": {
        "./src/contracts/xcert-update-proxy.sol": {
          "keccak256": "0x22b10a32f3c6f1467d49e9ddda3a4e7277b1f4ec2c9b9fd0d937aef0edd4034d",
          "license": "MIT",
          "urls": [
            "bzz-raw://690ea30256a2a9786d4cc6c1e34ba0d7ad82a9091ebd330885d31d4fbd4404f2",
            "dweb:/ipfs/QmWwuAWeRdQweqsrtBZkVW8e8Yez5MgQCkqUdqj4hVLENZ"
          ]
        }
      },
      "version": 1
    }
  }
}