PoV Gate API & Conformance
When to call the Gate
Params payload
struct Params {
bytes32 batchId;
bytes32 deviceId;
uint64 startTs;
uint64 endTs;
uint128 quantityWh;
bytes32 evidenceHash;
bytes32 meterUID; // EAS UID of MeterReadingBatch.v1
bytes32[] verificationUIDs;// EAS UIDs of Verification.v1 (must include AUDITOR)
}Gate API surface
Revert codes
Call pattern (by use case)
Mint-Gate (gas-only mints on Base):
Settle-Gate (EDM settlement on Base, anchored to L1):
Access-Gate:
Conformance rules
Minimal wrapper examples
TypeScript helper (claimId)
Testing checklist
Last updated
