@wowok/agent-mcp 3.3.5 → 3.3.6
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/eval-order.d.ts +17 -0
- package/dist/chain-semantics/eval-order.js +1 -0
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.d.ts +1 -1
- package/dist/composition/compile.js +1 -1
- package/dist/data/api/api.spec.d.ts +1 -0
- package/dist/data/api/api.spec.js +1 -0
- package/dist/data/api/cli.d.ts +1 -0
- package/dist/data/api/cli.js +1 -0
- package/dist/data/api/head.d.ts +16 -0
- package/dist/data/api/head.js +1 -0
- package/dist/data/api/head.spec.d.ts +1 -0
- package/dist/data/api/head.spec.js +1 -0
- package/dist/data/api/index.d.ts +2 -0
- package/dist/data/api/index.js +1 -0
- package/dist/data/api/match.d.ts +69 -0
- package/dist/data/api/match.js +1 -0
- package/dist/data/api/match.spec.d.ts +1 -0
- package/dist/data/api/match.spec.js +1 -0
- package/dist/data/api/server.d.ts +12 -0
- package/dist/data/api/server.js +1 -0
- package/dist/data/projection/cli.d.ts +1 -0
- package/dist/data/projection/cli.js +1 -0
- package/dist/data/projection/edges.d.ts +8 -0
- package/dist/data/projection/edges.js +1 -0
- package/dist/data/projection/edges.spec.d.ts +1 -0
- package/dist/data/projection/edges.spec.js +1 -0
- package/dist/data/projection/facets.d.ts +18 -0
- package/dist/data/projection/facets.js +1 -0
- package/dist/data/projection/facets.spec.d.ts +1 -0
- package/dist/data/projection/facets.spec.js +1 -0
- package/dist/data/projection/facts.d.ts +40 -0
- package/dist/data/projection/facts.js +1 -0
- package/dist/data/projection/index.d.ts +6 -0
- package/dist/data/projection/index.js +1 -0
- package/dist/data/projection/project.d.ts +10 -0
- package/dist/data/projection/project.js +1 -0
- package/dist/data/projection/projection.spec.d.ts +1 -0
- package/dist/data/projection/projection.spec.js +1 -0
- package/dist/data/projection/schema.d.ts +1 -0
- package/dist/data/projection/schema.js +1 -0
- package/dist/data/projection/store.d.ts +49 -0
- package/dist/data/projection/store.js +1 -0
- package/dist/data/projection/types.d.ts +137 -0
- package/dist/data/projection/types.js +1 -0
- package/dist/data/sync/cdc.d.ts +34 -0
- package/dist/data/sync/cdc.js +1 -0
- package/dist/data/sync/cdc.spec.d.ts +1 -0
- package/dist/data/sync/cdc.spec.js +1 -0
- package/dist/data/sync/graphql-source.d.ts +16 -0
- package/dist/data/sync/graphql-source.js +1 -0
- package/dist/data/sync/index.d.ts +5 -0
- package/dist/data/sync/index.js +1 -0
- package/dist/data/sync/reconciler.d.ts +14 -0
- package/dist/data/sync/reconciler.js +1 -0
- package/dist/data/sync/reconciler.spec.d.ts +1 -0
- package/dist/data/sync/reconciler.spec.js +1 -0
- package/dist/data/sync/schema.d.ts +1 -0
- package/dist/data/sync/schema.js +1 -0
- package/dist/data/sync/store.d.ts +19 -0
- package/dist/data/sync/store.js +1 -0
- package/dist/data/sync/sync.spec.d.ts +1 -0
- package/dist/data/sync/sync.spec.js +1 -0
- package/dist/data/sync/synchronizer.d.ts +10 -0
- package/dist/data/sync/synchronizer.js +1 -0
- package/dist/data/sync/types.d.ts +162 -0
- package/dist/data/sync/types.js +1 -0
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/capability.d.ts +1 -0
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +7 -1
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/match-policy.d.ts +118 -0
- package/dist/evaluation/match-policy.js +1 -0
- package/dist/evaluation/match-policy.spec.d.ts +1 -0
- package/dist/evaluation/match-policy.spec.js +1 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/baselines/rules/plan.json +16 -1
- package/dist/knowledge/builtin-templates.d.ts +1 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/getting-started.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-ledger.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +26 -10
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/projection.d.ts +54 -0
- package/dist/knowledge/projection.js +1 -0
- package/dist/knowledge/projection.spec.d.ts +1 -0
- package/dist/knowledge/projection.spec.js +1 -0
- package/dist/knowledge/recipient-constraint.d.ts +1 -1
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/monitor/MonitorLoop.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/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.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/review/index.js +1 -1
- package/dist/role/profiles.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/proof.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +189 -0
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/query/bi.d.ts +4 -0
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/evaluation_operation.output.json +384 -2
- package/dist/schemas/evaluation_operation.schema.json +202 -4
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +666 -100
- package/dist/schemas/onchain_operations_allocation.schema.json +1 -1
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_guard.schema.json +660 -94
- package/dist/schemas/onchain_operations_service.schema.json +4 -4
- package/dist/schemas/query_toolkit.output.json +299 -0
- package/dist/tools/handlers/benchmark-migration.d.ts +4 -2
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +7 -2
|
@@ -2988,6 +2988,289 @@
|
|
|
2988
2988
|
"additionalProperties": false,
|
|
2989
2989
|
"description": "Returns U256. Sums the numeric payloads of candidates whose stored value matches the predicate (on-chain checked add, overflow aborts). Non-numeric or mismatching entries contribute 0. Use logic_as_u256_* to compare the sum."
|
|
2990
2990
|
},
|
|
2991
|
+
{
|
|
2992
|
+
"type": "object",
|
|
2993
|
+
"properties": {
|
|
2994
|
+
"type": {
|
|
2995
|
+
"type": "string",
|
|
2996
|
+
"const": "query_repository_data_sum_where_bound"
|
|
2997
|
+
},
|
|
2998
|
+
"object": {
|
|
2999
|
+
"type": "object",
|
|
3000
|
+
"properties": {
|
|
3001
|
+
"identifier": {
|
|
3002
|
+
"type": "integer",
|
|
3003
|
+
"minimum": 0,
|
|
3004
|
+
"maximum": 255,
|
|
3005
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
3006
|
+
}
|
|
3007
|
+
},
|
|
3008
|
+
"required": [
|
|
3009
|
+
"identifier"
|
|
3010
|
+
],
|
|
3011
|
+
"additionalProperties": false,
|
|
3012
|
+
"description": "Reference to the Repository object in the Guard table (must be Address type)."
|
|
3013
|
+
},
|
|
3014
|
+
"key": {
|
|
3015
|
+
"type": "object",
|
|
3016
|
+
"properties": {
|
|
3017
|
+
"identifier": {
|
|
3018
|
+
"type": "integer",
|
|
3019
|
+
"minimum": 0,
|
|
3020
|
+
"maximum": 255,
|
|
3021
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
"required": [
|
|
3025
|
+
"identifier"
|
|
3026
|
+
],
|
|
3027
|
+
"additionalProperties": false,
|
|
3028
|
+
"description": "Reference to the policy key (String type table entry) whose data table is scanned."
|
|
3029
|
+
},
|
|
3030
|
+
"ids": {
|
|
3031
|
+
"type": "object",
|
|
3032
|
+
"properties": {
|
|
3033
|
+
"identifier": {
|
|
3034
|
+
"type": "integer",
|
|
3035
|
+
"minimum": 0,
|
|
3036
|
+
"maximum": 255,
|
|
3037
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
"required": [
|
|
3041
|
+
"identifier"
|
|
3042
|
+
],
|
|
3043
|
+
"additionalProperties": false,
|
|
3044
|
+
"description": "Reference to the candidate ID list (VecAddress type table entry). Each id should be an ORDER address (e.g. order-keyed contribution rows). Duplicates are deduped; max 100 candidates."
|
|
3045
|
+
},
|
|
3046
|
+
"where": {
|
|
3047
|
+
"oneOf": [
|
|
3048
|
+
{
|
|
3049
|
+
"type": "object",
|
|
3050
|
+
"properties": {
|
|
3051
|
+
"kind": {
|
|
3052
|
+
"type": "string",
|
|
3053
|
+
"const": "range"
|
|
3054
|
+
},
|
|
3055
|
+
"valueMin": {
|
|
3056
|
+
"description": "Optional lower bound (inclusive unless minInclusive=false). Plain number string (U256 semantics).",
|
|
3057
|
+
"type": "string"
|
|
3058
|
+
},
|
|
3059
|
+
"valueMax": {
|
|
3060
|
+
"description": "Optional upper bound (inclusive unless maxInclusive=false). Plain number string (U256 semantics).",
|
|
3061
|
+
"type": "string"
|
|
3062
|
+
},
|
|
3063
|
+
"minInclusive": {
|
|
3064
|
+
"description": "Default true. false makes the lower bound exclusive.",
|
|
3065
|
+
"type": "boolean"
|
|
3066
|
+
},
|
|
3067
|
+
"maxInclusive": {
|
|
3068
|
+
"description": "Default true. false makes the upper bound exclusive.",
|
|
3069
|
+
"type": "boolean"
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3072
|
+
"required": [
|
|
3073
|
+
"kind"
|
|
3074
|
+
],
|
|
3075
|
+
"additionalProperties": false,
|
|
3076
|
+
"description": "Numeric closed/open range. min=max inclusive is an equality match. At least one bound required."
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"type": "object",
|
|
3080
|
+
"properties": {
|
|
3081
|
+
"kind": {
|
|
3082
|
+
"type": "string",
|
|
3083
|
+
"const": "numEq"
|
|
3084
|
+
},
|
|
3085
|
+
"value": {
|
|
3086
|
+
"type": "string",
|
|
3087
|
+
"description": "Exact numeric match. Plain number string (U256 semantics)."
|
|
3088
|
+
}
|
|
3089
|
+
},
|
|
3090
|
+
"required": [
|
|
3091
|
+
"kind",
|
|
3092
|
+
"value"
|
|
3093
|
+
],
|
|
3094
|
+
"additionalProperties": false
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
"type": "object",
|
|
3098
|
+
"properties": {
|
|
3099
|
+
"kind": {
|
|
3100
|
+
"type": "string",
|
|
3101
|
+
"const": "gt"
|
|
3102
|
+
},
|
|
3103
|
+
"value": {
|
|
3104
|
+
"type": "string",
|
|
3105
|
+
"description": "Greater than. Plain number string (U256 semantics)."
|
|
3106
|
+
}
|
|
3107
|
+
},
|
|
3108
|
+
"required": [
|
|
3109
|
+
"kind",
|
|
3110
|
+
"value"
|
|
3111
|
+
],
|
|
3112
|
+
"additionalProperties": false
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"type": "object",
|
|
3116
|
+
"properties": {
|
|
3117
|
+
"kind": {
|
|
3118
|
+
"type": "string",
|
|
3119
|
+
"const": "gte"
|
|
3120
|
+
},
|
|
3121
|
+
"value": {
|
|
3122
|
+
"type": "string",
|
|
3123
|
+
"description": "Greater than or equal. Plain number string (U256 semantics)."
|
|
3124
|
+
}
|
|
3125
|
+
},
|
|
3126
|
+
"required": [
|
|
3127
|
+
"kind",
|
|
3128
|
+
"value"
|
|
3129
|
+
],
|
|
3130
|
+
"additionalProperties": false
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"type": "object",
|
|
3134
|
+
"properties": {
|
|
3135
|
+
"kind": {
|
|
3136
|
+
"type": "string",
|
|
3137
|
+
"const": "lt"
|
|
3138
|
+
},
|
|
3139
|
+
"value": {
|
|
3140
|
+
"type": "string",
|
|
3141
|
+
"description": "Less than. Plain number string (U256 semantics)."
|
|
3142
|
+
}
|
|
3143
|
+
},
|
|
3144
|
+
"required": [
|
|
3145
|
+
"kind",
|
|
3146
|
+
"value"
|
|
3147
|
+
],
|
|
3148
|
+
"additionalProperties": false
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
"type": "object",
|
|
3152
|
+
"properties": {
|
|
3153
|
+
"kind": {
|
|
3154
|
+
"type": "string",
|
|
3155
|
+
"const": "lte"
|
|
3156
|
+
},
|
|
3157
|
+
"value": {
|
|
3158
|
+
"type": "string",
|
|
3159
|
+
"description": "Less than or equal. Plain number string (U256 semantics)."
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
"required": [
|
|
3163
|
+
"kind",
|
|
3164
|
+
"value"
|
|
3165
|
+
],
|
|
3166
|
+
"additionalProperties": false
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
"type": "object",
|
|
3170
|
+
"properties": {
|
|
3171
|
+
"kind": {
|
|
3172
|
+
"type": "string",
|
|
3173
|
+
"const": "addressEq"
|
|
3174
|
+
},
|
|
3175
|
+
"identifier": {
|
|
3176
|
+
"type": "integer",
|
|
3177
|
+
"minimum": 0,
|
|
3178
|
+
"maximum": 255,
|
|
3179
|
+
"description": "Identifier of the Address-type table entry to compare against."
|
|
3180
|
+
}
|
|
3181
|
+
},
|
|
3182
|
+
"required": [
|
|
3183
|
+
"kind",
|
|
3184
|
+
"identifier"
|
|
3185
|
+
],
|
|
3186
|
+
"additionalProperties": false
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
"type": "object",
|
|
3190
|
+
"properties": {
|
|
3191
|
+
"kind": {
|
|
3192
|
+
"type": "string",
|
|
3193
|
+
"const": "stringEq"
|
|
3194
|
+
},
|
|
3195
|
+
"value": {
|
|
3196
|
+
"type": "string",
|
|
3197
|
+
"description": "Exact string match (byte equality, UTF-8)."
|
|
3198
|
+
}
|
|
3199
|
+
},
|
|
3200
|
+
"required": [
|
|
3201
|
+
"kind",
|
|
3202
|
+
"value"
|
|
3203
|
+
],
|
|
3204
|
+
"additionalProperties": false
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"type": "object",
|
|
3208
|
+
"properties": {
|
|
3209
|
+
"kind": {
|
|
3210
|
+
"type": "string",
|
|
3211
|
+
"const": "stringContains"
|
|
3212
|
+
},
|
|
3213
|
+
"value": {
|
|
3214
|
+
"type": "string",
|
|
3215
|
+
"description": "Substring match, case-sensitive."
|
|
3216
|
+
}
|
|
3217
|
+
},
|
|
3218
|
+
"required": [
|
|
3219
|
+
"kind",
|
|
3220
|
+
"value"
|
|
3221
|
+
],
|
|
3222
|
+
"additionalProperties": false
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"type": "object",
|
|
3226
|
+
"properties": {
|
|
3227
|
+
"kind": {
|
|
3228
|
+
"type": "string",
|
|
3229
|
+
"const": "stringNoCaseContains"
|
|
3230
|
+
},
|
|
3231
|
+
"value": {
|
|
3232
|
+
"type": "string",
|
|
3233
|
+
"description": "Substring match, case-insensitive."
|
|
3234
|
+
}
|
|
3235
|
+
},
|
|
3236
|
+
"required": [
|
|
3237
|
+
"kind",
|
|
3238
|
+
"value"
|
|
3239
|
+
],
|
|
3240
|
+
"additionalProperties": false
|
|
3241
|
+
},
|
|
3242
|
+
{
|
|
3243
|
+
"type": "object",
|
|
3244
|
+
"properties": {
|
|
3245
|
+
"kind": {
|
|
3246
|
+
"type": "string",
|
|
3247
|
+
"const": "boolEq"
|
|
3248
|
+
},
|
|
3249
|
+
"value": {
|
|
3250
|
+
"type": "boolean",
|
|
3251
|
+
"description": "Boolean equality."
|
|
3252
|
+
}
|
|
3253
|
+
},
|
|
3254
|
+
"required": [
|
|
3255
|
+
"kind",
|
|
3256
|
+
"value"
|
|
3257
|
+
],
|
|
3258
|
+
"additionalProperties": false
|
|
3259
|
+
}
|
|
3260
|
+
],
|
|
3261
|
+
"description": "Predicate filter applied to each candidate's data value."
|
|
3262
|
+
}
|
|
3263
|
+
},
|
|
3264
|
+
"required": [
|
|
3265
|
+
"type",
|
|
3266
|
+
"object",
|
|
3267
|
+
"key",
|
|
3268
|
+
"ids",
|
|
3269
|
+
"where"
|
|
3270
|
+
],
|
|
3271
|
+
"additionalProperties": false,
|
|
3272
|
+
"description": "Returns U256. ESCROW-BOUND sum (query 1179): per-row min(row_value, order.amount of the Order the row id names); a row keyed by anything that is not an Order contributes 0 (fail-closed). Unlike query_repository_data_sum_where (self-reported row values), a record cannot claim more than the Order actually escrowed — the forgery-proof aggregate for threshold gates and Formula pricing. Use logic_as_u256_* to compare the sum."
|
|
3273
|
+
},
|
|
2991
3274
|
{
|
|
2992
3275
|
"type": "object",
|
|
2993
3276
|
"properties": {
|
|
@@ -5651,117 +5934,400 @@
|
|
|
5651
5934
|
"description": "GuardNode that returns the history index (U64 type). Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
5652
5935
|
"allOf": [
|
|
5653
5936
|
{
|
|
5654
|
-
"$ref": "#/definitions/__schema1"
|
|
5655
|
-
}
|
|
5656
|
-
],
|
|
5657
|
-
"$ref": "#/definitions/__schema0"
|
|
5658
|
-
},
|
|
5659
|
-
"sessionIdx": {
|
|
5660
|
-
"description": "GuardNode that returns the session index (U64 type) within the history entry. Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
5661
|
-
"allOf": [
|
|
5937
|
+
"$ref": "#/definitions/__schema1"
|
|
5938
|
+
}
|
|
5939
|
+
],
|
|
5940
|
+
"$ref": "#/definitions/__schema0"
|
|
5941
|
+
},
|
|
5942
|
+
"sessionIdx": {
|
|
5943
|
+
"description": "GuardNode that returns the session index (U64 type) within the history entry. Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
5944
|
+
"allOf": [
|
|
5945
|
+
{
|
|
5946
|
+
"$ref": "#/definitions/__schema1"
|
|
5947
|
+
}
|
|
5948
|
+
],
|
|
5949
|
+
"$ref": "#/definitions/__schema0"
|
|
5950
|
+
},
|
|
5951
|
+
"forwardIdx": {
|
|
5952
|
+
"description": "GuardNode that returns the forward operation index (U64 type) within the session. Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
5953
|
+
"allOf": [
|
|
5954
|
+
{
|
|
5955
|
+
"$ref": "#/definitions/__schema1"
|
|
5956
|
+
}
|
|
5957
|
+
],
|
|
5958
|
+
"$ref": "#/definitions/__schema0"
|
|
5959
|
+
}
|
|
5960
|
+
},
|
|
5961
|
+
"required": [
|
|
5962
|
+
"type",
|
|
5963
|
+
"object",
|
|
5964
|
+
"historyIdx",
|
|
5965
|
+
"sessionIdx",
|
|
5966
|
+
"forwardIdx"
|
|
5967
|
+
],
|
|
5968
|
+
"additionalProperties": false,
|
|
5969
|
+
"description": "Returns U64. Counts the number of retained submissions within the specified forward operation."
|
|
5970
|
+
},
|
|
5971
|
+
{
|
|
5972
|
+
"type": "object",
|
|
5973
|
+
"properties": {
|
|
5974
|
+
"type": {
|
|
5975
|
+
"type": "string",
|
|
5976
|
+
"const": "query_progress_history_session_forward_retained_submission_value"
|
|
5977
|
+
},
|
|
5978
|
+
"object": {
|
|
5979
|
+
"type": "object",
|
|
5980
|
+
"properties": {
|
|
5981
|
+
"identifier": {
|
|
5982
|
+
"type": "integer",
|
|
5983
|
+
"minimum": 0,
|
|
5984
|
+
"maximum": 255,
|
|
5985
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
5986
|
+
}
|
|
5987
|
+
},
|
|
5988
|
+
"required": [
|
|
5989
|
+
"identifier"
|
|
5990
|
+
],
|
|
5991
|
+
"additionalProperties": false,
|
|
5992
|
+
"description": "Reference to the Progress object in the Guard table (must be Address type)."
|
|
5993
|
+
},
|
|
5994
|
+
"historyIdx": {
|
|
5995
|
+
"description": "GuardNode that returns the history index (U64 type). Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
5996
|
+
"allOf": [
|
|
5997
|
+
{
|
|
5998
|
+
"$ref": "#/definitions/__schema1"
|
|
5999
|
+
}
|
|
6000
|
+
],
|
|
6001
|
+
"$ref": "#/definitions/__schema0"
|
|
6002
|
+
},
|
|
6003
|
+
"sessionIdx": {
|
|
6004
|
+
"description": "GuardNode that returns the session index (U64 type) within the history entry. Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
6005
|
+
"allOf": [
|
|
6006
|
+
{
|
|
6007
|
+
"$ref": "#/definitions/__schema1"
|
|
6008
|
+
}
|
|
6009
|
+
],
|
|
6010
|
+
"$ref": "#/definitions/__schema0"
|
|
6011
|
+
},
|
|
6012
|
+
"forwardIdx": {
|
|
6013
|
+
"description": "GuardNode that returns the forward operation index (U64 type) within the session. Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
6014
|
+
"allOf": [
|
|
6015
|
+
{
|
|
6016
|
+
"$ref": "#/definitions/__schema1"
|
|
6017
|
+
}
|
|
6018
|
+
],
|
|
6019
|
+
"$ref": "#/definitions/__schema0"
|
|
6020
|
+
},
|
|
6021
|
+
"identifier": {
|
|
6022
|
+
"description": "GuardNode that returns the submission identifier (U8 type) — which retained submission of the forward to read. Typically an 'identifier' node referencing a U8 value from the Guard table.",
|
|
6023
|
+
"allOf": [
|
|
6024
|
+
{
|
|
6025
|
+
"$ref": "#/definitions/__schema1"
|
|
6026
|
+
}
|
|
6027
|
+
],
|
|
6028
|
+
"$ref": "#/definitions/__schema0"
|
|
6029
|
+
}
|
|
6030
|
+
},
|
|
6031
|
+
"required": [
|
|
6032
|
+
"type",
|
|
6033
|
+
"object",
|
|
6034
|
+
"historyIdx",
|
|
6035
|
+
"sessionIdx",
|
|
6036
|
+
"forwardIdx",
|
|
6037
|
+
"identifier"
|
|
6038
|
+
],
|
|
6039
|
+
"additionalProperties": false,
|
|
6040
|
+
"description": "Returns VecU8 (the ONLY history query that does not return U64). Value of the specified retained submission of a HISTORY record (query 1281) — the history-side counterpart of the ACTIVE-SESSION-ONLY 1268 read, which goes blind once the session migrates into history. Use 1274/1275 to discover the history/session/forward indexes first. Throws error when the record carries no submission for the identifier (Guard validation fails)."
|
|
6041
|
+
},
|
|
6042
|
+
{
|
|
6043
|
+
"type": "object",
|
|
6044
|
+
"properties": {
|
|
6045
|
+
"type": {
|
|
6046
|
+
"type": "string",
|
|
6047
|
+
"const": "query_repository_data_count_where"
|
|
6048
|
+
},
|
|
6049
|
+
"object": {
|
|
6050
|
+
"type": "object",
|
|
6051
|
+
"properties": {
|
|
6052
|
+
"identifier": {
|
|
6053
|
+
"type": "integer",
|
|
6054
|
+
"minimum": 0,
|
|
6055
|
+
"maximum": 255,
|
|
6056
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
6057
|
+
}
|
|
6058
|
+
},
|
|
6059
|
+
"required": [
|
|
6060
|
+
"identifier"
|
|
6061
|
+
],
|
|
6062
|
+
"additionalProperties": false,
|
|
6063
|
+
"description": "Reference to the Repository object in the Guard table (must be Address type)."
|
|
6064
|
+
},
|
|
6065
|
+
"key": {
|
|
6066
|
+
"type": "object",
|
|
6067
|
+
"properties": {
|
|
6068
|
+
"identifier": {
|
|
6069
|
+
"type": "integer",
|
|
6070
|
+
"minimum": 0,
|
|
6071
|
+
"maximum": 255,
|
|
6072
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
6073
|
+
}
|
|
6074
|
+
},
|
|
6075
|
+
"required": [
|
|
6076
|
+
"identifier"
|
|
6077
|
+
],
|
|
6078
|
+
"additionalProperties": false,
|
|
6079
|
+
"description": "Reference to the policy key (String type table entry) whose data table is scanned."
|
|
6080
|
+
},
|
|
6081
|
+
"ids": {
|
|
6082
|
+
"type": "object",
|
|
6083
|
+
"properties": {
|
|
6084
|
+
"identifier": {
|
|
6085
|
+
"type": "integer",
|
|
6086
|
+
"minimum": 0,
|
|
6087
|
+
"maximum": 255,
|
|
6088
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
6089
|
+
}
|
|
6090
|
+
},
|
|
6091
|
+
"required": [
|
|
6092
|
+
"identifier"
|
|
6093
|
+
],
|
|
6094
|
+
"additionalProperties": false,
|
|
6095
|
+
"description": "Reference to the candidate ID list (VecAddress type table entry). Duplicates are deduped; max 100 candidates."
|
|
6096
|
+
},
|
|
6097
|
+
"where": {
|
|
6098
|
+
"oneOf": [
|
|
6099
|
+
{
|
|
6100
|
+
"type": "object",
|
|
6101
|
+
"properties": {
|
|
6102
|
+
"kind": {
|
|
6103
|
+
"type": "string",
|
|
6104
|
+
"const": "range"
|
|
6105
|
+
},
|
|
6106
|
+
"valueMin": {
|
|
6107
|
+
"description": "Optional lower bound (inclusive unless minInclusive=false). Plain number string (U256 semantics).",
|
|
6108
|
+
"type": "string"
|
|
6109
|
+
},
|
|
6110
|
+
"valueMax": {
|
|
6111
|
+
"description": "Optional upper bound (inclusive unless maxInclusive=false). Plain number string (U256 semantics).",
|
|
6112
|
+
"type": "string"
|
|
6113
|
+
},
|
|
6114
|
+
"minInclusive": {
|
|
6115
|
+
"description": "Default true. false makes the lower bound exclusive.",
|
|
6116
|
+
"type": "boolean"
|
|
6117
|
+
},
|
|
6118
|
+
"maxInclusive": {
|
|
6119
|
+
"description": "Default true. false makes the upper bound exclusive.",
|
|
6120
|
+
"type": "boolean"
|
|
6121
|
+
}
|
|
6122
|
+
},
|
|
6123
|
+
"required": [
|
|
6124
|
+
"kind"
|
|
6125
|
+
],
|
|
6126
|
+
"additionalProperties": false,
|
|
6127
|
+
"description": "Numeric closed/open range. min=max inclusive is an equality match. At least one bound required."
|
|
6128
|
+
},
|
|
6129
|
+
{
|
|
6130
|
+
"type": "object",
|
|
6131
|
+
"properties": {
|
|
6132
|
+
"kind": {
|
|
6133
|
+
"type": "string",
|
|
6134
|
+
"const": "numEq"
|
|
6135
|
+
},
|
|
6136
|
+
"value": {
|
|
6137
|
+
"type": "string",
|
|
6138
|
+
"description": "Exact numeric match. Plain number string (U256 semantics)."
|
|
6139
|
+
}
|
|
6140
|
+
},
|
|
6141
|
+
"required": [
|
|
6142
|
+
"kind",
|
|
6143
|
+
"value"
|
|
6144
|
+
],
|
|
6145
|
+
"additionalProperties": false
|
|
6146
|
+
},
|
|
6147
|
+
{
|
|
6148
|
+
"type": "object",
|
|
6149
|
+
"properties": {
|
|
6150
|
+
"kind": {
|
|
6151
|
+
"type": "string",
|
|
6152
|
+
"const": "gt"
|
|
6153
|
+
},
|
|
6154
|
+
"value": {
|
|
6155
|
+
"type": "string",
|
|
6156
|
+
"description": "Greater than. Plain number string (U256 semantics)."
|
|
6157
|
+
}
|
|
6158
|
+
},
|
|
6159
|
+
"required": [
|
|
6160
|
+
"kind",
|
|
6161
|
+
"value"
|
|
6162
|
+
],
|
|
6163
|
+
"additionalProperties": false
|
|
6164
|
+
},
|
|
6165
|
+
{
|
|
6166
|
+
"type": "object",
|
|
6167
|
+
"properties": {
|
|
6168
|
+
"kind": {
|
|
6169
|
+
"type": "string",
|
|
6170
|
+
"const": "gte"
|
|
6171
|
+
},
|
|
6172
|
+
"value": {
|
|
6173
|
+
"type": "string",
|
|
6174
|
+
"description": "Greater than or equal. Plain number string (U256 semantics)."
|
|
6175
|
+
}
|
|
6176
|
+
},
|
|
6177
|
+
"required": [
|
|
6178
|
+
"kind",
|
|
6179
|
+
"value"
|
|
6180
|
+
],
|
|
6181
|
+
"additionalProperties": false
|
|
6182
|
+
},
|
|
5662
6183
|
{
|
|
5663
|
-
"
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
6184
|
+
"type": "object",
|
|
6185
|
+
"properties": {
|
|
6186
|
+
"kind": {
|
|
6187
|
+
"type": "string",
|
|
6188
|
+
"const": "lt"
|
|
6189
|
+
},
|
|
6190
|
+
"value": {
|
|
6191
|
+
"type": "string",
|
|
6192
|
+
"description": "Less than. Plain number string (U256 semantics)."
|
|
6193
|
+
}
|
|
6194
|
+
},
|
|
6195
|
+
"required": [
|
|
6196
|
+
"kind",
|
|
6197
|
+
"value"
|
|
6198
|
+
],
|
|
6199
|
+
"additionalProperties": false
|
|
6200
|
+
},
|
|
5671
6201
|
{
|
|
5672
|
-
"
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
"type": "object",
|
|
5690
|
-
"properties": {
|
|
5691
|
-
"type": {
|
|
5692
|
-
"type": "string",
|
|
5693
|
-
"const": "query_progress_history_session_forward_retained_submission_value"
|
|
5694
|
-
},
|
|
5695
|
-
"object": {
|
|
5696
|
-
"type": "object",
|
|
5697
|
-
"properties": {
|
|
5698
|
-
"identifier": {
|
|
5699
|
-
"type": "integer",
|
|
5700
|
-
"minimum": 0,
|
|
5701
|
-
"maximum": 255,
|
|
5702
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
5703
|
-
}
|
|
5704
|
-
},
|
|
5705
|
-
"required": [
|
|
5706
|
-
"identifier"
|
|
5707
|
-
],
|
|
5708
|
-
"additionalProperties": false,
|
|
5709
|
-
"description": "Reference to the Progress object in the Guard table (must be Address type)."
|
|
5710
|
-
},
|
|
5711
|
-
"historyIdx": {
|
|
5712
|
-
"description": "GuardNode that returns the history index (U64 type). Typically an 'identifier' node referencing a U64 value from the Guard table.",
|
|
5713
|
-
"allOf": [
|
|
6202
|
+
"type": "object",
|
|
6203
|
+
"properties": {
|
|
6204
|
+
"kind": {
|
|
6205
|
+
"type": "string",
|
|
6206
|
+
"const": "lte"
|
|
6207
|
+
},
|
|
6208
|
+
"value": {
|
|
6209
|
+
"type": "string",
|
|
6210
|
+
"description": "Less than or equal. Plain number string (U256 semantics)."
|
|
6211
|
+
}
|
|
6212
|
+
},
|
|
6213
|
+
"required": [
|
|
6214
|
+
"kind",
|
|
6215
|
+
"value"
|
|
6216
|
+
],
|
|
6217
|
+
"additionalProperties": false
|
|
6218
|
+
},
|
|
5714
6219
|
{
|
|
5715
|
-
"
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
6220
|
+
"type": "object",
|
|
6221
|
+
"properties": {
|
|
6222
|
+
"kind": {
|
|
6223
|
+
"type": "string",
|
|
6224
|
+
"const": "addressEq"
|
|
6225
|
+
},
|
|
6226
|
+
"identifier": {
|
|
6227
|
+
"type": "integer",
|
|
6228
|
+
"minimum": 0,
|
|
6229
|
+
"maximum": 255,
|
|
6230
|
+
"description": "Identifier of the Address-type table entry to compare against."
|
|
6231
|
+
}
|
|
6232
|
+
},
|
|
6233
|
+
"required": [
|
|
6234
|
+
"kind",
|
|
6235
|
+
"identifier"
|
|
6236
|
+
],
|
|
6237
|
+
"additionalProperties": false
|
|
6238
|
+
},
|
|
5723
6239
|
{
|
|
5724
|
-
"
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
6240
|
+
"type": "object",
|
|
6241
|
+
"properties": {
|
|
6242
|
+
"kind": {
|
|
6243
|
+
"type": "string",
|
|
6244
|
+
"const": "stringEq"
|
|
6245
|
+
},
|
|
6246
|
+
"value": {
|
|
6247
|
+
"type": "string",
|
|
6248
|
+
"description": "Exact string match (byte equality, UTF-8)."
|
|
6249
|
+
}
|
|
6250
|
+
},
|
|
6251
|
+
"required": [
|
|
6252
|
+
"kind",
|
|
6253
|
+
"value"
|
|
6254
|
+
],
|
|
6255
|
+
"additionalProperties": false
|
|
6256
|
+
},
|
|
5732
6257
|
{
|
|
5733
|
-
"
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
6258
|
+
"type": "object",
|
|
6259
|
+
"properties": {
|
|
6260
|
+
"kind": {
|
|
6261
|
+
"type": "string",
|
|
6262
|
+
"const": "stringContains"
|
|
6263
|
+
},
|
|
6264
|
+
"value": {
|
|
6265
|
+
"type": "string",
|
|
6266
|
+
"description": "Substring match, case-sensitive."
|
|
6267
|
+
}
|
|
6268
|
+
},
|
|
6269
|
+
"required": [
|
|
6270
|
+
"kind",
|
|
6271
|
+
"value"
|
|
6272
|
+
],
|
|
6273
|
+
"additionalProperties": false
|
|
6274
|
+
},
|
|
5741
6275
|
{
|
|
5742
|
-
"
|
|
6276
|
+
"type": "object",
|
|
6277
|
+
"properties": {
|
|
6278
|
+
"kind": {
|
|
6279
|
+
"type": "string",
|
|
6280
|
+
"const": "stringNoCaseContains"
|
|
6281
|
+
},
|
|
6282
|
+
"value": {
|
|
6283
|
+
"type": "string",
|
|
6284
|
+
"description": "Substring match, case-insensitive."
|
|
6285
|
+
}
|
|
6286
|
+
},
|
|
6287
|
+
"required": [
|
|
6288
|
+
"kind",
|
|
6289
|
+
"value"
|
|
6290
|
+
],
|
|
6291
|
+
"additionalProperties": false
|
|
6292
|
+
},
|
|
6293
|
+
{
|
|
6294
|
+
"type": "object",
|
|
6295
|
+
"properties": {
|
|
6296
|
+
"kind": {
|
|
6297
|
+
"type": "string",
|
|
6298
|
+
"const": "boolEq"
|
|
6299
|
+
},
|
|
6300
|
+
"value": {
|
|
6301
|
+
"type": "boolean",
|
|
6302
|
+
"description": "Boolean equality."
|
|
6303
|
+
}
|
|
6304
|
+
},
|
|
6305
|
+
"required": [
|
|
6306
|
+
"kind",
|
|
6307
|
+
"value"
|
|
6308
|
+
],
|
|
6309
|
+
"additionalProperties": false
|
|
5743
6310
|
}
|
|
5744
6311
|
],
|
|
5745
|
-
"
|
|
6312
|
+
"description": "Predicate filter applied to each candidate's data value."
|
|
5746
6313
|
}
|
|
5747
6314
|
},
|
|
5748
6315
|
"required": [
|
|
5749
6316
|
"type",
|
|
5750
6317
|
"object",
|
|
5751
|
-
"
|
|
5752
|
-
"
|
|
5753
|
-
"
|
|
5754
|
-
"identifier"
|
|
6318
|
+
"key",
|
|
6319
|
+
"ids",
|
|
6320
|
+
"where"
|
|
5755
6321
|
],
|
|
5756
6322
|
"additionalProperties": false,
|
|
5757
|
-
"description": "Returns
|
|
6323
|
+
"description": "Returns U64. Counts candidates whose stored value matches the predicate. Numeric predicates: U256 semantics (pass plain number strings). Range is closed interval per side (minInclusive/maxInclusive default true); a missing side is unbounded. numEq/gt/gte/lt/lte are sugar over range. Entries whose value type does not match the predicate kind are skipped (never error), so the count only reflects matching entries."
|
|
5758
6324
|
},
|
|
5759
6325
|
{
|
|
5760
6326
|
"type": "object",
|
|
5761
6327
|
"properties": {
|
|
5762
6328
|
"type": {
|
|
5763
6329
|
"type": "string",
|
|
5764
|
-
"const": "
|
|
6330
|
+
"const": "query_repository_data_sum_where"
|
|
5765
6331
|
},
|
|
5766
6332
|
"object": {
|
|
5767
6333
|
"type": "object",
|
|
@@ -6037,14 +6603,14 @@
|
|
|
6037
6603
|
"where"
|
|
6038
6604
|
],
|
|
6039
6605
|
"additionalProperties": false,
|
|
6040
|
-
"description": "Returns
|
|
6606
|
+
"description": "Returns U256. Sums the numeric payloads of candidates whose stored value matches the predicate (on-chain checked add, overflow aborts). Non-numeric or mismatching entries contribute 0. Use logic_as_u256_* to compare the sum."
|
|
6041
6607
|
},
|
|
6042
6608
|
{
|
|
6043
6609
|
"type": "object",
|
|
6044
6610
|
"properties": {
|
|
6045
6611
|
"type": {
|
|
6046
6612
|
"type": "string",
|
|
6047
|
-
"const": "
|
|
6613
|
+
"const": "query_repository_data_sum_where_bound"
|
|
6048
6614
|
},
|
|
6049
6615
|
"object": {
|
|
6050
6616
|
"type": "object",
|
|
@@ -6092,7 +6658,7 @@
|
|
|
6092
6658
|
"identifier"
|
|
6093
6659
|
],
|
|
6094
6660
|
"additionalProperties": false,
|
|
6095
|
-
"description": "Reference to the candidate ID list (VecAddress type table entry). Duplicates are deduped; max 100 candidates."
|
|
6661
|
+
"description": "Reference to the candidate ID list (VecAddress type table entry). Each id should be an ORDER address (e.g. order-keyed contribution rows). Duplicates are deduped; max 100 candidates."
|
|
6096
6662
|
},
|
|
6097
6663
|
"where": {
|
|
6098
6664
|
"oneOf": [
|
|
@@ -6320,7 +6886,7 @@
|
|
|
6320
6886
|
"where"
|
|
6321
6887
|
],
|
|
6322
6888
|
"additionalProperties": false,
|
|
6323
|
-
"description": "Returns U256.
|
|
6889
|
+
"description": "Returns U256. ESCROW-BOUND sum (query 1179): per-row min(row_value, order.amount of the Order the row id names); a row keyed by anything that is not an Order contributes 0 (fail-closed). Unlike query_repository_data_sum_where (self-reported row values), a record cannot claim more than the Order actually escrowed — the forgery-proof aggregate for threshold gates and Formula pricing. Use logic_as_u256_* to compare the sum."
|
|
6324
6890
|
},
|
|
6325
6891
|
{
|
|
6326
6892
|
"type": "object",
|