Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

✅verifier

Struct VerifierMethodId

Concrete non-generic external verifier target bound to one Tool.

Fields

tool_id: sui::object::IDpackage_id: sui::object::IDmodule_name: std::ascii::Stringfunction_name: std::ascii::String

Struct LeaderStampData

Exact data stored under the LeaderRegistry worksheet stamp.

Fields

leader_cap_id: sui::object::IDtarget: nexus_interface::verifier::LeaderTarget

Struct RegisteredKeyStampData

Hash bindings stored under the singleton RegisteredKey witness.

Fields

input_hash: vector<u8>output_hash: vector<u8>nonce: vector<u8>

Struct ExternalVerifierStampData

Output binding stored under an External verifier witness.

Fields

output_hash: vector<u8>

Struct RegisteredKeyAuxiliary

Strict BCS auxiliary for the built-in two-signature scheme.

Fields

input_hash: vector<u8>nonce: vector<u8>leader_signature: vector<u8>tool_signature: vector<u8>

Struct ToolInvocationNoncePreimage

Canonical BCS identity for one logical off-chain Tool invocation.

Fields

execution_id: sui::object::IDwalk_index: u64vertex_name: vector<u8>iteration: u64

Struct CanonicalToolInput

One canonical port-name/data pair in the RegisteredKey input transcript.

Fields

port_name: vector<u8>data: nexus_primitives::data::NexusData

Struct VerificationVerdict

Same-PTB hot potato produced by a verifier and consumed by offchain submission.

Fields

output: nexus_primitives::tagged_output::TaggedOutputverifier_witness_id: std::option::Option<sui::object::ID>decision: nexus_interface::verifier::VerifierDecision

Enum ToolVerifierMode

Verification selected by one offchain DAG vertex.

Variants

Variant NoneVariant RegisteredKeyVariant External

Enum FailureEvidenceKind

Identifies terminal failure evidence produced by a Tool execution or verifier.

Variants

Variant ToolEvidenceVariant LeaderEvidence

Enum ToolVerifierSupport

The one verified mode globally supported by an off-chain Tool.

Variants

Variant RegisteredKeyVariant Externalmethod_id: nexus_interface::verifier::VerifierMethodId

Enum LeaderTarget

The execution target authenticated by the leader stamp.

Variants

Variant Onchaintool_witness_id: sui::object::IDVariant Offchaintool_id: sui::object::IDverifier_witness_id: std::option::Option<sui::object::ID>

Enum VerifierDecision

The only decision a Tool verifier may make.

Variants

Variant AcceptVariant Rejectreason: std::option::Option<vector<u8>>

Constants

Function verifier_mode_none

Function verifier_mode_registered_key

Function verifier_mode_external

Function failure_evidence_kind_tool_evidence

Function failure_evidence_kind_leader_evidence

Function committed_result_evidence_is_leader_failure

Function committed_result_evidence_is_tool_failure

Function new_method_id

Function method_tool_id

Function support_registered_key

Function support_external

Function support_matches_mode

Function support_method

Function leader_target_onchain

Function leader_target_offchain

Function leader_stamp_data

Function leader_stamp_leader_cap_id

Function leader_stamp_target

Function leader_target_is_offchain

Function leader_target_tool_id

Function leader_target_verifier_witness_id

Function registered_key_stamp_data

Function registered_key_stamp_input_hash

Function registered_key_stamp_output_hash

Function registered_key_stamp_nonce

Function external_stamp_data

Function external_stamp_output_hash

Function registered_key_auxiliary

Function auxiliary_input_hash

Function auxiliary_nonce

Function auxiliary_leader_signature

Function auxiliary_tool_signature

Function tool_invocation_nonce

Derives the nonce for one logical off-chain Tool invocation.

Function registered_key_tool_signature_message

Builds the exact nonce-bound message signed by a RegisteredKey Tool.

Function output_sha256

Hashes the canonical response body under the existing direct protocol domain.

Function new_none

Builds an accepted verdict for a vertex configured as None.

Function new_accept

Builds an External accept verdict and stamps the exact output hash.

Function new_reject

Builds an External reject verdict and normalizes its optional reason.

Function new_registered_key_verdict

Builds and stamps the verdict produced by the built-in RegisteredKey verifier.

Function verdict_witness_id

Function verdict_decision

Function verdict_output_hash

Function consume_verdict

Function decision_is_accept

Function decision_reason

Last updated