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

📤nexus_scheduler::execution_submission

Function commit_off_chain_tool_result_for_walk

Commits one verified offchain Tool result through the current runtime.

public fun commit_off_chain_tool_result_for_walk(authority: &nexus_kernel::runtime_authority::RuntimeAuthority, dag: &nexus_interface::dag::DAG, execution: &mut nexus_workflow::execution::DAGExecution, tool_registry: &nexus_tool::tool_registry::ToolRegistry, network_auth: &nexus_registry::network_auth::NetworkAuth, worksheet: nexus_primitives::proof_of_uid::ProofOfUID, stamp: nexus_interface::authorization::AgentVertexAuthorizationStamp, verdict: nexus_interface::verifier::VerificationVerdict, leader_cap: &nexus_primitives::owner_cap::CloneableOwnerCap<nexus_registry::leader_cap::OverNetwork>, leader_registry: &nexus_registry::leader::LeaderRegistry, walk_index: u64, expected_vertex: nexus_interface::graph::RuntimeVertex, ctx: &mut sui::tx_context::TxContext)

Function prepare_tool_result_submission_worksheet

Prepares the authenticated worksheet for one Tool result submission.

public fun prepare_tool_result_submission_worksheet(authority: &nexus_kernel::runtime_authority::RuntimeAuthority, dag: &nexus_interface::dag::DAG, agent_registry: &nexus_registry::agent_registry::AgentRegistry, tool_registry: &nexus_tool::tool_registry::ToolRegistry, network_auth: &nexus_registry::network_auth::NetworkAuth, leader_registry: &nexus_registry::leader::LeaderRegistry, execution: &mut nexus_workflow::execution::DAGExecution, leader_cap: &nexus_primitives::owner_cap::CloneableOwnerCap<nexus_registry::leader_cap::OverNetwork>, walk_index: u64, clock: &sui::clock::Clock, ctx: &mut sui::tx_context::TxContext): (nexus_primitives::proof_of_uid::ProofOfUID, nexus_interface::authorization::AgentVertexAuthorizationStamp)

Function release_vertex_authorization_for_onchain_walk

Releases the authorization grant bound to one onchain Tool walk.

public fun release_vertex_authorization_for_onchain_walk(authority: &nexus_kernel::runtime_authority::RuntimeAuthority, dag: &nexus_interface::dag::DAG, execution: &mut nexus_workflow::execution::DAGExecution, worksheet: &nexus_primitives::proof_of_uid::ProofOfUID, stamp: &nexus_interface::authorization::AgentVertexAuthorizationStamp, leader_cap: &nexus_primitives::owner_cap::CloneableOwnerCap<nexus_registry::leader_cap::OverNetwork>, walk_index: u64): nexus_primitives::authorization::ProvenValue<nexus_interface::authorization::AgentVertexAuthorization>

Function create_on_chain_tool_result_for_walk

Creates the result object and requirements for one onchain Tool walk.

Function consume_on_chain_tool_result_for_walk

Consumes and settles one finalized onchain Tool result through the current runtime.

Last updated