{
  "XcertCreateProxy": {
    "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": "_xcert",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "_to",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "_id",
            "type": "uint256"
          },
          {
            "internalType": "bytes32",
            "name": "_tokenURIIntegrityDigest",
            "type": "bytes32"
          }
        ],
        "name": "create",
        "outputs": [],
        "stateMutability": "nonpayable",
        "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"
      }
    ],
    "evm": {
      "bytecode": {
        "object": "608060405234801561001057600080fd5b50336000908152602081905260409020600f90556105ef806100336000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630ab319e81461006757806315ec3b8b1461007c57806345a32c861461008f57806346009b0e146100b8578063ba00a330146100cb578063f394b6df146100eb575b600080fd5b61007a610075366004610508565b6100fe565b005b61007a61008a366004610508565b6101cc565b6100a261009d3660046104a6565b610281565b6040516100af91906105b0565b60405180910390f35b61007a6100c63660046104c7565b610293565b6100de6100d9366004610508565b610369565b6040516100af9190610552565b61007a6100f9366004610508565b6103ce565b60408051808201909152600681526518189b98181960d11b602082015260019061012c565b60405180910390fd5b503360009081526020818152604091829020548251808401909352600683526530313730303160d01b918301919091528216821461017d5760405162461bcd60e51b8152600401610123919061055d565b506001600160a01b038316600081815260208190526040808220805486179081905590519092917fd1d59d2d212a435434e7a4a4676427610dfe2b6268b01e541d280d65bf3d6b9091a3505050565b60408051808201825260068082526518189b98181960d11b6020928301523360009081528083528390205483518085019094529083526530313730303160d01b9183019190915260019190821682146102385760405162461bcd60e51b8152600401610123919061055d565b506001600160a01b038316600081815260208190526040808220859055518492917fd1d59d2d212a435434e7a4a4676427610dfe2b6268b01e541d280d65bf3d6b9091a3505050565b60006020819052908152604090205481565b60408051808201825260068082526518189b98181960d11b6020928301523360009081528083528390205483518085019094529083526530313730303160d01b9183019190915260109190821682146102ff5760405162461bcd60e51b8152600401610123919061055d565b50604051632c38ca7960e21b81526001600160a01b0386169063b0e329e49061033090879087908790600401610531565b600060405180830381600087803b15801561034a57600080fd5b505af115801561035e573d6000803e3d6000fd5b505050505050505050565b60008082116040518060400160405280600681526020016518189b98181960d11b815250906103ab5760405162461bcd60e51b8152600401610123919061055d565b50506001600160a01b039190911660009081526020819052604090205481161490565b60408051808201825260068082526518189b98181960d11b6020928301523360009081528083528390205483518085019094529083526530313730303160d01b91830191909152600191908216821461043a5760405162461bcd60e51b8152600401610123919061055d565b506001600160a01b03831660008181526020819052604080822080548619169081905590519092917fd1d59d2d212a435434e7a4a4676427610dfe2b6268b01e541d280d65bf3d6b9091a3505050565b80356001600160a01b03811681146104a157600080fd5b919050565b6000602082840312156104b7578081fd5b6104c08261048a565b9392505050565b600080600080608085870312156104dc578283fd5b6104e58561048a565b93506104f36020860161048a565b93969395505050506040820135916060013590565b6000806040838503121561051a578182fd5b6105238361048a565b946020939093013593505050565b6001600160a01b039390931683526020830191909152604082015260600190565b901515815260200190565b6000602080835283518082850152825b818110156105895785810183015185820160400152820161056d565b8181111561059a5783604083870101525b50601f01601f1916929092016040019392505050565b9081526020019056fea2646970667358221220b594b9db5a0ea0f7b8e6303ed914840368e39fedd79031c6af0ef15d9c31282664736f6c63430008000033"
      },
      "methodIdentifiers": {
        "addressToAbility(address)": "45a32c86",
        "create(address,address,uint256,bytes32)": "46009b0e",
        "grantAbilities(address,uint256)": "0ab319e8",
        "isAble(address,uint256)": "ba00a330",
        "revokeAbilities(address,uint256)": "f394b6df",
        "setAbilities(address,uint256)": "15ec3b8b"
      }
    },
    "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": "_xcert",
                "type": "address"
              },
              {
                "internalType": "address",
                "name": "_to",
                "type": "address"
              },
              {
                "internalType": "uint256",
                "name": "_id",
                "type": "uint256"
              },
              {
                "internalType": "bytes32",
                "name": "_tokenURIIntegrityDigest",
                "type": "bytes32"
              }
            ],
            "name": "create",
            "outputs": [],
            "stateMutability": "nonpayable",
            "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"
          }
        ],
        "devdoc": {
          "kind": "dev",
          "methods": {
            "create(address,address,uint256,bytes32)": {
              "details": "Creates a new Xcert.",
              "params": {
                "_id": "The Xcert to be created by the msg.sender.",
                "_to": "The address that will own the created Xcert.",
                "_tokenURIIntegrityDigest": "Cryptographic asset URI integrity digest.",
                "_xcert": "Address of the Xcert contract on which the creation will be performed."
              }
            },
            "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."
              }
            }
          },
          "stateVariables": {
            "ABILITY_TO_EXECUTE": {
              "details": "List of abilities: 16 - Ability to execute create."
            }
          },
          "title": "XcertCreateProxy - creates a token on behalf of contracts that have been approved via decentralized governance.",
          "version": 1
        },
        "userdoc": {
          "kind": "user",
          "methods": {},
          "version": 1
        }
      },
      "settings": {
        "compilationTarget": {
          "./src/contracts/xcert-create-proxy.sol": "XcertCreateProxy"
        },
        "evmVersion": "istanbul",
        "libraries": {},
        "metadata": {
          "bytecodeHash": "ipfs"
        },
        "optimizer": {
          "enabled": true,
          "runs": 200
        },
        "remappings": []
      },
      "sources": {
        "./src/contracts/xcert-create-proxy.sol": {
          "keccak256": "0xa0a05118791ea0e40a563165013e401f8b3f1e52287ed1cd7bf5f7737a2d63fd",
          "license": "MIT",
          "urls": [
            "bzz-raw://3cecba83d2806bf897b1ef5997b04af9d408a89eb049ee5f3ab9664537597402",
            "dweb:/ipfs/QmerGz52NyfdaS1nhaPcpeHnWrCNfEx5bSojpZGNNvThVQ"
          ]
        }
      },
      "version": 1
    }
  }
}