mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
* test: ofac updating tests * feat: add registry deployment info * chore: add gitignore for generated files * feat: add kyc documents to upgrade scripts * docs: update upgrade script readme for kyc * feat: IdentityRegistryKyc v1.1.0 deployed on Celo-sepolia Add TEE-attested OFAC root updates via updateOfacRootsWithProof - Implementation: 0x530eEA7E5b286108926B05510491560c4bAE018e - Adds updateOfacRootsWithProof() for ZK-verified OFAC root updates - New errors: InvalidRootsHash, InvalidRootsCount - New event: OfacRootsUpdatedWithProof * feat: add OFAC rolling root window to all 4 registries Add previousRoot storage variables to all identity registries so that checkOfacRoots accepts both the current and previous root for each OFAC tree. This prevents verification failures for users mid-proof when roots are updated on-chain between proof generation and on-chain verification. - Passport: 3 prev roots (passportNo, nameAndDob, nameAndYob) - KYC, ID Card, Aadhaar: 2 prev roots each (nameAndDob, nameAndYob) - KYC updateOfacRootsWithProof also rotates previous roots - Added getPrev* getter functions on all registries - Storage appended at end of each storage contract (UUPS-safe) - 17 new tests covering all registries (window=1 acceptance/rejection) * feat: deploy IdentityRegistryKyc v1.2.0 to Celo Sepolia Add rolling OFAC root window: store previous roots alongside current, accept either in checkOfacRoots for graceful mid-verification transitions. New impl: 0x6E2889Bc9baa6F53bDdf4843675155811F0AAAEd Proxy: 0x90e907E4AaB6e9bcFB94997Af4A097e8CAadBdf3 Pending Safe multisig execution for proxy upgrade. * feat: add TEE-attested OFAC root updates to Aadhaar, IdCard, and Passport registries Extend updateOfacRootsWithProof() to the remaining 3 identity registries, matching the pattern already deployed on the KYC registry (v1.1.0). - Add GCP JWT verifier, PCR0Manager, TEE address, and root CA pubkey hash storage to each registry - Add initializeOfacProof() reinitializer for upgrade path - Add onlyTEE modifier and updateOfacRootsWithProof() with Groth16 proof verification, TEE attestation validation, timestamp checks, and global roots hash commitment verification - Rolling window behavior preserved: previous roots saved before overwrite - Admin functions for updating TEE infrastructure (SECURITY_ROLE gated) - Bumps all 3 registries to v1.3.0 * refactor: simplify updateOfacRootsWithProof to use per-registry roots hash as nonce * fix: address CodeRabbit review comments on OFAC proof upgrade - Add onlyProxy + onlyRole(DEFAULT_ADMIN_ROLE) guard to initializeOfacProof() on Passport, Aadhaar, and IdCard registries to prevent front-running during the window between upgradeToAndCall and the separate initializer call - Fix checkOfacRoots() across all 4 registries to use atomic snapshot comparison instead of per-root matching — prevents accepting Frankenstein pairs like (new DOB root, old YOB root) that were never attested together - Add IdentityRegistryKycImplV1 to PoseidonT3 linking branch in prepare.ts so upgrade:prepare works correctly for KYC - Add prev* slot assertions and mixed-pair rejection test to ofacUpgradePath.test.ts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: add view getters, fix initializeOfacProof guard, add upgrade scripts - Add getGcpJwtVerifier() and getPcr0Manager() getters to KYC and Aadhaar - Fix initializeOfacProof guard: SECURITY_ROLE instead of DEFAULT_ADMIN_ROLE (DEFAULT_ADMIN_ROLE is never granted in governance setup) - Add Ignition upgrade scripts for KYC and Aadhaar registries - Comment out registry deploy in deployKycRegistry (verifier-only redeploy) - Update deployed_addresses.json with sepolia upgrade artifacts - Bump KYC to v1.2.1, Aadhaar to v1.3.1 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: addresses and error selectors * style: format registry contracts and upgrade scripts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: formatting * fix: error selectors * fix: error selectors * fix: error selectors --------- Co-authored-by: Evi Nova <tranquil_flow@protonmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
983 lines
26 KiB
JSON
983 lines
26 KiB
JSON
[
|
|
{
|
|
"name": "REGISTERED_COMMITMENT",
|
|
"signature": "REGISTERED_COMMITMENT()",
|
|
"selector": "0x034acfcc",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 187
|
|
},
|
|
{
|
|
"name": "REGISTERED_COMMITMENT",
|
|
"signature": "REGISTERED_COMMITMENT()",
|
|
"selector": "0x034acfcc",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 195
|
|
},
|
|
{
|
|
"name": "REGISTERED_COMMITMENT",
|
|
"signature": "REGISTERED_COMMITMENT()",
|
|
"selector": "0x034acfcc",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 205
|
|
},
|
|
{
|
|
"name": "REGISTERED_COMMITMENT",
|
|
"signature": "REGISTERED_COMMITMENT()",
|
|
"selector": "0x034acfcc",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 189
|
|
},
|
|
{
|
|
"name": "InvalidProof",
|
|
"signature": "InvalidProof()",
|
|
"selector": "0x09bde339",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 57
|
|
},
|
|
{
|
|
"name": "InvalidProof",
|
|
"signature": "InvalidProof()",
|
|
"selector": "0x09bde339",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 35
|
|
},
|
|
{
|
|
"name": "InvalidPubSignalsLength",
|
|
"signature": "InvalidPubSignalsLength(uint256,uint256)",
|
|
"selector": "0x0b42b970",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 44
|
|
},
|
|
{
|
|
"name": "NoVerifierSet",
|
|
"signature": "NoVerifierSet()",
|
|
"selector": "0x0ee78d58",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 151
|
|
},
|
|
{
|
|
"name": "NoVerifierSet",
|
|
"signature": "NoVerifierSet()",
|
|
"selector": "0x0ee78d58",
|
|
"file": "contracts/libraries/DscProofVerifierLib.sol",
|
|
"line": 17
|
|
},
|
|
{
|
|
"name": "NoVerifierSet",
|
|
"signature": "NoVerifierSet()",
|
|
"selector": "0x0ee78d58",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 23
|
|
},
|
|
{
|
|
"name": "INVALID_TIMESTAMP",
|
|
"signature": "INVALID_TIMESTAMP()",
|
|
"selector": "0x118818d1",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 197
|
|
},
|
|
{
|
|
"name": "INVALID_TIMESTAMP",
|
|
"signature": "INVALID_TIMESTAMP()",
|
|
"selector": "0x118818d1",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 203
|
|
},
|
|
{
|
|
"name": "INVALID_TIMESTAMP",
|
|
"signature": "INVALID_TIMESTAMP()",
|
|
"selector": "0x118818d1",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 213
|
|
},
|
|
{
|
|
"name": "INVALID_TIMESTAMP",
|
|
"signature": "INVALID_TIMESTAMP()",
|
|
"selector": "0x118818d1",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 199
|
|
},
|
|
{
|
|
"name": "InvalidRootsCount",
|
|
"signature": "InvalidRootsCount()",
|
|
"selector": "0x128781c2",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 201
|
|
},
|
|
{
|
|
"name": "InvalidRootsCount",
|
|
"signature": "InvalidRootsCount()",
|
|
"selector": "0x128781c2",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 207
|
|
},
|
|
{
|
|
"name": "InvalidRootsCount",
|
|
"signature": "InvalidRootsCount()",
|
|
"selector": "0x128781c2",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 217
|
|
},
|
|
{
|
|
"name": "InvalidRootsCount",
|
|
"signature": "InvalidRootsCount()",
|
|
"selector": "0x128781c2",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 203
|
|
},
|
|
{
|
|
"name": "InvalidAttestationId",
|
|
"signature": "InvalidAttestationId()",
|
|
"selector": "0x12ec75fe",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 183
|
|
},
|
|
{
|
|
"name": "InvalidAttestationId",
|
|
"signature": "InvalidAttestationId()",
|
|
"selector": "0x12ec75fe",
|
|
"file": "contracts/libraries/CustomVerifier.sol",
|
|
"line": 10
|
|
},
|
|
{
|
|
"name": "InvalidAttestationId",
|
|
"signature": "InvalidAttestationId()",
|
|
"selector": "0x12ec75fe",
|
|
"file": "contracts/libraries/DscProofVerifierLib.sol",
|
|
"line": 26
|
|
},
|
|
{
|
|
"name": "InvalidAttestationId",
|
|
"signature": "InvalidAttestationId()",
|
|
"selector": "0x12ec75fe",
|
|
"file": "contracts/libraries/OfacCheckLib.sol",
|
|
"line": 22
|
|
},
|
|
{
|
|
"name": "InvalidAttestationId",
|
|
"signature": "InvalidAttestationId()",
|
|
"selector": "0x12ec75fe",
|
|
"file": "contracts/libraries/ProofVerifierLib.sol",
|
|
"line": 21
|
|
},
|
|
{
|
|
"name": "InvalidAttestationId",
|
|
"signature": "InvalidAttestationId()",
|
|
"selector": "0x12ec75fe",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 32
|
|
},
|
|
{
|
|
"name": "InvalidAttestationId",
|
|
"signature": "InvalidAttestationId()",
|
|
"selector": "0x12ec75fe",
|
|
"file": "contracts/libraries/RootCheckLib.sol",
|
|
"line": 22
|
|
},
|
|
{
|
|
"name": "RegistrationNotOpen",
|
|
"signature": "RegistrationNotOpen()",
|
|
"selector": "0x153745d3",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 66
|
|
},
|
|
{
|
|
"name": "RegistrationNotOpen",
|
|
"signature": "RegistrationNotOpen()",
|
|
"selector": "0x153745d3",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 38
|
|
},
|
|
{
|
|
"name": "InvalidDscProof",
|
|
"signature": "InvalidDscProof()",
|
|
"selector": "0x1644e049",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 163
|
|
},
|
|
{
|
|
"name": "InvalidDscProof",
|
|
"signature": "InvalidDscProof()",
|
|
"selector": "0x1644e049",
|
|
"file": "contracts/libraries/DscProofVerifierLib.sol",
|
|
"line": 20
|
|
},
|
|
{
|
|
"name": "InvalidYearRange",
|
|
"signature": "InvalidYearRange()",
|
|
"selector": "0x16f40c94",
|
|
"file": "contracts/libraries/Formatter.sol",
|
|
"line": 12
|
|
},
|
|
{
|
|
"name": "InvalidDateDigit",
|
|
"signature": "InvalidDateDigit()",
|
|
"selector": "0x17af8154",
|
|
"file": "contracts/libraries/Formatter.sol",
|
|
"line": 16
|
|
},
|
|
{
|
|
"name": "INVALID_OFAC_ROOT",
|
|
"signature": "INVALID_OFAC_ROOT()",
|
|
"selector": "0x1ce3d3ca",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 176
|
|
},
|
|
{
|
|
"name": "HUB_ADDRESS_ZERO",
|
|
"signature": "HUB_ADDRESS_ZERO()",
|
|
"selector": "0x22697ffa",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 189
|
|
},
|
|
{
|
|
"name": "HUB_ADDRESS_ZERO",
|
|
"signature": "HUB_ADDRESS_ZERO()",
|
|
"selector": "0x22697ffa",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 191
|
|
},
|
|
{
|
|
"name": "RegisteredNullifier",
|
|
"signature": "RegisteredNullifier()",
|
|
"selector": "0x22cbc6a2",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 81
|
|
},
|
|
{
|
|
"name": "RegisteredNullifier",
|
|
"signature": "RegisteredNullifier()",
|
|
"selector": "0x22cbc6a2",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 43
|
|
},
|
|
{
|
|
"name": "InvalidMonthRange",
|
|
"signature": "InvalidMonthRange()",
|
|
"selector": "0x25e62788",
|
|
"file": "contracts/libraries/Formatter.sol",
|
|
"line": 13
|
|
},
|
|
{
|
|
"name": "ONLY_TEE_CAN_ACCESS",
|
|
"signature": "ONLY_TEE_CAN_ACCESS()",
|
|
"selector": "0x2822d0cb",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 205
|
|
},
|
|
{
|
|
"name": "ONLY_TEE_CAN_ACCESS",
|
|
"signature": "ONLY_TEE_CAN_ACCESS()",
|
|
"selector": "0x2822d0cb",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 211
|
|
},
|
|
{
|
|
"name": "ONLY_TEE_CAN_ACCESS",
|
|
"signature": "ONLY_TEE_CAN_ACCESS()",
|
|
"selector": "0x2822d0cb",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 221
|
|
},
|
|
{
|
|
"name": "ONLY_TEE_CAN_ACCESS",
|
|
"signature": "ONLY_TEE_CAN_ACCESS()",
|
|
"selector": "0x2822d0cb",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 187
|
|
},
|
|
{
|
|
"name": "UserIdentifierAlreadyRegistered",
|
|
"signature": "UserIdentifierAlreadyRegistered()",
|
|
"selector": "0x29393238",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 78
|
|
},
|
|
{
|
|
"name": "UserIdentifierAlreadyRegistered",
|
|
"signature": "UserIdentifierAlreadyRegistered()",
|
|
"selector": "0x29393238",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 42
|
|
},
|
|
{
|
|
"name": "InvalidRootsHash",
|
|
"signature": "InvalidRootsHash()",
|
|
"selector": "0x372c4a4b",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 199
|
|
},
|
|
{
|
|
"name": "InvalidRootsHash",
|
|
"signature": "InvalidRootsHash()",
|
|
"selector": "0x372c4a4b",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 205
|
|
},
|
|
{
|
|
"name": "InvalidRootsHash",
|
|
"signature": "InvalidRootsHash()",
|
|
"selector": "0x372c4a4b",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 215
|
|
},
|
|
{
|
|
"name": "InvalidRootsHash",
|
|
"signature": "InvalidRootsHash()",
|
|
"selector": "0x372c4a4b",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 201
|
|
},
|
|
{
|
|
"name": "InvalidFieldElement",
|
|
"signature": "InvalidFieldElement()",
|
|
"selector": "0x3ae4ed6b",
|
|
"file": "contracts/libraries/Formatter.sol",
|
|
"line": 15
|
|
},
|
|
{
|
|
"name": "InvalidPubkey",
|
|
"signature": "InvalidPubkey()",
|
|
"selector": "0x422cc3b7",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 211
|
|
},
|
|
{
|
|
"name": "InvalidPubkey",
|
|
"signature": "InvalidPubkey()",
|
|
"selector": "0x422cc3b7",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 35
|
|
},
|
|
{
|
|
"name": "InvalidOlderThan",
|
|
"signature": "InvalidOlderThan()",
|
|
"selector": "0x49aecbc2",
|
|
"file": "contracts/libraries/CustomVerifier.sol",
|
|
"line": 13
|
|
},
|
|
{
|
|
"name": "InvalidDscCommitmentRoot",
|
|
"signature": "InvalidDscCommitmentRoot()",
|
|
"selector": "0x4cb305bb",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 175
|
|
},
|
|
{
|
|
"name": "InvalidDscCommitmentRoot",
|
|
"signature": "InvalidDscCommitmentRoot()",
|
|
"selector": "0x4cb305bb",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 29
|
|
},
|
|
{
|
|
"name": "HUB_NOT_SET",
|
|
"signature": "HUB_NOT_SET()",
|
|
"selector": "0x4ffa9998",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 183
|
|
},
|
|
{
|
|
"name": "HUB_NOT_SET",
|
|
"signature": "HUB_NOT_SET()",
|
|
"selector": "0x4ffa9998",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 191
|
|
},
|
|
{
|
|
"name": "HUB_NOT_SET",
|
|
"signature": "HUB_NOT_SET()",
|
|
"selector": "0x4ffa9998",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 201
|
|
},
|
|
{
|
|
"name": "HUB_NOT_SET",
|
|
"signature": "HUB_NOT_SET()",
|
|
"selector": "0x4ffa9998",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 181
|
|
},
|
|
{
|
|
"name": "INVALID_COMMITMENT_ROOT",
|
|
"signature": "INVALID_COMMITMENT_ROOT()",
|
|
"selector": "0x52906601",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 172
|
|
},
|
|
{
|
|
"name": "UnauthorizedCaller",
|
|
"signature": "UnauthorizedCaller()",
|
|
"selector": "0x5c427cd9",
|
|
"file": "contracts/abstract/SelfVerificationRoot.sol",
|
|
"line": 49
|
|
},
|
|
{
|
|
"name": "UnauthorizedCaller",
|
|
"signature": "UnauthorizedCaller()",
|
|
"selector": "0x5c427cd9",
|
|
"file": "contracts/abstract/SelfVerificationRootUpgradeable.sol",
|
|
"line": 69
|
|
},
|
|
{
|
|
"name": "UserIdentifierAlreadyMinted",
|
|
"signature": "UserIdentifierAlreadyMinted()",
|
|
"selector": "0x5dd09265",
|
|
"file": "contracts/example/SelfIdentityERC721.sol",
|
|
"line": 51
|
|
},
|
|
{
|
|
"name": "UserIdentifierAlreadyMinted",
|
|
"signature": "UserIdentifierAlreadyMinted()",
|
|
"selector": "0x5dd09265",
|
|
"file": "contracts/example/SelfPassportERC721.sol",
|
|
"line": 48
|
|
},
|
|
{
|
|
"name": "InvalidOfacCheck",
|
|
"signature": "InvalidOfacCheck()",
|
|
"selector": "0x5fb542f4",
|
|
"file": "contracts/libraries/CustomVerifier.sol",
|
|
"line": 11
|
|
},
|
|
{
|
|
"name": "CrossChainIsNotSupportedYet",
|
|
"signature": "CrossChainIsNotSupportedYet()",
|
|
"selector": "0x61296fbb",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 191
|
|
},
|
|
{
|
|
"name": "AlreadyClaimed",
|
|
"signature": "AlreadyClaimed()",
|
|
"selector": "0x646cf558",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 60
|
|
},
|
|
{
|
|
"name": "AlreadyClaimed",
|
|
"signature": "AlreadyClaimed()",
|
|
"selector": "0x646cf558",
|
|
"file": "contracts/example/HappyBirthday.sol",
|
|
"line": 67
|
|
},
|
|
{
|
|
"name": "AlreadyClaimed",
|
|
"signature": "AlreadyClaimed()",
|
|
"selector": "0x646cf558",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 36
|
|
},
|
|
{
|
|
"name": "InputTooShort",
|
|
"signature": "InputTooShort()",
|
|
"selector": "0x65ec0cf1",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 195
|
|
},
|
|
{
|
|
"name": "InvalidRegisterProof",
|
|
"signature": "InvalidRegisterProof()",
|
|
"selector": "0x67b61dc7",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 159
|
|
},
|
|
{
|
|
"name": "InvalidRegisterProof",
|
|
"signature": "InvalidRegisterProof()",
|
|
"selector": "0x67b61dc7",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 26
|
|
},
|
|
{
|
|
"name": "RegistrationNotClosed",
|
|
"signature": "RegistrationNotClosed()",
|
|
"selector": "0x697e379b",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 69
|
|
},
|
|
{
|
|
"name": "RegistrationNotClosed",
|
|
"signature": "RegistrationNotClosed()",
|
|
"selector": "0x697e379b",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 39
|
|
},
|
|
{
|
|
"name": "INVALID_DSC_PROOF",
|
|
"signature": "INVALID_DSC_PROOF()",
|
|
"selector": "0x6a86dd76",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 164
|
|
},
|
|
{
|
|
"name": "ClaimNotOpen",
|
|
"signature": "ClaimNotOpen()",
|
|
"selector": "0x6b687806",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 72
|
|
},
|
|
{
|
|
"name": "ClaimNotOpen",
|
|
"signature": "ClaimNotOpen()",
|
|
"selector": "0x6b687806",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 40
|
|
},
|
|
{
|
|
"name": "InvalidUidaiTimestamp",
|
|
"signature": "InvalidUidaiTimestamp(uint256,uint256)",
|
|
"selector": "0x6f26ab8d",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 215
|
|
},
|
|
{
|
|
"name": "InvalidUidaiTimestamp",
|
|
"signature": "InvalidUidaiTimestamp(uint256,uint256)",
|
|
"selector": "0x6f26ab8d",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 38
|
|
},
|
|
{
|
|
"name": "INVALID_PROOF",
|
|
"signature": "INVALID_PROOF()",
|
|
"selector": "0x712eb087",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 191
|
|
},
|
|
{
|
|
"name": "INVALID_PROOF",
|
|
"signature": "INVALID_PROOF()",
|
|
"selector": "0x712eb087",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 197
|
|
},
|
|
{
|
|
"name": "INVALID_PROOF",
|
|
"signature": "INVALID_PROOF()",
|
|
"selector": "0x712eb087",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 207
|
|
},
|
|
{
|
|
"name": "INVALID_PROOF",
|
|
"signature": "INVALID_PROOF()",
|
|
"selector": "0x712eb087",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 193
|
|
},
|
|
{
|
|
"name": "INVALID_OFAC",
|
|
"signature": "INVALID_OFAC()",
|
|
"selector": "0x71b125ed",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 156
|
|
},
|
|
{
|
|
"name": "INVALID_IMAGE",
|
|
"signature": "INVALID_IMAGE()",
|
|
"selector": "0x7f91b413",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 195
|
|
},
|
|
{
|
|
"name": "INVALID_IMAGE",
|
|
"signature": "INVALID_IMAGE()",
|
|
"selector": "0x7f91b413",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 201
|
|
},
|
|
{
|
|
"name": "INVALID_IMAGE",
|
|
"signature": "INVALID_IMAGE()",
|
|
"selector": "0x7f91b413",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 211
|
|
},
|
|
{
|
|
"name": "INVALID_IMAGE",
|
|
"signature": "INVALID_IMAGE()",
|
|
"selector": "0x7f91b413",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 197
|
|
},
|
|
{
|
|
"name": "InvalidForbiddenCountries",
|
|
"signature": "InvalidForbiddenCountries()",
|
|
"selector": "0x82cba848",
|
|
"file": "contracts/libraries/CustomVerifier.sol",
|
|
"line": 12
|
|
},
|
|
{
|
|
"name": "InsufficientCharcodeLen",
|
|
"signature": "InsufficientCharcodeLen()",
|
|
"selector": "0x86d41225",
|
|
"file": "contracts/libraries/CircuitAttributeHandler.sol",
|
|
"line": 15
|
|
},
|
|
{
|
|
"name": "InsufficientCharcodeLen",
|
|
"signature": "InsufficientCharcodeLen()",
|
|
"selector": "0x86d41225",
|
|
"file": "contracts/libraries/CircuitAttributeHandlerV2.sol",
|
|
"line": 17
|
|
},
|
|
{
|
|
"name": "InsufficientCharcodeLen",
|
|
"signature": "InsufficientCharcodeLen()",
|
|
"selector": "0x86d41225",
|
|
"file": "contracts/libraries/IdCardAttributeHandler.sol",
|
|
"line": 16
|
|
},
|
|
{
|
|
"name": "InvalidDayRange",
|
|
"signature": "InvalidDayRange()",
|
|
"selector": "0x8930acef",
|
|
"file": "contracts/libraries/Formatter.sol",
|
|
"line": 14
|
|
},
|
|
{
|
|
"name": "LENGTH_MISMATCH",
|
|
"signature": "LENGTH_MISMATCH()",
|
|
"selector": "0x899ef10d",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 136
|
|
},
|
|
{
|
|
"name": "NO_VERIFIER_SET",
|
|
"signature": "NO_VERIFIER_SET()",
|
|
"selector": "0x8e727f46",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 140
|
|
},
|
|
{
|
|
"name": "InvalidCscaRoot",
|
|
"signature": "InvalidCscaRoot()",
|
|
"selector": "0x8f1b44c7",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 179
|
|
},
|
|
{
|
|
"name": "InvalidCscaRoot",
|
|
"signature": "InvalidCscaRoot()",
|
|
"selector": "0x8f1b44c7",
|
|
"file": "contracts/libraries/DscProofVerifierLib.sol",
|
|
"line": 23
|
|
},
|
|
{
|
|
"name": "INVALID_REGISTER_PROOF",
|
|
"signature": "INVALID_REGISTER_PROOF()",
|
|
"selector": "0x9003ac4d",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 160
|
|
},
|
|
{
|
|
"name": "UserContextDataTooShort",
|
|
"signature": "UserContextDataTooShort()",
|
|
"selector": "0x94ec3503",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 199
|
|
},
|
|
{
|
|
"name": "NotWithinBirthdayWindow",
|
|
"signature": "NotWithinBirthdayWindow()",
|
|
"selector": "0x9b7983d7",
|
|
"file": "contracts/example/HappyBirthday.sol",
|
|
"line": 66
|
|
},
|
|
{
|
|
"name": "INVALID_CSCA_ROOT",
|
|
"signature": "INVALID_CSCA_ROOT()",
|
|
"selector": "0xa294ad3c",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 180
|
|
},
|
|
{
|
|
"name": "InvalidDataFormat",
|
|
"signature": "InvalidDataFormat()",
|
|
"selector": "0xa512e2ff",
|
|
"file": "contracts/abstract/SelfVerificationRoot.sol",
|
|
"line": 45
|
|
},
|
|
{
|
|
"name": "InvalidDataFormat",
|
|
"signature": "InvalidDataFormat()",
|
|
"selector": "0xa512e2ff",
|
|
"file": "contracts/abstract/SelfVerificationRootUpgradeable.sol",
|
|
"line": 65
|
|
},
|
|
{
|
|
"name": "ConfigNotSet",
|
|
"signature": "ConfigNotSet()",
|
|
"selector": "0xace124bc",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 207
|
|
},
|
|
{
|
|
"name": "InvalidDateLength",
|
|
"signature": "InvalidDateLength()",
|
|
"selector": "0xb3375953",
|
|
"file": "contracts/libraries/Formatter.sol",
|
|
"line": 11
|
|
},
|
|
{
|
|
"name": "ONLY_HUB_CAN_ACCESS",
|
|
"signature": "ONLY_HUB_CAN_ACCESS()",
|
|
"selector": "0xba0318cb",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 185
|
|
},
|
|
{
|
|
"name": "ONLY_HUB_CAN_ACCESS",
|
|
"signature": "ONLY_HUB_CAN_ACCESS()",
|
|
"selector": "0xba0318cb",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 193
|
|
},
|
|
{
|
|
"name": "ONLY_HUB_CAN_ACCESS",
|
|
"signature": "ONLY_HUB_CAN_ACCESS()",
|
|
"selector": "0xba0318cb",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 203
|
|
},
|
|
{
|
|
"name": "ONLY_HUB_CAN_ACCESS",
|
|
"signature": "ONLY_HUB_CAN_ACCESS()",
|
|
"selector": "0xba0318cb",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 183
|
|
},
|
|
{
|
|
"name": "INVALID_FORBIDDEN_COUNTRIES",
|
|
"signature": "INVALID_FORBIDDEN_COUNTRIES()",
|
|
"selector": "0xbf21b11c",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 152
|
|
},
|
|
{
|
|
"name": "NotRegistered",
|
|
"signature": "NotRegistered(address)",
|
|
"selector": "0xbfc6c337",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 63
|
|
},
|
|
{
|
|
"name": "NotRegistered",
|
|
"signature": "NotRegistered(address)",
|
|
"selector": "0xbfc6c337",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 37
|
|
},
|
|
{
|
|
"name": "InvalidOfacRoots",
|
|
"signature": "InvalidOfacRoots()",
|
|
"selector": "0xc67a44d2",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 223
|
|
},
|
|
{
|
|
"name": "InvalidOfacRoots",
|
|
"signature": "InvalidOfacRoots()",
|
|
"selector": "0xc67a44d2",
|
|
"file": "contracts/libraries/OfacCheckLib.sol",
|
|
"line": 19
|
|
},
|
|
{
|
|
"name": "CurrentDateNotInValidRange",
|
|
"signature": "CurrentDateNotInValidRange()",
|
|
"selector": "0xcf46551c",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 155
|
|
},
|
|
{
|
|
"name": "INVALID_VC_AND_DISCLOSE_PROOF",
|
|
"signature": "INVALID_VC_AND_DISCLOSE_PROOF()",
|
|
"selector": "0xd4d37a7a",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 168
|
|
},
|
|
{
|
|
"name": "AttestationIdMismatch",
|
|
"signature": "AttestationIdMismatch()",
|
|
"selector": "0xd7ca437d",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 219
|
|
},
|
|
{
|
|
"name": "InvalidVcAndDiscloseProof",
|
|
"signature": "InvalidVcAndDiscloseProof()",
|
|
"selector": "0xda7bd3a6",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 167
|
|
},
|
|
{
|
|
"name": "InvalidVcAndDiscloseProof",
|
|
"signature": "InvalidVcAndDiscloseProof()",
|
|
"selector": "0xda7bd3a6",
|
|
"file": "contracts/libraries/ProofVerifierLib.sol",
|
|
"line": 18
|
|
},
|
|
{
|
|
"name": "RegistryNotSet",
|
|
"signature": "RegistryNotSet()",
|
|
"selector": "0xe048e710",
|
|
"file": "contracts/libraries/RootCheckLib.sol",
|
|
"line": 25
|
|
},
|
|
{
|
|
"name": "INVALID_REVEALED_DATA_TYPE",
|
|
"signature": "INVALID_REVEALED_DATA_TYPE()",
|
|
"selector": "0xe0f15544",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 184
|
|
},
|
|
{
|
|
"name": "ScopeMismatch",
|
|
"signature": "ScopeMismatch()",
|
|
"selector": "0xe7bee380",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 187
|
|
},
|
|
{
|
|
"name": "InvalidUserIdentifierInProof",
|
|
"signature": "InvalidUserIdentifierInProof()",
|
|
"selector": "0xebbcc178",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 203
|
|
},
|
|
{
|
|
"name": "InvalidPubkeyCommitment",
|
|
"signature": "InvalidPubkeyCommitment()",
|
|
"selector": "0xebc2fedc",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 227
|
|
},
|
|
{
|
|
"name": "InvalidPubkeyCommitment",
|
|
"signature": "InvalidPubkeyCommitment()",
|
|
"selector": "0xebc2fedc",
|
|
"file": "contracts/libraries/RegisterProofVerifierLib.sol",
|
|
"line": 41
|
|
},
|
|
{
|
|
"name": "CURRENT_DATE_NOT_IN_VALID_RANGE",
|
|
"signature": "CURRENT_DATE_NOT_IN_VALID_RANGE()",
|
|
"selector": "0xed8cf9ff",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 144
|
|
},
|
|
{
|
|
"name": "INVALID_ROOT_CA",
|
|
"signature": "INVALID_ROOT_CA()",
|
|
"selector": "0xee57533e",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 193
|
|
},
|
|
{
|
|
"name": "INVALID_ROOT_CA",
|
|
"signature": "INVALID_ROOT_CA()",
|
|
"selector": "0xee57533e",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 199
|
|
},
|
|
{
|
|
"name": "INVALID_ROOT_CA",
|
|
"signature": "INVALID_ROOT_CA()",
|
|
"selector": "0xee57533e",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 209
|
|
},
|
|
{
|
|
"name": "INVALID_ROOT_CA",
|
|
"signature": "INVALID_ROOT_CA()",
|
|
"selector": "0xee57533e",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 195
|
|
},
|
|
{
|
|
"name": "InvalidUserIdentifier",
|
|
"signature": "InvalidUserIdentifier()",
|
|
"selector": "0xf0c426db",
|
|
"file": "contracts/example/Airdrop.sol",
|
|
"line": 75
|
|
},
|
|
{
|
|
"name": "InvalidUserIdentifier",
|
|
"signature": "InvalidUserIdentifier()",
|
|
"selector": "0xf0c426db",
|
|
"file": "contracts/example/SelfIdentityERC721.sol",
|
|
"line": 52
|
|
},
|
|
{
|
|
"name": "InvalidUserIdentifier",
|
|
"signature": "InvalidUserIdentifier()",
|
|
"selector": "0xf0c426db",
|
|
"file": "contracts/example/SelfPassportERC721.sol",
|
|
"line": 49
|
|
},
|
|
{
|
|
"name": "InvalidUserIdentifier",
|
|
"signature": "InvalidUserIdentifier()",
|
|
"selector": "0xf0c426db",
|
|
"file": "contracts/tests/TestAirdrop.sol",
|
|
"line": 41
|
|
},
|
|
{
|
|
"name": "INVALID_OLDER_THAN",
|
|
"signature": "INVALID_OLDER_THAN()",
|
|
"selector": "0xf0e539b9",
|
|
"file": "contracts/IdentityVerificationHubImplV1.sol",
|
|
"line": 148
|
|
},
|
|
{
|
|
"name": "InvalidIdentityCommitmentRoot",
|
|
"signature": "InvalidIdentityCommitmentRoot()",
|
|
"selector": "0xf53393a7",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 171
|
|
},
|
|
{
|
|
"name": "InvalidIdentityCommitmentRoot",
|
|
"signature": "InvalidIdentityCommitmentRoot()",
|
|
"selector": "0xf53393a7",
|
|
"file": "contracts/libraries/RootCheckLib.sol",
|
|
"line": 19
|
|
},
|
|
{
|
|
"name": "TEE_NOT_SET",
|
|
"signature": "TEE_NOT_SET()",
|
|
"selector": "0xfc833fc6",
|
|
"file": "contracts/registry/IdentityRegistryAadhaarImplV1.sol",
|
|
"line": 203
|
|
},
|
|
{
|
|
"name": "TEE_NOT_SET",
|
|
"signature": "TEE_NOT_SET()",
|
|
"selector": "0xfc833fc6",
|
|
"file": "contracts/registry/IdentityRegistryIdCardImplV1.sol",
|
|
"line": 209
|
|
},
|
|
{
|
|
"name": "TEE_NOT_SET",
|
|
"signature": "TEE_NOT_SET()",
|
|
"selector": "0xfc833fc6",
|
|
"file": "contracts/registry/IdentityRegistryImplV1.sol",
|
|
"line": 219
|
|
},
|
|
{
|
|
"name": "TEE_NOT_SET",
|
|
"signature": "TEE_NOT_SET()",
|
|
"selector": "0xfc833fc6",
|
|
"file": "contracts/registry/IdentityRegistryKycImplV1.sol",
|
|
"line": 185
|
|
},
|
|
{
|
|
"name": "LengthMismatch",
|
|
"signature": "LengthMismatch()",
|
|
"selector": "0xff633a38",
|
|
"file": "contracts/IdentityVerificationHubImplV2.sol",
|
|
"line": 147
|
|
}
|
|
]
|