Attestions.sol

[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner_",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "blessnetAccessController_",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "blessnetDelegationController_",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "OwnableInvalidOwner",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "OwnableUnauthorizedAccount",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "controller",
        "type": "address"
      }
    ],
    "name": "AccessControllerAddressSet",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "uint96",
        "name": "attestationId",
        "type": "uint96"
      },
      {
        "indexed": true,
        "internalType": "uint96",
        "name": "attestationTypeId",
        "type": "uint96"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "attestedBy",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "address[]",
        "name": "attestedFor",
        "type": "address[]"
      },
      {
        "indexed": false,
        "internalType": "uint96",
        "name": "attestedAt",
        "type": "uint96"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "attestationString",
        "type": "string"
      },
      {
        "indexed": false,
        "internalType": "bytes",
        "name": "attestationBytes",
        "type": "bytes"
      },
      {
        "indexed": false,
        "internalType": "bytes32",
        "name": "attestationTarget",
        "type": "bytes32"
      }
    ],
    "name": "Attestation",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferStarted",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "acceptOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "string",
            "name": "attestationTypeText",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "attestationURI",
            "type": "string"
          },
          {
            "internalType": "bytes",
            "name": "attestationTypeBytes",
            "type": "bytes"
          }
        ],
        "internalType": "struct IBlessnetStructs.AttestationType[]",
        "name": "attestationTypes_",
        "type": "tuple[]"
      }
    ],
    "name": "addAttestationType",
    "outputs": [
      {
        "internalType": "uint256[]",
        "name": "attestationTypeIds_",
        "type": "uint256[]"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint96",
        "name": "attestationTypeId_",
        "type": "uint96"
      },
      {
        "internalType": "address[]",
        "name": "attestedFor_",
        "type": "address[]"
      },
      {
        "internalType": "string",
        "name": "attestationString_",
        "type": "string"
      },
      {
        "internalType": "bytes",
        "name": "attestationBytes_",
        "type": "bytes"
      },
      {
        "internalType": "bytes32",
        "name": "attestationTarget_",
        "type": "bytes32"
      }
    ],
    "name": "attest",
    "outputs": [
      {
        "internalType": "address[]",
        "name": "validAttestations_",
        "type": "address[]"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "attestationId",
    "outputs": [
      {
        "internalType": "uint96",
        "name": "",
        "type": "uint96"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "attestationTypeId",
    "outputs": [
      {
        "internalType": "uint96",
        "name": "",
        "type": "uint96"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "name": "attestationTypes",
    "outputs": [
      {
        "internalType": "string",
        "name": "attestationTypeText",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "attestationURI",
        "type": "string"
      },
      {
        "internalType": "bytes",
        "name": "attestationTypeBytes",
        "type": "bytes"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "name": "attestations",
    "outputs": [
      {
        "internalType": "uint96",
        "name": "attestationTypeId",
        "type": "uint96"
      },
      {
        "internalType": "address",
        "name": "attestedBy",
        "type": "address"
      },
      {
        "internalType": "uint96",
        "name": "attestedAt",
        "type": "uint96"
      },
      {
        "internalType": "string",
        "name": "attestationText",
        "type": "string"
      },
      {
        "internalType": "bytes",
        "name": "attestationBytes",
        "type": "bytes"
      },
      {
        "internalType": "bytes32",
        "name": "attestationTarget",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "blessnetDelegationController",
    "outputs": [
      {
        "internalType": "contract IBlessnetDelegationController",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "attestationId_",
        "type": "uint256"
      }
    ],
    "name": "getAttestation",
    "outputs": [
      {
        "components": [
          {
            "internalType": "uint96",
            "name": "attestationTypeId",
            "type": "uint96"
          },
          {
            "internalType": "address",
            "name": "attestedBy",
            "type": "address"
          },
          {
            "internalType": "address[]",
            "name": "attestedFor",
            "type": "address[]"
          },
          {
            "internalType": "uint96",
            "name": "attestedAt",
            "type": "uint96"
          },
          {
            "internalType": "string",
            "name": "attestationText",
            "type": "string"
          },
          {
            "internalType": "bytes",
            "name": "attestationBytes",
            "type": "bytes"
          },
          {
            "internalType": "bytes32",
            "name": "attestationTarget",
            "type": "bytes32"
          }
        ],
        "internalType": "struct IBlessnetStructs.AttestationRecord",
        "name": "attestation_",
        "type": "tuple"
      },
      {
        "components": [
          {
            "internalType": "string",
            "name": "attestationTypeText",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "attestationURI",
            "type": "string"
          },
          {
            "internalType": "bytes",
            "name": "attestationTypeBytes",
            "type": "bytes"
          }
        ],
        "internalType": "struct IBlessnetStructs.AttestationType",
        "name": "attestationType_",
        "type": "tuple"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "pendingOwner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "controller_",
        "type": "address"
      }
    ],
    "name": "setAccessController",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]

Last updated