[
  {
    "type": "function",
    "name": "isValidPayload",
    "inputs": [
      {
        "name": "payload",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "signature",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "maxAgeMillis",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "verifyData",
    "inputs": [
      {
        "name": "expected",
        "type": "tuple",
        "internalType": "struct ICfbVerifier.ExpectedData",
        "components": [
          {
            "name": "feedId",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "timeMillis",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "encodeType",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "chainEncodingEnvelope",
            "type": "bytes",
            "internalType": "bytes"
          },
          {
            "name": "commitmentNonce",
            "type": "bytes32",
            "internalType": "bytes32"
          }
        ]
      },
      {
        "name": "payload",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "signature",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "maxAgeMillis",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "internalType": "struct ICfbVerifier.VerifiedData",
        "components": [
          {
            "name": "feedId",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "timeMillis",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "encodeType",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "nativeEncodedData",
            "type": "bytes",
            "internalType": "bytes"
          },
          {
            "name": "encodingId",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "schemeId",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "chainEncodingLeaf",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "rawChainEncodingRoot",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "wrappedChainEncodingRoot",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "version",
            "type": "uint8",
            "internalType": "uint8"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "verifyPayload",
    "inputs": [
      {
        "name": "payload",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "signature",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "maxAgeMillis",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "internalType": "struct ICfbVerifier.VerifiedPayload",
        "components": [
          {
            "name": "feedIdHash",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "timeMillis",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "schemeId",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "dataCommitment",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "primarySigner",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "operationalKey",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "version",
            "type": "uint8",
            "internalType": "uint8"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "verifyValue",
    "inputs": [
      {
        "name": "expected",
        "type": "tuple",
        "internalType": "struct ICfbVerifier.ExpectedValue",
        "components": [
          {
            "name": "feedId",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "timeMillis",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "negative",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "magnitude",
            "type": "uint128",
            "internalType": "uint128"
          },
          {
            "name": "commitmentNonce",
            "type": "bytes32",
            "internalType": "bytes32"
          }
        ]
      },
      {
        "name": "payload",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "signature",
        "type": "bytes",
        "internalType": "bytes"
      },
      {
        "name": "maxAgeMillis",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "internalType": "struct ICfbVerifier.VerifiedValue",
        "components": [
          {
            "name": "feedId",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "timeMillis",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "negative",
            "type": "bool",
            "internalType": "bool"
          },
          {
            "name": "magnitude",
            "type": "uint128",
            "internalType": "uint128"
          },
          {
            "name": "version",
            "type": "uint8",
            "internalType": "uint8"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "error",
    "name": "DelegationOutsideValidityWindow",
    "inputs": [
      {
        "name": "timeMillis",
        "type": "uint64",
        "internalType": "uint64"
      },
      {
        "name": "validFromMillis",
        "type": "uint64",
        "internalType": "uint64"
      },
      {
        "name": "validToMillis",
        "type": "uint64",
        "internalType": "uint64"
      }
    ]
  },
  {
    "type": "error",
    "name": "EnforcedPause",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidCommitmentNonce",
    "inputs": [
      {
        "name": "commitmentNonce",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "InvalidDelegationCertificate",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidEncodeType",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidFeedId",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidFeedIdHash",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidMerkleProof",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidMerkleProofCount",
    "inputs": [
      {
        "name": "count",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "InvalidSignature",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidSignatureLength",
    "inputs": [
      {
        "name": "length",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "MalformedChainEncodingEnvelope",
    "inputs": [
      {
        "name": "length",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "MalformedMerkleProofLength",
    "inputs": [
      {
        "name": "proofBytes",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "MalformedPayloadLength",
    "inputs": [
      {
        "name": "actualLength",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "expectedLength",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "MaxAgeMillisTooLarge",
    "inputs": [
      {
        "name": "supplied",
        "type": "uint64",
        "internalType": "uint64"
      },
      {
        "name": "maximum",
        "type": "uint64",
        "internalType": "uint64"
      }
    ]
  },
  {
    "type": "error",
    "name": "NonCanonicalValue",
    "inputs": [
      {
        "name": "packedValue",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "PayloadFromFuture",
    "inputs": [
      {
        "name": "timeMillis",
        "type": "uint64",
        "internalType": "uint64"
      },
      {
        "name": "blockTimeMillis",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "PayloadTooOld",
    "inputs": [
      {
        "name": "timeMillis",
        "type": "uint64",
        "internalType": "uint64"
      },
      {
        "name": "blockTimeMillis",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "maxAgeMillis",
        "type": "uint64",
        "internalType": "uint64"
      }
    ]
  },
  {
    "type": "error",
    "name": "SignerRoleCollision",
    "inputs": [
      {
        "name": "signer",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnauthorizedSigner",
    "inputs": [
      {
        "name": "signer",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnexpectedChainEncodingEntryDomain",
    "inputs": [
      {
        "name": "expected",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "actual",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnexpectedDataCommitment",
    "inputs": [
      {
        "name": "expected",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "actual",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnexpectedEncodingId",
    "inputs": [
      {
        "name": "expected",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "actual",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnexpectedFeedIdHash",
    "inputs": [
      {
        "name": "expected",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "actual",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnexpectedSchemeId",
    "inputs": [
      {
        "name": "expected",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "actual",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnexpectedTimeMillis",
    "inputs": [
      {
        "name": "expected",
        "type": "uint64",
        "internalType": "uint64"
      },
      {
        "name": "actual",
        "type": "uint64",
        "internalType": "uint64"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnsupportedChainEncodingVersion",
    "inputs": [
      {
        "name": "version",
        "type": "uint8",
        "internalType": "uint8"
      }
    ]
  },
  {
    "type": "error",
    "name": "UnsupportedPayloadVersion",
    "inputs": [
      {
        "name": "version",
        "type": "uint8",
        "internalType": "uint8"
      }
    ]
  }
]
