Trust inputs
Pin the contracts package version, source tag and commit, contract spec digest, binding digest, WASM SHA-256, network passphrase, contract ID, RPC origin, deployment transaction, code hash, storage/interface major, and verification time from a compatible product release manifest. Do not accept a contract ID, RPC server, network, or key from an unverified report alone. An application can select only reviewed deployment IDs. Test-only deployments remain visibly test-only.Lookup sequence
- validate release and deployment manifests and all artifact digests;
- connect to the exact configured network and verify network passphrase;
- query the contract instance and compare its live executable code hash with the released WASM hash;
- compare interface and storage versions with generated bindings;
- read the requested commitment and related status records at a chosen ledger;
- verify attestor validity, report and suite-lock digests, supersession, revocation, pause, and expiry or TTL semantics;
- return a typed verified, absent, unverified, or infrastructure result.
Planned usage
The stored planned contract example supplies a trusted manifest and report digest, performs an integrity check, and handles a code-hash mismatch without returning decoded state as verified.Typed result
absent means the verified contract has no record at the queried state; it does not prove no commitment exists on another network or deployment. infrastructure is never converted to absent.