@wowok/agent-mcp 3.2.6 → 3.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chain-semantics/field-capability.js +1 -1
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/guard-verbs.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/communication/wts-attestation.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.d.ts +3 -2
- package/dist/composition/compile.js +1 -1
- package/dist/composition/inflight.d.ts +27 -0
- package/dist/composition/inflight.js +1 -0
- package/dist/config/config-audit.spec.js +1 -1
- package/dist/customer/account-events.js +1 -1
- package/dist/customer/order-monitor.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/business-modules.d.ts +1 -1
- package/dist/extensions/business-modules.js +1 -1
- package/dist/extensions/constraint-registry.d.ts +6 -1
- package/dist/extensions/constraint-registry.js +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-pack.d.ts +5 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/mode-evaluator.d.ts +3 -2
- package/dist/extensions/mode-evaluator.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/analyze.spec.js +1 -1
- package/dist/graph/onchain/anti-cheat.d.ts +32 -2
- package/dist/graph/onchain/anti-cheat.js +1 -1
- package/dist/graph/onchain/anti-cheat.spec.js +1 -1
- package/dist/graph/onchain/edge-schema.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/extract.js +1 -1
- package/dist/graph/onchain/graph-policy.spec.js +1 -1
- package/dist/graph/onchain/index.d.ts +2 -2
- package/dist/graph/onchain/index.js +1 -1
- package/dist/graph/onchain/project-relationship.js +1 -1
- package/dist/graph/onchain/table-ledger.spec.js +1 -1
- package/dist/graph/onchain/types.d.ts +3 -0
- package/dist/harness/index.d.ts +1 -0
- package/dist/harness/index.js +1 -1
- package/dist/harness/operation-id.d.ts +1 -0
- package/dist/harness/operation-id.js +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/index.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-venue-order.d.ts +25 -0
- package/dist/knowledge/arbitration-venue-order.js +1 -0
- package/dist/knowledge/audit-rules.d.ts +10 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/risk-baselines.spec.js +1 -1
- package/dist/knowledge/baselines/rules/graph.json +81 -0
- package/dist/knowledge/baselines/rules/guard.json +96 -1
- package/dist/knowledge/baselines/rules/machine.json +3 -3
- package/dist/knowledge/baselines/rules/plan.json +109 -8
- package/dist/knowledge/baselines/semantic-facts.js +1 -1
- package/dist/knowledge/builtin-templates.d.ts +17 -2
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/discount-threshold.d.ts +11 -0
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-ledger.js +1 -1
- package/dist/knowledge/guard-lint.d.ts +1 -0
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-node-gates.d.ts +4 -0
- package/dist/knowledge/guard-node-gates.js +1 -0
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.d.ts +1 -0
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-brief.d.ts +6 -0
- package/dist/knowledge/guard-submission-brief.js +1 -1
- package/dist/knowledge/guard-submission-prompt.d.ts +1 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +2 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +2 -2
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-topology.d.ts +6 -0
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/order-ledger.js +1 -1
- package/dist/knowledge/reputation-rules.d.ts +3 -9
- package/dist/knowledge/reputation-rules.js +1 -1
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +10 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/settlement-semantics.d.ts +1 -0
- package/dist/knowledge/settlement-semantics.js +1 -0
- package/dist/knowledge/template-loader.d.ts +22 -0
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +16 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tool-constraints.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +8 -3
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/allocation-advice.js +1 -1
- package/dist/participation/customer-interest.js +1 -1
- package/dist/participation/radar-core.d.ts +7 -2
- package/dist/participation/radar-core.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +46 -15
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +7 -0
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +28 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +2 -0
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/pipeline-actions.d.ts +1 -1
- package/dist/playbooks/service-build/pipeline-actions.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/risk-aggregator.d.ts +1 -1
- package/dist/playbooks/service-build/risk-aggregator.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/relationship/derivation.d.ts +1 -0
- package/dist/review/index.js +1 -1
- package/dist/runtime/instance-registry.d.ts +8 -0
- package/dist/runtime/instance-registry.js +1 -0
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/safety/preview.d.ts +1 -0
- package/dist/safety/preview.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +28 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +1 -1
- package/dist/schema/call/arbitration.d.ts +4 -4
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +122 -5
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +16 -0
- package/dist/schema/call/contact.d.ts +1 -1
- package/dist/schema/call/contact.js +1 -1
- package/dist/schema/call/demand.d.ts +1 -1
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/guard.d.ts +10 -3
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +8 -1
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +1 -1
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.d.ts +1 -1
- package/dist/schema/call/personal.d.ts +4 -4
- package/dist/schema/call/progress.d.ts +47 -1
- package/dist/schema/call/progress.js +1 -1
- package/dist/schema/call/proof.js +1 -1
- package/dist/schema/call/repository.d.ts +5 -5
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.d.ts +1 -1
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +12 -9
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +1 -1
- package/dist/schema/common/index.d.ts +4 -4
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/goal/index.d.ts +23 -0
- package/dist/schema/goal/planning.d.ts +50 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +40 -0
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/keeper/index.d.ts +13 -0
- package/dist/schema/local/index.d.ts +96 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +17 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +61 -23
- package/dist/schema/operations.js +1 -1
- package/dist/schema/query/bi.d.ts +70 -6
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +206 -54
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +1 -0
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.d.ts +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/permission-machine-check.d.ts +2 -0
- package/dist/schema/utils/permission-machine-check.js +1 -1
- package/dist/schema/workflow/index.d.ts +1 -1
- package/dist/schema/workspace/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +47 -0
- package/dist/schemas/account_operation.schema.json +3 -3
- package/dist/schemas/benchmark_migration_operation.output.json +66 -4
- package/dist/schemas/benchmark_migration_operation.schema.json +83 -0
- package/dist/schemas/bridge_operation.output.json +47 -0
- package/dist/schemas/goal_operation.schema.json +104 -0
- package/dist/schemas/guard2file.output.json +6 -1
- package/dist/schemas/guard2file.schema.json +9 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +91 -0
- package/dist/schemas/industry_pack_operation.schema.json +19 -1
- package/dist/schemas/keeper_operation.output.json +44 -0
- package/dist/schemas/local_cache_operation.output.json +47 -0
- package/dist/schemas/local_history_operation.output.json +47 -0
- package/dist/schemas/local_info_operation.output.json +47 -0
- package/dist/schemas/local_mark_operation.output.json +47 -0
- package/dist/schemas/machineNode2file.output.json +6 -1
- package/dist/schemas/machineNode2file.schema.json +9 -0
- package/dist/schemas/messenger_operation.output.json +52 -0
- package/dist/schemas/messenger_operation.schema.json +4 -4
- package/dist/schemas/monitor_events.output.json +44 -0
- package/dist/schemas/monitor_subscription.output.json +44 -0
- package/dist/schemas/onchain_events.output.json +44 -0
- package/dist/schemas/onchain_operations.output.json +140 -5
- package/dist/schemas/onchain_operations.schema.json +180 -107
- package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
- package/dist/schemas/onchain_operations_arbitration.schema.json +12 -9
- package/dist/schemas/onchain_operations_contact.schema.json +8 -7
- package/dist/schemas/onchain_operations_demand.schema.json +6 -5
- package/dist/schemas/onchain_operations_gen_passport.schema.json +5 -5
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_guard.schema.json +6 -6
- package/dist/schemas/onchain_operations_machine.schema.json +9 -8
- package/dist/schemas/onchain_operations_order.schema.json +8 -7
- package/dist/schemas/onchain_operations_payment.schema.json +1 -1
- package/dist/schemas/onchain_operations_permission.schema.json +1 -0
- package/dist/schemas/onchain_operations_personal.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +64 -6
- package/dist/schemas/onchain_operations_proof.schema.json +6 -6
- package/dist/schemas/onchain_operations_repository.schema.json +10 -9
- package/dist/schemas/onchain_operations_reward.schema.json +8 -7
- package/dist/schemas/onchain_operations_service.schema.json +23 -19
- package/dist/schemas/onchain_operations_treasury.schema.json +6 -5
- package/dist/schemas/onchain_table_data.output.json +88 -20
- package/dist/schemas/onchain_table_data.schema.json +21 -21
- package/dist/schemas/query_toolkit.output.json +249 -39
- package/dist/schemas/query_toolkit.schema.json +51 -27
- package/dist/schemas/schema_query.schema.json +4 -0
- package/dist/schemas/workflow_operation.schema.json +5 -5
- package/dist/schemas/wowok_buildin_info.output.json +220 -4
- package/dist/schemas/wowok_buildin_info.schema.json +2 -2
- package/dist/tools/handlers/benchmark-migration.d.ts +22 -0
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.d.ts +0 -1
- package/dist/tools/handlers/dispatch-expectations.js +1 -1
- package/dist/tools/handlers/file-export.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.d.ts +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/review-chain.d.ts +22 -0
- package/dist/tools/handlers/review-chain.js +1 -0
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/registry/agent.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/evaluation.js +1 -1
- package/dist/tools/registry/files.js +1 -1
- package/dist/tools/registry/identity.js +1 -1
- package/dist/tools/registry/local.js +1 -1
- package/dist/tools/registry/messenger.js +1 -1
- package/dist/tools/registry/monitor.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/rules-hook.js +1 -1
- package/dist/tools/runtime-health.d.ts +10 -0
- package/dist/tools/runtime-health.js +1 -0
- package/dist/tools/upgrade-check.d.ts +33 -1
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wip-deploy-assist.d.ts +6 -0
- package/dist/tools/wip-deploy-assist.js +1 -1
- package/dist/tools/wrap.d.ts +3 -0
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
|
@@ -389,6 +389,10 @@
|
|
|
389
389
|
"hasNextPage"
|
|
390
390
|
],
|
|
391
391
|
"additionalProperties": false
|
|
392
|
+
},
|
|
393
|
+
"_balance_scope_note": {
|
|
394
|
+
"description": "Semantic scope note for the balance figure: the total is aggregation-only; independently owned Coin objects may exist outside it. Follow the note (transaction digest or coin-objects query) before concluding funds arrived.",
|
|
395
|
+
"type": "string"
|
|
392
396
|
}
|
|
393
397
|
},
|
|
394
398
|
"additionalProperties": false,
|
|
@@ -942,7 +946,7 @@
|
|
|
942
946
|
"description": "vecvecu8"
|
|
943
947
|
}
|
|
944
948
|
],
|
|
945
|
-
"description": "User available value type (number
|
|
949
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
946
950
|
},
|
|
947
951
|
{
|
|
948
952
|
"type": "number",
|
|
@@ -2489,7 +2493,7 @@
|
|
|
2489
2493
|
},
|
|
2490
2494
|
{}
|
|
2491
2495
|
],
|
|
2492
|
-
"description": "Lock duration for critical operations. Anchored to the 'paused_time' timestamp. After Service is published, only the following operations are gated by this lock: (1) compensation_fund_withdraw, (2) rewards remove/clear, (3) arbitrations remove/clear. All require the Service to be paused AND paused_time + setting_lock_duration <= current clock. Adding rewards/arbitrations, modifying sales/description/location/buy_guard/customer_required/um, and depositing to compensation_fund are NOT gated by this lock. order_allocators and machine are permanently immutable after publish (not related to this lock)."
|
|
2496
|
+
"description": "Lock duration for critical operations. Anchored to the 'paused_time' timestamp. After Service is published, only the following operations are gated by this lock: (1) compensation_fund_withdraw, (2) rewards remove/clear, (3) arbitrations remove/clear. All require the Service to be paused AND paused_time + setting_lock_duration <= current clock. Adding rewards/arbitrations, modifying sales/description/location/buy_guard/customer_required/um, and depositing to compensation_fund are NOT gated by this lock. Rationale (deliberate design): the lock only gates REVOKING buyer-facing guarantees that placed orders rely on, protecting buyer expectations — it is not a restriction on daily operations. order_allocators and machine are permanently immutable after publish (not related to this lock)."
|
|
2493
2497
|
},
|
|
2494
2498
|
"order_allocators": {
|
|
2495
2499
|
"anyOf": [
|
|
@@ -3078,7 +3082,7 @@
|
|
|
3078
3082
|
"type": "null"
|
|
3079
3083
|
}
|
|
3080
3084
|
],
|
|
3081
|
-
"description": "Buyer-recorded credential that the required information was delivered via Wowok Messenger: the merchant's IM user address (resolved from the Service's Contact) or a WTS Proof object id (on-chain delivery proof embedding that IM address and timestamp)."
|
|
3085
|
+
"description": "Buyer-recorded credential that the required information was delivered via Wowok Messenger: the merchant's IM user address (resolved from the Service's Contact) or a WTS Proof object id (on-chain delivery proof embedding that IM address and timestamp). ATTESTATION-ONLY: the value is self-attested by the buyer, has no on-chain readback, and MUST NOT be used as a gate condition."
|
|
3082
3086
|
},
|
|
3083
3087
|
"time": {
|
|
3084
3088
|
"anyOf": [
|
|
@@ -3705,7 +3709,7 @@
|
|
|
3705
3709
|
"description": "vecvecu8"
|
|
3706
3710
|
}
|
|
3707
3711
|
],
|
|
3708
|
-
"description": "User available value type (number
|
|
3712
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
3709
3713
|
},
|
|
3710
3714
|
{
|
|
3711
3715
|
"type": "number",
|
|
@@ -5758,6 +5762,7 @@
|
|
|
5758
5762
|
"description": "Source of data ID when writing data. If None, user must specify the ID separately; if Clock, data ID is current timestamp; if Signer, data ID is user ID."
|
|
5759
5763
|
},
|
|
5760
5764
|
"value_type": {
|
|
5765
|
+
"description": "Type of data value when writing data. Note: 19 (Value) is an internal dynamic type for guard expressions and is NOT accepted here.",
|
|
5761
5766
|
"anyOf": [
|
|
5762
5767
|
{
|
|
5763
5768
|
"type": "number",
|
|
@@ -6044,8 +6049,7 @@
|
|
|
6044
6049
|
"const": "vecvecu8",
|
|
6045
6050
|
"description": "vecvecu8"
|
|
6046
6051
|
}
|
|
6047
|
-
]
|
|
6048
|
-
"description": "Type of data value when writing data. Note: 19 (Value) is an internal dynamic type for guard expressions and is NOT accepted here."
|
|
6052
|
+
]
|
|
6049
6053
|
}
|
|
6050
6054
|
},
|
|
6051
6055
|
"required": [
|
|
@@ -6329,6 +6333,7 @@
|
|
|
6329
6333
|
"description": "Whether this table item's value is submitted dynamically at Guard trigger time (alloc_by_guard call). \n\ntrue = value is submitted by the caller when triggering the Guard. Use for runtime-context-dependent values like order address, user address. The 'value' field is ignored when b_submission=true; the caller must provide it via submissions[]. \n\nfalse = value is static, set at Guard creation time. Use for values known when the Guard is created: expected node names, expected merchant address, expected service address. The 'value' field must be populated and will be stored on-chain permanently. \n\nRule of thumb: if the value is the SAME for all future Guard triggers, use false. If the value DIFFERS per trigger (e.g., which order to release funds for), use true."
|
|
6330
6334
|
},
|
|
6331
6335
|
"value_type": {
|
|
6336
|
+
"description": "Type of the value stored in `value`. One of: Bool(0), Address(1), String(2), U8(3), U16(4), U32(5), U64(6), U128(7), U256(8), VecBool(9), VecAddress(10), VecString(11), VecU8(12), VecU16(13), VecU32(14), VecU64(15), VecU128(16), VecU256(17), VecVecU8(18). When value_type=Address (1), the `value` field accepts a hex address string, a LocalMark name, or an AccountOrMark_Address object — see `value` field description for details.",
|
|
6332
6337
|
"anyOf": [
|
|
6333
6338
|
{
|
|
6334
6339
|
"type": "number",
|
|
@@ -6615,11 +6620,10 @@
|
|
|
6615
6620
|
"const": "vecvecu8",
|
|
6616
6621
|
"description": "vecvecu8"
|
|
6617
6622
|
}
|
|
6618
|
-
]
|
|
6619
|
-
"description": "Type of the value stored in `value`. One of: Bool(0), Address(1), String(2), U8(3), U16(4), U32(5), U64(6), U128(7), U256(8), VecBool(9), VecAddress(10), VecString(11), VecU8(12), VecU16(13), VecU32(14), VecU64(15), VecU128(16), VecU256(17), VecVecU8(18). When value_type=Address (1), the `value` field accepts a hex address string, a LocalMark name, or an AccountOrMark_Address object — see `value` field description for details."
|
|
6623
|
+
]
|
|
6620
6624
|
},
|
|
6621
6625
|
"value": {
|
|
6622
|
-
"description": "The actual value data. Format depends on `value_type`:\n• Bool: true/false (boolean)\n• Address (CRITICAL — string 'Address' is NOT a placeholder): a hex address (e.g. '0x1234...'), a LocalMark name (e.g. 'my-service' — resolved to address at evaluation time), an AccountOrMark_Address object (e.g. {name_or_address:'my-service'}), or system shorthand ('0xaaa' = EntityLinker, '0xaab' = EntityRegistrar). The literal string 'Address' itself is INVALID — it would be treated as a non-existent LocalMark name and fail. Example: value='0x2::wow::WOW<address>' or value='my-permission'.\n• String: any string\n• U8/U16/U32/U64/U128/U256: number or numeric string (e.g. 42 or '42')\n• Vec* types: arrays of the corresponding element type\nREQUIRED when b_submission=false. OPTIONAL when b_submission=true (value is supplied at evaluation time by user submission).",
|
|
6626
|
+
"description": "The actual value data. Format depends on `value_type`:\nTYPE-CLASS SPLIT (F03): scalar value_types (Bool/Address/String/U8..U256) take ONE scalar value (boolean/address string/name/string/number); Vec* value_types (VecBool/VecAddress/VecString/VecU8..VecU256) take a REAL JSON ARRAY of elements — a string (even a Python-repr-looking \"[a, b]\") fails serialization with 'value_type=10 (array) requires a array value'. The historical 'static values must be strings' rule applied to SCALARS only.\n• Bool: true/false (boolean)\n• Address (CRITICAL — string 'Address' is NOT a placeholder): a hex address (e.g. '0x1234...'), a LocalMark name (e.g. 'my-service' — resolved to address at evaluation time), an AccountOrMark_Address object (e.g. {name_or_address:'my-service'}), or system shorthand ('0xaaa' = EntityLinker, '0xaab' = EntityRegistrar). The literal string 'Address' itself is INVALID — it would be treated as a non-existent LocalMark name and fail. Example: value='0x2::wow::WOW<address>' or value='my-permission'.\n• String: any string\n• U8/U16/U32/U64/U128/U256: number or numeric string (e.g. 42 or '42')\n• Vec* types: arrays of the corresponding element type\nPROTOCOL SLOT 254 (once, b_submission Address): the submitted value MUST be the ORDER address bound to the operation (payment_info.for_object) — NEVER the Progress/Machine/Arb object the call is advancing. The chain asserts submission(254) == the order address; a Progress address fails the task binding and the forward aborts.\nREQUIRED when b_submission=false. OPTIONAL when b_submission=true (value is supplied at evaluation time by user submission).",
|
|
6623
6627
|
"anyOf": [
|
|
6624
6628
|
{
|
|
6625
6629
|
"type": "boolean"
|
|
@@ -7773,7 +7777,7 @@
|
|
|
7773
7777
|
"description": "vecvecu8"
|
|
7774
7778
|
}
|
|
7775
7779
|
],
|
|
7776
|
-
"description": "User available value type (number
|
|
7780
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
7777
7781
|
},
|
|
7778
7782
|
{
|
|
7779
7783
|
"type": "number",
|
|
@@ -9275,7 +9279,7 @@
|
|
|
9275
9279
|
"type": "null"
|
|
9276
9280
|
}
|
|
9277
9281
|
],
|
|
9278
|
-
"description": "Minimum order total for the discount to apply (smallest units) — when set, the discount applies only if the PRE-discount order total is greater than or equal to this value. null (or 0) means NO threshold, so the discount applies UNCONDITIONALLY. Sharp edge: an order below a set threshold
|
|
9282
|
+
"description": "Minimum order total for the discount to apply (smallest units) — when set, the discount applies only if the PRE-discount order total is greater than or equal to this value. null (or 0) means NO threshold, so the discount applies UNCONDITIONALLY. Sharp edge: an order below a set threshold cannot use this coupon — buy aborts with the coupon attached (error 38, full rollback, coupon preserved); dropping the coupon completes the order at FULL price and the coupon is retained."
|
|
9279
9283
|
},
|
|
9280
9284
|
"off": {
|
|
9281
9285
|
"anyOf": [
|
|
@@ -10128,7 +10132,7 @@
|
|
|
10128
10132
|
"description": "vecvecu8"
|
|
10129
10133
|
}
|
|
10130
10134
|
],
|
|
10131
|
-
"description": "User available value type (number
|
|
10135
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
10132
10136
|
},
|
|
10133
10137
|
{
|
|
10134
10138
|
"type": "number",
|
|
@@ -10863,7 +10867,7 @@
|
|
|
10863
10867
|
"type": "null"
|
|
10864
10868
|
}
|
|
10865
10869
|
],
|
|
10866
|
-
"description": "About address
|
|
10870
|
+
"description": "About binding (K3 contract): the counterparty ACCOUNT address (address first byte = account type) or a Proof object address (first byte = Proof type) — a messenger contact record, NOT a business-object reference and never a guard decision condition"
|
|
10867
10871
|
},
|
|
10868
10872
|
"signer": {
|
|
10869
10873
|
"type": "string",
|
|
@@ -11550,7 +11554,7 @@
|
|
|
11550
11554
|
"description": "vecvecu8"
|
|
11551
11555
|
}
|
|
11552
11556
|
],
|
|
11553
|
-
"description": "User available value type (number
|
|
11557
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
11554
11558
|
},
|
|
11555
11559
|
{
|
|
11556
11560
|
"type": "number",
|
|
@@ -12539,7 +12543,7 @@
|
|
|
12539
12543
|
"description": "vecvecu8"
|
|
12540
12544
|
}
|
|
12541
12545
|
],
|
|
12542
|
-
"description": "User available value type (number
|
|
12546
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
12543
12547
|
},
|
|
12544
12548
|
{
|
|
12545
12549
|
"type": "number",
|
|
@@ -14896,7 +14900,7 @@
|
|
|
14896
14900
|
"description": "vecvecu8"
|
|
14897
14901
|
}
|
|
14898
14902
|
],
|
|
14899
|
-
"description": "User available value type (number
|
|
14903
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
14900
14904
|
},
|
|
14901
14905
|
{
|
|
14902
14906
|
"type": "number",
|
|
@@ -15566,7 +15570,7 @@
|
|
|
15566
15570
|
"type": "string"
|
|
15567
15571
|
},
|
|
15568
15572
|
"gas_used": {
|
|
15569
|
-
"description": "Total gas used (string, BigInt)",
|
|
15573
|
+
"description": "Total gas used (string, BigInt). F52: the node can report this NEGATIVE for some batch txs (e.g. batch-destroy) — a signed value is a direction marker, not a refund; take the absolute value when summing per-tx fees for reconciliation",
|
|
15570
15574
|
"type": "string"
|
|
15571
15575
|
},
|
|
15572
15576
|
"gas_budget": {
|
|
@@ -15811,7 +15815,7 @@
|
|
|
15811
15815
|
"type": "string"
|
|
15812
15816
|
},
|
|
15813
15817
|
"gas_used": {
|
|
15814
|
-
"description": "Gas used (string)",
|
|
15818
|
+
"description": "Gas used (string). F52: may be reported NEGATIVE for some batch txs — take the absolute value when reconciling fees",
|
|
15815
15819
|
"type": "string"
|
|
15816
15820
|
},
|
|
15817
15821
|
"objects_touched": {
|
|
@@ -15929,7 +15933,7 @@
|
|
|
15929
15933
|
"type": "string"
|
|
15930
15934
|
},
|
|
15931
15935
|
"gas_used": {
|
|
15932
|
-
"description": "Gas used (string)",
|
|
15936
|
+
"description": "Gas used (string). F52: may be reported NEGATIVE for some batch txs — take the absolute value when reconciling fees",
|
|
15933
15937
|
"type": "string"
|
|
15934
15938
|
},
|
|
15935
15939
|
"objects_touched": {
|
|
@@ -16316,7 +16320,7 @@
|
|
|
16316
16320
|
},
|
|
16317
16321
|
"note": {
|
|
16318
16322
|
"type": "string",
|
|
16319
|
-
"description": "order_new.buy.total_pay.balance must equal this exactly — the on-chain buy aborts on any drift."
|
|
16323
|
+
"description": "order_new.buy.total_pay.balance must equal this exactly when passed explicitly — the on-chain buy aborts on any drift. Without a discount you may omit total_pay entirely: the buy auto-derives this exact total (M-K17)."
|
|
16320
16324
|
}
|
|
16321
16325
|
},
|
|
16322
16326
|
"required": [
|
|
@@ -16466,6 +16470,167 @@
|
|
|
16466
16470
|
}
|
|
16467
16471
|
],
|
|
16468
16472
|
"description": "FIRST allocator's sharing rows — the normal payout path. null when no allocators are configured."
|
|
16473
|
+
},
|
|
16474
|
+
"reward_terms": {
|
|
16475
|
+
"anyOf": [
|
|
16476
|
+
{
|
|
16477
|
+
"type": "object",
|
|
16478
|
+
"properties": {
|
|
16479
|
+
"note": {
|
|
16480
|
+
"type": "string"
|
|
16481
|
+
},
|
|
16482
|
+
"rewards": {
|
|
16483
|
+
"type": "array",
|
|
16484
|
+
"items": {
|
|
16485
|
+
"type": "object",
|
|
16486
|
+
"properties": {
|
|
16487
|
+
"reward": {
|
|
16488
|
+
"type": "string",
|
|
16489
|
+
"description": "Reward object address (hung on the Service, bound at build time)."
|
|
16490
|
+
},
|
|
16491
|
+
"description": {
|
|
16492
|
+
"anyOf": [
|
|
16493
|
+
{
|
|
16494
|
+
"type": "string"
|
|
16495
|
+
},
|
|
16496
|
+
{
|
|
16497
|
+
"type": "null"
|
|
16498
|
+
}
|
|
16499
|
+
]
|
|
16500
|
+
},
|
|
16501
|
+
"pool_balance": {
|
|
16502
|
+
"type": "string",
|
|
16503
|
+
"description": "Raw smallest units currently in the Reward pool."
|
|
16504
|
+
},
|
|
16505
|
+
"pool_balance_display": {
|
|
16506
|
+
"type": "string"
|
|
16507
|
+
},
|
|
16508
|
+
"record_count": {
|
|
16509
|
+
"type": "integer",
|
|
16510
|
+
"minimum": -9007199254740991,
|
|
16511
|
+
"maximum": 9007199254740991,
|
|
16512
|
+
"description": "Claims recorded in the per-address ledger so far."
|
|
16513
|
+
},
|
|
16514
|
+
"claims": {
|
|
16515
|
+
"type": "array",
|
|
16516
|
+
"items": {
|
|
16517
|
+
"type": "object",
|
|
16518
|
+
"properties": {
|
|
16519
|
+
"guard": {
|
|
16520
|
+
"type": "string",
|
|
16521
|
+
"description": "Claim guard address — the buyer must pass this guard's conditions to claim."
|
|
16522
|
+
},
|
|
16523
|
+
"amount_type": {
|
|
16524
|
+
"type": "string",
|
|
16525
|
+
"enum": [
|
|
16526
|
+
"fixed",
|
|
16527
|
+
"guard_submission"
|
|
16528
|
+
],
|
|
16529
|
+
"description": "'fixed' = constant smallest-units amount; 'guard_submission' = the amount comes from the guard passport submission (not predictable at quote time)."
|
|
16530
|
+
},
|
|
16531
|
+
"amount": {
|
|
16532
|
+
"type": "string",
|
|
16533
|
+
"description": "Fixed: raw smallest units. guard_submission: the submission identifier."
|
|
16534
|
+
},
|
|
16535
|
+
"amount_display": {
|
|
16536
|
+
"anyOf": [
|
|
16537
|
+
{
|
|
16538
|
+
"type": "string"
|
|
16539
|
+
},
|
|
16540
|
+
{
|
|
16541
|
+
"type": "null"
|
|
16542
|
+
}
|
|
16543
|
+
]
|
|
16544
|
+
},
|
|
16545
|
+
"expiration_time": {
|
|
16546
|
+
"anyOf": [
|
|
16547
|
+
{
|
|
16548
|
+
"type": "number"
|
|
16549
|
+
},
|
|
16550
|
+
{
|
|
16551
|
+
"type": "null"
|
|
16552
|
+
}
|
|
16553
|
+
],
|
|
16554
|
+
"description": "Claim deadline, ms epoch; null = no window (claimable until the guard is removed/expires)."
|
|
16555
|
+
},
|
|
16556
|
+
"expiration_display": {
|
|
16557
|
+
"anyOf": [
|
|
16558
|
+
{
|
|
16559
|
+
"type": "string"
|
|
16560
|
+
},
|
|
16561
|
+
{
|
|
16562
|
+
"type": "null"
|
|
16563
|
+
}
|
|
16564
|
+
]
|
|
16565
|
+
},
|
|
16566
|
+
"expired": {
|
|
16567
|
+
"anyOf": [
|
|
16568
|
+
{
|
|
16569
|
+
"type": "boolean"
|
|
16570
|
+
},
|
|
16571
|
+
{
|
|
16572
|
+
"type": "null"
|
|
16573
|
+
}
|
|
16574
|
+
],
|
|
16575
|
+
"description": "True when the claim window had already passed at quote time; null when no window is set."
|
|
16576
|
+
}
|
|
16577
|
+
},
|
|
16578
|
+
"required": [
|
|
16579
|
+
"guard",
|
|
16580
|
+
"amount_type",
|
|
16581
|
+
"amount",
|
|
16582
|
+
"amount_display",
|
|
16583
|
+
"expiration_time",
|
|
16584
|
+
"expiration_display",
|
|
16585
|
+
"expired"
|
|
16586
|
+
],
|
|
16587
|
+
"additionalProperties": false
|
|
16588
|
+
}
|
|
16589
|
+
},
|
|
16590
|
+
"coverage": {
|
|
16591
|
+
"anyOf": [
|
|
16592
|
+
{
|
|
16593
|
+
"type": "string"
|
|
16594
|
+
},
|
|
16595
|
+
{
|
|
16596
|
+
"type": "null"
|
|
16597
|
+
}
|
|
16598
|
+
],
|
|
16599
|
+
"description": "How many further claims the pool can fund at the largest fixed per-claim amount (empty-pool warning when 0); null when amounts are guard-decided."
|
|
16600
|
+
}
|
|
16601
|
+
},
|
|
16602
|
+
"required": [
|
|
16603
|
+
"reward",
|
|
16604
|
+
"description",
|
|
16605
|
+
"pool_balance",
|
|
16606
|
+
"pool_balance_display",
|
|
16607
|
+
"record_count",
|
|
16608
|
+
"claims",
|
|
16609
|
+
"coverage"
|
|
16610
|
+
],
|
|
16611
|
+
"additionalProperties": false
|
|
16612
|
+
}
|
|
16613
|
+
},
|
|
16614
|
+
"data_gaps": {
|
|
16615
|
+
"type": "array",
|
|
16616
|
+
"items": {
|
|
16617
|
+
"type": "string"
|
|
16618
|
+
},
|
|
16619
|
+
"description": "Rewards that could not be read — their terms are unknown, do not rely on them."
|
|
16620
|
+
}
|
|
16621
|
+
},
|
|
16622
|
+
"required": [
|
|
16623
|
+
"note",
|
|
16624
|
+
"rewards",
|
|
16625
|
+
"data_gaps"
|
|
16626
|
+
],
|
|
16627
|
+
"additionalProperties": false
|
|
16628
|
+
},
|
|
16629
|
+
{
|
|
16630
|
+
"type": "null"
|
|
16631
|
+
}
|
|
16632
|
+
],
|
|
16633
|
+
"description": "Pre-order reward terms (review component, INV-4 buyer side): every Reward hung on the Service (bound at build time) with pool balance, per-claim amount and claim window — a claim aborts after its window (E_GUARD_EXPIRED) or against an empty pool (E_INSUFFICIENT_BALANCE), so never budget on an expired or empty reward. null when the Service carries no rewards. Read-only."
|
|
16469
16634
|
}
|
|
16470
16635
|
},
|
|
16471
16636
|
"required": [
|
|
@@ -16476,10 +16641,11 @@
|
|
|
16476
16641
|
"items",
|
|
16477
16642
|
"total_pay",
|
|
16478
16643
|
"discount",
|
|
16479
|
-
"allocation_preview"
|
|
16644
|
+
"allocation_preview",
|
|
16645
|
+
"reward_terms"
|
|
16480
16646
|
],
|
|
16481
16647
|
"additionalProperties": false,
|
|
16482
|
-
"description": "ServiceQuote (basket prices, total_pay
|
|
16648
|
+
"description": "ServiceQuote (basket prices, total_pay, the allocator fee-split preview and reward terms)."
|
|
16483
16649
|
}
|
|
16484
16650
|
},
|
|
16485
16651
|
"required": [
|
|
@@ -16961,14 +17127,13 @@
|
|
|
16961
17127
|
"description": "Input path inside the tool data payload."
|
|
16962
17128
|
},
|
|
16963
17129
|
"reason": {
|
|
16964
|
-
"
|
|
16965
|
-
"
|
|
17130
|
+
"description": "Chain-authoritative routing reason, including the Guard passport requirement when the forward binds one, and the standalone-Progress limitation for namedOperator='' forwards (abort 8 — no order payer). May be absent when the caller requested response_level 'compact', which trims templated routing prose from NON-recommended options (F44/docs#49).",
|
|
17131
|
+
"type": "string"
|
|
16966
17132
|
}
|
|
16967
17133
|
},
|
|
16968
17134
|
"required": [
|
|
16969
17135
|
"tool",
|
|
16970
|
-
"path"
|
|
16971
|
-
"reason"
|
|
17136
|
+
"path"
|
|
16972
17137
|
],
|
|
16973
17138
|
"additionalProperties": false
|
|
16974
17139
|
}
|
|
@@ -17053,7 +17218,8 @@
|
|
|
17053
17218
|
"reward",
|
|
17054
17219
|
"discount",
|
|
17055
17220
|
"compensation",
|
|
17056
|
-
"rating"
|
|
17221
|
+
"rating",
|
|
17222
|
+
"review"
|
|
17057
17223
|
]
|
|
17058
17224
|
},
|
|
17059
17225
|
"label": {
|
|
@@ -17407,14 +17573,13 @@
|
|
|
17407
17573
|
"description": "Input path inside the tool data payload."
|
|
17408
17574
|
},
|
|
17409
17575
|
"reason": {
|
|
17410
|
-
"
|
|
17411
|
-
"
|
|
17576
|
+
"description": "Chain-authoritative routing reason, including the Guard passport requirement when the forward binds one, and the standalone-Progress limitation for namedOperator='' forwards (abort 8 — no order payer). May be absent when the caller requested response_level 'compact', which trims templated routing prose from NON-recommended options (F44/docs#49).",
|
|
17577
|
+
"type": "string"
|
|
17412
17578
|
}
|
|
17413
17579
|
},
|
|
17414
17580
|
"required": [
|
|
17415
17581
|
"tool",
|
|
17416
|
-
"path"
|
|
17417
|
-
"reason"
|
|
17582
|
+
"path"
|
|
17418
17583
|
],
|
|
17419
17584
|
"additionalProperties": false
|
|
17420
17585
|
}
|
|
@@ -17499,7 +17664,8 @@
|
|
|
17499
17664
|
"reward",
|
|
17500
17665
|
"discount",
|
|
17501
17666
|
"compensation",
|
|
17502
|
-
"rating"
|
|
17667
|
+
"rating",
|
|
17668
|
+
"review"
|
|
17503
17669
|
]
|
|
17504
17670
|
},
|
|
17505
17671
|
"label": {
|
|
@@ -17739,7 +17905,8 @@
|
|
|
17739
17905
|
"reward",
|
|
17740
17906
|
"discount",
|
|
17741
17907
|
"compensation",
|
|
17742
|
-
"rating"
|
|
17908
|
+
"rating",
|
|
17909
|
+
"review"
|
|
17743
17910
|
]
|
|
17744
17911
|
},
|
|
17745
17912
|
"label": {
|
|
@@ -18945,14 +19112,13 @@
|
|
|
18945
19112
|
"description": "Input path inside the tool data payload."
|
|
18946
19113
|
},
|
|
18947
19114
|
"reason": {
|
|
18948
|
-
"
|
|
18949
|
-
"
|
|
19115
|
+
"description": "Chain-authoritative routing reason, including the Guard passport requirement when the forward binds one, and the standalone-Progress limitation for namedOperator='' forwards (abort 8 — no order payer). May be absent when the caller requested response_level 'compact', which trims templated routing prose from NON-recommended options (F44/docs#49).",
|
|
19116
|
+
"type": "string"
|
|
18950
19117
|
}
|
|
18951
19118
|
},
|
|
18952
19119
|
"required": [
|
|
18953
19120
|
"tool",
|
|
18954
|
-
"path"
|
|
18955
|
-
"reason"
|
|
19121
|
+
"path"
|
|
18956
19122
|
],
|
|
18957
19123
|
"additionalProperties": false
|
|
18958
19124
|
},
|
|
@@ -22376,6 +22542,50 @@
|
|
|
22376
22542
|
"current_node"
|
|
22377
22543
|
],
|
|
22378
22544
|
"additionalProperties": false
|
|
22545
|
+
},
|
|
22546
|
+
"review_steps": {
|
|
22547
|
+
"description": "Composite review submission report: the structured-reputation repository write (+ optional reward claim) chained after a successful progress forward via the data.review block, each reusing the forward's passport submission. Fail-isolated — a failed step never rolled back the forward. Relay failed steps to the user with the retry path (dedicated repository/reward tools).",
|
|
22548
|
+
"type": "array",
|
|
22549
|
+
"items": {
|
|
22550
|
+
"type": "object",
|
|
22551
|
+
"properties": {
|
|
22552
|
+
"step": {
|
|
22553
|
+
"type": "string",
|
|
22554
|
+
"enum": [
|
|
22555
|
+
"repository_write",
|
|
22556
|
+
"reward_claim"
|
|
22557
|
+
],
|
|
22558
|
+
"description": "Which chained review step this report describes. repository_write = structured reputation record (rating/tags) into the caller-named Repository; reward_claim = incentive claim on the caller-named Reward."
|
|
22559
|
+
},
|
|
22560
|
+
"status": {
|
|
22561
|
+
"type": "string",
|
|
22562
|
+
"enum": [
|
|
22563
|
+
"success",
|
|
22564
|
+
"failed"
|
|
22565
|
+
],
|
|
22566
|
+
"description": "Step outcome. Steps are fail-isolated: a failed step never affects the forward or the other step (on-chain has no rollback)."
|
|
22567
|
+
},
|
|
22568
|
+
"detail": {
|
|
22569
|
+
"type": "string",
|
|
22570
|
+
"description": "On success: what was written/claimed (payload summary). On failure: what the step attempted."
|
|
22571
|
+
},
|
|
22572
|
+
"digest": {
|
|
22573
|
+
"description": "Transaction digest when the step succeeded.",
|
|
22574
|
+
"type": "string"
|
|
22575
|
+
},
|
|
22576
|
+
"error": {
|
|
22577
|
+
"description": "Error message when the step failed. Retry via the dedicated repository/reward tools with the same submission values.",
|
|
22578
|
+
"type": "string"
|
|
22579
|
+
}
|
|
22580
|
+
},
|
|
22581
|
+
"required": [
|
|
22582
|
+
"step",
|
|
22583
|
+
"status",
|
|
22584
|
+
"detail"
|
|
22585
|
+
],
|
|
22586
|
+
"additionalProperties": false,
|
|
22587
|
+
"description": "One fail-isolated chained step of the progress composite review submission (REVIEW component, data.review block)."
|
|
22588
|
+
}
|
|
22379
22589
|
}
|
|
22380
22590
|
},
|
|
22381
22591
|
"required": [
|
|
@@ -22686,7 +22896,7 @@
|
|
|
22686
22896
|
"description": "vecvecu8"
|
|
22687
22897
|
}
|
|
22688
22898
|
],
|
|
22689
|
-
"description": "User available value type (number
|
|
22899
|
+
"description": "User available value type (number, numeric string, or name — e.g., 6, '6', 'U64', 'u64')"
|
|
22690
22900
|
},
|
|
22691
22901
|
{
|
|
22692
22902
|
"type": "number",
|
|
@@ -22889,7 +23099,7 @@
|
|
|
22889
23099
|
"type": "string"
|
|
22890
23100
|
}
|
|
22891
23101
|
],
|
|
22892
|
-
"description": "When specified, the query retrieves data from the associated (witness) object instead of the queried object itself. This enables cross-object queries within Guard validation logic. Can be a numeric ID (100-
|
|
23102
|
+
"description": "When specified, the query retrieves data from the associated (witness) object instead of the queried object itself. This enables cross-object queries within Guard validation logic. Can be a numeric ID (100-109) or a string name (case-insensitive, with or without the 'Type' prefix). String format is recommended for readability.\n\nAvailable WitnessTypes:\n- OrderProgress / TypeOrderProgress (100): Query an Order's associated Progress object. Use case: Check if order has reached a specific workflow node (e.g., 'complete') before allowing reward claims.\n- OrderMachine / TypeOrderMachine (101): Query an Order's associated Machine (workflow definition). Use case: Verify the workflow structure or check node configurations.\n- OrderService / TypeOrderService (102): Query an Order's parent Service object. Use case: Validate the service offering details or check service-level configurations.\n- ProgressMachine / TypeProgressMachine (103): Query a Progress's associated Machine. Use case: Access workflow definition from a Progress context.\n- ArbOrder / TypeArbOrder (104): Query an Arb's associated Order. Use case: In arbitration voting guards, verify order details like payment amount or service ID.\n- ArbArbitration / TypeArbArbitration (105): Query an Arb's parent Arbitration service. Use case: Access arbitration configuration or fee settings from within an Arb case.\n- ArbProgress / TypeArbProgress (106): Query an Arb's associated Progress. Use case: Check order workflow state during arbitration validation.\n- ArbMachine / TypeArbMachine (107): Query an Arb's associated Machine. Use case: Access workflow definition for dispute context analysis.\n- ArbService / TypeArbService (108): Query an Arb's associated Service. Use case: Verify service terms or compensation fund status during arbitration.\n- OrderAllocation / TypeOrderAllocation (109): Query an Order's escrow Allocation. Use case: Fund gates — combine with the allocation.balance query (1051) to require balance >= a threshold before a forward advances (e.g., renewal loops).\n\nExample: To validate that an order has reached the 'complete' node, query the Order with convert_witness='OrderProgress' and check the Progress's current_node field."
|
|
22893
23103
|
}
|
|
22894
23104
|
},
|
|
22895
23105
|
"required": [
|