Technical Architecture
Session-based verification with zero-knowledge proofs and Uniswap V4 Hooks. Production-tested, 99% code coverage.
Core Components
Registry
UUPS Proxy
Upgradeable
System configuration center
Manage trusted Issuers
Router whitelist
Global parameters
Emergency pause
Base Sepolia: 0x461e...5Faf
SessionManager
UUPS Proxy
Upgradeable
User verification state caching
24-hour session TTL
Batch query (~5k gas)
Manual termination
RBAC (VERIFIER)
Base Sepolia: 0xaa66...06e9
ComplianceHook
Immutable
Immutable
Uniswap v4 access control layer
Intercepts Pool Actions
EIP-712 verification
Replay protection
Session validation (~8k gas)
Base Sepolia: 0x0000...002c
PlonkVerifier
Immutable
Immutable
On-chain ZK verification
PLONK (~350k gas)
Universal Setup
Public input validation
WASM generation
Base Sepolia: 0x3Aa3...e3cC
Integration Example
Solidity (Uniswap V4 Hook)
import {IHooks} from "v4-core/interfaces/IHooks.sol";
contract MyPool {
address constant COMPLIANCE_HOOK =
0x00000000DA15E8FCA4dFf7aF93aBa7030000002c;
function initialize() external {
PoolKey memory key = PoolKey({
currency0: USDC,
currency1: USDY,
fee: 3000,
tickSpacing: 60,
hooks: IHooks(COMPLIANCE_HOOK)
});
poolManager.initialize(key, SQRT_RATIO_1_1, "");
}
}Frontend SDK Integration
import { ILALClient } from '@ilal/sdk';
const client = ILALClient.fromProvider({
provider: window.ethereum,
chainId: 84532,
});
// 1. Activate session & generate ZK Proof
await client.session.activate();
// 2. Execute hook-protected swap
await client.swap.execute({
tokenIn: BASE_SEPOLIA_TOKENS.USDC,
tokenOut: BASE_SEPOLIA_TOKENS.WETH,
amountIn: parseUnits('100', 6),
});Performance Benchmarks
| Operation | Gas Used | USD (Base) | Status |
|---|---|---|---|
| Swap — API Mode (EOA) | 153,000 | ~$0.0009 | ✓ |
| Swap — SDK EIP-712 | 171,000 | ~$0.001 | ✓ |
| Add Liquidity | 318,000 | ~$0.002 | ✓ |
| ZK Session Activation | 684,000 | ~$0.004 (once/24h) | ✓ |
Security & Audit Status
Comprehensive Testing
Total Tests
216
Pass Rate
100%
Code Coverage
99%
Attack Vectors Tested
52+
Ready to Integrate?
Protect your protocols from sanctioned entity interference using the robust ILAL SDK.
Integration Guide