{
"storage_id": "0xa2",
"original_id": "0xa2",
"version": 1,
"modules": {
"agent": {
"name": "agent",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"module": "agent",
"name": "Agent",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentCreatedEvent"
},
"module": "agent",
"name": "AgentCreatedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "agent_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vault_id",
"position": 1,
"ty": "Address"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"module": "agent",
"name": "AgentExecutionConfig",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "selection",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"type_arguments": []
}
}
},
{
"name": "network",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
},
{
"name": "inputs",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
},
{
"name": "invoker",
"position": 4,
"ty": "Address"
},
{
"name": "authorization_bindings",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentInnerV1"
},
"module": "agent",
"name": "AgentInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "next_skill_id",
"position": 0,
"ty": "U64"
},
{
"name": "registry_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVault"
},
"module": "agent",
"name": "AgentPaymentVault",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVaultInnerV1"
},
"module": "agent",
"name": "AgentPaymentVaultInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "agent_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "available_balance",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentVaultFieldKey"
},
"module": "agent",
"name": "AgentVaultFieldKey",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dummy_field",
"position": 0,
"ty": "Bool"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"module": "agent",
"name": "ExecutionSelection",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "AgentSkill",
"position": 0,
"fields": [
{
"name": "agent_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 1,
"ty": "U64"
},
{
"name": "selected_dag",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
]
},
{
"name": "DefaultAgent",
"position": 1,
"fields": [
{
"name": "dag_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"module": "agent",
"name": "ExecutionSpec",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 2,
"ty": "U64"
},
{
"name": "interface_version",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "network",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
},
{
"name": "inputs",
"position": 6,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
},
{
"name": "invoker",
"position": 7,
"ty": "Address"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"module": "agent",
"name": "FixedTool",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "tool_registry_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "tool_fqn",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillDagBinding"
},
"module": "agent",
"name": "SkillDagBinding",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Pinned",
"position": 0,
"fields": [
{
"name": "dag_id",
"position": 0,
"ty": "Address"
}
]
},
{
"name": "RuntimeSelected",
"position": 1,
"fields": []
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillRequirement"
},
"module": "agent",
"name": "SkillRequirement",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "input_commitment",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "payment_policy",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "schedule_policy",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
},
{
"name": "fixed_tools",
"position": 3,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"type_arguments": []
}
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"module": "agent",
"name": "SkillSchedulePolicy",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Once",
"position": 0,
"fields": []
},
{
"name": "Recurring",
"position": 1,
"fields": [
{
"name": "min_interval_ms",
"position": 0,
"ty": "U64"
},
{
"name": "max_occurrences",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
}
]
}
]
}
}
}
],
"functions": [
{
"name": "agent_execution_config_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_execution_config_dag_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_execution_config_is_default",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "agent_execution_config_selected_dag",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "agent_execution_config_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "agent_next_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "agent_payment_vault_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_payment_vault_available_balance",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "agent_payment_vault_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "allocate_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "assert_agent_registry_authorized",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "registry_authority",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "assert_canonical_fixed_tools",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "fixed_tools",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"type_arguments": []
}
}
}
}
}
}
],
"return_types": []
},
{
"name": "assert_valid_payment_policy",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "assert_valid_schedule_policy",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "bind_agent_registry",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "registry_id",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "borrow_agent_payment_vault",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVault"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "borrow_agent_payment_vault_mut",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVault"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "cancel_task_reserve_to_vault",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "create_agent_identity",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
]
},
{
"name": "dag_binding_is_runtime_selected",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "binding",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillDagBinding"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "dag_binding_pinned",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "dag_id",
"ty": "Address"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillDagBinding"
},
"type_arguments": []
}
}
]
},
{
"name": "dag_binding_pinned_dag_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "binding",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillDagBinding"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"Address"
]
}
}
]
},
{
"name": "dag_binding_runtime_selected",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillDagBinding"
},
"type_arguments": []
}
}
]
},
{
"name": "deposit_agent_payment_vault",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "coin",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": []
},
{
"name": "destroy_agent_execution_config",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
},
"Address",
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "execution_selection_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "selection",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_selection_agent_skill",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "selected_dag",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_selection_default_agent",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "dag_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_selection_default_agent_dag_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "selection",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_selection_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "selection",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSelection"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "execution_spec",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "dag_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "network",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
},
{
"name": "inputs",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
},
{
"name": "invoker",
"ty": "Address"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_spec_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_spec_dag_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_spec_entry_group",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_spec_inputs",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
]
},
{
"name": "execution_spec_interface_version",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_spec_invoker",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "execution_spec_network",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "execution_spec_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "ExecutionSpec"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "fixed_tool",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool_registry_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "tool_fqn",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"type_arguments": []
}
}
]
},
{
"name": "fixed_tool_fqn",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "fixed_tool_registry_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "load_agent_v1",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "load_agent_v1_mut",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "load_vault_v1",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vault",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVault"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVaultInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "load_vault_v1_mut",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vault",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVault"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentPaymentVaultInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "new_agent_execution_config",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "network",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
},
{
"name": "inputs",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "selected_dag",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "authorization_bindings",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
]
},
{
"name": "new_agent_vertex_authorization_grants",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "dag_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "authorization_bindings",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "authorization",
"name": "Grant"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
]
}
}
}
]
},
{
"name": "new_default_agent_execution_config",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "dag",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "network",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
},
{
"name": "inputs",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "AgentExecutionConfig"
},
"type_arguments": []
}
}
]
},
{
"name": "new_task_components_address_funded_with_grants",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "interface_revision",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "prepayment",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "refund_recipient",
"ty": "Address"
},
{
"name": "occurrence_budget_mist",
"ty": "U64"
},
{
"name": "dag_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "authorization_bindings",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
]
},
{
"name": "new_task_components_from_agent_vault_with_grants",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "interface_revision",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "prepay_amount_mist",
"ty": "U64"
},
{
"name": "occurrence_budget_mist",
"ty": "U64"
},
{
"name": "dag_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "authorization_bindings",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
]
},
{
"name": "new_task_vertex_authorization_grants",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "dag_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "authorization_bindings",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "authorization",
"name": "Grant"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
]
}
}
}
]
},
{
"name": "refill_execution_payment_from_agent_vault_balance",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "amount",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "refill_task_reserve_from_vault",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "amount",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "requirements_fixed_tools",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "requirements",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillRequirement"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"type_arguments": []
}
}
}
]
},
{
"name": "requirements_input_commitment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "requirements",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillRequirement"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "requirements_payment_policy",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "requirements",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillRequirement"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
]
},
{
"name": "requirements_schedule_policy",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "requirements",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillRequirement"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
]
},
{
"name": "schedule_once",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
]
},
{
"name": "schedule_policy_allows_recurrence",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "schedule_policy_max_occurrences",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
]
},
{
"name": "schedule_policy_min_interval_ms",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "schedule_recurring",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "min_interval_ms",
"ty": "U64"
},
{
"name": "max_occurrences",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
]
},
{
"name": "skill_requirements",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "input_commitment",
"ty": {
"Vector": "U8"
}
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "schedule_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillSchedulePolicy"
},
"type_arguments": []
}
}
},
{
"name": "fixed_tools",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "FixedTool"
},
"type_arguments": []
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "SkillRequirement"
},
"type_arguments": []
}
}
]
},
{
"name": "withdraw_agent_payment_vault",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "agent",
"name": "Agent"
},
"type_arguments": []
}
}
}
}
},
{
"name": "amount",
"ty": "U64"
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
]
}
]
},
"authorization": {
"name": "authorization",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"module": "authorization",
"name": "AgentSkillAuthorization",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorizationInnerV1"
},
"module": "authorization",
"name": "AgentSkillAuthorizationInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "agent_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 1,
"ty": "U64"
},
{
"name": "interface_version",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "vertex_authorization_grants",
"position": 3,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "authorization",
"name": "Grant"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
]
}
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"module": "authorization",
"name": "AgentVertexAuthorization",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "skill_id",
"position": 0,
"ty": "U64"
},
{
"name": "interface_version",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "dag_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationContext"
},
"module": "authorization",
"name": "AgentVertexAuthorizationContext",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "agent_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 1,
"ty": "U64"
},
{
"name": "interface_version",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "execution_id",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationStamp"
},
"module": "authorization",
"name": "AgentVertexAuthorizationStamp",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "context",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationContext"
},
"type_arguments": []
}
}
},
{
"name": "input_commitment",
"position": 1,
"ty": {
"Vector": "U8"
}
}
]
}
}
}
],
"functions": [
{
"name": "agent_skill_authorization_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_skill_authorization_grant_count",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "agent_skill_authorization_interface_version",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_skill_authorization_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "agent_vertex_authorization_context",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "execution_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationContext"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_vertex_authorization_dag_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_vertex_authorization_interface_version",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_vertex_authorization_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "agent_vertex_authorization_stamp",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "context",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationContext"
},
"type_arguments": []
}
}
},
{
"name": "input_commitment",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationStamp"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_vertex_authorization_stamp_input_commitment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "stamp",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationStamp"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "agent_vertex_authorization_task_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "agent_vertex_authorization_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "authorization_matches_worksheet",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "authorization",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
}
}
},
{
"name": "by",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "stamp",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationStamp"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "consume_verified_for_worksheet_as_recipient",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "authorization",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "authorization",
"name": "ProvenValue"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "recipient",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "input_commitment",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "copy_agent_skill_authorization_vertex_grant",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
},
{
"name": "index",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "authorization",
"name": "Grant"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "destroy_agent_skill_authorization",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "encode_agent_vertex_authorization_context",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "execution_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "load_v1",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorizationInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "new_agent_skill_authorization",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_uid",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "vertex_authorization_grants",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "authorization",
"name": "Grant"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
]
}
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
]
},
{
"name": "new_agent_vertex_authorization",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "dag_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorization"
},
"type_arguments": []
}
}
]
},
{
"name": "worksheet_input_commitment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "stamp",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationStamp"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
}
]
},
"dag": {
"name": "dag",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"module": "dag",
"name": "DAG",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGCreatedEvent"
},
"module": "dag",
"name": "DAGCreatedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGDefaultValueAddedEvent"
},
"module": "dag",
"name": "DAGDefaultValueAddedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
},
{
"name": "value",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGEdgeAddedEvent"
},
"module": "dag",
"name": "DAGEdgeAddedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "from_vertex",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "edge",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGEntryVertexInputPortAddedEvent"
},
"module": "dag",
"name": "DAGEntryVertexInputPortAddedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "entry_port",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGFinalizedEvent"
},
"module": "dag",
"name": "DAGFinalizedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGInnerV1"
},
"module": "dag",
"name": "DAGInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "finalized",
"position": 0,
"ty": "Bool"
},
{
"name": "vertices",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "linked_table",
"name": "LinkedTable"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "entry_groups",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
}
}
]
}
}
]
}
}
},
{
"name": "edges",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"name": "outputs",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"name": "defaults_to_input_ports",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "table",
"name": "Table"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "post_failure_action",
"position": 6,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGOutputAddedEvent"
},
"module": "dag",
"name": "DAGOutputAddedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "output",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGVertexAddedEvent"
},
"module": "dag",
"name": "DAGVertexAddedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dag",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "kind",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"module": "dag",
"name": "OverDAG",
"abilities": [
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dummy_field",
"position": 0,
"ty": "Bool"
}
]
}
}
}
],
"functions": [
{
"name": "add_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "owner",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
}
}
},
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
},
{
"name": "tool_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "schema",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "assert_dag_owner",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "owner",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": []
},
{
"name": "assert_finalized",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "assert_input_port_declared",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "dag_runtime_vertex_tool_fqn",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "dag_vertex_is_bound",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "dag_vertex_meta_schema",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "dag_vertex_post_failure_action",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "evidence_kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
},
{
"name": "dag_vertex_tool_fqn",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "dag_vertex_tool_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "dag_vertex_verifier_mode",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
]
},
{
"name": "default_value_for_input",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_input",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "edge_shape_is_valid",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "from_is_many",
"ty": "Bool"
},
{
"name": "to_is_many",
"ty": "Bool"
},
{
"name": "kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "edges_from",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
]
},
{
"name": "effective_input_payload_sha256",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "expected_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
},
{
"name": "evaluations",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "effective_runtime_vertex_input",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "expected_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
},
{
"name": "evaluations",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "entry_group_vertex_count",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "entry_group",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "entry_group_vertex_port_count",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "entry_group",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "err_eval_record_outcome_for_variant",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "evaluated_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
},
{
"name": "failure_evidence_kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"type_arguments": []
}
}
},
{
"name": "variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
},
{
"name": "finalize",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "owner",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": []
},
{
"name": "has_edges_from",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "has_entry_group",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "entry_group",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "has_outgoing_edges_for_variant",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "has_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "input_port_schema",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
]
},
{
"name": "insert_edge",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "state",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGInnerV1"
},
"type_arguments": []
}
}
}
}
},
{
"name": "from_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "edge",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "is_entry_group_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "entry_group",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "is_entry_group_vertex_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "entry_group",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
}
},
{
"name": "port",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "is_entry_input_port",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "state",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGInnerV1"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "is_finalized",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "is_vertex_offchain_tool",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "is_vertex_onchain_tool",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "load",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "load_mut",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "new_with_owner_cap",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "output_port_schema",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
]
},
{
"name": "prepare_edge_target",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "state",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAGInnerV1"
},
"type_arguments": []
}
}
}
}
},
{
"name": "to_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "to_port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "rebuild",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "owner",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "resolve_err_eval_failure_policy",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "evaluated_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
},
{
"name": "failure_evidence_kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
},
{
"name": "set_vertex_verifier_mode",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "owner",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "owner_cap",
"name": "CloneableOwnerCap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "OverDAG"
},
"type_arguments": []
}
}
]
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "mode",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "sorted_input_ports_for_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
]
},
{
"name": "vertex_count",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "vertex_input_ports_len",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "vertex_names",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
]
},
{
"name": "vertex_tool_fqns",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
},
{
"name": "with_default_value",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
},
{
"name": "value",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_edge",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "from_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "from_variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
},
{
"name": "from_port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
},
{
"name": "to_vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "to_port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
},
{
"name": "kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_entry",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_entry_in_group",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_entry_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "entry_port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_entry_port_in_group",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "entry_port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
},
{
"name": "entry_group",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_output",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_post_failure_action",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "action",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
},
{
"name": "with_vertex_post_failure_action",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
},
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "action",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "dag",
"name": "DAG"
},
"type_arguments": []
}
}
]
}
]
},
"distributed_event": {
"name": "distributed_event",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "distributed_event",
"name": "DistributedEventWrapper"
},
"module": "distributed_event",
"name": "DistributedEventWrapper",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"kind": {
"Struct": {
"fields": [
{
"name": "event",
"position": 0,
"ty": {
"TypeParameter": 0
}
},
{
"name": "deadline_ms",
"position": 1,
"ty": "U64"
},
{
"name": "requested_at_ms",
"position": 2,
"ty": "U64"
},
{
"name": "task_id",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "leaders",
"position": 4,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
}
]
}
}
}
],
"functions": [
{
"name": "deadline_ms",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "wrapper",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "distributed_event",
"name": "DistributedEventWrapper"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "emit",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "event",
"ty": {
"TypeParameter": 0
}
},
{
"name": "deadline_ms",
"ty": "U64"
},
{
"name": "requested_at_ms",
"ty": "U64"
},
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "leaders",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
}
],
"return_types": []
},
{
"name": "inner",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "wrapper",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "distributed_event",
"name": "DistributedEventWrapper"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"TypeParameter": 0
}
}
}
]
},
{
"name": "leaders",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "wrapper",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "distributed_event",
"name": "DistributedEventWrapper"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
}
}
]
},
{
"name": "requested_at_ms",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "wrapper",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "distributed_event",
"name": "DistributedEventWrapper"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "task_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [
{
"constraints": [
"Copy",
"Drop"
],
"is_phantom": false
}
],
"parameters": [
{
"name": "wrapper",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "distributed_event",
"name": "DistributedEventWrapper"
},
"type_arguments": [
{
"TypeParameter": 0
}
]
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
]
},
"era": {
"name": "era",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "era",
"name": "V1"
},
"module": "era",
"name": "V1",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dummy_field",
"position": 0,
"ty": "Bool"
}
]
}
}
}
],
"functions": [
{
"name": "v1",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "era",
"name": "V1"
},
"type_arguments": []
}
}
]
}
]
},
"graph": {
"name": "graph",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"module": "graph",
"name": "Edge",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "from",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
},
{
"name": "to",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
},
{
"name": "kind",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"module": "graph",
"name": "EdgeKind",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Normal",
"position": 0,
"fields": []
},
{
"name": "ForEach",
"position": 1,
"fields": []
},
{
"name": "Collect",
"position": 2,
"fields": []
},
{
"name": "DoWhile",
"position": 3,
"fields": []
},
{
"name": "Break",
"position": 4,
"fields": []
},
{
"name": "Static",
"position": 5,
"fields": []
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"module": "graph",
"name": "EntryGroup",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "name",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"module": "graph",
"name": "InputPort",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "name",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"module": "graph",
"name": "OutputPort",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "name",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"module": "graph",
"name": "OutputVariant",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "name",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"module": "graph",
"name": "OutputVariantPort",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "variant",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
},
{
"name": "port",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"module": "graph",
"name": "PortData",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Single",
"position": 0,
"fields": [
{
"name": "data",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
},
{
"name": "is_static",
"position": 1,
"ty": "Bool"
}
]
},
{
"name": "Many",
"position": 1,
"fields": [
{
"name": "data",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
"U64",
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "total_iterations",
"position": 1,
"ty": "U64"
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"module": "graph",
"name": "PostFailureAction",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Terminate",
"position": 0,
"fields": []
},
{
"name": "TransientContinue",
"position": 1,
"fields": []
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"module": "graph",
"name": "RuntimeVertex",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "WithIterator",
"position": 0,
"fields": [
{
"name": "vertex",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "iteration",
"position": 1,
"ty": "U64"
},
{
"name": "out_of",
"position": 2,
"ty": "U64"
}
]
},
{
"name": "Plain",
"position": 1,
"fields": [
{
"name": "vertex",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"module": "graph",
"name": "Vertex",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "name",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexEvaluations"
},
"module": "graph",
"name": "VertexEvaluations",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexEvaluationsInnerV1"
},
"module": "graph",
"name": "VertexEvaluationsInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "ports_to_data",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"module": "graph",
"name": "VertexInfo",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "kind",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
},
{
"name": "input_ports",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "post_failure_action",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "tool_id",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "meta_schema",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "verifier_mode",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"module": "graph",
"name": "VertexInputPort",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "vertex",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"module": "graph",
"name": "VertexKind",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "OnChain",
"position": 0,
"fields": [
{
"name": "tool_fqn",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
},
{
"name": "OffChain",
"position": 1,
"fields": [
{
"name": "tool_fqn",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
]
}
}
}
],
"functions": [
{
"name": "ascii_name_bytes_lt",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "left",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "right",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "default_entry_group",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
]
},
{
"name": "edge",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "from",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
},
{
"name": "to",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
},
{
"name": "kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_from",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "edge",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_from_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "edge",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_from_variant",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "edge",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_kind",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "edge",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_kind_break",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_kind_collect",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_kind_do_while",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_kind_for_each",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_kind_normal",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_kind_static",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EdgeKind"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_to",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "edge",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_to_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "edge",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "edge_to_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "edge",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Edge"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
]
},
{
"name": "entry_group_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
]
},
{
"name": "entry_group_into_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "group",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "EntryGroup"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "input_port_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "input_port_into_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "input_port_name_bytes_lt",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "left",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
}
},
{
"name": "right",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "inputs_to_begin_execution",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertices",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
},
{
"name": "ports",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
},
{
"name": "data",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
]
},
{
"name": "new_vertex_evaluations",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexEvaluations"
},
"type_arguments": []
}
}
]
},
{
"name": "output_port_from_raw",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "output_port_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "output_port_into_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "output_port_name_bytes_lt",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "left",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
}
},
{
"name": "right",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "output_variant_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
]
},
{
"name": "output_variant_into_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "output_variant_is_err_eval",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "variant",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "output_variant_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
]
},
{
"name": "output_variant_port_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "output_variant_port_variant",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariantPort"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
]
},
{
"name": "port_data_is_single",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "port_data_many",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "data",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
"U64",
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "total_iterations",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
},
{
"name": "port_data_many_contains",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
},
{
"name": "iteration",
"ty": "U64"
}
],
"return_types": [
"Bool"
]
},
{
"name": "port_data_many_insert",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
},
{
"name": "iteration",
"ty": "U64"
},
{
"name": "data",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "port_data_many_keys",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U64"
}
]
}
}
]
},
{
"name": "port_data_many_len",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
]
},
{
"name": "port_data_many_remove",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
},
{
"name": "iteration",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "port_data_many_total_iterations",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
]
},
{
"name": "port_data_many_value",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
},
{
"name": "iteration",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "port_data_runtime_vertex_input",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
},
{
"name": "expected_vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "port_data_single",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "data",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
},
{
"name": "port_data_single_is_static",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "port_data_single_matches",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
}
}
},
{
"name": "data",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
},
{
"name": "is_static",
"ty": "Bool"
}
],
"return_types": [
"Bool"
]
},
{
"name": "port_data_single_static",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "data",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
},
{
"name": "post_failure_action_terminate",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
},
{
"name": "post_failure_action_transient_continue",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
},
{
"name": "runtime_vertex_is_plain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "runtime_vertex_is_with_iterator",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "runtime_vertex_iteration",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "runtime_vertex_iteration_or_zero",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "runtime_vertex_out_of",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "runtime_vertex_plain_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
]
},
{
"name": "runtime_vertex_plain_from_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
]
},
{
"name": "runtime_vertex_with_iterator_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "iteration",
"ty": "U64"
},
{
"name": "out_of",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
]
},
{
"name": "runtime_vertex_with_iterator_from_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "iteration",
"ty": "U64"
},
{
"name": "out_of",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
]
},
{
"name": "sorted_input_ports",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "input_ports",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
]
},
{
"name": "sorted_output_ports",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "variant_ports_to_data",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": [
{
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
}
}
]
},
{
"name": "submitted_output_payload_sha256",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "variant",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
}
},
{
"name": "variant_ports_to_data",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "tagged_output_parts_to_dag_types",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "variant_bytes",
"ty": {
"Vector": "U8"
}
},
{
"name": "ports",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Vector": "U8"
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "tagged_output_to_dag_types",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tagged_output",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputVariant"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "OutputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "vertex_evaluations_ports_to_data",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexEvaluations"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
}
}
}
}
]
},
{
"name": "vertex_evaluations_ports_to_data_mut",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexEvaluations"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PortData"
},
"type_arguments": []
}
}
]
}
}
}
}
]
},
{
"name": "vertex_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_info_input_ports",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
}
}
}
}
]
},
{
"name": "vertex_info_input_ports_len",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "vertex_info_input_ports_mut",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_set",
"name": "VecSet"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
}
}
}
}
]
},
{
"name": "vertex_info_kind",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "vertex_info_meta_schema",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
]
}
}
}
}
]
},
{
"name": "vertex_info_new",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_info_post_failure_action",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
]
}
}
}
}
]
},
{
"name": "vertex_info_set_post_failure_action",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
},
{
"name": "action",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "PostFailureAction"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "vertex_info_set_tool",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
},
{
"name": "tool_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "meta_schema",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "vertex_info_set_verifier_mode",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
},
{
"name": "mode",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "vertex_info_tool_id",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_info_verifier_mode",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "info",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInfo"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_input_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_input_port_from_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "port",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_input_port_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "InputPort"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_input_port_vertex",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexInputPort"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_into_string",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_kind_is_off_chain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "kind",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "vertex_kind_is_on_chain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "kind",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "vertex_kind_tool_fqn",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "kind",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_name",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "vertex",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "RuntimeVertex"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "Vertex"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_off_chain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool_fqn",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
]
},
{
"name": "vertex_on_chain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool_fqn",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "graph",
"name": "VertexKind"
},
"type_arguments": []
}
}
]
}
]
},
"meta_schema": {
"name": "meta_schema",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"module": "meta_schema",
"name": "MetaSchema",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "input_ports",
"position": 0,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
},
{
"name": "output_variants",
"position": 1,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "OutputVariantSchema"
},
"type_arguments": []
}
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "OutputVariantSchema"
},
"module": "meta_schema",
"name": "OutputVariantSchema",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "variant_name",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "ports",
"position": 1,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortCommitment"
},
"module": "meta_schema",
"name": "PortCommitment",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "One",
"position": 0,
"fields": [
{
"name": "kind",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"type_arguments": []
}
}
},
{
"name": "commitment",
"position": 1,
"ty": {
"Vector": "U8"
}
}
]
},
{
"name": "Many",
"position": 1,
"fields": [
{
"name": "kind",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"type_arguments": []
}
}
},
{
"name": "commitments",
"position": 1,
"ty": {
"Vector": {
"Vector": "U8"
}
}
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortInputCommitment"
},
"module": "meta_schema",
"name": "PortInputCommitment",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "port_name",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "commitment",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortCommitment"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"module": "meta_schema",
"name": "PortSchema",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "port_name",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "is_many",
"position": 1,
"ty": "Bool"
},
{
"name": "value_kind",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"module": "meta_schema",
"name": "ValueKind",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Object",
"position": 0,
"fields": []
},
{
"name": "Data",
"position": 1,
"fields": []
}
]
}
}
}
],
"functions": [
{
"name": "assert_valid_for_tool",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "is_offchain",
"ty": "Bool"
}
],
"return_types": []
},
{
"name": "canonical_schema_mismatch_failure",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
]
},
{
"name": "conforms_complete_input",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "values",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "conforms_input_cardinality",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "schema",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "value",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "conforms_input_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "schema",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "value",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "conforms_raw_output",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "output",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "conforms_safe_failure",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "output",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "contains_bytes",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "values",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Vector": "U8"
}
}
}
}
},
{
"name": "value",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "failure_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "failure_variant",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "find_input_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "name",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "find_output_variant",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "name",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "OutputVariantSchema"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "find_variant_port",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "variant_name",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
},
{
"name": "port_name",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "input_hash",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port_names",
"ty": {
"Vector": {
"Vector": "U8"
}
}
},
{
"name": "commitments",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortCommitment"
},
"type_arguments": []
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "input_hash_for_stored",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "values",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "input_ports",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
}
]
},
{
"name": "is_valid_for_tool",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "is_offchain",
"ty": "Bool"
}
],
"return_types": [
"Bool"
]
},
{
"name": "is_valid_identifier",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "name",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "is_valid_port_schema",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "input_ports",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
},
{
"name": "output_variants",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "OutputVariantSchema"
},
"type_arguments": []
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "MetaSchema"
},
"type_arguments": []
}
}
]
},
{
"name": "output_variant_schema",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "variant_name",
"ty": {
"Vector": "U8"
}
},
{
"name": "ports",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "OutputVariantSchema"
},
"type_arguments": []
}
}
]
},
{
"name": "port_commitment_for_input",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "schema",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "value",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortCommitment"
},
"type_arguments": []
}
}
]
},
{
"name": "port_commitment_many",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "values",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusValue"
},
"type_arguments": []
}
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortCommitment"
},
"type_arguments": []
}
}
]
},
{
"name": "port_commitment_one",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "value",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusValue"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortCommitment"
},
"type_arguments": []
}
}
]
},
{
"name": "port_is_many",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "port_name",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
]
},
{
"name": "port_schema",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "port_name",
"ty": {
"Vector": "U8"
}
},
{
"name": "is_many",
"ty": "Bool"
},
{
"name": "value_kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
]
},
{
"name": "store_input",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "schema",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "values",
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusValue"
},
"type_arguments": []
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
},
{
"name": "value_kind",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "value",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusValue"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"type_arguments": []
}
}
]
},
{
"name": "value_kind_data",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"type_arguments": []
}
}
]
},
{
"name": "value_kind_object",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "ValueKind"
},
"type_arguments": []
}
}
]
},
{
"name": "value_kinds_compatible",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "from",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
},
{
"name": "to",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "meta_schema",
"name": "PortSchema"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
}
]
},
"onchain_tool_result": {
"name": "onchain_tool_result",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "InputCommitment"
},
"module": "onchain_tool_result",
"name": "InputCommitment",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "bytes",
"position": 0,
"ty": {
"Vector": "U8"
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "InputCommitmentKey"
},
"module": "onchain_tool_result",
"name": "InputCommitmentKey",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "dummy_field",
"position": 0,
"ty": "Bool"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"module": "onchain_tool_result",
"name": "OnchainToolResult",
"abilities": [
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResultInnerV1"
},
"module": "onchain_tool_result",
"name": "OnchainToolResultInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "execution_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "finalized",
"position": 1,
"ty": "Bool"
},
{
"name": "stamps",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
{
"Vector": "U8"
}
]
}
}
]
}
}
},
{
"name": "tag",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U8"
}
]
}
}
},
{
"name": "named_payload",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Vector": "U8"
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
}
]
}
}
},
{
"name": "finalize_tx_digest",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U8"
}
]
}
}
},
{
"name": "finalize_recipient",
"position": 6,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"Address"
]
}
}
}
]
}
}
}
],
"functions": [
{
"name": "consume",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "result",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"type_arguments": []
}
}
},
{
"name": "execution_uid",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
{
"Vector": "U8"
}
]
}
},
{
"Vector": "U8"
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Vector": "U8"
},
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
]
}
},
{
"Vector": "U8"
},
"Address"
]
},
{
"name": "execution_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "result",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "finalize_and_share",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "result",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"type_arguments": []
}
}
},
{
"name": "requirements",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "UIDRequirements"
},
"type_arguments": []
}
}
},
{
"name": "output",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "result",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "input_commitment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "result",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "is_finalized",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "result",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "new",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "execution_uid",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "stamp",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentVertexAuthorizationStamp"
},
"type_arguments": []
}
}
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "onchain_tool_result",
"name": "OnchainToolResult"
},
"type_arguments": []
}
}
]
}
]
},
"payment": {
"name": "payment",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentSkillPaymentCreatedEvent"
},
"module": "payment",
"name": "AgentSkillPaymentCreatedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "payment_id",
"position": 0,
"ty": "Address"
},
{
"name": "execution_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 3,
"ty": "U64"
},
{
"name": "interface_revision",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "payment_policy",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "source_kind",
"position": 6,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "max_budget_mist",
"position": 7,
"ty": "U64"
},
{
"name": "gas_budget_mist",
"position": 8,
"ty": "U64"
},
{
"name": "priority_fee_reserve_mist",
"position": 9,
"ty": "U64"
},
{
"name": "locked_budget_mist",
"position": 10,
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"position": 11,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentVaultPaymentAuthorization"
},
"module": "payment",
"name": "AgentVaultPaymentAuthorization",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "agent_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionAccomplishedEvent"
},
"module": "payment",
"name": "ExecutionAccomplishedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "execution_id",
"position": 0,
"ty": "Address"
},
{
"name": "payment_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 3,
"ty": "U64"
},
{
"name": "interface_revision",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"module": "payment",
"name": "ExecutionPayment",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFeesRecordedEvent"
},
"module": "payment",
"name": "ExecutionPaymentFeesRecordedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "payment_id",
"position": 0,
"ty": "Address"
},
{
"name": "execution_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 3,
"ty": "U64"
},
{
"name": "gas_fee_mist",
"position": 4,
"ty": "U64"
},
{
"name": "tool_fee_mist",
"position": 5,
"ty": "U64"
},
{
"name": "priority_fee_mist",
"position": 6,
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"position": 7,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"module": "payment",
"name": "ExecutionPaymentFinalState",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Pending",
"position": 0,
"fields": []
},
{
"name": "Accomplished",
"position": 1,
"fields": []
},
{
"name": "Refunded",
"position": 2,
"fields": []
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"module": "payment",
"name": "ExecutionPaymentInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "execution_id",
"position": 0,
"ty": "Address"
},
{
"name": "agent_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 2,
"ty": "U64"
},
{
"name": "interface_revision",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "payment_policy",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "source_kind",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "max_budget_mist",
"position": 6,
"ty": "U64"
},
{
"name": "gas_budget_mist",
"position": 7,
"ty": "U64"
},
{
"name": "priority_fee_reserve_mist",
"position": 8,
"ty": "U64"
},
{
"name": "locked_budget_mist",
"position": 9,
"ty": "U64"
},
{
"name": "funds",
"position": 10,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "consumed",
"position": 11,
"ty": "U64"
},
{
"name": "tool_fee_charged",
"position": 12,
"ty": "U64"
},
{
"name": "priority_fee_charged",
"position": 13,
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"position": 14,
"ty": "U64"
},
{
"name": "accomplished",
"position": 15,
"ty": "Bool"
},
{
"name": "refunded",
"position": 16,
"ty": "Bool"
},
{
"name": "final_state",
"position": 17,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"type_arguments": []
}
}
},
{
"name": "tool_cost_snapshot",
"position": 18,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "vec_map",
"name": "VecMap"
},
"type_arguments": [
{
"Vector": "U8"
},
"U64"
]
}
}
},
{
"name": "locked_vertices",
"position": 19,
"ty": {
"Vector": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentVertexLock"
},
"type_arguments": []
}
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentToolCostSnapshottedEvent"
},
"module": "payment",
"name": "ExecutionPaymentToolCostSnapshottedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "payment_id",
"position": 0,
"ty": "Address"
},
{
"name": "execution_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "tool_fqn",
"position": 3,
"ty": {
"Vector": "U8"
}
},
{
"name": "cost",
"position": 4,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentVertexLock"
},
"module": "payment",
"name": "ExecutionPaymentVertexLock",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "vertex_key",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "invocation_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "amount",
"position": 2,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionRefundedEvent"
},
"module": "payment",
"name": "ExecutionRefundedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "execution_id",
"position": 0,
"ty": "Address"
},
{
"name": "payment_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 3,
"ty": "U64"
},
{
"name": "interface_revision",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "refund_reason",
"position": 5,
"ty": {
"Vector": "U8"
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "GasPaymentConsumedEvent"
},
"module": "payment",
"name": "GasPaymentConsumedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "payment_id",
"position": 0,
"ty": "Address"
},
{
"name": "execution_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 3,
"ty": "U64"
},
{
"name": "interface_revision",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "amount",
"position": 5,
"ty": "U64"
},
{
"name": "consumed_total",
"position": 6,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationLockReceipt"
},
"module": "payment",
"name": "InvocationLockReceipt",
"abilities": [],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "vertex_key",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "invocation_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "amount",
"position": 2,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"module": "payment",
"name": "InvocationRequest",
"abilities": [],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "execution_id",
"position": 0,
"ty": "Address"
},
{
"name": "vertex_key",
"position": 1,
"ty": {
"Vector": "U8"
}
},
{
"name": "tool_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "tool_fqn",
"position": 3,
"ty": {
"Vector": "U8"
}
},
{
"name": "cashier_id",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "payment_id",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "source",
"position": 6,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "price_snapshot",
"position": 7,
"ty": "U64"
},
{
"name": "authorized_at_ms",
"position": 8,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationSettlementReceipt"
},
"module": "payment",
"name": "InvocationSettlementReceipt",
"abilities": [],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "invocation_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "was_refunded",
"position": 1,
"ty": "Bool"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"module": "payment",
"name": "PaymentSourceKind",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "UserFunded",
"position": 0,
"fields": [
{
"name": "user",
"position": 0,
"ty": "Address"
}
]
},
{
"name": "AgentFunded",
"position": 1,
"fields": [
{
"name": "agent_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"module": "payment",
"name": "SkillPaymentPolicy",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "UserFunded",
"position": 0,
"fields": []
},
{
"name": "AgentFunded",
"position": 1,
"fields": [
{
"name": "max_budget_mist",
"position": 0,
"ty": "U64"
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskExecutionPaymentCreatedEvent"
},
"module": "payment",
"name": "TaskExecutionPaymentCreatedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "task_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "reserve_id",
"position": 1,
"ty": "Address"
},
{
"name": "occurrence_id",
"position": 2,
"ty": "U64"
},
{
"name": "execution_id",
"position": 3,
"ty": "Address"
},
{
"name": "payment_id",
"position": 4,
"ty": "Address"
},
{
"name": "agent_id",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 6,
"ty": "U64"
},
{
"name": "interface_version",
"position": 7,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "source_kind",
"position": 8,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "budget",
"position": 9,
"ty": "U64"
},
{
"name": "remaining_funds",
"position": 10,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskExecutionPaymentFinalizedEvent"
},
"module": "payment",
"name": "TaskExecutionPaymentFinalizedEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "task_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "reserve_id",
"position": 1,
"ty": "Address"
},
{
"name": "occurrence_id",
"position": 2,
"ty": "U64"
},
{
"name": "execution_id",
"position": 3,
"ty": "Address"
},
{
"name": "payment_id",
"position": 4,
"ty": "Address"
},
{
"name": "agent_id",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 6,
"ty": "U64"
},
{
"name": "interface_version",
"position": 7,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "final_state",
"position": 8,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"type_arguments": []
}
}
},
{
"name": "remaining_funds",
"position": 9,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"module": "payment",
"name": "TaskPaymentReserve",
"abilities": [
"Store",
"Key"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserveCanceledEvent"
},
"module": "payment",
"name": "TaskPaymentReserveCanceledEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "task_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "reserve_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 3,
"ty": "U64"
},
{
"name": "interface_version",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "source_kind",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "refunded_amount",
"position": 6,
"ty": "U64"
},
{
"name": "remaining_funds",
"position": 7,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserveInnerV1"
},
"module": "payment",
"name": "TaskPaymentReserveInnerV1",
"abilities": [
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "task_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 2,
"ty": "U64"
},
{
"name": "interface_version",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "authorization_id",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "source",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "refund_recipient",
"position": 6,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"Address"
]
}
}
},
{
"name": "occurrence_budget_mist",
"position": 7,
"ty": "U64"
},
{
"name": "remaining_funds",
"position": 8,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "payment_policy",
"position": 9,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserveRefilledEvent"
},
"module": "payment",
"name": "TaskPaymentReserveRefilledEvent",
"abilities": [
"Copy",
"Drop"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "task_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "reserve_id",
"position": 1,
"ty": "Address"
},
{
"name": "agent_id",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"position": 3,
"ty": "U64"
},
{
"name": "interface_version",
"position": 4,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "source_kind",
"position": 5,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "refill_amount",
"position": 6,
"ty": "U64"
},
{
"name": "occurrence_budget_mist",
"position": 7,
"ty": "U64"
},
{
"name": "remaining_funds",
"position": 8,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "accomplish_agent_vault_payment",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "authorization",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentVaultPaymentAuthorization"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "accomplish_invoker_payment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "accomplish_task_execution_payment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "occurrence_id",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "agent_vault_payment_authorization",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentVaultPaymentAuthorization"
},
"type_arguments": []
}
}
]
},
{
"name": "assert_authorization_matches",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_skill_authorization",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "assert_payment_charges_within_budget",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "assert_payment_policy",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "source",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
}
}
},
{
"name": "max_budget_mist",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "assert_reserve_authorization_matches",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "agent_skill_authorization",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "assert_task_payment_matches_reserve",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "budget_split_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "max_budget_mist",
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"ty": "U64"
}
],
"return_types": [
"U64",
"U64"
]
},
{
"name": "can_lock_payment_vertex_with_amount",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "amount",
"ty": "U64"
}
],
"return_types": [
"Bool"
]
},
{
"name": "cancel_task_payment_reserve_address_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "cancel_task_payment_reserve_from_agent_vault",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "authorization",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentVaultPaymentAuthorization"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "checked_add_u64",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "left",
"ty": "U64"
},
{
"name": "right",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "checked_percent_floor",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "value",
"ty": "U64"
},
{
"name": "percent",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "checked_u128_to_u64",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "value",
"ty": "U128"
}
],
"return_types": [
"U64"
]
},
{
"name": "consume_agent_authorization",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "authorization",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentVaultPaymentAuthorization"
},
"type_arguments": []
}
}
},
{
"name": "source",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "consume_payment_for_verified_leader_submission",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "amount",
"ty": "U64"
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "consume_payment_for_verified_leader_submission_to_recipient",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "amount",
"ty": "U64"
},
{
"name": "recipient",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "consume_priority_fee_for_settlement",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "priority_delta",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "consume_task_payment_reserve_for_sender",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "amount",
"ty": "U64"
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "destroy_empty_task_payment_reserve",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "emit_execution_payment_fees_recorded",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment_id",
"ty": "Address"
},
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "emit_task_execution_payment_finalized",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "occurrence_id",
"ty": "U64"
},
{
"name": "execution_id",
"ty": "Address"
},
{
"name": "payment_id",
"ty": "Address"
},
{
"name": "final_state",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"type_arguments": []
}
}
}
],
"return_types": []
},
{
"name": "emit_task_payment_reserve_canceled",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "refunded_amount",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "emit_task_payment_reserve_refilled",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "refill_amount",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "find_execution_payment_vertex_lock",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
]
},
{
"name": "gas_budget_mist_for_max_budget_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "max_budget_mist",
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "has_payment_tool_cost_snapshot",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "tool_fqn",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "into_invocation_lock_receipt",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "receipt",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationLockReceipt"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Vector": "U8"
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
"U64"
]
},
{
"name": "into_invocation_request",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Address",
{
"Vector": "U8"
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
{
"Vector": "U8"
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
},
"U64",
"U64"
]
},
{
"name": "into_invocation_settlement_receipt",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "receipt",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationSettlementReceipt"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
},
"Bool"
]
},
{
"name": "invocation_locked",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "invocation_request_authorized_at_ms",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "invocation_request_cashier_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "invocation_request_execution_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "invocation_request_payment_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "invocation_request_price_snapshot",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "invocation_request_source",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
]
},
{
"name": "invocation_request_tool_fqn",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "invocation_request_tool_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "invocation_request_vertex_key",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "request",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "load_payment_v1",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "load_payment_v1_mut",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "load_reserve_v1",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserveInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "load_reserve_v1_mut",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserveInnerV1"
},
"type_arguments": []
}
}
}
}
]
},
{
"name": "lock_invocation",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Vector": "U8"
}
},
{
"name": "invocation_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "amount",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationLockReceipt"
},
"type_arguments": []
}
}
]
},
{
"name": "lock_invocation_internal",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Vector": "U8"
}
},
{
"name": "invocation_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "amount",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "locked_invocation_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "new_execution_payment_from_balance",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "interface_revision",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "execution_id",
"ty": "Address"
},
{
"name": "source_kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "max_budget_mist",
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"ty": "U64"
},
{
"name": "funds",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
]
},
{
"name": "new_execution_payment_from_coin",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "interface_revision",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "execution_id",
"ty": "Address"
},
{
"name": "source_kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "max_budget_mist",
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"ty": "U64"
},
{
"name": "coin",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
]
},
{
"name": "new_execution_payment_with_source",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "interface_revision",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "execution_id",
"ty": "Address"
},
{
"name": "source_kind",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "max_budget_mist",
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"ty": "U64"
},
{
"name": "funds",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
]
},
{
"name": "new_invocation_request",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Vector": "U8"
}
},
{
"name": "tool_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "tool_fqn",
"ty": {
"Vector": "U8"
}
},
{
"name": "cashier_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "clock",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "clock",
"name": "Clock"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationRequest"
},
"type_arguments": []
}
}
]
},
{
"name": "new_task_execution_payment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "authorization",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
},
{
"name": "execution_id",
"ty": "Address"
},
{
"name": "occurrence_id",
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"ty": "U64"
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
]
},
{
"name": "new_task_payment_reserve_from_balance",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "agent_skill_authorization",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payment_source",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "occurrence_budget_mist",
"ty": "U64"
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "funds",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
]
},
{
"name": "new_task_payment_reserve_from_balance_unchecked",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "authorization_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "source",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "refund_recipient",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"Address"
]
}
}
},
{
"name": "occurrence_budget_mist",
"ty": "U64"
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "funds",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
]
},
{
"name": "new_task_payment_reserve_from_coin",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "task_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "skill_id",
"ty": "U64"
},
{
"name": "interface_version",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
},
{
"name": "agent_skill_authorization",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "authorization",
"name": "AgentSkillAuthorization"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payment_source",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
},
{
"name": "refund_recipient",
"ty": "Address"
},
{
"name": "occurrence_budget_mist",
"ty": "U64"
},
{
"name": "payment_policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
},
{
"name": "coin",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_accomplished",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "payment_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_available_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_available_funds_inner",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_available_settlement_charge",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payable_leader_gas",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_available_settlement_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_consumed",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_execution_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "payment_final_state",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_final_state_accomplished",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_final_state_pending",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_final_state_refunded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentFinalState"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_gas_budget_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_interface_revision",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_leader_gas_consumed",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_locked_amount",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_locked_budget_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_locks",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_max_budget_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_policy_agent_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "max_budget_mist",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_policy_is_agent_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "payment_policy_max_budget_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "policy",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_policy_user_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_priority_fee_charged",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_priority_fee_percentage",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_priority_fee_reserve_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_refunded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "payment_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "payment_source_kind",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_source_kind_agent_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "agent_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_source_kind_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "source",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_source_kind_is_agent_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "source",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "payment_source_kind_is_user_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "source",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "payment_source_kind_user",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "source",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Address"
]
},
{
"name": "payment_source_kind_user_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "user",
"ty": "Address"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
]
},
{
"name": "payment_tool_cost",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "tool_fqn",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
"U64"
]
},
{
"name": "priority_charge_for",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "priority_fee_mist_for_gas_budget",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "gas_budget_mist",
"ty": "U64"
},
{
"name": "priority_fee_percentage",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "priority_fee_percentage",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "priority_fee_percentage",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
"U64"
]
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "recompute_payment_budget_split",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "refill_execution_payment_from_agent_vault_balance",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "authorization",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentVaultPaymentAuthorization"
},
"type_arguments": []
}
}
},
{
"name": "funds",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "refill_execution_payment_from_coin",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "coin",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "refill_task_payment_reserve_address_funded",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "coin",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "coin",
"name": "Coin"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": []
},
{
"name": "refill_task_payment_reserve_from_balance",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "funds",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": []
},
{
"name": "refund_agent_vault_payment",
"visibility": "Friend",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "authorization",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "AgentVaultPaymentAuthorization"
},
"type_arguments": []
}
}
},
{
"name": "refund_reason",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "refund_invoker_payment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "refund_reason",
"ty": {
"Vector": "U8"
}
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "refund_task_execution_payment",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reserve",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "occurrence_id",
"ty": "U64"
},
{
"name": "refund_reason",
"ty": {
"Vector": "U8"
}
}
],
"return_types": []
},
{
"name": "remove_execution_payment_vertex_lock",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentInnerV1"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Vector": "U8"
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPaymentVertexLock"
},
"type_arguments": []
}
}
]
},
{
"name": "settle_invocation",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "vertex_key",
"ty": {
"Vector": "U8"
}
},
{
"name": "invocation_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "was_refunded",
"ty": "Bool"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "InvocationSettlementReceipt"
},
"type_arguments": []
}
}
]
},
{
"name": "settle_nonzero_balance",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "balance",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "recipient",
"ty": "Address"
},
{
"name": "ctx",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "tx_context",
"name": "TxContext"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": []
},
{
"name": "settle_nonzero_balance_to_address_balance",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "balance",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "balance",
"name": "Balance"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "sui",
"name": "SUI"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "recipient",
"ty": "Address"
}
],
"return_types": []
},
{
"name": "settlement_charge_missing",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payable_leader_gas",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "settlement_charge_required",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payable_leader_gas",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "settlement_priority_delta_for_leader_gas",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "payable_leader_gas",
"ty": "U64"
}
],
"return_types": [
"U64"
]
},
{
"name": "snapshot_payment_tool_cost",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "payment",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "ExecutionPayment"
},
"type_arguments": []
}
}
}
}
},
{
"name": "tool_fqn",
"ty": {
"Vector": "U8"
}
},
{
"name": "cost",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "task_payment_reserve_agent_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "task_payment_reserve_authorization_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "task_payment_reserve_interface_version",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
]
},
{
"name": "task_payment_reserve_occurrence_budget_mist",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "task_payment_reserve_payment_policy",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "SkillPaymentPolicy"
},
"type_arguments": []
}
}
]
},
{
"name": "task_payment_reserve_remaining_funds",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "task_payment_reserve_skill_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "task_payment_reserve_source_kind",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "PaymentSourceKind"
},
"type_arguments": []
}
}
]
},
{
"name": "task_payment_reserve_task_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "payment",
"name": "TaskPaymentReserve"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
]
},
"verifier": {
"name": "verifier",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "CanonicalToolInput"
},
"module": "verifier",
"name": "CanonicalToolInput",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "port_name",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "data",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "data",
"name": "NexusData"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ExternalVerifierStampData"
},
"module": "verifier",
"name": "ExternalVerifierStampData",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "output_hash",
"position": 0,
"ty": {
"Vector": "U8"
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"module": "verifier",
"name": "FailureEvidenceKind",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "ToolEvidence",
"position": 0,
"fields": []
},
{
"name": "LeaderEvidence",
"position": 1,
"fields": []
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderStampData"
},
"module": "verifier",
"name": "LeaderStampData",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "leader_cap_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "target",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"module": "verifier",
"name": "LeaderTarget",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Onchain",
"position": 0,
"fields": [
{
"name": "tool_witness_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
]
},
{
"name": "Offchain",
"position": 1,
"fields": [
{
"name": "tool_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "verifier_witness_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyAuxiliary"
},
"module": "verifier",
"name": "RegisteredKeyAuxiliary",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "input_hash",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "nonce",
"position": 1,
"ty": {
"Vector": "U8"
}
},
{
"name": "leader_signature",
"position": 2,
"ty": {
"Vector": "U8"
}
},
{
"name": "tool_signature",
"position": 3,
"ty": {
"Vector": "U8"
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyStampData"
},
"module": "verifier",
"name": "RegisteredKeyStampData",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "input_hash",
"position": 0,
"ty": {
"Vector": "U8"
}
},
{
"name": "output_hash",
"position": 1,
"ty": {
"Vector": "U8"
}
},
{
"name": "nonce",
"position": 2,
"ty": {
"Vector": "U8"
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolInvocationNoncePreimage"
},
"module": "verifier",
"name": "ToolInvocationNoncePreimage",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "execution_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "walk_index",
"position": 1,
"ty": "U64"
},
{
"name": "vertex_name",
"position": 2,
"ty": {
"Vector": "U8"
}
},
{
"name": "iteration",
"position": 3,
"ty": "U64"
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"module": "verifier",
"name": "ToolVerifierMode",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "None",
"position": 0,
"fields": []
},
{
"name": "RegisteredKey",
"position": 1,
"fields": []
},
{
"name": "External",
"position": 2,
"fields": []
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierSupport"
},
"module": "verifier",
"name": "ToolVerifierSupport",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "RegisteredKey",
"position": 0,
"fields": []
},
{
"name": "External",
"position": 1,
"fields": [
{
"name": "method_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierMethodId"
},
"type_arguments": []
}
}
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"module": "verifier",
"name": "VerificationVerdict",
"abilities": [],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "output",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
},
{
"name": "verifier_witness_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
},
{
"name": "decision",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierDecision"
},
"type_arguments": []
}
}
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierDecision"
},
"module": "verifier",
"name": "VerifierDecision",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Enum": {
"variants": [
{
"name": "Accept",
"position": 0,
"fields": []
},
{
"name": "Reject",
"position": 1,
"fields": [
{
"name": "reason",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U8"
}
]
}
}
}
]
}
]
}
}
},
{
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierMethodId"
},
"module": "verifier",
"name": "VerifierMethodId",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "tool_id",
"position": 0,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "package_id",
"position": 1,
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "module_name",
"position": 2,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "function_name",
"position": 3,
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
]
}
}
}
],
"functions": [
{
"name": "auxiliary_input_hash",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyAuxiliary"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "auxiliary_leader_signature",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyAuxiliary"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "auxiliary_nonce",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyAuxiliary"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "auxiliary_tool_signature",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyAuxiliary"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "committed_result_evidence_is_leader_failure",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "evidence",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "committed_result_evidence_is_tool_failure",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "evidence",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"type_arguments": []
}
}
]
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "consume_verdict",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
},
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
},
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierDecision"
},
"type_arguments": []
}
}
]
},
{
"name": "decision_is_accept",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierDecision"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "decision_reason",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierDecision"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U8"
}
]
}
}
]
},
{
"name": "external_stamp_data",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "output_hash",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ExternalVerifierStampData"
},
"type_arguments": []
}
}
]
},
{
"name": "external_stamp_output_hash",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ExternalVerifierStampData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "failure_evidence_kind_leader_evidence",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"type_arguments": []
}
}
]
},
{
"name": "failure_evidence_kind_tool_evidence",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "FailureEvidenceKind"
},
"type_arguments": []
}
}
]
},
{
"name": "leader_stamp_data",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "leader_cap_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "target",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderStampData"
},
"type_arguments": []
}
}
]
},
{
"name": "leader_stamp_leader_cap_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderStampData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "leader_stamp_target",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderStampData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
]
},
{
"name": "leader_target_is_offchain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "leader_target_offchain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "verifier_witness_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
]
},
{
"name": "leader_target_onchain",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool_witness_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
]
},
{
"name": "leader_target_tool_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "leader_target_verifier_witness_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "LeaderTarget"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "method_tool_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierMethodId"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
},
{
"name": "new_accept",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "output",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
},
{
"name": "witness_uid",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
]
},
{
"name": "new_external_verdict",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "output",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
},
{
"name": "witness_uid",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "decision",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierDecision"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
]
},
{
"name": "new_method_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "tool_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "package_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "module_name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
},
{
"name": "function_name",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "ascii",
"name": "String"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierMethodId"
},
"type_arguments": []
}
}
]
},
{
"name": "new_none",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "output",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
]
},
{
"name": "new_registered_key_verdict",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "output",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
},
{
"name": "input_hash",
"ty": {
"Vector": "U8"
}
},
{
"name": "nonce",
"ty": {
"Vector": "U8"
}
},
{
"name": "witness_uid",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "accepted",
"ty": "Bool"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
]
},
{
"name": "new_reject",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "worksheet",
"ty": {
"Ref": {
"mutable": true,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "proof_of_uid",
"name": "ProofOfUID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "output",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
},
{
"name": "witness_uid",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "UID"
},
"type_arguments": []
}
}
}
}
},
{
"name": "reason",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U8"
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
]
},
{
"name": "normalize_reason",
"visibility": "Private",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "reason",
"ty": {
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U8"
}
]
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Vector": "U8"
}
]
}
}
]
},
{
"name": "output_sha256",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "output",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa1",
"module": "tagged_output",
"name": "TaggedOutput"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "registered_key_auxiliary",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "input_hash",
"ty": {
"Vector": "U8"
}
},
{
"name": "nonce",
"ty": {
"Vector": "U8"
}
},
{
"name": "leader_signature",
"ty": {
"Vector": "U8"
}
},
{
"name": "tool_signature",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyAuxiliary"
},
"type_arguments": []
}
}
]
},
{
"name": "registered_key_stamp_data",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "input_hash",
"ty": {
"Vector": "U8"
}
},
{
"name": "output_hash",
"ty": {
"Vector": "U8"
}
},
{
"name": "nonce",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyStampData"
},
"type_arguments": []
}
}
]
},
{
"name": "registered_key_stamp_input_hash",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyStampData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "registered_key_stamp_nonce",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyStampData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "registered_key_stamp_output_hash",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "RegisteredKeyStampData"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "registered_key_tool_signature_message",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "leader_signature",
"ty": {
"Vector": "U8"
}
},
{
"name": "nonce",
"ty": {
"Vector": "U8"
}
},
{
"name": "output_hash",
"ty": {
"Vector": "U8"
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "support_external",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "method_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierMethodId"
},
"type_arguments": []
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierSupport"
},
"type_arguments": []
}
}
]
},
{
"name": "support_matches_mode",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierSupport"
},
"type_arguments": []
}
}
}
}
},
{
"name": "mode",
"ty": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
}
],
"return_types": [
"Bool"
]
},
{
"name": "support_method",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierSupport"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierMethodId"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "support_registered_key",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierSupport"
},
"type_arguments": []
}
}
]
},
{
"name": "tool_invocation_nonce",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "execution_id",
"ty": {
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
},
{
"name": "walk_index",
"ty": "U64"
},
{
"name": "vertex_name",
"ty": {
"Vector": "U8"
}
},
{
"name": "iteration",
"ty": "U64"
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "verdict_decision",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerifierDecision"
},
"type_arguments": []
}
}
]
},
{
"name": "verdict_output_hash",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Vector": "U8"
}
]
},
{
"name": "verdict_witness_id",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "VerificationVerdict"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0x1",
"module": "option",
"name": "Option"
},
"type_arguments": [
{
"Datatype": {
"type_name": {
"address": "0x2",
"module": "object",
"name": "ID"
},
"type_arguments": []
}
}
]
}
}
]
},
{
"name": "verifier_mode_external",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
]
},
{
"name": "verifier_mode_none",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
]
},
{
"name": "verifier_mode_registered_key",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "verifier",
"name": "ToolVerifierMode"
},
"type_arguments": []
}
}
]
}
]
},
"version": {
"name": "version",
"datatypes": [
{
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"module": "version",
"name": "InterfaceVersion",
"abilities": [
"Copy",
"Drop",
"Store"
],
"type_parameters": [],
"kind": {
"Struct": {
"fields": [
{
"name": "inner",
"position": 0,
"ty": "U64"
}
]
}
}
}
],
"functions": [
{
"name": "expect_v",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
}
}
},
{
"name": "expected",
"ty": "U64"
}
],
"return_types": []
},
{
"name": "number",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "self",
"ty": {
"Ref": {
"mutable": false,
"inner": {
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
}
}
}
],
"return_types": [
"U64"
]
},
{
"name": "v",
"visibility": "Public",
"is_entry": false,
"type_parameters": [],
"parameters": [
{
"name": "version",
"ty": "U64"
}
],
"return_types": [
{
"Datatype": {
"type_name": {
"address": "0xa2",
"module": "version",
"name": "InterfaceVersion"
},
"type_arguments": []
}
}
]
}
]
}
}
}