Buyer opens and funds a fixed compute job escrow
The CC3 job fixes the provider, reward, required energy, and settlement deadline. It must exist before the allocation commitment can be created.
Mechanism
WattLock turns a certificate reservation into a narrow cross-chain authorization. The source creates the lock. Attestcoin proves it. CC3 pays only after every bound field matches.
The exact mechanism
Each step exists to close one failure mode. No administrator selects a winner. No UI assertion releases the escrow.
A job moves through five checks
The CC3 job fixes the provider, reward, required energy, and settlement deadline. It must exist before the allocation commitment can be created.
DemoCertificateIssuer emits one CertificateReserved event. It binds a certificate ID, job ID, allocation hash, owner, energy amount, expiry, and source chain.
settleWithProof pins the source to Sepolia Attestcoin key 1, then invokes native proof verification.
The contract validates the issuer, event shape, transaction success, certificate owner, energy, expiry, allocation hash, and job status. One mismatch reverts.
The provider receives the fixed test-CTC escrow atomically. A reused source certificate fails with CertificateAlreadyReserved().
What the hash binds
It is not a reusable allocation credential.
What is intentionally absent
Version one proves the one-certificate, one-job gate first.