Skip to content
Verified contractExactMIT

Angelus

Address0xae59ef400dec8fc951f2ec6de2af1b0500ef62ee
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.20

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.20+commit.a1b79de6
Language
solidity
Optimization
No
EVM version
paris
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
18,894,395
Creation transaction
0xac7ee2020f…602487fd03

Read36

  • MAX_VALUE() → (uint256)
  • P() → (uint256)
  • QUANTIZATION_FACTOR() → (uint256)
  • abiStoragePointer() → (address)
  • abiString() → (string)
  • balanceOf(address) → (uint256)
  • getApproved(uint256) → (address)
  • getVerifierBuildInfo() → (string)
  • getVerifierSourceCode(uint8) → (string)
  • imageProven(address) → (bool)
  • imageRowCommits(uint256) → (uint256)
  • imageRowSumCommits(uint256) → (uint256)
  • imageStoragePointers(uint256) → (address)
  • imageVerifier() → (uint8,address,string)
  • isApprovedForAll(address,address) → (bool)
  • isSealed() → (bool)
  • name() → (string)
  • onERC721Received(address,address,uint256,bytes) → (bytes4)
  • owner() → (address)
  • ownerOf(uint256) → (address)
  • priceProven(address) → (bool)
  • priceProvenToExist() → (bool)
  • priceVerifier() → (uint8,address,string)
  • proxiableUUID() → (bytes32)
  • purchaseVerifier() → (uint8,address,string)
  • quantizeUint(uint256) → (uint256)
  • quantizedImage() → (uint256[32][32])
  • rawImage() → (uint256[32][32])
  • revealVerifier() → (uint8,address,string)
  • stateRootsSet() → (bool)
  • supportsInterface(bytes4) → (bool)
  • symbol() → (string)
  • title() → (string)
  • tokenURI(uint256) → (string)
  • tokenURIEndpoint() → (address)
  • version() → (string)

Write21

  • approve(address,uint256)
  • initialize(address[4],string[4])
  • proveImage(uint256[24][32],uint256[3][32])
  • provePrice(uint256[24],uint256[33])
  • purchase(uint256[24],uint256[34])
  • purchaseWithImageProof(uint256[24],uint256[34],uint256[24][32],uint256[3][32])
  • renounceOwnership()
  • revealImage(uint256[24][32],uint256[35][32])
  • safeTransferFrom(address,address,uint256)
  • safeTransferFrom(address,address,uint256,bytes)
  • sealContract()
  • setABIString(string)
  • setApprovalForAll(address,bool)
  • setStateRoots(uint256[32],uint256[32])
  • setTokenURIEndpoint(address)
  • transferFrom(address,address,uint256)
  • transferOwnership(address)
  • upgradeTo(address)
  • upgradeToAndCall(address,bytes)
  • upgradeVerifier(uint8,address,string)
  • withdraw()

Events14

  • AdminChanged(address,address)
  • Approval(address,address,uint256)
  • ApprovalForAll(address,address,bool)
  • BeaconUpgraded(address)
  • ContractSealed(uint256)
  • ImageProven(address)
  • ImageRevealed(address)
  • Initialized(uint8)
  • OwnershipTransferred(address,address)
  • PriceProven(address)
  • TokenURIEndpointSet(address)
  • Transfer(address,address,uint256)
  • Upgraded(address)
  • VerifierUpgraded(uint8,address,address)

