Add UAE (VARA) as 5th jurisdiction#7
Merged
Merged
Conversation
VARA's January 2026 anti-anonymity ruling carves out assets with "mitigating technologies" for traceability. ERC-8262 is such a mitigating technology, so adding UAE lets the Oracle route UAE-originating attestations through the same pipeline as the four pre-existing jurisdictions. Policy: - High-risk threshold = 7100 bps (71%, same as EU/UK) - requireSignedSignals = true (strict, same as US/SG) - minMultiProviderThreshold = 2 (strict, same as US/SG) Changes: - circuits/shared/src/constants.nr: JURISDICTION_UAE = 4 - circuits/shared/src/risk.nr: get_high_threshold + cross- validation test now cover UAE - src/libraries/JurisdictionConfig.sol: UAE constant + getThresholds, validateJurisdiction, requireSignedSignals, minMultiProviderThreshold all updated - test/ThresholdCrossValidation.t.sol: NOIR_UAE_THRESHOLD constant + test_uae_threshold_matches_noir; exhaustive loop now iterates 0..5 - test/LibraryFuzz.t.sol: fuzz bounds widened to include UAE - test/ERC8262Oracle.t.sol, test/Invariant.t.sol: comments updated to reflect the strict-mode set now being US/SG/UAE All ThresholdCrossValidation and LibraryFuzz tests pass.
eb7c662 to
f07cc45
Compare
This was referenced Jun 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds UAE (VARA) as a 5th jurisdiction across the Noir circuits and Solidity library so the reference implementation matches the policy described in the whitepaper's VARA strategy (whitepaper Section 8.4).
Why
VARA's January 2026 anti-anonymity ruling carves out assets with "mitigating technologies" for traceability. ERC-8262 is that technology, and UAE is named in the whitepaper as the first regulatory target. Without UAE in the Solidity `JurisdictionConfig` and the matching Noir circuit constant, UAE-originating attestations could not route through the on-chain validation pipeline.
Policy
Changes
Companion PRs
Test plan