@wowok/agent-mcp 2.6.0 → 2.6.3
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/README.md +5 -3
- package/dist/customer/info-puzzle.d.ts +1 -1
- package/dist/customer/info-puzzle.js +4 -2
- package/dist/customer/risk-assessment.js +26 -4
- package/dist/customer/types.d.ts +2 -0
- package/dist/examples/guard-template-balance-check.json +38 -0
- package/dist/examples/guard-template-time-lock.json +39 -0
- package/dist/examples/machine-template-7node-rental.json +114 -0
- package/dist/examples/rental-ziroom-machine-create.json +137 -0
- package/dist/examples/rental-ziroom-permission-create.json +35 -0
- package/dist/examples/rental-ziroom-service-create.json +80 -0
- package/dist/examples/retail-myshop-service-create.json +88 -0
- package/dist/extensions/capability-manifest.d.ts +125 -0
- package/dist/extensions/capability-manifest.js +594 -0
- package/dist/extensions/constraint-registry.d.ts +24 -0
- package/dist/extensions/constraint-registry.js +196 -0
- package/dist/extensions/index.d.ts +12 -0
- package/dist/extensions/index.js +6 -0
- package/dist/extensions/metric-registry.d.ts +26 -0
- package/dist/extensions/metric-registry.js +257 -0
- package/dist/extensions/mode-evaluator.d.ts +15 -0
- package/dist/extensions/mode-evaluator.js +170 -0
- package/dist/extensions/modes.d.ts +2 -0
- package/dist/extensions/modes.js +493 -0
- package/dist/extensions/registry.d.ts +50 -0
- package/dist/extensions/registry.js +662 -0
- package/dist/extensions/types.d.ts +219 -0
- package/dist/extensions/types.js +1 -0
- package/dist/index.js +50 -0
- package/dist/knowledge/deployment-scanner.d.ts +3 -0
- package/dist/knowledge/deployment-scanner.js +64 -3
- package/dist/knowledge/fund-layer.d.ts +72 -0
- package/dist/knowledge/fund-layer.js +420 -0
- package/dist/knowledge/guard-render.d.ts +57 -0
- package/dist/knowledge/guard-render.js +700 -0
- package/dist/knowledge/guard-risk.d.ts +13 -0
- package/dist/knowledge/guard-risk.js +57 -0
- package/dist/knowledge/guard-submission-prompt.d.ts +31 -0
- package/dist/knowledge/guard-submission-prompt.js +171 -0
- package/dist/knowledge/guard-templates.js +278 -0
- package/dist/knowledge/machine-ledger.js +1 -1
- package/dist/knowledge/machine-render.d.ts +41 -0
- package/dist/knowledge/machine-render.js +565 -0
- package/dist/knowledge/machine-templates.js +24 -5
- package/dist/knowledge/reward-confirm.js +2 -2
- package/dist/knowledge/reward-puzzle.js +1 -1
- package/dist/knowledge/reward-risk.js +9 -9
- package/dist/knowledge/reward-templates.js +2 -2
- package/dist/knowledge/service-confirm.d.ts +15 -6
- package/dist/knowledge/service-confirm.js +119 -11
- package/dist/knowledge/service-context.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-risk.d.ts +1 -1
- package/dist/knowledge/service-risk.js +3 -3
- package/dist/knowledge/service-templates.js +2 -2
- package/dist/knowledge/service-translation.d.ts +1 -1
- package/dist/knowledge/service-translation.js +7 -7
- package/dist/knowledge/tool-constraints.js +6 -2
- package/dist/project/deployment-bridge.d.ts +1 -1
- package/dist/project/deployment-bridge.js +31 -7
- package/dist/project/deployment-doc.d.ts +3 -0
- package/dist/project/deployment-doc.js +76 -14
- package/dist/project/edit-planner.d.ts +123 -0
- package/dist/project/edit-planner.js +1371 -0
- package/dist/project/evaluation.d.ts +2 -0
- package/dist/project/evaluation.js +873 -88
- package/dist/project/graph-builder.d.ts +4 -1
- package/dist/project/graph-builder.js +132 -62
- package/dist/project/graph.d.ts +1 -0
- package/dist/project/handlers.d.ts +317 -6
- package/dist/project/handlers.js +1171 -19
- package/dist/project/stage-gate.d.ts +4 -0
- package/dist/project/stage-gate.js +64 -5
- package/dist/project/task-tracker.d.ts +26 -0
- package/dist/project/task-tracker.js +78 -0
- package/dist/safety/preview.js +16 -0
- package/dist/schema/call/allocation.d.ts +16 -16
- package/dist/schema/call/allocation.js +2 -2
- package/dist/schema/call/arbitration.js +19 -6
- package/dist/schema/call/base.d.ts +21 -13
- package/dist/schema/call/base.js +27 -6
- package/dist/schema/call/bridge.d.ts +5 -5
- package/dist/schema/call/bridge.js +3 -1
- package/dist/schema/call/contact.js +2 -2
- package/dist/schema/call/demand.d.ts +23 -31
- package/dist/schema/call/demand.js +2 -2
- package/dist/schema/call/guard.js +2 -2
- package/dist/schema/call/machine.d.ts +1976 -752
- package/dist/schema/call/machine.js +50 -4
- package/dist/schema/call/order.d.ts +149 -228
- package/dist/schema/call/order.js +4 -3
- package/dist/schema/call/payment.d.ts +183 -3
- package/dist/schema/call/payment.js +21 -3
- package/dist/schema/call/permission.js +2 -2
- package/dist/schema/call/personal.d.ts +241 -52
- package/dist/schema/call/progress.d.ts +53 -61
- package/dist/schema/call/progress.js +18 -4
- package/dist/schema/call/repository.d.ts +23 -31
- package/dist/schema/call/repository.js +2 -2
- package/dist/schema/call/reward.js +3 -3
- package/dist/schema/call/semantic.d.ts +1 -1
- package/dist/schema/call/semantic.js +37 -2
- package/dist/schema/call/service.d.ts +275 -127
- package/dist/schema/call/service.js +89 -13
- package/dist/schema/call/treasury.js +3 -3
- package/dist/schema/common/index.d.ts +13 -2
- package/dist/schema/common/index.js +80 -15
- package/dist/schema/local/index.d.ts +32 -35
- package/dist/schema/local/index.js +28 -6
- package/dist/schema/messenger/index.d.ts +274 -46
- package/dist/schema/operations.d.ts +1264 -544
- package/dist/schema/operations.js +65 -7
- package/dist/schema/project/index.d.ts +2846 -167
- package/dist/schema/project/index.js +570 -16
- package/dist/schema/query/index.d.ts +922 -349
- package/dist/schema/query/index.js +205 -42
- package/dist/schema/schema-query/index.d.ts +65 -3
- package/dist/schema/schema-query/index.js +38 -5
- package/dist/schema/utils/node-parser.js +20 -4
- package/dist/schema/utils/object-type-utils.d.ts +12 -0
- package/dist/schema/utils/object-type-utils.js +35 -0
- package/dist/schema/utils/permission-machine-check.d.ts +49 -0
- package/dist/schema/utils/permission-machine-check.js +121 -0
- package/dist/schema/utils/skills-recommendation.d.ts +2 -0
- package/dist/schema/utils/skills-recommendation.js +76 -0
- package/dist/schema-query/index.d.ts +20 -1
- package/dist/schema-query/index.js +306 -4
- package/dist/schemas/account_operation.output.json +7 -1
- package/dist/schemas/account_operation.schema.json +3 -3
- package/dist/schemas/bridge_operation.output.json +6 -0
- package/dist/schemas/bridge_operation.schema.json +1 -1
- package/dist/schemas/guard-templates.json +379 -0
- package/dist/schemas/guard2file.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/local_info_operation.output.json +6 -0
- package/dist/schemas/local_mark_operation.output.json +7 -1
- package/dist/schemas/local_mark_operation.schema.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +1 -1
- package/dist/schemas/messenger_operation.schema.json +4 -4
- package/dist/schemas/onchain_events.output.json +1 -1
- package/dist/schemas/onchain_operations.output.json +2820 -0
- package/dist/schemas/onchain_operations.schema.json +444 -330
- package/dist/schemas/onchain_operations_allocation.schema.json +37 -28
- package/dist/schemas/onchain_operations_arbitration.schema.json +16 -14
- package/dist/schemas/onchain_operations_contact.schema.json +10 -10
- package/dist/schemas/onchain_operations_demand.schema.json +10 -10
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -16
- package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -2
- package/dist/schemas/onchain_operations_guard.schema.json +2 -2
- package/dist/schemas/onchain_operations_machine.schema.json +43 -35
- package/dist/schemas/onchain_operations_order.schema.json +72 -78
- package/dist/schemas/onchain_operations_payment.schema.json +141 -111
- package/dist/schemas/onchain_operations_permission.schema.json +3 -3
- package/dist/schemas/onchain_operations_personal.schema.json +7 -7
- package/dist/schemas/onchain_operations_progress.schema.json +9 -9
- package/dist/schemas/onchain_operations_proof.schema.json +8 -8
- package/dist/schemas/onchain_operations_repository.schema.json +10 -10
- package/dist/schemas/onchain_operations_reward.schema.json +14 -14
- package/dist/schemas/onchain_operations_service.schema.json +119 -48
- package/dist/schemas/onchain_operations_treasury.schema.json +11 -11
- package/dist/schemas/onchain_table_data.output.json +33 -25
- package/dist/schemas/onchain_table_data.schema.json +22 -21
- package/dist/schemas/project_operation.output.json +2194 -23
- package/dist/schemas/project_operation.schema.json +84 -6
- package/dist/schemas/query_toolkit.output.json +108 -80
- package/dist/schemas/query_toolkit.schema.json +12 -12
- package/dist/schemas/schema_query.output.json +70 -3
- package/dist/schemas/schema_query.schema.json +18 -3
- package/dist/schemas/wowok_buildin_info.output.json +81 -8
- package/dist/schemas/wowok_buildin_info.schema.json +46 -2
- package/dist/tools/handlers/local.js +20 -5
- package/dist/tools/handlers/onchain.js +594 -6
- package/dist/tools/handlers/project.js +76 -4
- package/dist/tools/handlers/query.js +27 -0
- package/dist/tools/handlers/schema-query.js +43 -1
- package/dist/tools/handlers/task-status.d.ts +170 -0
- package/dist/tools/handlers/task-status.js +55 -0
- package/dist/tools/handlers/wip.js +47 -1
- package/dist/tools/index.d.ts +8 -0
- package/dist/tools/index.js +387 -12
- package/dist/tools/retry.d.ts +8 -0
- package/dist/tools/retry.js +85 -0
- package/dist/tools/wip-deploy-assist.d.ts +28 -0
- package/dist/tools/wip-deploy-assist.js +278 -0
- package/package.json +2 -2
- package/dist/schemas/guard-node-examples.md +0 -199
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { TypedPermissionObjectSchema, CoinParamSchema, NamedObjectSchema, ObjectsSchema, CallEnvSchema, SubmissionCallSchema } from "./base.js";
|
|
3
|
-
import { AllocatorsSchema, DiscountTypeSchema, ServiceSaleSchema } from "../query/index.js";
|
|
4
|
-
import { AccountOrMark_AddressSchema, DescriptionSchema, LongNameSchema, ManyAccountOrMark_AddressSchema, NameOrAddressSchema, NotEmptyNameSchema, ReceivedBalanceOrRecentlySchema, ReceivedObjectsOrRecentlySchema } from "../common/index.js";
|
|
3
|
+
import { AllocatorsSchema, DiscountTypeSchema, ServiceSaleSchema, PaymentInfoSchema } from "../query/index.js";
|
|
4
|
+
import { AccountOrMark_AddressSchema, DescriptionSchema, LongNameSchema, ManyAccountOrMark_AddressSchema, NameOrAddressSchema, NotEmptyNameSchema, ReceivedBalanceOrRecentlySchema, ReceivedObjectsOrRecentlySchema, RECEIVE_FORMAT_BLOCK_OBJECTS, RECEIVE_FORMAT_BLOCK_BALANCE } from "../common/index.js";
|
|
5
5
|
import { BalanceTypeSchema } from "../common/index.js";
|
|
6
6
|
export const ServiceBuyItemSchema = z.object({
|
|
7
7
|
name: LongNameSchema.describe("Name of the product or service to purchase"),
|
|
@@ -10,7 +10,9 @@ export const ServiceBuyItemSchema = z.object({
|
|
|
10
10
|
}).strict();
|
|
11
11
|
export const BuySchema = z.object({
|
|
12
12
|
items: z.array(ServiceBuyItemSchema).describe("List of products or services to purchase"),
|
|
13
|
-
total_pay: CoinParamSchema.describe("Actual payment amount"
|
|
13
|
+
total_pay: CoinParamSchema.describe("Actual payment amount. FORMAT: {balance: <amount_in_smallest_unit>} or {coin: <coin_object_id>}. " +
|
|
14
|
+
"The token type and precision are determined by the Service object's type_parameter (the generic type set when the Service was created). " +
|
|
15
|
+
"For WOW (9 decimals): {balance: 1000000000} = 1 WOW. For SUI (9 decimals): {balance: 1000000000} = 1 SUI."),
|
|
14
16
|
discount: z.string().optional().describe("Discount object ID or name"),
|
|
15
17
|
payment_remark: z.string().optional().describe("Payment remark"),
|
|
16
18
|
payment_index: z.number().optional().describe("Payment index"),
|
|
@@ -31,9 +33,15 @@ export const OrderNewSchema = z.object({
|
|
|
31
33
|
agents: ManyAccountOrMark_AddressSchema.optional().describe("Order agents. Agents can operate the order, such as canceling the order, modifying the order status, etc.; but cannot receive the funds received by the order."),
|
|
32
34
|
order_required_info: z.string().optional().describe("Contact object ID or WTS Proof object"),
|
|
33
35
|
transfer: AccountOrMark_AddressSchema.optional().describe("Set the new owner of the order. Requires order owner permission to set."),
|
|
34
|
-
namedNewOrder: NamedObjectSchema.optional().describe("Set
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
namedNewOrder: NamedObjectSchema.optional().describe("RECOMMENDED: Set a local name for the newly created Order object. " +
|
|
37
|
+
"Without this, the Order is only referenceable by its on-chain address. " +
|
|
38
|
+
"Example: {name: 'my_order_v1'} allows subsequent operations to use 'my_order_v1' instead of the address."),
|
|
39
|
+
namedNewAllocation: NamedObjectSchema.optional().describe("RECOMMENDED: Set a local name for the order's Allocation object. " +
|
|
40
|
+
"Without this, the Allocation is only referenceable by its address. " +
|
|
41
|
+
"Example: {name: 'my_allocation_v1'} allows alloc_by_guard to reference 'my_allocation_v1'."),
|
|
42
|
+
namedNewProgress: NamedObjectSchema.optional().describe("RECOMMENDED: Set a local name for the order's Progress object. " +
|
|
43
|
+
"Without this, the Progress is only referenceable by its address. " +
|
|
44
|
+
"Example: {name: 'my_progress_v1'} allows progress operations to use 'my_progress_v1'."),
|
|
37
45
|
}).strict();
|
|
38
46
|
export const SalesSchema = z.discriminatedUnion("op", [
|
|
39
47
|
z.object({
|
|
@@ -60,20 +68,88 @@ export const CallService_DataSchema = z.object({
|
|
|
60
68
|
sales: SalesSchema.optional().describe("Service sales products or services list."),
|
|
61
69
|
repositories: ObjectsSchema.optional().describe("Service Repository object list."),
|
|
62
70
|
rewards: ObjectsSchema.optional().describe("Service Reward object list."),
|
|
63
|
-
arbitrations: ObjectsSchema.optional().describe("Service Arbitration object list."
|
|
71
|
+
arbitrations: ObjectsSchema.optional().describe("Service Arbitration object list. " +
|
|
72
|
+
"FORMAT: same as repositories — use the `objects` field name inside the operation data. " +
|
|
73
|
+
"Example: {arbitrations: [{name: 'my_arb_1'}, {name: 'my_arb_2'}]}. " +
|
|
74
|
+
"Each item is a NameOrAddress (object ID or local mark name)."),
|
|
64
75
|
machine: z.union([NameOrAddressSchema, z.null()]).optional().describe("Service Machine object ID or name. The Machine object must be in published state."),
|
|
65
76
|
discount: DiscountSchema.optional().describe("Issue discount."),
|
|
66
77
|
discount_destroy: z.array(NameOrAddressSchema).optional().describe("Destroy existing discount object ID list."),
|
|
67
78
|
customer_required: z.array(NotEmptyNameSchema).optional().describe("Customer required information. Such as phone, email, etc."),
|
|
68
|
-
order_allocators: z.union([AllocatorsSchema, z.null()]).optional().describe("Order fund allocator."
|
|
79
|
+
order_allocators: z.union([AllocatorsSchema, z.null()]).optional().describe("Order fund allocator. Max 100 allocators (MAX_ALLOCATOR_COUNT). " +
|
|
80
|
+
"Each allocator has a guard (first matching guard wins) and a sharing list. " +
|
|
81
|
+
"Set to null to clear. " +
|
|
82
|
+
"⚠️ PERMANENTLY IMMUTABLE after publish: order_allocators can ONLY be set BEFORE publish=true " +
|
|
83
|
+
"(Move service.move:503: assert!(!self.bPublished, E_ALREADY_PUBLISHED)). " +
|
|
84
|
+
"After publish, the ONLY way to change allocation rules is to create a NEW Service object. " +
|
|
85
|
+
"There is NO pause+lock exception for order_allocators (unlike arbitrations/rewards which have time-lock removal). " +
|
|
86
|
+
"PRE-PUBLISH CHECKLIST: verify all guard names resolve, all sharing amounts are correct, " +
|
|
87
|
+
"threshold is set, and recipient types (Entity/Signer/GuardIdentifier) are intended before calling publish=true. " +
|
|
88
|
+
"GuardIdentifier sharing mode: {who: {GuardIdentifier: <u8>}, sharing: <rate>, mode: 'Rate'} — " +
|
|
89
|
+
"resolves recipient from Guard table submission at allocation time (e.g., refund to customer). " +
|
|
90
|
+
"MULTI-CALL ALLOCATION: Allocation.alloc() can be called MULTIPLE times (no consumed flag in contract). " +
|
|
91
|
+
"Use Amount mode (not Surplus) for recurring allocations — Surplus calls balance::withdraw_all which drains the balance. " +
|
|
92
|
+
"For monthly payment scenarios, create multiple Allocators with time-based Guards + Amount mode sharing items."),
|
|
69
93
|
buy_guard: z.union([NameOrAddressSchema, z.null()]).optional().describe("Buy guard object ID or name."),
|
|
70
|
-
compensation_fund_add: CoinParamSchema.optional().describe("
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
94
|
+
compensation_fund_add: CoinParamSchema.optional().describe("Deposit funds into the Service compensation_fund. Used to pay indemnity when arbitration resolves in customer's favor. " +
|
|
95
|
+
"FORMAT: {balance: <amount_in_smallest_unit>} — the field name is 'balance' (NOT 'amount'). " +
|
|
96
|
+
"The token type and precision are determined by the Service object's type_parameter (the generic type set when the Service was created). " +
|
|
97
|
+
"For WOW (9 decimals): {balance: 1000000000} = 1 WOW. For SUI (9 decimals): {balance: 1000000000} = 1 SUI. " +
|
|
98
|
+
"For tokens with different decimals, adjust accordingly (e.g. USDC has 6 decimals, so {balance: 1000000} = 1 USDC). " +
|
|
99
|
+
"REQUIRES: Permission index 315 (SERVICE_COMPENSATION_FUND_DEPOSIT) must be granted to the calling account first. " +
|
|
100
|
+
"COMMON MISTAKE: using {amount: ...} or {amount: ..., type: 'WOW'} — these will fail. The correct field is 'balance'."),
|
|
101
|
+
compensation_fund_withdraw: z.object({
|
|
102
|
+
receipt: AccountOrMark_AddressSchema.describe("Receipt address that will receive the withdrawn funds (as a new Payment object)"),
|
|
103
|
+
payment_info: PaymentInfoSchema.describe("Payment info for the new Payment object created to hold the withdrawn funds"),
|
|
104
|
+
}).strict().optional().describe("Withdraw ALL funds from the compensation_fund to a new Payment object owned by `receipt`. " +
|
|
105
|
+
"Move layer: service::compensation_fund_withdraw (service.move L383-390). " +
|
|
106
|
+
"REQUIRES: Service must be paused AND setting_lock_duration must have elapsed since pause (assert_not_published at L384-385). " +
|
|
107
|
+
"Withdraws the ENTIRE compensation_fund balance via balance::withdraw_all. " +
|
|
108
|
+
"DIFFERENT from compensation_claim (order-side, for arbitration-winning users, no pause+lock required)."),
|
|
109
|
+
setting_lock_duration_add: z.number().optional().describe("Additional lock duration to ADD to 'setting_lock_duration' (Move field name). " +
|
|
110
|
+
"UNIT: milliseconds (ms). Example: 2592000000 = 30 days, 7776000000 = 90 days, 86400000 = 1 day. " +
|
|
111
|
+
"DEFAULT: 2592000000 (30 days, DEFAULT_LOCK_DURATION). This is the initial value when a Service is created. " +
|
|
112
|
+
"Behavior: additive (safe_add) — only increases, never decreases. " +
|
|
113
|
+
"Move entry: service::setting_lock_duration_add / setting_lock_duration_add_with_passport. " +
|
|
114
|
+
"Can be called BEFORE or AFTER publish (no publish check). " +
|
|
115
|
+
"Affects the waiting time required by: compensation_fund_withdraw, arbitrations remove/clear, rewards remove/clear " +
|
|
116
|
+
"(all require pause + setting_lock_duration elapsed since pause)."),
|
|
117
|
+
compensation_fund_receive: ReceivedBalanceOrRecentlySchema.optional().describe("Receive order compensation funds from this Service object." + RECEIVE_FORMAT_BLOCK_BALANCE),
|
|
118
|
+
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects and other objects received by this Service object and send them to the owner of its Permission object." + RECEIVE_FORMAT_BLOCK_OBJECTS),
|
|
74
119
|
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
|
|
75
120
|
pause: z.boolean().optional().describe("Whether to pause accepting new orders."),
|
|
76
|
-
publish: z.boolean().optional().describe("Whether to publish the Service. After publishing, customers can place orders
|
|
121
|
+
publish: z.boolean().optional().describe("Whether to publish the Service. After publishing, customers can place orders. " +
|
|
122
|
+
"VERIFIED against Move source service.move + SDK service.ts (4-level immutability matrix):\n" +
|
|
123
|
+
" L1 — PERMANENTLY LOCKED after publish (assert!(!bPublished), no pause+lock exception):\n" +
|
|
124
|
+
" • machine (service.move L633/L653 — workflow template)\n" +
|
|
125
|
+
" • order_allocators (service.move L503 — fund distribution rules)\n" +
|
|
126
|
+
" L2 — TIME-LOCKED after publish (assert_not_published — requires pause + setting_lock_duration elapsed):\n" +
|
|
127
|
+
" • arbitrations remove/clear (service.move L433/L445 — dispute resolution objects)\n" +
|
|
128
|
+
" • rewards remove/clear (service.move L402/L414 — reward objects)\n" +
|
|
129
|
+
" • compensation_fund_withdraw (service.move L384-385 — withdraw ALL funds)\n" +
|
|
130
|
+
" L3 — REMAIN MUTABLE after publish (no SDK check, no Move check):\n" +
|
|
131
|
+
" • arbitrations add, rewards add (no assert — can add after publish)\n" +
|
|
132
|
+
" • buy_guard, sales, discount, description, location, pause, repositories,\n" +
|
|
133
|
+
" • compensation_fund_add, setting_lock_duration_add, customer_required, um (Contact)\n" +
|
|
134
|
+
"These 2 L1-LOCKED fields (machine/order_allocators) MUST be set BEFORE publish=true.\n" +
|
|
135
|
+
"arbitrations/rewards can be ADDED after publish but remove/clear requires pause+lock.\n" +
|
|
136
|
+
"\n" +
|
|
137
|
+
"⚠️ COMPENSATION_FUND + ARBITRATION LINKAGE (service.move:494-499):\n" +
|
|
138
|
+
" At publish time, if compensation_fund > 0, Arbitration MUST be bound:\n" +
|
|
139
|
+
" if (balance::value(&self.compensation_fund) > 0) {\n" +
|
|
140
|
+
" assert!(arbitration_count > 0, E_ARBITRATION_NOT_SET_WITH_COMPENSATION_FUND);\n" +
|
|
141
|
+
" }\n" +
|
|
142
|
+
" The MCP handler enforces this as a HARD PRE-CHECK: if publish=true AND compensation_fund_add " +
|
|
143
|
+
" is set in the same call AND arbitrations is empty, the call is REJECTED before submission. " +
|
|
144
|
+
" If compensation_fund was deposited in a prior call, a SOFT WARNING is issued.\n" +
|
|
145
|
+
"\n" +
|
|
146
|
+
"SCHEMA-03 / P0-01 fix — DEPLOYMENT WORKFLOW (two-phase, avoids circular dependency):\n" +
|
|
147
|
+
" Phase 1 — CREATE (no publish): object={name:'my-service', type_parameter, permission} + machine + order_allocators + arbitrations.\n" +
|
|
148
|
+
" NOTE: buy_guard can use a LocalMark NAME (not address) to break the Guard→Service circular dependency.\n" +
|
|
149
|
+
" The name is resolved to an address at transaction build time.\n" +
|
|
150
|
+
" Phase 2 — PUBLISH: object='my-service' (string ref) + publish=true.\n" +
|
|
151
|
+
" All L1-LOCKED fields must be set in Phase 1; Phase 2 only flips the publish flag.\n" +
|
|
152
|
+
" Post-publish updates: buy_guard, sales, description, repositories (add), rewards (add), arbitrations (add), etc."),
|
|
77
153
|
}).strict().describe("On-chain Service operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create a Service. NOTE: 'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation.");
|
|
78
154
|
export const CallService_InputSchema = z.object({
|
|
79
155
|
data: CallService_DataSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { TypedPermissionObjectSchema, CoinParamSchema, NamedObjectSchema, SubmissionCallSchema, CallEnvSchema } from "./base.js";
|
|
3
3
|
import { AmountFromDepositGuardSchema, AmountFromWithdrawGuardSchema, PaymentInfoSchema } from "../query/index.js";
|
|
4
|
-
import { AccountOrMark_AddressSchema, DescriptionSchema, ReceivedBalanceOrRecentlySchema, ReceivedObjectsOrRecentlySchema, NameOrAddressSchema } from "../common/index.js";
|
|
4
|
+
import { AccountOrMark_AddressSchema, DescriptionSchema, ReceivedBalanceOrRecentlySchema, ReceivedObjectsOrRecentlySchema, NameOrAddressSchema, RECEIVE_FORMAT_BLOCK_OBJECTS, RECEIVE_FORMAT_BLOCK_BALANCE } from "../common/index.js";
|
|
5
5
|
import { BalanceTypeSchema } from "../common/index.js";
|
|
6
6
|
export const DepositSchema = z.object({
|
|
7
7
|
coin: CoinParamSchema.describe("Asset to deposit"),
|
|
@@ -56,12 +56,12 @@ export const ExternalWithdrawGuardSchema = z.discriminatedUnion("op", [
|
|
|
56
56
|
export const CallTreasury_DataSchema = z.object({
|
|
57
57
|
object: TypedPermissionObjectSchema,
|
|
58
58
|
description: DescriptionSchema.optional(),
|
|
59
|
-
receive: ReceivedBalanceOrRecentlySchema.optional().describe("Receive CoinWrapper objects received by
|
|
59
|
+
receive: ReceivedBalanceOrRecentlySchema.optional().describe("Receive CoinWrapper objects received by this Treasury object and deposit them into its balance." + RECEIVE_FORMAT_BLOCK_BALANCE),
|
|
60
60
|
deposit: DepositSchema.optional().describe("Deposit to Treasury object"),
|
|
61
61
|
withdraw: WithdrawSchema.optional().describe("Withdraw from Treasury object"),
|
|
62
62
|
external_deposit_guard: ExternalDepositGuardSchema.optional().describe("Set external deposit Guard for Treasury object"),
|
|
63
63
|
external_withdraw_guard: ExternalWithdrawGuardSchema.optional().describe("Set external withdrawal Guard for Treasury object"),
|
|
64
|
-
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects and other objects received by this object and send them to the owner of its Permission object."),
|
|
64
|
+
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects and other objects received by this Treasury object and send them to the owner of its Permission object." + RECEIVE_FORMAT_BLOCK_OBJECTS),
|
|
65
65
|
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
|
|
66
66
|
}).strict().describe("On-chain Treasury operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create a Treasury. NOTE: 'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation.");
|
|
67
67
|
export const CallTreasury_InputSchema = z.object({
|
|
@@ -43,7 +43,10 @@ export declare const ManyAccountOrMark_AddressSchema: z.ZodObject<{
|
|
|
43
43
|
}[];
|
|
44
44
|
check_all_founded?: boolean | undefined;
|
|
45
45
|
}>;
|
|
46
|
-
export declare const AccountOrMark_AddressAISchema: z.ZodUnion<[z.ZodString,
|
|
46
|
+
export declare const AccountOrMark_AddressAISchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
47
|
+
name_or_address: string;
|
|
48
|
+
local_mark_first: boolean;
|
|
49
|
+
}, string>, z.ZodObject<{
|
|
47
50
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
48
51
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
49
52
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -53,7 +56,13 @@ export declare const AccountOrMark_AddressAISchema: z.ZodUnion<[z.ZodString, z.Z
|
|
|
53
56
|
name_or_address?: string | undefined;
|
|
54
57
|
local_mark_first?: boolean | undefined;
|
|
55
58
|
}>]>;
|
|
56
|
-
export declare const ManyAccountOrMark_AddressAISchema: z.ZodUnion<[z.ZodArray<z.ZodString, "many">,
|
|
59
|
+
export declare const ManyAccountOrMark_AddressAISchema: z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, {
|
|
60
|
+
entities: {
|
|
61
|
+
name_or_address: string;
|
|
62
|
+
local_mark_first: boolean;
|
|
63
|
+
}[];
|
|
64
|
+
check_all_founded: boolean;
|
|
65
|
+
}, string[]>, z.ZodObject<{
|
|
57
66
|
entities: z.ZodArray<z.ZodObject<{
|
|
58
67
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
59
68
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -706,6 +715,8 @@ export declare const ReceivedObjectsOrRecentlySchema: z.ZodUnion<[z.ZodArray<z.Z
|
|
|
706
715
|
balance: string | number;
|
|
707
716
|
token_type: string;
|
|
708
717
|
}>, z.ZodLiteral<"recently">]>;
|
|
718
|
+
export declare const RECEIVE_FORMAT_BLOCK_OBJECTS: string;
|
|
719
|
+
export declare const RECEIVE_FORMAT_BLOCK_BALANCE: string;
|
|
709
720
|
export declare const QueryReceivedResultSchema: z.ZodObject<{
|
|
710
721
|
result: z.ZodUnion<[z.ZodObject<{
|
|
711
722
|
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -83,19 +83,26 @@ export const ManyAccountOrMark_AddressSchema = z.object({
|
|
|
83
83
|
check_all_founded: z.boolean().optional().describe("Whether to check all entities are found, if true, all entities must be found (abort and throw exception if any ID not found); if false, only return found IDs"),
|
|
84
84
|
}).strict().describe("Used to batch find account or object IDs by name");
|
|
85
85
|
export const AccountOrMark_AddressAISchema = z.union([
|
|
86
|
-
|
|
86
|
+
NameOrAddressSchema.transform(s => ({ name_or_address: s, local_mark_first: true })).describe("Account name, address (0x...), or mark name. " +
|
|
87
87
|
"When using string format, local marks are searched first. " +
|
|
88
88
|
"EXAMPLE: 'alice' - searches local marks first, then global; " +
|
|
89
|
-
"EXAMPLE: '
|
|
89
|
+
"EXAMPLE: '0x2...' (64 hex chars) - uses address directly; " +
|
|
90
|
+
"EXAMPLE: '' - uses the default local account"),
|
|
90
91
|
AccountOrMark_AddressSchema
|
|
91
92
|
]).describe("Account or address lookup. Can be a simple string (recommended for AI) " +
|
|
92
|
-
"or full object with explicit local_mark_first control"
|
|
93
|
+
"or full object with explicit local_mark_first control. " +
|
|
94
|
+
"String form auto-converts to { name_or_address: <string>, local_mark_first: true }.");
|
|
93
95
|
export const ManyAccountOrMark_AddressAISchema = z.union([
|
|
94
|
-
z.array(
|
|
95
|
-
|
|
96
|
+
z.array(NameOrAddressSchema).transform(arr => ({
|
|
97
|
+
entities: arr.map(s => ({ name_or_address: s, local_mark_first: true })),
|
|
98
|
+
check_all_founded: true,
|
|
99
|
+
})).describe("Array of account names, addresses, or mark names. " +
|
|
100
|
+
"Local marks are searched first for each entry. " +
|
|
101
|
+
"EXAMPLE: ['alice', '0x2...', 'bob']"),
|
|
96
102
|
ManyAccountOrMark_AddressSchema
|
|
97
103
|
]).describe("Batch account or address lookup. Can be an array of strings (recommended for AI) " +
|
|
98
|
-
"or full object with explicit control"
|
|
104
|
+
"or full object with explicit control. " +
|
|
105
|
+
"Array form auto-converts to { entities: [...], check_all_founded: true }.");
|
|
99
106
|
export const ObjectOwnerSchema = z.union([
|
|
100
107
|
z.object({
|
|
101
108
|
AddressOwner: z.string().describe("Address owner"),
|
|
@@ -215,7 +222,19 @@ export const ObjectTypeSchema = z.enum([
|
|
|
215
222
|
WowObjectType.TableItem_AddressMark,
|
|
216
223
|
WowObjectType.TableItem_EntityRegistrar,
|
|
217
224
|
]).describe("Wowok object type");
|
|
218
|
-
export const BalanceTypeSchema = z.union([z.number(), z.string()]).describe("
|
|
225
|
+
export const BalanceTypeSchema = z.union([z.number(), z.string()]).describe("A coin/balance amount. Accepts three formats: " +
|
|
226
|
+
"(1) DISPLAY FORMAT with token symbol: \"2.5WOW\", \"10USDC\", \"0.05SUI\" — " +
|
|
227
|
+
"auto-converted to smallest units via the Fund Processing Layer (token precision resolved " +
|
|
228
|
+
"from official registry → cache → on-chain). The symbol MUST match the token's type_parameter. " +
|
|
229
|
+
"(2) SMALLEST UNIT (numeric string): \"10000000000\" — used as-is, no conversion. " +
|
|
230
|
+
"(3) SMALLEST UNIT (number): 10000000000 — used as-is (loses precision above 2^53). " +
|
|
231
|
+
"PRECISION RULE: for values exceeding 2^53, ALWAYS use format (1) or (2) — JS numbers lose precision. " +
|
|
232
|
+
"Default token: WOW (9 decimals, 1 WOW = 10^9 MIST). " +
|
|
233
|
+
"For custom tokens: use display format with the token's symbol, or pass smallest units directly. " +
|
|
234
|
+
"MONEY CONFIRMATION: all monetary fields trigger user confirmation via the Fund Processing Layer. " +
|
|
235
|
+
"If multiple tokens share a symbol (ambiguity), specify the full type string in type_parameter. " +
|
|
236
|
+
"Examples: \"2.5WOW\" (display → 2500000000), 10000000000 (number, smallest unit), \"50000000000\" (string, smallest unit). " +
|
|
237
|
+
"Used for: Service.sale.price, Service.compensation_fund_add balance, Treasury.deposit, Arbitration.fee, Reward.amount, stock quantities.");
|
|
219
238
|
export const QueryIdSchema = z.number().int().min(0).describe("Query ID");
|
|
220
239
|
export const CacheExpireTypeSchema = z.union([z.number(), z.literal("INFINITE")]).describe("Cache expiration time type");
|
|
221
240
|
export const ValueContainerSchema = z.lazy(() => z.object({
|
|
@@ -237,19 +256,43 @@ export const SupportedValueSchema = SupportedValueUserSchema.or(ValueContainerSc
|
|
|
237
256
|
export const GuardIdentifierSchema = z.number().int().min(0).max(255).describe("Identifier (0-255) for data lookup in Guard table.");
|
|
238
257
|
export const GuardTableItemBaseSchema = z.object({
|
|
239
258
|
identifier: GuardIdentifierSchema,
|
|
240
|
-
b_submission: z.boolean().describe("Whether
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
259
|
+
b_submission: z.boolean().describe("Whether this table item's value is submitted dynamically at Guard trigger time (alloc_by_guard call). " +
|
|
260
|
+
"\n\n" +
|
|
261
|
+
"true = value is submitted by the caller when triggering the Guard. " +
|
|
262
|
+
"Use for runtime-context-dependent values like order address, user address. " +
|
|
263
|
+
"The 'value' field is ignored when b_submission=true; the caller must provide it via submissions[]. " +
|
|
264
|
+
"\n\n" +
|
|
265
|
+
"false = value is static, set at Guard creation time. " +
|
|
266
|
+
"Use for values known when the Guard is created: expected node names, expected merchant address, expected service address. " +
|
|
267
|
+
"The 'value' field must be populated and will be stored on-chain permanently. " +
|
|
268
|
+
"\n\n" +
|
|
269
|
+
"Rule of thumb: if the value is the SAME for all future Guard triggers, use false. " +
|
|
270
|
+
"If the value DIFFERS per trigger (e.g., which order to release funds for), use true."),
|
|
271
|
+
value_type: ValueTypeUserSchema.describe("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). " +
|
|
272
|
+
"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."),
|
|
273
|
+
value: SupportedValueUserSchema.optional().describe("The actual value data. Format depends on `value_type`:\n" +
|
|
274
|
+
"• Bool: true/false (boolean)\n" +
|
|
275
|
+
"• 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" +
|
|
276
|
+
"• String: any string\n" +
|
|
277
|
+
"• U8/U16/U32/U64/U128/U256: number or numeric string (e.g. 42 or '42')\n" +
|
|
278
|
+
"• Vec* types: arrays of the corresponding element type\n" +
|
|
279
|
+
"REQUIRED when b_submission=false. OPTIONAL when b_submission=true (value is supplied at evaluation time by user submission)."),
|
|
280
|
+
name: z.string().default("").describe("Data name identifier. MAX 64 BCS characters (Chinese chars count as 3-4 BCS bytes each). " +
|
|
281
|
+
"Use short identifiers like 'order_id', 'delivery_node'. " +
|
|
282
|
+
"Put longer descriptions in the Guard's 'description' field, NOT here."),
|
|
283
|
+
}).strict().describe("Guard table item (INPUT/CREATION form). DO NOT include `object_type` field — it is query-output only and will be rejected here.");
|
|
245
284
|
export const GuardTableItemSchema = GuardTableItemBaseSchema.extend({
|
|
246
|
-
object_type: ObjectTypeSchema.optional().describe("Object type when value_type is Address and represents a specific object"),
|
|
247
|
-
}).strict().describe("Guard table item");
|
|
285
|
+
object_type: ObjectTypeSchema.optional().describe("OUTPUT-ONLY (query side): Object type when value_type is Address and represents a specific object. Auto-derived by the system — DO NOT set this field at Guard creation."),
|
|
286
|
+
}).strict().describe("Guard table item (QUERY/OUTPUT form — includes auto-derived object_type field)");
|
|
248
287
|
export const EntrypointSchema = z.enum([
|
|
249
288
|
ENTRYPOINT.Localnet,
|
|
250
289
|
ENTRYPOINT.Testnet,
|
|
251
290
|
ENTRYPOINT.Mainnet,
|
|
252
|
-
]).describe("Network entrypoint: Specifies which network the operation occurs on"
|
|
291
|
+
]).describe("Network entrypoint: Specifies which network the operation occurs on. " +
|
|
292
|
+
"FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). " +
|
|
293
|
+
"When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names " +
|
|
294
|
+
"to keep name-based references working across networks. Use project_operation action='clone_project_to_network' to clone the " +
|
|
295
|
+
"project blueprint to the target network, then re-run onchain_operations with env.network=target_network to deploy.");
|
|
253
296
|
export const FaucetNetworkSchema = z.enum([
|
|
254
297
|
ENTRYPOINT.Localnet,
|
|
255
298
|
ENTRYPOINT.Testnet,
|
|
@@ -334,6 +377,28 @@ export const ReceivedObjectsOrRecentlySchema = z.union([
|
|
|
334
377
|
ReceivedBalanceSchema,
|
|
335
378
|
z.literal("recently"),
|
|
336
379
|
]).describe("Specified received object records or all recently received object records");
|
|
380
|
+
export const RECEIVE_FORMAT_BLOCK_OBJECTS = "\n\nACCEPTED FORMATS (F-06 unified receive operation block):\n" +
|
|
381
|
+
"• 'recently' (string literal) — auto-query and receive ALL recently received objects.\n" +
|
|
382
|
+
" Use this for the common case: \"withdraw everything the object has received.\"\n" +
|
|
383
|
+
" Example: receive: 'recently'\n" +
|
|
384
|
+
"• ReceivedNormal[] (array) — explicit list of received objects to unwrap.\n" +
|
|
385
|
+
" Use this when you want to receive specific objects only (not all).\n" +
|
|
386
|
+
" Example: receive: [{id: '0xobj1', type: '0x2::coin::Coin<0x2::sui::SUI>'}]\n" +
|
|
387
|
+
"• ReceivedBalance ({token_type, balance, received: [{id, balance, payment}]}) —\n" +
|
|
388
|
+
" receive a balance record from a specific Payment/payer.\n" +
|
|
389
|
+
" Use this for precise balance targeting (advanced — usually after querying\n" +
|
|
390
|
+
" the object's received history via query_received).\n" +
|
|
391
|
+
" Example: receive: {token_type: '0x2::sui::SUI', balance: 1000000, received: [{id: '0xrec1', balance: 1000000, payment: '0xpay1'}]}\n" +
|
|
392
|
+
"ANTI-PATTERN: do NOT wrap in {result: ...} — pass the value directly.";
|
|
393
|
+
export const RECEIVE_FORMAT_BLOCK_BALANCE = "\n\nACCEPTED FORMATS (F-06 unified receive operation block):\n" +
|
|
394
|
+
"• 'recently' (string literal) — auto-query and receive ALL recently received balance.\n" +
|
|
395
|
+
" Use this for the common case: \"deposit all recently received coins into pending balance.\"\n" +
|
|
396
|
+
" Example: receive: 'recently'\n" +
|
|
397
|
+
"• ReceivedBalance ({token_type, balance, received: [{id, balance, payment}]}) —\n" +
|
|
398
|
+
" receive a specific balance record from a Payment/payer.\n" +
|
|
399
|
+
" Use this when targeting a specific received balance (advanced).\n" +
|
|
400
|
+
" Example: receive: {token_type: '0x2::sui::SUI', balance: 1000000, received: [{id: '0xrec1', balance: 1000000, payment: '0xpay1'}]}\n" +
|
|
401
|
+
"ANTI-PATTERN: do NOT wrap in {result: ...} — pass the value directly.";
|
|
337
402
|
export const QueryReceivedResultSchema = z.object({
|
|
338
403
|
result: z.union([
|
|
339
404
|
ReceivedBalanceSchema,
|
|
@@ -4370,16 +4370,19 @@ export declare const AccountOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4370
4370
|
replaceExistName?: boolean | undefined;
|
|
4371
4371
|
messenger?: boolean | undefined;
|
|
4372
4372
|
}>>;
|
|
4373
|
-
faucet: z.ZodOptional<z.ZodObject<{
|
|
4373
|
+
faucet: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
4374
4374
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4375
4375
|
network: z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet]>;
|
|
4376
|
-
}, "
|
|
4376
|
+
}, "strict", z.ZodTypeAny, {
|
|
4377
4377
|
network: import("@wowok/wowok").ENTRYPOINT.Testnet | import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
4378
4378
|
name_or_address?: string | undefined;
|
|
4379
4379
|
}, {
|
|
4380
4380
|
network: import("@wowok/wowok").ENTRYPOINT.Testnet | import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
4381
4381
|
name_or_address?: string | undefined;
|
|
4382
|
-
}
|
|
4382
|
+
}>, {
|
|
4383
|
+
network: import("@wowok/wowok").ENTRYPOINT.Testnet | import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
4384
|
+
name_or_address?: string | undefined;
|
|
4385
|
+
}, unknown>>;
|
|
4383
4386
|
suspend: z.ZodOptional<z.ZodObject<{
|
|
4384
4387
|
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4385
4388
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4532,10 +4535,7 @@ export declare const AccountOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4532
4535
|
replaceExistName?: boolean | undefined;
|
|
4533
4536
|
messenger?: boolean | undefined;
|
|
4534
4537
|
} | undefined;
|
|
4535
|
-
faucet?:
|
|
4536
|
-
network: import("@wowok/wowok").ENTRYPOINT.Testnet | import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
4537
|
-
name_or_address?: string | undefined;
|
|
4538
|
-
} | undefined;
|
|
4538
|
+
faucet?: unknown;
|
|
4539
4539
|
suspend?: {
|
|
4540
4540
|
name_or_address?: string | undefined;
|
|
4541
4541
|
} | undefined;
|
|
@@ -4626,10 +4626,7 @@ export declare const AccountOperationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4626
4626
|
replaceExistName?: boolean | undefined;
|
|
4627
4627
|
messenger?: boolean | undefined;
|
|
4628
4628
|
} | undefined;
|
|
4629
|
-
faucet?:
|
|
4630
|
-
network: import("@wowok/wowok").ENTRYPOINT.Testnet | import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
4631
|
-
name_or_address?: string | undefined;
|
|
4632
|
-
} | undefined;
|
|
4629
|
+
faucet?: unknown;
|
|
4633
4630
|
suspend?: {
|
|
4634
4631
|
name_or_address?: string | undefined;
|
|
4635
4632
|
} | undefined;
|
|
@@ -11966,7 +11963,7 @@ export declare const AccountOperationOutputSchema: z.ZodDiscriminatedUnion<"stat
|
|
|
11966
11963
|
} | undefined;
|
|
11967
11964
|
};
|
|
11968
11965
|
}>, z.ZodObject<{
|
|
11969
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
11966
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "wip_verification_failed", "unknown"]>>;
|
|
11970
11967
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
11971
11968
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
11972
11969
|
status: z.ZodLiteral<"error">;
|
|
@@ -11974,13 +11971,13 @@ export declare const AccountOperationOutputSchema: z.ZodDiscriminatedUnion<"stat
|
|
|
11974
11971
|
}, "strip", z.ZodTypeAny, {
|
|
11975
11972
|
status: "error";
|
|
11976
11973
|
error: string;
|
|
11977
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
11974
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
11978
11975
|
retryable?: boolean | undefined;
|
|
11979
11976
|
recovery_hint?: string | undefined;
|
|
11980
11977
|
}, {
|
|
11981
11978
|
status: "error";
|
|
11982
11979
|
error: string;
|
|
11983
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
11980
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
11984
11981
|
retryable?: boolean | undefined;
|
|
11985
11982
|
recovery_hint?: string | undefined;
|
|
11986
11983
|
}>]>;
|
|
@@ -15540,7 +15537,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
15540
15537
|
} | undefined;
|
|
15541
15538
|
};
|
|
15542
15539
|
}>, z.ZodObject<{
|
|
15543
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
15540
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "wip_verification_failed", "unknown"]>>;
|
|
15544
15541
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
15545
15542
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
15546
15543
|
status: z.ZodLiteral<"error">;
|
|
@@ -15548,13 +15545,13 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
15548
15545
|
}, "strip", z.ZodTypeAny, {
|
|
15549
15546
|
status: "error";
|
|
15550
15547
|
error: string;
|
|
15551
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
15548
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
15552
15549
|
retryable?: boolean | undefined;
|
|
15553
15550
|
recovery_hint?: string | undefined;
|
|
15554
15551
|
}, {
|
|
15555
15552
|
status: "error";
|
|
15556
15553
|
error: string;
|
|
15557
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
15554
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
15558
15555
|
retryable?: boolean | undefined;
|
|
15559
15556
|
recovery_hint?: string | undefined;
|
|
15560
15557
|
}>]>;
|
|
@@ -16569,7 +16566,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
16569
16566
|
} | {
|
|
16570
16567
|
status: "error";
|
|
16571
16568
|
error: string;
|
|
16572
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
16569
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
16573
16570
|
retryable?: boolean | undefined;
|
|
16574
16571
|
recovery_hint?: string | undefined;
|
|
16575
16572
|
};
|
|
@@ -17044,7 +17041,7 @@ export declare const AccountOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
17044
17041
|
} | {
|
|
17045
17042
|
status: "error";
|
|
17046
17043
|
error: string;
|
|
17047
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
17044
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
17048
17045
|
retryable?: boolean | undefined;
|
|
17049
17046
|
recovery_hint?: string | undefined;
|
|
17050
17047
|
};
|
|
@@ -17286,7 +17283,7 @@ export declare const LocalMarkOperationOutputSchema: z.ZodDiscriminatedUnion<"st
|
|
|
17286
17283
|
clear?: boolean | undefined;
|
|
17287
17284
|
};
|
|
17288
17285
|
}>, z.ZodObject<{
|
|
17289
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
17286
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "wip_verification_failed", "unknown"]>>;
|
|
17290
17287
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
17291
17288
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
17292
17289
|
status: z.ZodLiteral<"error">;
|
|
@@ -17294,13 +17291,13 @@ export declare const LocalMarkOperationOutputSchema: z.ZodDiscriminatedUnion<"st
|
|
|
17294
17291
|
}, "strip", z.ZodTypeAny, {
|
|
17295
17292
|
status: "error";
|
|
17296
17293
|
error: string;
|
|
17297
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
17294
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
17298
17295
|
retryable?: boolean | undefined;
|
|
17299
17296
|
recovery_hint?: string | undefined;
|
|
17300
17297
|
}, {
|
|
17301
17298
|
status: "error";
|
|
17302
17299
|
error: string;
|
|
17303
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
17300
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
17304
17301
|
retryable?: boolean | undefined;
|
|
17305
17302
|
recovery_hint?: string | undefined;
|
|
17306
17303
|
}>]>;
|
|
@@ -17419,7 +17416,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
17419
17416
|
clear?: boolean | undefined;
|
|
17420
17417
|
};
|
|
17421
17418
|
}>, z.ZodObject<{
|
|
17422
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
17419
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "wip_verification_failed", "unknown"]>>;
|
|
17423
17420
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
17424
17421
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
17425
17422
|
status: z.ZodLiteral<"error">;
|
|
@@ -17427,13 +17424,13 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
17427
17424
|
}, "strip", z.ZodTypeAny, {
|
|
17428
17425
|
status: "error";
|
|
17429
17426
|
error: string;
|
|
17430
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
17427
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
17431
17428
|
retryable?: boolean | undefined;
|
|
17432
17429
|
recovery_hint?: string | undefined;
|
|
17433
17430
|
}, {
|
|
17434
17431
|
status: "error";
|
|
17435
17432
|
error: string;
|
|
17436
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
17433
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
17437
17434
|
retryable?: boolean | undefined;
|
|
17438
17435
|
recovery_hint?: string | undefined;
|
|
17439
17436
|
}>]>;
|
|
@@ -18123,7 +18120,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
18123
18120
|
} | {
|
|
18124
18121
|
status: "error";
|
|
18125
18122
|
error: string;
|
|
18126
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
18123
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
18127
18124
|
retryable?: boolean | undefined;
|
|
18128
18125
|
recovery_hint?: string | undefined;
|
|
18129
18126
|
};
|
|
@@ -18273,7 +18270,7 @@ export declare const LocalMarkOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
18273
18270
|
} | {
|
|
18274
18271
|
status: "error";
|
|
18275
18272
|
error: string;
|
|
18276
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
18273
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
18277
18274
|
retryable?: boolean | undefined;
|
|
18278
18275
|
recovery_hint?: string | undefined;
|
|
18279
18276
|
};
|
|
@@ -18421,7 +18418,7 @@ export declare const LocalInfoOperationOutputSchema: z.ZodDiscriminatedUnion<"st
|
|
|
18421
18418
|
success: boolean;
|
|
18422
18419
|
};
|
|
18423
18420
|
}>, z.ZodObject<{
|
|
18424
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
18421
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "wip_verification_failed", "unknown"]>>;
|
|
18425
18422
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
18426
18423
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
18427
18424
|
status: z.ZodLiteral<"error">;
|
|
@@ -18429,13 +18426,13 @@ export declare const LocalInfoOperationOutputSchema: z.ZodDiscriminatedUnion<"st
|
|
|
18429
18426
|
}, "strip", z.ZodTypeAny, {
|
|
18430
18427
|
status: "error";
|
|
18431
18428
|
error: string;
|
|
18432
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
18429
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
18433
18430
|
retryable?: boolean | undefined;
|
|
18434
18431
|
recovery_hint?: string | undefined;
|
|
18435
18432
|
}, {
|
|
18436
18433
|
status: "error";
|
|
18437
18434
|
error: string;
|
|
18438
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
18435
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
18439
18436
|
retryable?: boolean | undefined;
|
|
18440
18437
|
recovery_hint?: string | undefined;
|
|
18441
18438
|
}>]>;
|
|
@@ -18460,7 +18457,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
18460
18457
|
success: boolean;
|
|
18461
18458
|
};
|
|
18462
18459
|
}>, z.ZodObject<{
|
|
18463
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
18460
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "wip_verification_failed", "unknown"]>>;
|
|
18464
18461
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
18465
18462
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
18466
18463
|
status: z.ZodLiteral<"error">;
|
|
@@ -18468,13 +18465,13 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
18468
18465
|
}, "strip", z.ZodTypeAny, {
|
|
18469
18466
|
status: "error";
|
|
18470
18467
|
error: string;
|
|
18471
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
18468
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
18472
18469
|
retryable?: boolean | undefined;
|
|
18473
18470
|
recovery_hint?: string | undefined;
|
|
18474
18471
|
}, {
|
|
18475
18472
|
status: "error";
|
|
18476
18473
|
error: string;
|
|
18477
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
18474
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
18478
18475
|
retryable?: boolean | undefined;
|
|
18479
18476
|
recovery_hint?: string | undefined;
|
|
18480
18477
|
}>]>;
|
|
@@ -19150,7 +19147,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
19150
19147
|
} | {
|
|
19151
19148
|
status: "error";
|
|
19152
19149
|
error: string;
|
|
19153
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
19150
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
19154
19151
|
retryable?: boolean | undefined;
|
|
19155
19152
|
recovery_hint?: string | undefined;
|
|
19156
19153
|
};
|
|
@@ -19286,7 +19283,7 @@ export declare const LocalInfoOperationOutputWrappedSchema: z.ZodObject<{
|
|
|
19286
19283
|
} | {
|
|
19287
19284
|
status: "error";
|
|
19288
19285
|
error: string;
|
|
19289
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
19286
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | "wip_verification_failed" | undefined;
|
|
19290
19287
|
retryable?: boolean | undefined;
|
|
19291
19288
|
recovery_hint?: string | undefined;
|
|
19292
19289
|
};
|