Errors2

  • InvalidCodeAtRange(uint256,uint256,uint256)
  • WriteError()

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "InvalidCodeAtRange",
    "type": "error",
    "inputs": [
      {
        "name": "_size",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_start",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_end",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "name": "WriteError",
    "type": "error",
    "inputs": []
  },
  {
    "name": "AdminChanged",
    "type": "event",
    "inputs": [
      {
        "name": "previousAdmin",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "newAdmin",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Approval",
    "type": "event",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "approved",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "indexed": true,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ApprovalForAll",
    "type": "event",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "operator",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "approved",
        "type": "bool",
        "indexed": false,
        "internalType": "bool"
      }
    ],
    "anonymous": false
  },
  {
    "name": "BeaconUpgraded",
    "type": "event",
    "inputs": [
      {
        "name": "beacon",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ContractSealed",
    "type": "event",
    "inputs": [
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ImageProven",
    "type": "event",
    "inputs": [
      {
        "name": "prover",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ImageRevealed",
    "type": "event",
    "inputs": [
      {
        "name": "prover",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Initialized",
    "type": "event",
    "inputs": [
      {
        "name": "version",
        "type": "uint8",
        "indexed": false,
        "internalType": "uint8"
      }
    ],
    "anonymous": false
  },
  {
    "name": "OwnershipTransferred",
    "type": "event",
    "inputs": [
      {
        "name": "previousOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "PriceProven",
    "type": "event",
    "inputs": [
      {
        "name": "prover",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "TokenURIEndpointSet",
    "type": "event",
    "inputs": [
      {
        "name": "tokenURIEndpoint",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Transfer",
    "type": "event",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "indexed": true,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Upgraded",
    "type": "event",
    "inputs": [
      {
        "name": "implementation",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "VerifierUpgraded",
    "type": "event",
    "inputs": [
      {
        "name": "verifier",
        "type": "uint8",
        "indexed": false,
        "internalType": "enum Angelus.VerifierType"
      },
      {
        "name": "oldAddress",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "newAddress",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "type": "fallback",
    "stateMutability": "payable"
  },
  {
    "name": "MAX_VALUE",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "P",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "QUANTIZATION_FACTOR",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "abiStoragePointer",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "abiString",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "approve",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "balanceOf",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getApproved",
    "type": "function",
    "inputs": [
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getVerifierBuildInfo",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "name": "getVerifierSourceCode",
    "type": "function",
    "inputs": [
      {
        "name": "verifier",
        "type": "uint8",
        "internalType": "enum Angelus.VerifierType"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "imageProven",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "imageRowCommits",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "imageRowSumCommits",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "imageStoragePointers",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "imageVerifier",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "verifierType",
        "type": "uint8",
        "internalType": "enum Angelus.VerifierType"
      },
      {
        "name": "addr",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "sourceCode",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "initialize",
    "type": "function",
    "inputs": [
      {
        "name": "_verifierAddresses",
        "type": "address[4]",
        "internalType": "address[4]"
      },
      {
        "name": "_verifierSources",
        "type": "string[4]",
        "internalType": "string[4]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "isApprovedForAll",
    "type": "function",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "isSealed",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "name",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "onERC721Received",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "",
        "type": "bytes",
        "internalType": "bytes"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bytes4",
        "internalType": "bytes4"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "ownerOf",
    "type": "function",
    "inputs": [
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "priceProven",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "priceProvenToExist",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "priceVerifier",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "verifierType",
        "type": "uint8",
        "internalType": "enum Angelus.VerifierType"
      },
      {
        "name": "addr",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "sourceCode",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "proveImage",
    "type": "function",
    "inputs": [
      {
        "name": "_proofs",
        "type": "uint256[24][32]",
        "internalType": "uint256[24][32]"
      },
      {
        "name": "_pubSignals",
        "type": "uint256[3][32]",
        "internalType": "uint256[3][32]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "provePrice",
    "type": "function",
    "inputs": [
      {
        "name": "_proof",
        "type": "uint256[24]",
        "internalType": "uint256[24]"
      },
      {
        "name": "_pubSignals",
        "type": "uint256[33]",
        "internalType": "uint256[33]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "proxiableUUID",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "purchase",
    "type": "function",
    "inputs": [
      {
        "name": "_proof",
        "type": "uint256[24]",
        "internalType": "uint256[24]"
      },
      {
        "name": "_pubSignals",
        "type": "uint256[34]",
        "internalType": "uint256[34]"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "purchaseVerifier",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "verifierType",
        "type": "uint8",
        "internalType": "enum Angelus.VerifierType"
      },
      {
        "name": "addr",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "sourceCode",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "purchaseWithImageProof",
    "type": "function",
    "inputs": [
      {
        "name": "_priceProof",
        "type": "uint256[24]",
        "internalType": "uint256[24]"
      },
      {
        "name": "_pricePubSignals",
        "type": "uint256[34]",
        "internalType": "uint256[34]"
      },
      {
        "name": "_imageProofs",
        "type": "uint256[24][32]",
        "internalType": "uint256[24][32]"
      },
      {
        "name": "_imagePubSignals",
        "type": "uint256[3][32]",
        "internalType": "uint256[3][32]"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "quantizeUint",
    "type": "function",
    "inputs": [
      {
        "name": "x",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "quantizedImage",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "result",
        "type": "uint256[32][32]",
        "internalType": "uint256[32][32]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "rawImage",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "result",
        "type": "uint256[32][32]",
        "internalType": "uint256[32][32]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "renounceOwnership",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "revealImage",
    "type": "function",
    "inputs": [
      {
        "name": "_proofs",
        "type": "uint256[24][32]",
        "internalType": "uint256[24][32]"
      },
      {
        "name": "_pubSignals",
        "type": "uint256[35][32]",
        "internalType": "uint256[35][32]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "revealVerifier",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "verifierType",
        "type": "uint8",
        "internalType": "enum Angelus.VerifierType"
      },
      {
        "name": "addr",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "sourceCode",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "safeTransferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "safeTransferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "data",
        "type": "bytes",
        "internalType": "bytes"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "sealContract",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setABIString",
    "type": "function",
    "inputs": [
      {
        "name": "_abiString",
        "type": "string",
        "internalType": "string"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setApprovalForAll",
    "type": "function",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "approved",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setStateRoots",
    "type": "function",
    "inputs": [
      {
        "name": "_rowCommits",
        "type": "uint256[32]",
        "internalType": "uint256[32]"
      },
      {
        "name": "_rowSumCommits",
        "type": "uint256[32]",
        "internalType": "uint256[32]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setTokenURIEndpoint",
    "type": "function",
    "inputs": [
      {
        "name": "_tokenURIEndpoint",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "stateRootsSet",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "supportsInterface",
    "type": "function",
    "inputs": [
      {
        "name": "interfaceId",
        "type": "bytes4",
        "internalType": "bytes4"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "symbol",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "title",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "tokenURI",
    "type": "function",
    "inputs": [
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "tokenURIEndpoint",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "transferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "tokenId",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "transferOwnership",
    "type": "function",
    "inputs": [
      {
        "name": "newOwner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "upgradeTo",
    "type": "function",
    "inputs": [
      {
        "name": "newImplementation",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "upgradeToAndCall",
    "type": "function",
    "inputs": [
      {
        "name": "newImplementation",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "data",
        "type": "bytes",
        "internalType": "bytes"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "upgradeVerifier",
    "type": "function",
    "inputs": [
      {
        "name": "verifier",
        "type": "uint8",
        "internalType": "enum Angelus.VerifierType"
      },
      {
        "name": "newAddr",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "newSource",
        "type": "string",
        "internalType": "string"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "version",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "withdraw",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "receive",
    "stateMutability": "payable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.